Commit graph

179 commits

Author SHA1 Message Date
AviKav e85b77569b Revert "Merge branch 'fix-4xx-caching' into expermential_buffer_size_knob"
This reverts commit dcd05dc6a1, reversing
changes made to 80402f3c52.
2020-08-04 21:37:45 -04:00
AviKav dcd05dc6a1 Merge branch 'fix-4xx-caching' into expermential_buffer_size_knob 2020-07-14 04:05:02 -04:00
AviKav 80402f3c52
Rename mimetype check 2020-07-14 03:59:07 -04:00
AviKav 0caa1f00a6
Add info to bad mimetype log entry and change spelling 2020-07-14 03:56:16 -04:00
AviKav 3558b5ad50
Fixes caching HTML from 404s 2020-07-14 03:50:42 -04:00
AviKav 69d45575af
Experimential support for increasing the file buffer 2020-07-09 00:34:08 -04:00
M 9087047bc9 Update WebUI (for the last time i hope) 2020-07-05 17:48:27 -05:00
M d58f6d3bca Update WebUI 2020-07-05 16:54:54 -05:00
AviKav b87835bd18
Ignore port when checking referrer 2020-07-05 16:57:25 -04:00
lflare 7fde2b5e53 Merge branch 'master' into 'master'
Fix referrer check

See merge request mangadex-pub/mangadex_at_home!53
2020-07-05 20:30:17 +00:00
Amos Ng 01b9e6adab
Revert "Deprecated Referer checking for hotlink prevention in favour of token verification system"
Might not be a good idea to fully remove it right now...
2020-07-06 04:27:41 +08:00
Amos Ng c1d459fa7e
Bump server version again :) 2020-07-06 04:26:10 +08:00
Amos Ng c8059eae03
Deprecated Referer checking for hotlink prevention in favour of token verification system 2020-07-06 04:11:44 +08: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 a8ee77c262 Bump version 2020-07-04 17:56:17 -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 372e136560 Supress logs 2020-07-04 12:14:51 -05:00
carbotaniuman fde00ecb7f Fix stupid bug 2020-07-04 12:11:24 -05:00
carbotaniuman 76d19d7493 Goddangit 2020-07-04 10:54:00 -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 13c372038e Hide secret until @Secret if fixed 2020-07-03 16:37:03 -05:00
carbotaniuman 307b28e13c Report proper hostname 2020-07-03 16:22:40 -05:00
RedMatriz cfc942f674 Update WebUI (this time without screwing everything) 2020-07-02 19:41:40 -05:00
RedMatriz cd6c0bfd67 Revert "Update WebUI"
This reverts commit dbbf29a83a
2020-07-03 00:33:58 +00:00
RedMatriz dbbf29a83a Update WebUI 2020-07-02 19:32:57 -05:00
carbotaniuman 56f3b09f65 remove testing code 2020-07-02 16:54:24 -05:00
carbotaniuman 14d9515d2a Renaming + changelog 2020-07-02 16:50:50 -05:00
carbotaniuman 3f237c690d Revert change 2020-07-02 16:45:33 -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
wedge1001 63c19f3a73 added optional dev-settings 2020-07-02 16:02:40 +00: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 402c083c4e Reorganize some code - add read and write timeouts 2020-06-30 14:10:59 -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 ccb526079c Update changelog, revert gitignore stuff 2020-06-28 12:44:43 -05:00
carbotaniuman c5d3208b9b Merge branch 'master' into 'master'
Added configuration option for external port

See merge request mangadex-pub/mangadex_at_home!40
2020-06-28 17:42:40 +00:00
wedge1001 9d2424bd13 Added configuration option for external port 2020-06-28 17:42:40 +00:00
carbotaniuman 0e6af9e7d3 Add sanity guard 2020-06-28 12:36:30 -05:00
carbotaniuman edf416cfa6 Update cert code to be more general 2020-06-27 13:15:49 -05:00