* Fixed a case where when setting up initial rates for scrobbling, Kavita would log a user without a token set had no rate.
* Migrated the whole app to use just the directive instead of whole transloco module.
* Migrated the whole app to use just the directive instead of whole transloco module. Fixed prod mode breaking localization & fixed broken minification for language files.
* Time Ago pipe will now show Never if there is a null date. Changed the wording of Last Added To -> Last Item Added for volume/series info screen.
* Fixed Tachiyomi DTOs and bumped sonar to use Java 17
* One more GA thing
* GA junk
* Bump versions by dotnet-bump-version.
* Weblate Changes (#2189)
* Added translation using Weblate (Turkish)
* Translated using Weblate (Thai)
Currently translated at 100.0% (158 of 158 strings)
Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/th/
* Translated using Weblate (Thai)
Currently translated at 15.2% (218 of 1426 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/th/
* Translated using Weblate (Turkish)
Currently translated at 7.7% (110 of 1426 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/tr/
* Translated using Weblate (Portuguese)
Currently translated at 17.5% (250 of 1426 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/pt/
* Translated using Weblate (Russian)
Currently translated at 1.2% (2 of 158 strings)
Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/ru/
* Translated using Weblate (Russian)
Currently translated at 4.9% (71 of 1426 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ru/
* Translated using Weblate (Italian)
Currently translated at 6.7% (96 of 1426 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/it/
* Translated using Weblate (Turkish)
Currently translated at 8.8% (14 of 158 strings)
Translation: Kavita/backend
Translate-URL: https://hosted.weblate.org/projects/kavita/backend/tr/
---------
Co-authored-by: akoray420 <akoray420@gmail.com>
Co-authored-by: AlienHack <the4got10@windowslive.com>
Co-authored-by: Duarte Silva <smallflake@protonmail.com>
Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Co-authored-by: Tomas Battistini <tomas.battistini@gmail.com>
---------
Co-authored-by: Weblate (bot) <hosted@weblate.org>
Co-authored-by: akoray420 <akoray420@gmail.com>
Co-authored-by: AlienHack <the4got10@windowslive.com>
Co-authored-by: Duarte Silva <smallflake@protonmail.com>
Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Co-authored-by: Tomas Battistini <tomas.battistini@gmail.com>
* Started designing the backend localization service
* Worked in Transloco for initial PoC
* Worked in Transloco for initial PoC
* Translated the login screen
* translated dashboard screen
* Started work on the backend
* Fixed a logic bug
* translated edit-user screen
* Hooked up the backend for having a locale property.
* Hooked up the ability to view the available locales and switch to them.
* Made the localization service languages be derived from what's in langs/ directory.
* Fixed up localization switching
* Switched when we check for a license on UI bootstrap
* Tweaked some code
* Fixed the bug where dashboard wasn't loading and made it so language switching is working.
* Fixed a bug on dashboard with languagePath
* Converted user-scrobble-history.component.html
* Converted spoiler.component.html
* Converted review-series-modal.component.html
* Converted review-card-modal.component.html
* Updated the readme
* Translated using Weblate (English)
Currently translated at 100.0% (54 of 54 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/en/
* Converted review-card.component.html
* Deleted dead component
* Converted want-to-read.component.html
* Added translation using Weblate (Korean)
* Translated using Weblate (Spanish)
Currently translated at 40.7% (22 of 54 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/es/
* Translated using Weblate (Korean)
Currently translated at 62.9% (34 of 54 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ko/
* Converted user-preferences.component.html
* Translated using Weblate (Korean)
Currently translated at 92.5% (50 of 54 strings)
Translation: Kavita/ui
Translate-URL: https://hosted.weblate.org/projects/kavita/ui/ko/
* Converted user-holds.component.html
* Converted theme-manager.component.html
* Converted restriction-selector.component.html
* Converted manage-devices.component.html
* Converted edit-device.component.html
* Converted change-password.component.html
* Converted change-email.component.html
* Converted change-age-restriction.component.html
* Converted api-key.component.html
* Converted anilist-key.component.html
* Converted typeahead.component.html
* Converted user-stats-info-cards.component.html
* Converted user-stats.component.html
* Converted top-readers.component.html
* Converted some pipes and ensure translation is loaded before the app.
* Finished all but one pipe for localization
* Converted directory-picker.component.html
* Converted library-access-modal.component.html
* Converted a few components
* Converted a few components
* Converted a few components
* Converted a few components
* Converted a few components
* Merged weblate in
* ... -> … update
* Updated the readme
* Updateded all fonts to be woff2
* Cleaned up some strings to increase re-use
* Removed an old flow (that doesn't exist in backend any longer) from when we introduced emails on Kavita.
* Converted Series detail
* Lots more converted
* Lots more converted & hooked up the ability to flatten during prod build the language files.
* Lots more converted
* Lots more converted & fixed a bunch of broken pipes due to inject()
* Lots more converted
* Lots more converted
* Lots more converted & fixed some bad keys
* Lots more converted
* Fixed some bugs with admin dasbhoard nested tabs not rendering on first load due to not using onpush change detection
* Fixed up some localization errors and fixed forgot password error when the user doesn't have change password permission
* Fixed a stupid build issue again
* Started adding errors for interceptor and backend.
* Finished off manga-reader
* More translations
* Few fixes
* Fixed a bug where character tag badges weren't showing the name on chapter info
* All components are translated
* All toasts are translated
* All confirm/alerts are translated
* Trying something new for the backend
* Migrated the localization strings for the backend into a new file.
* Updated the localization service to be able to do backend localization with fallback to english.
* Cleaned up some external reviews code to reduce looping
* Localized AccountController.cs
* 60% done with controllers
* All controllers are done
* All KavitaExceptions are covered
* Some shakeout fixes
* Prep for initial merge
* Everything is done except options and basic shakeout proves response times are good. Unit tests are broken.
* Fixed up the unit tests
* All unit tests are now working
* Removed some quantifier
* I'm not sure I can support localization for some Volume/Chapter/Book strings within the codebase.
---------
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: majora2007 <kavitareader@gmail.com>
Co-authored-by: expertjun <jtrobin@naver.com>
Co-authored-by: ThePromidius <thepromidiusyt@gmail.com>
* Initial Canary Push (#2055)
* Added AniList Token
* Implemented the ability to set your AniList token. License check is not in place.
* Added a check that validates AniList token is still valid. As I build out more support, I will add more checks.
* Refactored the code to validate the license before allowing UI control to be edited.
* Started license server stuff, but may need to change approach.
Hooked up ability to scrobble rating events to KavitaPlus API.
* Hooked in the ability to sync Mark Series as Read/Unread
* Fixed up unit tests and only scrobble when a full chapter is read naturally.
* Fixed up the Scrobbling service
* Tweak one of the queries
* Started an idea for Scrobble History, might rework into generic TaskHistory.
* AniList Token now has a validation check.
* Implemented a mechanism such that events are persisted to the database, processed every X hours to the API layer, then deleted from the database.
* Hooked in code for want to read so we only send what's important. Will migrate these to bulk calls to lessen strain on API server.
* Added some todos. Need to take a break.
* Hooked up the ability to backfill scrobble events after turning it on.
* Started on integrating license key into the server and ability to turn off scrobbling at the library level. Added sync history table for scrobbling and other API based information.
* Started writing to sync table
* Refactored the migrations to flatten them.
Started working a basic license add flow and added in some of the cache. Lots to do.
* Ensure that when we backfill scrobble events, we respect if a library has scrobbling turned on or not.
* Hooked up the ability to send when the series was started to be read
* Refactored the UI to streamline and group KavitaPlus Account Forms.
* Aligning with API
* Fixed bad merge
* Fixed up inputting a user license.
* Hooked up a cron task that validates licenses every 4 hours and on startup.
* Reworked how the update license code works so that we always update the cache and we handle removing license from user.
* Cleaned up some UI code
* UserDto now has if there is a valid license or not. It's not exposed though as there is no need to expose the license key ever.
* Fixed a strange encoding issue with extra ".
Started working on having the UI aware of the license information.
Refactored all code to properly pass the correct license to the API layer.
* There is a circular dependency in the code.
Fixed some theme code which wasn't checking the right variable.
Reworked the JWT interceptor to be better at handling async code.
Lots of misc code changes, DI circular issue is still present.
* Fixed the DI issue and moved all things that need bootstrapping to app.component.
* Hooked up the ability to not have a donation button show up if the server default user/admin has a valid KavitaPlus license.
* Refactored how we extract out ids from weblinks
* Ensure if API fails, we don't delete the record.
* Refactored how rate checks occur for scrobbling processing.
* Lots of testing and ensuring rate limit doesn't get destroyed.
* Ensure the media item is valid for that user's providers set.
* Refactored the loop code into one method to keep things much cleaner
* Lots of code to get the scrobbling streamlined and foolproof. Unknown series are now reported on the UI.
* Prevent duplicates for scrobble errors.
* Ensure we are sending the correct type to the Scrobble Provider
* Ensure we send the date of the scrobble event for upstream to use.
* Replaced the dedicated run backfilling of scrobble events to just trigger when setting the anilist token for the first time.
Streamlined a lot of the code for adding your license to ensure user understands how it works.
* Fixed a bug where scan series wasn't triggering word count or cover generation.
* Started the plumbing for recommendations
* Merge conflicts
* Recommendation plumbing is nearly complete.
* Setup response caching and general cleanup
* Fixed UI not showing the recommendation tab
* Switched to prod url
* Fixed broken unit tests due to Hangfire not being setup for unit tests
* Fixed branch selection (#2056)
* Damn you GA (#2058)
* Bump versions by dotnet-bump-version.
* Fixed GA not pulling the right branch and removed unneeded building from veresion job (#2060)
* Bump versions by dotnet-bump-version.
* Canary Second (#2071)
* Just started
* Started building the user review card. Fixed Recommendations not having user progress on them.
* Fixed a bug where scrobbling ratings wasn't working.
* Added a temp ability to trigger scrobbling processing for testing.
* Cleaned up the design of review card. Added a temp way to trigger scrobbling.
* Fixed clear scrobbling errors and refactored so reviews now load from DB and is streamlined.
* Refactored so edit review is now a single module component and editable from the series detail page.
* Removed SyncHistory table as it's no longer needed. Refactored read events to properly update to the latest progress information. Refactored to a new way of clearing events, so that user's can see their scrobble history.
* Fixed a bug where Anilist token wouldn't show as set due to some state issue
* Added the ability to see your own scrobble events
* Avoid a potential collision with recommendations.
* Fixed an issue where when checking for a license on UI, it wouldn't force the check (in case server was down on first check).
* External reviews are implemented.
* Fixed unit tests
* Bump versions by dotnet-bump-version.
* Made the api url dynamic based on dev more or not. (#2072)
* Bump versions by dotnet-bump-version.
* Canary Build 3 (#2079)
* Updated reviews to have tagline support to match how Anilist has them.
Cleaned up the KavitaPlus documentation and added a feature list.
Review cards look much better.
* Fixed up a NPE in scrobble event creation
* Removed the ability to have images leak in the read more review card.
Review's now show the user if they are a local user, else External.
* Added caching to the reviews and recommendations that come from an external source. Max of 50MB will be used across whole instance. Entries are cached for 1 hour.
* Reviews are looking much better
* Added the ability for users to share their series reviews with other users on the server via a new opt-in mechanism.
Fixed up some cache busting mechanism for reviews.
* More review polish to align with better matching
* Added the extra information for Recommendation matching.
* Preview of the review is much cleaner now and the full body is styled better.
* More anilist specific syntax
* Fixed bad regex
* Added the ability to bust cache.
Spoilers are now implemented for reviews. Introduces:
--review-spoiler-bg-color
--review-spoiler-text-color
* Bump versions by dotnet-bump-version.
* Canary Build 4 (#2086)
* Updated Kavita Plus feature list. Added a hover-over to the progress bars in the app to know exact percentage of reading for a chapter or series.
* Added a button to go to external review. Changed how enums show in the documentation so you can see their string value too.
Limited reviews to top 10 with proper ordering. Drastically cleaned up how we handle preview summary generation
* Cleaned up the margin below review section
* Fixed an issue where a processed scrobble event would get updated instead of a new event created.
* By default, there is now a prompt on series review to add your own, which fills up the space nicely.
Added the backend for Series Holds.
* Scrobble History is now ordered by recent -> latest. Some minor cleanup in other files.
* Added a simple way to see and toggle scrobble service from the series.
* Fixed a bug where updating the user's last active time wasn't writing to database and causing a logout event.
* Tweaked the registration email wording to be more clear for email field.
* Improved OPDS Url generation and included using host name if defined.
* Fixed the issues with choosing the correct series cover image. Added many unit tests to cover the edge cases.
* Small cleanup
* Fixed an issue where urls with , in them would break weblinks.
* Fixed a bug where we weren't trying a png before we hit fallback for favicon parsing.
* Ensure scrobbling tab isn't active without a license.
Changed how updating user last active worked to supress more concurrency issues.
* Fixed an issue where duplicate series could appear on newly added during a scan.
* Bump versions by dotnet-bump-version.
* Fixed a bad dto (#2087)
* Bump versions by dotnet-bump-version.
* Canary Build 4 (#2089)
* New server-based auth is in place with the ability to register the instance.
* Refactored to single install bound licensing.
* Made the Kavita+ tab gold.
* Change the JWTs to last 10 days. This is a self-hosted software and the usage doesn't need the level of 2 days expiration
* Bump versions by dotnet-bump-version.
* Canary Build 4 (#2090)
* By default, a new library will only have scrobbling on if it's of type book or manga given current scrobble providers.
* Started building out external reviews.
* Added the ability to re-enter your license information.
* Fixed side nav not extending enough
* Fixed a bug with info cards
* Integrated rating support, fixed review cards without a tagline, and misc fixes.
* Streamlined where ratings are located on series detail page.
* Aligned with other series lookups
* Bump versions by dotnet-bump-version.
* Canary Build 6 (#2092)
* Cleaned up some messaging
* Fixed up series detail
* Cleanup
* Bump versions by dotnet-bump-version.
* Canary Build 6 (#2093)
* Fixed scrobble token not being visible by default.
* Added a loader for external reviews
* Added the ability to edit series details (weblinks) from Scrobble Issues page.
* Slightly lessened the focus on buttons
* Fixed review cards so whenever you click your own review, it will open the edit modal.
* Need for speed - Updated Kavita log to be much smaller and replaced all code ones with a 32x version.
* Optimized a ton of our images to be much smaller and faster to load.
* Added more MIME types for response compression
* Edit Series modal name field should be readonly as it is directly mapped to file metadata or filename parsed. It shouldn't be changeable via the UI.
* Removed the ability to update the Series name via Kavita UI/API as it is no longer editable.
* Moved Image component to be standalone
* Moved ReadMore component to be standalone
* Moved PersonBadge component to be standalone
* Moved IconAndTitle component to be standalone
* Fixed some bugs with standalone.
* Hooked in the ability to scrobble series reviews.
* Refactored everything to use HashUtil token rather than InstallId.
* Swapped over to a generated machine token and fixed an issue where after registering, the license would not say valid.
* Added the missing migration for review scrobble events.
* Clean up some wording around busting cache.
* Fixed a bug where chapters within a volume could be unordered in the UI info screen.
* Refactored to prepare for external series rendering on series detail.
* Implemented external recs
* Bump versions by dotnet-bump-version.
* Canary Build 7 (#2097)
* Aligned ExtractId to extract a long, since MAL id can be just that.
* Fixed external series card not clicking correctly.
Fixed a bug when extracting a Mal link.
Fixed cancel button on license component.
* Renamed user-license to license component given new direction for licensing.
* Implemented card layout for recommendations
* Moved more components over to be standalone and removed pipes module. This is going to take some time for sure.
* Removed Cards and SharedCardsSideNav and SideNav over to standalone. This has been shaken out.
* Cleaned up a bunch of extra space on reading list detail page.
* Fixed rating popover not having a black triangle.
* When checking license, show a loading indicator for validity icon.
* Cache size can now be changed by admins if they want to give more memory for better browsing.
* Added LastReadTime
* Cleanup the scrobbling control text for Library Settings.
* Fixed yet another edge case for getting series cover image where first volume is higher than 1 and the rest is just loose leaf chapters.
* Changed OPDS Content Type to be application/atom+xml to align better with the spec.
* Fixed unit tests
* Bump versions by dotnet-bump-version.
* Canary Build 7 (#2098)
* Fixed the percentage readout on card item progress bar
* Ensure scrobble control is always visible
* Review card could show person icon in tablet viewport.
* Changed how the ServerToken for node locking works as docker was giving different results each time.
* After we update series metadata, bust cache
* License componet cleanup on the styles
* Moved license to admin module and removed feature modal as wiki is much easier to maintain.
* Bump versions by dotnet-bump-version.
* Canary Build 8 (#2100)
* Fixed a very slight amount of the active nav tag bleeding outside the border radius
* Switched how we count words in epub to handle languages that don't have spaces.
* Updated dependencies and fixed a series cover image on list item view for recs.
* Fixed a bug where external recs werent showing summary of the series.
* Rewrote the rec loop to be cleaner
* Added the ability to see series summary on series detail page on list view.
Changed Scrobble Event page to show in server time and not utc.
* Added tons of output to identify why unraid generates a new fingerprint each time.
* Refactored scrobble event table to have filtering and pagination support.
Fixed a few bad template issues and fixed loading scrobbling tab on refresh of page.
* Aligned a few apis to use a default pagination rather than a higher level one.
* Undo OPDS change as Chunky/Panels break.
* Moved the holds code around
* Don't show an empty review for the user, it eats up uneeded space and is ugly.
* Cleaned up the review code
* Fixed a bug with arrow on sortable table header.
* More scrobbling debug information to ensure events are being processed correctly.
* Applied a ton of code cleanup build warnings
* Enhanced rec matching by prioritizing matching on weblinks before falling back to name matching.
* Fixed the calculation of word count for epubs.
* Bump versions by dotnet-bump-version.
* Canary Build 9 (#2104)
* Added another unit test
* Changed how we create cover images to force the aspect ratio, which allows for Kavita to do some extra work later down the line. Prevents skewing from comic sources.
* Code cleanup
* Updated signatures to explicitly indicate they return a physical file.
* Refactored the GA to be a bit more streamlined.
* Fixed up how after cover conversion, how we refresh volume and series image links.
* Undid the PhysicalFileResult stuff.
* Fixed an issue in the epub reader where html tags within an anchor could break the navigation code for inner-links.
* Fixed a bug in GetContinueChapter where a special could appear ahead of a loose leaf chapter.
* Optimized aspect ratios for custom library images to avoid shift layout.
Moved the series detail page down a bit to be inline with first row of actionables.
* Finally fixed the media conversion issue where volumes and series wouldn't get their file links updated.
* Added some new layout for license to allow a user to buy a sub after their last sub expired.
* Added more metrics for fingerprinting to test on docker.
* Tried to fix a bug with getnextchapter looping incorrectly, but unable to solve.
* Cleanup some UI stuff to reduce bad calls.
* Suppress annoying issues with reaching K+ when it's down (only affects local builds)
* Fixed an edge case bug for picking the correct cover image for a series.
* Fixed a bug where typeahead x wouldn't clear out the input field.
* Renamed Clear -> Reset for metadata filter to be more informative of its function.
* Don't allow duplicates for reading list characters.
* Fixed a bug where when calculating recently updated, series with the same name but different libraries could get grouped.
* Fixed an issue with fit to height where there could still be a small amount of scroll due to a timing issue with the image loading.
* Don't show a loading if the user doesn't have a license for external ratings
* Fixed bad stat url
* Fixed up licensing to make it so you have to email me to get a sub renewed.
* Updated deps
* When scrobbling reading events, recalculate the highest chapter/volume during processing.
* Code cleanup
* Disabled some old test code that is likely not needed as it breaks a lot on netvips updates
* Bump versions by dotnet-bump-version.
* Canary Build 10 (#2105)
* Aligned fingerprint to be unique
* Updated email button to have a template
* Fixed inability to progress to next chapter when last page is a spread and user is using split rendering.
* Attempted fix at the column reader cutting off parts of the words. Can't fully reproduce, but added a bit of padding to help.
* Aligned AniList icon to match that of weblinks.
* Bump versions by dotnet-bump-version.
* Canary Build 11 (#2108)
* Fixed an issue with continuous reader in manga reader.
* Aligned KavitaPlus->Kavita+
* Updated the readme
* Adjusted first time registration messaging.
* Fixed a bug where having just one type of weblink could cause a bad recommendation lookup
* Removed manual invocation of scrobbling as testing is over for that feature.
* Fixed a bad observerable for downloading logs from browser.
* Don't get reviews/recs for comic libraries. Override user selection for scrobbling on Comics since there are no places to scrobble to.
* Added a migration so all existing comic libraries will have scrobbling turned off.
* Don't allow the UI to toggle scrobbling on a library with no providers.
* Refactored the code to not throw generic 500 toasts on the UI. Added the ability to clear your license on Kavita side.
* Converted reader settings to new accordion format.
* Converted user preferences to new accordion format.
* I couldn't convert CBL Reading modal to new accordion directives due to some weird bug.
* Migrated the whole application to standalone components. This fixes the download progress bar not showing up.
* Hooked up the ability to have reading list generate random items. Removed the old code as it's no longer needed.
* Added random covers for collection's as well.
* Added a speed up to not regenerate merged covers if we've already created them.
* Fixed an issue where tooltips weren't styled correctly after updating a library. Migrated Library access modal to OnPush.
* Fixed broken table styling. Fixed grid breakpoint css variables not using the ones from variables due to a missing import.
* Misc fixes around tables and some api doc cleanup
* Fixed a bug where when switching from webtoon back to a non-webtoon reading mode, if the browser size isn't large enough for double, the reader wouldn't go to single mode.
* When combining external recs, normalize names to filter out differences, like capitalization.
* Finally get to update ExCSS to the latest version! This adds much more css properties for epubs.
* Ensure rejected reviews are saved as errors
* A crap ton of code cleanup
* Cleaned up some equality code in GenreHelper.cs
* Fixed up the table styling after the bootstrap update changed it.
* Bump versions by dotnet-bump-version.
* Canary Build 12 (#2111)
* Aligned GA (#2059)
* Fixed the code around merging images to resize them. This will only look correct if this release's cover generation runs.
* Misc code cleanup
* Fixed an issue with epub column layout cutting off text
* Collection detail page will now default sort by sort name.
* Explicitly lazy load library icon images.
* Make sure the full error message can be passed to the license component/user.
* Use WhereIf in some places
* Changed the hash util code for unraid again
* Fixed up an issue with split render mode where last page wouldn't move into the next chapter.
* Bump versions by dotnet-bump-version.
* Don't ask me how, but i think I fixed the epub cutoff issue (#2112)
* Bump versions by dotnet-bump-version.
* Canary 14 (#2113)
* Switched how we build the unraid fingerprint.
* Fixed a bit of space below the image on fit to height
* Removed some bad code
* Bump versions by dotnet-bump-version.
* Canary Build 15 (#2114)
* When performing a scan series, force a recount of words/pages to ensure read time gets updated.
* Fixed broken download logs button (develop)
* Sped up the query for getting libraries and added caching for that api, which is helpful for users with larger library counts.
* Fixed an issue in directory picker where if you had two folders with the same name, the 2nd to last wouldn't be clickable.
* Added more destroy ref stuff.
* Switched the buy/manage links over to be environment specific.
* Bump versions by dotnet-bump-version.
* Canary Build 16 (#2115)
* Added the promo code for K+ and version bump.
* Don't show see more if there isn't more to see on series detail.
* Bump versions by dotnet-bump-version.
* Last Build (#2116)
* Merge
* Close the view after removing a license key from server.
* Bump versions by dotnet-bump-version.
* Reset version to v0.7.4 for merge.
* Updated Series Info Cards to use OnPush and hooked in progress events when we do a mark as read/unread on entities. These events update progress bars but also will now trigger a re-calculation on Read Time Left.
* Removed Library Card Component
* Refactored manga reader title and subtitle calculation to the backend.
* Coverted card actionables to onPush
* Series Card on push cleanup
* Updated edit collection tags for on push
* Update cover image chooser for on push
* Cleaned up carsouel reel
* Updated cover image to allow for uploading gif and webp files
* Bulk add to collection on push
* Updated bulk operation to use on push. Updated bulk operation to have mark as unread and read buttons explicitly. Updated so add to collection is visible and delete.
Fixed a bug where manage library component wasn't invoking the trackBy function
* Updating entity title for on push
* Removed file info component
* Updated Mange Library for on push
* Entity info cards on push
* List item on push
* Updated icon and title for on push and fixed some missing change detection on series detail
* Restricted the typeahead interface to simplify the design
* Edit Series Relation now shows a value in the dropdown for Parent relationships and disables the field.
* Updated edit series relation to focus on new typeahead when adding a new relationship
* Added some documentation and when Scanning a library, don't allow the user to enqueue the same job multiple times.
* Applied the No-enqueue if already enqueued logic to other tasks
* Library detail on push
* Updated events widget to onpush
* Card detail drawer on push. Card detail cover chooser now will show all chapter's covers for selection in cover chooser.
* Chapter metadata detail on push
* Removed Card Detail modal
* All collections on push
* Removed some comments
* Updated bulk selection to use an observable rather than function calls so new on push strategy works
* collection detail now uses on push and scroller is placed on correct element
* Updated library recommended to on push. Ensure that when mark as read occurs, the appropriate streams are refreshed.
* Updated library detail to on push
* Update metadata fiter to onpush. Bugs found and reported to Project
* person badge on push
* Read more on push
* Updated tag badge to on push
* User login on push
* When initing side nav, don't call an authenticated api until we are sure a user is logged in
* Updated splash container to on push
* Dashboard on push
* Side nav slight refactor around some api calls
* Cleaned up series card on push to use same cdRef naming convention
* Updated Static Files to use caching
* Added width and height to logo image
* shortcuts modal on push
* reading lists on push
* Reading list detail on push
* draggable ordered list on push
* Refactored reading-list-detail to use a new item which drastically reduces renders on operations
* series format on push
* circular loader on push
* Badge Expander on push
* update notification modal on push
* drawer on push
* Edit Series Modal on push
* reset password on push
* review series modal on push
* series metadata detail on push
* theme manager on push
* confirm reset password on push
* register on push
* confirm migration email on push
* confirm email on push
* add email to account migration on push
* user preferences on push. Made global settings default open
* edit series relation on push
* Fixed an edge case bug for next chapter where if the current volume had a single chapter of 1 and the next volume had a chapter number of 0, it would say there are no more chapters.
* Updated infinite scroller with on push support
* Moved some animations over to typeahead, not integrated yet.
* Manga reader is now on push
* Reader settings on push
* refactored how we close the book
* Updated table of contents for on push
* Updated book reader for on push. Fixed a bug where table of contents wasn't showing current page anchor due to a scroll calulation bug
* Small code tweak
* Icon and title on push
* nav header on push
* grouped typeahead on push
* typeahead on push and added a new trackby identity function to allow even faster rendering of big lists
* pdf reader on push
* code cleanup
* First commit
Enabling double layout mode (and minor fixes)
* Second commit
* bug-fix/side-nav-icon
Side nav icons were not aligned to centred.
* bug-fix/side-nav-icon
Side navigation icons were not aligned centred.
* Squashed commit of the following:
commit d796bcdc0a
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 26 00:24:25 2022 +0000
Bump versions by dotnet-bump-version.
commit 3c92b6d8a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 19:11:01 2022 -0500
Fixed the logic for caluclating time to read on comics
commit e7617862a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 17:49:45 2022 -0500
Don't use plural if there is only 1 hour for reading
commit 713e20ebf4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 17:48:50 2022 -0500
Tweaked when we calculate min reading time
commit c0f7dd39a2
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 22:10:42 2022 +0000
Bump versions by dotnet-bump-version.
commit c1490d6e86
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 16:53:39 2022 -0500
Word Count (#1286)
* Adding some code for Robbie
* See more on series detail metadata area is now at the bottom on the section
* Cleaned up subtitle headings to use a single class for offset with actionables
* Added some markup for the new design, waiting for Robbie to finish it off
* styling age-rating badge
* Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.
* Hooked up analyze ui to backend
* Refactored Series Detail metadata area to use a new icon/title design
* Cleaned up the new design
* Pushing for robbie to do css
* Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.
* Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.
* Hooked up actual reading time based on user's words per hour
* Refactor some magic numbers to consts
* Hooked in progress reporting for series word count
* Hooked up analyze files
* Re-implemented time to read on comics
* Removed the word Last Read
* Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.
* Reworked error handling
* Fixed some security vulnerabilities in npm.
* Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.
* Tweaked the styles a bit on the icon-and-title
* Code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 0a70ac35dc
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 19:39:11 2022 +0000
Bump versions by dotnet-bump-version.
commit a9a1ec02ca
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 14:25:53 2022 -0500
Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)
commit 1247f450e2
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 17:21:56 2022 +0000
Bump versions by dotnet-bump-version.
commit 1a128a3af4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 12:05:16 2022 -0500
Implemented the ability to read format tag and force special status. (#1284)
commit a0e1ba8d67
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 23 23:30:19 2022 +0000
Bump versions by dotnet-bump-version.
commit e0a2fc615f
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Mon May 23 18:19:52 2022 -0500
UX Changes, Tasks, WebP, and More! (#1280)
* When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.
* Some cleanup on the user preferences to remove some calls we don't need anymore.
* Removed old bulk cleanup bookmark code as it's no longer needed.
* Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.
* Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.
* Implemented the ability to bulk convert bookmarks (as many times as the user wants).
Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.
* Tweaked the wording around the convert switch.
* Moved System actions to the task tab
* Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.
* Fixed the unit tests
commit dd83b6a9a1
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 23:36:25 2022 +0000
Bump versions by dotnet-bump-version.
commit 16eb1e3e8e
Author: Joseph Milazzo <josephmajora@gmail.com>
Date: Sat May 21 18:24:18 2022 -0500
version bump (#1271)
commit f4f91fa5a9
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 23:03:49 2022 +0000
Bump versions by dotnet-bump-version.
commit 1801afd4a7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sat May 21 17:52:57 2022 -0500
Updated the readme to reflect new UX and some tweaks to wordings. (#1270)
commit bcad2e4a55
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 02:18:06 2022 +0000
Bump versions by dotnet-bump-version.
commit 81082508f2
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 20 21:05:09 2022 -0500
Release Shakeout Part 2 (#1267)
* Fixed manga reader and removed debug code
* Removed some console.logs
commit 92010379f1
Author: majora2007 <josephmajora@gmail.com>
Date: Fri May 20 23:00:48 2022 +0000
Bump versions by dotnet-bump-version.
commit a062341564
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 20 17:50:17 2022 -0500
Release Shakeout (#1266)
* Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough.
* Fixed pagination placement on original scaling
* Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader.
* Fixing select on black book-reader theme
* Fixing canvas split centering
* Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day.
* Use grid on related tab
* Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden
* Fixed bug where filter might stay open between pages
* Fixed typo on relationship for Adaptation
* Contains was missing from series relation modal
* Tweaked some methods and wording on reading list page
* Cleaned up the phrasing when we abort a scan.
* Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options
* Fixed some typeahead bugs and decreased interval for docker health check
* Cleaned up and fixed some logic with receiving cover image update events
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 49d8a7c6ca
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 19 12:24:13 2022 +0000
Bump versions by dotnet-bump-version.
commit f2b1cd55f0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Thu May 19 07:14:18 2022 -0500
Remove Light and E-Ink theme (#1263)
* Refactored code to show action bar instead of drawer in immersive mode
* Card grid
* adding margin for pagination gap
* Fixed a rare routing case that wouldn't redirect
* Fixed a bug where series detail would show blank filtering
* Fixing image scaling and library card spacing
* Refactored some methods to be static
* Adding card grid to series detail
* Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.
* Ensure emails are trimmed when trying to invite.
* Don't show More In if there is only 1 item in there on library recommended tab
* Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.
* Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).
* Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense
* Refactored the series detail to use Robbie's new grid system.
* some styling fixes
* Styling fixes
- Removing select border gap
- fixing switches on lite theme
- fixing search result text-light
* better css var naming
* changing search lite text color override
* fixing as per feedback
* Removing boolean from being visible in bookreader
* Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.
* Wrote basic code to remove other themes. Need a migration instead.
* Added a migration to remove light/e-ink themes and migrate users over to Dark theme by default.
* Fixed unit tests
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 876e19177e
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 19 00:46:22 2022 +0000
Bump versions by dotnet-bump-version.
commit 1961b41268
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 18 19:31:49 2022 -0500
Last batch of bugfixes (#1262)
* Refactored code to show action bar instead of drawer in immersive mode
* Card grid
* adding margin for pagination gap
* Fixed a rare routing case that wouldn't redirect
* Fixed a bug where series detail would show blank filtering
* Fixing image scaling and library card spacing
* Refactored some methods to be static
* Adding card grid to series detail
* Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.
* Ensure emails are trimmed when trying to invite.
* Don't show More In if there is only 1 item in there on library recommended tab
* Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.
* Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).
* Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense
* Refactored the series detail to use Robbie's new grid system.
* some styling fixes
* Styling fixes
- Removing select border gap
- fixing switches on lite theme
- fixing search result text-light
* better css var naming
* changing search lite text color override
* fixing as per feedback
* Removing boolean from being visible in bookreader
* Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 6f23a3bc6d
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 15 21:31:42 2022 +0000
Bump versions by dotnet-bump-version.
commit 92fb185f20
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Sun May 15 17:21:17 2022 -0400
Adding code to make sure bottom actionbar is applied on layout change (#1258)
commit bb791b7789
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 15 19:44:47 2022 +0000
Bump versions by dotnet-bump-version.
commit cdc4931770
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 15 14:34:53 2022 -0500
Reader scroll area fix (#1257)
* Changes to make the pagination area scrollable (not working, debug code for Robbie)
* Adjusted the html to be easier to understand and more streamlined
* Fixed inability to scroll in manga reader over pagination areas for everything but the bottom bar
* Book reader now allows you to scroll over pagination area
commit ccb6414e9e
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 14 22:13:24 2022 +0000
Bump versions by dotnet-bump-version.
commit d458a823ef
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sat May 14 17:02:58 2022 -0500
More Reader Bugfixes (#1255)
* Added css to center images
* Better scaling css
* Removing vertical height css for actionbar calc
* Fixed a bug where book settings couldn't be saved due to typo in model
* fixing height across layouts
* Fixed an issue where column mode would reset to user preference default between continuous reader loads
* Fixing some more logic
* Reading direction arrow keys now flip
* Small code cleanup on Robbie's code
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit be5b997259
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 14 00:40:11 2022 +0000
Bump versions by dotnet-bump-version.
commit f701f8e599
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 13 19:30:37 2022 -0500
Book Reader Bugfixes (#1254)
* Fixed image scoping breaking and books not being able to load images
* Cleaned up a lot of variables and added more jsdoc. After shifting the margin, we try to recover the column layout width,height, and scroll posisiton.
* Tap to paginate is working on first load now
* On resize, rescroll to attempt to avoid breakage
* Fixed transparent background for action bar on white theme
* Moved some lists to immutable arrays
* Actually fixed backgournd now
* Fixed some settings not updating in book reader on load
* Put some code in place to test out opening menu with clicking on the document
* Fixed settings not propagating to the reader
* Fixing 2 column when loading annd ios mobile
* Fixed an issue where paging to prev page would sometimes skip the first page.
* Fixing previous page skipping first page of chapter
* removing console logs
* Save progress when we page
* Click on document to show the side nav
* Removed columns auto because it could render more columns than applicable. Don't explicitly call saveProgress on prev page, as we already do in another call.
Adjusted the logic to calculate windowHeight and width to be the same throughout the reader.
* Setting select fix and settings polish
* Fixed awkward tooltip wording
* Added a message for when there is nothing to show on recommended tab
* Removed bug marker, there was no bug after all
* Fixing book title truncation in action bar
* When counting volumes or chapters that have range, count the max part of the range for publication status.
* Fixing TOC rendering issue
* Styling fixes
- Fixed an issue where the image height in the book reader was the column height plus padding so it was breaking pagination calc.
- Centered book reader setting pills
- Made inactive setting pill into a ghost button
- Fixed spacing across the reader settings drawer
* Added a bit of code to allow us to disable buttons before we click for next chapter load
* Removed titles from action bars
* The next page button will now show as the primary color to indicate to the user what the next forward page is.
* Added a view series to bookmark page and removed actions from header since it didn't work
* Fixed a bug where pagination wasn't mutating url state
* Lots of changes, code is kinda working.
Added Immersive Mode, but didn't generate migration.
Added concept of virtual pages with ability to see them. Math is still slightly off.
Cleaned up prefetching code so we do it much earlier.
Added some code that doesn't work to disable buttons with virtual paging included.
* When turning immersive mode on, force tap to paginate
* Refactored out the book reader state as it wasn't very beneficial
* Fixed total virtual page calculation
* Next/prev page seems to be working pretty well
* Applied Robbie's virtual page logic and fixed a bug in prev page code
* Changed the next page to use same virtual page logic
* Getting back and forward working...somehow.
* removing redundant code
* Fixing book title overflow from new action bar changes
* Polishing pagination styles
* Changing chapter to section
* Fixing up other book reader themes
* Fixed the login header being off-center
* Fixing styling to follow approach
* Refactored the pagination buttons to properly call next/prev page based on reading direction
* Drawer pagination buttons now respect when there is no chapters (prev/next)
* Everything except disabling buttons when on last possible page working
* Added Book Reader immersive mode migration
* Disable next/prev buttons for continuous reading before we request next/prev chapter if there is no chapter.
* Show a tooltip for the title
* Fixed unit test
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit dfcc2f0813
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 9 01:01:46 2022 +0000
Bump versions by dotnet-bump-version.
commit 2723a6cd10
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 8 19:52:15 2022 -0500
Book Reader Redesign with e-ink focus (#1246)
* Refactored the drawer into offcanvas component. Had to write some hacks to emulate how bootstrap's javascript implementation works as ngBootstrap doesn't have a component yet.
* Cleaned up some of the code
* Rewrote drawer to align it with the new design
* First pass, refactored table of content into it's own component
* Refactored all of the settings logic into a separate component. Everything is broken.
* More settings on on reactive form
* More code cleanup on settings
* Misc fixes around the drawer code. Fixed a bug where range sliders were inheriting background color of normal text inputs
* Fixed dark mode with book reader.
We now clear the theme from the main app so book reader is self-contained. Styles for dark mode are injected into the reading-section. Styles that were previously in scss are now only for the actual menu system.
* Cleaned up drawer styling on header
* Removed an ngIf statement for click to paginate
* Tweaked the accent style to have smaller font size and adjusted style on light mode. Cleaned up some clearTimeout code in a further effort to streamline codebase.
* Refactored Dark mode into a basic theme. Currently styles are hardcoded.
* Patched book theme in from themes branch
* Patched in the backend for Book Theme (not tested yet)
* Fixed a bug in seeding code for book themes. Started integration of themes into the reader settings
* Everything except managing themes is working. Themes are a bit shakey, having second thoughts if we should have them or not.
* Reverted the ability to do custom user book themes. Code is stable with system themes.
* Stablize the Styles (#1128)
* Fixed a bug where adding multiple series to reading list would throw an error on UI, but it was successful.
* When a series has a reading list, we now show the connection on Series detail.
* Removed all baseurl code from UI and not-connected component since we no longer use it.
* Fixed tag badges not showing a border. Added last read time to the series detail page
* Fixed up error interceptor to remove no-connection code
* Changed implementation for series detail. Book libraries will never send chapters back. Volume 0 volumes will not be sent in volumes ever. Fixed up more renaming logic on books to send more accurate representations to the UI.
* Cleaned up the selected tab and tab display logic
* Fixed a bad where statement in reading lists for series
* Fixed up tab logic again
* Fixed a small margin on search backdrop
* Made badge expander button smaller to align with badges
* Fixed a few UIs due to .form-group and .form-row being removed
* Updated Theme component page to help with style testing
* Added more components to theme tester
* Cleaned up some styling
* Fixed opacity on search item hover
* Bump versions by dotnet-bump-version.
* Tweaked the accordion styles for light mode
* Set dark book theme as default. Refactored resetSettings to be much cleaner
* Started the refactor to allow book themes to affect global css variables
* Fixed some issues with my css variable declarations
* Fixed a close model state update
* Lots of work, but dark mode on the book reader is basically done. We have to code the themes much like the site themes
* Some black theme enhancements
* Started working on column layout in book reader.
* Cleaned up the CSS on Reader Settings
* Hooked up reading direction
* Got column and double column layout working
* Implemented some basic virtual paging and hooked in book color theme and layout mode into user preferences.
* Migration wrote, can edit page layout and color theme on book reader. Removed book dark mode since no longer needed.
Fixed a bug on login/register forms where when input is focused, text is white and not black.
* When loading book reader, apply column layout.
* Lots of work around 2 column layout, working on images not splitting. Still not working, committing so i can merge develop in and validate code with new manga reader.
* Fixed images being split into 2 BUT regression on each page boundary, total reading height is smaller and smaller
* Fixed some rendering bugs where toggling column layouts would shrink images on screen constantly.
Fixed a bug where bottom bar wouldn't render on column layout in some conditions (this might need to be reworked)
* Started progress on progress work
* Updated .NET to 6.0.4
* Fixed a bug where DataContextModelSnapshot was being removed on build thus new migrations were broken.
* Tweaked the code around progress saving so that we don't loose track of last scroll element on page load
* Trying to restore progress, but stuck
* Extra merge stuff
* Fixed a bug where volumes that are a range fail to generate series detail
* No gutters on whole app. Book reader backend now applies the image class automatically at the backend.
* Added wiki documentation into invite user flow and register admin user to help users understand email isn't required and they can host their own service.
* Removed bottom padding
* Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.
* Fixed the height of the action bar to simplify logic and keep the code cleaner. Refactored book service image scoping to be much more streamlined and efficient
* Fixed the height of action bar to 62px and adjusted code to use the hardcoded px. (code commented)
* Removed commented out code from fixed action bar height
* Progress restoration seems to be working
* Code cleanup
* Ensure the bottom action bar is at the bottom of the viewport on small pages
* Fixed book fonts not setting properly and added OpenDyslexic font.
* Fixed up some font issues
* Updated drawer so all sections are open by default
* Switched some LINQ to use MinBy
* When navigating between pages and column layout, adjust the shift for the user.
* Removed some debug code
* Blacklist .qpkg folders and don't scan Recently-Snapshot or recycle folders.
* Renamed the scale width to be scoped to kavita to avoid conflicts.
* Refactored ngx-sliders out to use normal range instead. Changed up the preferences to separate image and book settinngs into own accordion.
* updated user preferences for new migration options (not committed yet)
* Removed some debug code
* Remove console.logs
* Migration committed, let's release this to users.
* A lot of crazy code just to ensure that when you close drawer the toggle reflectst that state.
* bug-fix/typos and linting
* Update API.csproj
* Squashed commit of the following:
commit d796bcdc0a
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 26 00:24:25 2022 +0000
Bump versions by dotnet-bump-version.
commit 3c92b6d8a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 19:11:01 2022 -0500
Fixed the logic for caluclating time to read on comics
commit e7617862a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 17:49:45 2022 -0500
Don't use plural if there is only 1 hour for reading
commit 713e20ebf4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 17:48:50 2022 -0500
Tweaked when we calculate min reading time
commit c0f7dd39a2
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 22:10:42 2022 +0000
Bump versions by dotnet-bump-version.
commit c1490d6e86
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 16:53:39 2022 -0500
Word Count (#1286)
* Adding some code for Robbie
* See more on series detail metadata area is now at the bottom on the section
* Cleaned up subtitle headings to use a single class for offset with actionables
* Added some markup for the new design, waiting for Robbie to finish it off
* styling age-rating badge
* Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.
* Hooked up analyze ui to backend
* Refactored Series Detail metadata area to use a new icon/title design
* Cleaned up the new design
* Pushing for robbie to do css
* Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.
* Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.
* Hooked up actual reading time based on user's words per hour
* Refactor some magic numbers to consts
* Hooked in progress reporting for series word count
* Hooked up analyze files
* Re-implemented time to read on comics
* Removed the word Last Read
* Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.
* Reworked error handling
* Fixed some security vulnerabilities in npm.
* Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.
* Tweaked the styles a bit on the icon-and-title
* Code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 0a70ac35dc
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 19:39:11 2022 +0000
Bump versions by dotnet-bump-version.
commit a9a1ec02ca
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 14:25:53 2022 -0500
Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)
commit 1247f450e2
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 17:21:56 2022 +0000
Bump versions by dotnet-bump-version.
commit 1a128a3af4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 12:05:16 2022 -0500
Implemented the ability to read format tag and force special status. (#1284)
commit a0e1ba8d67
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 23 23:30:19 2022 +0000
Bump versions by dotnet-bump-version.
commit e0a2fc615f
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Mon May 23 18:19:52 2022 -0500
UX Changes, Tasks, WebP, and More! (#1280)
* When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.
* Some cleanup on the user preferences to remove some calls we don't need anymore.
* Removed old bulk cleanup bookmark code as it's no longer needed.
* Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.
* Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.
* Implemented the ability to bulk convert bookmarks (as many times as the user wants).
Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.
* Tweaked the wording around the convert switch.
* Moved System actions to the task tab
* Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.
* Fixed the unit tests
commit dd83b6a9a1
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 23:36:25 2022 +0000
Bump versions by dotnet-bump-version.
commit 16eb1e3e8e
Author: Joseph Milazzo <josephmajora@gmail.com>
Date: Sat May 21 18:24:18 2022 -0500
version bump (#1271)
commit f4f91fa5a9
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 23:03:49 2022 +0000
Bump versions by dotnet-bump-version.
commit 1801afd4a7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sat May 21 17:52:57 2022 -0500
Updated the readme to reflect new UX and some tweaks to wordings. (#1270)
commit bcad2e4a55
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 02:18:06 2022 +0000
Bump versions by dotnet-bump-version.
commit 81082508f2
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 20 21:05:09 2022 -0500
Release Shakeout Part 2 (#1267)
* Fixed manga reader and removed debug code
* Removed some console.logs
commit 92010379f1
Author: majora2007 <josephmajora@gmail.com>
Date: Fri May 20 23:00:48 2022 +0000
Bump versions by dotnet-bump-version.
commit a062341564
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 20 17:50:17 2022 -0500
Release Shakeout (#1266)
* Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough.
* Fixed pagination placement on original scaling
* Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader.
* Fixing select on black book-reader theme
* Fixing canvas split centering
* Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day.
* Use grid on related tab
* Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden
* Fixed bug where filter might stay open between pages
* Fixed typo on relationship for Adaptation
* Contains was missing from series relation modal
* Tweaked some methods and wording on reading list page
* Cleaned up the phrasing when we abort a scan.
* Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options
* Fixed some typeahead bugs and decreased interval for docker health check
* Cleaned up and fixed some logic with receiving cover image update events
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 49d8a7c6ca
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 19 12:24:13 2022 +0000
Bump versions by dotnet-bump-version.
commit f2b1cd55f0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Thu May 19 07:14:18 2022 -0500
Remove Light and E-Ink theme (#1263)
* Refactored code to show action bar instead of drawer in immersive mode
* Card grid
* adding margin for pagination gap
* Fixed a rare routing case that wouldn't redirect
* Fixed a bug where series detail would show blank filtering
* Fixing image scaling and library card spacing
* Refactored some methods to be static
* Adding card grid to series detail
* Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.
* Ensure emails are trimmed when trying to invite.
* Don't show More In if there is only 1 item in there on library recommended tab
* Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.
* Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).
* Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense
* Refactored the series detail to use Robbie's new grid system.
* some styling fixes
* Styling fixes
- Removing select border gap
- fixing switches on lite theme
- fixing search result text-light
* better css var naming
* changing search lite text color override
* fixing as per feedback
* Removing boolean from being visible in bookreader
* Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.
* Wrote basic code to remove other themes. Need a migration instead.
* Added a migration to remove light/e-ink themes and migrate users over to Dark theme by default.
* Fixed unit tests
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 876e19177e
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 19 00:46:22 2022 +0000
Bump versions by dotnet-bump-version.
commit 1961b41268
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 18 19:31:49 2022 -0500
Last batch of bugfixes (#1262)
* Refactored code to show action bar instead of drawer in immersive mode
* Card grid
* adding margin for pagination gap
* Fixed a rare routing case that wouldn't redirect
* Fixed a bug where series detail would show blank filtering
* Fixing image scaling and library card spacing
* Refactored some methods to be static
* Adding card grid to series detail
* Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.
* Ensure emails are trimmed when trying to invite.
* Don't show More In if there is only 1 item in there on library recommended tab
* Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.
* Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).
* Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense
* Refactored the series detail to use Robbie's new grid system.
* some styling fixes
* Styling fixes
- Removing select border gap
- fixing switches on lite theme
- fixing search result text-light
* better css var naming
* changing search lite text color override
* fixing as per feedback
* Removing boolean from being visible in bookreader
* Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 6f23a3bc6d
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 15 21:31:42 2022 +0000
Bump versions by dotnet-bump-version.
commit 92fb185f20
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Sun May 15 17:21:17 2022 -0400
Adding code to make sure bottom actionbar is applied on layout change (#1258)
commit bb791b7789
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 15 19:44:47 2022 +0000
Bump versions by dotnet-bump-version.
commit cdc4931770
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 15 14:34:53 2022 -0500
Reader scroll area fix (#1257)
* Changes to make the pagination area scrollable (not working, debug code for Robbie)
* Adjusted the html to be easier to understand and more streamlined
* Fixed inability to scroll in manga reader over pagination areas for everything but the bottom bar
* Book reader now allows you to scroll over pagination area
commit ccb6414e9e
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 14 22:13:24 2022 +0000
Bump versions by dotnet-bump-version.
commit d458a823ef
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sat May 14 17:02:58 2022 -0500
More Reader Bugfixes (#1255)
* Added css to center images
* Better scaling css
* Removing vertical height css for actionbar calc
* Fixed a bug where book settings couldn't be saved due to typo in model
* fixing height across layouts
* Fixed an issue where column mode would reset to user preference default between continuous reader loads
* Fixing some more logic
* Reading direction arrow keys now flip
* Small code cleanup on Robbie's code
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit be5b997259
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 14 00:40:11 2022 +0000
Bump versions by dotnet-bump-version.
commit f701f8e599
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 13 19:30:37 2022 -0500
Book Reader Bugfixes (#1254)
* Fixed image scoping breaking and books not being able to load images
* Cleaned up a lot of variables and added more jsdoc. After shifting the margin, we try to recover the column layout width,height, and scroll posisiton.
* Tap to paginate is working on first load now
* On resize, rescroll to attempt to avoid breakage
* Fixed transparent background for action bar on white theme
* Moved some lists to immutable arrays
* Actually fixed backgournd now
* Fixed some settings not updating in book reader on load
* Put some code in place to test out opening menu with clicking on the document
* Fixed settings not propagating to the reader
* Fixing 2 column when loading annd ios mobile
* Fixed an issue where paging to prev page would sometimes skip the first page.
* Fixing previous page skipping first page of chapter
* removing console logs
* Save progress when we page
* Click on document to show the side nav
* Removed columns auto because it could render more columns than applicable. Don't explicitly call saveProgress on prev page, as we already do in another call.
Adjusted the logic to calculate windowHeight and width to be the same throughout the reader.
* Setting select fix and settings polish
* Fixed awkward tooltip wording
* Added a message for when there is nothing to show on recommended tab
* Removed bug marker, there was no bug after all
* Fixing book title truncation in action bar
* When counting volumes or chapters that have range, count the max part of the range for publication status.
* Fixing TOC rendering issue
* Styling fixes
- Fixed an issue where the image height in the book reader was the column height plus padding so it was breaking pagination calc.
- Centered book reader setting pills
- Made inactive setting pill into a ghost button
- Fixed spacing across the reader settings drawer
* Added a bit of code to allow us to disable buttons before we click for next chapter load
* Removed titles from action bars
* The next page button will now show as the primary color to indicate to the user what the next forward page is.
* Added a view series to bookmark page and removed actions from header since it didn't work
* Fixed a bug where pagination wasn't mutating url state
* Lots of changes, code is kinda working.
Added Immersive Mode, but didn't generate migration.
Added concept of virtual pages with ability to see them. Math is still slightly off.
Cleaned up prefetching code so we do it much earlier.
Added some code that doesn't work to disable buttons with virtual paging included.
* When turning immersive mode on, force tap to paginate
* Refactored out the book reader state as it wasn't very beneficial
* Fixed total virtual page calculation
* Next/prev page seems to be working pretty well
* Applied Robbie's virtual page logic and fixed a bug in prev page code
* Changed the next page to use same virtual page logic
* Getting back and forward working...somehow.
* removing redundant code
* Fixing book title overflow from new action bar changes
* Polishing pagination styles
* Changing chapter to section
* Fixing up other book reader themes
* Fixed the login header being off-center
* Fixing styling to follow approach
* Refactored the pagination buttons to properly call next/prev page based on reading direction
* Drawer pagination buttons now respect when there is no chapters (prev/next)
* Everything except disabling buttons when on last possible page working
* Added Book Reader immersive mode migration
* Disable next/prev buttons for continuous reading before we request next/prev chapter if there is no chapter.
* Show a tooltip for the title
* Fixed unit test
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit dfcc2f0813
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 9 01:01:46 2022 +0000
Bump versions by dotnet-bump-version.
commit 2723a6cd10
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 8 19:52:15 2022 -0500
Book Reader Redesign with e-ink focus (#1246)
* Refactored the drawer into offcanvas component. Had to write some hacks to emulate how bootstrap's javascript implementation works as ngBootstrap doesn't have a component yet.
* Cleaned up some of the code
* Rewrote drawer to align it with the new design
* First pass, refactored table of content into it's own component
* Refactored all of the settings logic into a separate component. Everything is broken.
* More settings on on reactive form
* More code cleanup on settings
* Misc fixes around the drawer code. Fixed a bug where range sliders were inheriting background color of normal text inputs
* Fixed dark mode with book reader.
We now clear the theme from the main app so book reader is self-contained. Styles for dark mode are injected into the reading-section. Styles that were previously in scss are now only for the actual menu system.
* Cleaned up drawer styling on header
* Removed an ngIf statement for click to paginate
* Tweaked the accent style to have smaller font size and adjusted style on light mode. Cleaned up some clearTimeout code in a further effort to streamline codebase.
* Refactored Dark mode into a basic theme. Currently styles are hardcoded.
* Patched book theme in from themes branch
* Patched in the backend for Book Theme (not tested yet)
* Fixed a bug in seeding code for book themes. Started integration of themes into the reader settings
* Everything except managing themes is working. Themes are a bit shakey, having second thoughts if we should have them or not.
* Reverted the ability to do custom user book themes. Code is stable with system themes.
* Stablize the Styles (#1128)
* Fixed a bug where adding multiple series to reading list would throw an error on UI, but it was successful.
* When a series has a reading list, we now show the connection on Series detail.
* Removed all baseurl code from UI and not-connected component since we no longer use it.
* Fixed tag badges not showing a border. Added last read time to the series detail page
* Fixed up error interceptor to remove no-connection code
* Changed implementation for series detail. Book libraries will never send chapters back. Volume 0 volumes will not be sent in volumes ever. Fixed up more renaming logic on books to send more accurate representations to the UI.
* Cleaned up the selected tab and tab display logic
* Fixed a bad where statement in reading lists for series
* Fixed up tab logic again
* Fixed a small margin on search backdrop
* Made badge expander button smaller to align with badges
* Fixed a few UIs due to .form-group and .form-row being removed
* Updated Theme component page to help with style testing
* Added more components to theme tester
* Cleaned up some styling
* Fixed opacity on search item hover
* Bump versions by dotnet-bump-version.
* Tweaked the accordion styles for light mode
* Set dark book theme as default. Refactored resetSettings to be much cleaner
* Started the refactor to allow book themes to affect global css variables
* Fixed some issues with my css variable declarations
* Fixed a close model state update
* Lots of work, but dark mode on the book reader is basically done. We have to code the themes much like the site themes
* Some black theme enhancements
* Started working on column layout in book reader.
* Cleaned up the CSS on Reader Settings
* Hooked up reading direction
* Got column and double column layout working
* Implemented some basic virtual paging and hooked in book color theme and layout mode into user preferences.
* Migration wrote, can edit page layout and color theme on book reader. Removed book dark mode since no longer needed.
Fixed a bug on login/register forms where when input is focused, text is white and not black.
* When loading book reader, apply column layout.
* Lots of work around 2 column layout, working on images not splitting. Still not working, committing so i can merge develop in and validate code with new manga reader.
* Fixed images being split into 2 BUT regression on each page boundary, total reading height is smaller and smaller
* Fixed some rendering bugs where toggling column layouts would shrink images on screen constantly.
Fixed a bug where bottom bar wouldn't render on column layout in some conditions (this might need to be reworked)
* Started progress on progress work
* Updated .NET to 6.0.4
* Fixed a bug where DataContextModelSnapshot was being removed on build thus new migrations were broken.
* Tweaked the code around progress saving so that we don't loose track of last scroll element on page load
* Trying to restore progress, but stuck
* Extra merge stuff
* Fixed a bug where volumes that are a range fail to generate series detail
* No gutters on whole app. Book reader backend now applies the image class automatically at the backend.
* Added wiki documentation into invite user flow and register admin user to help users understand email isn't required and they can host their own service.
* Removed bottom padding
* Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.
* Fixed the height of the action bar to simplify logic and keep the code cleaner. Refactored book service image scoping to be much more streamlined and efficient
* Fixed the height of action bar to 62px and adjusted code to use the hardcoded px. (code commented)
* Removed commented out code from fixed action bar height
* Progress restoration seems to be working
* Code cleanup
* Ensure the bottom action bar is at the bottom of the viewport on small pages
* Fixed book fonts not setting properly and added OpenDyslexic font.
* Fixed up some font issues
* Updated drawer so all sections are open by default
* Switched some LINQ to use MinBy
* When navigating between pages and column layout, adjust the shift for the user.
* Removed some debug code
* Blacklist .qpkg folders and don't scan Recently-Snapshot or recycle folders.
* Renamed the scale width to be scoped to kavita to avoid conflicts.
* Refactored ngx-sliders out to use normal range instead. Changed up the preferences to separate image and book settinngs into own accordion.
* updated user preferences for new migration options (not committed yet)
* Removed some debug code
* Remove console.logs
* Migration committed, let's release this to users.
* A lot of crazy code just to ensure that when you close drawer the toggle reflectst that state.
* bug-fix/typos & linting
* Add files via upload
* bug-fix/double layout
html: image-1 <img> needed closing
scss: full-height needed display: inline-block (not grid)
* bug-fix/itemsPerPage
Set items per page to 112 (%8=0, %7=0)
* Revert "Add files via upload"
This reverts commit 446e3e0f04.
Revert upload package.json
* bugfix/user-preferences
Fixed a bug with the BookReader panel id missing brackets which prevented the accordion from functioning correctly.
* Squashed commit of the following:
commit ebbb3ec86b
Merge: 24d905272ed0aca8
Author: marcelo <mguimaraes@okanagan.bc.ca>
Date: Fri Jun 17 21:15:42 2022 -0700
Merge remote-tracking branch 'upstream/develop' into develop
commit 2ed0aca866
Author: majora2007 <josephmajora@gmail.com>
Date: Thu Jun 16 17:20:39 2022 +0000
Bump versions by dotnet-bump-version.
commit 9c851b0f0e
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Thu Jun 16 12:08:09 2022 -0500
Directory Picker Rework (#1325)
* Started on the directory picker refactor.
* Coded some basic working version. Needs styling and variable cleanup
* code cleanup
* Implemented the ability to expose swagger on non-development servers.
* Implemented the ability to expose swagger on non-development servers.
commit 0f5a7ee6fa
Author: majora2007 <josephmajora@gmail.com>
Date: Thu Jun 16 14:09:35 2022 +0000
Bump versions by dotnet-bump-version.
commit c8418d127c
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Thu Jun 16 09:50:23 2022 -0400
Bugfix for sticky tabs on firefox (#1322)
* Updating calcs for firefox
* Removing unused code
* Fixed up browser discrepencies
* Review updates
* Review updates
* Added debouncing to scroll
* Fixed a janky scroll issue with overscrolling
* Cleaned up the code to use renderer and injectable document for SSR.
* Removing sticky tabs
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
commit 5b829af531
Author: majora2007 <josephmajora@gmail.com>
Date: Wed Jun 15 21:57:45 2022 +0000
Bump versions by dotnet-bump-version.
commit 3ab3a10ae7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed Jun 15 16:43:32 2022 -0500
New PDF Reader (#1324)
* Refactored all the code that opens the reader to use a unified function. Added new library and setup basic pdf reader route.
* Progress saving is implemented. Targeting ES6 now.
* Customized the toolbar to remove things we don't want, made the download button download with correct filename. Adjusted zoom setting to work well on first load regardless of device.
* Stream the pdf file to the UI rather than handling the download ourselves.
* Started implementing a custom toolbar.
* Fixed up the jump bar calculations
* Fixed filtering being broken
* Pushing up for Robbie to cleanup the toolbar layout
* Added an additional button. Working on logic while robbie takes styling
* Tried to fix the code for robbie
* Tweaks for fonts
* Added button for book mode, but doesn't seem to work after renderer is built
* Removed book mode
* Removed the old image caching code for pdfs as it's not needed with new reader
* Removed the interfaces to extract images from pdf.
* Fixed original pagination area not scaling correctly
* Integrated series remove events to library detail
* Cleaned up the getter naming convention
* Cleaned up some of the manga reader code to reduce cluter and improve re-use
* Implemented Japanese parser support for volume and chapters.
* Fixed a bug where resetting scroll in manga reader wasn't working
* Fixed a bug where word count grew on each scan.
* Removed unused variable
* Ensure we calculate word count on files with their own cache timestamp
* Adjusted size of reel headers
* Put some code in for moving on original image with keyboard, but it's not in use.
* Cleaned up the css for the pdf reader
* Cleaned up the code
* Tweaked the list item so we show scrollbar now when fully read
commit 384fac68c4
Author: majora2007 <josephmajora@gmail.com>
Date: Tue Jun 14 15:18:27 2022 +0000
Bump versions by dotnet-bump-version.
commit 78f0bad144
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Tue Jun 14 11:01:06 2022 -0400
dynamic height for series detail (#1321)
* Adding dynamic height function
* pushing change requests
* Moved method to getter
* Changed carousel reel to onpush strat
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
commit 1edf23d8c3
Author: majora2007 <josephmajora@gmail.com>
Date: Tue Jun 14 12:20:50 2022 +0000
Bump versions by dotnet-bump-version.
commit 791e852596
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Tue Jun 14 08:07:28 2022 -0400
Fixing sticky tabs overlapping title on longer titles (#1320)
commit 549b889639
Author: majora2007 <josephmajora@gmail.com>
Date: Mon Jun 13 21:51:00 2022 +0000
Bump versions by dotnet-bump-version.
commit bbc48a5f5b
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Mon Jun 13 16:37:49 2022 -0500
Infinite Scroll + List View + Cover Upload Redesign (#1319)
* Started with the redesign of the cover image chooser redesign to be less click intensive for volume/chapter images.
Made some headings bold in card detail drawer.
* Tweaked the styles
* Moved where the info cards show
* Added an ability to open a page settings drawer
* Cleaned up some old code that isn't needed anymore.
* Started implementing a list view. Refactored some title code to a dedicated component
* List view implemented but way too many API calls. Either need caching or adjusting the SeriesDetail api.
* Fixed a bug where if the progress bar didn't render on a card item while a download was in progress, the download indicator would be removed.
* Large refactor to move a lot of the needed fields to the chapter and volume dtos for series detail. All fields are noted when only used in series detail.
* Implemented cards for other tabs (except related)
* Fixed the unit test which needed a mocked reader service call.
* More cleanup around age rating and removing old code from the refactor. Commented out sorting till i feel motivated to work on that.
* Some cleanup and restored cards as initial layout. Time to test this out and see if there is value add.
* Added ability for Chapters tab to show the volume chapters belong to (if applicable)
* Adding style fixes
* Cover image updates, don't allow the first image (which is what is currently set) to respond to cover changes.
Hide the ID field on list item for series detail.
* Refactored the title for list item to be injectable
* Cleaned up the selection code to make it less finicky on mobile when tap scrolling.
* Refactored chapter tab to show volume as well on list view.
* Ensure word count shows for Volumes
* Started adding virtual scrolling, pushing up so Robbie can mess around
* Started adding virtual scrolling, pushing up so Robbie can mess around
* Fixed a bug where all chapters would come under specials
* Show title data as accent if set.
* Style fixes for virtual scroller
* Restyling scroll
* Implemented a way to show storyline with virtual scrolling
* Show Word Count for chapters and cleaned up some logics.
* I might have card layout working with virtual scroll code.
* Some cleanup to hide more system like properties from info bar on series detail page. Fixed some missing time estimate info on storyline chapters.
* Fixed a regression on series service when I integrated VolumeTitle.
* Refactored read time to the backend. Added WordCount to the volume itself so we don't need to calculate on frontend. When asking to analyze files from a series, force the calculation.
* Fixed SeriesDetail api code
* Fixed up the code in the drawer to better update list/card mode
* Basic infinite scroll implemented, however due to how we are updating the list to render, we are re-rending cards that haven't been touched.
* Updated how we render and layout data for infinite scroll on library detail. It's almost there.
* Started laying foundation for loading pages backwards.
Removed lazy loading of images since we are now using virtual paging.
* Hooked in some basic code to allow user to load a prev page with infinite scroll.
* Fixed up series detail api and undid the non-lazy loaded images.
Changed the router to help with this infinite loading on Firefox issue.
* Fixed up some naming issues with Series Detail and added a new test.
* This is an infinite scroll without pagination implementation. It is not fully done, but off to a good start. Virtual scroller with jump bar is working pretty well, def needs more polishing and tweaking. There are hacks in this implementation that need to be revisited.
* Refactored code so that we don't use any pagination and load all results by default.
* Misc code cleanup from build warnings.
* Cleaned up some logic for how to display titles in list view.
* More title cleanup for specials
* Hooked up page layout to user preferences and renamed an existing user pref name to match the dto.
* Swapped out everything but storyline with virtual-scroller over CDK
* Removed CDK from series detail.
* Default value for migration on page layout
* Updating card layout for library detail page
* fixing height for mobile
* Moved scrollbar
* Tweaked some styling for layouts when there is no data
* Refactored the series cards into their own component to make it re-usable.
* More tweaks on series info cards layout and enhanced a few pages with trackby functions.
* Removed some dead code
* Added download on series detail to actionables to fit in with new scroll strategy.
* Fixed language not being updated and sent to the backend for series update.
* Fixed a bad migration (if you ran any prior migration in this branch, you need to undo before you use this commit)
* Adding sticky tabs
* fixed mobile gap on sticky tab
* Enhanced the card title for books to show number up front.
* Adjusted the gutters on admin dashboard
* Removed debug code
* Removing duplicate book title
* Cleaned up old references to cdk scroller
* Implemented a basic jump bar scaling algorithm. Not perfect, but works pretty well.
* Code smells
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit f0f0e23e88
Author: majora2007 <josephmajora@gmail.com>
Date: Fri Jun 10 15:05:27 2022 +0000
Bump versions by dotnet-bump-version.
commit 54e94bfcb2
Author: Marcelo Guimarães Junior <75567460+magujun@users.noreply.github.com>
Date: Fri Jun 10 07:52:42 2022 -0700
bugfix/user-preferences-accordion (#1307)
* Add files via upload
* Revert "Add files via upload"
This reverts commit 446e3e0f04.
Revert upload package.json
* bugfix/user-preferences
Fixed a bug with the BookReader panel id missing brackets which prevented the accordion from functioning correctly.
commit 0124620e36
Author: majora2007 <josephmajora@gmail.com>
Date: Wed Jun 8 00:06:51 2022 +0000
Bump versions by dotnet-bump-version.
commit 77b8551620
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Tue Jun 7 18:48:25 2022 -0500
Bugfix/reader issues (#1311)
* Updated the design of icon and text to show a label.
* Fixed a bug when fit to height and there is overflow on horizontal, the pagination area is stuck to the original width and after scrolling right, the pagination area doesn't move.
* Attempt to fix a border showing on eink readers white mode with book reader
* Removed debug code
* Added back in pagination controls
* fixing viewport overflow issue
* Ensure volume detail drawer shows all pages for the volume, not just first chapter. Don't show release date when it's not a real date. Non-ongoing series will now show a different icon.
* Fixing drawer viewport issue
* Fix for book cover extending across multiple pages (#1269)
* Attaching book-reader scale style to parent instead of image
* Fixing some width issues on images
* Making sure max-height is respected
* Fixing duplicate styles which caused excessive breaks
* Updated the readme to reflect new UX and some tweaks to wordings. (#1270)
* Bump versions by dotnet-bump-version.
* version bump (#1271)
* Bump versions by dotnet-bump-version.
* UX Changes, Tasks, WebP, and More! (#1280)
* When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.
* Some cleanup on the user preferences to remove some calls we don't need anymore.
* Removed old bulk cleanup bookmark code as it's no longer needed.
* Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.
* Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.
* Implemented the ability to bulk convert bookmarks (as many times as the user wants).
Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.
* Tweaked the wording around the convert switch.
* Moved System actions to the task tab
* Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.
* Fixed the unit tests
* Bump versions by dotnet-bump-version.
* Implemented the ability to read format tag and force special status. (#1284)
* Bump versions by dotnet-bump-version.
* Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)
* Bump versions by dotnet-bump-version.
* Word Count (#1286)
* Adding some code for Robbie
* See more on series detail metadata area is now at the bottom on the section
* Cleaned up subtitle headings to use a single class for offset with actionables
* Added some markup for the new design, waiting for Robbie to finish it off
* styling age-rating badge
* Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.
* Hooked up analyze ui to backend
* Refactored Series Detail metadata area to use a new icon/title design
* Cleaned up the new design
* Pushing for robbie to do css
* Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.
* Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.
* Hooked up actual reading time based on user's words per hour
* Refactor some magic numbers to consts
* Hooked in progress reporting for series word count
* Hooked up analyze files
* Re-implemented time to read on comics
* Removed the word Last Read
* Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.
* Reworked error handling
* Fixed some security vulnerabilities in npm.
* Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.
* Tweaked the styles a bit on the icon-and-title
* Code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Bump versions by dotnet-bump-version.
* Tweaked when we calculate min reading time
* Don't use plural if there is only 1 hour for reading
* Fixed the logic for caluclating time to read on comics
* Bump versions by dotnet-bump-version.
* Drawers, Estimated Reading Time, Korean Parsing Support (#1297)
* Started building out idea around detail drawer. Need code from word count to continue
* Fixed the logic for caluclating time to read on comics
* Adding styles
* more styling fixes
* Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon.
* Pulled Robbie's changes in and partially migrated them to the drawer.
* Add offset overrides for offcanvas so it takes our header into account
* Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges.
* Cleaned up the drawer code.
* Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time.
* Quick catchups implemented
* Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan.
* Fixing drawer overflow
* Fixed a calculation bug with average reading time.
* Small spacing changes to drawer
* Don't show estimated reading time if the user hasn't read anything
* Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2)
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Added image to series detail drawer
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump versions by dotnet-bump-version.
* Time Estimation Cleanup (#1301)
* Moved the calculation for time to read to the backend. Tweaked some logic around showing est time to complete.
* Added debug logging to help pinpoint a duplicate issue in Kavita.
* More combination logic is error checked in a special way for Robbie to reproduce an issue.
* Migrated chapter detail card to use backend for time calculation. Ensure we take all chapters into account for volume time calcs
* Tweaked messaging for some critical logs to include file
* Ensure pages count uses comma separated number
* Moved Hangfire annotations to interface level. Adjusted word count service to always recalculate when user requests via analyze series files.
* Bump versions by dotnet-bump-version.
* Jump Bar Testing (#1302)
* Implemented a basic jump bar for the library view. This currently just interacts with existing pagination controls and is not inlined with infinite scroll yet. This is a first pass implementation.
* Refactored time estimates into the reading service.
* Cleaned up when the jump bar is shown to mimic pagination controls
* Cleanup up code in reader service.
* Scroll to card when selecting a jump key that is shown on the current page.
* Ensure estimated times always has the smaller number on left hand side.
* Fixed a bug with a missing vertical rule
* Fixed an off by 1 pixel for search overlay
* Bump versions by dotnet-bump-version.
* Jumpbar Tweaks (#1305)
* Adjusted the detail drawer to be slightly larger.
* Attempted to shorten the jump bar on smaller screens. Robbie needs to take a look at this.
* Adding plex-like styling to jumpbar
* style fixes
* style fixes
* More fixes *sigh*
* fix height issue
* Fixing jumpbar on mobile
* viewport height fix
* added --primary-color-scrollbar for overflow across the app
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Bump versions by dotnet-bump-version.
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: majora2007 <josephmajora@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump versions by dotnet-bump-version.
* Close drawer when opening a chapter to read
* The actionables were not working on chapters in the detail drawer for a volume. Added a distinct read action instead of having the user to have hidden knowledge you can click the cover images.
* Debug code in.
Fixed a bug where book reader pagination wasn't covering from top to bottom when immersive mode was on.
Trying to better ensure images don't span multiple virtual pages in column mode.
Changed icon/title so label is bolded
* Updated some dependencies for security issues. Fixed up the fix for images on column view wrapping to next virtual page. Lots of css tweaks to the layout code to make it easier to work with.
* When switching from column layout to default, scroll back to where the user was.
* Fixed some overlap on default mode with bottom bar
* Series Detail uses the cover image update mechanism builtin, instead of the old way to handle.
Added some text when there is no summary on a volume/chapter.
* Side nav filter now has clear button within field. Filter no longer shows when side nav is collapsed.
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 0906ca49a9
Author: majora2007 <josephmajora@gmail.com>
Date: Mon Jun 6 15:02:51 2022 +0000
Bump versions by dotnet-bump-version.
commit da312e3cee
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Mon Jun 6 10:47:19 2022 -0400
Fix for book cover extending across multiple pages (#1269)
* Attaching book-reader scale style to parent instead of image
* Fixing some width issues on images
* Making sure max-height is respected
* Fixing duplicate styles which caused excessive breaks
* Updated the readme to reflect new UX and some tweaks to wordings. (#1270)
* Bump versions by dotnet-bump-version.
* version bump (#1271)
* Bump versions by dotnet-bump-version.
* UX Changes, Tasks, WebP, and More! (#1280)
* When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.
* Some cleanup on the user preferences to remove some calls we don't need anymore.
* Removed old bulk cleanup bookmark code as it's no longer needed.
* Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.
* Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.
* Implemented the ability to bulk convert bookmarks (as many times as the user wants).
Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.
* Tweaked the wording around the convert switch.
* Moved System actions to the task tab
* Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.
* Fixed the unit tests
* Bump versions by dotnet-bump-version.
* Implemented the ability to read format tag and force special status. (#1284)
* Bump versions by dotnet-bump-version.
* Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)
* Bump versions by dotnet-bump-version.
* Word Count (#1286)
* Adding some code for Robbie
* See more on series detail metadata area is now at the bottom on the section
* Cleaned up subtitle headings to use a single class for offset with actionables
* Added some markup for the new design, waiting for Robbie to finish it off
* styling age-rating badge
* Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.
* Hooked up analyze ui to backend
* Refactored Series Detail metadata area to use a new icon/title design
* Cleaned up the new design
* Pushing for robbie to do css
* Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.
* Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.
* Hooked up actual reading time based on user's words per hour
* Refactor some magic numbers to consts
* Hooked in progress reporting for series word count
* Hooked up analyze files
* Re-implemented time to read on comics
* Removed the word Last Read
* Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.
* Reworked error handling
* Fixed some security vulnerabilities in npm.
* Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.
* Tweaked the styles a bit on the icon-and-title
* Code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Bump versions by dotnet-bump-version.
* Tweaked when we calculate min reading time
* Don't use plural if there is only 1 hour for reading
* Fixed the logic for caluclating time to read on comics
* Bump versions by dotnet-bump-version.
* Drawers, Estimated Reading Time, Korean Parsing Support (#1297)
* Started building out idea around detail drawer. Need code from word count to continue
* Fixed the logic for caluclating time to read on comics
* Adding styles
* more styling fixes
* Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon.
* Pulled Robbie's changes in and partially migrated them to the drawer.
* Add offset overrides for offcanvas so it takes our header into account
* Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges.
* Cleaned up the drawer code.
* Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time.
* Quick catchups implemented
* Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan.
* Fixing drawer overflow
* Fixed a calculation bug with average reading time.
* Small spacing changes to drawer
* Don't show estimated reading time if the user hasn't read anything
* Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2)
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Added image to series detail drawer
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump versions by dotnet-bump-version.
* Time Estimation Cleanup (#1301)
* Moved the calculation for time to read to the backend. Tweaked some logic around showing est time to complete.
* Added debug logging to help pinpoint a duplicate issue in Kavita.
* More combination logic is error checked in a special way for Robbie to reproduce an issue.
* Migrated chapter detail card to use backend for time calculation. Ensure we take all chapters into account for volume time calcs
* Tweaked messaging for some critical logs to include file
* Ensure pages count uses comma separated number
* Moved Hangfire annotations to interface level. Adjusted word count service to always recalculate when user requests via analyze series files.
* Bump versions by dotnet-bump-version.
* Jump Bar Testing (#1302)
* Implemented a basic jump bar for the library view. This currently just interacts with existing pagination controls and is not inlined with infinite scroll yet. This is a first pass implementation.
* Refactored time estimates into the reading service.
* Cleaned up when the jump bar is shown to mimic pagination controls
* Cleanup up code in reader service.
* Scroll to card when selecting a jump key that is shown on the current page.
* Ensure estimated times always has the smaller number on left hand side.
* Fixed a bug with a missing vertical rule
* Fixed an off by 1 pixel for search overlay
* Bump versions by dotnet-bump-version.
* Jumpbar Tweaks (#1305)
* Adjusted the detail drawer to be slightly larger.
* Attempted to shorten the jump bar on smaller screens. Robbie needs to take a look at this.
* Adding plex-like styling to jumpbar
* style fixes
* style fixes
* More fixes *sigh*
* fix height issue
* Fixing jumpbar on mobile
* viewport height fix
* added --primary-color-scrollbar for overflow across the app
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Bump versions by dotnet-bump-version.
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: majora2007 <josephmajora@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 24d905275c
Author: magujun <guimaraesjunior.marcelo@gmail.com>
Date: Sun Jun 5 23:41:02 2022 -0700
bugfix/user-preferences
Fixed a bug with the BookReader panel id missing brackets which prevented the accordion from functioning correctly.
commit fbdf8dfe8a
Author: majora2007 <josephmajora@gmail.com>
Date: Thu Jun 2 14:40:21 2022 +0000
Bump versions by dotnet-bump-version.
commit a19f4641f4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Thu Jun 2 09:22:21 2022 -0500
Jumpbar Tweaks (#1305)
* Adjusted the detail drawer to be slightly larger.
* Attempted to shorten the jump bar on smaller screens. Robbie needs to take a look at this.
* Adding plex-like styling to jumpbar
* style fixes
* style fixes
* More fixes *sigh*
* fix height issue
* Fixing jumpbar on mobile
* viewport height fix
* added --primary-color-scrollbar for overflow across the app
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 7f51ea2d0f
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 30 22:02:06 2022 +0000
Bump versions by dotnet-bump-version.
commit 742cfd3293
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Mon May 30 16:50:12 2022 -0500
Jump Bar Testing (#1302)
* Implemented a basic jump bar for the library view. This currently just interacts with existing pagination controls and is not inlined with infinite scroll yet. This is a first pass implementation.
* Refactored time estimates into the reading service.
* Cleaned up when the jump bar is shown to mimic pagination controls
* Cleanup up code in reader service.
* Scroll to card when selecting a jump key that is shown on the current page.
* Ensure estimated times always has the smaller number on left hand side.
* Fixed a bug with a missing vertical rule
* Fixed an off by 1 pixel for search overlay
commit 64c0b5a71e
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 29 15:01:47 2022 +0000
Bump versions by dotnet-bump-version.
commit 8e69b6cfc0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 29 09:50:59 2022 -0500
Time Estimation Cleanup (#1301)
* Moved the calculation for time to read to the backend. Tweaked some logic around showing est time to complete.
* Added debug logging to help pinpoint a duplicate issue in Kavita.
* More combination logic is error checked in a special way for Robbie to reproduce an issue.
* Migrated chapter detail card to use backend for time calculation. Ensure we take all chapters into account for volume time calcs
* Tweaked messaging for some critical logs to include file
* Ensure pages count uses comma separated number
* Moved Hangfire annotations to interface level. Adjusted word count service to always recalculate when user requests via analyze series files.
commit 99d603bb80
Author: magujun <guimaraesjunior.marcelo@gmail.com>
Date: Sat May 28 08:08:25 2022 -0700
Revert "Add files via upload"
This reverts commit 446e3e0f04.
Revert upload package.json
commit 446e3e0f04
Author: Marcelo Guimarães Junior <75567460+magujun@users.noreply.github.com>
Date: Fri May 27 17:45:38 2022 -0700
Add files via upload
commit 85b4ad0c58
Author: majora2007 <josephmajora@gmail.com>
Date: Fri May 27 14:20:33 2022 +0000
Bump versions by dotnet-bump-version.
commit 63475722ea
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 27 09:08:54 2022 -0500
Drawers, Estimated Reading Time, Korean Parsing Support (#1297)
* Started building out idea around detail drawer. Need code from word count to continue
* Fixed the logic for caluclating time to read on comics
* Adding styles
* more styling fixes
* Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon.
* Pulled Robbie's changes in and partially migrated them to the drawer.
* Add offset overrides for offcanvas so it takes our header into account
* Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges.
* Cleaned up the drawer code.
* Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time.
* Quick catchups implemented
* Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan.
* Fixing drawer overflow
* Fixed a calculation bug with average reading time.
* Small spacing changes to drawer
* Don't show estimated reading time if the user hasn't read anything
* Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2)
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Added image to series detail drawer
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit d796bcdc0a
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 26 00:24:25 2022 +0000
Bump versions by dotnet-bump-version.
commit 3c92b6d8a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 19:11:01 2022 -0500
Fixed the logic for caluclating time to read on comics
commit e7617862a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 17:49:45 2022 -0500
Don't use plural if there is only 1 hour for reading
commit 713e20ebf4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 17:48:50 2022 -0500
Tweaked when we calculate min reading time
commit c0f7dd39a2
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 22:10:42 2022 +0000
Bump versions by dotnet-bump-version.
commit c1490d6e86
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 16:53:39 2022 -0500
Word Count (#1286)
* Adding some code for Robbie
* See more on series detail metadata area is now at the bottom on the section
* Cleaned up subtitle headings to use a single class for offset with actionables
* Added some markup for the new design, waiting for Robbie to finish it off
* styling age-rating badge
* Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.
* Hooked up analyze ui to backend
* Refactored Series Detail metadata area to use a new icon/title design
* Cleaned up the new design
* Pushing for robbie to do css
* Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.
* Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.
* Hooked up actual reading time based on user's words per hour
* Refactor some magic numbers to consts
* Hooked in progress reporting for series word count
* Hooked up analyze files
* Re-implemented time to read on comics
* Removed the word Last Read
* Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.
* Reworked error handling
* Fixed some security vulnerabilities in npm.
* Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.
* Tweaked the styles a bit on the icon-and-title
* Code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 0a70ac35dc
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 19:39:11 2022 +0000
Bump versions by dotnet-bump-version.
commit a9a1ec02ca
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 14:25:53 2022 -0500
Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)
commit 1247f450e2
Author: majora2007 <josephmajora@gmail.com>
Date: Wed May 25 17:21:56 2022 +0000
Bump versions by dotnet-bump-version.
commit 1a128a3af4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 25 12:05:16 2022 -0500
Implemented the ability to read format tag and force special status. (#1284)
commit a0e1ba8d67
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 23 23:30:19 2022 +0000
Bump versions by dotnet-bump-version.
commit e0a2fc615f
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Mon May 23 18:19:52 2022 -0500
UX Changes, Tasks, WebP, and More! (#1280)
* When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.
* Some cleanup on the user preferences to remove some calls we don't need anymore.
* Removed old bulk cleanup bookmark code as it's no longer needed.
* Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.
* Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.
* Implemented the ability to bulk convert bookmarks (as many times as the user wants).
Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.
* Tweaked the wording around the convert switch.
* Moved System actions to the task tab
* Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.
* Fixed the unit tests
commit dd83b6a9a1
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 23:36:25 2022 +0000
Bump versions by dotnet-bump-version.
commit 16eb1e3e8e
Author: Joseph Milazzo <josephmajora@gmail.com>
Date: Sat May 21 18:24:18 2022 -0500
version bump (#1271)
commit f4f91fa5a9
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 23:03:49 2022 +0000
Bump versions by dotnet-bump-version.
commit 1801afd4a7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sat May 21 17:52:57 2022 -0500
Updated the readme to reflect new UX and some tweaks to wordings. (#1270)
commit bcad2e4a55
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 21 02:18:06 2022 +0000
Bump versions by dotnet-bump-version.
commit 81082508f2
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 20 21:05:09 2022 -0500
Release Shakeout Part 2 (#1267)
* Fixed manga reader and removed debug code
* Removed some console.logs
commit 92010379f1
Author: majora2007 <josephmajora@gmail.com>
Date: Fri May 20 23:00:48 2022 +0000
Bump versions by dotnet-bump-version.
commit a062341564
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 20 17:50:17 2022 -0500
Release Shakeout (#1266)
* Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough.
* Fixed pagination placement on original scaling
* Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader.
* Fixing select on black book-reader theme
* Fixing canvas split centering
* Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day.
* Use grid on related tab
* Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden
* Fixed bug where filter might stay open between pages
* Fixed typo on relationship for Adaptation
* Contains was missing from series relation modal
* Tweaked some methods and wording on reading list page
* Cleaned up the phrasing when we abort a scan.
* Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options
* Fixed some typeahead bugs and decreased interval for docker health check
* Cleaned up and fixed some logic with receiving cover image update events
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 49d8a7c6ca
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 19 12:24:13 2022 +0000
Bump versions by dotnet-bump-version.
commit f2b1cd55f0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Thu May 19 07:14:18 2022 -0500
Remove Light and E-Ink theme (#1263)
* Refactored code to show action bar instead of drawer in immersive mode
* Card grid
* adding margin for pagination gap
* Fixed a rare routing case that wouldn't redirect
* Fixed a bug where series detail would show blank filtering
* Fixing image scaling and library card spacing
* Refactored some methods to be static
* Adding card grid to series detail
* Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.
* Ensure emails are trimmed when trying to invite.
* Don't show More In if there is only 1 item in there on library recommended tab
* Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.
* Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).
* Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense
* Refactored the series detail to use Robbie's new grid system.
* some styling fixes
* Styling fixes
- Removing select border gap
- fixing switches on lite theme
- fixing search result text-light
* better css var naming
* changing search lite text color override
* fixing as per feedback
* Removing boolean from being visible in bookreader
* Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.
* Wrote basic code to remove other themes. Need a migration instead.
* Added a migration to remove light/e-ink themes and migrate users over to Dark theme by default.
* Fixed unit tests
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 876e19177e
Author: majora2007 <josephmajora@gmail.com>
Date: Thu May 19 00:46:22 2022 +0000
Bump versions by dotnet-bump-version.
commit 1961b41268
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Wed May 18 19:31:49 2022 -0500
Last batch of bugfixes (#1262)
* Refactored code to show action bar instead of drawer in immersive mode
* Card grid
* adding margin for pagination gap
* Fixed a rare routing case that wouldn't redirect
* Fixed a bug where series detail would show blank filtering
* Fixing image scaling and library card spacing
* Refactored some methods to be static
* Adding card grid to series detail
* Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.
* Ensure emails are trimmed when trying to invite.
* Don't show More In if there is only 1 item in there on library recommended tab
* Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.
* Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).
* Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense
* Refactored the series detail to use Robbie's new grid system.
* some styling fixes
* Styling fixes
- Removing select border gap
- fixing switches on lite theme
- fixing search result text-light
* better css var naming
* changing search lite text color override
* fixing as per feedback
* Removing boolean from being visible in bookreader
* Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit 6f23a3bc6d
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 15 21:31:42 2022 +0000
Bump versions by dotnet-bump-version.
commit 92fb185f20
Author: Robbie Davis <robbie@therobbiedavis.com>
Date: Sun May 15 17:21:17 2022 -0400
Adding code to make sure bottom actionbar is applied on layout change (#1258)
commit bb791b7789
Author: majora2007 <josephmajora@gmail.com>
Date: Sun May 15 19:44:47 2022 +0000
Bump versions by dotnet-bump-version.
commit cdc4931770
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 15 14:34:53 2022 -0500
Reader scroll area fix (#1257)
* Changes to make the pagination area scrollable (not working, debug code for Robbie)
* Adjusted the html to be easier to understand and more streamlined
* Fixed inability to scroll in manga reader over pagination areas for everything but the bottom bar
* Book reader now allows you to scroll over pagination area
commit ccb6414e9e
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 14 22:13:24 2022 +0000
Bump versions by dotnet-bump-version.
commit d458a823ef
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sat May 14 17:02:58 2022 -0500
More Reader Bugfixes (#1255)
* Added css to center images
* Better scaling css
* Removing vertical height css for actionbar calc
* Fixed a bug where book settings couldn't be saved due to typo in model
* fixing height across layouts
* Fixed an issue where column mode would reset to user preference default between continuous reader loads
* Fixing some more logic
* Reading direction arrow keys now flip
* Small code cleanup on Robbie's code
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit be5b997259
Author: majora2007 <josephmajora@gmail.com>
Date: Sat May 14 00:40:11 2022 +0000
Bump versions by dotnet-bump-version.
commit f701f8e599
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Fri May 13 19:30:37 2022 -0500
Book Reader Bugfixes (#1254)
* Fixed image scoping breaking and books not being able to load images
* Cleaned up a lot of variables and added more jsdoc. After shifting the margin, we try to recover the column layout width,height, and scroll posisiton.
* Tap to paginate is working on first load now
* On resize, rescroll to attempt to avoid breakage
* Fixed transparent background for action bar on white theme
* Moved some lists to immutable arrays
* Actually fixed backgournd now
* Fixed some settings not updating in book reader on load
* Put some code in place to test out opening menu with clicking on the document
* Fixed settings not propagating to the reader
* Fixing 2 column when loading annd ios mobile
* Fixed an issue where paging to prev page would sometimes skip the first page.
* Fixing previous page skipping first page of chapter
* removing console logs
* Save progress when we page
* Click on document to show the side nav
* Removed columns auto because it could render more columns than applicable. Don't explicitly call saveProgress on prev page, as we already do in another call.
Adjusted the logic to calculate windowHeight and width to be the same throughout the reader.
* Setting select fix and settings polish
* Fixed awkward tooltip wording
* Added a message for when there is nothing to show on recommended tab
* Removed bug marker, there was no bug after all
* Fixing book title truncation in action bar
* When counting volumes or chapters that have range, count the max part of the range for publication status.
* Fixing TOC rendering issue
* Styling fixes
- Fixed an issue where the image height in the book reader was the column height plus padding so it was breaking pagination calc.
- Centered book reader setting pills
- Made inactive setting pill into a ghost button
- Fixed spacing across the reader settings drawer
* Added a bit of code to allow us to disable buttons before we click for next chapter load
* Removed titles from action bars
* The next page button will now show as the primary color to indicate to the user what the next forward page is.
* Added a view series to bookmark page and removed actions from header since it didn't work
* Fixed a bug where pagination wasn't mutating url state
* Lots of changes, code is kinda working.
Added Immersive Mode, but didn't generate migration.
Added concept of virtual pages with ability to see them. Math is still slightly off.
Cleaned up prefetching code so we do it much earlier.
Added some code that doesn't work to disable buttons with virtual paging included.
* When turning immersive mode on, force tap to paginate
* Refactored out the book reader state as it wasn't very beneficial
* Fixed total virtual page calculation
* Next/prev page seems to be working pretty well
* Applied Robbie's virtual page logic and fixed a bug in prev page code
* Changed the next page to use same virtual page logic
* Getting back and forward working...somehow.
* removing redundant code
* Fixing book title overflow from new action bar changes
* Polishing pagination styles
* Changing chapter to section
* Fixing up other book reader themes
* Fixed the login header being off-center
* Fixing styling to follow approach
* Refactored the pagination buttons to properly call next/prev page based on reading direction
* Drawer pagination buttons now respect when there is no chapters (prev/next)
* Everything except disabling buttons when on last possible page working
* Added Book Reader immersive mode migration
* Disable next/prev buttons for continuous reading before we request next/prev chapter if there is no chapter.
* Show a tooltip for the title
* Fixed unit test
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
commit dfcc2f0813
Author: majora2007 <josephmajora@gmail.com>
Date: Mon May 9 01:01:46 2022 +0000
Bump versions by dotnet-bump-version.
commit 2723a6cd10
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date: Sun May 8 19:52:15 2022 -0500
Book Reader Redesign with e-ink focus (#1246)
* Refactored the drawer into offcanvas component. Had to write some hacks to emulate how bootstrap's javascript implementation works as ngBootstrap doesn't have a component yet.
* Cleaned up some of the code
* Rewrote drawer to align it with the new design
* First pass, refactored table of content into it's own component
* Refactored all of the settings logic into a separate component. Everything is broken.
* More settings on on reactive form
* More code cleanup on settings
* Misc fixes around the drawer code. Fixed a bug where range sliders were inheriting background color of normal text inputs
* Fixed dark mode with book reader.
We now clear the theme from the main app so book reader is self-contained. Styles for dark mode are injected into the reading-section. Styles that were previously in scss are now only for the actual menu system.
* Cleaned up drawer styling on header
* Removed an ngIf statement for click to paginate
* Tweaked the accent style to have smaller font size and adjusted style on light mode. Cleaned up some clearTimeout code in a further effort to streamline codebase.
* Refactored Dark mode into a basic theme. Currently styles are hardcoded.
* Patched book theme in from themes branch
* Patched in the backend for Book Theme (not tested yet)
* Fixed a bug in seeding code for book themes. Started integration of themes into the reader settings
* Everything except managing themes is working. Themes are a bit shakey, having second thoughts if we should have them or not.
* Reverted the ability to do custom user book themes. Code is stable with system themes.
* Stablize the Styles (#1128)
* Fixed a bug where adding multiple series to reading list would throw an error on UI, but it was successful.
* When a series has a reading list, we now show the connection on Series detail.
* Removed all baseurl code from UI and not-connected component since we no longer use it.
* Fixed tag badges not showing a border. Added last read time to the series detail page
* Fixed up error interceptor to remove no-connection code
* Changed implementation for series detail. Book libraries will never send chapters back. Volume 0 volumes will not be sent in volumes ever. Fixed up more renaming logic on books to send more accurate representations to the UI.
* Cleaned up the selected tab and tab display logic
* Fixed a bad where statement in reading lists for series
* Fixed up tab logic again
* Fixed a small margin on search backdrop
* Made badge expander button smaller to align with badges
* Fixed a few UIs due to .form-group and .form-row being removed
* Updated Theme component page to help with style testing
* Added more components to theme tester
* Cleaned up some styling
* Fixed opacity on search item hover
* Bump versions by dotnet-bump-version.
* Tweaked the accordion styles for light mode
* Set dark book theme as default. Refactored resetSettings to be much cleaner
* Started the refactor to allow book themes to affect global css variables
* Fixed some issues with my css variable declarations
* Fixed a close model state update
* Lots of work, but dark mode on the book reader is basically done. We have to code the themes much like the site themes
* Some black theme enhancements
* Started working on column layout in book reader.
* Cleaned up the CSS on Reader Settings
* Hooked up reading direction
* Got column and double column layout working
* Implemented some basic virtual paging and hooked in book color theme and layout mode into user preferences.
* Migration wrote, can edit page layout and color theme on book reader. Removed book dark mode since no longer needed.
Fixed a bug on login/register forms where when input is focused, text is white and not black.
* When loading book reader, apply column layout.
* Lots of work around 2 column layout, working on images not splitting. Still not working, committing so i can merge develop in and validate code with new manga reader.
* Fixed images being split into 2 BUT regression on each page boundary, total reading height is smaller and smaller
* Fixed some rendering bugs where toggling column layouts would shrink images on screen constantly.
Fixed a bug where bottom bar wouldn't render on column layout in some conditions (this might need to be reworked)
* Started progress on progress work
* Updated .NET to 6.0.4
* Fixed a bug where DataContextModelSnapshot was being removed on build thus new migrations were broken.
* Tweaked the code around progress saving so that we don't loose track of last scroll element on page load
* Trying to restore progress, but stuck
* Extra merge stuff
* Fixed a bug where volumes that are a range fail to generate series detail
* No gutters on whole app. Book reader backend now applies the image class automatically at the backend.
* Added wiki documentation into invite user flow and register admin user to help users understand email isn't required and they can host their own service.
* Removed bottom padding
* Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.
* Fixed the height of the action bar to simplify logic and keep the code cleaner. Refactored book service image scoping to be much more streamlined and efficient
* Fixed the height of action bar to 62px and adjusted code to use the hardcoded px. (code commented)
* Removed commented out code from fixed action bar height
* Progress restoration seems to be working
* Code cleanup
* Ensure the bottom action bar is at the bottom of the viewport on small pages
* Fixed book fonts not setting properly and added OpenDyslexic font.
* Fixed up some font issues
* Updated drawer so all sections are open by default
* Switched some LINQ to use MinBy
* When navigating between pages and column layout, adjust the shift for the user.
* Removed some debug code
* Blacklist .qpkg folders and don't scan Recently-Snapshot or recycle folders.
* Renamed the scale width to be scoped to kavita to avoid conflicts.
* Refactored ngx-sliders out to use normal range instead. Changed up the preferences to separate image and book settinngs into own accordion.
* updated user preferences for new migration options (not committed yet)
* Removed some debug code
* Remove console.logs
* Migration committed, let's release this to users.
* A lot of crazy code just to ensure that when you close drawer the toggle reflectst that state.
* Current Develop
* First commit
Enables double page rendering
Fixes typos
* Enabling double page rendering
. Changed image-2 src to canvasImage2 (handled by the server)
. Enabled the layout mode selector in the reader menu
. Changed the display to inline-block for the .full-height class
. Disabled the position and transform for the .fit-to-height-double-offset class
. Enabled the layout mode selector in the user preferences menu
. Fixed some typos =)
* Double page rendering fixes
. Added instantiation of canvasImagePrev and canvasImageNext
. Changed loadPage() checking of wide images before loading canvasImage2
. Changed nextPage() and prevPage() to correctly handle wide images
. Fixed some typos =)
* Fixed Double (Manga)
. Fixed: Checking ReverseDoublePage to handle manga reading direction
. Changed: Commented out some console logging
. Added: Wide class CSS to handle wide images with height < window height
. Changed: ShouldRenderDoublePage & ShouldRenderReverseDouble
. Changed: nextPage() & prevPage() to correctly set pageAmount
. Changed: isCoverImage() to accept pageNum param
. Changed: loadPage() to set canvasImagePrev.src & canvasImageNext.src depending on DoubleReversed
. Added: tsconfig.json esModuleInterop & allowSyntheticDefaultImports
* Fixed Double (Manga)
.Removed: Old commented out code
.Added: Check isCoverImage() on nextPage()
* Fixed a bug where page wasn't re-rendering about layout change.
Optimized the loadPage code to render faster.
Fixed a bug where whole renderPage() function was executing when it shouldn't.
* Indentation cleanup
* Allow the user to update their user settings and persist for new layout mode in manga reader
* Merged more develop in
* Bump versions by dotnet-bump-version.
* Fixed a bug where there was no pagination on the dashboard and it would take some time to load (#1329)
* Bump versions by dotnet-bump-version.
* More rebasing
* Bump versions by dotnet-bump-version.
* Fixed up some missing refactors from mag.
* Hopefully the last rebase
* Double Page Rendering (#1334)
* Fixed Double (Manga)
. Changed: Layout mode set to preferencesDto on UsersController
. Removed ConsoleLogger import
. Removed console.logs
. Added: HostListener for changing layout to Single on portrait device orientation
. Fixed: renderPage() bug
. Changed: Simplified loadPage()
. Added: ChangeOccurred to call loadPage() on layoutMode change
. Fixed: Dragable vs Draggable typos
.
* Fixed Double Orientation Check
. Fixed: Orientation check to switch from Double to Single on Portrait (HostListener) comparison sign was inverted.
* Reader orientation change
. Changed: Removed unnecessary innerWidth x innerHeight check
* Reader orientation change fixes
. Added: Check for innerWidth > innerHeight as guard clause
* Cleaned up some debug code
Co-authored-by: magujun <guimaraesjunior.marcelo@gmail.com>
Co-authored-by: Marcelo Guimarães Junior <75567460+magujun@users.noreply.github.com>
Co-authored-by: marcelo <mguimaraes@okanagan.bc.ca>