Commit graph

6467 commits

Author SHA1 Message Date
Nicholas Wallace
80ab52dcb9 Fix: rename author to check using normalized column and prevent unique constraint violation 2026-05-31 09:16:25 -07:00
Nicholas Wallace
df88110a63 Fix: async function should be a normal function in migration script 2026-05-31 09:04:58 -07:00
Nicholas Wallace
76d641db9c Remove Author model references from migration script 2026-05-31 08:43:40 -07:00
Nicholas Wallace
2c3e9c8069 Rename migration file for testing 2026-05-31 08:41:06 -07:00
Nicholas Wallace
5378e64eab Move normalization functions into migration file for rollback 2026-05-31 08:38:42 -07:00
Nicholas Wallace
4714af0ed1 Move Author import to upgrade function to prevent potential downgrade issue 2026-05-31 08:22:29 -07:00
Nicholas Wallace
6c08cb2d2a Replace findOrCreate with findCreateFind to remove transaction requirement 2026-05-31 08:22:29 -07:00
Nicholas Wallace
22d107fb4e Update author model function comments 2026-05-31 08:22:29 -07:00
Nicholas Wallace
d67c1816dd Update function name to be more descriptive 2026-05-31 08:22:29 -07:00
Nicholas Wallace
6a983a53b4 Create helper function to regenerate rows in tables faster 2026-05-31 08:22:29 -07:00
Nicholas Wallace
38b810bc2e Initial author and filter tests created 2026-05-31 08:22:29 -07:00
Nicholas Wallace
c2316fae81 Update author filter to use normalized search name 2026-05-31 08:22:29 -07:00
Nicholas Wallace
a28241e735 Initial migration script and associated test 2026-05-31 08:22:28 -07:00
Nicholas Wallace
c814a84b27 Add logging when author normalization is empty 2026-05-31 08:22:28 -07:00
Nicholas Wallace
6b97fc0ce6 Database clean author computed columns at startup 2026-05-31 08:22:28 -07:00
Nicholas Wallace
94bd8f4110 Update author finding and creation for books 2026-05-31 08:22:28 -07:00
Nicholas Wallace
bf76128203 Add initial Author name normalization and calculated column updates 2026-05-31 08:22:28 -07:00
advplyr
aacdcc47ec Version bump v2.35.1
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-05-28 15:22:55 -05:00
advplyr
499b52b4dd Update Sequelize where query for User username/email case insensitive 2026-05-28 14:49:49 -05:00
advplyr
1bad2d9072 Cleanup abmetadata file parsing & fix server crash #5268 #4287 #5142
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-05-27 17:33:14 -05:00
advplyr
c009db9f28
Merge pull request #5256 from nichwall/fix-bookauthor-collision-on-rename
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
Fix duplicate bookAuthor creation when renaming authors
2026-05-22 15:43:13 -05:00
advplyr
325469c5a5
Merge pull request #5255 from nichwall/refresh-token-uniqueness
Add unique UUID to access and refresh tokens
2026-05-22 15:39:01 -05:00
Nicholas Wallace
c97b36e11c Add ignoreDuplicates for bookAuthor when renaming to respect unique index 2026-05-21 21:06:17 -07:00
Nicholas Wallace
e944b2a2f5 Add unique UUID to access and refresh tokens 2026-05-21 17:08:39 -07:00
advplyr
2d0a5462d2 Merge branch 'master' of https://github.com/advplyr/audiobookshelf
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Verify all i18n files are alphabetized / update_translations (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-05-17 14:31:45 -05:00
advplyr
72dc75482f Version bump v2.35.0 2026-05-17 14:31:41 -05:00
advplyr
cac74f3477
Merge pull request #5004 from nichwall/token_refresh_race_condition
Access token refresh grace period
2026-05-17 14:16:58 -05:00
advplyr
1ad11b2b9e
Merge pull request #5216 from weblate/weblate-audiobookshelf-abs-web-client
Translations update from Hosted Weblate
2026-05-17 14:16:24 -05:00
Pavel Miniutka
50eeca2e0f
Translated using Weblate (Belarusian)
Currently translated at 100.0% (1163 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/be/
2026-05-15 18:13:27 +00:00
EteranlK
4f21fc023c
Translated using Weblate (Arabic)
Currently translated at 96.3% (1120 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/ar/
2026-05-15 18:13:26 +00:00
advplyr
52a485d135
Added translation using Weblate (Latvian) 2026-05-15 18:13:25 +00:00
d0nizam
3b025076e8
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1163 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/bg/
2026-05-15 18:13:23 +00:00
Mateusz Lesiak
6d5d89429d
Translated using Weblate (Polish)
Currently translated at 99.8% (1161 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/pl/
2026-05-15 18:13:22 +00:00
advplyr
c010f0e1eb Fix android device sdkVersion not handling it using number type, causing android session device names to show as iOS
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-05-15 13:13:14 -05:00
advplyr
eee377e081 Cleanup TokenManager logs
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-05-13 16:23:26 -05:00
advplyr
b0aaa24660 Update socket events to check client is admin & validate log level
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-05-12 16:57:28 -05:00
advplyr
47ea6b5092 Update book/podcast scanner to sanitize description pulled from metadata
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-05-05 17:18:49 -05:00
advplyr
4b060febc2
Merge pull request #5221 from brandonfhall/fix/rss-feed-m4b-content-type
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
Fix: RSS feed serves m4b files with correct Content-Type: audio/mp4
2026-05-03 14:40:43 -05:00
Brandon
40869bcf39 fix: set correct Content-Type for RSS feed audio files
Express's mime package does not recognize .m4b, causing it to fall back
to application/octet-stream. This reuses the existing
getAudioMimeTypeFromExtname utility (already applied to the download
endpoint) to set the correct audio/mp4 header before sendFile.

Fixes #5041
2026-05-02 22:13:35 -04:00
advplyr
3942805129 Cleanup rotateTokensForSession 2026-04-30 16:25:43 -05:00
advplyr
dc446862c1 Rename migration to v2.35.0 & merge master 2026-04-30 16:08:24 -05:00
advplyr
379f6c716a Merge branch 'master' into token_refresh_race_condition 2026-04-30 15:59:22 -05:00
advplyr
47457ee1e7 Version bump v2.34.0
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Verify all i18n files are alphabetized / update_translations (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-04-27 16:51:34 -05:00
advplyr
cb6ff9eedf
Merge pull request #5204 from weblate/weblate-audiobookshelf-abs-web-client
Translations update from Hosted Weblate
2026-04-27 16:45:57 -05:00
LvanAlphen
5dc01261c1
Translated using Weblate (Dutch)
Currently translated at 100.0% (1163 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/nl/
2026-04-26 21:51:49 +00:00
Naoto Ishikawa
cbc103cf05
Translated using Weblate (Japanese)
Currently translated at 100.0% (1163 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/ja/
2026-04-26 21:51:49 +00:00
Pavel Miniutka
e79256d0fb
Translated using Weblate (Belarusian)
Currently translated at 100.0% (1163 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/be/
2026-04-26 21:51:48 +00:00
ugyes
f8ef56c6bc
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1163 of 1163 strings)

Translation: Audiobookshelf/Abs Web Client
Translate-URL: https://hosted.weblate.org/projects/audiobookshelf/abs-web-client/hu/
2026-04-26 21:51:48 +00:00
advplyr
62d7097e23 Add ApiCacheManager test for should remove recent-episodes cache entries
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Run Component Tests / Run Component Tests (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-04-26 16:51:39 -05:00
advplyr
92df92ec99 Fix recent episodes endpoint cache not being cleared when updating media progress #5159 2026-04-26 16:51:08 -05:00