41 Commits

Author SHA1 Message Date
7cc2b497ca Use mail handle if oauth nickname is empty (#362) 2024-10-31 18:24:15 +01:00
d5e66d3994 Fix oauth endpoint to support detecting https in 'Forwarded' header, enabling google support (#359) 2024-10-31 15:03:35 +01:00
20372f44e4 Change json response detection (#361) 2024-10-31 14:41:42 +01:00
2bf434f00e Add TOTP MFA (#342) 2024-10-24 23:23:00 +02:00
6959929094 Add passkeys support + MFA (#341) 2024-10-07 23:56:32 +02:00
fa8217e27f Separate OAuth unlink URL (#336) 2024-09-22 23:21:43 +02:00
069a999297 Fix package cases crash (#313) 2024-09-03 17:15:08 +02:00
22052bd38f Add a setting to allow anonymous access to individual gists while still RequireLogin everywhere else (#229)
* Add a setting to allow accessing individual gists without auth

This is a middle ground between the existing setting "Require Login",
which requires login to do anything at all, and having it off, which
shows a public list of gists and more generally allows discovering info
about the users/gists of the instance without login.

The idea of this setting is that it is "require login" for everything
except individual gists.

Fixes #228.


Co-authored-by: Thomas Miceli <tho.miceli@gmail.com>
2024-05-12 23:40:11 +02:00
e439d96e43 Add translation strings (#269) 2024-05-05 00:24:25 +02:00
57273946c3 Fix empty invitation on user creation (#247) 2024-04-04 17:36:18 +02:00
ef004675a5 Create invitations for closed registrations (#233) 2024-04-03 01:56:55 +02:00
1c1e3a8919 Reset a user password using CLI (#226) 2024-04-03 01:56:55 +02:00
e1303c95d0 Increase login for 1 year (#222) 2024-04-03 01:56:55 +02:00
86ad88fb09 Set gist URL and title via push options (#216) 2024-04-03 01:56:55 +02:00
8466e50cc3 Add GitLab OAuth provider (#174) 2024-01-04 18:06:19 +01:00
be46304e23 Display OAuth errors (#159) 2023-11-20 18:41:01 +01:00
4eedfdcf6f Fix login page disabled depending on locale (#120) 2023-09-28 20:09:08 +02:00
85b51bf3c9 Merge branch 'master' of github.com:Maronato/opengist into Maronato-master 2023-09-25 13:07:48 +02:00
a5ea522e45 Add translation system (#104) 2023-09-22 17:26:09 +02:00
933ba2da0d errors should not be capitalized 2023-09-15 19:48:09 -03:00
1dcb900cf3 implement OIDC auth 2023-09-15 18:56:14 -03:00
a7b346d8df Tweaked project structure (#88) 2023-09-03 00:30:57 +02:00
7b5d035a32 Search gists (#68) 2023-06-21 18:19:17 +02:00
98c85de3d6 fix: gitea config url for avatar (#61)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-18 12:38:57 +02:00
da970d7272 Fix URL join (#43) 2023-05-29 22:39:30 +02:00
4a75a50370 Disable Gravatar (#37)
* Disable Gravatar
* Lowercase emails
* Add migration
2023-05-26 09:15:37 +02:00
026bb7304c Update go module name 2023-05-15 21:07:29 +02:00
49807d04c7 Disable login form via admin panel 2023-05-06 18:53:59 +02:00
3cf5bc8b76 First account registering with OAuth is now admin 2023-05-04 11:48:26 +02:00
5040a2fe3c Respect ExternalUrl for oauth 2023-04-30 12:09:42 +02:00
333efeacbf Add require login feature to see gists 2023-04-28 20:31:10 +02:00
91db4dcd30 Satisfy Staticcheck 2023-04-26 23:13:11 +02:00
884195aed4 Trim gitea url 2023-04-17 21:31:40 +02:00
6a0fd92516 Block Oauth when signup is disabled 2023-04-17 20:33:24 +02:00
2d42cf798c Include HTML buttons 2023-04-17 20:25:35 +02:00
4008b7ce38 Client key and secret Oauth in config 2023-04-17 19:11:32 +02:00
a6c5696ceb Support Github and Gitea OAuth providers 2023-04-17 14:25:39 +02:00
dba3f4be44 Create admin settings and moved signup disable setting there 2023-04-17 00:17:06 +02:00
746d836b99 Add warn logs on invalid authentications 2023-04-04 01:16:22 +02:00
167abd4ae5 Enhanced model structs with DTOs 2023-03-17 14:56:39 +01:00
bee5d045c3 Initial commit 2023-03-14 16:22:52 +01:00