Bo-Yi Wu
a31f64d639
fix: 500 error on /explore/repos page. ( #946 )
7 years ago
Bo-Yi Wu
9d2b830275
refactor: small optimize for sql query ( #940 )
* refactor: small optimize for sql query
* fix: get owner name if Searcher is not nil or user star page.
7 years ago
Lunny Xiao
9c645b54dc
bug fixed on issues and pulls
7 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
7 years ago
Bo-Yi Wu
d67b278a0d
feat: Able to disable non-admin to create new organization ( #927 )
7 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>
7 years ago
Andrew Boyarshin
dc8248f8a4
Markdown rendering overhaul ( #186 )
* Markdown rendering overhaul
Cleaned up and squashed commits into single one.
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix markdown API, add markdown module and API tests, improve code coverage
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
7 years ago
Bo-Yi Wu
5cc275b1de
feat: add git version on admin panel. ( #921 )
7 years ago
Andrey Nering
05157808de
Fix HighlightJS not working on compare diff page ( #914 )
7 years ago
Lunny Xiao
cf0f451c37
Add delete branch track on pull request comments ( #888 )
* add delete branch track on pull request comments
* don't change vendor
7 years ago
Bo-Yi Wu
3576e1ee73
fix: trim the whitespaces for the search keyword ( #893 )
7 years ago
Ethan Koenig
2f13d31ff0
Fix bug in repos search ( #884 )
7 years ago
Bo-Yi Wu
a195c3fabe
fix: Admin can also search private user repository. ( #869 )
7 years ago
Lunny Xiao
45a324b437
fix releases count and resolved #764 ( #857 )
7 years ago
Bo-Yi Wu
b13232f524
feat: support paginater on star tab of user profile. ( #845 )
7 years ago
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
7 years ago
Zsombor
e388db311b
Add checkbox to search for all the branches by commit message ( #813 )
and updating the vendor directory
7 years ago
Ethan Koenig
027591a3a5
Redirects for renamed repos ( #807 )
* Redirects for renamed repos
* Remove unused phrase from locales
7 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
7 years ago
Bo-Yi Wu
a90a215662
feat: Add search bar on user profile page. ( #787 )
7 years ago
Lunny Xiao
3e0525b47d
Track assignee for issue ( #808 )
* track assignee for issue
* fix lint
* use getUserByID instead Get
7 years ago
Ethan Koenig
68bdaf0a6b
Drop redundant columns from issue_user table ( #638 )
7 years ago
Ethan Koenig
400b6fd61c
Cache ctxUser in retrieveFeeds(..) ( #826 )
7 years ago
Gabriel Jackson
bf6f61cc69
Cleanup log messaging
This change corrects a few logging issues:
* Standardized formatting errors with '%v'.
* Standardized failure warning word usage.
* Corrected an instance of using the standard log library when
the gitea log library should be used instead.
7 years ago
Ethan Koenig
73d05a51e3
Remove unneeded database loads ( #814 )
Remove unnecessary calls to repo.GetOwner() in context handlers
7 years ago
Bo-Yi Wu
2db0ffe69e
fix: User can see the private activity on public activity history. ( #818 )
7 years ago
Lunny Xiao
081485ecfd
add milestone changed traker on issue view ( #804 )
7 years ago
Ethan Koenig
10644d6dd7
Bug fixes and unit tests for models/issue_label ( #802 )
7 years ago
Ethan Koenig
2eb15f4a61
Unit tests and remove unused functions in models/notification ( #796 )
* Unit tests and remove unused functions in models/notification
* Read -> Unread
7 years ago
Lunny Xiao
f94869d2d1
Track labels changed on issue view & resolved #542 ( #788 )
* track labels changed on issue view & resolved #542
* add missing head comment & sort & fix refresh
7 years ago
Thomas Boerger
78535fb08e
Allow custom public files ( #782 )
* Allow custom public files
* Gofmt code, lots of places not related to this pr
7 years ago
Andrey Nering
27d30f1a61
Notifying on open PR, and Close/Reopen/Merge issue or PR
7 years ago
Bwko
e08421017c
Add ability to fork your own repos ( #761 )
7 years ago
Ethan Koenig
d1b5498cc0
Use handlers for API authorization ( #723 )
7 years ago
Ethan Koenig
da1b6164fe
Fix FIXME and remove superfluous queries in models/org ( #749 )
7 years ago
Lunny Xiao
2a80e5a81e
bug fixed caused by #530 ( #755 )
7 years ago
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
7 years ago
Lunny Xiao
f8c2903484
fixed bugs on Wiki and resolved #667 ( #674 )
7 years ago
Bwko
7e401b9e39
Fix crash caused by #647 ( #708 )
7 years ago
Philip Couling
1610b9f547
Spun attachments into seperate go file ( #701 )
Moved attachments into seperate go file
7 years ago
Ethan Koenig
74bbec3bf9
Fix permission bugs in team API ( #647 )
7 years ago
Ethan Koenig
fcf02e4961
API Endpoints for organization members ( #645 )
7 years ago
Andrey Nering
d2bb8ef503
Notifications: trying to get a better layout ( #660 )
* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl
7 years ago
Matthias Loibl
d1006150fb
Refactor process package and introduce ProcessManager{} with tests ( #75 )
* Add a process.Manager singleton with process.GetManager()
* Use process.GetManager everywhere
* Fix godoc comments for process module
* Increment process counter id after locking the mutex
7 years ago
Andrew
6dd096b7f0
Two factor authentication support ( #630 )
* Initial commit for 2FA support
Signed-off-by: Andrew <write@imaginarycode.com>
* Add vendored files
* Add missing depends
* A few clean ups
* Added improvements, proper encryption
* Better encryption key
* Simplify "key" generation
* Make 2FA enrollment page more robust
* Fix typo
* Rename twofa/2FA to TwoFactor
* UNIQUE INDEX -> UNIQUE
7 years ago
Philip Couling
64375d875b
Attach to release ( #673 )
* Moved attachaments POST url from /issues/attachments to /attachments
* Implemented attachment upload on release page
* Implemented downloading attachments on the release page
* Added zip and gzip files to default allowed attachments
* Implemented uploading attachments on edit release
* Renamed UploadIssueAttachment to UploadAttachment
7 years ago
Ethan Koenig
27fcf8d30a
Bug fixes for webhook API ( #650 )
7 years ago
xgitea
64b167138f
docs: update translation on notification page for zh-CN ( #649 )
* docs: update translation on notification page for zh-CN
* use international resources
7 years ago
Andrey Nering
769e0a3ea6
Notifications: mark as read/unread and pin ( #629 )
* Use relative URLs
* Notifications - Mark as read/unread
* Feature of pinning a notification
* On view issue, do not mark as read a pinned notification
7 years ago
Lunny Xiao
7209917fd7
bug fix release
7 years ago