You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/setting
Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login (#21638)
Enable this to require captcha validation for user login. You also must
enable `ENABLE_CAPTCHA`.

Summary:
- Consolidate CAPTCHA template
- add CAPTCHA handle and context
- add `REQUIRE_CAPTCHA_FOR_LOGIN` config and docs
- Consolidate CAPTCHA set-up and verification code 

Partially resolved #6049 

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
attachment.go Update default allowed attachment types (#20192) 2 years ago
cache.go format with gofumpt (#18184) 2 years ago
cors.go Add configuration for CORS allowed headers (#21747) 2 years ago
cron.go Allow extended config on cron settings (#12939) 4 years ago
cron_test.go format with gofumpt (#18184) 2 years ago
database.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
database_sqlite.go Remove legacy `+build:` constraint (#19582) 2 years ago
database_test.go Move database settings from models to setting (#7806) 5 years ago
directory.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
federation.go Add more linters to improve code readability (#19989) 2 years ago
git.go Use git.HOME_PATH for Git HOME directory (#20114) 2 years ago
i18n.go Remove support for sr-SP (#20155) 2 years ago
indexer.go format with gofumpt (#18184) 2 years ago
indexer_test.go format with gofumpt (#18184) 2 years ago
lfs.go Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2 years ago
log.go Add more linters to improve code readability (#19989) 2 years ago
mailer.go Rework mailer settings (#18982) 2 years ago
markup.go Allow render HTML with css/js external links (#19017) 2 years ago
migrations.go format with gofumpt (#18184) 2 years ago
mime_type_map.go format with gofumpt (#18184) 2 years ago
mirror.go format with gofumpt (#18184) 2 years ago
oauth2_client.go OAuth2 login: Set account link to "login" as default behavior (#15768) 3 years ago
packages.go Add package registry quota limits (#21584) 2 years ago
packages_test.go Add package registry quota limits (#21584) 2 years ago
picture.go Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
project.go Kanban board (#8346) 4 years ago
proxy.go format with gofumpt (#18184) 2 years ago
queue.go Add generic set type (#21408) 2 years ago
repository.go Add disable download source configuration (#20548) 2 years ago
service.go Add option to enable CAPTCHA validation for login (#21638) 2 years ago
session.go format with gofumpt (#18184) 2 years ago
setting.go Allow disable RSS/Atom feed (#21622) 2 years ago
setting_test.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
storage.go Rework repository archive (#14723) 3 years ago
storage_test.go more test case for STORAGE_TYPE overrides (and fixes) (#14096) 4 years ago
task.go Enable deprecation error for v1.17.0 (#18341) 2 years ago
webhook.go Add packagist webhook (#18224) 2 years ago