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.
memos/api/v1
Lilith c1cbfd5766
feat: add system setting to disable password-based login (#2039)
* system setting to disable password login

* fix linter warning

* fix indentation warning

* Prohibit disable-password-login if no identity providers are configured

* Warnings and explicit confirmation when en-/disabling password-login

- Disabling password login now gives a warning and requires a second
  confirmation which needs to be explicitly typed.
- (Re)Enabling password login now also gives a simple warning.
- Removing an identity provider while password-login is disabled now
  also warns about possible problems.

* Fix formatting

* Fix code-style

---------

Co-authored-by: traumweh <5042134-traumweh@users.noreply.gitlab.com>
2 years ago
..
auth chore: update auth page (#1920) 2 years ago
activity.go refactor: migrate definition to api v1 (#1879) 2 years ago
auth.go feat: add system setting to disable password-based login (#2039) 2 years ago
common.go refactor: migrate definition to api v1 (#1879) 2 years ago
http_getter.go chore: add api docs (#1965) 2 years ago
idp.go chore: update common utils (#1908) 2 years ago
jwt.go chore: fix request path (#2014) 2 years ago
memo.go fix: get user by username api (#2034) 2 years ago
memo_organizer.go chore: update common utils (#1908) 2 years ago
memo_relation.go refactor: migrate memo to apiv1 (#1907) 2 years ago
memo_resource.go chore: update common utils (#1908) 2 years ago
openai.go feat: implement memos chat backend function (#1934) 2 years ago
resource.go chore: split save resource asset (#1939) 2 years ago
rss.go chore: fix rss route (#2010) 2 years ago
shortcut.go chore: update common utils (#1908) 2 years ago
storage.go refactor: migrate storage to apiv1 (#1890) 2 years ago
system.go feat: add system setting to disable password-based login (#2039) 2 years ago
system_setting.go feat: add system setting to disable password-based login (#2039) 2 years ago
tag.go revert: fix: exclude all punctuation chars except underscore in tags (#2033) 2 years ago
tag_test.go revert: fix: exclude all punctuation chars except underscore in tags (#2033) 2 years ago
user.go fix: get user by username api (#2034) 2 years ago
user_setting.go feat: add hindi language translation for i18n support (#2001) 2 years ago
v1.go feat: implement memos chat backend function (#1934) 2 years ago