forgejo/routers/api/v1/user
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069)
You can limit or hide organisations. This pull make it also posible for users

- new strings to translte
- add checkbox to user profile form
- add checkbox to admin user.edit form
- filter explore page user search
- filter api admin and public user searches
- allow admins view "hidden" users
- add app option DEFAULT_USER_VISIBILITY
- rewrite many files to use Visibility field
- check for teams intersection
- fix context output
- right fake 404 if not visible

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
2021-06-26 20:53:14 +01:00
..
app.go add some reponse status on api docs (#15399) 2021-04-11 09:53:23 +01:00
email.go rsponse 404 when delete not exist email (#15383) 2021-04-10 07:12:38 +01:00
follower.go [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
gpg_key.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
helper.go Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
key.go [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
repo.go
settings.go [API] GET / SET User Settings (#16169) 2021-06-23 15:58:44 -04:00
star.go
user.go Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
watch.go