Commit graph

152 commits

Author SHA1 Message Date
Nick Sweeting
a07ed3989e fix import path 2021-01-20 19:02:31 -05:00
Nick Sweeting
72e2c7b95d use relative imports for util 2021-01-20 18:44:28 -05:00
Nick Sweeting
02bdb3bdeb fix DATABASE_NAME posixpath 2021-01-20 18:42:12 -05:00
Nick Sweeting
a3008c8189 fix migration failing due to null cmd_versions in older archives 2021-01-12 12:56:06 +02: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
jdcaballerov
7b66e1514d Merge branch 'v0.5.0' of github.com:ArchiveBox/ArchiveBox into feat-snapshots-grid 2020-12-14 15:05:19 -05:00
jdcaballerov
6b5c881555 Fix search to include filters 2020-12-14 13:40:38 -05:00
jdcaballerov
254d2502fd Feature implementation 2020-12-11 23:03:46 -05:00
Nick Sweeting
1c87c27105 patch migration JSONField as well 2020-12-11 20:50:45 +02:00
Nick Sweeting
081d94d799 fallback to old JSONField from lib if django version is old 2020-12-11 20:45:44 +02:00
Nick Sweeting
c084e70ea8 fix TEMPLATES_DIR location 2020-12-11 16:21:09 +02:00
Nick Sweeting
a194bb6301
Merge pull request #580 from BlipRanger/master 2020-12-10 12:48:30 -05:00
BlipRanger
6f462b45d7
Update archivebox/core/forms.py
Cleaner handling of the ARCHIVE_METHODS values

Co-authored-by: Nick Sweeting <git@sweeting.me>
2020-12-10 12:46:16 -05:00
BlipRanger
35809eab1c
Update archivebox/core/views.py
Cleaner handling of the archive methods input

Co-authored-by: Nick Sweeting <git@sweeting.me>
2020-12-10 12:45:30 -05:00
BlipRanger
7ce1f63183
Update archivebox/core/forms.py
Format cleanup

Co-authored-by: Nick Sweeting <git@sweeting.me>
2020-12-10 12:44:38 -05:00
BlipRanger
8b0ff2dfee update instead of append 2020-12-10 11:08:27 -05:00
BlipRanger
d9fd1e3811 Add selector for archive modes 2020-12-10 10:51:57 -05:00
Cristian
9aac09a5e1 feat: Patch setup_django so we can use an inmemory db in specific commands 2020-12-08 18:42:25 -05:00
Cristian
8d22ebf988 feat: Remove walrus operator (we still need to support python3.7) 2020-12-06 12:23:02 -05:00
Nick Sweeting
a0a79cead8 move utils and vendored libs into subfolders 2020-12-06 02:01:18 +02:00
JDC
7903db6dfb Add ArchiveResult Manager and sorted indexable filter 2020-12-06 01:13:39 +02:00
JDC
823df34080 Use QuerySets for search backend API instead of pks 2020-12-06 01:12:47 +02:00
JDC
47daa038eb Implement flush for search backend after remove command 2020-12-06 01:12:47 +02:00
JDC
5f6673c72c Implement backend architecture for search engines 2020-12-06 01:12:46 +02:00
JDC
b1f70b2197 Initial implementation 2020-12-06 01:12:45 +02:00
jdcaballerov
c8d8346e4d Remove duplicate context after rebase 2020-12-03 15:44:21 -05:00
jdcaballerov
8ac7a760c9 Fix num_links missing in public index 2020-12-03 08:32:49 -05:00
jdcaballerov
69897f6121 Hotfix public page search
No ordering causes warning and fallback to default unfiltered QuerySet
2020-12-03 08:32:49 -05:00
Nick Sweeting
193dde03f0
Merge pull request #559 from jdcaballerov/hotfix-public-search
Hotfix public page search
2020-12-01 10:56:32 -05:00
jdcaballerov
4d972571d0 Hotfix public page search
No ordering causes warning and fallback to default unfiltered QuerySet
2020-12-01 10:46:11 -05:00
Nick Sweeting
104553489f remove redundant utils file 2020-11-28 02:12:27 -05:00
Nick Sweeting
7fdea91311 fix static html num_outputs info 2020-11-28 02:01:53 -05:00
Nick Sweeting
fde65c3b7d fix public index missing template context 2020-11-28 01:29:34 -05:00
Nick Sweeting
46a53eafdb simplify history helper 2020-11-28 01:14:45 -05:00
Nick Sweeting
9661c863b3 css style tweaks for icons 2020-11-28 01:06:23 -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
Nick Sweeting
00bb55203e
always show WARC icon with opacity set based on exists 2020-11-27 23:45:49 -05:00
Nick Sweeting
efe3027797
Merge branch 'master' into archive-result 2020-11-27 23:18:11 -05:00
Cristian
4b3f72202b feat: Bump django, update migration and change cmd to use JSONField 2020-11-27 16:23:27 -05:00
Cristian
f61e6a74bb feat: Re-add unused icons in list view 2020-11-27 15:55:37 -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
Nick Sweeting
0e2ccbc10d update urls to new repo path 2020-11-23 02:06:46 -05:00
Nick Sweeting
afe9319c25
Merge pull request #537 from TrAyZeN/master 2020-11-18 23:20:41 -05:00
JDC
8b0250caeb Fixes 500 error on search
The class SnapshotAdmin search_fields includes the
tags ManyToMany field causing a
django.core.exceptions.FieldError: Related Field got invalid lookup: icontains
error.
A related search field tags__name should be used.
2020-11-17 08:36:03 -05:00
TrAyZeN
a05485f85c Fix file icons order 2020-11-14 17:44:06 +01:00
Cristian
0f13087a09 refactor: Remove unneeded prefetch related 2020-11-12 13:58:13 -05:00
Cristian
c565fad75c feat: Use prefetch related to reduce the number of queries to the database on public index view 2020-11-12 11:37:56 -05:00