Commit Graph

34 Commits

Author SHA1 Message Date
19e45ef9de Fix issues getting marked as opened because android minimum current page is 1 2024-02-02 13:04:38 +01:00
08cbb88891 Mark function as deprecated and remove unused function 2024-01-31 19:07:27 +01:00
9e05f8ea6e Add function for loading a single folder by id 2024-01-07 09:18:16 +01:00
21e237ccf9 Update added with the modified date in comics added before the new metadata refactoring 2023-06-06 21:45:20 +02:00
f2bf53ce5b Add new fields to the DB and make then available to be used in the apps 2023-05-12 16:59:23 +02:00
689e31891f Extract method 2022-10-24 19:00:04 +02:00
61458b966c Add a output parameter to know if a comic is found in the DB when we try to load it 2022-10-15 11:42:20 +02:00
8a6ec5fcc6 Assign covers to folders from subfolders & comics
Before this commit folder with no direct comics (only subfolders) didn't have a cover image to be displayed. Now updating the children info  is done recursively and subfolders are taken into account.

This affects the iOS client remote browser so far, but it is also needed for the future browser update (display folders as a grid instead of using EmptyFolderWidget)
2022-08-31 18:58:25 +02:00
c9bb429ad6 Remove unused method 2022-08-31 16:13:28 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
80f808bd68 Insert xml info while adding a comic to the library 2021-09-27 15:41:33 +02:00
f9285bd099 Add a flag to getReadingListFullContent so it can load all the fields 2021-05-27 18:39:00 +02:00
7bb450408c Extract "query to ComicInfo" to its own method to avoid duplicated code 2021-05-27 18:38:24 +02:00
13a29e2657 Make "delete" icon work properly in the "Reading" list
Only the "Favorites" special list was handled.
2021-05-16 09:01:35 +02:00
811c3fcfe4 Add function to get comics from a folder properly sorted 2021-04-30 09:52:10 +02:00
6461a4014e Add actions for setting folders as manga/normal 2021-01-16 18:31:48 +01:00
2b780e23a4 Make updateFromRemoteClient return more updated comics
So they can be sent back to the client.
2020-08-25 19:01:43 +02:00
9056fffb66 Use db transactions when updating the progress from iOS
Timeouts were a problem before.
2019-08-24 13:31:52 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
6cfd09a8b8 Add method for updating reading comic information given a hash. 2018-05-21 19:51:30 +02:00
1503fe5383 Add method for marking a comic as reading without opening it first.
Usefull when closing the a comic in the last page to mark the next one and the next being readed.
2018-05-20 14:49:07 +02:00
85fba7e8f5 Added new methods for getting reading lists and comics in a reading list. Fixed DBHelper for not using GUI related classes (reading_list_item). 2017-05-26 17:27:08 +02:00
983a035c31 New method for getting the comics being read, plus added the read state to comics loaded for being served. 2016-08-23 22:22:46 +02:00
a17de2e7ef New method for loading the comics in favorites (server listing). 2016-08-23 18:07:19 +02:00
b0b13de52d New method for getting the comics in a tag (aka label). 2016-08-22 23:03:18 +02:00
581592909d merged develop 2016-04-19 23:19:39 +02:00
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
8179092d56 added a border to selected/mouseHover elements in the grid view 2016-03-25 11:30:31 +01:00
4350d6797e added a new controller for serving the tags in a library 2016-01-25 22:23:49 +01:00
88056c819f updating folders' children info for every insert/delete in the db causes big performance issues, so that info is going to be updated explicitly 2016-01-25 18:45:50 +01:00
b9e7dbe41e Everytime the content of a folder changes, update numChildren and firstChildId. This could cause performance issues, but the initial tests look good, and it seems that the overhead could be considered negligible. On the other hand, client queries are several times faster. 2016-01-24 18:52:25 +01:00
e9210bb366 added a new db helper method for knowing the number of elements in a folder 2016-01-24 10:04:40 +01:00
9a62cd4a72 added a QStyledItemDelegate to the list QListView in EmptyFolderWidget to center aling folders' names 2016-01-01 13:11:31 +01:00