zeripath
40ac2b09fc
Prevent redirect to Host ( #9678 )
5 years ago
techknowlogick
8e871a6c94
remove google font call ( #9668 )
5 years ago
silverwind
fb0657fb5e
eliminate horizontal scroll caused by footer ( #9669 )
5 years ago
GiteaBot
3221fa20cf
[skip ci] Updated translations via Crowdin
5 years ago
6543
d63eb9be4c
[API] creat org repo call same as github ( #9186 )
* 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>
5 years ago
Bo-Yi Wu
251e8defce
chore(PR): Add Reviewed-on in commit message ( #9623 )
5 years ago
6543
35e4254cf8
[API] orgEditTeam make Fields optional ( #9556 )
* 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>
5 years ago
GiteaBot
5c853fe680
[skip ci] Updated translations via Crowdin
5 years ago
6543
3ac680a9fe
[API] Add notification endpoint ( #9488 )
* [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
5 years ago
John Olheiser
f70171ee34
Fix nil reference in repo generation ( #9660 )
* Fix nil reference
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Tighten
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
David Svantesson
444f12e96d
Mark PR reviews as stale at push and allow to dismiss stale approvals ( #9532 )
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
5 years ago
John Olheiser
48c246ca83
Add HTML URL to API Issues ( #9654 )
* 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>
5 years ago
6543
b1e5b275a0
times Add filters ( #9373 )
(extend #9200 )
* add query param for GET functions (created Bevore & after)
* add test
* generalize func GetQueryBeforeSince
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
John Olheiser
143a3aa9e6
Add PR review webhook to Telegram ( #9653 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
Bagas Sanjaya
76a222f9d7
[Docs] Linux Service Edit ( #9633 )
* 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>
5 years ago
6543
91747b386f
fix #9648 | use filepath.IsAbs instead of path.IsAbs ( #9651 )
* fix #9648
* found next
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
GiteaBot
6035958e88
[skip ci] Updated translations via Crowdin
5 years ago
Shashvat Kedia
965e0fc5ef
Fix #9552 : Merge commits generated by pull request capture pull request details ( #9635 )
5 years ago
Bagas Sanjaya
7aaa05bb68
[Docs] Grammar Edit on Enabling HTTPS Using Reverse Proxy ( #9649 )
* Use infinitives for accept and pass
* Close parentheeses for proxy exposed
5 years ago
6543
1965f27496
[API] add comments endpoint for single comment ( #9494 )
* add GET /repos/{owner}/{repo}/issues/comments/{id}
and complete error list for swagger in other func
* add repo check
5 years ago
techknowlogick
92cd25dcfd
Plural form for changelog ( #9645 )
Fix: https://gitea.com/gitea/changelog/issues/16
5 years ago
techknowlogick
bad28328e6
Update date for new year ( #9644 )
5 years ago
6543
70e6d7dc3c
Changelog for 1.11.0-RC1 ( #9636 )
* 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>
5 years ago
David Svantesson
7b80cbe152
Repository teams - disable remove button when have access to all ( #9640 )
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
Shashvat Kedia
4d0893b14e
Fix #9530 : admin auth list make readable and admin auth delete bug fix ( #9628 )
5 years ago
Lunny Xiao
5917c663e8
Move wiki related funtions from models to services/wiki ( #9355 )
* Move wiki related funtions from models to services/wiki
5 years ago
zeripath
e07c811390
Branches not at ref commit ID should not be listed as Merged ( #9614 )
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
5 years ago
6543
1614ac4e0d
Fix Issue Unsubscription ( #9634 )
5 years ago
GiteaBot
f04a28d013
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
152a0eda63
Remove stray printf ( #9631 )
5 years ago
GiteaBot
926619af7a
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
ca6f46bff9
Graceful Queues: Issue Indexing and Tasks ( #9363 )
* 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 1f83b4fc9b
.
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>
5 years ago
GiteaBot
e0d8a28ceb
[skip ci] Updated translations via Crowdin
5 years ago
8ctopus
69b3c8aba2
More extensive robots.txt docs ( #9566 )
5 years ago
GiteaBot
22184aa84b
[skip ci] Updated translations via Crowdin
5 years ago
Timon Engelke
c80765ae1d
Add a /user/login landing page option ( #9622 )
* Add a /user/login landing page option
* Add test case for login landing page
5 years ago
6543
045cffd0d5
fix swagger description of reaction API ( #9617 )
5 years ago
zeripath
0bf7a6c7c1
Add some padding to the shadowed comment box ( #9612 )
* Add some padding to the shadowed comment box
* prevent the padding affecting the other comments
5 years ago
6543
42e33c24ff
[BugFix] Hide public repos owned by private orgs ( #9609 )
* Restrict AllPublic to actually public repos.
* Add new parameter to add in AllLimited Repos
5 years ago
6543
f02bc367df
[Docs] introduce "make help" ( #9604 )
* introduce "make help"
* fix + add more routienes
* Update Makefile
* add make vet
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
GiteaBot
43279c4b83
[skip ci] Updated translations via Crowdin
5 years ago
6543
4449ce6de2
update gitea.com/macaron/macaron to 1.4.0 ( #9608 )
5 years ago
John Olheiser
84ef1ac309
!important makes me sad ( #9607 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
John Olheiser
372e3081bf
Fix create bugs ( #9606 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
David Svantesson
a6047a4281
Fix access issues on milestone and issue overview pages. ( #9603 )
* Fix access issues on milestone and issue overview pages.
* Fix filter algorithm
5 years ago
Antoine GIRARD
383b701be4
Only serve attachments when linked to issue/release and if accessible by user ( #9340 )
* test: add current attachement responses
* refactor: check if attachement is linked and accessible by user
* chore: clean TODO
* fix: typo attachement -> attachment
* revert un-needed go.sum change
* refactor: move models logic to models
* fix TestCreateIssueAttachment which was wrongly successful
* fix unit tests with unittype added
* fix unit tests with changes
* use a valid uuid format for pgsql int. test
* test: add unit test TestLinkedRepository
* refactor: allow uploader to access unlinked attachement
* add missing blank line
* refactor: move to a separate function repo.GetAttachment
* typo
* test: remove err test return
* refactor: use repo perm for access checking generally + 404 for all reject
5 years ago
GiteaBot
291d7e57cb
[skip ci] Updated translations via Crowdin
5 years ago
John Olheiser
8be71c9c0a
Only show sender if it makes sense ( #9601 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
GiteaBot
887f73bf0c
[skip ci] Updated translations via Crowdin
5 years ago
Lauris BH
b8a479bc33
Add translatable Powered by Gitea text in footer ( #9600 )
5 years ago