Kim "BKC" Carlbäcker
66c92d6f2b
Add Screenshot-secion to IssueTemplate.md ( #939 )
For `UI`-bugs we usually require a Screenshot to debug it 😉
8 years ago
Ethan Koenig
b86320ef5e
Unit tests for repo redirects ( #961 )
8 years ago
Bo-Yi Wu
9b06f96354
fix: fill in ssh key title on setting of repo ( #950 )
* fix: fill in ssh key title on setting of repo
* fix: Don't overwrite ssh key title if exist.
8 years ago
Lunny Xiao
b5e80c80b6
optimization for team get repos ( #953 )
8 years ago
Lunny Xiao
6148c0f935
refactor notificationsForUser since xorm In support slice of customerize type ( #956 )
8 years ago
Lunny Xiao
40f6ec8232
Small opitimization for getUserTeams ( #954 )
* Small opitimization for getUserTeams
* more compact
8 years ago
Unknwon
6cc338d34f
Security: prevent XSS attach on wiki page
Reported by Miguel Ángel Jimeno.
8 years ago
Bo-Yi Wu
58b11237a0
test: Add testing for GetUserFork function ( #944 )
8 years ago
Bo-Yi Wu
08a8ab47bf
fix: 500 error on /explore/repos page. ( #946 )
8 years ago
Bo-Yi Wu
0b6148b669
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.
8 years ago
Lunny Xiao
479d87e312
fix some older Gogs upgrade to Gitea ( #929 )
8 years ago
Lunny Xiao
52a9cd24ba
catch error on call setup on serv command ( #932 )
8 years ago
Lunny Xiao
60e378e505
bug fixed on issues and pulls
8 years ago
Lunny Xiao
1f2edb4a88
fix ssh domain default value to domain ( #930 )
8 years ago
Lunny Xiao
da8f2f53b6
bug fixed for my repository ( #933 )
8 years ago
Lunny Xiao
0e3c632388
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
5f2ca7c663
fix bug of multiple forks ( #928 )
8 years ago
Bo-Yi Wu
cd73fcd8e7
feat: Able to disable non-admin to create new organization ( #927 )
8 years ago
Bo-Yi Wu
4898d2a7b0
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
Lunny Xiao
c66e9a52de
Use fingerprint to check instead content for public key ( #911 )
* use fingerprint to check instead content for public key
* add fingerprint field for ErrKeyAlreadyExist
8 years ago
Lunny Xiao
d96eba4e26
Small optimization for getTeamIDs ( #919 )
* small optimization for getTeamIDs
* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
8 years ago
Bo-Yi Wu
547ade89ca
fix: gofmt error. ( #918 )
8 years ago
Andrew Boyarshin
8822c890e7
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>
8 years ago
Bo-Yi Wu
fdd349d6f1
feat: add git version on admin panel. ( #921 )
8 years ago
Kim "BKC" Carlbäcker
9640ffc6db
Add import-styleguide to Contributing.md ( #912 )
* Add import-styleguide to Contributing.md
Question: should we group all `code.gitea.io`-packages together as local imports? (including `code.gitea.io/sdk` and `code.gitea.io/git` etc)
* reorg
* be specific FFS
8 years ago
Andrey Nering
208423c84d
Fix HighlightJS not working on compare diff page ( #914 )
8 years ago
Sandro Santilli
5bbc899ee8
Handle SetModel error, fixes one errcheck report ( #257 )
8 years ago
Ethan Koenig
79140f6ad7
Fix logging bug
Error logged everytime an assignee was removed
8 years ago
Lunny Xiao
5e4897f585
small optimization for get issue labels
8 years ago
Andrew
7429996057
Implement basic Open Graph support. ( #901 )
8 years ago
Lunny Xiao
916ec6ab3d
Bug fixed for deleted label in issue comment ( #904 )
* bug fixed for deleted label in issue comment
* fix indent
8 years ago
Morgan Bazalgette
4cd7d1644d
Fix public activity showing private repos ( #892 )
* Fix public activity showing private repos (#811 )
Signed-off-by: Morgan Bazalgette <the@howl.moe>
* error check after setting is_private to true
* Add test for UpdateRepository w/ visibility change
8 years ago
Andrew
95350e91ed
Add missing copyright header to status table test ( #902 )
8 years ago
Andrew
b852f1f87e
Implement archive cleanup ( #885 )
* Implement archive cleanup
Fixes #769
Signed-off-by: Andrew <write@imaginarycode.com>
* Make sure to close the directory file
* Resolve issues noted by @strk
* edit cheatsheet app.ini [ci skip]
* oops [ci skip]
8 years ago
Lunny Xiao
efb41519b9
Add delete branch track on pull request comments ( #888 )
* add delete branch track on pull request comments
* don't change vendor
8 years ago
Bo-Yi Wu
110750bf29
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Lunny Xiao
d50d2ee71c
add vendoring back ( #890 )
8 years ago
Lunny Xiao
303b107e99
update xorm vendor and also fix #740 ( #886 )
8 years ago
Ethan Koenig
f0cede202c
Fix bug in repos search ( #884 )
8 years ago
Lunny Xiao
16e3a07793
bug fixed for issue count ( #881 )
8 years ago
Bo-Yi Wu
35d08920d7
feat: fill in ssh key title automatically. ( #863 )
8 years ago
Ethan Koenig
065bf6fd52
Unit tests for issue_milestone ( #878 )
8 years ago
Andrew
c51640fc45
Improve status table implementation ( #879 )
* Remove superfluous defer calls
* Improve status table implementation as well
This would probably only help with large, high-traffic installs
8 years ago
Ethan Koenig
86f7bf832c
Gogs -> Gitea ( #877 )
8 years ago
Ethan Koenig
3846bd7137
Fix bug in Issue.GetIsRead ( #876 )
8 years ago
Andrey Nering
68ffb36d6b
Makefile: install on build ( #874 )
This install Go package on building for caching and faster builds
8 years ago
Lunny Xiao
36803a5a23
fix watchers templates breaks ( #870 )
8 years ago
Bo-Yi Wu
1e360f0616
fix: Admin can also search private user repository. ( #869 )
8 years ago
Ethan Koenig
9de12285a8
Fix consistency check ( #866 )
8 years ago
Ethan Koenig
4193211b01
Use assert in legacy unit tests ( #867 )
8 years ago