1
0
Fork 0
mirror of synced 2024-09-30 00:56:55 +13:00
Commit graph

22 commits

Author SHA1 Message Date
Serene-Arc
bd9f276acc Rename module 2021-04-18 16:44:52 +03:00
Serene
9bceafc3e9 Parse unicode escapes in file name fields (#254) 2021-04-18 16:44:52 +03:00
Serene
702295f1ea Allow multilevel folder schemes (#251)
* Improve some formatting

* Allow multilevel folder names
2021-04-18 16:44:51 +03:00
Serene
2385867afb Refactor and optimise some tests (#245)
* Rename to follow actual directory name

* Remove unnecessary Reddit call from test

* Refactor test to reduce duplication

* Parameterise some tests

* Standardise formatting
2021-04-18 16:44:51 +03:00
Serene
32c9d6184c Archiver is smarter for comments (#242)
* Add comment name generation to file name formatter

* Refactor to reduce duplication

* Refactor archive entry classes

* Refactor archiver class a bit

* Refactor method

* Fix comment retrieval

* Add comment-downloading to archiver

* Update test

* Update test
2021-04-18 16:44:51 +03:00
Serene-Arc
a170356738 Use slice to shorten name 2021-04-18 16:44:51 +03:00
Ali Parlakci
0fe28deee9 file_name_formatter: added tests (#227) 2021-04-18 16:44:51 +03:00
Serene-Arc
cbcbf400bb Add test for nonexistent key 2021-04-18 16:44:51 +03:00
Serene
f2946c0a87 Strip emojis from filenames on Windows (#222) 2021-04-18 16:44:51 +03:00
Serene-Arc
3cb51e638b Preserve appended ID when shortening file names 2021-04-18 16:44:51 +03:00
Serene-Arc
1cb8240eb6 Remove incorrect test marks 2021-04-18 16:44:51 +03:00
Serene-Arc
0007912ad5 Scrub windows paths for invalid characters 2021-04-18 16:44:51 +03:00
Serene-Arc
c2d3cfd50f Add more tests for file name formatter 2021-04-18 16:44:20 +03:00
Serene-Arc
959b55a939 Add beginning of archiver 2021-04-18 16:44:20 +03:00
Serene-Arc
36b6aafbc1 Limit name byte length 2021-04-18 16:44:06 +03:00
Serene-Arc
4d91cf7c0f Shorten filenames that are too long 2021-04-18 16:44:06 +03:00
Serene-Arc
d78c4ca78e Add indexing for multiple resources from one submission 2021-04-18 16:44:05 +03:00
Serene-Arc
ea42471932 Add function to validate formatting strings 2021-04-18 16:44:05 +03:00
Serene-Arc
0c6a8e46a2 Add reddit flag for pytest 2021-04-18 16:43:55 +03:00
Serene-Arc
0652f53b50 Mark online tests 2021-04-18 16:43:55 +03:00
Serene-Arc
a75e94e43e Restructure test fixtures 2021-04-18 16:43:55 +03:00
Serene-Arc
358357590f Add file name formatter class 2021-04-18 16:43:15 +03:00