Nick Sweeting
a8a6752b06
add CACHE_BACKEND options to settings for easier dev
2021-02-17 18:25:23 -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
265bcc0264
fix lint errors2
2021-02-16 16:29:41 -05:00
Nick Sweeting
6f0eec92eb
fix lint errors
2021-02-16 16:26:48 -05:00
Nick Sweeting
d89034dcde
disable debug_toolbar by default
2021-02-16 16:23:09 -05:00
Nick Sweeting
71cf8d5224
add migrations
2021-02-16 15:57:13 -05:00
Nick Sweeting
05e891632c
add snapshot_id to Link and uuid to ArchiveResult
2021-02-16 15:54:27 -05:00
Nick Sweeting
28e50c5e49
tweak snapshot asset serving logic to show multiple choices in case of conflict
2021-02-16 15:51:56 -05:00
Nick Sweeting
a6c64f2560
only get archive_size if index.html is present within dir
2021-02-16 15:51:17 -05:00
Nick Sweeting
c24e4bf11d
tweak django debug toolbar panels and add djdt_flamegraph
2021-02-16 15:51:02 -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
51440ede3a
show extra fields on ArchiveResult admin list and detail page
2021-02-16 15:47:49 -05:00
Nick Sweeting
e62ecffeb0
disable django caches explicitly
2021-02-16 06:18:39 -05:00
Nick Sweeting
48eddadc9b
inline archive_size and archive_path snapshot methods
2021-02-16 06:16:02 -05:00
Nick Sweeting
24ae01cdbe
add ArchiveResult admin
2021-02-16 06:13:27 -05:00
Nick Sweeting
87069dd41e
fix wsgi.py
2021-02-16 04:16:51 -05:00
Nick Sweeting
8c2d81c041
always serve static files
2021-02-16 04:16:24 -05:00
Nick Sweeting
fb8e6cabcb
fix error log location
2021-02-16 04:15:09 -05:00
Nick Sweeting
26fa63749d
add debug toolbar
2021-02-16 02:50:05 -05:00
Nick Sweeting
ae43d35e65
fix color option in docker
2021-02-16 01:26:26 -05:00
Nick Sweeting
22da885148
log every archivebox command run to the errors.log
2021-02-16 01:23:01 -05:00
Nick Sweeting
a089136fea
fix missing stdout template var on /add when not rendering success page
2021-02-15 20:54:47 -05:00
Nick Sweeting
b6d7c74680
speed up the Snapshot handling view and show index page when extractor output is missing or multiple snapshots returned
2021-02-15 20:52:08 -05:00
Nick Sweeting
0375853683
log error tracebacks to logs/errors.log file and filter noisy 404s and 200s from log output
2021-02-15 20:51:23 -05:00
Nick Sweeting
0c9db1c554
remove symbols from random secret key for easier copy pastin
2021-02-15 20:45:42 -05:00
Nick Sweeting
4faef03ba3
compute snapshot properties directly without loading whole Link
2021-02-15 20:44:08 -05:00
Nick Sweeting
c28ad8bd1b
fix AddLinkForm widget complaining about missing template var class
2021-02-15 20:42:59 -05:00
Nick Sweeting
9cd4ba38f0
add new SNAPSHOTS_PER_PAGE pagination limit config
2021-02-15 20:42:00 -05:00
Nick Sweeting
e61e12c889
use setup.py to determine dependencies in Dockerfile instead of egg-info requires.txt
2021-02-15 14:51:32 -05:00
Nick Sweeting
611216765d
switch sqlite to use WAL mode by default to prevent database locked errors
2021-02-15 13:39:03 -05:00
Nick Sweeting
171bbeb69b
catch exception on import of old index.json into ArchiveResult
2021-02-01 16:31:29 -05:00
Nick Sweeting
0aea5ed3e8
fix handling of skipped ArchiveResult entries with null output
2021-02-01 14:37:34 -05:00
Nick Sweeting
aa84a7ff2b
fix migration creating conflicting tags based on slug
2021-02-01 05:13:23 -05:00
Nick Sweeting
923f517a8f
minor fixes
2021-02-01 02:17:54 -05:00
Nick Sweeting
b9b1c3d9e8
fix singlefile output path not relative
2021-01-30 20:44:49 -05:00
Nick Sweeting
326ce78496
simplify debug
2021-01-30 06:09:26 -05:00
Nick Sweeting
d6de04a83a
fix lgtm errors
2021-01-30 06:07:35 -05:00
Nick Sweeting
6edae6a17f
add future api spec design
2021-01-30 05:47:55 -05:00
Nick Sweeting
a98298103d
cleanup templates and views
2021-01-30 05:47:55 -05:00
Nick Sweeting
ed13ec7655
remove active theme
2021-01-30 05:47:55 -05:00
Nick Sweeting
8a4edb45e7
also search url, timestamp, tags on public index
2021-01-29 09:08:03 -05:00
Nick Sweeting
d7df9e58ea
hide footer on add page
2021-01-28 23:15:05 -05:00
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
Cristian
8cfad64271
feat: Add specific logic for archive_org icon
2020-11-12 11:09:34 -05:00
Cristian
e594e6a75a
feat: WARC link points to the first warc result in target path
2020-11-12 10:57:31 -05:00
Cristian
b237e412df
feat: Finish reversal. Add ArchiveResults that are not found in the index.json
2020-11-12 10:30:41 -05:00
Cristian
f7f0bebdcc
feat: Modify migration reverse function to restore index (WIP)
2020-11-11 15:26:54 -05:00
Cristian
508a0bb06e
refactor: Unpack extractors tuple instead of using the index to access the relevant information
2020-11-10 12:38:29 -05:00
Cristian
71655220ad
feat: Add warc to list and limit check to succeeded archive results
2020-11-05 07:54:40 -05:00
Cristian
4484491fb7
feat: Create ArchiveResult after finishing an extractor process
2020-11-04 11:22:55 -05:00