advplyr
6ed66fea16
Update podcast rss feed parser to use psc chapters on episodes
2025-03-31 17:57:39 -05:00
advplyr
4fb5330308
Create new StatsController and move year in review stats endpoint
2025-03-29 17:34:17 -05:00
advplyr
7013600697
Fix library items count for users with item restricting permissions #4163
2025-03-26 17:29:48 -05:00
advplyr
92bb3527de
Add logs when sanitizing filename and update podcast episode download to set targetFilename on init #4121
2025-03-19 17:39:23 -05:00
advplyr
7d0f61663e
Merge pull request #4133 from Vito0912/feat/downloadMultiple
...
Adds the option to download selected books
2025-03-18 17:37:50 -05:00
advplyr
ff36a9327c
Fix multiple download for podcasts & cleanup
2025-03-18 17:28:49 -05:00
mikiher
40504da4d7
Improve book library page query performance for author sort order ( #4080 )
...
* Add migration to create authorNames* columns, in libraryItems including update triggers and indices
* Add authorNames columns and indices to LibraryItem model
* Add database triggers for updating author names in libraryItems (for new databases)
* Populate authorNames during book scanning
* Update book sorting to use new authorNames columns
* Add an index on podcastEpisodes.publishedAt
* Fix group_concat order by and update to sqlite 3.44.2
---------
Co-authored-by: advplyr <advplyr@protonmail.com>
2025-03-17 17:09:49 -05:00
Vito0912
3c9966e849
clean up
2025-03-17 20:04:01 +01:00
Vito0912
0123dacb29
download multiple items
2025-03-17 19:35:59 +01:00
advplyr
de22177dbf
Update opf parser to support refines meta elements
2025-03-13 17:49:05 -05:00
Roukanken
b86797a245
Fix: Load epub covers via cover-image property
2025-03-11 21:05:21 +01:00
IUser
e7ca6a4ea9
Fix spelling
2025-03-09 14:01:53 -07:00
advplyr
a17127f078
Merge pull request #4031 from nichwall/temp_file_ignore_refactor
...
Refactor ignore file logic
2025-02-23 16:56:09 -06:00
advplyr
20f812403f
Add fileUtils recurseFiles and shouldIgnoreFile tests
2025-02-23 16:53:11 -06:00
mikiher
364ccd85fe
Use count cache only when no filter is set
2025-02-23 08:53:57 +02:00
Nicholas Wallace
13c20e0cdd
Add: generic function to ignor files
2025-02-22 12:28:51 -07:00
advplyr
9d7f44f73a
Fix RSS Feed Open query
2025-02-21 17:39:36 -06:00
advplyr
7919a8b581
Fix get podcast library items endpoint when not including a limit query param #4014
2025-02-20 17:40:54 -06:00
advplyr
6290cfaeb1
Auto format
2025-02-18 17:19:06 -06:00
advplyr
fd3d4f5fcf
Merge pull request #3978 from sloped/fix/detect-http-https-upgrades
...
fix: allow upgrading HTTP to HTTPS for redirects
2025-02-18 17:18:36 -06:00
mikiher
659164003f
Clear LibraryItemsPodcastFilters count cache after podcast[Episode] is created or destroryed
2025-02-16 13:27:47 +02:00
mikiher
de5d8650e8
Add profiling to podcast library filterdata queries
2025-02-16 12:47:23 +02:00
mikiher
8f192b1b17
Add profiling to podcasts and podcast episodes page queries
2025-02-16 09:46:32 +02:00
mikiher
21343b5aa0
Add count cache to libraryItemsPodcastQueries
2025-02-16 09:40:29 +02:00
mikiher
a5508cdc4c
Remove unnecessary 'distinct: true' from podcast episodes page query
2025-02-16 09:32:00 +02:00
mikiher
bd4f48ec39
Add required: true to includes in podcast episodes page query
2025-02-16 09:29:57 +02:00
mikiher
cb9fc3e0d1
Replace numEpisodesIncomplete subquery with cached user progress calculation
2025-02-16 09:22:06 +02:00
mikiher
707533df8f
Remove numEpisodes subquery from podcasst page query
2025-02-16 09:15:54 +02:00
mikiher
2e48ec0dde
Use libraryItem.title[IgnorePrefix] for sorting podcasts page query
2025-02-16 09:08:27 +02:00
mikiher
f1e46a351b
Separate feed query from podcasts page query
2025-02-16 09:05:54 +02:00
mikiher
8ee5646d79
fix stringifySequelizeQuery and add tests
2025-02-15 23:57:27 +02:00
advplyr
5ca12eee19
Fix count cache by stringify Symbols #3979
2025-02-13 18:07:59 -06:00
Conner McCall
f460297daf
fix: allow upgrading HTTP to HTTPS for redirects
...
Re: #3142 and #3658
When adding certain podcasts, the server encountered a redirect from an HTTP URL to an HTTPS domain, causing an error that was difficult for end users to diagnose without inspecting logs or HTML.
This issue arose due to SSRF security measures that blocked such redirects. Instead of failing in these cases, we now detect when the error is caused by an HTTP-to-HTTPS upgrade. If confirmed, we upgrade the initial URL to HTTPS and resend the request.
Since this change does not allow cross-protocol or cross-domain redirections, it remains secure while resolving most of the reported issues.
Affected podcasts that are now fixed:
- D&D is for Nerds
- The New Yorker: The Writer's Voice - New Fiction from The New Yorker
- Radiolab
2025-02-13 09:19:02 -06:00
advplyr
a34813b3ab
Fix server crash remove column name ambiguity #3966
2025-02-12 08:52:20 -06:00
mikiher
a13143245b
Improve page load queries on title, titleIgnorePrefix, and addedAt sort order
2025-02-08 12:29:23 +02:00
mikiher
52bb28669a
Add a profile utility function
2025-02-08 10:41:56 +02:00
Michael Vincent
3f7af8acfb
Add Accept-Encoding header to getPodcastFeed()
...
This commit adds the Accept-Encoding header to getPodcastFeed() with
gzip, compress, and deflate support. This allows servers to send a
compressed response that'll be decompressed by axios transparently.
Audiobookshelf is currently using axios v0.27.2, which enables the
decompress option by default. The decompress feature supports gzip,
compress, and deflate algorithms (see axios/lib/adapters/http.js).
axios v0.27.2 does not add the Accept-Encoding header to requests
automatically, so that's the responsibility of the caller.
2025-02-05 23:12:58 -06:00
advplyr
5e5a604d03
Fix name parser to not use "last, first" format when not using comma separators. Adds unit tests #3940
2025-02-05 17:25:31 -06:00
advplyr
201e12ecc3
Update downloadFile to debug log percentage complete
2025-02-05 16:15:00 -06:00
advplyr
558173e086
Update custom metadata provider results to sanitize html descriptions #3880
2025-01-26 10:51:18 -06:00
advplyr
a4d0f95ecc
Merge pull request #3880 from mikiher/rich-text-book-descriptionss
...
Support rich text book descriptions
2025-01-25 13:42:37 -06:00
advplyr
d4ba8b9d9f
Fix server crash on failed to extract epub image #3889
2025-01-24 17:24:37 -06:00
mikiher
286185329d
Support rich text book descriptions
2025-01-22 08:53:23 +02:00
advplyr
28681d3783
Merge pull request #3732 from Timtam/allow-mrss-item-enclosures-for-podcasts
...
check for mrss item media:content when extracting item enclosures
2025-01-20 15:08:43 -06:00
advplyr
54a4b09592
Update RSS feed to exclude empty tags, format duration, use CDATA
2025-01-20 13:57:56 -06:00
Toni Barth
bdd8e5bb58
Merge remote-tracking branch 'remotes/upstream/master' into allow-mrss-item-enclosures-for-podcasts
2025-01-20 10:28:09 +01:00
advplyr
1a67f57551
Update podcast downloads to fallback to download without tagging due to inaccurate rss feed enclosures #3837
2025-01-14 15:48:06 -06:00
advplyr
64e9ac9d8f
Fix merging embedded chapters for multi-track audiobooks giving incorrect chapter ids #3361
...
- Also trim chapter titles on probe (remove carriage return)
2025-01-12 09:56:48 -06:00
advplyr
0f20ed101e
Update podcast RSS parser to handle HTML not wrapped in CDATA #3778
2025-01-10 15:42:52 -06:00
advplyr
02ecf7ccfe
Fix catch exception on failed to parse comic metadata #3804
2025-01-08 16:53:56 -06:00