143 Commits

Author SHA1 Message Date
Joe Milazzo
a3e020fe17
More Bugfixes (#2989) 2024-06-09 11:16:11 -07:00
Joe Milazzo
616ed7a75d
Lots of Bugfixes (#2977) 2024-06-04 15:43:15 -07:00
Joe Milazzo
b50fa0fd1e
Lots of Bugfixes (#2960)
Co-authored-by: Samuel Martins <s@smartins.ch>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2024-05-22 04:58:23 -07:00
Joe Milazzo
38e7c1c131
Theme Viewer + Theme Updater (#2952) 2024-05-13 15:00:13 -07:00
Joe Milazzo
b23300b1a4
MAL Interest Stacks (#2932) 2024-05-04 13:23:58 -07:00
Joe Milazzo
0277f8f4c7
Misc Bugfixes (#2832) 2024-04-07 10:29:29 -07:00
Joe Milazzo
deaaccb96a
Collection Rework (#2830) 2024-04-06 10:03:49 -07:00
Joe Milazzo
63c9bff32e
Misc bunch of changes (#2815) 2024-03-23 14:20:16 -07:00
Joe Milazzo
7552c3f5fa
Comic Rework, New Scanner, Foundation Overahul (is this a full release?) (#2780) 2024-03-17 13:58:32 -04:00
Joe Milazzo
7b7609652c
You can now send emails if you don't use Authentication (#2718) 2024-02-14 12:36:55 -08:00
Joe Milazzo
5dc5029a75
Background Prefetching for Kavita+ (#2707) 2024-02-10 07:43:17 -08:00
Joe Milazzo
5cf6077dfd
Last PR before Release (#2692) 2024-02-05 18:58:03 -06:00
Joe Milazzo
7e61cca92d
Stability (I hope) (#2688) 2024-02-04 08:51:07 -08:00
Joe Milazzo
061b363f96
More Bugfixes (#2685) 2024-02-03 09:46:04 -08:00
Joe Milazzo
685f7365e1
More Testing (#2683) 2024-02-02 15:12:37 -08:00
Joe Milazzo
355ea24db6
Last issue before release (#2681) 2024-02-02 07:04:56 -08:00
Joe Milazzo
1fd72ada36
Sort by Average Rating and Big Want to Read fix (#2672) 2024-02-01 04:23:45 -08:00
Joe Milazzo
e8d9a8b3a3
More Polish (#2665) 2024-01-29 11:44:20 -08:00
Joe Milazzo
f6af6d66be
Float-based Volumes (#2659) 2024-01-28 09:37:38 -08:00
Joe Milazzo
f660a1cd06
Bugfixes + Potential iOS Webtoon Reader Fix (#2650) 2024-01-25 09:09:44 -08:00
Joe Milazzo
ad74871623
Customized Scheduler + Saved Kavita+ Details (#2644) 2024-01-22 10:10:57 -08:00
Joe Milazzo
d145dca0e7
Nightly Issues (#2618) 2024-01-18 06:35:54 -08:00
Joe Milazzo
3dcf7750f7
Kavita+ Tweaks (#2595) 2024-01-09 14:04:25 -08:00
Joe Milazzo
1d56f5a0a1
Small Tweaks before Release (#2571)
Co-authored-by: charles <30816317+charles7668@users.noreply.github.com>
2024-01-07 06:15:00 -08:00
Joe Milazzo
3765ad929a
Custom Headers Test 4 (#2524) 2024-01-05 12:56:46 -08:00
Joe Milazzo
b838fd53e5
.NET 8 Update (#2496) 2023-12-13 17:16:54 -08:00
Joe Milazzo
980a123df3
Critical Progress Order Fix (#2477) 2023-12-05 04:31:59 -08:00
Joe Milazzo
bdcd3965fd
Release Bugfixes (#2470) 2023-12-03 09:54:57 -08:00
Joe Milazzo
e489d2404a
Reader Polish (#2465)
Co-authored-by: Andre Smith <Hobogrammer@users.noreply.github.com>
2023-11-30 06:40:02 -08:00
Joe Milazzo
5ed1eebd26
Performance Improvements (#2449) 2023-11-21 11:20:36 -08:00
Joe Milazzo
7221501c4d
.kavitaignore no more (#2442) 2023-11-19 10:15:32 -08:00
Joe Milazzo
02b002d81a
Polish Round 1 (#2396) 2023-11-04 10:29:10 -07:00
Joe Milazzo
9894a2623c
Smart Filter Encoding Fix (#2387) 2023-11-02 06:35:43 -07:00
Joe Milazzo
226d6831df
Lots of Bugfixes (#2356) 2023-10-27 14:18:56 -07:00
Joe Milazzo
de9b09c71f
Next Estimated Chapter (#2342) 2023-10-22 08:44:26 -07:00
Joe Milazzo
a3afa04be4
Invite & Library Edit - Missing SideNav Code (#2322) 2023-10-17 12:08:56 -07:00
Joe Milazzo
59b950c4bd
Polish for Release (#2314) 2023-10-15 13:39:11 -05:00
Alex Tan
cddd58a248
Use new Queryable extension method DoOrderBy() for cleaner code (#2307) 2023-10-14 08:54:46 -07:00
Joe Milazzo
00dddaefae
Side Nav Redesign (#2310) 2023-10-14 08:07:53 -07:00
Joe Milazzo
25ffb2ffe1
Dashboard Customization Polish (#2295) 2023-09-30 11:33:16 -07:00
Joe Milazzo
45f6fb67d4
Smart Filter Polish & New Filters (#2283) 2023-09-15 09:39:06 -07:00
Joe Milazzo
84f85b4f24
Smart Filters & Dashboard Customization (#2282)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2023-09-12 11:24:47 -07:00
Joe Milazzo
ea4571b3d6
Last Shakeout before Release (#2253)
* [skip ci] Weblate Changes (#2250)

* [skip ci] Translated using Weblate (Korean)

Currently translated at 100.0% (1486 of 1486 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ko/

* [skip ci] Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1486 of 1486 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (161 of 161 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/zh_Hans/

* Translated using Weblate (Korean)

Currently translated at 100.0% (161 of 161 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/ko/

* Translated using Weblate (Czech)

Currently translated at 100.0% (161 of 161 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/cs/

* [skip ci] Translated using Weblate (Czech)

Currently translated at 15.7% (234 of 1486 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/cs/

* [skip ci] Translated using Weblate (Spanish)

Currently translated at 88.5% (1316 of 1486 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/es/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (161 of 161 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/es/

* [skip ci] Translated using Weblate (Dutch)

Currently translated at 72.2% (1073 of 1486 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/nl/

* Translated using Weblate (Italian)

Currently translated at 100.0% (161 of 161 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/it/

* [skip ci] Translated using Weblate (Italian)

Currently translated at 100.0% (1486 of 1486 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/it/

---------

Co-authored-by: LeeWan1210 <dldhks456@live.com>
Co-authored-by: aleixcox <18121624@qq.com>
Co-authored-by: Jiří Heger <jiri.heger@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Hans Kalisvaart <hans.kalisvaart@gmail.com>
Co-authored-by: Florestano Pepe <florestano.pepe@gmail.com>

* Fixed bookmark page not sorting and ordering correctly.

---------

Co-authored-by: Weblate (bot) <hosted@weblate.org>
Co-authored-by: LeeWan1210 <dldhks456@live.com>
Co-authored-by: aleixcox <18121624@qq.com>
Co-authored-by: Jiří Heger <jiri.heger@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Hans Kalisvaart <hans.kalisvaart@gmail.com>
Co-authored-by: Florestano Pepe <florestano.pepe@gmail.com>
2023-09-03 06:42:55 -07:00
Joe Milazzo
072fadf1de
Must Contains Filter (#2249)
* Removed docker-compose.yml as it's not used and may confuse users.

* Added ability to delete single collections from card actions. Updated transloco library which fixes older iOS browsers not being able to load Kavita.

* Added a Must Contains comparison which will make so all values must exist.

* Fixed up multiselect dropdowns not reseting value when changing filter field
2023-09-01 14:19:51 -07:00
Joe Milazzo
cd84913fb9
Lots of Filtering Fixes & New Fields (#2244)
* Added an id for komf userscript to help it inject into Kavita's UI without relying on strings, given localization.

* Still working the filter fields, there is a bug with selecting an input and it setting undefined like crazy. Path is coded but not tested or validated.

* Stashing changed. Really not sure what's happening. I'm seeing 2 constructor calls for one row. I'm seeing a field change trigger 400 events. Values aren't getting set correctly on default string.

I've made a ton of changes, when resuming this work, look at the diff. All of this can be reset excluding the Path work.

* Lots of comments but the double instantiation is due to the mobile drawer. Added an ngIf which seems to work.

* Fixed dropdown options triggering a ton of looped calls. Default limitTo to 0 when user empties blank or negative.

* Removed a ton of UserId db calls from a ton of apis. Added a new API to allow UI to query a specific role to lessen load on UI.

* Optimized the code on new filtering to only load people by a given role. This should speed up heavily tagged libraries.

Commented out a bunch of code that's no longer used. Will be cleaned up later.

* Fixed support so that library filter can handle multiple selections.

* Fixed a bug when hitting enter in an input, the statement would be removed.

* Fixed multi-select not resuming from url correctly.

* Restored the series/all api for Tachiyomi to continue using until I'm motivated enough to update the extension.

* Fixed some resuming of state with dropdowns, not always setting values in correct order.

* Added FilePath Filter which lets a user search on individual files (slow, may need index)

* Added a full filepath for new filtering.
2023-08-29 16:03:19 -07:00
Joe Milazzo
fc13fcff29
Small fixes (#2224)
* Replaced normal dropdowns with select2 (which will eventually replace our custom typeaheads). Still needs styling.

* More css

* Styling. Fixed preloading typeahead with multiple options on load.

* Styling to align with typeahead tag badges.

* Done with filtering story.

* Fixed a bug with switching between filters.

* Fixed some extra } from localization

* [skip ci] Translated using Weblate (Spanish)

Currently translated at 71.3% (1058 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/es/

* [skip ci] Translated using Weblate (Dutch)

Currently translated at 59.2% (879 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/nl/

* Translated using Weblate (Thai)

Currently translated at 100.0% (160 of 160 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/th/

* [skip ci] Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1482 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/zh_Hans/

* [skip ci] Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1482 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 96.8% (155 of 160 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 96.8% (155 of 160 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/zh_Hans/

* [skip ci] Translated using Weblate (Thai)

Currently translated at 27.2% (404 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/th/

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (160 of 160 strings)

Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/pt/

* [skip ci] Translated using Weblate (Portuguese)

Currently translated at 55.3% (821 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt/

* [skip ci] Translated using Weblate (Japanese)

Currently translated at 2.0% (30 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ja/

* [skip ci] Translated using Weblate (Portuguese (Brazil))

Currently translated at 82.1% (1218 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt_BR/

* [skip ci] Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1482 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/zh_Hans/

* [skip ci] Translated using Weblate (Turkish)

Currently translated at 7.6% (113 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/tr/

* [skip ci] Translated using Weblate (Portuguese)

Currently translated at 62.7% (930 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt/

* [skip ci] Translated using Weblate (Italian)

Currently translated at 26.0% (387 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/it/

* [skip ci] Translated using Weblate (Portuguese)

Currently translated at 68.3% (1013 of 1483 strings)

Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt/

* Added translation using Weblate (Czech)

* [skip ci] Added translation using Weblate (Czech)

* Some files got left off last release

* Fixed on deck prefilter

* Fixed a sizing issue on list item and brought the columns in on series detail as well.

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Hans Kalisvaart <hans.kalisvaart@gmail.com>
Co-authored-by: AlienHack <the4got10@windowslive.com>
Co-authored-by: 书签 <shuqian.emu@gmail.com>
Co-authored-by: 周書丞 <tmrsm_chan@hotmail.com>
Co-authored-by: Duarte Silva <smallflake@protonmail.com>
Co-authored-by: Andre Smith <andrepsmithjr@gmail.com>
Co-authored-by: Havokdan <havokdan@yahoo.com.br>
Co-authored-by: xe1st <dnzkckali@gmail.com>
Co-authored-by: Tomas Battistini <tomas.battistini@gmail.com>
Co-authored-by: Jiří Heger <jiri.heger@gmail.com>
2023-08-18 06:11:02 -07:00
Joe Milazzo
c84a3294e9
Misc Bugfixes (#2216)
* Folder watching will now appropriately ignore changes that occur in blacklisted folders.

* Fixed up recently updated from dashboard not opening a pre-sorted page. There were issues with how encoding and decoding was done plus missing code.

* Fixed up all streams from Dashboard opening to correctly filtered pages.

* All search linking now works.

* Rating tooltip and stars are bigger on mobile.

* A bit of cleanup

* Added day breakdown to user stats page.

* Removed Token checks before we write events to the history table for scrobbling.

Refactored so series holds will prevent writing events for reviews, ratings, etc.

* Fixed a potential bug where series name could be taken from a chapter that isn't the first ordered (very unlikely) for epubs.

Fixed a bug where Volume 1.5 could be selected for series-level metadata over Volume 1.

* Optimized the license check code so that users without any license entered would still take advantage of the cache layer.

* Sped up an API that checks if the library allows scrobbling

* Cleaned up the mobile CSS a bit for filters.
2023-08-15 14:33:39 -07:00
Joe Milazzo
d134196470
Implemented the ability to allow the admin to change the cover generation size. (#2213)
Changed how covers are merged together. Now a cover image will always be generated for reading list and collections.

Fixed reading list page being a bit laggy due to a missing trackby function.

Reading list page will now show the cover image always. Collection detail page will only hide the image if there is no summary on the collection.
2023-08-14 04:56:09 -07:00
Joe Milazzo
59c7ef5aa5
Filtering Bugs + OPDS Want To Read (#2210)
* Fixed Summary not allowing an empty field, as it should allow that.

* Cleaned up some localization wording and put a todo for a bug with library filtering not working.

* Added Want to Read to OPDS stream

* Implemented the ability to disable adding filter rows for bookmarks page which only supports one filter type.

* Fixed the library filtering code

* Fixed a bunch of titles across the app. Fixed about system page not showing data quick enough.

* Hide API key by default and show a button to unhide. Fixed a styling issue with input group buttons.

* Fixed a hack to support zh_Hans language code to work for things like pt-br as well.

* Fixed transloco not supporting same language scheme as Weblate, but somehow needs all languages.

* Fixed the rating on series detail not being inline with other sections
2023-08-13 10:39:28 -07:00
Joe Milazzo
9cc5953d07
Filtering Overhaul (#2207)
* Implemented the first version of dynamic filtering which is all Extension based.

* Implemented basic generic property filter for expanded metadata filtering.

* Fixed up the code to allow for nested properties and fixed up the Contains to work only for IList's

* Started refactoring for the new approach

* More progress, need to rethink a few filters like read progress to be % based and people needs to be more explicit.

* Refactored most of the existing filtering operations into dedicate extensions for the appropriate comparisons. People still need to be reworked to be more dynamic.

* Fixed a bug with continue point where it fails on chapters or volumes tagged with a range

* Wired up a basic api path to start building groups. No and/or support yet.

* Started on the UI

* Made a bit of progress on the UI as I'm putting the pieces together about how to design it.

* Refactored names to make it more consistent. New thinking is we will have one row that will take a filter statement and manipulate it. It will emit said statement and a builder will turn into the higher level statement.

* Started working on updating code to use new inject() method.

* Fixed the code to switch the comparisons.

* Added dynamic input structure in and moved add/remove to the builder.

* Fixed an enum bug

* Hooked in basic dropdown support that is dynamic to the field. Only language is missing as that needs a DTO change (but don't want to break API)

* Fixed a bug where dropdown options wouldn't re-populate when switching fields that are both dropdowns

* Started adding metadata builder

* Fixed when typing on filter row the focus resetting

* Refactored to add an additional component which handles the compounding of filter rows.

* Started hooking up v2 dto in the UI to send to the backend.

* Started working on building group UI for and/or support.

* Lots of backend code fixes to ensure OR and AND statements combine correctly.

* More trying to figure out how to write the UI code

* Started debugging to remember what I was last doing.

* Lots of progress towards building out the UI recursively

* I got the dto to build and propagate up the chain

* Started hooking up to the actual api to fetch the data.

* Basic wire up to the backend is working.

* HasName is now complete

* Refactored SortOptions code into an extension and streamlined LimitTo to the correct place.

* Fixed a bug where Library Filters from the Group weren't actually being taken into account.

* Refactored a lot of code so builder will now export the full dto.

* Cleaned up the data flow from metadata filter to library detail

* Got the dropdown to load preset values on first load, but now it triggers twice.

* Changed so when you add a new filter, it does it at top and fixed remove

* Fixed the remove button being on the wrong row

* Cleaned up the arrays to make it easier to manage

* Cleaned up some of the backend to ensure it doesn't throw an incorrect exception

* I'm starting to tread water, taking a break

* Fixed a merge issue

* Cleaned up Docker checks.

* Default IpAddresses to empty string.

* Refactored IsDocker to be completely static

* Figured out the issue with the dropdown not working.

* Almost got it, but the event isn't being called.

* I think i might try something else. This doesn't seem to be working.

* On the new implementation, implemented remove group.

* Use enums to reduce copy/paste

* the new system is working pretty well, ill go with it and move on. Can alwasy refactor.

* Code is totally broken, but working the cache resume code with some hiccups.

* I need to take a break

* Stashing my broken code. I have an idea on how to serialize to the URL, but I need to rearchitect a lot.

* Reverted last commit

* remove domain

* Fixed up some hardcoded caching. I'm giving up on this implementation and going to a simpler version

* Refactored the backend to just allow flat filtering.

* Started refactoring the components to make it flat filtering only.

* Finished refactoring so that the base preset case will render.

* Implemented basic query functionality on desktop. Clear needs some work and url code.

* Some cleanup

* Working on filtering url encode/decode

* Interacting with filters now saves to url and can be reloaded from the url. Named filters is not hooked up.

* Fixed a double load on the library detail page.

* Moved the library filtering code out of the FilterBuilder as it needs to be handled differently.

* Fixed up how we handle library statements in the filter.

* Fixed up how links that perform a filter work.

* Refactored a bunch of linking to a search page.

* LimitTo works, my css however does not.

* Switched some code to use localized strings.

* Cleaned up some css

* Hooked up Languages and put some additional code in so that Languages will return invalid Language codes back.

* Removed a duplicate language signature.

* Hooked up ability to preload collection tag.

* Want To Read is converted

* Converted lots of code to new filtering system. Need to do Bookmarks.

* Fixed a potential bug with default filter creation.

* Hooked up the ability to disable certain filter fields from appearing.

* Added mobile drawer code and a hook for Robbie to take a look for some css.

* Converted the APIs for dashboard along with other safety fixes to ensure bad data doesn't break any of the filtering apis

* Added the backend code to handle summary query

* Converted Want to Read api properly now.

* Fixed the HasReadingProgress query

* Hooked back the Reading Progress for legacy APIs

* Fixed some bad localization strings

* Wrote the filtering code for all-bookmarks.

* OPDS is now using the new filter

* Fixed OPDS reading lists and covers not sending their images.

* Fixed up the OPDS feed and fixed a bug where libraries also weren't sending their images over OPDS

* All but dropdown options have been validated and tested.

* Fixed up some default cases for setting up the filter.

* Sorted filter fields and re-keyed to be better suited based on user's needs.

Fixed a bug where OPDS Series (from library view) wasn't showing the summary.

Moved the (Format) from the title to the description to make the UX much better for OPDS.

MOved

* don't send empty summaries in the new summary formatting

* Fixed up some default cases for setting up the filter.

* Fixed the reset button

* Fixed infinite scroller not having correct scope key

* Added localization to the new components and removed old debug code

* Styling fixes

* Fixed deep linking across the app. Made it so you can click Characters from Reading list and open a filtered search.

* A bit of styling for mobile

* Don't show language if it's not properly set

---------

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2023-08-11 14:30:36 -07:00