Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
461 commits
Select commit Hold shift + click to select a range
c356172
oops sass-loader 11+ needs vuecli v5
ajslater Oct 11, 2021
813b74e
new browser title more explicit
ajslater Oct 11, 2021
be70c9f
fix titles for folders
ajslater Oct 11, 2021
49343e4
fix loading browserChoices for python
ajslater Oct 11, 2021
b9e5134
rc1 uses comicbox 0.1.7 which doesn't use the regex package
ajslater Oct 11, 2021
0ff6894
restore all platforms to env
ajslater Oct 11, 2021
ba31e02
0.6.8rc2 uses python 3.9, 3.10 is incompatible with hypercorn
ajslater Oct 11, 2021
d1083a3
change defaults to series instead of volume
ajslater Oct 11, 2021
6091b5d
toolbar with subheading for group type
ajslater Oct 12, 2021
f637ad6
update package.json
ajslater Oct 12, 2021
12755ab
update deps
ajslater Oct 12, 2021
2a74083
update axios
ajslater Oct 12, 2021
e30e061
bump version to rc3
ajslater Oct 12, 2021
713e67b
catch a rare navigate to same place error
ajslater Oct 12, 2021
3a672d6
django 3.2 migration for auto ids
ajslater Oct 12, 2021
9ed3ea8
ignore personal TODO list
ajslater Oct 12, 2021
56670e9
lint
ajslater Oct 12, 2021
01a866d
fix version number
ajslater Oct 12, 2021
8a595c6
Squashed commit of the following:
ajslater Oct 13, 2021
ff5db91
0.6.8rc4
ajslater Oct 13, 2021
a716a59
add swiping back to reader
ajslater Oct 13, 2021
fa752a6
jsconfig for vueter
ajslater Oct 13, 2021
d5128a9
update proxy tester nginx config to use port 80
ajslater Oct 13, 2021
4055d26
update deps
ajslater Oct 13, 2021
b70fab8
Squashed commit of the following:
ajslater Oct 13, 2021
612e25d
0.6.8rc5
ajslater Oct 13, 2021
dbeadfd
v0.6.8
ajslater Oct 13, 2021
1ccccef
Merge branch 'release' into develop
ajslater Oct 13, 2021
3a9569c
better fix for sed in build dist
ajslater Oct 13, 2021
7c175ab
Merge branch 'release' into develop
ajslater Oct 14, 2021
6273bc5
remove editing metadata from the next up
ajslater Oct 14, 2021
872758f
notes on outdated npm deps
ajslater Oct 14, 2021
6993e47
Bulk database imports (#87)
ajslater Nov 1, 2021
3c15186
Thread cleanup (#88)
ajslater Nov 3, 2021
df834bd
version bump to 0.7.0rc0
ajslater Nov 3, 2021
a107737
poetry and npm update
ajslater Nov 3, 2021
b5f822c
update npm
ajslater Nov 3, 2021
83875c6
update @babel/eslint-parser supports eslint 8
ajslater Nov 3, 2021
a1dc2be
Faster covers (#89)
ajslater Nov 3, 2021
be54164
Squashed commit of the following:
ajslater Nov 4, 2021
a22fb5d
Squashed commit of the following:
ajslater Nov 4, 2021
804a82b
Squashed commit of the following:
ajslater Nov 4, 2021
37cbdbc
Squashed commit of the following:
ajslater Nov 4, 2021
2ad9057
update circleci image
ajslater Nov 5, 2021
67a8cc1
Squashed commit of the following:
ajslater Nov 5, 2021
152db78
bulk cover cleanup. remove unused task
ajslater Nov 6, 2021
36ef224
Squashed commit of the following:
ajslater Nov 8, 2021
f3bf319
fix always recreating covers bug
ajslater Nov 8, 2021
11b76fb
fix deleting a library bug
ajslater Nov 8, 2021
58a3b7f
further fix deleted libraries on watcher
ajslater Nov 8, 2021
1d47289
fix query_fks verbose loggging counts
ajslater Nov 8, 2021
69a339d
fix comic model name string
ajslater Nov 8, 2021
996665b
Squashed commit of the following:
ajslater Nov 10, 2021
6bcef96
lint
ajslater Nov 10, 2021
7eb7758
bump NEWS
ajslater Nov 10, 2021
ec8094b
logging change and fix activate_wal_journal startup
ajslater Nov 10, 2021
924cf5d
logging fix
ajslater Nov 10, 2021
fa27d25
fixed m2m folder linking
ajslater Nov 10, 2021
5027ec5
lint dockerfile and add AM_I_IN_A_DOCKER_CONTAINER env var
ajslater Nov 10, 2021
a21bf9b
keep regular kwargs name
ajslater Nov 10, 2021
9e5ff60
fix credit table frontend
ajslater Nov 11, 2021
185b900
fix m2m metadata getting for aggregate comics
ajslater Nov 11, 2021
9f94116
Squashed commit of the following:
ajslater Nov 17, 2021
04cbec8
bump news
ajslater Nov 17, 2021
50b2ecd
rename bulk_import package to db
ajslater Nov 17, 2021
a61c04d
don't ignore FolderModifiedEventsk
ajslater Nov 17, 2021
3fb6381
cleanup too many things importing directly from the coverd.
ajslater Nov 17, 2021
e81c60f
fix bag watchdog task
ajslater Nov 17, 2021
a32146e
fix comic cover annoation on deep folders
ajslater Nov 17, 2021
e29ce86
lint
ajslater Nov 17, 2021
f22463b
remove obsolete SleepTask superclass
ajslater Nov 17, 2021
14cc67f
poetry update
ajslater Nov 17, 2021
d135cf0
update npm
ajslater Nov 17, 2021
863bbc0
lint
ajslater Nov 17, 2021
174c23b
lint & typecheck
ajslater Nov 17, 2021
b51405c
simplify toolbar layout
ajslater Nov 18, 2021
003c49b
fix bad mutation"
ajslater Nov 18, 2021
3c6097e
reordered NEWS
ajslater Nov 18, 2021
35d98a2
tweak filter select positiong
ajslater Nov 18, 2021
825f686
fix menu poller
ajslater Nov 18, 2021
0fd9395
fix admin on demand polls
ajslater Nov 18, 2021
eef1c45
add the sleep back but use a thread.
ajslater Nov 18, 2021
146176d
lint
ajslater Nov 18, 2021
f70307a
Clean up logging
ajslater Nov 18, 2021
984568a
use itertools on generator
ajslater Nov 18, 2021
b93cd29
consolidate query_fk code
ajslater Nov 18, 2021
c2624ae
fix failed imports
ajslater Nov 18, 2021
1a7cafb
fix moving files into library root path. fix ignoring non comic files
ajslater Nov 18, 2021
02217e0
fix updated_at on Folders modifed
ajslater Nov 18, 2021
9afc82a
bulk create missing covers
ajslater Nov 19, 2021
43269b4
clean up counting for logging mostly in the library.db module
ajslater Nov 19, 2021
1230a26
fix missing folder bug on modified
ajslater Nov 19, 2021
a8b8633
logging fixes and trap a key erorr for missing metadata
ajslater Nov 19, 2021
c1a4944
rename observer methods, log orphaned watch stoppage
ajslater Nov 19, 2021
1016125
Change events batcher to aggregate on receive events and deduplicate …
ajslater Nov 19, 2021
19b8fa5
fix logging and counting for creating comics
ajslater Nov 19, 2021
07bce26
count comics updated and more log comics per second
ajslater Nov 19, 2021
fe8d934
we're really in alpha right now
ajslater Nov 19, 2021
06934da
fix lint script
ajslater Nov 19, 2021
817b1a6
centralize LOG_EVERY constant
ajslater Nov 19, 2021
e2618c9
remove cruft
ajslater Nov 19, 2021
a313132
simplify comic unique constraint
ajslater Nov 20, 2021
8905e53
lint migrations
ajslater Nov 20, 2021
650fa4e
fix notify snackbar width
ajslater Nov 20, 2021
9e023e7
unique_together for comic model. oops
ajslater Nov 20, 2021
242a0ce
settings for max_db_ops
ajslater Nov 20, 2021
d842318
use MAX_DB_OPS to batch tasks
ajslater Nov 20, 2021
a48d3fb
much more logging. also a failsafe for not creating pre-existing comics
ajslater Nov 20, 2021
7ee376c
use local time for logging
ajslater Nov 21, 2021
f950080
use local midnight for cron
ajslater Nov 21, 2021
170699d
document max_db_ops
ajslater Nov 21, 2021
b469782
fix a big bug with copy vs deepcopy
ajslater Nov 21, 2021
05f9956
truncate cover create times in logs
ajslater Nov 21, 2021
4b0ff71
let the event batcher time out 60s
ajslater Nov 21, 2021
a5ce1b7
Comment out extra creation checks, i think it was from the bad batche…
ajslater Nov 21, 2021
a0c8d03
better logging for query batches
ajslater Nov 21, 2021
f8e45a9
task logging for entering updater
ajslater Nov 21, 2021
cff34c1
remove cruft
ajslater Nov 21, 2021
38bafe8
fix Vacuum logging. vacuum before update.
ajslater Nov 21, 2021
0e9f93b
checkpoint after vacuum
ajslater Nov 21, 2021
21ae342
Squashed commit of the following:
ajslater Nov 22, 2021
e40dbd4
fix poll all libraries appearing for non admins
ajslater Nov 22, 2021
ca476e2
simplify group validation and change warnings to verbose
ajslater Nov 22, 2021
3b37bdf
unsupported archive type now a simple warning
ajslater Nov 22, 2021
33a2b05
nearing release bump news
ajslater Nov 22, 2021
37b6882
Squashed commit of the following:
ajslater Nov 22, 2021
078069b
bump news
ajslater Nov 22, 2021
18b96d0
use impish and lint
ajslater Nov 22, 2021
b960445
lint for ci
ajslater Nov 22, 2021
7880c3c
new fix for folders integrity check before migrations
ajslater Nov 22, 2021
97f89e6
remove cruft from Dockerfile
ajslater Nov 22, 2021
e0ff644
fix integrity schema crash on no stat
ajslater Nov 22, 2021
2eedd6b
remove cruft
ajslater Nov 22, 2021
e62a2a8
v0.7.0rc1
ajslater Nov 22, 2021
89ea7d2
fix userbookmark integrity check. v0.7.0rc2
ajslater Nov 22, 2021
24a1fe6
lint
ajslater Nov 22, 2021
ce6720c
add mock comics script
ajslater Nov 22, 2021
f9d85fe
many logging cleanups
ajslater Nov 22, 2021
9a4a89b
make run script use default dev env vars.
ajslater Nov 22, 2021
98362c8
move eventsd instance into the librarian properly, cleanup librarian …
ajslater Nov 22, 2021
f25c850
use stat instead of updated_at to trigger intetgrity based updates.
ajslater Nov 22, 2021
9e17703
update npm & bump version to 0.7.0rc3
ajslater Nov 22, 2021
2fc60eb
Squashed commit of the following:
ajslater Nov 28, 2021
4f8a8b7
null-ls-root files
ajslater Dec 4, 2021
3e25ac0
fix logging for webpack serializers loader
ajslater Dec 5, 2021
bc71103
remove cruft, comics read only in docker-compose.yaml
ajslater Dec 5, 2021
3798e09
Squashed commit of the following:
ajslater Dec 5, 2021
86a243c
fix maintenance running multiple times
ajslater Dec 5, 2021
ca52dca
clean up 404 and 403 browser routing
ajslater Dec 5, 2021
920dc05
fix missing max_page metadata, broke reader pretty bad.
ajslater Dec 6, 2021
e00576d
More precise reader page errors.
ajslater Dec 6, 2021
05ed52a
Squashed commit of the following:
ajslater Dec 6, 2021
20e8144
consolidate reader exceptions and handle more of them gracefully
ajslater Dec 6, 2021
6d572fe
Squashed commit of the following:
ajslater Dec 6, 2021
b636081
codespell
ajslater Dec 6, 2021
8a8fcbd
cleanup datatabse after library delete
ajslater Dec 6, 2021
349191f
fix bad name causing stack busting recursion
ajslater Dec 6, 2021
8d6f440
fix browser empty if you start with a reader url
ajslater Dec 6, 2021
608c461
version bump to rc6
ajslater Dec 6, 2021
e946fb5
lint
ajslater Dec 6, 2021
cdc9cb0
fix codespell in lint script
ajslater Dec 6, 2021
f4006c0
use naturaldelta from humanize
ajslater Dec 6, 2021
9455fc3
poetry & npm update
ajslater Dec 6, 2021
8d5ccdf
version bump 0.7.0rc7
ajslater Dec 6, 2021
29e6aac
removed cruft
ajslater Dec 6, 2021
ac155b7
reorganize asgi.py
ajslater Dec 6, 2021
969dbd7
lint
ajslater Dec 6, 2021
50ff62b
fix timezones and logging
ajslater Dec 6, 2021
a07a5ec
verson bump
ajslater Dec 6, 2021
c06099f
lint
ajslater Dec 6, 2021
5e5078e
Squashed commit of the following:
ajslater Dec 6, 2021
5796681
lint
ajslater Dec 6, 2021
9d3a63d
version bump 0.7.0rc9
ajslater Dec 6, 2021
7856247
Squashed commit of the following:
ajslater Dec 7, 2021
0419ba1
bump news
ajslater Dec 7, 2021
75ab8b2
fix snackbox width
ajslater Dec 7, 2021
b3089ca
better logging for huge creates
ajslater Dec 7, 2021
fdcac77
remove cruft
ajslater Dec 8, 2021
246b442
better emitter logging
ajslater Dec 8, 2021
07ec386
fix humanize logging. add humanize to vacuum results
ajslater Dec 8, 2021
f2fbeeb
let run script have a default loglevel i can override
ajslater Dec 8, 2021
122125d
lint
ajslater Dec 8, 2021
343f93a
make integrity batch queries to work with very large dbs
ajslater Dec 8, 2021
fc4790c
Squashed commit of the following:
ajslater Dec 8, 2021
d81c23e
Squashed commit of the following:
ajslater Dec 8, 2021
f8189e0
remove cruft comment
ajslater Dec 8, 2021
2b18a3a
remove comment cruft
ajslater Dec 8, 2021
0e3c8ec
don't annotate children count for comics
ajslater Dec 8, 2021
c13cad8
aw nuts we do need child_count everywhere
ajslater Dec 8, 2021
82a2ce6
Squashed commit of the following:
ajslater Dec 11, 2021
075bfb6
bump news
ajslater Dec 11, 2021
71ca1dd
consolidate aggregation code for browser and metadata
ajslater Dec 11, 2021
4ae5f34
django caching. per user caching for anything bookmark related
ajslater Dec 11, 2021
c308d4d
add a sleep to the cron so it doesn't run twice
ajslater Dec 11, 2021
9c41511
reformat updater task log
ajslater Dec 11, 2021
e4799cc
Squashed commit of the following:
ajslater Dec 11, 2021
1f9073d
fix folder view misaligned union fields.
ajslater Dec 12, 2021
bb71323
fix integrity running before db migrations have applied
ajslater Dec 12, 2021
948a37c
folder parents in the title
ajslater Dec 12, 2021
d1b9e06
clean up folder path title creation
ajslater Dec 12, 2021
2ced003
python 3.9 minimum, update poetry
ajslater Dec 12, 2021
4393e74
remove cruft comments
ajslater Dec 12, 2021
8337b1b
use python 3.8 features
ajslater Dec 12, 2021
72a03fe
Squashed commit of the following:
ajslater Dec 12, 2021
99cf980
fix unionfix fields on metadata and browse
ajslater Dec 13, 2021
e5a8fca
remove print
ajslater Dec 13, 2021
26c49e0
make comic model go through same metadata code path as groups to fix …
ajslater Dec 13, 2021
fefa32c
us walrus operator
ajslater Dec 13, 2021
3166412
pathlib 3.8 changes
ajslater Dec 13, 2021
57dc310
add walrus operators and use removesuffix
ajslater Dec 13, 2021
0dad455
remove cruft comment
ajslater Dec 13, 2021
b06c605
simplify metadata count code
ajslater Dec 13, 2021
7e5fd8e
compact create & update group code
ajslater Dec 13, 2021
ae6085e
compact update & create group code
ajslater Dec 13, 2021
d492d3b
comments
ajslater Dec 13, 2021
1352f01
replace deprecated LOG.warn with LOG.warning
ajslater Dec 13, 2021
7194ebd
Add SPEED comment tag.
ajslater Dec 13, 2021
c6966ae
fix metadata fks for group displays
ajslater Dec 13, 2021
8875578
fix metadata display of some raw values
ajslater Dec 13, 2021
f899420
lint
ajslater Dec 13, 2021
ed16854
Squashed commit of the following:
ajslater Dec 13, 2021
7fd209b
bump version
ajslater Dec 13, 2021
898e97e
update the admin docs
ajslater Dec 13, 2021
6f22449
fix mark read bug
ajslater Dec 13, 2021
9034c72
bump rc version
ajslater Dec 13, 2021
cff79d8
fix progress annotation
ajslater Dec 14, 2021
f0a67f3
bump rc version
ajslater Dec 14, 2021
de5bce0
move common fields to serializer mixin
ajslater Dec 14, 2021
51e74eb
bump version
ajslater Dec 14, 2021
6974a4c
lint
ajslater Dec 14, 2021
367bd32
fix reverse order_by bug
ajslater Dec 14, 2021
4fe39f2
fix frontend toggle reverse sort
ajslater Dec 14, 2021
8fc9928
minor positioning changes to frontend
ajslater Dec 14, 2021
e0c36ae
change SCAN veribiage to Update everywhere
ajslater Dec 14, 2021
af676ed
bump rc version
ajslater Dec 14, 2021
b2a2b60
fix logic bug with folders metadata view. Make is_admin,group,model,i…
ajslater Dec 14, 2021
7fdd4e6
update poetry, npm, lint ignore rules, 0.7.0rc16
ajslater Dec 14, 2021
cfef1f7
fix bug where class lists were altered
ajslater Dec 14, 2021
ee82e3c
lint
ajslater Dec 14, 2021
b30fbc0
ready to roll v0.7.0
ajslater Dec 14, 2021
45edd7c
fixes for circleci
ajslater Dec 14, 2021
9aead6b
another fix for circleci docker machine
ajslater Dec 14, 2021
1407595
newer image bases. bump version to 0.7.0 release for real
ajslater Dec 15, 2021
8847ca1
Merge branch 'release' into develop
ajslater Dec 15, 2021
901beaa
try to extend timeout for circleci
ajslater Dec 15, 2021
4718ce7
Merge branch 'release' into develop
ajslater Dec 15, 2021
b191cb6
reduce wait time to something slightly more reasonable
ajslater Dec 15, 2021
e907364
fix for integrity crash v0.7.1
ajslater Dec 15, 2021
8ed7252
Merge branch 'release' into develop
ajslater Dec 15, 2021
bce3bf7
fix integrity bug
ajslater Dec 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ PLATFORMS=linux/amd64,linux/arm64,linux/armhf
BUILDER_VERSION=impish_2
WHEEL_BUILDER_VERSION=python3.10.1-alpine3.15_1.0.0
RUNNABLE_BASE_VERSION=python3.10.1-alpine3.15_0_0
PKG_VERSION=0.7.1
PKG_VERSION=0.7.2
PUID=501
PGID=20
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 📰 Codex News

## v0.7.2

- Fix another integrity check bug

## v0.7.1

- Fix and integrity check crash that happened with an older databases.
Expand Down
1 change: 1 addition & 0 deletions build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WORKDIR /app
COPY pyproject.toml poetry.lock /app/
RUN poetry install --no-root --remove-untracked

# hadolint ignore=DL3059
RUN echo "**** install npm app dependencies ****"
COPY frontend/package.json frontend/package-lock.json /app/frontend/
WORKDIR /app/frontend
Expand Down
4 changes: 1 addition & 3 deletions codex/integrity.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ def _find_fk_integrity_errors_with_models(
inner_qs = fk_model.objects.all()
exclude_filter = {f"{fk_field_name}__in": inner_qs}
invalid_host_objs = host_model.objects.exclude(**exclude_filter)
if (
host_model.__name__ == "Folder" and fk_field_name == "parent_folder"
) or fk_field_name == "role":
if fk_field_name in ("parent_folder", "role"):
# Special fields can be null
# THIS IS VERY IMPORTANT TO AVOID DELETING ALL TOP LEVEL FOLDERS
not_null_filter = {f"{fk_field_name}__isnull": False}
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codex",
"version": "0.7.1",
"version": "0.7.2",
"private": true,
"description": "ui for codex api",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = ["poetry.core.masonry.api"]

[tool.poetry]
name = "codex"
version = "0.7.1"
version = "0.7.2"
description = "A comic archive web server."
license = "GPL-2.0-only"
authors = ["AJ Slater <aj@slater.net>"]
Expand Down