54 Commits

Author SHA1 Message Date
Peter Dwyer
bcb58c6690 pylint fixes 2022-08-31 14:35:09 +01:00
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
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
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
d21ec61f06 adding csp 2021-04-30 19:37:56 +01:00
d40c8e270c Rewrite of Comic lists so that tehy have thumbnails. (#26) 2021-04-23 18:21:25 +01:00
c14049ec54 remove settings. everything should be configured via the .env file. 2021-04-21 09:01:18 +01:00
c32f12cce7 fixed tests.
removed os based file access.
removed rarfile integration now using package.
now using environment variable for comic directory.
2021-04-07 16:30:46 +01:00
2a235e5e76 fix for duplicate files being created. 2020-10-31 15:24:52 +00:00
ajurna
e1fa35e9f4 multiple fixes for queries that stop duplicates from being created. 2020-05-27 13:32:20 +01:00
ajurna
f6611fbe6b cleaned up code for annotations on directory json views. 2020-05-27 12:09:50 +01:00
ajurna
b420f074d6 fix for recent where annotations weren't being accounted for.
this is now working correctly.
2020-05-25 18:29:47 +01:00
ajurna
1f32d518bf fix for bug where i hadn't accounted for multiple users in the optimised queries. 2020-05-25 18:08:33 +01:00
ajurna
fdeee527cc optimised directory listing query part 2 2020-05-22 16:37:39 +01:00
ajurna
6f8a7bd4b8 optimised directory listing query 2020-05-22 15:40:15 +01:00
ajurna
8e65022976 fixing bug 2020-05-22 10:06:37 +01:00
ajurna
ce83b3a639 fixing bug 2020-05-22 09:46:10 +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
3b623c3f8b glyphicons replaced with font awesome 2020-05-14 13:00:54 +01:00
Kyle Harrison
b4d1c4c2cb [ISSUE-3/4] Adds test container and tooling (#8)
* Adding black, isort, and flake8 to pytest

* Applying black, flake8, and isort to codebase
2019-07-29 13:19:03 +01:00
f87ab8636b Merge pull request #7 from apoclyps/docker-support
[ISSUE-3] Adding docker support
2019-07-25 22:35:13 +01:00
Apoclyps
bd605e5832 Refactoring codebase to remove .decode() 2019-07-24 07:49:11 +01:00
ajurna
e52ba3f393 fixed tests not working 2019-02-07 15:17:28 +00:00
bc6504088f fix for breadcrumbs not linking correctly. 2018-04-26 11:54:37 +01:00
c330c6812b fix for issue #2. 2017-11-22 15:56:39 +00:00
ajurna@gmail.com
5b2c1ca801 fix for bug in generate_directory 2016-05-03 16:38:29 +01:00
ajurna@gmail.com
21f4593a2d redid the generate_directory to be more efficient (i hope)
i've reduced the number of quries.
2016-05-03 13:36:03 +01:00
ajurna@gmail.com
a2f3e76bb2 made generate_directory use atomic transactions. this increases performance significantly on unviewed directories. 2016-04-14 10:00:38 +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
34188665e9 removed redundant directory scan. 2016-04-05 15:30:12 +01:00
ajurna@gmail.com
9235380328 misc fixes. also fixed tests. 2016-04-05 14:34:41 +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
9a316ce1a1 fixed issue with breadcrumbs missing comic. 2016-04-01 10:45:46 +01:00
ajurna@gmail.com
1a37db8f22 massive change on how files are accessed.
moved from prviding a path to using unique id's
if there might have been any directory traversal issues they should be gone now.
2016-04-01 09:56:42 +01:00
ajurna@gmail.com
267a2d410c converted to python 3,
fixed warnings for django 1.10
2016-03-30 10:23:04 +01:00
6102459dc0 added title to comic list. 2015-07-24 11:29:43 +01:00
f3d2a9e6ac added pages to modify and save users.
also move alot of validation code to the form classes.
2015-07-24 10:14:16 +01:00
f1972a9738 added users page that lists all registered users.
this required more js to make the table pretty.
2015-07-10 11:19:59 +01:00
6fe43294e9 changed menu to include user so that we can hide items from non superusers. 2015-07-08 16:18:08 +01:00
132625f521 added account page to change password and email address. 2015-07-08 16:08:41 +01:00
20367d3b61 cleanup code a little 2015-06-30 11:30:18 +01:00
782a847906 Made menu dynamic. 2015-06-30 11:25:23 +01:00
64a590f9ee added tests for the comicbook model
fixed bug related to last page link
2015-06-25 12:36:55 +01:00
b7dcdc5d94 made sorting work in all locations. 2015-06-22 13:24:37 +01:00
0e66f55f62 added sorting to directory listing. 2015-06-22 13:08:52 +01:00
e6791bf41a added labels to comic list. 2015-06-19 13:32:07 +01:00
654af1f402 code cleanup.
moved process_comic_book to static method.
2015-06-19 09:24:44 +01:00
f5c146e925 change base_dir to not need value.
renamed index to comic_list
2015-06-18 22:56:01 +01:00