Commit graph

36 commits

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