- Added a new `scan_directory` task to enable folder scans as asynchronous tasks while maintaining compatibility with the immediate backend.
- Introduced the `reconcile` function, replacing `generate_directory` for improved separation of concerns between database writes and read operations.
- Established a unique constraint on `Directory` (`one_directory_name_per_parent`) to prevent duplicate directories under the same parent.
- Added a "Scan" button to the frontend for re-reading folders from disk, along with new task invocation endpoints in the API.
- Updated tests across modules to validate the new `scan_directory` task, unique constraints, and database indexing logic.
- Improved cleanup logic for stale files, directories, and thumbnails to handle concurrent operations efficiently.
- Simplified `scan_comics` management command by removing user dependency and aligning it with the new `reconcile` function.
- Enhanced frontend components (`TheComicReader`, `TheComicList`, and others) to include lifecycle method cleanups, prevent memory leaks, and handle task-based scans.
- Runtime majors: vue-router 5, reveal.js 6, fontawesome 7. Checked against the
code that uses them: no change needed for reveal.js (the default export is
still a callable factory and every method/option used is still present) or
fontawesome (all seven registered icons still resolve).
- frontend/src/router/index.js: guards return the redirect instead of calling the
deprecated next() callback, which works on vue-router 4 and 5.
- Add frontend/eslint.config.mjs because eslint 10 requires a flat config; the
lint script now runs eslint directly instead of vue-cli-service.
- Drop tooling nothing in the webpack configs uses (@vue/cli-*, jshint,
html-webpack-plugin, webpack-bundle-analyzer, @babel/core) and delete the dead
vue.config.js. npm audit 35 -> 5 (all dev-only), --omit=dev is 0.
- frontend/src/views/UserView.vue: the $route watcher no longer declares unused
params.
- Introduced `CookieJWTAuthentication` for authentication via HttpOnly cookies, enabling browser-initiated requests without `Authorization` headers.
- Added authentication views (`CookieTokenObtainPairView`, `CookieTokenRefreshView`, `CookieTokenBlacklistView`) to replace default SimpleJWT views.
- Updated Vuex store and frontend logic to handle sessions using HttpOnly cookies instead of localStorage.
- Enhanced backend and frontend configurations (Django settings, router, Vuex, and API service) to fully support cookie-based authentication.
- Updated authentication tests to ensure correct cookie handling and authentication flows.
Introduce navigation guards for authentication and admin access within routes. Replace localStorage usage with secure token storage via httpOnly cookies, and add token blacklisting upon logout. Enhance token refresh mechanism and session expiration handling to improve security and user experience.
This commit removes the frontend component ThePdfReader.vue and replaces its functionality with a backend implementation based on pymupdf. Also includes package updates, refactors PDF archive handling, and adjusts security settings to support development on localhost.
* frontend rewrite with vie initial commit
* got ComicCard.vue working nice.
* got TheComicList.vue working.
* added router and basic config
* getting jwt stuff working.
* login with jwt now working.
* implemented browse api call
* implemented browse api recievers
* jwt token is now updating automatically.
* removed code for jwt testing.
* enabled browsing
* breadcrumbs working
* adding django webpack loader
* linking up navigation
* fixes for ComicCard.vue stying
* added thumbnail view
* added thumbnail generation and handling.
* detached breadcrumbs
* fix breadcrumbs
* added first stages of reader
* reader view is working.
* reader is now working with keyboard shortcuts
* implemented setting read page.
* implemented pagination on comic reader.
* hide elements that shouldn't be shown.
* fixed the ComicCard.vue to use as little space as possible.
* fix navbar browse link
* added RecentView.vue and added manual option for breadcrumbs
* updated rest api to handle recent comics.
* most functionality of recent comics done
* modified comicstatus relation to use uuid relation and implemented mark read and unread for batches.
* added functions to TheRecentTable.vue
* added feed link to TheRecentTable.vue
* fixes for comicstatus updates.
* added constraints to comicstatus
* update to python packages.
* some changes for django 4, also removed django-recaptcha2 as it doesnt support django 4.
* some fixes and updates to ComicCard.vue
* cleaned up generate_directory. fixed bug where pages not visible on first call.
* cleaned up generate_directory. fixed bug where pages not visible on first call.
* cleaned up generate_directory. fixed bug where pages not visible on first call.
* cleaned up generate_directory.
* added silk stubs
* fix for re-requesting thumbnail after getting it already.
* fix for removing stale comics.
adding leeway to access token.
* mark read and unread
* added filtering to comic list.
* stored filtering state.
* stored filtering state.
* added next functionality to login.
* cleanup LoginView.vue
* bump font-awesome.
* working on AccountView.vue
* fixed form submission on LoginView.vue
* account page should now be working.
* hide users option if not superuser.
* added pdf support
* make pdf resize.
* added touch controls to pdf reader
* added touch controls to comic reader
* beginnings of routing between issues.
* fixes for navigating pages.
* fixes for navigating pages.
* fixes for navigating pages.
* renamed HomeView.vue to BrowseView.vue
* stubs for users page added. api ready
* users page further functinality
* fix for notification
* fix for notification
* moved messages to parent.
* form to add users
* added error handling
* removed console logging
* classification in base directory should be lowest
* renamed usermisc to classification to be more consistent with what it does.
* renamed usermisc to classification to be more consistent with what it does.
* added functionality to change classification of directories.
* merged rss_id api into account api.
* merged breadcrumbs api into browse api.
* clears some warnings from console.
* fixed read/unread rendering.
* added build script and starting lint
* fixing lint errors
* fixing lint errors
* fixing lint errors
* fixing lint errors
* fixing lint errors
* fixing lint errors
* fixing lint errors
* fixing lint errors
* fixing navigation bugs
* cleanup and fixes
* fixed generated tooltips over calling.
* fixed classifications.
* initial setup now working
* fix navbar branding
* fix favicon
* added beta build script.
* fixes to get ready for production
* optimisations for loading new comics.
* added loading indicators to TheComicList.vue
* lint fixes
* made two methods static. may use them elsewhere.
* fix for scanning files.
* version updates.
* fixes for production
* fixes for production
Co-authored-by: Peter Dwyer <peter.dwyer@clanwilliamhealth.com>