Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Morlinest
ddb7f59ef4
Add search mode option to /api/repo/search ( #2756 )
...
* Add repo type option to /api/repo/search
* Add tests and fix result of collaborative filter in specific condition
* Fix/optimize search & tests
* Improve integration tests
* Fix lint errors
* Fix unit tests
* Change and improve internal implementation of repo search
* Use NonexistentID
* Make search api more general
* Change mirror and fork search behaviour
* Fix tests & typo in comment
7 years ago
Kazuki Sawada
43253202e9
Change default sort order ( #2647 )
...
* sort repositories by `updated_unix` in Explore
* Fix UI problem
* Added missing sort order "newest"
* Change default sort order
* fmt
7 years ago
Morlinest
9a75a5d59b
Use custom type and constants to hold order by options ( #2572 )
7 years ago
Lunny Xiao
e41da3845d
fix duplicated feed ( #2370 )
7 years ago
Lunny Xiao
f61a1d210c
Fix missing collabrative repos ( #2367 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
7 years ago
Bwko
1a5fe4326f
Add collaborative repositories to the dashboard ( #2205 )
...
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
7 years ago
Michael Kuhn
934dd41fa6
Make SHOW_USER_EMAIL also apply to profiles ( #2258 )
...
The e-mail address is currently only hidden from the explore page.
7 years ago
Jonas Franz
441986a473
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago
Ethan Koenig
4e5ee2b67a
Fix user profile activity feed ( #1848 )
...
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Sandro Santilli
9182a35f18
Show user OpenID URIs in their profile ( #1314 )
8 years ago
Bo-Yi Wu
a31f64d639
fix: 500 error on /explore/repos page. ( #946 )
8 years ago
Bo-Yi Wu
23aba523b5
feat: support search bar on star tab of user profile. ( #917 )
...
* feat: support search bar on star tab of user profile.
* fix: update testing.
* fix: Using loadAttributes
* fix: remove empty line.
* remove LOWER
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Bo-Yi Wu
a195c3fabe
fix: Admin can also search private user repository. ( #869 )
8 years ago
Bo-Yi Wu
b13232f524
feat: support paginater on star tab of user profile. ( #845 )
8 years ago
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
8 years ago
Bo-Yi Wu
a90a215662
feat: Add search bar on user profile page. ( #787 )
8 years ago
Bo-Yi Wu
2db0ffe69e
fix: User can see the private activity on public activity history. ( #818 )
8 years ago
Andrey Nering
b992858883
Tab on user profile to show starred repos ( #519 )
...
* Tab on user profile to show starred repos
* Make golint happy and use transactions on StarRepo function
* x -> sess
* Use sess.Close() instead of sess.Rollback()
* Add copyright
* Fix lint
8 years ago
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
...
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
aa12135b97
Fix panic when view profile without signin
...
Also fix that no matter who, still able to see organizations with private membership.
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
9 years ago
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Unknwon
a9d68a6884
fix #2529
9 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
9 years ago
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
9 years ago
Unknwon
62edc5c59a
fix cannot show user public ssh keys
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago