Denis Denisov
fd941db246
Protected branches system ( #339 )
...
* Protected branches system
* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
- Admin does not restrict
- Owner not to limit
- To write permission restrictions
* reformat tmpl
* finished the UI and add/delete protected branch response
* remove unused comment
* indent all the template files and remove ru translations since we use crowdin
* fix the push bug
8 years ago
Thomas Boerger
fe5ff8e4b2
Added 1.0.2 to changelog ( #998 )
8 years ago
Lunny Xiao
70ae6d197b
disable console output xorm log on ssh ( #993 )
8 years ago
Christoph König
ffde33bdfa
Fix typo ( #990 )
8 years ago
Willem van Dreumel
5f234ce2a5
add missing copyright header ( #992 )
8 years ago
Lunny Xiao
c5f8b96dda
update xorm for fixing bug on processor BeforeSet and AfterSet when Find a map ( #987 )
8 years ago
Lunny Xiao
04fdeb9d8d
Make Xorm log configurable ( #174 )
...
* make xorm log configable
* bug fixed for other sub commands except web
* rebase and fix xorm log
* bug fix for TrimSpace
8 years ago
Andrew Boyarshin
d4b752def9
Fix table headers ( #980 )
...
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
8 years ago
Lunny Xiao
c2c27891c9
add release cycle to contributing ( #949 )
8 years ago
Lunny Xiao
b8f70a27a5
Security: fix XSS attack on alert ( #973 )
8 years ago
Lunny Xiao
6076c95dd1
Security: fix XSS attack on milestone ( #976 )
...
Reported by Miguel Ángel Jimeno.
8 years ago
Lunny Xiao
dbe6d2ff8e
fix docker link on install page ( #964 )
8 years ago
Bo-Yi Wu
252adc912d
refactor: update debian script. ( #965 )
8 years ago
Ethan Koenig
be48b32e63
Unit tests for repo watching ( #963 )
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
Kim "BKC" Carlbäcker
669dad71f8
Add Screenshot-secion to IssueTemplate.md ( #939 )
...
For `UI`-bugs we usually require a Screenshot to debug it 😉
8 years ago
Ethan Koenig
140967f002
Unit tests for repo redirects ( #961 )
8 years ago
Bo-Yi Wu
4c12e2a4b9
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
7fd14bf7bd
optimization for team get repos ( #953 )
8 years ago
Lunny Xiao
46320f9630
refactor notificationsForUser since xorm In support slice of customerize type ( #956 )
8 years ago
Lunny Xiao
0642cb330c
Small opitimization for getUserTeams ( #954 )
...
* Small opitimization for getUserTeams
* more compact
8 years ago
Unknwon
134f3e6e09
Security: prevent XSS attach on wiki page
...
Reported by Miguel Ángel Jimeno.
8 years ago
Bo-Yi Wu
43c94d0a6c
test: Add testing for GetUserFork function ( #944 )
8 years ago
Bo-Yi Wu
a31f64d639
fix: 500 error on /explore/repos page. ( #946 )
8 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.
8 years ago
Lunny Xiao
837d346090
fix some older Gogs upgrade to Gitea ( #929 )
8 years ago
Lunny Xiao
be55460b63
catch error on call setup on serv command ( #932 )
8 years ago
Lunny Xiao
9c645b54dc
bug fixed on issues and pulls
8 years ago
Lunny Xiao
cf47532ebc
fix ssh domain default value to domain ( #930 )
8 years ago
Lunny Xiao
4cfde304df
bug fixed for my repository ( #933 )
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
3a91ac51a9
fix bug of multiple forks ( #928 )
8 years ago
Bo-Yi Wu
d67b278a0d
feat: Able to disable non-admin to create new organization ( #927 )
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
Lunny Xiao
7eb8daffa3
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
55ae78208e
Small optimization for getTeamIDs ( #919 )
...
* small optimization for getTeamIDs
* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
8 years ago
Bo-Yi Wu
1ec6b1a258
fix: gofmt error. ( #918 )
8 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>
8 years ago
Bo-Yi Wu
5cc275b1de
feat: add git version on admin panel. ( #921 )
8 years ago
Kim "BKC" Carlbäcker
091f063706
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
05157808de
Fix HighlightJS not working on compare diff page ( #914 )
8 years ago
Sandro Santilli
9b4f6c1c32
Handle SetModel error, fixes one errcheck report ( #257 )
8 years ago
Ethan Koenig
076f940f1f
Fix logging bug
...
Error logged everytime an assignee was removed
8 years ago
Lunny Xiao
d76f34ef51
small optimization for get issue labels
8 years ago
Andrew
3f67676059
Implement basic Open Graph support. ( #901 )
8 years ago
Lunny Xiao
8a0be5e9f0
Bug fixed for deleted label in issue comment ( #904 )
...
* bug fixed for deleted label in issue comment
* fix indent
8 years ago
Morgan Bazalgette
442145dbd3
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
a36a8f4d72
Add missing copyright header to status table test ( #902 )
8 years ago
Andrew
42835c7f82
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
cf0f451c37
Add delete branch track on pull request comments ( #888 )
...
* add delete branch track on pull request comments
* don't change vendor
8 years ago