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
4a654c38c0
Headless server: Add support for setting a port from commandline
...
Manual editing of a config file for setting a port is not ideal.
Solution: add a set-port command to save a port and also a
--port option to allow setting a temporary port during startup
2020-08-29 18:21:06 +02:00
f11a757141
Code format
...
I had to update clang-format
2020-08-25 19:13:43 +02:00
5bc3ad5014
Send back more recent comic status to the client on sync
2020-08-25 19:03:00 +02:00
fe15bc2ba8
Include "last_time_opened" in JSON serialization
2020-08-25 19:01:03 +02:00
1b344d70e5
Update server code integration for QtWebApp 1.7.11
...
- Adapt server code for QtWebapp namespace 'stefanfrings'
- Implement custom modifications needed by v1 controller
via template engine
- Unify iphone and ipad templates
2020-08-20 18:22:57 +02:00
3de099491f
Move QtWebApp sources to third_party
2020-08-20 18:22:57 +02:00
b9acd13120
Fix code format errors due to changes in default coding style. ( #150 )
2020-07-24 21:17:49 +02:00
0b83764734
Revert "Thread ping pong"
2019-09-24 12:00:21 +02:00
be547081f2
Fix huge memleak in server code caused by thread pingpong fix.
...
Stopped QThreads don't process events, so cleanup signals get lost.
Prevent this from happening by keeping the threads alive and the comic
inside the thread (as we already do in the viewer). Cleanup happens by
connecting the comic's destroyed() signal to the thread's quit() slot.
2019-09-24 08:21:14 +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
f875e7d304
Disable sort includes in the folders where clang format is disabled
...
For me this is a bug, DisableFormat should stop any kind of changes.
2019-08-24 11:11:52 +02:00
fafcfdd2dc
Give the OK to the connection asap
2019-08-24 11:07:36 +02:00
f29724e404
Annotate overridden methods
2019-06-01 16:04:48 +02:00
e2276cbc1c
More auto
2019-06-01 16:04:48 +02:00
268bebbddd
Use nullptr instead of 0
2019-06-01 16:04:48 +02:00
bb334cfd50
Use auto to avoid duplicating the type name
2019-06-01 16:04:48 +02:00
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
8b54744723
Add .clang-format files
...
Third party code should be excluded from automatic formating: QsLog and QtWebApp
2019-05-30 18:58:54 +02:00