Commit graph

1793 commits

Author SHA1 Message Date
ttimasdf
e3329be291 tests: add test for mercury-parser 2020-09-22 18:44:12 -05:00
ttimasdf
776fda947d add mercury-parser npm dependency 2020-09-22 18:44:12 -05:00
ttimasdf
f722ed331d add environmental variable for mercury-parser 2020-09-22 18:44:12 -05:00
ttimasdf
706bd895e0 feat: Add mercury-parser 2020-09-22 18:44:12 -05:00
Cristian
b18bbf8874 test: Fix tests post-rebase 2020-09-17 09:09:52 -05:00
apkallum
422664079a fix test type casting for folder['path'] 2020-09-17 09:09:52 -05:00
apkallum
0144f19227 fix github action folder listing 2020-09-17 09:09:52 -05:00
apkallum
1aa7bac85b fix oneshot command type signature 2020-09-17 09:09:52 -05:00
apkallum
95157427c2 update stubs file 2020-09-17 09:09:52 -05:00
apkallum
008769d296 add support for Paths in json encoder 2020-09-17 09:09:52 -05:00
apkallum
abf68e5437 no home() in Paths 2020-09-17 09:09:52 -05:00
apkallum
b99784b919 pathlib with / syntax for config, index 2020-09-17 09:09:52 -05:00
apkallum
594d9e49ce first attempt to migrate to Pathlib 2020-09-17 09:09:52 -05:00
Cristian Vargas
2767155e59
Merge pull request #460 from cdvv7788/view_refactor
View refactor
2020-09-17 09:09:10 -05:00
Cristian
b2ed96c35a feat: Redirect old add view to the main one 2020-09-17 09:08:20 -05:00
Cristian
b3ec170e39 fix: Remove unused imports 2020-09-16 08:50:56 -05:00
Cristian
bc116c25f8 refactor: Change View to FormView 2020-09-16 08:50:56 -05:00
apkallum
a06bd715a9 remove reference to old home 2020-09-16 08:50:56 -05:00
apkallum
1cdaad00a8 no more oldhome, cbvs uniform across views 2020-09-16 08:50:56 -05:00
apkallum
94a590b31a factor out a base.html template 2020-09-16 08:50:56 -05:00
apkallum
5e8c115f3f unify public archive view 2020-09-16 08:50:56 -05:00
apkallum
3288f8579b add public add view + toggle setting 2020-09-16 08:50:56 -05:00
apkallum
6f7cc2b3ef ensure results have icons 2020-09-16 08:50:56 -05:00
apkallum
3048c0f6dc add icons to new public view 2020-09-16 08:50:56 -05:00
apkallum
c50af04cce search view inherits from modified public view 2020-09-16 08:50:56 -05:00
apkallum
948b2469f6 no files count in public view 2020-09-16 08:50:56 -05:00
apkallum
5c4ac3cf3d new public view derived from django 2020-09-16 08:50:56 -05:00
Cristian
50f3f16203 lint: Remove unused import 2020-09-15 08:05:46 -05:00
Cristian
0a83392cbf fix: Replace any typing with Union[Iterable[Link], QuerySet] in archive_links 2020-09-15 08:05:46 -05:00
Cristian
779a446085 feat: Make title and tags editable in admin 2020-09-15 08:05:46 -05:00
Cristian
5348f4735a fix: Change check to avoid issues with empty querysets 2020-09-15 08:05:46 -05:00
Cristian
cf18130f85 feat: Add deprecation warning for index.json 2020-09-15 08:05:46 -05:00
Cristian
018bd91745 refactor: Remove get_iter lambda from archive_links 2020-09-15 08:05:46 -05:00
Cristian Vargas
5e9b3099c6 Update fix_duplicate_links_in_index docstring
Co-authored-by: Nick Sweeting <git@sweeting.me>
2020-09-15 08:05:46 -05:00
Cristian
01fb44fd40 refactor: Change archive_links check to focus on queryset, so it allows other iterables and not just lists 2020-09-15 08:05:46 -05:00
Cristian
fa622d3e14 refactor: Replace --index with --with-headers in the list command to make it more explicit. Change it so it affects the csv output too. 2020-09-15 08:05:46 -05:00
Cristian
2aa8d69b72 fix: Save history in main index (to mimic previous behaviour) 2020-09-15 08:05:46 -05:00
Cristian
7e9d195d13 feat: Update list command to sort using sqlite 2020-09-15 08:05:46 -05:00
Cristian
f55153eab3 feat: Update update command to work with querysets 2020-09-15 08:05:46 -05:00
Cristian
dafa1dd63c tests: Add tests for before and after flags in remove command 2020-09-15 08:05:46 -05:00
Cristian
fe9604a772 feat: Add tests for remove command 2020-09-15 08:05:46 -05:00
Cristian
a8ed72501d feat: Refactor remove command to use querysets 2020-09-15 08:05:46 -05:00
Cristian
be520d137a feat: Refactor add method to use querysets 2020-09-15 08:05:46 -05:00
Cristian
6a2e6aad2f fix: status command was failing on empty archives 2020-09-15 08:05:46 -05:00
Cristian
be0dff8126 feat: Add tests to refactored init command 2020-09-15 08:05:46 -05:00
Cristian
404f333e17 feat: Refactor get_invalid_folders to work with a queryset instead of a list of links 2020-09-15 08:05:46 -05:00
Cristian
dae606de6e feat: Update init to take advantage of querysets to reduce memory consumption 2020-09-15 08:05:46 -05:00
Cristian
6b4b7127b4 feat: Remove unused imports 2020-09-15 08:05:46 -05:00
Cristian
b8585dd92e feat: load_main_index returns a queryset now 2020-09-15 08:05:46 -05:00
Cristian
a77d6dc235 feat: list command fails when --index is used without --json or --html 2020-09-15 08:05:46 -05:00