68 Commits

Author SHA1 Message Date
40b79c2f5d V1 cleanup (#73)
* removed obsolete code

* removed obsolete code

* removed obsolete code and added type annotations

* removed obsolete code and added type annotations

* version bump

Co-authored-by: Peter Dwyer <peter.dwyer@clanwilliamhealth.com>
2022-08-26 13:11:29 +01:00
c5633bf54a New Frontend in Vue with drf interface (#72)
* 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>
2022-08-25 15:42:20 +01:00
82981482df tighten security 2022-04-02 08:37:47 +01:00
fb8bbe65a4 update reveal.js 2022-03-31 22:57:32 +01:00
39222118ab fix for error where db cursor closes when looking for usermisc objects by relation. 2021-05-25 09:10:06 +01:00
715f0838b9 Node assets (#36)
* moved all static files to node_modules

* updating Dockerfile

* updating Dockerfile

* updating Dockerfile

* updating Dockerfile

* fixed fontawesome

* added psql client in case it's needed.

* removed some debug stuff from scan_comics.py

* fixed generete_directory to cover missing thumbnails
2021-05-17 09:38:47 +01:00
cd58379326 Sri (#35)
* added django-sri and updated templates.

* updated requirements.txt

* datatables with integrity

* fixed recent comics not showing when related comicstatus doesnt exist.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fix for pdf's not switching properly

* fix for comics's not switching properly

* fix for comics's not switching properly
2021-05-16 10:54:14 +01:00
ce38340a22 Classification (#32)
* added some code cleanup for views.py

* added some code cleanup for views.py

* fixed comics not working in the base directory.
2021-05-11 15:52:56 +01:00
cd43355da4 updated favicon to use SVG. 2021-05-04 09:40:32 +01:00
10ffd01a2e adding csp 2021-05-04 09:21:13 +01:00
d21ec61f06 adding csp 2021-04-30 19:37:56 +01:00
c8ffb55bbe fix for dropdowns not working. 2021-04-29 21:53:01 +01:00
6f538f05f5 Pymupdf (#27)
* added icons.

* change to from pypdf4 to pumupdf so i can render pages for thumbnails.
2021-04-29 16:33:03 +01:00
d40c8e270c Rewrite of Comic lists so that tehy have thumbnails. (#26) 2021-04-23 18:21:25 +01:00
0138df933e add timeout to scroll to make it more consistant. 2021-04-09 14:12:04 +01:00
1d5dcb90c0 added a lock on a critical path when regenerating pages. this should allow all images to load correctly 2021-04-09 11:29:03 +01:00
bf63d5f743 remove log line 2021-04-08 12:04:11 +01:00
d556cf3ff8 reverted change becasue slidetransitioned doesn't seem to actually fire. 2021-04-08 11:59:59 +01:00
2185b69500 changed event on slide changed to transitioned as sometimes the scroll would not fire correctly. 2021-04-08 11:32:35 +01:00
08a0906e9f updated pdfjs 2021-04-08 11:29:10 +01:00
0929581892 updated pdfjs 2021-04-08 11:17:40 +01:00
fc5600d75c updated js.cookie.js 2021-04-08 10:13:13 +01:00
b3407350ab added menu to switch pages to comic reader 2021-04-08 10:03:44 +01:00
363b518b80 updated Reveal.js to latest version 2021-04-08 09:52:49 +01:00
ajurna
96d7edb307 fixed on click navigation to transition between pages. 2020-05-27 11:23:21 +01:00
ajurna
26bdd684a4 fix for double page skip on touch interface 2020-05-22 16:36:46 +01:00
ajurna
f4411163f9 added pdf.js to add pdf support. 2020-05-21 12:44:57 +01:00
ajurna
be32796bea New reader based on reveal.js. works well on mobile and desktop and gives a better expierance all around. 2020-05-20 10:26:45 +01:00
ajurna
fca993213a fixed settings and user management. 2020-05-14 14:16:21 +01:00
ajurna
5e24ebd9d0 fixed read_comic 2020-05-14 13:57:36 +01:00
ajurna
3b623c3f8b glyphicons replaced with font awesome 2020-05-14 13:00:54 +01:00
ajurna
73de37f784 migration to bootstrap 4 2020-05-14 11:23:11 +01:00
Kyle Harrison
31d0e2bd66 [NO-ISSUE] UI adjustments and enabling access to remote hosts when in development mode (#12)
* Fix incorrect placeholder name in password field

* Adding updated title

* Allowing * hosts via DJANGO_ALLOWED_HOSTS when in development mode
2019-07-29 12:54:47 +01:00
c330c6812b fix for issue #2. 2017-11-22 15:56:39 +00:00
28a2f29f5e fix for UserMisc not being created. this fixes issue #1 2017-11-22 14:24:34 +00:00
a3dfcc451e added feed of recent comics. 2017-01-16 10:42:49 +00:00
9d53887b3f changed templates to allow navbar to scroll up. 2016-07-19 20:57:31 +01:00
ajurna@gmail.com
23951510b2 recent comics set with wrong default 2016-04-13 15:57:09 +01:00
ajurna@gmail.com
6e6b9442cb fix for tables loading. 2016-04-13 15:55:23 +01:00
ajurna@gmail.com
58ff1060e6 made major changes to interface.
can now mark comics as read!
also added a recently added section.
2016-04-13 15:51:35 +01:00
ajurna@gmail.com
56e055e9f4 change the comic list view to use a datatable. 2016-04-04 16:16:00 +01:00
ajurna@gmail.com
d995c88f47 udpateds to css and js. 2016-04-01 11:48:24 +01:00
ajurna@gmail.com
ae1b43d366 removed breadcrumbs logic to its own template
removed breadcrumbs block from templates
added breadcrumbs that were missing from settings page
2016-03-30 11:37:49 +01:00
af1ba13d86 added containers for the rest of hte pages after last commit. 2015-07-30 10:49:57 +01:00
231fcb4c27 changed read_comic page width to auto to make better use of space.
margins were way too wide. and we could use that space on tablets.
2015-07-29 17:25:20 +01:00
a2f11c6ba3 added initial setup page so that you can now configure a user if one isnt already configured. 2015-07-24 15:59:39 +01:00
cb20821e23 added setup.py and added some requirments 2015-07-24 14:49:24 +01:00
d93d232a57 added titles to user edit pages. 2015-07-24 11:48:28 +01:00
65d56a20a7 added title to comic reading pages 2015-07-24 11:32:49 +01:00
6102459dc0 added title to comic list. 2015-07-24 11:29:43 +01:00