29 Commits

Author SHA1 Message Date
Alex Ling
75a30a88e0 Use myhtml in plugin helper and add tests (#320) 2022-07-17 14:54:25 +00:00
Chris Alexander
be46dd1f86
Allow config defaults to be sourced from ENV
This allows the default config to source values from ENV variables if
they are set. With this change we don't have to modify the docker CMD or
edit the config.yml and then relaunch.
2022-06-15 12:03:40 -05:00
Alex Ling
566cebfcdd Remove all leading dots and spaces 2021-09-09 00:13:58 +00:00
Alex Ling
ccf558eaa7 Improve filename sanitization rules 2021-09-08 10:03:05 +00:00
Alex Ling
ee52c52f46 Fix new linter errors 2021-03-12 15:03:12 +00:00
Alex Ling
def64d9f98 Rename interesting files to supported files 2021-01-26 10:55:50 +00:00
Leeingnyo
0ba2409c9a add tests about is_interesting_file 2021-01-26 04:18:09 +09:00
Alex Ling
cf930418cb Update rename spec 2020-12-30 12:53:48 +00:00
Alex Ling
ddda058d8d Fix spec 2020-08-05 09:59:52 +00:00
Alex Ling
f7004549b8 Remove MangaDex module tests 2020-07-26 06:48:49 +00:00
Alex Ling
94a1e63963 Handle library/title sorting on backend (#86) 2020-07-15 10:34:53 +00:00
Alex Ling
360913ee78 Add chapter sort 2020-07-12 08:59:40 +00:00
Alex Ling
0d11cb59e9 Break util.cr into multiple files 2020-07-12 08:53:04 +00:00
Alex Ling
3d352ed062 Add test for slash escaping 2020-06-09 09:28:37 +00:00
Alex Ling
27dab3c989 Disable initial user creation in spec 2020-05-31 15:26:11 +00:00
Alex Ling
30dea57346 Use singleton in tests 2020-05-07 10:12:58 +00:00
Alex Ling
049bd3ab2c Fix long lines 2020-05-07 10:12:58 +00:00
Alex Ling
986939ecb6 Add tests for the Rename module 2020-05-07 10:01:32 +00:00
Alex Ling
fcf9d39047 Project-wise refactoring to follow Ameba 2020-04-08 06:45:45 +00:00
Alex Ling
8b184ed48d Project-wise code formatting 2020-04-08 05:25:12 +00:00
Alex Ling
3866c81588 Use the updated Logger class in spec 2020-04-07 13:26:09 +00:00
Alex Ling
d58c83fbd8 Use BigInt when sorting filenames (#22) 2020-03-27 04:45:03 +00:00
Alex Ling
335fb45de6 Add spec for util.cr 2020-03-12 23:47:14 +00:00
Alex Ling
7ca40215b6 Remove temp DB files before resetting the state 2020-03-04 01:56:48 +00:00
Alex Ling
54206bc6ac Finish the test cases for MangaDex::Queue 2020-03-04 01:52:17 +00:00
Alex Ling
1abdac2fdd Better state management in spec and add some tests for MangaDex::Queue 2020-03-03 18:34:39 +00:00
Alex Ling
bc75f4d336 Add unit test 2020-02-25 19:00:10 +00:00
Alex Ling
a3203dccba - clean 2020-02-11 23:48:18 +00:00
Alex Ling
3c2b054ec8 - initial commit 2020-02-11 22:06:17 +00:00