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.
gitea/routers/web/user
wxiaoguang 70fc47a22a
Fix unclear "Owner" concept (#24233)
Some user/org pages use `Owner` variable. It's an incorrect concept
since year 2016: what is a user's owner?

Actually, new code is right: use `ContextUser`.

This PR cleans all legacy "Owner" variables.

## Screenshots for related pages and test results

All pages are as before:

### `web/org/home.go`


![image](https://user-images.githubusercontent.com/2114189/233366687-a3643025-1f78-474d-a901-deea35b72f4d.png)

### `web/user/profile.go`


![image](https://user-images.githubusercontent.com/2114189/233366812-2e5c2fbc-3f78-44e7-88c1-ec2f612c241e.png)

### `web/user/setting/profile.go`


![image](https://user-images.githubusercontent.com/2114189/233366928-7a1e52c9-b400-4379-a4be-af06a853c5fa.png)
2 years ago
..
setting Fix unclear "Owner" concept (#24233) 2 years ago
avatar.go Set `X-Gitea-Debug` header once (#23361) 2 years ago
code.go Add missing tabs to org projects page (#22705) 2 years ago
home.go Localize activity heatmap (except tooltip) (#24131) 2 years ago
home_test.go Add a simple test for external renderer (#20033) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notification.go Fix pagination on `/notifications/watching` (#23564) 2 years ago
package.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
profile.go Fix unclear "Owner" concept (#24233) 2 years ago
search.go Add option to search for users is active join a team (#24093) 2 years ago
stop_watch.go Move `convert` package to services (#22264) 2 years ago
task.go Implement FSFE REUSE for golang files (#21840) 2 years ago