John Olheiser
d3f618362a
Fix JS and Vue ( #10328 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
GiteaBot
83801663ce
[skip ci] Updated translations via Crowdin
5 years ago
Mike Gerber
a67630deb2
Fix cron.repo_health_check schedule example in config cheat sheet ( #10324 )
...
Fixes #10274 .
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
Lunny Xiao
ce0413ff88
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>
5 years ago
John Olheiser
e76a64dda1
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>
5 years ago
zeripath
05c1f2b45c
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>
5 years ago
zeripath
e96f3542d0
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.
5 years ago
zeripath
314740e215
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
5 years ago
mrsdizzie
b5f28d154d
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>
5 years ago
GiteaBot
7af6f8b465
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
8bba797252
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>
5 years ago
Antoine GIRARD
5a46ec647b
fix: set explicit POSTGRES_PASSWORD for pgsql on drone CI ( #10302 )
5 years ago
Antoine GIRARD
cdda5c4b90
ui: better mobile review-box sizing ( #10297 )
5 years ago
Antoine GIRARD
9bada628f2
make: add release-sources ( #10295 )
...
* make: add release-sources
* make: release-sources exclude .git and make_evidence
5 years ago
Antoine GIRARD
df758f3cc9
make/pr: enforce vendor for run ( #10296 )
5 years ago
techknowlogick
c0bc9871be
Blacklist manifest.json & milestones user ( #10292 )
...
Fix #10290
5 years ago
zeripath
791b109d6f
Notification: queue ui.go notification-service ( #10281 )
...
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Gary Kim
5563d56a32
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>
5 years ago
GiteaBot
78859ba274
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
88986746d5
Fix Workerpool deadlock ( #10283 )
...
* Prevent deadlock on boost
* Force a boost in testchannelqueue
5 years ago
guillep2k
15614a8368
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>
5 years ago
guillep2k
7e920703f9
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>
5 years ago
guillep2k
62a1322cf9
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>
5 years ago
GiteaBot
a97fe76950
[skip ci] Updated translations via Crowdin
5 years ago
Lauris BH
a1d796f521
Index code and stats only for non-empty repositories ( #10251 )
...
Fix test and switch to unique queue
Fix MySQL support when deleting old statistics
5 years ago
GiteaBot
ff261dafc4
[skip ci] Updated translations via Crowdin
5 years ago
John Olheiser
41d61d470e
Update discord link ( #10263 )
5 years ago
Lunny Xiao
5dbf36f356
Issue search support elasticsearch ( #9428 )
...
* Issue search support elasticsearch
* Fix lint
* Add indexer name on app.ini
* add a warnning on SearchIssuesByKeyword
* improve code
5 years ago
Lunny Xiao
17656021f1
Fix reply on code review ( #10227 )
...
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
David Svantesson
9ff4e1d2d9
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>
5 years ago
GiteaBot
908f8952be
[skip ci] Updated translations via Crowdin
5 years ago
techknowlogick
7791d904b4
Add note about which version embedded tool is implemented ( #10255 )
5 years ago
Lunny Xiao
3d69bbd58f
Fix queue pop error and stat empty repository error ( #10248 )
...
* Fix queue pop error and stat empty repository error
* Fix error
5 years ago
Lunny Xiao
83a8944fcf
Add feishu webhook support ( #10229 )
...
Add feishu webhook support
5 years ago
silverwind
ea7ad382e7
fix margin on attached segments with headers ( #10235 )
...
Fixes: https://github.com/go-gitea/gitea/issues/10210
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
GiteaBot
685a0037d2
[skip ci] Updated translations via Crowdin
5 years ago
John Olheiser
d67e9b9629
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>
5 years ago
jaqra
2399bad1f1
fix label menu text on miletone issues ( #10242 )
...
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
zeripath
1125d1453b
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>
5 years ago
jaqra
6c823c7560
fix filter label emoji width ( #10241 )
5 years ago
James Lakin
54af3c90c7
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
5 years ago
silverwind
d9c79986ea
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>
5 years ago
6543
bfd62b6f01
update vendor keybase/go-crypto ( #10234 )
5 years ago
John Olheiser
86fdba177a
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>
5 years ago
GiteaBot
e704f7fae7
[skip ci] Updated translations via Crowdin
5 years ago
jaqra
602b29e965
Limit label list height on edit issue page ( #10216 )
5 years ago
Lauris BH
ad2642a8aa
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
5 years ago
zeripath
37892be635
Restore graceful restart on SIGHUP ( #10224 )
...
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
GiteaBot
b3255921af
[skip ci] Updated translations via Crowdin
5 years ago
Lauris BH
852aeeffc0
Fix commit between two commits calculation if there is only last commit ( #10225 )
5 years ago