Commit Graph

3896 Commits

Author SHA1 Message Date
9beee3ed65 Fix:Change password api endpoint 2023-11-23 15:14:49 -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
6651ad0d45 Update:Added translation strings for OIDC auth 2023-11-22 12:55:01 -06:00
288beae874 Update:OIDC auth auto launch setting description to include manual override path 2023-11-22 12:38:11 -06:00
32ce771911 Allow cors while in development 2023-11-22 12:37:18 -06: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
0d61e29ecf de language translation follow up for 27497451d9 2023-11-21 20:30:48 +01:00
781d4f570f Add test for parseNfoMetadata 2023-11-21 09:12:37 +02:00
a4d4f1bc2e Merge branch 'advplyr:master' into nfo-metadata 2023-11-21 09:09:12 +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
8c434703fb Added computed metadata check to UI dropdown 2023-11-20 09:18:50 -08:00
3cc900ffbf Adds fetching book data on upload 2023-11-20 08:51:00 -08:00
7b6aa3ba5a Allow enabling dev logs
This patch allows users to enable dev logs on production systems by
setting the `HIDE_DEV_LOGS` environment variable.

Before, you could only use this on a non-production environment. On
production, the logs would be disabled. This patch changes the behavior
and uses the `NODE_ENV` only as default. On production they are disabled
if `HIDE_DEV_LOGS` is undefined but can be enabled by setting
`HIDE_DEV_LOGS=0` on dev, they are enabled if undefined, but can be
disabled by setting `HIDE_DEV_LOGS=1`.
2023-11-19 21:00:54 +01: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
e07d17c472 Merge pull request #1636 from lukeIam/auth_passportjs
Integrate passportjs for muti-strategy authentication and SSO
2023-11-19 11:46:52 -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
80e061115f Add remove semicolons to .vscode settings, update BookFinder.test formatting 2023-11-18 13:41:08 -06:00
4299627f5f Add lru-cache dependency 2023-11-17 08:54:16 +02: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
d990e5b909 Add NFO metadata source 2023-11-12 13:30:23 +00: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
cff2caa07a Update:Rename podcast search page to add #2301 2023-11-10 16:32:14 -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
ecba67da6d Add Istanbul coverage (nyc) 2023-11-10 10:02:02 +00:00
ea05e1f559 Remove test/ from .gitigore (now contains unit tests) 2023-11-10 09:58:30 +00:00
d3a55c8b1a Merge branch 'master' of https://github.com/advplyr/audiobookshelf 2023-11-09 16:36:37 -06:00
d6b17678ec Update:Persist soft/hard delete checkbox option #1689 2023-11-09 16:36:28 -06:00
33e287a543 Update:Persist show full path option for tables #2285 2023-11-09 16:26:49 -06:00
08f045a02b Merge pull request #2299 from burghy86/patch-11
Update it.json
2023-11-09 16:15:16 -06:00
e8c14dbb58 Test BookFinder.js using mocha 2023-11-09 19:58:51 +00:00
bf48eee705 Update it.json
arrange the additional lines.
how the hell did we get to over 700 lines in less than two months?
2023-11-09 15:46:25 +01:00
8f4c75ff2b Update:Author card books translation string #2284 2023-11-08 16:28:05 -06: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