Commit graph

43 commits

Author SHA1 Message Date
carbotaniuman 35567bba1d Change logging and update spotless 2020-08-27 14:23:24 +00:00
carbotaniuman b889ce9afe Update dependencies and format 2020-08-22 11:08:09 -05:00
carbotaniuman 591e28ca6e No libsodium 2020-08-22 03:23:18 +00:00
carbotaniuman 9d07c18de1 Minor changes + new CLI 2020-08-11 14:12:01 -05:00
carbotaniuman 398ab05788 Massive refactor - separate settings reload/webui and the image server 2020-08-11 11:47:04 -05:00
carbotaniuman a4bd6ef121 Actually fix client_hostname thing 2020-08-03 09:51:30 -05:00
carbotaniuman 002a328f2d Format stuff 2020-07-29 13:48:26 -05:00
carbotaniuman eab29ba2a3 Fix sodium and bad cache mimetype stuff 2020-07-29 13:37:11 -05:00
radonbark 5d8fe5b272 Log warning instead of stack trace if token is too short 2020-07-18 00:47:32 -04:00
AviKav b87835bd18
Ignore port when checking referrer 2020-07-05 16:57:25 -04:00
AviKav a20c759700
Move referrer check to before DB access and crypto for token check 2020-07-05 13:36:21 -04:00
AviKav 27bac2ef48
Fix referrer check 2020-07-05 13:02:48 -04:00
carbotaniuman 2907cda312 Update ImageServer.kt 2020-07-04 23:54:07 +00:00
carbotaniuman d84f5a66c1 Immutable 2020-07-04 17:59:20 -05:00
carbotaniuman 36ca9347f8 Rollback stuff 2020-07-04 17:51:07 -05:00
carbotaniuman 9c81c415cd Logging overhauls 2020-07-04 14:39:18 -05:00
carbotaniuman e481527fb3 Generate stuff automatically 2020-07-04 14:00:59 -05:00
carbotaniuman fde00ecb7f Fix stupid bug 2020-07-04 12:11:24 -05:00
carbotaniuman 486626f57e Release 1.1.0 2020-07-04 10:29:49 -05:00
carbotaniuman 61e32327d6 Don't delete DB entries 2020-07-04 10:27:43 -05:00
carbotaniuman 307b28e13c Report proper hostname 2020-07-03 16:22:40 -05:00
carbotaniuman 14d9515d2a Renaming + changelog 2020-07-02 16:50:50 -05:00
carbotaniuman 331f0f030d Validate tokens 2020-07-02 16:45:33 -05:00
wedge1001 62f0d4fa2e fixed referer-check 2020-07-02 21:40:49 +02:00
carbotaniuman 22b0840f99 Update gradle and spotless 2020-07-02 11:06:32 -05:00
carbotaniuman f77ed40b5b Clean up some code 2020-07-01 14:56:31 -05:00
carbotaniuman 02f90180df Debug fixes 2020-07-01 13:48:32 -05:00
carbotaniuman 3445f5d569 Reorganize some code - add read and write timeouts 2020-06-30 14:06:12 -05:00
Amos Ng 620a859d5c
Properly close snapshot if referer invalid 2020-06-29 06:42:44 +08:00
Amos Ng d24c061cc6
Check for mangadex.org prefix rather than checking if referer contains
string
2020-06-29 06:16:28 +08:00
Amos Ng 00e4ac20bb
Added rudimentary support of Referer checking to mitigate hotlinking 2020-06-29 06:09:27 +08:00
carbotaniuman 18f05f4ccd Added license headers 2020-06-22 12:02:36 -05:00
carbotaniuman 6efff4ce40 Refactor graceful shutdown 2020-06-21 14:49:10 -05:00
carbotaniuman 45d329f692 Switch from Gson to Jackson for better null checks and invalid property support 2020-06-19 20:16:24 +00:00
carbotaniuman c50c523edb Add graceful shutdown 2020-06-17 17:41:04 -05:00
carbotaniuman 137414fa77 Update readme 2020-06-16 18:00:28 -05:00
Fugi d27cd91947
Also set Access-Control-Expose-Headers 2020-06-15 22:59:35 -07:00
Fugi 3c7f796c9e
Add Access-Control-Allow-Origin 2020-06-15 22:10:36 -07:00
Amos Ng 0afa1d2eaa
Properly synchronised sqlite3 handler across threads 2020-06-16 08:04:22 +08:00
carbotaniuman 7eec78e2d2 Use a sqlite DB for metadata 2020-06-15 22:25:31 +00:00
Amos Ng f4fa882381
Added response timings to trace logs and response headers 2020-06-14 23:17:08 +08:00
Amos Ng 41d06a2646
Fixed minor linting issue 2020-06-14 19:04:20 +08:00
carbotaniuman 9afa914566 Kotlinify some more things 2020-06-13 18:19:04 -05:00
Renamed from src/main/kotlin/mdnet/base/web/ImageServer.kt (Browse further)