summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FCGI: Allow FCGI over unix sockets (#9298)zeripath2019-12-105-7/+22
| | | | | | * FCGI: Allow FCGI over unix sockets * fixup! FCGI: Allow FCGI over unix sockets
* tests: add attachement tests integration (#9309)Antoine GIRARD2019-12-104-4/+120
| | | | | | | | * tests: add attachements integration * Update integrations/attachement_test.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Testing: Update postgres sequences (#9304)zeripath2019-12-101-0/+32
|
* Correct port range for cap_net_bind_service (#9306)Justin R. Cutler2019-12-091-1/+1
|
* File Edit: Author/Committer interchanged [BugFix] (#9297)65432019-12-095-15/+15
| | | | | | | | | * simple fix * fix test too * repair more twists use same sequence: first Author, then Commiter
* prebuild CSS/JS before xgo release binaries (#9293)techknowlogick2019-12-082-3/+18
| | | | | | | | | | * prebuild CSS/JS before xgo release binaries * Update .drone.yml * Update Makefile * update per @lafriks feedback
* Allow incompletely specified Time Formats (#8816)zeripath2019-12-081-1/+2
| | | | | | | | * Allow incompletely specified time formats * Adjust error reporting slightly * Update setting.go
* Move code indexer related code to a new package (#9191)Lunny Xiao2019-12-089-379/+434
| | | | | | | | | | | | * move code indexer related code to a new package * fix lint * fix tests * fix fmt * GetMaxID support interface parameter
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-081-2/+12
|
* Remove explicit 'generate' calls, fix release task (#9288)silverwind2019-12-088-14/+7
| | | | | | | | | | | * Remove more explicit 'generate' calls `generate` is now implicit during `build` since #9114, it is no longer necessary or desired to specify it explicitely. * add js,css,generate dependencies to release task * remove generate warning as per @lunny
* Log: Ensure FLAGS=none is -1 (#9287)zeripath2019-12-071-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-081-1/+11
|
* Update Owners for upcoming year (#9290)techknowlogick2019-12-072-2/+7
| | | Close #9230
* Missed defer prepareTestEnv (#9285)zeripath2019-12-083-4/+4
| | | | | | * onGiteaRun should defer the cleanup from prepareTestEnv * Some more missed defers
* [API] Add Reactions (#9220)65432019-12-0712-32/+1049
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reject reactions wich ar not allowed * dont duble check CreateReaction now throw ErrForbiddenIssueReaction * add /repos/{owner}/{repo}/issues/comments/{id}/reactions endpoint * add Find Functions * fix some swagger stuff + add issue reaction endpoints + GET ReactionList now use FindReactions... * explicite Issue Only Reaction for FindReactionsOptions with "-1" commentID * load issue; load user ... * return error again * swagger def canged after LINT * check if user has ben loaded * add Tests * better way of comparing results * add suggestion * use different issue for test (dont interfear with integration test) * test dont compare Location on timeCompare * TEST: add forbidden dubble add * add comments in code to explain * add settings.UI.ReactionsMap so if !setting.UI.ReactionsMap[opts.Type] works
* Markdown: Sanitizier Configuration (#9075)Alexander Scheel2019-12-075-22/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support custom sanitization policy Allowing the gitea administrator to configure sanitization policy allows them to couple external renders and custom templates to support more markup. In particular, the `pandoc` renderer allows generating KaTeX annotations, wrapping them in `<span>` elements with class `math` and either `inline` or `display` (depending on whether or not inline or block mode was requested). This iteration gives the administrator whitelisting powers; carefully crafted regexes will thus let through only the desired attributes necessary to support their custom markup. Resolves: #9054 Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com> * Document new sanitization configuration - Adds basic documentation to app.ini.sample, - Adds an example to the Configuration Cheat Sheet, and - Adds extended information to External Renderers section. Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com> * Drop extraneous length check in newMarkupSanitizer(...) Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com> * Fix plural ELEMENT and ALLOW_ATTR in docs These were left over from their initial names. Make them singular to conform with the current expectations. Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
* fix #9198 make diff detail sticky again (#9280)Benno2019-12-071-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-071-0/+34
|
* Move UpdateIssuesCommit from models to repofiles (#9276)Lunny Xiao2019-12-074-334/+333
|
* Redirect issue if repo has configured external tracker. (#9247)David Svantesson2019-12-0691-8/+2150
| | | | | | | | | | * Redirect issue if repo has configured external tracker. * Handle error * Add tests for redirect * Fix test consistency
* Move some pull request functions from models to services (#9266)Lunny Xiao2019-12-069-212/+280
| | | | | | * Move some pull request functions from models to services * Fix test
* Show label list on label set (#9251)Oscar Costa2019-12-064-8/+37
| | | | | | | | | | * Showing the list of labels of template files #7812 * Returning and logging errors when loading labels * Commenting public method * Change log level in case of error loading labels.
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-062-1/+11
|
* docs change gitea version to 1.10.1 (#9270)65432019-12-061-1/+1
|
* Update JS dependencies (#9255)silverwind2019-12-063-776/+1812
| | | | This is the result of `make npm-update`. I also fixed a minor linting issue which came up with the eslint 6.7 update.
* Only show part of members on orgnization dashboard and add paging for ↵Lunny Xiao2019-12-069-46/+121
| | | | | | | | | | orgnization members page (#9092) * Only show part of members on orgnization dashboard and add paging for orgnization members page * fix test * fix typo
* Move repoWorkPool outside rename/transfer repository (#9086)Lunny Xiao2019-12-065-54/+40
| | | | | | | | * Move repoWorkPool outside rename/transfer repository * fix import * Fix test
* Switch CSS minifier to cssnano (#9260)silverwind2019-12-052-4/+4
| | | | | This results in around 4kB saving in CSS size and also resolves with a particular issue on git bash which had issues with the format of the lessc arguments.
* Changelog 1.10.1 (#9256) (#9262)John Olheiser2019-12-061-0/+21
| | | | | | | | | * Changelog for 1.10.1 * format ... * format * add @techknowlogick s suggestion
* Ensure LF on checkouts and in editors (#9259)silverwind2019-12-052-1/+3
| | | | | | | This will ensure our repo is always checked out with LF line endings which should help Windows users who have line ending normalization enabled. Additionally, added the LF preference to .editorconfig.
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-051-0/+34
|
* Fix latest docker image haven't include static files. (#9252)Lunny Xiao2019-12-054-16/+22
| | | | | | * add warnging on docs * fix docs
* Add Node.js build dep, remove built js/css files (#9114)silverwind2019-12-0513-1427/+92
| | | | | | | | | - Added Node.js as build dependency and removes build files from git. - Added version checks for both Go and Node.js. - Overhauled the js/css make target to only run when needed. - Merged the `generate` make target into `build` as per suggestion. Fixes: https://github.com/go-gitea/gitea/issues/6782 Fixes: https://github.com/go-gitea/gitea/issues/9216
* Fixed topics margin (#9248)Alexey 〒erentyev2019-12-032-0/+5
| | | Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-0414-47/+0
|
* Change some label colors (#9051)jaqra2019-12-038-6/+11
| | | | | | * Change label colors * Override black basic label background for green theme on label list
* Branch protection: Possibility to not use whitelist but allow anyone with ↵David Svantesson2019-12-0320-171/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | write access (#9055) * Possibility to not use whitelist but allow anyone with write access * fix existing test * rename migration function * Try to give a better name for migration step * Clear settings if higher level setting is not set * Move official reviews to db instead of counting approvals each time * migration * fix * fix migration * fix migration * Remove NOT NULL from EnableWhitelist as migration isn't possible * Fix migration, reviews are connected to issues. * Fix SQL query issues in GetReviewersByPullID. * Simplify function GetReviewersByIssueID * Handle reviewers that has been deleted * Ensure reviews for test is in a well defined order * Only clear and set official reviews when it is an approve or reject.
* Add comment to exported function WindowsServiceName (make revive) (#9241)David Svantesson2019-12-031-0/+1
|
* Allow kbd tags (#9245)John Olheiser2019-12-032-0/+6
| | | | | | | | | | * Allow kbd tags Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add test Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Don't link wiki revision to commit (#9244)mrsdizzie2019-12-031-0/+4
| | | | | | | | | In #7907 a change was made to use the same template for repo and wiki commit lists. However, there is no code or logic for showing the diff of a wiki commit so it just produces broken links like: http://localhost:3000/mrsdizzie/%!s(%3Cnil%3E)/commit/5e72eeb00896d3853ab22a01950a50119b249567 This just removes the link for now until that feature is implemented
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-031-0/+24
|
* Add myself to maintainers (#9240)David Svantesson2019-12-031-0/+1
|
* Fix Dashboard Issues/PR list (#9235)65432019-12-031-17/+25
| | | | | | * fix it * revert suggestion part
* Fix active issue (#9238)John Olheiser2019-12-031-3/+3
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove empty lines (#9232)John Olheiser2019-12-031-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix context menu overflow & review tag margin (#9231)John Olheiser2019-12-035-7/+17
| | | | | | | | | | * Fix context menu overflow Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add review tag CSS Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-021-0/+43
|
* Change review content column to type text in db (#9229)David Svantesson2019-12-023-1/+39
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-12-021-0/+23
|
* Remove unused comment actions (#9222)Lunny Xiao2019-12-026-55/+10
| | | | | | * Remove unused comment actions * improve code