Commit graph

2326 commits

Author SHA1 Message Date
Gauthier Roebroeck
713c602e8d remove OneToOne association from BookMetadata to Book, as it cannot be lazy fetched and is not used
fix configuration to enable Hibernate query cache
enable query cache on all web controller facing queries, except on search
2019-12-18 11:44:36 +08:00
Gauthier Roebroeck
02361e154f make BookMetadata.pages lazy
add caching for Bookmetadata, Bookmetadata.pages, Series.books
enhance books retrieval to reduce database load
rollback SeriesDto.booksCount to use books.size and leverage hibernate l2 cache and collection cache
fix Series thumbnail by getting the book by number instead of the first in the collection
2019-12-17 17:05:07 +08:00
Gauthier Roebroeck
4603049012 dependency updates and removal of unused coroutines 2019-12-17 16:50:47 +08:00
Gauthier Roebroeck
66f3d80c9e revamp logic to getAll series to reduce the database load 2019-12-16 18:22:49 +08:00
Gauthier Roebroeck
8db87afd52 make Library cacheable by Hibernate
specify region cache names
2019-12-16 18:21:52 +08:00
Gauthier Roebroeck
a29122f2bd remove hibernate statistics output in the log (except in dev) 2019-12-16 18:20:56 +08:00
Gauthier Roebroeck
7b0c417793 remove favicon.ico as it is generated as part of the web dist 2019-12-13 18:12:54 +08:00
Gauthier Roebroeck
05608a433b performance enhancements:
- add kotlin allopen plugin so that JPA lazy fetching works properly
- add caffeine jache as hibernate second level cache for Series and Book entities
- change SeriesDto books count to explicit count query instead of collection count
2019-12-13 18:12:04 +08:00
Gauthier Roebroeck
33ae3ec1a8 v0.9.0 2019-12-12 16:05:10 +08:00
Gauthier Roebroeck
0bd51d7188 update readme for v0.9.0 [ci skip] 2019-12-12 15:40:21 +08:00
Gauthier Roebroeck
430da210ec remove vue-infinite-loading 2019-12-12 15:30:13 +08:00
Gauthier Roebroeck
8cd6c7ba09 change search results to 10 2019-12-12 15:29:57 +08:00
Gauthier Roebroeck
9d82c96484 fix book loading when reusing component 2019-12-12 14:33:14 +08:00
Gauthier Roebroeck
2b4dfe04f3 change default session timeout to 7 days 2019-12-12 13:50:21 +08:00
Gauthier Roebroeck
30d38a7b70 add searchbox 2019-12-12 13:47:45 +08:00
Gauthier Roebroeck
08e794d6c7 fix data load in BrowseSeries.vue when reusing the component 2019-12-12 13:47:14 +08:00
Gauthier Roebroeck
bd24073433 add toolbar in BrowseBook.vue 2019-12-12 13:46:41 +08:00
Gauthier Roebroeck
ebab0850df move Settings tab bar from app bar to dedicated tab bar 2019-12-11 15:38:55 +08:00
Gauthier Roebroeck
fa097ec19d redirect Welcome to Dashboard if there is at least one library 2019-12-11 15:38:08 +08:00
Gauthier Roebroeck
fd496c4f70 add button to navigate back to parent library when browsing Series 2019-12-11 14:48:26 +08:00
Gauthier Roebroeck
9f0ea5a835 refine Book view 2019-12-11 14:47:11 +08:00
Gauthier Roebroeck
bd0d6aa67a add skeleton loaders in the Dashboard 2019-12-11 14:46:18 +08:00
Gauthier Roebroeck
e88f788a93 fix drawer showing open on small screens 2019-12-11 14:45:37 +08:00
Gauthier Roebroeck
76306e451c fix Login view on small screens 2019-12-11 14:44:59 +08:00
Gauthier Roebroeck
53a1e71f8b add seriesId to BookDto
add libraryId to SeriesDto
2019-12-11 14:44:18 +08:00
Gauthier Roebroeck
3c839f3f8b first version of the book view 2019-12-10 18:20:06 +08:00
Gauthier Roebroeck
876c79908e reloading now return to the correct page instead of home 2019-12-10 18:19:38 +08:00
Gauthier Roebroeck
3d69ed003b code cleanup 2019-12-10 18:18:48 +08:00
Gauthier Roebroeck
7b53a969bc code cleanup 2019-12-10 17:32:36 +08:00
Gauthier Roebroeck
f541616ef2 add dashboard with recently added series and books 2019-12-10 17:23:57 +08:00
Gauthier Roebroeck
fce0fb5df7 code cleanup 2019-12-10 17:23:24 +08:00
Gauthier Roebroeck
67751e9610 prevent navigation when clicking on delete library button 2019-12-10 17:22:54 +08:00
Gauthier Roebroeck
c6ac232fdf remove browser authentication popup
add startup and login views
moved data loading from components to Startup.vue
add logout feature
change library name loading to lazy loading
2019-12-10 16:45:09 +08:00
Gauthier Roebroeck
ca3ef08939 migrate PageNotFound.vue to Grid v2 2019-12-10 11:59:39 +08:00
Gauthier Roebroeck
36890a390d navigate back instead of home when cancelling the add library dialog 2019-12-10 11:43:39 +08:00
Gauthier Roebroeck
523de8682d restore sort with history back when browsing libraries
copy all enhancements from browsing libraries to browsing series
2019-12-10 11:36:23 +08:00
Gauthier Roebroeck
c0c8208fb6 better loading experience when browsing libraries:
- remove infinite scroll
- use skeleton placeholders when data is not loaded yet
- restore scroll position instantly when navigating via browser history
2019-12-09 18:59:23 +08:00
Gauthier Roebroeck
32efd77852 update Librera compatibility 2019-11-22 17:46:47 +08:00
Gauthier Roebroeck
17eed704fb add sort by number and added date for Books when browsing Series
add book number on book cards
2019-11-22 17:43:52 +08:00
Gauthier Roebroeck
04f576c810 remove @OrderedColumn on Series to Books association
replace with number on Book.kt to represent chapter/issue number
remove series.name and book.name updates in LibraryScanner.kt, the name is computed from the url so this case cannot happen
2019-11-22 17:43:00 +08:00
Gauthier Roebroeck
c55af09c8a sort by name or date added for Series
show number of Series when browsing Library
add theme colors
2019-11-22 16:13:39 +08:00
Gauthier Roebroeck
bf94276984 badge showing total number of books 2019-11-22 14:15:06 +08:00
Gauthier Roebroeck
7fca2d2c3f make toolbar sticky 2019-11-22 13:54:20 +08:00
Gauthier Roebroeck
26ecec15ae use PropType and computed properties
display book format with different colors
2019-11-22 13:16:22 +08:00
Gauthier Roebroeck
8f319de2a8 skeleton for browsing book details 2019-11-21 18:07:55 +08:00
Gauthier Roebroeck
f228210209 small cosmetic changes 2019-11-21 17:44:20 +08:00
Gauthier Roebroeck
c2b6d69594 scroll position whe browsing series from browser history 2019-11-21 17:15:58 +08:00
Gauthier Roebroeck
3cedd17950 generate hibernate statistics in dev profile 2019-11-21 15:34:49 +08:00
Gauthier Roebroeck
8000cdf0b6 reduce scrolling restore to 1s delay 2019-11-21 15:33:54 +08:00
Gauthier Roebroeck
f00f565519 handle http cache for static assets, except index.html and favicon.ico 2019-11-21 15:33:29 +08:00