Commit graph

24 commits

Author SHA1 Message Date
Nick Sweeting
0c236b034b
allow accessing admin change pages by .abid as well as .id 2024-09-04 23:43:07 -07:00
Nick Sweeting
cbf2a8fdc3
rename datetime fields to _at, massively improve ABID generation safety and determinism 2024-09-04 23:42:36 -07:00
Nick Sweeting
68a39b7392
remove .old_id entirely and make ABID generation only happen once on initial save 2024-09-04 16:40:15 -07:00
Nick Sweeting
9072f4a999
fix ABID added to default to bookmarked value 2024-09-04 02:34:27 -07:00
Nick Sweeting
4427869ae8
fix ABID generation by chopping ts_src precision to consistent length 2024-09-04 02:02:29 -07:00
Nick Sweeting
d060eaa499
abid gradual improvements, some regrets 2024-09-04 00:08:14 -07:00
Nick Sweeting
ae13f1811f
better ABID display in admin UI 2024-09-03 17:11:10 -07:00
Nick Sweeting
01094ecb03
fix REST API CSRF and auth handling 2024-09-03 14:16:44 -07:00
Nick Sweeting
1e73a06ba0
change ABIDModel.created to use AutoTimeField seeded on .save instead of auto_now_add so that ts_src for ABID is available on creation before DB row is created 2024-08-28 03:02:37 -07:00
Nick Sweeting
e558d71b10
fix uuid checks on save 2024-08-28 03:01:19 -07:00
Nick Sweeting
ea81f2fc14
use ABIDAdmin as base ModelAdmin 2024-08-20 19:26:40 -07:00
Nick Sweeting
0285aa52a0
config and attr access improvements 2024-08-20 18:31:21 -07:00
Nick Sweeting
4ae186dfca
fix ABID generation consistency when self._state.adding is True 2024-08-20 05:56:19 -07:00
Nick Sweeting
850448b42c
add salt args in more places 2024-08-20 01:56:07 -07:00
Nick Sweeting
c68a66f74e
add salt kwarg to abid generation funcs 2024-08-19 19:41:43 -07:00
Nick Sweeting
f72debfdb2
migrate ArchiveResult.id to old_id, and make uuid main id 2024-08-17 22:58:35 -07:00
Nick Sweeting
4d0bbfccfc
add uri salt and fix api url namespaces 2024-08-17 21:56:23 -07:00
Nick Sweeting
b7745ae37a
add uri salt when creating ABID 2024-08-17 19:30:58 -07:00
Nick Sweeting
a1afd0211f
fix abid calculation 2024-05-17 20:11:00 -07:00
Nick Sweeting
fdf6f465db
add docstrings 2024-05-14 18:46:38 -07:00
Nick Sweeting
241a7c6ab2
add created, modified, updated, created_by and update django admin 2024-05-13 07:50:07 -07:00
Nick Sweeting
1ba8215072
only use domain part of uri for hash 2024-05-13 07:49:36 -07:00
Nick Sweeting
0420662174
switch everywhere to use Snapshot.pk and ArchiveResult.pk instead of id 2024-05-13 05:12:12 -07:00
Nick Sweeting
4f9f22e024
create abid_utils with new ABID type for ArchiveBox IDs 2024-05-13 02:37:48 -07:00