1
0
Fork 0
mirror of synced 2024-07-03 05:21:02 +12:00
Commit graph

18 commits

Author SHA1 Message Date
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