aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update js dependencies (#9676)silverwind2020-01-102-1201/+2073
| | | | | Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Move push commits from models to modules/repository (#9370)Lunny Xiao2020-01-1020-436/+482
| | | | | | | | | | | | | | | | * Move push commits from models to modules/repository * fix test * fix test * fix test * fix test * fix test Co-authored-by: zeripath <art27@cantab.net>
* Move pull request api convert to convert package (#9664)Lunny Xiao2020-01-107-160/+198
| | | | | | * Move pull request api convert to convert package * Rename ToPullRequest to ToAPIPullRequest
* Fix lint (#9688)Lunny Xiao2020-01-102-2/+4
|
* Move Errored PRs out of StatusChecking (#9675)zeripath2020-01-102-1/+6
| | | | | | | | | | | | * Set Errored PRs out of StatusChecking * Ensure that api status is correctly set too * Update models/pull.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Prevent redirect to Host (#9678)zeripath2020-01-091-1/+2
|
* remove google font call (#9668)techknowlogick2020-01-092-3/+1
|
* eliminate horizontal scroll caused by footer (#9669)silverwind2020-01-091-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-091-0/+14
|
* [API] creat org repo call same as github (#9186)65432020-01-093-11/+84
| | | | | | | | | | | | | | | * deprecate /api/v1/org/{org}/repos in favour of /api/v1/orgs/{org}/repos + cleanup api repository routes a bit * remove redundant code * use upstream function for api cal * make generate-swagger Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* chore(PR): Add Reviewed-on in commit message (#9623)Bo-Yi Wu2020-01-091-3/+3
|
* [API] orgEditTeam make Fields optional (#9556)65432020-01-094-26/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * API: orgEditTeam make Fields optional * add TestCase * Update integrations/api_team_test.go * suggestions from lafriks use len() to check if string is empty Co-Authored-By: Lauris BH <lauris@nix.lv> * change ... * use Where not ID to get mssql * add return and code format * fix test * fix test ... null pointer exept * update specific colums * only specific colums too Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-091-0/+2
|
* [API] Add notification endpoint (#9488)65432020-01-0915-28/+1124
| | | | | | | | | | | | | | | | | | | | | | | | | * [API] Add notification endpoints * add func GetNotifications(opts FindNotificationOptions) * add func (n *Notification) APIFormat() * add func (nl NotificationList) APIFormat() * add func (n *Notification) APIURL() * add func (nl NotificationList) APIFormat() * add LoadAttributes functions (loadRepo, loadIssue, loadComment, loadUser) * add func (c *Comment) APIURL() * add func (issue *Issue) GetLastComment() * add endpoint GET /notifications * add endpoint PUT /notifications * add endpoint GET /repos/{owner}/{repo}/notifications * add endpoint PUT /repos/{owner}/{repo}/notifications * add endpoint GET /notifications/threads/{id} * add endpoint PATCH /notifications/threads/{id} * Add TEST * code format * code format
* Fix nil reference in repo generation (#9660)John Olheiser2020-01-091-29/+31
| | | | | | | | | | * Fix nil reference Signed-off-by: jolheiser <john.olheiser@gmail.com> * Tighten Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532)David Svantesson2020-01-0918-40/+241
| | | | | | | Fix #5997. If a push causes the patch/diff of a PR towards target branch to change, all existing reviews for the PR will be set and shown as stale. New branch protection option to dismiss stale approvals are added. To show that a review is not based on the latest PR changes, an hourglass is shown
* Add HTML URL to API Issues (#9654)John Olheiser2020-01-087-4/+10
| | | | | | | | | | | | * Add HTML URL to API Issues Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* times Add filters (#9373)65432020-01-086-32/+234
| | | | | | | | | (extend #9200) * add query param for GET functions (created Bevore & after) * add test * generalize func GetQueryBeforeSince Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Add PR review webhook to Telegram (#9653)John Olheiser2020-01-081-0/+21
| | | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* [Docs] Linux Service Edit (#9633)Bagas Sanjaya2020-01-081-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename h3 title * Add intro Should work on Ubuntu Xenial, but should work on any Linux distros. * Indirect edit files Instead of providing `sudo vim`, invite to edit files. * enable now instead of enable and start * Re-add systemctl enable && systemctl start * Revert service enablement back to status quo * Add enable now counterpart for systemd > v220 * Apply suggestions from @sapk Strip `vim` from editor usage Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* fix #9648 | use filepath.IsAbs instead of path.IsAbs (#9651)65432020-01-081-5/+6
| | | | | | | | * fix #9648 * found next Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-081-3/+49
|
* Fix #9552: Merge commits generated by pull request capture pull request ↵Shashvat Kedia2020-01-081-1/+5
| | | | | | details (#9635)
* [Docs] Grammar Edit on Enabling HTTPS Using Reverse Proxy (#9649)Bagas Sanjaya2020-01-081-1/+1
| | | | | | * Use infinitives for accept and pass * Close parentheeses for proxy exposed
* [API] add comments endpoint for single comment (#9494)65432020-01-084-3/+181
| | | | | | | * add GET /repos/{owner}/{repo}/issues/comments/{id} and complete error list for swagger in other func * add repo check
* Plural form for changelog (#9645)techknowlogick2020-01-081-3/+3
| | | Fix: https://gitea.com/gitea/changelog/issues/16
* Update date for new year (#9644)techknowlogick2020-01-071-1/+1
|
* empty commit to start 1.12-devMatti R2020-01-070-0/+0
|
* Changelog for 1.11.0-RC1 (#9636)v1.11.0-rc165432020-01-081-26/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generated Changelog * cormat, sort, fix * teamwork :) Co-Authored-By: techknowlogick <matti@mdranta.net> Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * next() * Next() * add last change * as @jolheiser suggested * Apply suggestions from code review Co-Authored-By: techknowlogick <matti@mdranta.net> * Apply suggestions from code review * Update CHANGELOG.md * Update CHANGELOG.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update CHANGELOG.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * add bugfix + topic is plural * rest * Apply suggestions from code review * Apply suggestions from code review Co-Authored-By: techknowlogick <matti@mdranta.net> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net>
* Repository teams - disable remove button when have access to all (#9640)David Svantesson2020-01-081-3/+2
| | | | Co-authored-by: zeripath <art27@cantab.net>
* Fix #9530: admin auth list make readable and admin auth delete bug fix (#9628)Shashvat Kedia2020-01-071-2/+3
|
* Move wiki related funtions from models to services/wiki (#9355)Lunny Xiao2020-01-077-529/+558
| | | | * Move wiki related funtions from models to services/wiki
* Branches not at ref commit ID should not be listed as Merged (#9614)zeripath2020-01-0710-34/+107
| | | | | | | | | | | Once a branch has been merged if the commit ID no longer equals that of the pulls ref commit id don't offer to delete the branch on the pull screen and don't list it as merged on branches. Fix #9201 When looking at the pull page we should also get the commits from the refs/pulls/x/head Fix #9158
* Fix Issue Unsubscription (#9634)65432020-01-072-5/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-0730-0/+152
|
* Remove stray printf (#9631)zeripath2020-01-071-1/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-071-0/+76
|
* Graceful Queues: Issue Indexing and Tasks (#9363)zeripath2020-01-0735-647/+2875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Queue: Add generic graceful queues with settings * Queue & Setting: Add worker pool implementation * Queue: Add worker settings * Queue: Make resizing worker pools * Queue: Add name variable to queues * Queue: Add monitoring * Queue: Improve logging * Issues: Gracefulise the issues indexer Remove the old now unused specific queues * Task: Move to generic queue and gracefulise * Issues: Standardise the issues indexer queue settings * Fix test * Queue: Allow Redis to connect to unix * Prevent deadlock during early shutdown of issue indexer * Add MaxWorker settings to queues * Merge branch 'master' into graceful-queues * Update modules/indexer/issues/indexer.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update modules/indexer/issues/indexer.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update modules/queue/queue_channel.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update modules/queue/queue_disk.go * Update modules/queue/queue_disk_channel.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Rename queue.Description to queue.ManagedQueue as per @guillep2k * Cancel pool workers when removed * Remove dependency on queue from setting * Update modules/queue/queue_redis.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * As per @guillep2k add mutex locks on shutdown/terminate * move unlocking out of setInternal * Add warning if number of workers < 0 * Small changes as per @guillep2k * No redis host specified not found * Clean up documentation for queues * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md * Update modules/indexer/issues/indexer_test.go * Ensure that persistable channel queue is added to manager * Rename QUEUE_NAME REDIS_QUEUE_NAME * Revert "Rename QUEUE_NAME REDIS_QUEUE_NAME" This reverts commit 1f83b4fc9b9dabda186257b38c265fe7012f90df. Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-073-1/+9
|
* More extensive robots.txt docs (#9566)8ctopus2020-01-072-6/+39
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-061-0/+6
|
* Add a /user/login landing page option (#9622)Timon Engelke2020-01-064-2/+11
| | | | | | * Add a /user/login landing page option * Add test case for login landing page
* fix swagger description of reaction API (#9617)65432020-01-062-18/+18
|
* Add some padding to the shadowed comment box (#9612)zeripath2020-01-052-12/+22
| | | | | * Add some padding to the shadowed comment box * prevent the padding affecting the other comments
* [BugFix] Hide public repos owned by private orgs (#9609)65432020-01-053-4/+10
| | | | | * Restrict AllPublic to actually public repos. * Add new parameter to add in AllLimited Repos
* [Docs] introduce "make help" (#9604)65432020-01-051-0/+19
| | | | | | | | | | | | * introduce "make help" * fix + add more routienes * Update Makefile * add make vet Co-authored-by: techknowlogick <matti@mdranta.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-051-0/+1
|
* update gitea.com/macaron/macaron to 1.4.0 (#9608)65432020-01-0512-62/+153
|
* !important makes me sad (#9607)John Olheiser2020-01-051-0/+6
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix create bugs (#9606)John Olheiser2020-01-042-3/+4
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>