mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
Feat/oauth2 (#6281): Added oauth to API paths
* Added oauth provider. * Fixed provider. * Added auth flow. * Fixed auth flow and added scaffolding vite config. * Added working oauth2. * Fixed dockerfile. * Adapted run.sh script * Moved api tests to oauth2. * Updated security schemes. * Removed api key from existance. * Fixed installation * Added missing issuer in config. * Fixed dev dependencies. * Updated lock file.
This commit is contained in:
parent
562177022f
commit
fb56809e55
44 changed files with 1782 additions and 237 deletions
|
@ -19,6 +19,15 @@ IF EXIST admin (
|
|||
cd /D ..
|
||||
)
|
||||
|
||||
:: Install ui only if available
|
||||
IF EXIST ui (
|
||||
cd /D .\ui
|
||||
dir
|
||||
cmd /C pnpm i || exit /B 1
|
||||
cmd /C pnpm run build || exit /B 1
|
||||
cd /D ..
|
||||
)
|
||||
|
||||
|
||||
cmd /C pnpm i || exit /B 1
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ Please type 'Etherpad rocks my socks' (or restart with the '--root'
|
|||
argument) if you still want to start it as root:
|
||||
EOF
|
||||
printf "> " >&2
|
||||
read rocks
|
||||
read -r rocks
|
||||
[ "$rocks" = "Etherpad rocks my socks" ] || fatal "Your input was incorrect"
|
||||
fi
|
||||
|
||||
|
@ -32,9 +32,11 @@ bin/installDeps.sh "$@" || exit 1
|
|||
|
||||
## Create the admin ui
|
||||
if [ -z "$NODE_ENV" ] || [ "$NODE_ENV" = "development" ]; then
|
||||
ADMIN_UI_PATH="$(dirname $0)/../admin"
|
||||
ADMIN_UI_PATH="$(dirname "$0")/../admin"
|
||||
UI_PATH="$(dirname "$0")/../ui"
|
||||
log "Creating the admin UI..."
|
||||
(cd $ADMIN_UI_PATH && pnpm run build)
|
||||
(cd "$ADMIN_UI_PATH" && pnpm run build)
|
||||
(cd "$UI_PATH" && pnpm run build)
|
||||
else
|
||||
log "Cannot create the admin UI in production mode"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue