Commit Graph

365 Commits

Author SHA1 Message Date
Joseph Milazzo dfddb551d2 Fixed build issues (#325)
* Fixed build issues

* Fixed up workflows
2021-06-25 09:15:19 -05:00
Kizaing f50a21dd22 Hotfix/docker workflow (#324)
* Fixed file pathing for automated docker builds

* Added back in renaming the Kavita executable

Co-authored-by: Chris Plaatjes <chris.p@boxbrite.com>
2021-06-24 21:19:42 -05:00
Kizaing af8c6c2cb9 Fixed file pathing for automated docker builds (#323) 2021-06-24 20:58:20 -05:00
Joseph Milazzo be2b78fa5a Manga Redesign (#321)
* Code cleanup, refactored FileRepository into Unit of Work.

* Added AutoCloseMenu and ReaderMode user perferences to match UI

* Added extra information to ChapterInfo

* Build changes

* Updated the readme to have open collective information and thanks to sponsors

* Fixed an issue with UnitOfWork refactor and how stats was bootsrapped. Replaced stats.kavitareader with a temp url to test out redirection bug.
2021-06-24 19:31:42 -05:00
Joseph Milazzo b958342394 Update FUNDING.yml
Removed user from sponsorship
2021-06-24 12:26:37 -05:00
Joseph Milazzo 568544f652 Update FUNDING.yml
Added opencollective sponsorship
2021-06-24 12:25:59 -05:00
Leonardo Dias 1c9b2572ae Feat/usage stats collection (#317)
* feat: implement anonymous usage data collection

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2021-06-20 17:26:35 -05:00
Joseph Milazzo b25335acbd Single Download Failed on Epubs (#319)
* Fixed a missed case where downloading a single file that is an epub (or cb7, zip, 7z) file would cause a critical error and the download would fail without any information.
2021-06-20 16:07:18 -05:00
Joseph Milazzo 8f4d42d13f Add noreferrer noopener on links to external resources for epub reading (#318) 2021-06-20 15:15:34 -05:00
Joseph Milazzo 0c88d91278 Ignore .DS_Store and @eaDir folders when scanning directories. (#314) 2021-06-18 09:49:30 -05:00
Joseph Milazzo 1036c731ad When performing a download, if there is only 1 file, don't zip it and send back the raw file. (#315) 2021-06-18 09:49:19 -05:00
Joseph Milazzo 6e1b227e65 Transaction Support (#309)
* Added transactions to UnitOfWork and refactored code to use it.

* This included blank UI fix from Kavita-webui
2021-06-18 07:37:48 -05:00
Joseph Milazzo d2e444910d Update FUNDING.yml
Updated link
2021-06-17 18:08:22 -05:00
Joseph Milazzo a9db07e7ff Create FUNDING.yml
Updated link to be shorter
2021-06-17 18:07:51 -05:00
Joseph Milazzo 95db721508 Create FUNDING.yml 2021-06-17 18:06:53 -05:00
Joseph Milazzo becf2ec7a6 Changed how series parsing works. Now at the end of the Parse() call, if we still haven't figured out the Series, we will default to taking the file name and cleaning it. This allows files that have no numbers to be picked up. (#310)
Series Parsing now, at the end of the Parse() call if we still haven't figured out the Series, will default to taking the file name and cleaning it. This allows files that have no numbers to be picked up.
2021-06-16 10:58:50 -05:00
Joseph Milazzo d02d2d3cb5 Epub 3.2 Collection Tag support (#308)
* Hooked up logic for collections based on EPUB3.2 Spec and Fixed improper tags in EPUBs since it is XML and we are using HTML to parse it.

* Fixed a bug with src:url url replacing so that it's much cleaner regex
2021-06-15 09:51:37 -05:00
Joseph Milazzo 584348c6ad Special Marker Changes (#306)
* SP# is now a way to force the file to be a special rather than pushing it into a Specials folder.

* Made it so if there is a Special (for any Parse call), volume and chapters will be ignored.

* Fixed a unit test missing Theory and fixed a regex case
2021-06-14 21:12:37 -05:00
Joseph Milazzo 46b60405b1 Special Markers (#305)
* Removed "Anthology" from being a special parsing keyword as series are being found where "Anthology" is in the series name.

* SP# is now a way to force the file to be a special rather than pushing it into a Specials folder.
2021-06-14 17:35:13 -05:00
Joseph Milazzo f8aba21acd Removed "Anthology" from being a special parsing keyword as series are being found where "Anthology" is in the series name. (#304) 2021-06-14 17:21:01 -05:00
Joseph Milazzo 16a77fa8d6 Download Support (#298)
* Implemented the ability to download files (series, volume, chapter)

* Added RBS checks to ensure user is either an admin or has download role

* Added the ability to change a users feature RBS. Changed the Role seed to use reflection
2021-06-10 07:47:35 -05:00
Kizaing 4ae9f078b0 Feature/docker stable setup (#296)
* Added stable docker workflow

* Changed webui pull to develop
2021-06-09 10:10:06 -05:00
Robbie Davis b61da7eb08 Update nightly-docker.yml (#295)
Added discord notification action to nightly-docker workflow.

https://github.com/marketplace/actions/discord-webhook-notify
2021-06-08 13:54:52 -05:00
Kizaing 560b0c9cb5 Feature/docker setup (#294)
* Github Action for Docker Integration on merge into develop

Co-authored-by: Chris Plaatjes <chris.p@boxbrite.com>
2021-06-08 13:20:36 -05:00
Joseph Milazzo 8d8e7ce93b Book Grouping (#292)
* Implemented the ability to group books by series if certain calibre tags are in the epub.
2021-06-08 12:33:54 -05:00
Robbie Davis d261449275 Adding releases to be sent to discord (#291)
Uses: https://github.com/marketplace/actions/discord-styled-releases-patch-notes
2021-06-08 12:16:31 -05:00
Robbie Davis 4f29cf7cc7 Bugfix/manga reader pad zeros (#288)
* Switched to using existing NaturalSortComparer for ordering filenames before we reprocess them to ensure they are in the correct natural reading order.

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2021-06-08 08:59:47 -05:00
Joseph Milazzo 7dae1da92f Logging Enhancements (#285)
* If the user is on Debug, allow logging DB params to the logger. Implemented the ability to change logger from UI and to keep the DB settings of LogLevel and Port in sync with appsettings.

* Exclude a lot more clutter from hitting Sentry

* Removed github action

* Small cleanup
2021-06-07 17:52:11 -05:00
Joseph Milazzo 6f124b6f8a Add try catch on Parser MinimumNumberFromRange in case something weird gets put in here. (#283) 2021-06-07 16:12:07 -05:00
Kizaing d00cf7de92 Merged Dockerfiles (#282)
* Dockerfile re-imagined to handle all flavors in one script.
2021-06-07 16:04:08 -05:00
Joseph Milazzo 41a5d1bf2c Fixed a bug on getting next/previous chapters where if chapters were … (#281)
* Fixed a bug on getting next/previous chapters where if chapters were not inserted into the DB in the natural order, then the next/prev chapter would be skewed.

* Make GetNextChapterId static
2021-06-07 14:49:38 -05:00
Joseph Milazzo 5259a1484a Implemented the ability to configure the default port for non-docker users. Docker users will always be 5000. (#280) 2021-06-07 14:36:35 -05:00
Joseph Milazzo 4606b54603 Removed the SeriesMetadata migration since users have updated to v0.4.1. Any other users will require a scan to get the SeriesMetadata generated. (#275) 2021-06-07 13:16:50 -05:00
Joseph Milazzo e4a9c468fe Version bump and reduced some sentry logs 2021-06-07 11:32:26 -05:00
Joseph Milazzo f0f74e867e Fixed the constraint issue with Metadata and ensure we log parameters on development modes. (#273) v0.4.1.1 2021-06-06 16:13:07 -05:00
Joseph Milazzo ee3cb9ede8 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-06-06 09:08:10 -05:00
Joseph Milazzo cdd01ee919 Merged develop into main 2021-06-06 09:01:19 -05:00
Joseph Milazzo 8175ddf517 Fixed a critical crash in Scan library where Series Metadata was getting regenerated and unique constraint failed. (#269) 2021-06-05 16:30:50 -05:00
Joseph Milazzo 8211f1ce0e Set Version to v0.4.0 v0.4.1 2021-06-05 14:12:05 -05:00
Joseph Milazzo aa7439178c Don't log exceptions to Sentry when debugging locally. Fixed a constraint issue with collection tags that prevented deleting series. Ensure when we scan we add SeriesMetadata objects to existing series. (#265) 2021-06-04 17:49:19 -05:00
Robbie Davis 606e4c8b12 Recently Added Page (#261)
- Updated route task for 'recently-added'.
- Refactored GetRecentlyAdded task instead of creating new API task. This way is more efficient and prevents bloat.
- Adding pageSize to UserParams.cs (got lost in PRs).
2021-06-04 10:09:33 -05:00
Joseph Milazzo e6cfa4feca Bugfix/anchor rewriting (#260)
* Added book reader reading direction preference

* Adds a new marker to the AppUserProgress to capture nearest anchor for resuming scroll point when reading books. Refactored bookmark api to return a BookmarkDto which includes this new data.

* Fixed the readme image displaying issue and changed up a bit more of the layout.
2021-06-03 18:33:24 -05:00
Joseph Milazzo 4910f1d1d0 Book Reading Progress Enhancement (#259)
* Added book reader reading direction preference

* Adds a new marker to the AppUserProgress to capture nearest anchor for resuming scroll point when reading books. Refactored bookmark api to return a BookmarkDto which includes this new data.
2021-06-03 18:33:13 -05:00
Leonardo Dias c12879cda9 feat: remove Webtoon option from Library Types (#254)
Fixes #251
2021-06-03 15:46:57 -05:00
Leonardo Dias b38ea8186e fix: error when resetting password of a non admin user (#252)
Fixes #246
2021-06-03 12:17:57 -05:00
Joseph Milazzo 03c9b7a11d Added book reader reading direction preference (#249) 2021-06-03 09:05:07 -05:00
Joseph Milazzo ec0327272f Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-06-03 08:31:40 -05:00
Joseph Milazzo 863bc57e87 Docker Build Turn off (#248)
Turn off the Docker Build CI stuff, will look into it later.

Changed pagination default to 30 and version bump.
2021-06-03 08:31:23 -05:00
Leonardo Dias 16d6b26c63 fix: wrong password length validation when registering a new user or resetting password (#247)
#244

Co-authored-by: leo2d <contato.leonardod@yahoo.com>
2021-06-03 07:16:32 -05:00
Joseph Milazzo 6c67f73898 Chore/docker build (#245)
* Added a docker script for nightly builds.
2021-06-02 07:49:33 -05:00