Lars Kiesow
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
advplyr
89eb857c14
Fix initialize openid auth strategy
2023-11-19 12:57:17 -06:00
advplyr
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
advplyr
4c2c320b9d
Remove global CORS for api endpoints and setup temp CORS check for ebook endpoint
2023-11-19 11:32:48 -06:00
advplyr
56c574c928
Update package-lock
2023-11-19 08:29:58 -06:00
advplyr
d2aea86957
Merge pull request #2300 from mikiher/bookfinder-testing-mocha
...
Bookfinder.js unit testing with mocha
2023-11-18 13:55:18 -06:00
advplyr
80e061115f
Add remove semicolons to .vscode settings, update BookFinder.test formatting
2023-11-18 13:41:08 -06:00
advplyr
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
advplyr
1ad6722e6d
Remove google-oauth passport strategy
2023-11-11 11:29:59 -06:00
advplyr
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
advplyr
cff2caa07a
Update:Rename podcast search page to add #2301
2023-11-10 16:32:14 -06:00
advplyr
237fe84c54
Add new API endpoint for updating auth-settings and update passport auth strategies
2023-11-10 16:11:51 -06:00
advplyr
078cb0855f
Merge branch 'master' into auth_passportjs
2023-11-10 07:26:07 -06:00
mikiher
ecba67da6d
Add Istanbul coverage (nyc)
2023-11-10 10:02:02 +00:00
mikiher
ea05e1f559
Remove test/ from .gitigore (now contains unit tests)
2023-11-10 09:58:30 +00:00
advplyr
d3a55c8b1a
Merge branch 'master' of https://github.com/advplyr/audiobookshelf
2023-11-09 16:36:37 -06:00
advplyr
d6b17678ec
Update:Persist soft/hard delete checkbox option #1689
2023-11-09 16:36:28 -06:00
advplyr
33e287a543
Update:Persist show full path option for tables #2285
2023-11-09 16:26:49 -06:00
advplyr
08f045a02b
Merge pull request #2299 from burghy86/patch-11
...
Update it.json
2023-11-09 16:15:16 -06:00
mikiher
e8c14dbb58
Test BookFinder.js using mocha
2023-11-09 19:58:51 +00:00
burghy86
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
advplyr
8f4c75ff2b
Update:Author card books translation string #2284
2023-11-08 16:28:05 -06:00
advplyr
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
advplyr
e140897313
Add match existing user by and auto register settings and UI
2023-11-08 14:45:29 -06:00
mikiher
d1671f0ddc
Cleanup commented out tests
2023-11-08 16:37:12 +00:00
mikiher
2730486ba5
Add tests for AuthorCandidates and search() in BookFinder
2023-11-08 16:24:08 +00:00
mikiher
49e4515785
Add stripRedudantSpaces
2023-11-08 16:21:20 +00:00
mikiher
819c524f51
Pass audnexus to AuthorCandidates constructor directly
2023-11-08 16:19:24 +00:00
advplyr
70c213ad22
Merge pull request #2291 from brianjaustin/fix/collection-duration
...
Hide collection duration if 0
2023-11-06 16:21:25 -06:00
advplyr
aad6402fdb
Update client/components/tables/collection/BookTableRow.vue
2023-11-06 16:18:35 -06:00
advplyr
5ce1cda2d0
Merge pull request #2283 from mikiher/watcher-single-file-update
...
Fix handling of single media file updates
2023-11-06 16:08:23 -06:00
mikiher
ba60fc7581
Add tests for TitleCanidates
2023-11-06 05:33:06 +00:00
Brian Austin
0344e8cf1b
Hide collection duration if 0
2023-11-05 19:13:26 -05:00
advplyr
f840aa80f8
Add button to populate openid URLs using the issuer URL
2023-11-05 14:11:37 -06:00
advplyr
c17540e191
Add app and serverVersion properties to response from /status
2023-11-05 13:06:26 -06:00
advplyr
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
advplyr
61e05e92a8
Add Swedish language option
2023-11-05 13:05:16 -06:00
Gustav Almstrom
1e5d6a5d52
Added swedish translation of strings
2023-11-05 13:05:15 -06:00
advplyr
ff831678e8
Merge pull request #2288 from ScuttleSE/master
...
Added swedish translation of strings
2023-11-05 10:18:45 -06:00
advplyr
910be21e93
Add Swedish language option
2023-11-05 10:16:40 -06:00
mikiher
89055f8655
Remove unnecessary includesAuthorDiff from sorting
2023-11-05 16:14:26 +00:00
Gustav Almstrom
b9ccc28baa
Added swedish translation of strings
2023-11-05 16:51:45 +01:00
mikiher
5a3d450482
Refactor diff declarations in title candidate sorting
2023-11-05 15:13:42 +00:00
mikiher
047e7a72f2
Make position an internal property of titleCandidates
2023-11-05 14:56:20 +00:00
mikiher
3a9d09ea63
Add jest to dev dependencies
2023-11-05 14:33:56 +00:00
mikiher
ee3d3808ef
Refactor removing author from title candidate
2023-11-05 14:31:36 +00:00
mikiher
8f5a6b7c95
Move utility functions to module scope
2023-11-05 14:17:26 +00:00
advplyr
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
mikiher
567e1c46db
Fix handling of single mefia file updates
2023-11-04 11:06:54 +00:00
advplyr
cfe0c2a986
Merge branch 'master' into auth_passportjs
2023-11-03 08:29:05 -05:00