aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix "toAbsoluteLocaleDate" test when system locale is not en-US (#33939)YaFou7 days1-2/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot8 days1-0/+1
|
* Optimize Layout Styles of Filelist (#33920)Kerwin Bryant8 days2-9/+21
| | | | | | | Align items --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot9 days27-1/+28
|
* update go version for devcontainers (#33923)metiftikci9 days1-1/+1
|
* Added Description Field for Secrets and Variables (#33526)John Smith9 days20-63/+247
| | | | | | | Fixes #33484 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Try to figure out attribute checker problem (#33901)wxiaoguang9 days4-15/+96
| | | For #31600
* Defer captcha script loading (#33919)wxiaoguang9 days1-3/+3
| | | Fix #33899
* Fix file tree issues (#33916)Kerwin Bryant9 days3-4/+3
|
* Remove unused or abused styles (#33918)wxiaoguang9 days8-64/+13
| | | | | | * `top aligned` => `tw-align-top` * label list: it was broken, this PR fixes it * reference link: simplified * settings/repos: not affected
* [skip ci] Updated translations via CrowdinGiteaBot10 days2-7/+11
|
* Update tool dependencies (#33907)silverwind10 days1-2/+2
| | | | | | | `gopls` is currently excluded because its [new analyzers](https://github.com/golang/tools/releases/tag/gopls%2Fv0.18.0) raise many issue, to be fixed before we can upgrade it. And I think the modernize fixer still has a number of [unresolved/undiscovered bugs](https://github.com/golang/go/issues/71847).
* Move hooks function to gitrepo and reduce expose repopath (#33890)Lunny Xiao10 days8-24/+38
| | | | Extract from #28966 Follow #33874
* Replace text-align classes with tailwind (#33905)silverwind10 days40-136/+83
| | | | | | | Small refactor to remove these CSS classes in favor of tailwind. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Simplify secure context check (#33906)silverwind10 days1-7/+4
| | | | As discussed in https://github.com/go-gitea/gitea/pull/33820/files#r1997532169.
* Update JS and PY deps, misc tweaks (#33903)silverwind10 days10-1228/+1188
| | | | | | | | | - Update all updateable dependencies - Add a few more unupgradable ones to updates blocklist - Adapt to breaking changes - Update to typescript 5.8, enable `erasableSyntaxOnly` which necessitated a change because of forbidden syntax - Misc cleanups - Tested htmx, easymde, swagger, chart.js
* Refactor functions to reduce repopath expose (#33892)Lunny Xiao10 days6-25/+25
|
* Move git references checking to gitrepo packages to reduce expose of ↵Lunny Xiao10 days24-46/+79
| | | | repository path (#33891)
* [skip ci] Updated translations via CrowdinGiteaBot11 days1-0/+2
|
* Add missing translation (#33900)Lunny Xiao11 days2-1/+2
|
* Give organisation members access to organisation feeds (#33508)Job11 days6-50/+110
| | | | | | | | | | | | | | | | | | | | | | | | Currently the organisation feed only includes items for public repositories (for non-administrators). This pull requests adds notifications from private repositories to the organisation-feed (for accounts that have access to the organisation). Feed-items only get shown for repositories where the users team(s) should have access to, this filtering seems to get done by some existing code. Needs some tests, but am unsure where/how to add them. Before: ![image](https://github.com/user-attachments/assets/8b63f430-227a-4b19-ad1a-f6f5175de301) After: ![image](https://github.com/user-attachments/assets/b439ce0e-4946-421c-a399-421806c7a6d8) --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Add lock for a repository pull mirror (#33876)Lunny Xiao11 days1-0/+12
| | | | | Fix #33647 This PR add a global lock for repository pulling mirror.
* Fix cannot delete runners via the modal dialog (#33895)ChristopherHX11 days1-1/+1
| | | | | delete-button and show-modal class are conflicting Closes #33894
* Add file tree to file view page (#32721)Kerwin Bryant11 days22-162/+696
| | | | | | | | | | | Resolve #29328 This pull request introduces a file tree on the left side when reviewing files of a repository. --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot12 days1-0/+4
|
* Feature: Ephemeral action runners (#33570)ChristopherHX12 days10-19/+238
| | | | | | | | * This includes a runner mock test for hardend PickTask behavior like described in my proposal * Runner register ephemeral flag introduced in https://gitea.com/gitea/act_runner/pulls/649 Closes #32461
* Add abstraction layer to delete repository from disk (#33879)Lunny Xiao12 days6-11/+37
| | | | Extract from #28966 Follow #33874
* Make SearchMode have default value and add comments (#33863)wxiaoguang12 days8-19/+34
| | | | | | | * Make `SearchMode` have default value if it is empty * Add some comments for the "match" queries * Fix a copy-paste mistake in `buildMatchQuery` (`db.go`) * Add missing `q.Analyzer = repoIndexerAnalyzer`, it is in old code, although I do not see real difference ....
* Fix maven panic when no package exists (#33888)wxiaoguang12 days1-0/+5
| | | | | | Fix #33886 Restore the old logic from #16510, which was incorrectly removed by #33678
* Add old svg class name to git entry icon (#33884)wxiaoguang12 days2-6/+16
| | | Fix https://github.com/go-gitea/gitea/pull/33837#discussion_r1995521288
* Ignore trivial errors when updating push data (#33864)wxiaoguang12 days2-18/+20
| | | Fix #23213
* Improve repo commit view (#33877)wxiaoguang12 days12-46/+116
| | | | | | | | | | | | | | | | | Fix #24623 Major changes: 1. Redirect `/owner/repo/blob/*` requests to `/owner/repo/src/commit/*` (like GitHub) 2. Add a "view file diff" link (see screenshot below) 3. Refactor "AssertHTMLElement" to generic, now we can accurately assert existence or number. 4. Add more tests --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: delvh <dev.lh@web.de>
* Add abstraction layer to check if the repository exists on disk (#33874)Lunny Xiao12 days6-47/+45
| | | | | | | | | | Extract from #28966 This PR uses `gitrepo.IsRepositoryExist` instead of `util.IsExist` to detect whether the repository exist in disk. This will move `RepoPath` detail behind of package `gitrepo` to make it easier to do possible changes where storing the repositories. No code change
* Pull request updates will also trigger code owners review requests (#33744)Lunny Xiao12 days8-37/+157
| | | | | | | | | | Fix #33490 It will only read the changed file on the pushed commits but not all the files of this PR. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot13 days2-2/+11
|
* remove context from retry downloader (#33871)TheFox0x713 days2-17/+15
| | | | follow up to https://github.com/go-gitea/gitea/pull/33399 as I apparently missed this one.
* Fine tune push mirror UI (#33866)wxiaoguang13 days2-29/+34
|
* Fix markdown render (#33870)wxiaoguang13 days4-21/+22
| | | | | Fix #33869, some code block is moved to make it easier to test. Added a new test
* Improve issue & code search (#33860)wxiaoguang13 days31-170/+315
| | | | Each "indexer" should provide the "search modes" they support by themselves. And we need to remove the "fuzzy" search for code.
* [skip ci] Updated translations via CrowdinGiteaBot14 days1-0/+3
|
* Refactor cache-control (#33861)wxiaoguang14 days15-65/+95
| | | And fix #21391
* Fix various Fomantic UI and htmx problems (#33851)wxiaoguang2025-03-118-68/+16
| | | Also fix #31328, fix #33854
* Add workflow_job webhook (#33694)ChristopherHX2025-03-1133-7/+520
| | | | | | | | | Provide external Integration information about the Queue lossly based on https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=completed#workflow_job Naming conflicts between GitHub & Gitea are here, Blocked => Waiting, Waiting => Queued Rationale Enhancement for ephemeral runners management #33570
* Fix file icon mapping (#33855)wxiaoguang2025-03-115-108/+809
| | | | Use the file extension mapping from VSCode's extensions. Otherwise js/ts/vba/... files won't get correct icons.
* Drop fomantic build (#33845)wxiaoguang2025-03-1130-25343/+12864
| | | | | | | | | | | | We would never update or build fomantic again, we have forked it as a private library long time ago. So just put the JS and CSS files in "fomantic/build" into git. And use "import" to use them. Remove "form.js", rewrite "tab" component. All source code is from official Fomantic UI build. Will apply patches in separate PRs.
* Fix auto concurrency cancellation skips commit status updates (#33764)ChristopherHX2025-03-1010-28/+51
| | | | | | | | * add missing commit status * conflicts with concurrency support Closes #33763 Co-authored-by: Giteabot <teabot@gitea.io>
* Fix test code (#33829)wxiaoguang2025-03-106-135/+107
| | | Do not use onGiteaRun if there is no git operation
* Remove "noscript" tag from html head (#33846)wxiaoguang2025-03-111-6/+0
|
* Fix material icon & diff highlight (#33844)wxiaoguang2025-03-1010-3279/+247
|
* Fix LFS URL (#33840)wxiaoguang2025-03-1011-21/+131
| | | Fix #33839