Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main with latest develop #222

Merged
merged 16 commits into from
Dec 13, 2023
Merged

Update main with latest develop #222

merged 16 commits into from
Dec 13, 2023

Conversation

aaronleopold
Copy link
Collaborator

Bringing in the changes that have piled up in develop

Contributors

Thanks for contributing!

aaronleopold and others added 16 commits November 12, 2023 15:14
Had to replace my machine, and there was a named reference to the previous runner. I think eventually that bit should be refactored with labels. Also removed main from the nightly CI
* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (English)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Romanian)
* messing around with sidebar

* messing around with sidebar

* ROUGH

* woe is me

* werk

* use alias in interface

* migration for emojis

* nits

* WAL mode configuration, fix age restriction, UI updates

* SCUFFED :(

* Fix unsetting age restriction

* mhm

* Fix filename

* Refactor entity card to support fallback image

* Quick fixes

* 🎨 Refactor prisma session store to propagate errors

There is now a `SessionError` to bubble up any errors during the store operations, instead of `expect` panics

* Add debug logs

* Ability to unset emoji

* Fix mobile overflow in docs site

* Relocate docs

* Fix eslint config

* Optimize PNGs

* Fix remove emoji
In an effort to reduce the liklihood of multiple DB writers at a given time, I made the session cleanup task a job. This way, it has to be queued before it can do its thing
* 🐛 Fix hotkey bug in image reader

Fixes #203

* 🧑‍💻 Add nuke script to clean cargo and pnpm
* 🚧 Start API for manually setting completion status

Defines most of the API work towards #204

* 🐛 Fix Read again not starting from start

Fix for #206

🚧 Go to first page when clicking Read again

Completed at does not get reset yet

Run codegen

* ✨ Book completed toggle button

Added a button to toggle the completed state for a book (#204)

* Fix lint quickly

* 🐛 Fix prefetch media handler

The prefetchMedia function was storing the raw response as a Media object, which broke LOTS of things

* 🐛 Fix prefetch series handler

The prefetchSeries function was storing the raw response as a Series object

* Adjust reset progress state
* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (English)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Swedish)

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (English)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Spanish)

* New translations en.json (Spanish)

* Manual fixes
Replaced with `_query_raw` and an explicitly typed response struct
There seems to be a very bad interaction that causes DB issues when setting journal_mode more than once. I have refactored the previous fix to not set on each boot
* Partial progress

* Add comments to new config code.

* Additional progress

* Revert "Additional progress"

This reverts commit b73699c.

* Finish refactoring project to use passed-state instead of global state

* Test new configs and fix StumpCore docs.

* Fix all them doctests

* Remove unnecessary utils module in server.

* Handle allowed_origins properly.

* Cloning strings is silly.

* Update cargo lock

* Complete removal of env-based configs.

* Fix mispelling

* Reverse change to session save fn - it broke things.

* Modify scripts to support building on windows

* Finishing touches

* Address comments on first revision of pull request.

* Can disable the clap env feature in the cli now.

---------

Co-authored-by: Aaron Leopold <[email protected]>
* 🐛 Only initialize WAL once

* Pass config to system subcommand handler

* Remove ENABLE_WAL configurations

* Fix lint

* Change default cors allowlist behavior

* Fix lint
* 🐛 Fix page slice preloading and toolbar initial offset

* Debugging

* Create custom hook for preloading pages
@aaronleopold aaronleopold merged commit dde5b8f into main Dec 13, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants