Lunny Xiao
eabbddcd98
Restrict permission check on repositories and fix some problems ( #5314 )
...
* fix units permission problems
* fix some bugs and merge LoadUnits to repoAssignment
* refactor permission struct and add some copyright heads
* remove unused codes
* fix routes units check
* improve permission check
* add unit tests for permission
* fix typo
* fix tests
* fix some routes
* fix api permission check
* improve permission check
* fix some permission check
* fix tests
* fix tests
* improve some permission check
* fix some permission check
* refactor AccessLevel
* fix bug
* fix tests
* fix tests
* fix tests
* fix AccessLevel
* rename CanAccess
* fix tests
* fix comment
* fix bug
* add missing unit for test repos
* fix bug
* rename some functions
* fix routes check
6 years ago
Rodrigo Villablanca Vásquez
48badd59e9
Fix to 3819 - Filtering issues by tags on main screen issues ( #3824 )
...
* Fix to 3819
* Changes suggested
* Empty line removed
* Fix error: non-name opts.Labels on left side of :=
6 years ago
kolaente
6759237eda
User action heatmap ( #5131 )
...
* 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
6 years ago
Oleg Kovalov
5a4648cdd6
Remove check for negative length ( #5120 )
6 years ago
David Schneiderbauer
0b3ea42847
hide issues from org private repos w/o team assignment ( #4034 )
7 years ago
Bo-Yi Wu
04b3e8cbdc
refactor: reduce sql query in retrieveFeeds ( #3547 )
7 years ago
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
Antoine GIRARD
84feb016f5
Remove useless fmt.Errorf("%v", err) ( #3337 )
7 years ago
Ethan Koenig
4c9341f689
Fix bugs in issue dashboard stats ( #3073 )
7 years ago
Ethan Koenig
68179dc676
Remove unnecessary function call ( #3109 )
7 years ago
Ethan Koenig
c0a7899416
Sort repos in issues dashboard sidebar ( #3072 )
...
* Sort repos in issues dashboard sidebar
* Sort repos by name
7 years ago
Lunny Xiao
e41da3845d
fix duplicated feed ( #2370 )
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
Morlinest
e08d1fcc15
Fix variable name typo ( #2327 )
7 years ago
Morlinest
951fb572a7
Fix and improve dashboard repo UI ( #2285 )
...
* Fix and improve dashboard repo UI
* Change order of scripts loading
* Remove "mirror" tab
* Remove single tab panel for "org user"
* Add localization strings
* Create vue component and change event for search
* Add "mirrors" filter
7 years ago
Ethan Koenig
7e0654bd9e
Fix counts on issues dashboard ( #2215 )
...
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
7 years ago
Jonas Franz
441986a473
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago
Ethan Koenig
afe1f1c4af
Fix 500 in public activity page ( #1901 )
8 years ago
Ethan Koenig
9ddc35e343
Cache ctx.User in retrieveFeeds ( #1902 )
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
Ethan Koenig
0c332f0480
Fix activity feed ( #1779 )
...
* Fix activity feed
Preserve actions after user/repo name change
* Add missing comment
* Fix migration, and remove fields completely
* Tests
8 years ago
silverwind
237270ef50
Orgs: fix org page title when full name is not defined ( #1495 )
8 years ago
Lunny Xiao
847527fd6d
Fix all the bugs in issues and pulls on dashboard ( #943 )
...
* fix all the bugs in issues and pulls on dashboard
* small fix and refactor
* add method getRepoIDs for IssueList
8 years ago
Lunny Xiao
9c645b54dc
bug fixed on issues and pulls
8 years ago
Lunny Xiao
7a9a5c8a69
Fix assigned issues dashboard ( #920 )
...
* Fix assigned/created issues in dashboard. (#3560 )
* Fix assigned/created issues in dashboard.
* Use GetUserIssueStats for getting all Dashboard stats.
* Use gofmt to format the file properly.
* Replace &Issue{} with new(Issue).
* Check if user has access to given repository.
* Remove unnecessary filtering of issues.
* Return 404 error if invalid repository is given.
* Use correct number of issues in paginater.
* fix issues on dashboard
8 years ago
Lunny Xiao
8a421b1fd7
Add units concept for modulable functions of a repository ( #742 )
...
* Add units concept for modulable functions of a repository
* remove unused comment codes & fix lints and tests
* remove unused comment codes
* use struct config instead of map
* fix lint
* rm wrong files
* fix tests
8 years ago
Bo-Yi Wu
a90a215662
feat: Add search bar on user profile page. ( #787 )
8 years ago
Ethan Koenig
400b6fd61c
Cache ctxUser in retrieveFeeds(..) ( #826 )
8 years ago
Ethan Koenig
da1b6164fe
Fix FIXME and remove superfluous queries in models/org ( #749 )
8 years ago
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
8 years ago
Ethan Koenig
d0932ef147
Bug fixes for Issues filters ( #413 )
...
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Lunny Xiao
a12da66dfb
resolved #394 ( #396 )
8 years ago
Bwko
a4ece1f223
Fixes typos
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
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
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
lstahlman
2c82fc3edb
Fix for #3410 overall issues for organisations is limited to num_repos from the user ( #3412 )
8 years ago
Unknwon
cf6d321991
Ignore repository with issue disabled or use external tracker in dashboard issues
8 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Alec S
792c13cf0a
readd 'dashboard' to title
9 years ago
Alec S
bfed3ea7d3
fix indentation
9 years ago
Alec S
affa3c2dbf
Remove dashboard keyword from title
9 years ago