572fb0993c
Rename ApiCacheManager to add .js file extension
2023-11-24 14:20:14 -06:00
ab19e25586
Remove unnecessary timing measurements
2023-11-23 09:56:37 +02:00
07d7d16418
Use a single router.get for API cache middleware
2023-11-23 09:55:55 +02:00
5e1e748c71
Add ApiCacheManager unit test
2023-11-23 09:53:52 +02:00
d944ecaa21
Merge branch 'caching' of https://github.com/mikiher/audiobookshelf into caching
2023-11-22 19:10:29 +02:00
5aeb6ade72
Merge branch 'caching' of https://github.com/mikiher/audiobookshelf into caching
2023-11-22 19:00:11 +02:00
107b4b83c1
Add cache middleware to most /libraries get requests
2023-11-22 18:40:42 +02:00
048e27f03f
Update:Openid auth endpoint sets the mobile flag on session to be used in the callback
...
Co-authored-by: Denis Arnst <git@sapd.eu >
2023-11-20 15:41:38 -06:00
aa933df525
Update oidc redirect_uri to check x-forwarded-proto header for proxies
2023-11-19 14:00:39 -06:00
a0f137936d
Merge pull request #2325 from lkiesow/milliseconds
...
Add milliseconds to logging
2023-11-19 13:41:10 -06:00
dcbfc963c1
Update protocol for redirect_uri in openid strategy to work for reverse proxies
2023-11-19 13:38:09 -06:00
91fa78d740
Add milliseconds to logging
...
This patch adds milliseconds to the time string used for logging. This
helps when debugging some timing issues and should have no real negative
side effect.
2023-11-19 20:36:04 +01:00
89eb857c14
Fix initialize openid auth strategy
2023-11-19 12:57:17 -06:00
4c2c320b9d
Remove global CORS for api endpoints and setup temp CORS check for ebook endpoint
2023-11-19 11:32:48 -06:00
56c574c928
Update package-lock
2023-11-19 08:29:58 -06:00
d2aea86957
Merge pull request #2300 from mikiher/bookfinder-testing-mocha
...
Bookfinder.js unit testing with mocha
2023-11-18 13:55:18 -06:00
6a722102c5
Use ApiCacheManager & timing middleware
2023-11-17 08:49:40 +02:00
f22f3361d5
Add timing utils
2023-11-17 08:48:09 +02:00
4dec8c265d
Add ApiCacheManager
2023-11-17 08:47:40 +02:00
fb48636510
Openid auth failures redirect to login page with error message.
...
Remove remaining google oauth server settings
2023-11-11 13:10:24 -06:00
1ad6722e6d
Remove google-oauth passport strategy
2023-11-11 11:29:59 -06:00
557ef2ef79
Update /auth/openid endpoints for correct PKCE handling
...
- Provide error handling for /auth/openid
- Add session.mobile inside /auth/openid
- Proper PKCE handling for /auth/openid/callback
- redirect_uri handling for the token url in /auth/openid/callback
Co-authored-by: Denis Arnst <git@sapd.eu >
2023-11-11 10:52:05 -06:00
237fe84c54
Add new API endpoint for updating auth-settings and update passport auth strategies
2023-11-10 16:11:51 -06:00
078cb0855f
Merge branch 'master' into auth_passportjs
2023-11-10 07:26:07 -06:00
e8c14dbb58
Test BookFinder.js using mocha
2023-11-09 19:58:51 +00:00
ee75d672e6
Matching user by openid sub, email or username based on server settings. Auto register user. Persist sub on User records
2023-11-08 16:14:57 -06:00
e140897313
Add match existing user by and auto register settings and UI
2023-11-08 14:45:29 -06:00
d1671f0ddc
Cleanup commented out tests
2023-11-08 16:37:12 +00:00
2730486ba5
Add tests for AuthorCandidates and search() in BookFinder
2023-11-08 16:24:08 +00:00
49e4515785
Add stripRedudantSpaces
2023-11-08 16:21:20 +00:00
819c524f51
Pass audnexus to AuthorCandidates constructor directly
2023-11-08 16:19:24 +00:00
ba60fc7581
Add tests for TitleCanidates
2023-11-06 05:33:06 +00:00
f840aa80f8
Add button to populate openid URLs using the issuer URL
2023-11-05 14:11:37 -06:00
c17540e191
Add app and serverVersion properties to response from /status
2023-11-05 13:06:26 -06:00
309ef807ab
Update /auth/openid endpoint to work with PKCE from mobile
...
Co-authored-by: Denis Arnst <git@sapd.eu >
2023-11-05 13:05:16 -06:00
89055f8655
Remove unnecessary includesAuthorDiff from sorting
2023-11-05 16:14:26 +00:00
5a3d450482
Refactor diff declarations in title candidate sorting
2023-11-05 15:13:42 +00:00
047e7a72f2
Make position an internal property of titleCandidates
2023-11-05 14:56:20 +00:00
ee3d3808ef
Refactor removing author from title candidate
2023-11-05 14:31:36 +00:00
8f5a6b7c95
Move utility functions to module scope
2023-11-05 14:17:26 +00:00
840811b464
Replace passport openidconnect plugin with openid-client, add JWKS and logout URL server settings, use email and email_verified instead of username
2023-11-04 15:36:43 -05:00
567e1c46db
Fix handling of single mefia file updates
2023-11-04 11:06:54 +00:00
cfe0c2a986
Merge branch 'master' into auth_passportjs
2023-11-03 08:29:05 -05:00
5220361151
Fix:Podcast episode cron not adding/removing library items correctly #2277
2023-11-03 07:07:58 -05:00
828b96b2d9
Add server settings for changing openid button text and auto launching openid
2023-11-02 13:55:01 -05:00
ab14b561f5
Merge master
2023-11-01 08:58:48 -05:00
1ae2089253
Update:Add cover file extension in RSS feeds
2023-11-01 12:11:24 +01:00
3c21e9d413
Update:Simpler content URL in RSS feeds
2023-11-01 12:10:44 +01:00
9616d99640
Fix:Crash when matching with author names ending in ??? by escaping regex strings #2265
2023-10-30 16:35:41 -05:00
27497451d9
Add:Ereader device setting to set users that have access #1982
2023-10-29 11:28:34 -05:00