Commit Graph

195 Commits

Author SHA1 Message Date
a5d1036886 Rewrite LibrariesControllerV2 to be safer and include the library uuid 2024-01-14 08:38:00 +01:00
a4f36396f5 Update the sync controller for new clients 2024-01-13 17:20:22 +01:00
e26169386c include comic_info_id in comic json 2024-01-13 17:15:54 +01:00
d25a122b48 Update server version to 2.1 2024-01-07 10:53:31 +01:00
53f7fd4a28 Add new controller for getting a folder 2024-01-07 10:53:21 +01:00
5728d4bb18 Add more info to json content + better handling of optionality 2024-01-07 10:52:27 +01:00
cf99229441 Add some css to the webui status page controller 2023-12-16 08:28:42 +01:00
756c514712 Do not generate the qr code if the server is off 2023-06-18 10:42:38 +02:00
13993f0381 Default folder json includes the new fields so make search include them too 2023-06-10 11:00:44 +02:00
ac5ba7bb31 Include "file_type" 2023-06-10 11:00:02 +02:00
003d88aa24 Calculate manga from type when serving json from the SearchController 2023-06-10 10:59:28 +02:00
751954be76 include file_type and legacy manga when serving json 2023-06-10 10:56:58 +02:00
68ece533e1 Replace Q_OS_MAC with Q_OS_MACOS 2023-06-04 20:55:11 +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
9b196a655a Remove obsolete setting that doesn't have any effect 2023-04-29 08:54:31 +02:00
d6b1c68285 Fix json produced by the search controller 2023-04-11 23:32:32 +02:00
4198b5ca3a Implement a server controller to provide a search API 2023-04-07 10:51:34 +02:00
044bab0c4c Remove unused import 2023-04-06 19:02:43 +02:00
cab277f3a9 Remove header comments 2023-04-06 19:02:32 +02:00
7fed222cb7 Format 2022-12-12 21:53:07 +01:00
0533d5d9a3 Server: Check for v2 api before webui 2022-10-24 19:20:45 +02:00
f9c07707f3 Fix code formatting 2022-10-23 20:21:16 +02:00
62ef567280 YACReaderLibrary Server: Add webui status page 2022-10-23 20:01:05 +02:00
25a32314a2 Server: Don't overwrite template and docroot path 2022-10-23 18:35:35 +02:00
d8a35d767c Update the UI when a client synchronizes back the libraries
Only the top banners for now. 

TODO: ComicModel should also be updated.
2022-10-15 11:52:34 +02:00
c576140e6a Notify using a signal when a comic is updated using the http api 2022-10-15 11:41:06 +02:00
bf36672ade Provide information about the comic updated in UpdateComicControllerV2 2022-10-15 11:39:55 +02:00
be0c0ff341 Rename Startup class to YACReaderHttpServer 2022-10-13 23:24:35 +02:00
36538abc18 Fix memory leaks 2022-08-31 18:26:14 +02:00
6aeed9ae90 Include some missing headers 2021-11-02 11:02:32 +01:00
baccb1a21b Include QRegExp 2021-10-19 00:00:09 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
47324e7f22 Comic/Render: Use overloads refactor some SIGNAL/SLOT connections to new syntax 2021-06-29 13:53:12 +02:00
f813a018d2 Comic: Virtual prototype for process(), fix signal/slot 2021-06-29 13:53:12 +02:00
8377de7c3e Clazy: Use fixits to refactor some old style signal connections 2021-06-29 13:53:12 +02:00
ad036ec6ae Include the hashes of the prev/next comics in the comic info when opening a comic in the server 2021-06-18 22:55:08 +02:00
02739ec140 Do not reuse v1 docroot and template paths
They can go stale and break v1 browsing
2021-06-01 19:34:54 +02:00
50840e955d Map the new controller to its path 2021-05-25 21:46:35 +02:00
0333c9f050 Add a new server controller for opening comics from reading lists 2021-05-25 21:45:07 +02:00
6cf11f47e1 Avoid potential null pointer access 2021-05-25 21:41:45 +02:00
6848295ba4 Remove unused imports and forward definitions 2021-05-25 21:40:55 +02:00
5f3824ff3c Fix order when getting next/previous remote comics
This sorting matches what the remote browser uses.
2021-04-30 09:53:35 +02:00
b8ad99fcaa Exract struct to reuse it 2021-04-30 09:52:31 +02:00
b447226bc1 Avoid indexes out of range when processing v1 updated session data 2021-04-10 09:51:14 +02:00
6ab5a83e01 Merge pull request #231 from vedgy/remove-unused-variable
PageController*::service: remove unused libraryName variable
2021-03-13 12:16:05 +01:00
97377cdcf4 Eliminate qsort, use std::sort 2021-03-13 10:46:43 +01:00
f60e17674e Server controllers: remove unused libraryName variable 2021-03-13 10:16:27 +02:00
3c9ed6ef8f Deprecated qSort => std::sort
This change gets rid of some GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00
52953633e5 Send manga field through the server 2021-01-16 14:24:14 +01:00
c4f792bd40 Fix port settings
When setting ports, temporary or for good, we need to go via the config
files and not QTcpServer or we get undefined behavior. To support temp
ports, we need to back up the fixed port in the settings.
2020-12-11 12:33:05 +01:00