Kemal Zebari
e1e7299bd9
Truncate commit message during Discord webhook push events ( #31970 )
...
Resolves #31668 .
(cherry picked from commit aadbe0488f454b9f7f5a56765f4530f9d1e2c6ec)
2024-09-29 11:50:27 +02:00
Lunny Xiao
d8ae7d9e96
Fix panic when cloning with wrong ssh format. ( #32076 )
...
(cherry picked from commit 3f2d8f873035b614b4cdb447d8e16f5af82cefe8)
2024-09-29 11:48:56 +02:00
cloudchamb3r
b28a070a52
Fix Bug in Issue/pulls list ( #32081 )
...
fix #32080
## After
### for opened issues
<img width="1199" alt="Screenshot 2024-09-19 at 6 29 31 PM"
src="https://github.com/user-attachments/assets/86cf48ad-5e4b-4dcb-8abe-4d7fd74e0aec ">
### for closed issues
<img width="1208" alt="Screenshot 2024-09-19 at 6 29 37 PM"
src="https://github.com/user-attachments/assets/a16bc545-bfcf-49a4-be52-3e7334910482 ">
### for all issues
<img width="1340" alt="Screenshot 2024-09-20 at 12 07 12 PM"
src="https://github.com/user-attachments/assets/b2309c8f-e59d-44e9-ae3b-bf54e1196169 ">
(cherry picked from commit e1f0598c8f5af5ac95f5e13b74fbab99506762db)
2024-09-29 11:46:14 +02:00
Earl Warren
b2483b2ae0
Fix artifact v4 upload above 8MB ( #31664 ) (fix lint errors)
2024-09-29 11:43:20 +02:00
ChristopherHX
14c7055494
Fix artifact v4 upload above 8MB ( #31664 )
...
Multiple chunks are uploaded with type "block" without using
"appendBlock" and eventually out of order for bigger uploads.
8MB seems to be the chunk size
This change parses the blockList uploaded after all blocks to get the
final artifact size and order them correctly before calculating the
sha256 checksum over all blocks
Fixes #31354
(cherry picked from commit b594cec2bda6f861effedb2e8e0a7ebba191c0e9)
Conflicts:
routers/api/actions/artifactsv4.go
conflict because of Refactor AppURL usage (#30885 ) 67c1a07285008cc00036a87cef966c3bd519a50c
that was not cherry-picked in Forgejo
the resolution consist of removing the extra ctx argument
2024-09-29 11:43:18 +02:00
Earl Warren
81b9977540
Merge pull request 'Update dependency webpack to v5.95.0 (v9.0/forgejo)' ( #5417 ) from renovate/v9.0/forgejo-webpack-5.x into v9.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5417
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-09-29 09:23:08 +00:00
Renovate Bot
a75862bd7d
Update dependency webpack to v5.95.0
2024-09-29 08:03:17 +00:00
Otto
99baeb47e5
Merge pull request '[v9.0/forgejo] i18n: update of translations from Codeberg Translate' ( #5412 ) from bp-v9.0/forgejo-e40554f into v9.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5412
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-09-28 10:41:31 +00:00
Codeberg Translate
7d45c1c6c7
i18n: update of translations from Codeberg Translate ( #5355 )
...
Co-authored-by: earl-warren <earl-warren@users.noreply.translate.codeberg.org>
Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Co-authored-by: Zughy <Zughy@users.noreply.translate.codeberg.org>
Co-authored-by: aleksi <aleksi@users.noreply.translate.codeberg.org>
Co-authored-by: Application-Maker <Application-Maker@users.noreply.translate.codeberg.org>
Co-authored-by: Salif Mehmed <mail@salif.eu>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Panagiotis \"Ivory\" Vasilopoulos <git@n0toose.net>
Co-authored-by: claudep <claudep@users.noreply.translate.codeberg.org>
Co-authored-by: vri <vri@users.noreply.translate.codeberg.org>
Co-authored-by: nicokaiser <nicokaiser@users.noreply.translate.codeberg.org>
Co-authored-by: Outbreak2096 <Outbreak2096@users.noreply.translate.codeberg.org>
Co-authored-by: robines <robines@users.noreply.translate.codeberg.org>
Co-authored-by: nazrin <nazrin@users.noreply.translate.codeberg.org>
Co-authored-by: Kaede Fujisaki <ledyba@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5355
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Co-committed-by: Codeberg Translate <translate@noreply.codeberg.org>
(cherry picked from commit e40554f89b
)
2024-09-28 09:41:02 +00:00
Earl Warren
5442b0a6b1
Merge pull request '[v9.0/forgejo] feat: add architecture-specific removal support for arch package' ( #5407 ) from bp-v9.0/forgejo-89742c4 into v9.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5407
2024-09-27 12:09:01 +00:00
Earl Warren
da0c4ab199
Merge pull request '[v9.0/forgejo] [gitea] week 2024-39 cherry pick (gitea/main -> forgejo)' ( #5406 ) from bp-v9.0/forgejo-e3deb88-2ffb08b-9d34731-f709de2-2675a24-5260543-6275d1b-1ae3b12-1bdf334-9d5f409-0cafec4-9617667 into v9.0/forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5406
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-09-27 12:07:43 +00:00
Exploding Dragon
658ed564cb
feat: add architecture-specific removal support for arch package ( #5351 )
...
- [x] add architecture-specific removal support
- [x] Fix upload competition
- [x] Fix not checking input when downloading
docs: https://codeberg.org/forgejo/docs/pulls/874
### Release notes
- [ ] I do not want this change to show in the release notes.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5351
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Exploding Dragon <explodingfkl@gmail.com>
Co-committed-by: Exploding Dragon <explodingfkl@gmail.com>
(cherry picked from commit 89742c4913
)
2024-09-27 08:29:09 +00:00
Earl Warren
eb4f1de8ec
chore(release-notes): weekly cherry-pick week 2024-39
...
(cherry picked from commit e3deb88a8d
)
2024-09-27 08:13:30 +00:00
Lunny Xiao
ba7da0af31
Use camo.Always instead of camo.Allways ( #32097 )
...
Fix #31575
https://gitea.com/gitea/docs/pulls/73
(cherry picked from commit 8e2dd5d3ddfb442937c79f05df88d18b856952cb)
(cherry picked from commit 2ffb08bb88
)
2024-09-27 08:13:30 +00:00
Jamie Schouten
74712e3400
Add bin to Composer Metadata ( #32099 )
...
This PR addresses the missing `bin` field in Composer metadata, which
currently causes vendor-provided binaries to not be symlinked to
`vendor/bin` during installation.
In the current implementation, running `composer install` does not
publish the binaries, leading to issues where expected binaries are not
available.
By properly declaring the `bin` field, this PR ensures that binaries are
correctly symlinked upon installation, as described in the [Composer
documentation](https://getcomposer.org/doc/articles/vendor-binaries.md ).
(cherry picked from commit d351a42494e71b5e2da63302c2f9b46c78e6dbde)
(cherry picked from commit 9d34731198
)
2024-09-27 08:13:30 +00:00
Lunny Xiao
6c16834d28
Fix wrong last modify time ( #32102 )
...
(cherry picked from commit a802508f88e546bf18990559e44bf27a09c869ee)
(cherry picked from commit f709de2403
)
2024-09-27 08:13:30 +00:00
Timon van der Berg
81308159fd
Repo Activity: count new issues that were closed ( #31776 )
...
I'm new to go and contributing to gitea, your guidance is much
appreciated.
This is meant to solve https://github.com/go-gitea/gitea/issues/13309
Previously, closed issues would not be shown under new issues in the
activity tab, even if they were newly created.
changes:
* Split out newlyCreatedIssues from issuesForActivityStatement to count
both currently open and closed issues.
* Use a seperate function to count active issues to prevent
double-counting issues after the above change.
Result is that new issues that have been closed are shown both under
"new" and "closed".
Signed-off-by: Timon van der Berg <tmnvanderberg@gmail.com>
(cherry picked from commit ebfde845294cc681de6b1fe1adcf27e35f61b89b)
(cherry picked from commit 2675a24649
)
2024-09-27 08:13:30 +00:00
KN4CK3R
2f1a737769
Fix incorrect /tokens
api ( #32085 )
...
Fixes #32078
- Add missing scopes output.
- Disallow empty scope.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 08adbc468f8875fd4763c3656b334203c11adc0a)
(cherry picked from commit 526054332a
)
2024-09-27 08:13:30 +00:00
Earl Warren
5b6d8a303d
Refactor CSRF protector ( #32057 ) (fix forgejo tests)
...
Fix the tests unique to Forgejo that are impacted by the refactor.
(cherry picked from commit 6275d1bc50
)
2024-09-27 08:13:29 +00:00
wxiaoguang
d26b7902ec
Refactor CSRF protector ( #32057 )
...
Remove unused CSRF options, decouple "new csrf protector" and "prepare"
logic, do not redirect to home page if CSRF validation falis (it
shouldn't happen in daily usage, if it happens, redirecting to home
doesn't help either but just makes the problem more complex for "fetch")
(cherry picked from commit 1fede04b83288d8a91304a83b7601699bb5cba04)
Conflicts:
options/locale/locale_en-US.ini
tests/integration/repo_branch_test.go
trivial context conflicts
(cherry picked from commit 1ae3b127fc
)
2024-09-27 08:13:29 +00:00
Earl Warren
1a8f1482af
feat: add IfZero utility function
...
(cherry picked from commit 43de021ac1ca017212ec75fd88a8a80a9db27c4c)
(cherry picked from commit 1bdf334844
)
2024-09-27 08:13:29 +00:00
hiifong
84718e7b17
Lazy load avatar images ( #32051 )
...
(cherry picked from commit f38e1014483b84f4541ffb354cd5dfdd7e000e2c)
(cherry picked from commit 9d5f409a5a
)
2024-09-27 08:13:29 +00:00
KN4CK3R
232179aa3d
Do not escape relative path in RPM primary index ( #32038 )
...
Fixes #32021
Do not escape the relative path.
(cherry picked from commit f528df944bb9436afcb9272add2ee0cccefbdb55)
(cherry picked from commit 0cafec4c7a
)
2024-09-27 08:13:29 +00:00
Zettat123
300e01f733
Check if the due_date
is nil when editing issues ( #32035 )
...
(cherry picked from commit 3a51c37672d2fbad1f222922e75ce704d5a1ac71)
(cherry picked from commit 961766744b
)
2024-09-27 08:13:29 +00:00
Renovate Bot
d727757cfb
Update dependency monaco-editor to v0.51.0
2024-09-26 08:03:00 +00:00
Renovate Bot
f0dab9cc05
Update module code.forgejo.org/forgejo/act to v1.21.3 (forgejo) ( #5333 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5333
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-25 09:10:00 +00:00
Renovate Bot
68cade5b1d
Update dependency @vitejs/plugin-vue to v5.1.4 (forgejo) ( #5350 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5350
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-25 09:04:07 +00:00
Renovate Bot
e1566d2a1f
Update dependency mermaid to v11.2.1 (forgejo) ( #5338 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5338
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-25 09:03:29 +00:00
Renovate Bot
e1a9ad600b
Update dependency tailwindcss to v3.4.13 (forgejo) ( #5345 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5345
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-25 09:03:00 +00:00
forgejo-renovate-action
db016e0652
Merge pull request 'Update dependency vue to v3.5.7 (forgejo)' ( #5364 ) from renovate/forgejo-patch-vue-monorepo into forgejo
2024-09-25 08:58:38 +00:00
Michael Kriese
6490fc2b99
Merge pull request 'Lock file maintenance (forgejo)' ( #5334 ) from renovate/forgejo-lock-file-maintenance into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5334
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-09-25 08:53:48 +00:00
Michael Kriese
1e5f7d2116
chore: fix lint error
2024-09-25 10:15:02 +02:00
Renovate Bot
69b01eb911
Lock file maintenance
2024-09-25 10:15:02 +02:00
Renovate Bot
c2797ecfc1
Update dependency vue to v3.5.8
2024-09-25 08:03:04 +00:00
forgejo-renovate-action
b79e465092
Merge pull request 'Replace dependency eslint-plugin-vitest with @vitest/eslint-plugin 1.0.0 (forgejo)' ( #5377 ) from renovate/forgejo-eslint-plugin-vitest-replacement into forgejo
2024-09-25 07:16:17 +00:00
Michael Kriese
a8f141f6d1
chore: migrate eslint config
2024-09-25 08:34:57 +02:00
Renovate Bot
c54ebb8bc7
Replace dependency eslint-plugin-vitest with @vitest/eslint-plugin 1.0.0
2024-09-24 22:02:34 +00:00
Otto
8b62d3d5da
Merge pull request 'i18n: UX improvements: Team permissions and issue closing' ( #5383 ) from fnetx/team-permissions-i18n into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5383
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-09-24 21:16:40 +00:00
Earl Warren
1b528a7874
Merge pull request 'feat(ui): add more emoji and code block rendering in issues' ( #4541 ) from bramh/forgejo:consistent-title-formatting into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4541
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-24 20:47:26 +00:00
Otto Richter
dc9a268d3c
i18n: UX improvements: Team permissions and issue closing
...
Change word order for issue comment actions
- An attempt to address https://codeberg.org/forgejo/forgejo/issues/2650
Org team permissions improvements
- consistency: added missing dot
- clarity: explain what external units mean
- use dedicated keys to explain the permissions.
- split in read/write permissions
- use explicit labels for accessibility
- ext_wiki.desc and ext_issues.desc are no longer in use.
2024-09-24 19:03:30 +02:00
Bram Hagens
4a74113dee
feat(ui): add more emoji and code block rendering in issues
2024-09-24 14:20:33 +02:00
forgejo-renovate-action
60bcdc8bc3
Merge pull request 'Update renovate to v38.93.1 (forgejo)' ( #5373 ) from renovate/forgejo-renovate into forgejo
2024-09-23 06:42:04 +00:00
Renovate Bot
15ec27e658
Update renovate to v38.93.2
2024-09-23 02:02:04 +00:00
Exploding Dragon
a6508f5b03
Fix: database not updated when using git push --tags --force
( #5319 )
...
Closes #4274
link: https://github.com/go-gitea/gitea/pull/32040
### Release notes
- [ ] I do not want this change to show in the release notes.
<!--start release-notes-assistant-->
## Draft release notes
<!--URL:https://codeberg.org/forgejo/forgejo-- >
- Bug fixes
- [PR](https://codeberg.org/forgejo/forgejo/pulls/5319 ): <!--number 5319 --><!--line 0 --><!--description Rml4OiBkYXRhYmFzZSBub3QgdXBkYXRlZCB3aGVuIHVzaW5nIGBnaXQgcHVzaCAtLXRhZ3MgLS1mb3JjZWA=-->Fix: database not updated when using `git push --tags --force`<!--description-->
<!--end release-notes-assistant-->
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5319
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Exploding Dragon <explodingfkl@gmail.com>
Co-committed-by: Exploding Dragon <explodingfkl@gmail.com>
2024-09-22 07:35:25 +00:00
forgejo-renovate-action
565084925a
Merge pull request 'Update dependency @stoplight/spectral-cli to v6.13.1 (forgejo)' ( #5368 ) from renovate/forgejo-stoplight-spectral-cli-6.x into forgejo
2024-09-22 06:40:45 +00:00
Renovate Bot
6745603edd
Update dependency @stoplight/spectral-cli to v6.13.1
2024-09-22 00:02:33 +00:00
Earl Warren
e806a6efae
Merge pull request 'Update module connectrpc.com/connect to v1.17.0 (forgejo)' ( #5365 ) from renovate/forgejo-connectrpc.com-connect-1.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5365
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-09-21 06:27:43 +00:00
forgejo-renovate-action
c071848aa6
Merge pull request 'Update dependency eslint to v8.57.1 (forgejo)' ( #5337 ) from renovate/forgejo-linters into forgejo
2024-09-21 06:24:08 +00:00
forgejo-renovate-action
56d5d3df3e
Merge pull request 'Update dependency @playwright/test to v1.47.2 (forgejo)' ( #5363 ) from renovate/forgejo-playwright-monorepo into forgejo
2024-09-21 06:23:39 +00:00
Renovate Bot
e1ee45ee85
Update module connectrpc.com/connect to v1.17.0
2024-09-21 02:02:43 +00:00