Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-7467 - Cleanup etherpad env vars #34

Merged
merged 3 commits into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions docs/services/etherpad/How it works.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# How it works

## Configuration
- ETHERPAD_COOKIE__EXPIRES_SECONDS - time in seconds after which a session expires
- ETHERPAD_ETHERPAD_COOKIE_RELEASE_THRESHOLD - time in seconds after which a session is not returned to the user
- ETHERPAD_API_KEY - api key used for authentication of schulcloud server requests
- ETHERPAD_URI - Used as base path for api client in nest
- ETHERPAD__PAD_PATH - Used in legacy client to set path on cookie.
- ETHERPAD__PAD_URI - Used for collab editor and lesson to build return url, Used in legacy client to build url
- ETHERPAD__NEW_DOMAIN - Used in legacy client to validate url
- ETHERPAD__OLD_DOMAIN - Used in legacy client to validate url
- ETHERPAD_API_PATH - Only used in tests.
- ETHERPAD_BASE_URL - Not used.
- FEATURE_ETHERPAD_ENABLED - Used to enable etherpad feature in feathers backend
- FEATURE_COLUMN_BOARD_COLLABORATIVE_TEXT_EDITOR_ENABLED - Enables etherpad feature on column boards

- ETHERPAD__COOKIE_EXPIRES_SECONDS - Time in seconds after which a session expires
- ETHERPAD__COOKIE_RELEASE_THRESHOLD - Time in seconds after which a session is not returned to the user

- ETHERPAD__API_KEY - Api key used for authentication of schulcloud server requests

- ETHERPAD__URI - Uri of etherpad api for all calls like create, delete etc. Used as base path for api client in nest and feathers backend.

- ETHERPAD__PAD_URI - URI to etherpad client api. Used in backend in collaborative text editor and lesson to build return url. Used in legacy client to build url.
- ETHERPAD_OLD_PAD_URI - Used in feathers backend to restrict access to old etherpad urls to lesson context. Only defined in default.schema.json and not in dof-app-deploy
- ETHERPAD__PAD_PATH - Path to etherpad client api. Used in legacy client to set path on cookie.

- ETHERPAD__NEW_DOMAIN - Etherpad Domain. Used in legacy client to validate url
- ETHERPAD__OLD_DOMAIN - Old Etherpad Domain. Used in legacy client to identify old urls in lessons and transform them to urls with new domain.

## Creating and Opening an Etherpad Element on a Column Board

Expand Down
Loading