aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Global code search support (#3664)Lunny Xiao2018-03-1610-9/+238
| | | | | | | | | | | | * add global code search on explore * fix bug when no anyone public repos * change the icon * fix typo and add UnitTypeCode check for login non-admin user * fix ui description when no match
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-153-0/+6
|
* Refactor and simplify redirect to url (#3674)Lauris BH2018-03-155-24/+29
|
* Added checks for protected branches in pull requests (#3544)Chri-s2018-03-134-1/+54
| | | | | | | | | | | | | | | | | | * Added checks for protected branches in pull requests Signed-off-by: Christian Wulff <NChris@posteo.net> * Moved check for protected branch into new function CheckUserAllowedToMerge Signed-off-by: Christian Wulff <NChris@posteo.net> * Removed merge conflict lines from last commit Signed-off-by: Christian Wulff <NChris@posteo.net> * Explicit check for error type in ViewIssue Signed-off-by: Christian Wulff <NChris@posteo.net>
* Add label descriptions (#3662)Lauris BH2018-03-1314-34/+109
| | | | | | * Add label descriptions * Add default descriptions to label template
* Update markbates/goth libary to fix OAuth2 support (#3661)Lauris BH2018-03-133-40/+74
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-1222-22/+6
|
* Docker multi-stage (#2927)Antoine GIRARD2018-03-123-15/+34
| | | | | | | | | | | | * Setup docker multi-stage and little sugar at it * Make codacy happy ? * Revert back to what the official docker documentation suggest Codacy don't seems to follow https://docs.docker.com/engine/reference/builder/#maintainer-deprecated * Update golang version
* Add separate string for the 'Create Team' button. (#3647)bugreport02018-03-092-2/+3
| | | | | | * Add separate string for the 'Create Team' button. * Add separate string for the 'Create Team' button.
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-091-0/+1
|
* Fix MySQL and PostgreSQL column drop SQL (#3649)Lauris BH2018-03-091-1/+1
|
* Added issue search via api (#3612)kolaente2018-03-072-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Started implementing issue api search * Implemented issue search via api * Added search to swagger.json * Removed todo * fmt * Added comment to generate swagger json via "generate-swagger" * Simplified search * fmt * Removed unessecary comment * Removed unessecary declaration of the issues-variable * Removed unessecary comment * Removed unessecary comment * Added explanation keyword * Simplified check for empty keyword * corrected check if keyword is empty
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-072-0/+2
|
* Fix column removal in MSSQL (#3638)Lauris BH2018-03-072-21/+61
| | | | | | | | * Fix column removal in MSSQL * Use xorm session in MSSQL drop column operations * Add transaction as MSSQL alter table is transactional
* Make columns in split view of the same width (#3619)Morgan Bazalgette2018-03-072-32/+45
| | | | as well as fix indentation and add 1px border to line counter of the new code on the right.
* Add string to confirm wiki data erasure (#3629)bugreport02018-03-062-1/+2
| | | | | | * Add a string to confirm wiki data erasure. * Add a string to confirm wiki data erasure.
* Add Attachment API (#3478)Jonas Franz2018-03-0630-122/+1043
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Attachment API * repos/:owner/:repo/releases (add attachments) * repos/:owner/:repo/releases/:id (add attachments) * repos/:owner/:repo/releases/:id/attachments * repos/:owner/:repo/releases/:id/attachments/:attachment_id Signed-off-by: Jonas Franz <info@jonasfranz.de> * Add unit tests for new attachment functions Fix comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * fix lint * Update vendor.json Signed-off-by: Jonas Franz <info@jonasfranz.software> * remove version of sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests Add missing license header Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add CreateReleaseAttachment Add EditReleaseAttachment Add DeleteReleaseAttachment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add filename query parameter for choosing another name for an attachment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix order of imports Signed-off-by: Jonas Franz <info@jonasfranz.software> * Restricting updatable attachment columns Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update go-sdk Replace Attachments with Assets Signed-off-by: Jonas Franz <info@jonasfranz.de> * Update go-sdk Signed-off-by: Jonas Franz <info@jonasfranz.de> * Updating go-sdk and regenerating swagger Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing file of go-sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change origin of code.gitea.io/sdk to code.gitea.io/sdk Update code.gitea.io/sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update swagger Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update updateAttachment
* Fix wiki inter-links with cases and add tests for this case (#3560)Chaz Reid2018-03-052-6/+16
|
* Log attachment blocked events (#3615)Mahmoud Al-Qudsi2018-03-051-0/+1
| | | | | | Include both a log entry and the blocked mime type in the gitea log when an attachment upload is blocked. Chosen log level is info; this may need to be dialed down to trace.
* Use Segoe UI for Latin characters before falling back to YaHei (#3616)Mahmoud Al-Qudsi2018-03-042-2/+2
| | | | | | | | | | | | | * Use Segoe UI for Latin characters before falling back to YaHei This fixes issues with character rendering on hidpi displays and other aliasing/hinting issues, as Segoe UI has been painstakingly hinted by typographers for Microsoft while YaHei has not. See #3237 for more details. Closes #3237 * Include transformed LESS -> CSS in commit
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-042-115/+119
|
* Don't write to log NoCommitterAccount (#3621)Morgan Bazalgette2018-03-041-1/+5
| | | | | | | | | | | * Don't write to log NoCommitterAccount It's way too verbose, and the information is also printed to the user already. Fixes #3602. * ignore err only if it's a ErrUserNotExist * Replace with IsErrUserNotExist
* fix: Add feed for organization (#3594)Bo-Yi Wu2018-03-032-0/+16
| | | | | | | | | | | | * feat: Add feed for organization * fix: testing * fix: testing * fix: testing * fix: testing
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-021-0/+2
|
* Fix incorrect 'Erase Wiki Data' string identifier. (#3613)bugreport02018-03-021-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-03-021-1/+1
|
* Add admin dashboard option to run health checks (#3606)Allen Wild2018-03-024-0/+12
| | | | | There's one for git gc, why not git fsck too? Also add a couple more trace logs to GitFsck to see progress
* [skip ci] Updated translations via CrowdinGiteaBot2018-02-271-0/+17
|
* Rework special link parsing in the post-processing of markup (#3354)Morgan Bazalgette2018-02-2712-1006/+1010
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Get rid of autolink * autolink in markdown * Replace email addresses with mailto links * better handling of links * Remove autolink.js from footer * Refactor entire html.go * fix some bugs * Make tests green, move what we can to html_internal_test, various other changes to processor logic * Make markdown tests work again This is just a description to allow me to force push in order to restart the drone build. * Fix failing markdown tests in routers/api/v1/misc * Add license headers, log errors, future-proof <body> * fix formatting
* fix gpg expired bug when time is zero (#3584)Lunny Xiao2018-02-262-1/+6
|
* Fix missing translations when updating username. (#3564)bugreport02018-02-252-4/+4
| | | | | | | | * Fix missing translations when updating username. * Fix reserved username translated string test. * Fix 'username reserved' string test a bit more.
* feat: Add branch link in branch list. (#3576)Bo-Yi Wu2018-02-241-2/+2
|
* Fix the protected branch panic issue (#3567)Wendell Sun2018-02-231-0/+4
|
* Fix remove team member issue (#3566)Wendell Sun2018-02-232-9/+27
| | | | | Put sess.Commit() out of the RemoveOrgUser function Add an empty line to separate import packages
* Fix query protected branch bug (#3563)Wendell Sun2018-02-221-2/+1
| | | Signed-off-by: Wendell Sun <iwendellsun@gmail.com>
* fix: if Mirrors repo no content is fetched, updated time should not b… (#3551)Bo-Yi Wu2018-02-221-1/+15
| | | | | | | | | | | | * fix: if Mirrors repo no content is fetched, updated time should not be changed * fix: sync update time from mirror repo. * fix: one single session. * update comment. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Update gogs to gitea migration manual (#3559)Victor Polevoy2018-02-221-2/+8
| | | Updates the manual for latest gogs changes.
* refactor: reduce sql query in retrieveFeeds (#3547)Bo-Yi Wu2018-02-213-32/+116
|
* Use unique temp dirs in unit tests (#3494)Ethan Koenig2018-02-211-8/+25
| | | | | | | | * Use unique temp dirs in unit tests * Remove temp dirs after tests run * os.RemoveAll -> removeAllWithRetry
* Bug fix for repo releases sorted (#3522)Wendell Sun2018-02-211-1/+3
| | | | | Signed-off-by: Wendell Sun <iwendellsun@gmail.com> Use TimeStampNow function
* Populate URL field of API commits (#3546)Ethan Koenig2018-02-2011-98/+126
| | | | | | * Populate URL field of API commits * fix orgmode_test
* Update markbates/goth library (#3533)Lauris BH2018-02-1911-157/+281
| | | Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Document generate commands (#3532)Lauris BH2018-02-181-0/+16
| | | | | | | | | | * Document generate commands Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv> * Fix examples and grammar Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Add issue closed time column to fix activity closed issues list (#3537)Lauris BH2018-02-196-6/+50
| | | Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2018-02-184-0/+58
|
* Force remove test repo root path in case previous test is still locking it ↵Lauris BH2018-02-181-1/+14
| | | | | | (#3528) Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Fix escaping changed title in comments (#3530)Lauris BH2018-02-185-25/+60
| | | | | | | | * Fix escaping changed title in comments * Fix escaping of wiki page titile Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Implements generator cli for secrets (#3531)Codruț Constantin Gușoi2018-02-1812-67/+215
| | | Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2018-02-1826-347/+23
|
* Fix app.ini sample file link in docs (#3529)Lauris BH2018-02-182-2/+2
| | | Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>