mirror of
1
Fork 0
forgejo/routers
Monty Taylor ee7b153dd9 Fix 500 when getting user as unauthenticated user (#8653)
When doing GET /api/v1/users/{user} as an unauthenticated user,
gitea throws a 500 because it's trying to dereference elements
from the context user. It wants to do this to see whether to
show the primary email and will do that if the logged in user
is admin or the user in question. However, if ctx.User is nil,
go gets really unhappy.
2019-10-24 09:18:41 +08:00
..
admin Fix password complexity regex for special characters (on master) (#8525) 2019-10-16 11:09:58 +08:00
api/v1 Fix 500 when getting user as unauthenticated user (#8653) 2019-10-24 09:18:41 +08:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Fix errors in create org UI regarding team access permission. (#8506) 2019-10-14 19:20:42 +01:00
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
repo Improve OGP (#8637) 2019-10-23 18:54:13 +01:00
routes Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
user Fix template error on account page (#8562) 2019-10-19 10:01:33 +01:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
init.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
install.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00