5036 Commits (7ed00b6e8d571ab8efc99aa69d545cce609dd900)
 

Author SHA1 Message Date
Lunny Xiao 0642cb330c Small opitimization for getUserTeams (#954)
* Small opitimization for getUserTeams

* more compact
7 years ago
Unknwon 134f3e6e09 Security: prevent XSS attach on wiki page
Reported by Miguel Ángel Jimeno.
7 years ago
Bo-Yi Wu 43c94d0a6c test: Add testing for GetUserFork function (#944) 7 years ago
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 837d346090 fix some older Gogs upgrade to Gitea (#929) 7 years ago
Lunny Xiao be55460b63 catch error on call setup on serv command (#932) 7 years ago
Lunny Xiao 9c645b54dc bug fixed on issues and pulls 7 years ago
Lunny Xiao cf47532ebc fix ssh domain default value to domain (#930) 7 years ago
Lunny Xiao 4cfde304df bug fixed for my repository (#933) 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
Lunny Xiao 3a91ac51a9 fix bug of multiple forks (#928) 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
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
7 years ago
Lunny Xiao 55ae78208e Small optimization for getTeamIDs (#919)
* small optimization for getTeamIDs

* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
7 years ago
Bo-Yi Wu 1ec6b1a258 fix: gofmt error. (#918) 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
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
7 years ago
Andrey Nering 05157808de Fix HighlightJS not working on compare diff page (#914) 7 years ago
Sandro Santilli 9b4f6c1c32 Handle SetModel error, fixes one errcheck report (#257) 7 years ago
Ethan Koenig 076f940f1f Fix logging bug
Error logged everytime an assignee was removed
7 years ago
Lunny Xiao d76f34ef51 small optimization for get issue labels 7 years ago
Andrew 3f67676059 Implement basic Open Graph support. (#901) 7 years ago
Lunny Xiao 8a0be5e9f0 Bug fixed for deleted label in issue comment (#904)
* bug fixed for deleted label in issue comment

* fix indent
7 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
7 years ago
Andrew a36a8f4d72 Add missing copyright header to status table test (#902) 7 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]
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
Lunny Xiao 55f2059f71 add vendoring back (#890) 7 years ago
Lunny Xiao 284c0160c3 update xorm vendor and also fix #740 (#886) 7 years ago
Ethan Koenig 2f13d31ff0 Fix bug in repos search (#884) 7 years ago
Lunny Xiao b6dd6210ea bug fixed for issue count (#881) 7 years ago
Bo-Yi Wu 40f4377717 feat: fill in ssh key title automatically. (#863) 7 years ago
Ethan Koenig a6751cec04 Unit tests for issue_milestone (#878) 7 years ago
Andrew 1da7dd3da9 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
7 years ago
Ethan Koenig 13973348df Gogs -> Gitea (#877) 7 years ago
Ethan Koenig e6b4448ba3 Fix bug in Issue.GetIsRead (#876) 7 years ago
Andrey Nering e4031b822a Makefile: install on build (#874)
This install Go package on building for caching and faster builds
7 years ago
Lunny Xiao c5887b0f28 fix watchers templates breaks (#870) 7 years ago
Bo-Yi Wu a195c3fabe fix: Admin can also search private user repository. (#869) 7 years ago
Ethan Koenig 181c8d9c99 Fix consistency check (#866) 7 years ago
Ethan Koenig d2329e1c26 Use assert in legacy unit tests (#867) 7 years ago
Sandro Santilli 23a7527e04 Allow rendering alerts in dashboard (#856)
NOTE: useful when logging in via OpenID and connecting to user
7 years ago
Lunny Xiao 45a324b437 fix releases count and resolved #764 (#857) 7 years ago
Lunny Xiao 02a881aa32 show tags on dashboard issues (#860) 7 years ago
Sandro Santilli ed096186a7 social_register_hepler_msg -> social_register_helper_msg (#855)
* social_register_hepler_msg -> social_register_helper_msg

* register_hepler_msg -> register_helper_msg
7 years ago
Ethan Koenig 5fbab97373 Fix broken test fixture (#859) 7 years ago