Luis Ángel San Martín
4e004f87af
Fix compilation in windows.
2018-04-27 22:40:36 +02:00
Luis Ángel San Martín
451c2ec688
Fix label content controller v2
2018-04-26 22:19:16 +02:00
Luis Ángel San Martín
b92b696458
Fix favorites controler v2
2018-04-26 22:18:56 +02:00
Luis Ángel San Martín
f3e8f1a6cd
Fix label to json
2018-04-26 22:18:25 +02:00
Luis Ángel San Martín
505d54d8b4
Remove outdated comments.
2018-04-26 18:29:36 +02:00
Luis Ángel San Martín
e4b4f96369
Use better http status code to notify clientes about what is going on while loading comics.
2018-04-26 18:27:42 +02:00
Luis Ángel San Martín
30211233af
Use compact json in responses.
2018-04-26 18:26:44 +02:00
Luis Ángel San Martín
87b0e64b1a
Monitorize folder content controller performance in debug mode.
2018-04-26 18:24:35 +02:00
Luis Ángel San Martín
630a5c94a0
Move from session based state to client side tokens.
...
YACReaderHttpSession is still used, but it is not a http session anymore.
2018-04-25 22:20:03 +02:00
Luis Ángel San Martín
701817d76b
Update comic url to use v2.
...
This should be replaced with json and the url shouldl be built in the client side.
2018-04-25 22:17:51 +02:00
Luis Ángel San Martín
0305377c28
Migrate some more controllers to json.
2018-04-24 14:42:30 +02:00
Luis Ángel San Martín
a9887a2d46
Add methods for getting json from reading lists and labels(tags)
2018-04-24 14:42:06 +02:00
Luis Ángel San Martín
20c7ecadd4
Add new controller for requesting the "full" information for a comic.
...
For now it doesn't serve the full information, only the information shown in the current/next comic view in iOS. I will see if I create two separated controllers or just on sending all the information when more information is needed in another iOS view.
2018-04-23 19:24:56 +02:00
Luis Ángel San Martín
b3d4e4c11e
Include comics' hash in download information.
2018-04-14 10:02:08 +02:00
Luis Ángel San Martín
9a473ae214
Send the full cover for now. Clients will resize and cache them as needed.
2018-04-14 10:01:41 +02:00
Luis Ángel San Martín
9db998174f
Use an integer as num_childer in folder.
2018-03-30 10:15:49 +02:00
Luis Ángel San Martín
c1ba2fe77e
Use json in foldercontentcontoller_v2
2018-03-25 13:15:49 +02:00
Luis Ángel San Martín
113cf341c0
Fix comic title and number json serialziation
2018-03-24 08:19:23 +01:00
Luis Ángel San Martín
1fc3c2eee7
Add title and number to comic information and fix file name field.
2018-03-22 20:11:42 +01:00
Luis Ángel San Martín
177e3ea3ba
Send the cover size ratio in the comic info json.
2018-03-13 19:08:39 +01:00
Luis Ángel San Martín
4c91da82a9
Fix reading comics controller
2018-03-11 15:27:50 +01:00
Luis Ángel San Martín
d7d741f87e
Fix comic to json conversion.
2018-03-11 15:26:28 +01:00
Luis Ángel San Martín
0c303e6ea3
Reimplement ReadingComicsControllerV2 for serving JSON.
2018-03-11 11:29:17 +01:00
Luis Ángel San Martín
7e571c8ffe
Add a new method to serialize a comic remote information to json
2018-03-11 11:28:41 +01:00
Luis Ángel San Martín
da5a4def96
Reimplement LibrariesControllerV2 for serving JSON.
2018-03-04 17:38:01 +01:00
Luis Ángel San Martín
555adc80bb
Use new separator tokens in YACReaderServerDataHelper.
2018-03-04 13:05:42 +01:00
Luis Ángel San Martín
68db72078f
Separate v1 and v2 server api classes and execution path.
2018-03-04 13:05:00 +01:00
Luis Ángel San Martín
e8c6f60c13
Merge
2017-11-26 07:39:08 +01:00
Luis Ángel San Martín
5c268217d3
Fix read flag calculation on progress read updated from the server.
2017-11-19 10:03:40 +01:00
Luis Ángel San Martín
f0d350a827
Use the new controllers.
2017-05-26 17:32:05 +02:00
Luis Ángel San Martín
d08740e32d
Added new server controller for providing the content of a reading list.
2017-05-26 17:29:28 +02:00
Luis Ángel San Martín
ac03d61f7d
Fixed TagsController.
2017-05-26 17:28:09 +02:00
Luis Ángel San Martín
6373d3660b
Implemented ReadingListsController.
2017-05-26 17:27:46 +02:00
Luis Ángel San Martín
0f9396ea9e
Commented performance measuring code from folder content controller.
2017-03-28 18:44:52 +02:00
Luis Ángel San Martín
169c6c16dd
Fixed reading comics web controller.
2017-03-28 18:43:59 +02:00
Luis Ángel San Martín
6d4ce1eabd
Added new regexps for matching requests related to reading lists.
2016-10-30 09:16:53 +01:00
Luis Ángel San Martín
42a16a273b
Added new class for serving a list of reading lists, service is not implemented yet.
2016-10-30 09:16:28 +01:00
Luis Ángel San Martín
ff4befb60e
Removed extraneous semicolon.
2016-10-30 09:15:16 +01:00
Luis Ángel San Martín
58bc6ae6bf
Map the reading uri to the new controller in the request mapper.
2016-08-23 22:23:53 +02:00
Luis Ángel San Martín
dbc9c9848a
New controller for serving the comics being read.
2016-08-23 22:23:26 +02:00
Luis Ángel San Martín
036fad4a77
Use the new crotroller in request mapper.
2016-08-23 18:21:14 +02:00
Luis Ángel San Martín
69b83dae5b
New controller for serving favoritess.
2016-08-23 18:20:16 +02:00
Luis Ángel San Martín
2aa5c00d34
Include missing info in YSFormat for comics.
2016-08-23 18:03:31 +02:00
Luis Ángel San Martín
ab795212c6
Spacing.
2016-08-23 18:03:03 +02:00
Luis Ángel San Martín
db3f2b6431
Use the new tag content controller in the request mapper.
2016-08-22 23:07:48 +02:00
Luis Ángel San Martín
df87a14dde
Include new classes in server.pri
2016-08-22 23:06:33 +02:00
Luis Ángel San Martín
4e50c5628d
Add new class for serving the content of tag.
2016-08-22 23:05:36 +02:00
Luis Ángel San Martín
1d73d1f1bf
Use the new helper class in FolderContentController.
2016-08-22 23:05:07 +02:00
Luis Ángel San Martín
de4540367f
Extracted the data generation for services to a helper class.
2016-08-22 23:04:43 +02:00
Luis Ángel San Martín
9cfb4e0f38
Fixed warning.
2016-08-22 13:44:43 +02:00
Luis Ángel San Martín
c3a0cafcc0
fixed compilation
2016-06-25 08:50:37 +02:00
Luis Ángel San Martín
a8932463f7
Try to listen even if the default port is no available.
2016-06-25 08:37:48 +02:00
Luis Ángel San Martín
ed130010e6
Set more default parameters for the server.
2016-06-25 08:32:58 +02:00
Luis Ángel San Martín
9cd592622a
Restored StaticFileController custom code.
2016-06-24 23:03:12 +02:00
Luis Ángel San Martín
3baeac6bac
Set the path of the docs root.
2016-06-24 21:09:41 +02:00
Luis Ángel San Martín
10c261c77a
Fixed access to Static::yacreaderSessionStore
members.
2016-06-24 18:54:31 +02:00
Luis Ángel San Martín
31018a4c38
Fixed compilation errors.
2016-06-24 18:51:50 +02:00
Luis Ángel San Martín
0f247d8641
Added destructor to YACReaderHttpSession
2016-06-24 18:51:30 +02:00
Luis Ángel San Martín
d29719a98d
Renamed the method used for adding sessions.
2016-06-24 18:32:22 +02:00
Luis Ángel San Martín
bde712d54b
Initialize Static::yacreaderSessionStore
.
2016-06-24 18:29:44 +02:00
Luis Ángel San Martín
c408a77e85
Initialize the static pointer to the yacreader session store.
2016-06-24 18:29:08 +02:00
Luis Ángel San Martín
0358fab47a
Replace the yacreader sessions map with the new store.
2016-06-24 18:28:44 +02:00
Luis Ángel San Martín
0788ae12a2
Implemented YACReaderHttpSessionStore.
2016-06-24 18:28:22 +02:00
Luis Ángel San Martín
45ab9bc71f
Added a new class for storing YACReaderHttpSession objects.
2016-06-24 17:26:51 +02:00
Luis Ángel San Martín
d2e3b51089
Use the new session object in the all the controllers that need yacreader session information.
2016-06-22 20:14:37 +02:00
Luis Ángel San Martín
b3aca9b542
Use the YACReaderHttpSession in request mapper. If yareader session is not set, create a YACReaderHttpSession for matching the current session.
2016-06-22 20:12:34 +02:00
Luis Ángel San Martín
d94f9201ee
Replaced the no longer existing HttpResponse::writeText
with HttpResponse::write
.
2016-06-22 20:07:50 +02:00
Luis Ángel San Martín
0b9e840bf0
Fixed static member initialization.
2016-06-22 20:02:02 +02:00
Luis Ángel San Martín
507168cb93
Fixed some missing resturns and ambiguous assignments in YACReaderHttpSession
2016-06-22 20:01:36 +02:00
Luis Ángel San Martín
706e0921f3
Update httpserver to 1.6.5
2016-06-22 19:09:04 +02:00
Luis Ángel San Martín
44d7c892c1
Use YACReaderHttpSession in Static, so YACReader's session data will be available outside HttpSession.
2016-06-21 22:00:48 +02:00
Luis Ángel San Martín
e67d34a511
Added a new class for storing specific YACReader's http session data.
2016-06-21 21:56:52 +02:00
Luis Ángel San Martín
d2b7487149
Extracted default templateengine setting to Startup, so base code is no longer modified.
2016-06-17 20:11:32 +02:00
Luis Ángel San Martín
95cb741880
Fixing copy paste code error.
2016-06-17 20:08:56 +02:00
Luis Ángel San Martín
232a22489f
Fixed setting default value to "minLevel" in log settings.
2016-06-17 20:03:06 +02:00
Luis Ángel San Martín
3675aebdc5
Updated templateengine base code to 1.6.5
2016-06-17 19:56:55 +02:00
Luis Ángel San Martín
5ae7e9fd3f
Restored the default behaviour of exiting the app after a fatal error log. I didn't see fatal log messages, so this should be safe.
2016-06-17 19:46:45 +02:00
Luis Ángel San Martín
770aeb2533
Extracted default server log settings to Startup, so there is no need to modify QtWebApp base code.
2016-06-17 19:45:24 +02:00
Luis Ángel San Martín
1657111621
Updated loggin component of QtWebApp to version 1.6.5
2016-06-16 22:16:01 +02:00
Luis Ángel San Martín
e6d229680f
renamed folders and files, preparing the code structure to be updated to the latest version of QtWebApp
2016-06-16 19:46:58 +02:00
Luis Ángel San Martín
581592909d
merged develop
2016-04-19 23:19:39 +02:00
Luis Ángel San Martín
cd2ab92ee2
Raise server log level.
2016-04-19 22:23:15 +02:00
Luis Ángel San Martín
011176bebb
merged master
2016-03-25 17:15:14 +01:00
Luis Ángel San Martín
8179092d56
added a border to selected/mouseHover elements in the grid view
2016-03-25 11:30:31 +01:00
Luis Ángel San Martín
3df1e99929
replaced separator char
2016-01-25 22:28:15 +01:00
Luis Ángel San Martín
4350d6797e
added a new controller for serving the tags in a library
2016-01-25 22:23:49 +01:00
Luis Ángel San Martín
cfffc1bae8
fixed Content-Type for various controllers
2016-01-25 21:22:39 +01:00
Luis Ángel San Martín
00f45b9a27
using static regular expresions was a bad idea
2016-01-25 18:40:28 +01:00
Luis Ángel San Martín
d5d9e5206f
send the hash of the first comic in a folder, so the client can display an image for that folder
2016-01-24 19:20:00 +01:00
Luis Ángel San Martín
74c64e0280
use the hash of the first comic in a folder for displaying and image for the folder
2016-01-24 19:14:54 +01:00
Luis Ángel San Martín
bac7fe1351
updated Folder class
2016-01-24 17:41:26 +01:00
Luis Ángel San Martín
37328edc64
added a new web controller for providing the content information of a folder
2016-01-24 14:15:18 +01:00
Luis Ángel San Martín
1009b84363
added new web controller for knowing the version of the web api
2016-01-23 16:06:47 +01:00
Luis Ángel San Martín
45fcaa8b2f
fixed settings path for server config
2015-12-13 21:46:37 +01:00
Luis Ángel San Martín
1003fa0b26
erged default
2015-12-12 13:21:51 +01:00
Luis Ángel San Martín
e1de588e40
fixed compilation of YACReaderLibrary and YACReaderLibraryServer, removing all the dependecies on QtWidgets from non gui code
2015-12-12 12:10:37 +01:00
Luis Ángel San Martín
92b0c1d9f4
added .pro file for the headless version of YACReader and a specific main file for the project
2015-12-12 11:25:38 +01:00
Luis Ángel San Martín
2bc9f88400
added support for updating comics rating from clients
2015-12-01 22:50:02 +01:00
Luis Ángel San Martín
3ed6d78f75
fixed compilation for Qt5.5 in OSX
2015-07-18 10:54:14 +02:00