Commit graph

21194 commits

Author SHA1 Message Date
yp05327
5a0bc35799
Fix sort order for organization home and user profile page (#31921)
Fix #31916

In #30876, `sortOrder` has been changed into a map, but it is only
implemented in explore.
~~But it seems that size sort order has no effect from long long ago,~~
not directly caused by the PR above.

I think it is still caused by #29231.
In #29231, it merged the sort orders from
`templates/explore/repo_search.tmpl` and
`templates/admin/repo/search.tmpl`.
In `templates/admin/repo/search.tmpl`, it contains size sort orders, but
not in `templates/explore/repo_search.tmpl`, which is used in non-admin
pages.
So `order by size` is added from #29231, but the handler was not added.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 661a1e10f7abd3527d2abc027dec936022db9379)
2024-09-09 20:54:39 +02:00
Lunny Xiao
3ad20e27ae
Fix index too many file names bug (#31903)
Try to fix #31884
Fix #28584

(cherry picked from commit 286ede47ad683bf0431e531e82019cd016cc54dd)
2024-09-09 20:54:39 +02:00
Otto
b2ea43b25b Merge pull request 'tests: Improve in-repo documentation' (#5235) from fnetx/testing-docs into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5235
Reviewed-by: thefox <thefox@noreply.codeberg.org>
2024-09-09 12:48:14 +00:00
Otto Richter
0f3ba99ff0 Add detailed instructions for e2e testing
- rewrite parts of and improve README
- simplify repo declaration
- list coverage in workflow path filter
2024-09-09 14:06:10 +02:00
Otto Richter
d06da0d9c6 Update integration test README
and remove outdated chinese version
2024-09-09 14:06:10 +02:00
silverwind
ebd32d626f
Improve textarea paste (part of gitea#31948)
When pasting a URL over another URL, replace the URL instead of creating
a useless `[url](url)`.

(Partially picked from commit 55502265716f000a2c61c98fa093244e1310d97f)

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-09-09 10:04:50 +02:00
Gusted
6149f0de7c Merge pull request 'Update module golang.org/x/oauth2 to v0.23.0 (forgejo)' (#5262) from renovate/forgejo-golang.org-x-oauth2-0.x into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5262
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-09-08 18:43:33 +00:00
Moritz Kobel
7724559a8e migrate scoped gitlab labels as scoped forgejo labels
* fix handling of scoped labels
* change gitlab migration test repo from gitea to forgejo
* rewrite test for new gitlab test_repo, add scoped labels
2024-09-08 09:13:02 +00:00
Otto
864eabebba Merge pull request 'chore: remove extra go-sqlite3 imports' (#5243) from yoctozepto/no-extra-sqlite into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5243
Reviewed-by: Otto <otto@codeberg.org>
2024-09-08 00:20:45 +00:00
Renovate Bot
83229faf3c Update module golang.org/x/oauth2 to v0.23.0 2024-09-08 00:03:07 +00:00
Earl Warren
4e578934ab Merge pull request 'Update code.forgejo.org/go-chi/captcha digest to df43b92 (forgejo)' (#5254) from renovate/forgejo-code.forgejo.org-go-chi-captcha-digest into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5254
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-07 14:31:10 +00:00
Renovate Bot
d6ba3fa90b Update code.forgejo.org/go-chi/captcha digest to df43b92 2024-09-07 10:03:01 +00:00
Earl Warren
fb796afd61 Merge pull request 'Update code.forgejo.org/go-chi/session digest to 557e3de (forgejo)' (#5255) from renovate/forgejo-code.forgejo.org-go-chi-session-digest into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5255
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-07 08:21:10 +00:00
Gusted
0a86d1e843 Merge pull request 'Update module github.com/buildkite/terminal-to-html/v3 to v3.16.0 (forgejo)' (#5239) from renovate/forgejo-github.com-buildkite-terminal-to-html-v3-3.x into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5239
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-09-07 08:09:09 +00:00
Renovate Bot
35fae7b87d Update module github.com/xanzy/go-gitlab to v0.109.0 2024-09-07 08:02:37 +00:00
forgejo-renovate-action
c67d3a4d29 Merge pull request 'Update module github.com/PuerkitoBio/goquery to v1.10.0 (forgejo)' (#5256) from renovate/forgejo-github.com-puerkitobio-goquery-1.x into forgejo 2024-09-07 05:34:58 +00:00
Renovate Bot
779c0ae60c Update module github.com/PuerkitoBio/goquery to v1.10.0 2024-09-07 02:02:47 +00:00
Renovate Bot
901aa600d3 Update code.forgejo.org/go-chi/session digest to 557e3de 2024-09-07 00:04:00 +00:00
Gusted
912fe49ab3
Construct screen 2024-09-06 20:24:51 +02:00
Earl Warren
cb896ce319 Merge pull request 'docs: add links to the v7.0.9 & v8.0.3 release notes' (#5251) from earl-warren/forgejo:wip-release-notes into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5251
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-09-06 12:59:34 +00:00
Earl Warren
4c67b7e535
docs: add links to the v7.0.9 & v8.0.3 release notes 2024-09-06 14:44:43 +02:00
Earl Warren
6114356dff Merge pull request 'replace v-html with v-text in branch search inputbox for XSS protection' (#5244) from earl-warren/forgejo:wip-xss into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5244
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-09-06 10:37:06 +00:00
Lunny Xiao
bb8796b3be
fix: replace v-html with v-text in branch search inputbox
Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
(cherry picked from commit 7eef261c3ebf9bfe37fe0dceb51bde9a79bbaf17)
2024-09-06 11:59:11 +02:00
Radosław Piliszek
f0a6ea454f chore: remove extra go-sqlite3 imports
go-sqlite3 is already properly included conditionally within the
`modules/setting` package.
2024-09-06 09:36:08 +00:00
forgejo-renovate-action
ba880c174e Merge pull request 'Update dependency vue to v3.5.1 (forgejo)' (#5227) from renovate/forgejo-patch-vue-monorepo into forgejo 2024-09-06 06:54:06 +00:00
Renovate Bot
cf271dfeb5 Update dependency vue to v3.5.3 2024-09-06 05:18:23 +00:00
Earl Warren
12657eee5a Merge pull request 'Update dependency go to v1.23.1 (forgejo)' (#5233) from renovate/forgejo-patch-golang-packages into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5233
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-06 05:14:57 +00:00
forgejo-renovate-action
116adc2168 Merge pull request 'Update dependency @playwright/test to v1.47.0 (forgejo)' (#5238) from renovate/forgejo-playwright-monorepo into forgejo 2024-09-06 05:13:14 +00:00
forgejo-renovate-action
429e27c759 Merge pull request 'Update module golang.org/x/tools/gopls to v0.16.2 (forgejo)' (#5237) from renovate/forgejo-xtools into forgejo 2024-09-06 05:12:49 +00:00
Renovate Bot
0911ba8646 Update module github.com/buildkite/terminal-to-html/v3 to v3.16.0 2024-09-06 02:02:54 +00:00
Renovate Bot
5b7c1a8c6c Update dependency @playwright/test to v1.47.0 2024-09-06 00:02:58 +00:00
Renovate Bot
eaad11ae8b Update module golang.org/x/tools/gopls to v0.16.2 2024-09-06 00:02:39 +00:00
Renovate Bot
4a08f1a349 Update dependency go to v1.23.1 2024-09-05 16:03:03 +00:00
Michael Kriese
aeb875aa3c Merge pull request 'Update module golang.org/x/image to v0.20.0 (forgejo)' (#5229) from renovate/forgejo-golang.org-x-image-0.x into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5229
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-05 08:02:49 +00:00
Michael Kriese
47569fac50
chore: update licenses 2024-09-05 08:36:54 +02:00
Renovate Bot
f41b50d014
Update module golang.org/x/image to v0.20.0 2024-09-05 08:36:54 +02:00
Codeberg Translate
fb4a8b24cc i18n: update of translations from Codeberg Translate (#5182)
Translations update from [Codeberg Translate](https://translate.codeberg.org) for [Forgejo/forgejo](https://translate.codeberg.org/projects/forgejo/forgejo/).

Current translation status:

![Weblate translation status](https://translate.codeberg.org/widget/forgejo/forgejo/horizontal-auto.svg)

<!--start release-notes-assistant-->

## Draft release notes
<!--URL:https://codeberg.org/forgejo/forgejo-->
- Localization
  - [PR](https://codeberg.org/forgejo/forgejo/pulls/5182): <!--number 5182 --><!--line 0 --><!--description aTE4bjogdXBkYXRlIG9mIHRyYW5zbGF0aW9ucyBmcm9tIENvZGViZXJnIFRyYW5zbGF0ZQ==-->i18n: update of translations from Codeberg Translate<!--description-->
<!--end release-notes-assistant-->

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Co-authored-by: Monti <contact@montidaproot.xyz>
Co-authored-by: sclu1034 <sclu1034@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <Dirk@users.noreply.translate.codeberg.org>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5182
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Co-committed-by: Codeberg Translate <translate@noreply.codeberg.org>
2024-09-05 05:41:41 +00:00
Renovate Bot
45a907d378 Update dependency postcss to v8.4.45 (forgejo) (#5226)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5226
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-09-05 04:54:55 +00:00
Renovate Bot
287051b0cc Update dependency vue to v3.5.0 (forgejo) (#5218)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5218
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-09-04 13:56:24 +00:00
Renovate Bot
446b529719 Update dependency postcss to v8.4.44 (forgejo) (#5204)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5204
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-09-04 07:44:26 +00:00
forgejo-renovate-action
0e4ea60bd6 Merge pull request 'Update dependency eslint-plugin-vue to v9.28.0 (forgejo)' (#5217) from renovate/forgejo-linters into forgejo 2024-09-04 07:42:19 +00:00
Renovate Bot
46f563dc4f Update dependency eslint-plugin-vue to v9.28.0 2024-09-04 00:02:20 +00:00
Earl Warren
6d2fa323e0 Merge pull request '[gitea] week 2024-36 cherry pick (gitea/main -> forgejo)' (#5195) from earl-warren/wcp/2024-36 into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5195
Reviewed-by: Otto <otto@codeberg.org>
2024-09-03 13:40:14 +00:00
Otto
c2e0ce5674 Merge pull request 'test: assert navigation URLs in release E2E test' (#5167) from solomonv/fix-flaky-e2e into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5167
Reviewed-by: Otto <otto@codeberg.org>
2024-09-03 12:01:23 +00:00
Renovate Bot
66fb4966fa Update module github.com/jhillyerd/enmime to v1.3.0 2024-09-03 00:03:25 +00:00
forgejo-renovate-action
7e7e14706a Merge pull request 'Update dependency happy-dom to v15.7.3 (forgejo)' (#5198) from renovate/forgejo-happy-dom-15.x into forgejo 2024-09-02 09:25:24 +00:00
Renovate Bot
24e513ae9f Update dependency happy-dom to v15.7.3 2024-09-02 06:21:49 +00:00
Earl Warren
4c0b9cf1a5 Merge pull request 'Update renovate to v38.59.2 (forgejo)' (#5197) from renovate/forgejo-renovate into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5197
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-02 05:19:17 +00:00
Renovate Bot
1b7c9ffbcb Update dependency sortablejs to v1.15.3 2024-09-02 02:02:55 +00:00
Renovate Bot
d9893ed2b6 Update renovate to v38.59.2 2024-09-02 00:02:39 +00:00