summaryrefslogtreecommitdiffstats
path: root/routers/user/profile.go
Commit message (Collapse)AuthorAgeFilesLines
* SearchRepositoryByName improvements and unification (#6897)zeripath2019-05-151-63/+33
|
* Unifies pagination template usage (#6531) (#6533)Mario Lubenka2019-04-201-13/+9
|
* add .gpg url (match github behaviour) (#6610)Antoine GIRARD2019-04-141-1/+14
| | | | | | | | | | | | | | | | | | | | | | * add .gpg url (match github behaviour) * wildcard * test to export maximum data * working POC * add comment for old imported keys * cleaning * Update routers/user/profile.go Co-Authored-By: sapk <sapk@users.noreply.github.com> * add migration script * add integration tests
* Show email if the authenticated user owns the profile page being requested ↵Lanre Adelowo2019-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for (#4981) * Show email if the authenticated user owns the profile page being requested for. Also removed `setting.UI.ShowUserEmail` as it's documentation says it only controls the email setting on the explore page * fix current user check... This prevents a panic as a user must be signed in before ctx.User is called * fix panic in tests * try to fix tests * Update year * Test CI fail * Revert change * User 3 is not allowed to authorize * Set user2 email to be private * Change to user4 in explore page as user2 now has private email option set
* Allow to set organization visibility (public, internal, private) (#1763)Rémy Boulanouar2019-02-181-0/+2
|
* User action heatmap (#5131)kolaente2018-10-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added basic heatmap data * Added extra case for sqlite * Built basic heatmap into user profile * Get contribution data from api & styling * Fixed lint & added extra group by statements for all database types * generated swagger spec * generated swagger spec * generated swagger spec * fixed swagger spec * fmt * Added tests * Added setting to enable/disable user heatmap * Added locale for loading text * Removed UseTiDB * Updated librejs & moment.js * Fixed import order * Fixed heatmap in postgresql * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: kolaente <konrad@kola-entertainments.de> * Added copyright header * Fixed a bug to show the heatmap for the actual user instead of the currently logged in * Added integration test for heatmaps * Added a heatmap on the dashboard * Fixed timestamp parsing * Hide heatmap on mobile * optimized postgresql group by query * Improved sqlite group by statement
* feat(repo): support search repository by topic name (#4505)Bo-Yi Wu2018-09-131-0/+4
| | | | * feat(repo): support search repository by topic name
* Added repository search ordered by stars or forks. Forks column in admin ↵Alexey Terentyev2018-05-241-0/+8
| | | | | | | | | | | | | repo list. (#3969) * Added repository search order by stars or forks. Added Forks column to admin repository list. Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Renamed search repo template Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* remove collaborative repositories from search on user profiles (#3996)David Schneiderbauer2018-05-211-7/+8
| | | | | | * remove collaborative repositories from search on user profiles * rename 'My Repositories' to 'Repositories'
* Refactor and simplify redirect to url (#3674)Lauris BH2018-03-151-5/+1
|
* Handle refactor (#3339)Morgan Bazalgette2018-01-101-11/+11
| | | | | | * Replace all ctx.Handle with ctx.ServerError or ctx.NotFound * Change Handle(403) to NotFound, avoid using macaron's NotFound
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Change default sort order (#2647)Kazuki Sawada2017-10-051-6/+1
| | | | | | | | | | | | * sort repositories by `updated_unix` in Explore * Fix UI problem * Added missing sort order "newest" * Change default sort order * fmt
* Use custom type and constants to hold order by options (#2572)Morlinest2017-09-221-10/+10
|
* fix duplicated feed (#2370)Lunny Xiao2017-08-281-1/+0
|
* Fix missing collabrative repos (#2367)Lunny Xiao2017-08-241-7/+8
| | | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-231-1/+6
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* Make SHOW_USER_EMAIL also apply to profiles (#2258)Michael Kuhn2017-08-171-0/+2
| | | The e-mail address is currently only hidden from the explore page.
* Fix "Dashboard shows deleted comments" (#1995)Jonas Franz2017-06-251-1/+1
|
* Fix user profile activity feed (#1848)Ethan Koenig2017-06-021-1/+1
| | | | | | * Fix user profile activity feed * gofmt, and avoid overlapping database connections
* Show user OpenID URIs in their profile (#1314)Sandro Santilli2017-03-201-0/+8
|
* fix: 500 error on /explore/repos page. (#946)Bo-Yi Wu2017-02-151-6/+7
|
* feat: support search bar on star tab of user profile. (#917)Bo-Yi Wu2017-02-141-55/+66
| | | | | | | | | | | | | | * 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>
* fix: trim the whitespaces for the search keyword (#893)Bo-Yi Wu2017-02-111-1/+1
|
* fix: Admin can also search private user repository. (#869)Bo-Yi Wu2017-02-081-10/+10
|
* feat: support paginater on star tab of user profile. (#845)Bo-Yi Wu2017-02-071-2/+17
|
* fix: wrong pages number which includes private repository count. (#844)Bo-Yi Wu2017-02-061-2/+15
|
* feat: Add search bar on user profile page. (#787)Bo-Yi Wu2017-02-041-5/+59
|
* fix: User can see the private activity on public activity history. (#818)Bo-Yi Wu2017-02-021-5/+5
|
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-5/+8
| | | | | | | | | | | | | | * 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
* golint fixed for parts of routers root, dev, user and org dirs (#167)Lunny Xiao2016-11-181-5/+11
| | | | | | | | * 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
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-5/+5
| | | | | | | - 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
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-5/+5
|
* #1384 add pagination for repositoriesUnknwon2016-07-241-9/+16
|
* Refactor User.Id to User.IDUnknwon2016-07-241-6/+6
|
* Rename module: middleware -> contextUnknwon2016-03-111-8/+8
|
* Fix panic when view profile without signinUnknwon2016-02-191-1/+1
| | | | Also fix that no matter who, still able to see organizations with private membership.
* Merge pull request #2578 from exmex/developUnknwon2016-02-141-2/+3
|\ | | | | Admins and user itself sees private org relations on profile
| * Admins and user itself sees private org relations on profileExMex2016-02-071-2/+3
| |
* | Minor fix for #2567Unknwon2016-02-141-1/+1
| |
* | Only show activities for repositories on dashboard, that the user has access toFlorian Kaiser2016-02-061-1/+1
|/
* fix #2529Unknwon2016-01-311-1/+1
|
* Show all orgs on user profile, except the private one'sFlorian Kaiser2016-01-301-3/+3
|
* Added organization display on profileExMex2016-01-121-0/+7
| | | | Fixed "Follower" Icon too big
* fix cannot show user public ssh keysUnknwon2016-01-091-4/+8
|
* #2282 fix utf-8 recognized as windows-1252Unknwon2015-12-251-1/+2
|
* #1692 APIs: Users FollowersUnknwon2015-12-211-0/+145
- User profile un/follow - List user's followers/following