Commit graph

51 commits

Author SHA1 Message Date
Nick Sweeting
d73f7d7d96 add db_index on url field 2021-04-01 14:00:07 -04:00
Nick Sweeting
59d5423483 fix snapshot icon caching and ordering 2021-04-01 02:22:15 -04:00
Nick Sweeting
f3a3d76439 support adding urls with tags directly via CLI and add page 2021-03-27 04:30:15 -04:00
Nick Sweeting
fea0b89dbe add tag cli option 2021-03-27 03:57:05 -04:00
Nick Sweeting
3c2f4c95cf fix unused import 2021-03-27 01:50:26 -04:00
Nick Sweeting
177d22da50 fix clicking add tag when no tag is selected throwing 500 2021-03-01 01:39:06 -05:00
Nick Sweeting
844b5c5e20 minor db fix 2021-02-28 22:54:04 -05:00
Nick Sweeting
ca2bb673ea improve inline admin forms and add tags autocomplete 2021-02-18 08:04:14 -05:00
Nick Sweeting
9918bddb7e remove emptystring tags before saving 2021-02-18 02:33:42 -05:00
Nick Sweeting
f1823381d0 improve latest title logic to take longest title 2021-02-18 02:33:28 -05:00
Nick Sweeting
ad4bd49163 increase max title length to 512 2021-02-18 02:33:08 -05:00
Nick Sweeting
3457773988 fix ArchiveResult extractor showing up on top of dropdown in admin inline form 2021-02-17 18:25:01 -05:00
Nick Sweeting
05e891632c add snapshot_id to Link and uuid to ArchiveResult 2021-02-16 15:54:27 -05:00
Nick Sweeting
1e2188517b speed up latest_title by preferring db title if present 2021-02-16 15:49:53 -05:00
Nick Sweeting
8b236b9367 cache dir size, snapshot icons, tags str, and title in django cache 2021-02-16 15:49:29 -05:00
Nick Sweeting
48eddadc9b inline archive_size and archive_path snapshot methods 2021-02-16 06:16:02 -05:00
Nick Sweeting
4faef03ba3 compute snapshot properties directly without loading whole Link 2021-02-15 20:44:08 -05:00
Cristian
14d1b3209e fix: Make cmd_version nullable 2021-01-06 20:03:40 +02:00
Cristian
c21af37ed4 fix: Give cmd_version a default value in case it is not present 2021-01-06 20:03:40 +02:00
Nick Sweeting
081d94d799 fallback to old JSONField from lib if django version is old 2020-12-11 20:45:44 +02:00
Cristian
8d22ebf988 feat: Remove walrus operator (we still need to support python3.7) 2020-12-06 12:23:02 -05:00
JDC
7903db6dfb Add ArchiveResult Manager and sorted indexable filter 2020-12-06 01:13:39 +02:00
Nick Sweeting
46a53eafdb simplify history helper 2020-11-28 01:14:45 -05:00
Nick Sweeting
910f3d65c7 default function args can never be mutable 2020-11-28 01:06:11 -05:00
Nick Sweeting
411fdcac87 use database for num_outputs instead of legacy json 2020-11-28 01:05:53 -05:00
Cristian
4b3f72202b feat: Bump django, update migration and change cmd to use JSONField 2020-11-27 16:23:27 -05:00
Nick Sweeting
f84f288bef
Apply suggestions from code review
minor nit
2020-11-27 00:01:34 -05:00
Cristian
34a1a6d30d fix: Update model according to code review 2020-11-23 18:28:43 -05:00
Cristian
b3e0400bc0 feat: initial functional version with icons calculated based on archive results 2020-11-04 10:31:20 -05:00
Cristian
309a87e8fe feat: Add extractor field to the database 2020-11-04 07:28:02 -05:00
Cristian
8f3c03a0f9 feat: Initial (and naive) ArchiveResult model 2020-11-03 09:54:02 -05:00
Nick Sweeting
ac9e0e356d config fixes 2020-10-31 07:57:11 -04:00
Cristian
62c78e1d10 refactor: Remove django-taggit and replace it with a local tags setup 2020-10-12 13:47:03 -05:00
Angel Rey
f26c0c6cd8 Fix serialization 2020-09-24 15:34:23 -05:00
Angel Rey
62c9028212 Improved tags 2020-09-24 15:34:23 -05:00
Cristian
2aa8d69b72 fix: Save history in main index (to mimic previous behaviour) 2020-09-15 08:05:46 -05:00
Nick Sweeting
3aeca0e450 fix pending titles and favicons, improve add page, custom admin 2020-07-27 23:26:45 -04:00
Nick Sweeting
a79dd4685a make snapshots unique again 2020-07-13 12:21:52 -04:00
Nick Sweeting
7cbd068c95 add flake8 2020-07-13 11:22:23 -04:00
Nick Sweeting
c415420f33 improve sort columns and UI placeholders 2020-06-30 06:41:48 -04:00
Nick Sweeting
df593dea0a fix missing imports 2020-06-30 05:55:34 -04:00
Nick Sweeting
b9e17fa0d1 rename archivebox-info to archivebox-status 2020-06-25 23:32:01 -04:00
Nick Sweeting
43c471e4af cli experience improvements 2020-06-25 17:47:55 -04:00
Nick Sweeting
cb2dd1ee28 rename model Page to Snapshot 2019-04-30 23:44:51 -04:00
Nick Sweeting
95007d9137 split up utils into separate files 2019-04-30 23:13:04 -04:00
Nick Sweeting
1b8abc0961 move everything out of legacy folder 2019-04-27 17:26:24 -04:00
Nick Sweeting
ba7144f6f3 customize django admin ui chrome 2019-04-22 21:40:42 -04:00
Nick Sweeting
354895aef1 django admin to view links now working 2019-04-22 13:20:19 -04:00
Nick Sweeting
35aa8c8902 clearer sql parsing and dumping 2019-04-17 03:50:41 -04:00
Nick Sweeting
cdb70c73df first working django model with archivebox-shell command and sql exporting 2019-04-17 03:49:18 -04:00