Andrew Thornton
030b6d91c8
Remove dependency on queue from setting
5 years ago
Andrew Thornton
8798a61ba4
Cancel pool workers when removed
5 years ago
Andrew Thornton
6306cd42bc
Rename queue.Description to queue.ManagedQueue as per @guillep2k
5 years ago
zeripath
a10129f74c
Update modules/queue/queue_disk_channel.go
...
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
zeripath
402e4dfe96
Update modules/queue/queue_disk.go
5 years ago
zeripath
6c6d3eae76
Update modules/queue/queue_channel.go
...
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
zeripath
632757bfa7
Update modules/indexer/issues/indexer.go
...
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
zeripath
a763ccada1
Update modules/indexer/issues/indexer.go
...
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
Andrew Thornton
4d8b8ed02e
Merge branch 'master' into graceful-queues
5 years ago
Andrew Thornton
b1c9fa7f1a
Add MaxWorker settings to queues
5 years ago
Andrew Thornton
a492b3071c
Prevent deadlock during early shutdown of issue indexer
5 years ago
Andrew Thornton
1fb9104009
Queue: Allow Redis to connect to unix
5 years ago
Andrew Thornton
1013ced326
Fix test
5 years ago
Andrew Thornton
cc123c3448
Issues: Standardise the issues indexer queue settings
5 years ago
Andrew Thornton
4658b2f35e
Task: Move to generic queue and gracefulise
5 years ago
Andrew Thornton
d6b540475f
Issues: Gracefulise the issues indexer
...
Remove the old now unused specific queues
5 years ago
Andrew Thornton
9ad9070555
Queue: Improve logging
5 years ago
Andrew Thornton
2927bc6fe5
Queue: Add monitoring
5 years ago
Andrew Thornton
85d1a7f7d2
Queue: Add name variable to queues
5 years ago
Andrew Thornton
e6ebb47299
Queue: Make resizing worker pools
5 years ago
Andrew Thornton
0edb70a099
Queue: Add worker settings
5 years ago
Andrew Thornton
9fb051654a
Queue & Setting: Add worker pool implementation
5 years ago
Andrew Thornton
85042634fc
Queue: Add generic graceful queues with settings
5 years ago
GiteaBot
b983ff4473
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
c2d854cfd2
In SimpleMDE check if trigger exists before call ( #9545 )
5 years ago
6543
d59536c222
[BugFix] use default avatar for ghost user (fix 500 error) ( #9536 )
...
* remove since it is there for 3years
* fix 500 error for ghost avatar
* dont insert "-1" in any case to issue.poster_id
* fix lint
* Test: ghost avatar link
* fix test
* Revert "remove since it is there for 3years"
This reverts commit fd9ad05159
.
* Revert "dont insert "-1" in any case to issue.poster_id"
This reverts commit 05469ab6d8
.
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
GiteaBot
ae9d342f54
[skip ci] Updated translations via Crowdin
5 years ago
6543
98bc3e1da8
remove since it is there for 3years ( #9538 )
5 years ago
GiteaBot
a70e822100
[skip ci] Updated translations via Crowdin
6 years ago
6543
261c3a56a2
[Fix] Release attachment should use DownloadURL() not Name ( #9529 )
...
* Handle if two or more attachments have the same name
* previously only the first could be downloaded - now each is downloadable
* dos also take care of #6506 (fix was: #6512 )
* use func DownloadURL() at issue attatchments too
6 years ago
6543
599c0ee75f
go-mssqldb UPDATE ( #9522 )
6 years ago
Lunny Xiao
ed67bbe444
Fix repository issues pagination bug when there are more than one label filter ( #9512 )
6 years ago
techknowlogick
1ea447aedf
Delete conflicting file ( #9526 )
...
Case collision with other jboss file
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
Cornel
81e63d0714
Refactor webhooks to reduce code duplication ( #9422 )
...
* Start webhook refactoring to reduce code duplication
* More webhook refactoring
* Unify webhook release messages
* Fix webhook release link
* Remove sql import
* More webhook refactoring
* More webhook refactoring
* Webhook tests extended
* Fixed issue opened webhook
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
6 years ago
techknowlogick
10455a88dc
Resolve deprecated INI conversion ( #9525 )
...
Per 8fe474341f/deprecated.go (L24)
6 years ago
zeripath
55cd33e124
Stop various tests from adding to the source tree ( #9515 )
...
Instead of just adding test generated files to .gitignore prevent
them from being produced in the first place.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
zeripath
884173232f
Add contrib/environment-to-ini ( #9519 )
...
* Add contrib/environment-to-ini
This contrib command provides a mechanism to allow arbitrary setting
of ini values using the environment variable in a more docker standard
fashion.
Environment variable keys should be structured as:
"GITEA__SECTION_NAME__KEY_NAME"
Use of the command is explained in the README.
Partial fix for #350
Closes #7287
* Update contrib/environment-to-ini/environment-to-ini.go
Co-Authored-By: 6543 <6543@obermui.de>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
6 years ago
6543
4ee97465e9
[Fix] AllowedReaction code ( #9518 )
...
* optimize
* CI.restart()
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
zeripath
e64880ef07
Ignore empty avatars in v115.go ( #9520 )
...
* Ignore empty avatars
* fixup! Ignore empty avatars
6 years ago
zeripath
4acca9d2e8
Properly enforce gitea environment for pushes ( #9501 )
...
#8982 attempted to enforce the gitea environment for pushes - unfortunately it tested the settings before they were actually read in - and therefore does not do that!
6 years ago
6543
f2d03cda96
[API] Extend times API ( #9200 )
...
Extensively extend the times API.
close #8833 ; close #8513 ; close #8559
6 years ago
Lunny Xiao
0bcf644da4
Fix deleted branch isn't removed when push the branch again ( #9516 )
6 years ago
Masudur Rahman
e3a5b83212
Fix user avatar name ( #8547 )
...
Migrate avatar names to include user ID and the md5 hash.
6 years ago
zeripath
145c1ea0b6
Remove and recreate the hooks to set them executable with the umask ( #9502 )
...
Fix #9091
6 years ago
zeripath
154424623a
Remove unnecessary loading of settings in update hook ( #9496 )
...
This PR simply makes update an empty command rather than needlessly load the settings for each reference.
6 years ago
Lunny Xiao
3d5f31f77d
Fix SetExpr failed ( #9506 )
6 years ago
Erwan Colin
2401779aac
Correct a language error in reverse proxy doc ( #9455 )
...
* Correct a language error in reverse proxy doc
* Apply suggestions from code review
Co-Authored-By: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
techknowlogick
d86e587186
alpine 3.11 ( #9440 )
6 years ago
David Svantesson
5748755e8e
Remove obsolete file private/push_update.go ( #9503 )
6 years ago
Mario Lubenka
1db2381546
Push update after branch is restored ( #9416 )
...
* Push update after branch is restored
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* Apply suggestions from code review
Use name from deletedBranch
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago