Commit graph

73 commits

Author SHA1 Message Date
Joakim Soderlund
eca26dd2c3 Add JSON to FPUB converter 2019-03-10 15:16:50 +01:00
Joakim Soderlund
82dd078020 Use pathlib in mappers and writers 2019-03-09 21:50:58 +01:00
Joakim Soderlund
5160a9edae Compare enumeration instances by identity
See https://docs.python.org/3.7/library/enum.html#comparisons
2019-03-06 12:06:31 +01:00
Joakim Soderlund
e09d67d291 Fix invalid status in alpha beta converter
Thanks to Midnight Sapphire for finding this bug.
2019-02-22 23:35:37 +01:00
Joakim Soderlund
6dd650f302 Cache len in directory fetcher 2018-12-01 13:46:38 +01:00
Joakim Soderlund
e80a3d1c2c Add mapper for story slug 2018-10-13 19:59:50 +02:00
Joakim Soderlund
b7c7fcc780 Add mocked test data for Fimfiction APIv1 2018-09-08 16:57:41 +02:00
Joakim Soderlund
d9a0a78c79 Add redactor to Fimfiction APIv2 fetcher tests 2018-09-05 19:40:20 +02:00
Joakim Soderlund
3139ff9d7c Add optional post processing to response recorder 2018-09-05 19:32:37 +02:00
Joakim Soderlund
aa6cafa305 Add walker for JSON objects 2018-09-05 18:15:57 +02:00
Joakim Soderlund
8e8dac864a Add mocked test data for Fimfiction APIv2 2018-09-05 16:44:11 +02:00
Joakim Soderlund
10d906bf7c Fix test response recorder dropping self reference 2018-08-22 15:20:41 +02:00
Joakim Soderlund
65f4919a36 Add fixture for mocking or saving HTTP responses 2018-08-08 20:27:53 +02:00
Joakim Soderlund
627ba8d21c Move pytest fixtures into their own package 2018-08-08 19:03:42 +02:00
Joakim Soderlund
684c75ef3e Ignore method assignment type error 2018-08-04 22:19:52 +02:00
Joakim Soderlund
aaa309d3a8 Add fetcher for Fimfiction APIv2 2018-07-15 20:04:11 +02:00
Joakim Soderlund
0ee02b971a Fix build after static type checker changes 2018-06-02 17:40:42 +02:00
Joakim Soderlund
0587144a5d Make DirectoryFetcher iterable 2018-03-01 20:42:24 +01:00
Joakim Soderlund
4a7b10f2a2 Copy archive meta in update task 2018-01-27 00:01:52 +01:00
Joakim Soderlund
f3b8942c65 Update FimfarchiveFetcher for beta format 2017-12-05 23:27:52 +01:00
Joakim Soderlund
1e68420b4e Add directory fetcher 2017-11-18 16:01:38 +01:00
Joakim Soderlund
c4b9322956 Add init file to converters test package 2017-11-18 14:53:48 +01:00
Joakim Soderlund
a4c1fe5a2d Add alpha to beta converter 2017-11-12 18:35:15 +01:00
Joakim Soderlund
b590c60c3b Prioritize existing flavor in meta format mapper 2017-11-11 00:06:05 +01:00
Joakim Soderlund
4ee0824230 Add meta format mapper 2017-11-10 23:38:49 +01:00
Joakim Soderlund
478b2e7080 Change find flavors method into utility function 2017-11-10 22:41:53 +01:00
Joakim Soderlund
c604c4b2ad Write only meta for revived stories in update task 2017-11-08 20:09:09 +01:00
Joakim Soderlund
2270df477b Add JSON story writer to update task 2017-11-08 18:41:48 +01:00
Joakim Soderlund
4a2956c3c3 Limit mappers to single story as parameter 2017-11-08 18:10:39 +01:00
Joakim Soderlund
bdb7382e4e Add converters package 2017-11-08 16:59:22 +01:00
Joakim Soderlund
d9619e993a Add stamper to update task 2017-11-04 20:41:22 +01:00
Joakim Soderlund
81c4346f10 Add update stamper 2017-11-04 16:30:41 +01:00
Joakim Soderlund
0a862abcd0 Add member declaration to stampers module 2017-11-04 16:08:19 +01:00
Joakim Soderlund
c9eadd0c92 Add stampers module 2017-11-04 14:12:26 +01:00
Joakim Soderlund
55c7b95d93 Handle meta from APIv2 in update command formatter 2017-11-01 15:11:06 +01:00
Joakim Soderlund
d9e96958aa Split fetchers test module into package 2017-10-28 19:32:00 +02:00
Joakim Soderlund
b6718b96aa Return Arrow object from story date mapper 2017-10-25 22:08:24 +02:00
Joakim Soderlund
c3b014d06e Add selector to update task arguments 2017-10-25 21:19:52 +02:00
Joakim Soderlund
a66ff04f32 Add selector for refetching data during updates 2017-10-25 19:47:03 +02:00
Joakim Soderlund
87d6fe0052 Add update command 2017-10-15 02:25:59 +02:00
Joakim Soderlund
fe1ae39ca4 Add init files to test packages 2017-10-15 02:12:01 +02:00
Joakim Soderlund
262038e95d Fix crash when no commands are available 2017-10-14 15:30:15 +02:00
Joakim Soderlund
6c0dfd2263 Add root application command module 2017-10-13 19:08:03 +02:00
Joakim Soderlund
8d0d738fd1 Add commands package 2017-10-13 13:59:16 +02:00
Joakim Soderlund
ffe822f5d4 Flatten tasks module imports 2017-09-23 23:44:39 +02:00
Joakim Soderlund
9d927592bb Convert signal receiver into a context manager 2017-09-23 22:31:00 +02:00
Joakim Soderlund
c41e7be45d Add update task 2017-08-01 23:09:11 +02:00
Joakim Soderlund
6332fca583 Test wildcard imports 2017-06-25 17:01:02 +02:00
Joakim Soderlund
4bc306c6e0 Update fetcher to reflect changes in Fimfiction 2017-06-24 19:41:26 +02:00
Joakim Soderlund
9c7988b691 Add signals module 2017-06-24 16:39:19 +02:00