zeripath
8feb8e23b9
Do docker releases for pushes to release branches ( #10330 )
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Lunny Xiao
321c239dcf
Fix notification ( #10331 )
6 years ago
GiteaBot
2566ec5e5c
[skip ci] Updated translations via Crowdin
6 years ago
John Olheiser
0c807f52b2
Fix JS and Vue ( #10328 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
GiteaBot
7541ff6703
[skip ci] Updated translations via Crowdin
6 years ago
Mike Gerber
540eddb6c8
Fix cron.repo_health_check schedule example in config cheat sheet ( #10324 )
Fixes #10274 .
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
Lunny Xiao
2d4f2b37bf
Fix migration information update bug when linked github account ( #10310 )
* Fix bug on upgrade migrated reactions
* Fix migration information update bug when linked github account
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
John Olheiser
688f0109d0
Inject SVG sprite via ajax ( #10320 )
* AJAX SVG
* Fix PWA
* Remove unused PWA assets
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-Authored-by: silverwind <me@silverwind.io>
6 years ago
zeripath
ed1470e303
Create Changelog for v1.11.1 release ( #10286 ) ( #10321 )
* Create Changelog
* Update CHANGELOG.md
* Include
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
zeripath
cc59d1b56e
Set the initial commit status to Success otherwise it will always be Pending ( #10317 )
The commit status code has a bug whereby setting the initial status to Pending means you can never have the status of Success - it should be set to Success.
6 years ago
zeripath
55e5f8fdf6
Truncate long commit message header ( #10301 )
* Truncate long commit message header
* Fix overflow in view commit table
* Use @media less
* Further improvements
* Fix the commit message on small screens
* adjust width of minimal table
6 years ago
mrsdizzie
d7b3474fa7
Don't manually replace whitespace during render ( #10291 )
* Don't manually replace whitespace during render
For historical reasons Gitea manually alters the urlPrefix and replaces
a whitespace with a +. This Works for URLs, but we're also passing
urlPrefix to git calls and adding the + is breaking the tree path.
Goldmark will automatically convert a white space to the proper %20, so
we should leave the string as is which lets us pass it to git unmodified
and then let Goldmark fix it.
Also fixed separate bug in URLJoin I noticed while testing where it will
silently discard sections of a path that have # in them (possibly
others). We should just escape it first.
Fixes 10156
* Escape elems as well
* Revert "Escape elems as well"
This reverts commit 8bf49596fe .
* restart ci
* remove changes to URLJoin
* restart ci
Co-authored-by: techknowlogick <matti@mdranta.net>
6 years ago
GiteaBot
4e7d2cef67
[skip ci] Updated translations via Crowdin
6 years ago
zeripath
cc71955c6a
v1.10.4 Changelog ( #10294 ) ( #10306 )
* v1.10.4 Changelog
* Add backport identifier for #10261
* Update CHANGELOG.md entry for #9884
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
Antoine GIRARD
4822a29799
fix: set explicit POSTGRES_PASSWORD for pgsql on drone CI ( #10302 )
6 years ago
Antoine GIRARD
f3148cc8a1
ui: better mobile review-box sizing ( #10297 )
6 years ago
Antoine GIRARD
401a3527a6
make: add release-sources ( #10295 )
* make: add release-sources
* make: release-sources exclude .git and make_evidence
6 years ago
Antoine GIRARD
f4413cb102
make/pr: enforce vendor for run ( #10296 )
6 years ago
techknowlogick
fd1292694b
Blacklist manifest.json & milestones user ( #10292 )
Fix #10290
6 years ago
zeripath
1fcfbab134
Notification: queue ui.go notification-service ( #10281 )
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Gary Kim
a0b199c56d
Update static resources documentation ( #10270 )
Signed-off-by: Gary Kim <gary@garykim.dev>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
GiteaBot
d0d061a6d7
[skip ci] Updated translations via Crowdin
6 years ago
zeripath
dabafdde35
Fix Workerpool deadlock ( #10283 )
* Prevent deadlock on boost
* Force a boost in testchannelqueue
6 years ago
guillep2k
ec2e02b666
Divide GetIssueStats query in smaller chunks ( #10176 )
* Divide GetIssueStats query in smaller chunks
* Skip chunking if count is low enough
* Fix lint
* Define maxQueryParameters
* Remove absMaxQueryParameters because of lint
* Restart CI
* Restart CI
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
guillep2k
9484e4b931
Move fixture generation to contrib and add test ( #10277 )
* Add fixture gen tool and fix "access" test
* Close file before exiting
* Add missing repo_unit for repo id: 5
* Fix count on TestAPIOrgRepos
* Generate access fixture from contrib and add test
* Remove old access fixture generation
* Fix lint
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
guillep2k
f79d985d0e
Fix "access" fixtures and tests ( #10247 )
* Add fixture gen tool and fix "access" test
* Close file before exiting
* Add missing repo_unit for repo id: 5
* Fix count on TestAPIOrgRepos
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
GiteaBot
705fc361be
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
a311e7b817
Index code and stats only for non-empty repositories ( #10251 )
Fix test and switch to unique queue
Fix MySQL support when deleting old statistics
6 years ago
GiteaBot
8f253e89d1
[skip ci] Updated translations via Crowdin
6 years ago
John Olheiser
430d331829
Update discord link ( #10263 )
6 years ago
Lunny Xiao
3fdd0c99f8
Issue search support elasticsearch ( #9428 )
* Issue search support elasticsearch
* Fix lint
* Add indexer name on app.ini
* add a warnning on SearchIssuesByKeyword
* improve code
6 years ago
Lunny Xiao
10dcbd6f41
Fix reply on code review ( #10227 )
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
David Svantesson
a6045fc7fb
Add API branch protection endpoint ( #9311 )
* add API branch protection endpoint
* lint
* Change to use team names instead of ids.
* Status codes.
* fix
* Fix
* Add new branch protection options (BlockOnRejectedReviews, DismissStaleApprovals, RequireSignedCommits)
* Do xorm query directly
* fix xorm GetUserNamesByIDs
* Add some tests
* Improved GetTeamNamesByID
* http status created for CreateBranchProtection
* Correct status code in integration test
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
GiteaBot
dea91d6880
[skip ci] Updated translations via Crowdin
6 years ago
techknowlogick
ba7b3ff5c8
Add note about which version embedded tool is implemented ( #10255 )
6 years ago
Lunny Xiao
0b06ffe647
Fix queue pop error and stat empty repository error ( #10248 )
* Fix queue pop error and stat empty repository error
* Fix error
6 years ago
Lunny Xiao
a1d35421d5
Add feishu webhook support ( #10229 )
Add feishu webhook support
6 years ago
silverwind
43ac4473e6
fix margin on attached segments with headers ( #10235 )
Fixes: https://github.com/go-gitea/gitea/issues/10210
Co-authored-by: techknowlogick <matti@mdranta.net>
6 years ago
GiteaBot
00c7e44fc5
[skip ci] Updated translations via Crowdin
6 years ago
John Olheiser
947cfbffbd
SVG Octicon fixes ( #10237 )
* SVG fixes
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Colorize span->svg only
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* @silverwind suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Alphabetical
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Convert suburl and staticPrefix to window.config
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* De-structure
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
jaqra
6c4a862f12
fix label menu text on miletone issues ( #10242 )
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
zeripath
0c866cba74
Stop hanging issue indexer initialisation from preventing shutdown ( #10243 )
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
jaqra
8696d4b773
fix filter label emoji width ( #10241 )
6 years ago
James Lakin
b2bd6ad1f0
Fix issue sidebar menus having an infinite height ( #10239 )
* Revert "Limit label list height on edit issue page"
* Fix issue sidebar menus having an infinite height
6 years ago
silverwind
b8eb4f6206
add TAGS variable prereq on make targets that use it ( #10219 )
Write out TAGS to .make_evidence/tags and compare it to the previous
invocation. If they differ, insert the evidence file into the prereqs
of targets that use TAGS. I made it .PHONY so it always builds.
I did not include the prereq on release tasks, asssuming the will always
do a clean build.
Fixes: https://github.com/go-gitea/gitea/issues/10196
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
6543
81718fa9fa
update vendor keybase/go-crypto ( #10234 )
6 years ago
John Olheiser
dd3a8e419d
Add Octicon SVG spritemap ( #10107 )
* Add octicon SVG sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Static prefix
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* SVG for all repo icons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make vendor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap out octicons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move octicons to top of less imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Definitely not a search/replace
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed regex
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move to more generic calls and webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make svg -> make webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg-sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed a test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg from makefile
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Attempt to fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert timetracking test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap .octicon for .svg in less
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add aria-hidden
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Replace mega-octicon
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix webpack globbing on Windows
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert
Co-Authored-By: silverwind <me@silverwind.io>
* Fix octions from upstream
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix Vue and missed JS function
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add JS helper and PWA
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Preload SVG
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <matti@mdranta.net>
6 years ago
GiteaBot
6ae189e434
[skip ci] Updated translations via Crowdin
6 years ago
jaqra
7e885a370c
Limit label list height on edit issue page ( #10216 )
6 years ago
Lauris BH
416682f73d
Language statistics bar for repositories ( #8037 )
* Implementation for calculating language statistics
Impement saving code language statistics to database
Implement rendering langauge stats
Add primary laguage to show in repository list
Implement repository stats indexer queue
Add indexer test
Refactor to use queue module
* Do not timeout for queues
6 years ago