Add selected environment options #7

Merged
decentral1se merged 2 commits from nicksellen/codimd:add/more-env-options into main 1 year ago

Adds more environment options from https://docs.hedgedoc.org/configuration/. I just selected ones that don't look like they require any secrets.

I used this command to list the available options:

curl -s https://docs.hedgedoc.org/configuration/ | grep -Po 'CMD_[A-Z0-9_]+' | sort -u
Adds more environment options from https://docs.hedgedoc.org/configuration/. I just selected ones that don't look like they require any secrets. I used this command to list the available options: ``` curl -s https://docs.hedgedoc.org/configuration/ | grep -Po 'CMD_[A-Z0-9_]+' | sort -u ```
nicksellen added 1 commit 1 year ago
f81b91db99
Add selected environment options
decentral1se requested changes 1 year ago
.env.sample Outdated
# Options, see https://docs.hedgedoc.org/configuration/
# CMD_ALLOW_ANONYMOUS
Owner

Think these all need =true/false?

Think these all need `=true/false`?
Poster

The values can be varied depending on the option, e.g. CMD_DEFAULT_PERMISSION can be editable, freely, limited, locked, protected or private

... so I was imagining they would refer back to the source to check the values?

Or do you think the possible values (and defaults?) be copied in here too?

The values can be varied depending on the option, e.g. `CMD_DEFAULT_PERMISSION` can be `editable, freely, limited, locked, protected or private` ... so I was imagining they would refer back to the source to check the values? Or do you think the possible values (and defaults?) be copied in here too?
decentral1se marked this conversation as resolved
nicksellen added 1 commit 1 year ago
a781e47fe2
Set new config options to default values
decentral1se merged commit fd2c333a54 into main 1 year ago
Owner

Thanks! 🚀

Thanks! 🚀

Reviewers

decentral1se requested changes 1 year ago
continuous-integration/drone/pr Build is failing
The pull request has been merged as fd2c333a54.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.