(cherry picked from commit b07123ee7b441946bdeacf38dfbabde705427f63)
(cherry picked from commit ca85c880b476428b407c30b4b1776b2e008c9330)
(cherry picked from commit 723ead94cb63e8d703f0159a02e2fcaff2f1bb30)
(cherry picked from commit ff148318da221be77813675437026985a19107a7)
[DOCS] RELEASE-NOTES: 1.19.0
(cherry picked from commit e84e43887beae3a2f18afb8ef71fdc17078413bc)
[DOCS] RELEASE-NOTES: add scoped access tokens
(cherry picked from commit 688f831853ef179d511cc7594dd23cc46ccef654)
[DOCS] RELEASE-NOTES: Scoped labels
(cherry picked from commit 747479a07b3b7b329016337025eddbc82c4073a4)
[DOCS] RELEASE-NOTES: OIDC groups
(cherry picked from commit 10c505fe8941b81824f08e4c6a39d12517c182bc)
[DOCS] RELEASE-NOTES: Copy Link is broken
On firefox it fails with Uncaught TypeError: navigator.clipboard is
undefined
On chromium it fails with Uncaught TypeError: Cannot read properties of undefined (reading 'writeText')
(cherry picked from commit 148b2ff093fa87672aa09d09484b7803bbdecc39)
[DOCS] RELEASE-NOTES: Copy citation
(cherry picked from commit d0f217735f506d0f4fb414f38860d821cd1925b5)
[DOCS] RELEASE-NOTES: Support org/user level projects
(cherry picked from commit de845c7bcf4637f442a612fafb6a663c7dc69473)
[DOCS] RELEASE-NOTES: v1.19 has a documentation
(cherry picked from commit 9a5b46da32fa12c32215a0c0a8b233c14a10c9b0)
[DOCS] RELEASE-NOTES: do not split webhook section
(cherry picked from commit 00ed02032124ca75644ec2365f054c56d7e68d20)
[DOCS] RELEASE-NOTES: Incoming emails
(cherry picked from commit 06c455b33bf39a7595a31a983dbaab7e28795f55)
[DOCS] RELEASE-NOTES: secrets are an implementation detail
(cherry picked from commit 8236dc3a573f9cdb892894416268d3a115c77fd1)
[DOCS] RELEASE-NOTES: Prohibit fork if user reached maximum
(cherry picked from commit 0f80b8c696ef8c407466605588f341b710a023ab)
[DOCS] RELEASE-NOTES: scoped tokens: do not duplicate the docs
(cherry picked from commit 9bc4793c078e115ab5d59fda89fb43765dcb0526)
[DOCS] RELEASE-NOTES: rss feed for tags and releases
(cherry picked from commit 599b36fada5f12a3fb4e0eed4f787606af701e46)
[DOCS] RELEASE-NOTES: protected branches wildcard
(cherry picked from commit 2b316c495056b9ae9191f51f550eb0a5c76ae6c1)
[DOCS] RELEASE-NOTES: disable releases
(cherry picked from commit 9a60773f1dcaf241b43707c2009e0223d0b3eed9)
[DOCS] RELEASE-NOTES: review box
(cherry picked from commit 09867dd1220c66c6ad468f9f0a0a22740510f373)
[DOCS] RELEASE-NOTES: asciicast support
(cherry picked from commit ea9658379b25f9c1dec487fd5d9139d37735e113)
[DOCS] RELEASE-NOTES: attention blocks
(cherry picked from commit 70b387750b2fea65e68aa2b1486ffcfef0dbd2fd)
[DOCS] RELEASE-NOTES: commit cross reference
(cherry picked from commit fe706dad13db9f3ad4fd6699b20337712e7a674b)
[DOCS] RELEASE-NOTES: strip user completion border case
(cherry picked from commit 33ca51b4b699ba347d395796d80eebab09b1a2f6)
[DOCS] RELEASE-NOTES: card preview
(cherry picked from commit 626cd78ca6d2c95dcd90c33d0f9e3e99f48912e7)
[DOCS] RELEASE-NOTES: raw copy button
(cherry picked from commit edfb467d64190df7b8056e5ced164678ea5a1ea7)
[DOCS] RELEASE-NOTES: allow edits by maintainers by default
(cherry picked from commit 7006405bc6113f4b7acd26d91d1f928022d00bdf)
[DOCS] RELEASE-NOTES: database auto migration is a little arcane
(cherry picked from commit 78030fa9af4a05e2092d54e18e7b2dee2037c299)
[DOCS] RELEASE-NOTES: fix typos & minor rewording
(cherry picked from commit ae1d47f656df2c11c140095d8710361ebe545af5)
(cherry picked from commit ad08ca9955304663367fa66e8d2097b78bc5b438)
[DOCS] RELEASE-NOTES: webhook authorization header
(cherry picked from commit c35e2c4f6f985be5763363ae2b03e5d23378f0d2)
[DOCS] RELEASE-NOTES: video element in markdown
(cherry picked from commit bcb0bd51d2114a7f086358b568928c3feeefea57)
[DOCS] RELEASE-NOTES: move scoped labels to the documentation
(cherry picked from commit c5eedaf4f398ca232ca65f132d504425dd8ac3ba)
[DOCS] RELEASE-NOTES: cosmetic improvements
(cherry picked from commit b93df350d96c0cb8b6b6b924a1dd8af1551f2263)
[DOCS] RELEASE-NOTES: 1.19.0-0 is really : 1.19.0-2
(cherry picked from commit 60d770c2c95d841c597f619e73582bbdfcdb0143)
[DOCS] RELEASE-NOTES: relevant repositories
(cherry picked from commit de6ed5b87f845bb86f4d3aa4085f373958797ebe)
(cherry picked from commit 71d91fdf22d04cb8d0c88eac87a9a59e1c558bd7)
[DOCS] RELEASE-NOTES: semantic version
(cherry picked from commit af062d77f0641426aa048e5975585b01652aea01)
[DOCS] RELEASE-NOTES: reflogs
(cherry picked from commit 084713d8aae787e2db76219f29840f006967ff92)
(cherry picked from commit 90ad322a56bd67f717e32e8a1a419033add3655a)
[DOCS] RELEASE-NOTES: fix broken link to OIDC mapping
(cherry picked from commit 802a252eb5ddb411574cd7a8c9645fffd88de469)
[DOCS] RELEASE-NOTES: Fix spaces
(cherry picked from commit a605d36ab63cba34770b14e0073ee6b9dbb3b511)
[DOCS] RELEASE-NOTES: SemVer
(cherry picked from commit 7b29c90035f243944340952c234e2caec84527e7)
(cherry picked from commit 82799195c9208d43a6c6d8da1fd6f7560f224b09)
(cherry picked from commit 5d9c2e9ec67ea7d39532d61bbf5aed3e1161d669)
[DOCS] RELEASE-NOTES: 1.19.0-3
(cherry picked from commit c599b2947d9da682da156fad459be76f09bda999)
(cherry picked from commit 8a37027ae78f42f211e179bc4080488485982a87)
[DOCS] RELEASE-NOTES: v1.19.1-0
(cherry picked from commit 89b9e96cc778a6cc2a063201252e9e2c1042a355)
(cherry picked from commit 2b4e881a4e43ea0ab522e4d8c127a2b4ccdb10d7)
[DOCS] RELEASE-NOTES: 1.19.2-0
(cherry picked from commit 0c0d2ec46cbc34d42b36af7e4096ee8e149a77ae)
(cherry picked from commit 437b8caae4d3045c00f671758dd287f005805cf6)
[DOCS] RELEASE-NOTES: 1.19.3-0
(cherry picked from commit 040740917e24c7d97ace3f46723e88163bafb533)
[DOCS] RELEASE-NOTES: 1.19.3-0 (fix typo)
(cherry picked from commit 24516cb22ab3768d076d5da87afa5f135e4409da)
(cherry picked from commit 429c8e652549072d0c695b7c3e7c9f447aea8b5b)
(cherry picked from commit 8247bddb45de2e5a275551d50a84ccfe5cc28e7d)
(cherry picked from commit d77d7b7be72d0de250d97cdedb9381a1cdc1562e)
(cherry picked from commit a64c899b1dde2ebeb620569b16cf982eb519e475)
(cherry picked from commit 0803eaa2e3)
(cherry picked from commit 8538f2897e49027e6f30e477401a97ddf22beb5b)
(cherry picked from commit 45b9037d3c0c243ffaab84b22d89e00371a2851e)
(cherry picked from commit 928705f8701cb2736c8bd8de688d60345f80f991)
(cherry picked from commit 19e683468c5bfaef5dc4c4a7cedbbdff3af7691c)
(cherry picked from commit 5ae55e8e347c015ca5ce50e10f49d2d509d070fa)
(cherry picked from commit 7c224d84cf1de8ce566533cbab48572735fce8ef)
[DOCS] RELEASE-NOTES: 1.20.0
(cherry picked from commit 3fbcdd235b67c2292162949b1fd24e4fe1a55753)
(cherry picked from commit e7a621acae5ce34c91db41848a4a2bc3e1fae6f6)
(cherry picked from commit 70adac6d6659de22a87f2bdbee7297f677fc7b51)
[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) rewording
(cherry picked from commit 1b79fab57d370f65b1a22fdec264889044d6ec17)
[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) time
(cherry picked from commit cfd599a13224f3413abf7e75859224f4e48a3028)
[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) wiki
(cherry picked from commit 6aa2ab41c60af2bb348971bd5e1110f7abf98727)
pick changes from #829
(cherry picked from commit f5995981015fda2d012597aacfddb62d2b328230)
[DOCS] RELEASE-NOTES: 1.20.0-0-rc0 (squash) ui
(cherry picked from commit 5f0aa769b1691b0f12273d8e48ffda67fbe0ed02)
features
(cherry picked from commit d1e788ff4e3eeb9cb07cfc7ceb682b7d8414ab89)
typos
(cherry picked from commit 088d4b2d61b6c8210cde54a1e001860d2ec0cebc)
Mirror Settings
(cherry picked from commit 161412affd711b6a6ea4e3284d791137c69a6e6a)
features
(cherry picked from commit 10cb0379e2c557d43ce17ef3153e877684605a58)
fix typo
(cherry picked from commit aee096b04098b5a2ecaa75a40701ea7ddf4ad022)
TODO
(cherry picked from commit 0d4e0bb4a973f7bd2f6653ff18f2f0830d04da18)
typo
(cherry picked from commit b76a3c1a84333699c292f33027a80099587322ff)
(cherry picked from commit 4c354196c2202a1f0b3635ad741ad66cbe1989ab)
(cherry picked from commit 6323c6d1a28272f4694e9b213c25164ba1d03312)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) Woodpecker CI archive repository
(cherry picked from commit 154ee5bc9c8a91980db646ce6f17da55445a111c)
[DOCS] RELEASE-NOTES: 1.20.0 (squash)
(cherry picked from commit 656f95544814cfcd6bd28e01e2baf5a524d4a273)
[DOCS] RELEASE-NOTES: 1.19.4-0
(cherry picked from commit 85bd99717683c53cbf133989a20323a7c4f993a9)
[DOCS] RELEASE-NOTES: 1.19.4-0 (squash) fix typo
(cherry picked from commit e5c364c586ef4b848b91a855ce62291780c37307)
(cherry picked from commit c123048e51a42167ade8feeba09c69d24f6ba5f6)
(cherry picked from commit ad2fedb6931df445b4a54a776144862ce78e023a)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) blog
Pick changes from https://blog.gitea.com/release-of-1.20.0/
(cherry picked from commit c8068a9d7b93abbbc852a307f48dda0aef40db86)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) Gitea release notes
Review https://github.com/go-gitea/gitea/releases/tag/v1.20.0
(cherry picked from commit dd58b50403894f84936e26680ce6791f045358e5)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) commits
git log --no-merges --oneline 64ed262e1..gitea/release/v1.20 . ':(exclude,glob)docs/**' ':(exclude)CONTRIBUTING.md' ':(exclude)MAINTAINERS' ':(exclude,glob).github/**' ':(exclude)CHANGELOG.md' ':(exclude,glob)options/locale/**' ':(exclude,glob)options/license/**' ':(exclude,glob)snap/**' ':(exclude).drone.yml' ':(exclude)custom/conf/app.example.ini'
9159964ad Avoid opening/closing PRs which are already merged (#25883) (#25903)
9369b3831 Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927)
6e82d0bb7 Add shutting down notice (#25920) (#25922)
36b9a86bd Fix incorrect milestone count when provide a keyword (#25880) (#25904)
de8127e78 fix incorrect repo url when changed the case of ownername (#25733) (#25881)
de8127e78 fix incorrect repo url when changed the case of ownername (#25733) (#25881)
186f07bbf Make `add line comment` buttons focusable (#25894) (#25896)
45b1f4dd3 Add support for different Maven POM encoding (#25873) (#25890)
026e745b9 Fix incorrect release count (#25879) (#25887)
c334be828 Fix empty project displayed in issue sidebar (#25802) (#25854)
353dcc5ad Fix the error message when the token is incorrect (#25701) (#25836)
abe9c641c Show correct SSL Mode on "install page" (#25818) (#25838)
052e65e63 Fix incorrect oldest sort in project list (#25806) (#25835)
c1a10be07 Fix activity type match in `matchPullRequestEvent` (#25746) (#25796)
2b79d3fd5 For API attachments, use API URL (#25639) (#25814)
b4460cf54 Make "install page" respect environment config (#25648) (#25799)
a1bc2aa05 Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) (#25809)
d713cf615 Fix WORK_DIR for docker (root) image (#25738) (#25811)
012b804a9 Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764)
372b622c2 Revert package access change from #23879 (#25707) (#25785)
06bcdfe77 Remove unused code (#25734) (#25788)
a5a3c8141 Fix notification list bugs (#25781) (#25787)
ea2c9de3c Test if container blob is accessible before mounting (#22759) (#25784)
348a6bf70 Always pass 6-digit hex color to monaco (#25780) (#25782)
91dadeddd Translate untranslated string in issues list (#25759) (#25761)
32eaba1b4 Hide `add file` button for pull mirrors (#25748) (#25751)
917ca5ded Several fixes for mobile UI (#25634) (#25689)
e595dfeec Allow/fix review (approve/reject) of empty PRs (#25690) (#25732)
03cacf971 Check `ctx.Written()` for `GetActionIssue` (#25698) (#25711)
68e0c802f Show correct naming for 1 comment (#25704) (#25712)
09668b2e2 Correct permissions for `.ssh` and `authorized_keys` (#25721) (#25730)
04eea29ec Fix tags header and pretty format numbers (#25624) (#25694)
511be9fe6 Fix position of org follow button (#25688) (#25692)
24e64fe37 Replace `interface{}` with `any` (#25686) (#25687)
4e310133f Prevent duplicate image loading (#25675) (#25684)
491f36d32 Actions list enhancements (#25601) (#25678)
5510ed34f Fix the nil pointer when assigning issues to projects (#25665) (#25677)
39fce5750 Prevent SVG shrinking (#25652) (#25669)
1f9037604 Fix show more for image on diff page (#25672) (#25673)
0af6542a3 Add unit test for repository collaboration (#25640) (#25658)
69bdcf41f Log the real reason when authentication fails (but don't show the user) (#25414) (#25660)
e610b0389 Fix UI misalignment on user setting page (#25629) (#25656)
13ffa287b Fix bug of branches API with tests(#25578) (#25579)
(cherry picked from commit 3e9e862e5ed30e82f3b4da1b14f7865fb05464e4)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) reorder breaking
(cherry picked from commit 4e4cdddc5549caa62629955b3803fcf808219c2e)
address rome-user review
(cherry picked from commit 8791fe88b1653ce536ba0596b2defcc6d80fbff1)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) reword breaking
- removed the section about the changed themes: it is an internal
detail and redundant with the above warning regarding themes &
templates
(cherry picked from commit b34e9a7b19e445639144a4cd5371ae23cf0dc77d)
[DOCS] RELEASE-NOTES: 1.20.0 (squash) minor rewording
The CI & Actions sections were grouped together.
(cherry picked from commit ed236e1ee89eeecfaee28fe44e738dc2d96592b3)
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash)
(cherry picked from commit 3c11eb1de542e2c56446108aec9b3b4d3cb8c117)
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) Forgejo features/optimizations
(cherry picked from commit c516fd0c7a8251420b5fdbc1e27083ae8a552560)
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) fix typo in Alpine version
(cherry picked from commit 1c2a5b516203db744364387e6d5673c65341f8ac)
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) comment out obsoleted queue keys
(cherry picked from commit 8c0d9459c5e1fde85bb6e728e53ce137a87dd69d)
[DOCS] RELEASE-NOTES: 1.20.1-0 (squash) WORK_PATH breaking change
(cherry picked from commit f4ea3b27f51fb2ecfb9d08bb3547fea067afa766)
(cherry picked from commit 0557568f613fe072df32c1620bb7e0e060bdd71a)
[DOCS] RELEASE-NOTES.md (squash) obsolete queue `app.ini` keys
(cherry picked from commit e0c943ac3bbd7779c56e77225829eb3ce46b6c93)
[DOCS] RELEASE-NOTES.md (squash) v1.20.2-0
(cherry picked from commit f2c654d1c8f0ed983db7374936962753f430523b)
[DOCS] RELEASE-NOTES.md (squash) fix LFS issue link
(cherry picked from commit 2461355f2a372229b41a2326ac50bfc7c26a3244)
(cherry picked from commit 750652d75ab408736a2b3be77404163087f98a4e)
(cherry picked from commit 6899dbdc118da8cbae2f986f1601ae228926c4e5)
(cherry picked from commit 88b988d08447d46010e885f703c3890c252e200e)
[DOCS] RELEASE-NOTES.md (squash) v1.20.3-0
(cherry picked from commit d566e78d68e79af56a1ed40e25e95f8ad612790c)
(cherry picked from commit 65439eafa43683b304606a06b7c1bbed6f2bdbe9)
(cherry picked from commit a76cc5b8bcbcefc7a54ee9b0381dcb54cb3fe5bf)
(cherry picked from commit b4e1ad6020ccb107da6e005af3a1bf182d735930)
[DOCS] RELEASE-NOTES.md (squash) v1.20.4-0
(cherry picked from commit 8a910c0c339faa59d46a6d838b5614b6f04a5e61)
[DOCS] RELEASE-NOTES.md (squash) link to upgrade docs
Refs: https://codeberg.org/forgejo/forgejo/issues/1199
(cherry picked from commit d4e9030873d2a3ae6dd379837aa1026a30a50aa2)
(cherry picked from commit 7da7b9cef4711fab8a35e477743b6fdc8cce70ce)
(cherry picked from commit 73b64ea8959ec6f5fd6be666d47b546cc523d9cf)
[DOCS] RELEASE-NOTES.md (squash) v1.20.4-1
[DOCS] RELEASE-NOTES.md (squash) v1.21.0-0
(cherry picked from commit e618ea55a54f5cfbd593f8c06be5d94bc0ba69ef)
(cherry picked from commit f3ee9864160ba4120f1fd10c0b4d4925970e4b1a)
[DOCS] RELEASE-NOTES.md (squash) 1.20.5-0
(cherry picked from commit ce5541c78b42cfd441f4af7db004a3fa3af493b5)
[DOCS] RELEASE-NOTES.md (squash) 1.20.5-0 is a security release
(cherry picked from commit 5dd66c06e3aa24d355f0cba7a24ecd6ec43b2021)
slug of the blog post changed
(cherry picked from commit fc5b52049f8f2e2271ef41a633efe3b7f04d05e7)
apply caesar rewording suggestions
(cherry picked from commit 59e9648b7114121fca92c0ba5eb92272b1c45643)
[DOCS] RELEASE-NOTES.md (squash) typo
(cherry picked from commit e8daead2a16303d59d33d0287427cf0428fa8453)
(cherry picked from commit 8af0a2007df9f08c71c79cbb1a55d03fbf499dfa)
(cherry picked from commit 329a04e094b4981d29d0c2e989bb24c77212229b)
(cherry picked from commit 216a62de3093b7bb0f7f163292acd682e933ca49)
(cherry picked from commit 855440d4b3634b99bd164cd1aa7bb70151f465d2)
(cherry picked from commit 6cb87ca0fe)
(cherry picked from commit d2bf04bfa3)
[DOCS] RELEASE-NOTES.md (squash) v1.21.0-0
[DOCS] RELEASE-NOTES.md (squash) v1.21.0-0 new features (UI split)
[DOCS] RELEASE-NOTES.md (squash) v1.21.0-0 complete release notes.
(cherry picked from commit cd0fbfc8ede694b41b1c8672a0f47a8aaaae473b)
RSA keylength 3072 is a breaking change
(cherry picked from commit ac6defb51595d571904ab9e558353ba9bf649836)
new features chroma update from 2.7.0 to 2.9.1
(cherry picked from commit ffd249070aa7f0d563b5d0de65791be4f45b9813)
new features go-enry/linguist update from v7.25.0 to v7.27.0
go-enry 2.8.6
(cherry picked from commit 1e72c0608f64123ac03d1a5b955511ad2cfaa50f)
add links to documentation for new features
(cherry picked from commit ab0ff5d2d03ba582fc5cd72090f985ceb8024ebb)
v1.21.0-9 will be the release number
(cherry picked from commit afed47fa40b853be74b679ce25510fbf2234d0a2)
links to go-enry & chroma releases to measure the gap
(cherry picked from commit deb7645550d526fe523c5fbd894c9160c8aa76b8)
[DOCS] RELEASE-NOTES.md (squash) v1.20.5-1
(cherry picked from commit ab1556628deaa39bd6d1779529702ad3531d8edf)
proofread
(cherry picked from commit fd672635b22ab25d05d3cd74dd7c956e2768c6c4)
[DOCS] RELEASE-NOTES.md (squash) v1.20.6-0
(cherry picked from commit 90ddda34135f5672eb30639afe44c09753a0129d)
[DOCS] RELEASE-NOTES.md (squash) v1.21.1-0
(cherry picked from commit 079d4fdca16f3b642fccb2d927c89c2f6dd75b20)
[DOCS] RELEASE-NOTES.md (squash) v1.21.1-0
(cherry picked from commit f3d15ef97c565fe0b75f3359e1a208e649aa8cd2)
(cherry picked from commit 881b438f2d1fa57ed18e41b1cd2c1cd9e4f094f8)
(cherry picked from commit 6080cf05c921ba77530cecee0fc113a43e1ac07b)
[DOCS] RELEASE-NOTES.md (squash) v1.21.2-0
(cherry picked from commit 9f4ca4cdf99a2c192f1541f1a982f86545c93514)
[DOCS] RELEASE-NOTES.md (squash) v1.21.2-0
(cherry picked from commit 363477855e11eca01d05d2e677281365d3f9431e)
[DOCS] RELEASE-NOTES.md (squash) move customized files
make it more prominently visible
(cherry picked from commit 6c992b5d93820058087355bb973457e026d56a04)
[DOCS] RELEASE-NOTES.md (squash) API pull/issue breaking change
(cherry picked from commit a8cbc2deb85fdf5b7fd51ac006e98bcc5a2a8685)
(cherry picked from commit 58657fff8600a0612d770bfd754b6e6f627af82f)
(cherry picked from commit ecf8b1531ba86fe76c71148b8fd872c196a0fcab)
[DOCS] RELEASE-NOTES.md (squash) v1.21.2-1
(cherry picked from commit 1d24c09f4977e43f002f591db0183236160344d6)
[DOCS] RELEASE-NOTES.md (squash) v1.20.6-1
(cherry picked from commit 8821315c337d37672ee7aa16c026aa53e3a428fb)
[DOCS] RELEASE-NOTES.md (squash) v1.20.6-1 reorder
(cherry picked from commit 9159916fa19d538ae23b7c93db226f4e90acc6cb)
(cherry picked from commit 165099c0c6f915fb147848faced2519fd155d08b)
[DOCS] RELEASE-NOTES.md (squash) v1.21.3-0
(cherry picked from commit 5e1d37b76ce9c20cc6f6db42292c3e938a1f15f8)
[DOCS] RELEASE-NOTES.md (squash) v1.21.3-0
Reword the security fix description.
(cherry picked from commit 142bed073d3aed71c8d002be98056163912be267)
(cherry picked from commit cff9b5db4aa75e9fb28d349a8d90b8ed910e62d2)
[DOCS] RELEASE-NOTES (squash) mention addition of `auth-required` in Cargo registry
I'm including this under bug fixes even though it was labelled as an
enhancement upstream because stabilization of private registry
authentication predates the introduction of this change. Feel free to
change the category if you don't think this assessment is appropriate.
Refs: https://codeberg.org/forgejo/forgejo/pulls/2038
(cherry picked from commit 1057df6db53faf61f38714f6d7b39d41718334d0)
(cherry picked from commit 566c32bdf6be42d0874b64ce73a36c3316ab5f82)
(cherry picked from commit 45f5657cdc8d031f7cc859dd49fca828e987097e)
It is for instance useful with:
GOLANGCI_LINT_ARGS="--concurrency $(expr $(nproc) / 2)" make lint-backend
on a laptop where overcommitting the CPU degrades the UI performances.
(cherry picked from commit 76023319c4275645b9c8c3bd896c1e60e1d57ae7)
(cherry picked from commit 55eb05b03db15355745af83e612406baccc2b126)
(cherry picked from commit 49c84de3dff883c89a3c0115ab7e0a06aad7bb45)
(cherry picked from commit e8e26f08a6f31fc68797d6e0a927e75565abc350)
(cherry picked from commit 401aa12cac3ad50ffa21c5e141d72e1d7cfd45ff)
(cherry picked from commit 4ae8f663ad287269e1dc8bee19b3edcf41a431f8)
(cherry picked from commit 2d87e4953b93204d2da530315e03bf311cd22e10)
(cherry picked from commit e79be7d80e24effa110d4752525ab704ab6b16c0)
(cherry picked from commit 65e367399867e13a9565e2553901be60036e27d8)
(cherry picked from commit 54e5a5dca2)
(cherry picked from commit 99e8725e68)
(cherry picked from commit c2048b352f955978bd8caa67f606cd0d8431b791)
(cherry picked from commit ad142d18a8326c147b076e058cdd2a637f2ef80a)
(cherry picked from commit 489d42770e1224b20a0b815be31a13bfe4e03a7f)
(cherry picked from commit 2de9069ed409071f423b3c6a4032cdc8dbb2be2b)
(cherry picked from commit 782d8ef6df8b02086ab0486ab0cfcc5b62b4d7ce)
(cherry picked from commit 2068b26cd93bcec3f99af3bafcb3c7cd6a71ca15)
(cherry picked from commit 1857f062dd1423d279a619a2588bc1b41a512f74)
(cherry picked from commit 9dd224f00c)
(cherry picked from commit 710af007bccb62c65dd51ae46c77a297c0c58e43)
(cherry picked from commit 2ccd6e2bd60dbc829b98b75daef3b1360cd708e7)
(cherry picked from commit b90dc5fc4f90b7a916348378a089a9d54b23ce60)
(cherry picked from commit bf25d98a981800979073be008d254bfe0efe58bf)
(cherry picked from commit d7c71e598540ffe7586e99d0c9a8af53b564e5df)
[WORKFLOW] Add Forgejo Next and reproducing to issue template
(cherry picked from commit 17a3988fe09125755148380bc906f369b45b9764)
(cherry picked from commit 9ee5b3a619591143bb00bc26ec01fb350f2a0dfa)
(cherry picked from commit bebdd8d5f31cfab4e9fbe90d453305d264a99479)
(cherry picked from commit be7bb96d5c2303dbda5999ac20d32559e2085eed)
(cherry picked from commit 4ae659d63a095dacd01de798db83a8817a97dbf9)
(cherry picked from commit 82426f376d13d38c39364edfc58bf675cfd6918b)
(cherry picked from commit 1cb28e36712554961f16d912a443f86f535b3f42)
(cherry picked from commit c6a2db94c4b7861319fc63bc5e9304b2d4e61a22)
(cherry picked from commit 90d3eb2d1303dfd126c77721c1f3013b7da12db0)
(cherry picked from commit 3c3e656f582a0b3fdc8106ee7a30b4b3eb0b7c64)
(cherry picked from commit 54ece82417)
(cherry picked from commit 55a042485a4c1d00ddddfb156c8db995af8b4819)
(cherry picked from commit 4e984aeba6e27fe86d11bebeffd5922bbdb7e7be)
(cherry picked from commit 52ea3f32b6f015e97ae84770d7254edcb1ff47d0)
(cherry picked from commit 00b0d0621efd3be8078d2dc9f0924f6ea16dd756)
(cherry picked from commit dc4acfa6db3cf9cce5cbf71cbda139541ca4b3d8)
(cherry picked from commit 0d26574fe3759057b66c43a64302a8f9c11ff17e)
(cherry picked from commit 81acdf5a84a9151b60977b5ca48018ea7ac739c3)
(cherry picked from commit bcb063e157a3fd9d58777f381b7fb894c4fb7149)
(cherry picked from commit 3e3bd36e6d526e53cdca3edd4da024efa351bf8e)
(cherry picked from commit 7767bafbffea48f1c1f06a7feefdbd72ba203496)
(cherry picked from commit c98e1afb4ccfaef14976b27304c07a3b5de5e6fb)
(cherry picked from commit 8ebc60b9495b6e7e4823f13880ae4582ee52281f)
(cherry picked from commit 59555d146e6a52aead047302a2affd5b73616e4a)
(cherry picked from commit 8ec25e8838b96aa4af135113663b8b4d28f5b8bf)
(cherry picked from commit 6e568c70d75a7aef7d64acc66991cae3cb26e378)
(cherry picked from commit 5a36052803d92ce51e3855889bb438e1ac0c7c7d)
(cherry picked from commit c7e6dc6b13b6d25f4c72a08f3e42fe931e309ec2)
(cherry picked from commit 005557f7ef4eb4ae14a8b454efab8b262c012e34)
(cherry picked from commit c643b2ef5879438d806cb93e244a1d8635408e3d)
(cherry picked from commit 8533627ee4ca96c43444f5962533a5a04ccfaddb)
(cherry picked from commit a9ce3d681cf2bb5c5e7d0dffb2635a5d43e65d76)
(cherry picked from commit e5efb10515)
(cherry picked from commit b0d00464ef)
(cherry picked from commit f54c25fa7d7b7752dcb46d0ec1138074256827af)
(cherry picked from commit b686249a4a41d35dfddb69087f42664c14fd3599)
(cherry picked from commit a55bc0abd37ed234eece6be333ceaff6fcec4626)
(cherry picked from commit bcb5e3480275799d5b6dc7af961a010fc1e5907c)
(cherry picked from commit e40a2d3e1542afba443cf671d84377d5eb0ef817)
(cherry picked from commit 412ef602c91b0c940947ba4274865c7bc9f70ae5)
(cherry picked from commit 536922186de8d43cf59202b2eec7df2c868eebef)
(cherry picked from commit a47b474586)
(cherry picked from commit 2fcc61c1d929380884dd9aeb143c202a2be0eef9)
(cherry picked from commit 67debe2247c83753173efba53c60845f522857b5)
(cherry picked from commit b90ffbb309bc76968588a024d2ced081989295ea)
(cherry picked from commit 07a744814855a8bcb8d196c6c31f9bde7cfcf249)
(cherry picked from commit a7fe270c08c25e6db42c32019b4a1a0720a57ec1)
(cherry picked from commit 2f15389a9cafa00001c84396a1a88a14c3250e5c)
(cherry picked from commit 16ba587f5dbbfa36398ca55e5210e5233211e224)
(cherry picked from commit 683a23b2ca29f3638a2bd703dad567ae2896f261)
(cherry picked from commit 3e5de3f656fa769317bf1cd1e508682f89e90000)
(cherry picked from commit 5789005c4355f9d6b76a2288376b3b45a7939ba0)
(cherry picked from commit 75c0f11079bc1e376b55186c4994bea71a54cd15)
(cherry picked from commit e78a272e111066950ad5a365e504e1aacb4de5b7)
(cherry picked from commit 464a534a3a712111b5578523bb657cd36cb10f64)
(cherry picked from commit 7c0b73ca6fc28696fd580d7f858f8d814436e9a6)
(cherry picked from commit e66b8edbc6)
(cherry picked from commit a91864340d75d16e6afce18e7e5b974cfae8719f)
(cherry picked from commit 504905bc882ad075f821fb4fcd86560191bdada9)
(cherry picked from commit 650137433f44d65570947c8dbad6fb51b18f8a68)
(cherry picked from commit 3e00bdaf2a2d47d168108cd130829d6d864fa4b4)
(cherry picked from commit 43efcc1a29449c802b18a09387af67c24e71b189)
(cherry picked from commit 4984ba13c57fdade1a5744713c98a60e650a5b9a)
(cherry picked from commit 02b7928710ad9446b93598801dff0afae828136a)
(cherry picked from commit 0db0feaee25187bcd4c28c9e66d3d0eabaad7a8d)
(cherry picked from commit 94d141bc7f488ab0e6512218cac409b63cf83700)
(cherry picked from commit 392fb1589178338b8285df7b348754e79611590e)
(cherry picked from commit c5699a7bb71962321b131c9ac4413f8710de0d56)
(cherry picked from commit b975597a781c745463d9db80a220733d99a12e28)
(cherry picked from commit 5395e74d72285490f25067c8ac72899a3e23f3e7)
(cherry picked from commit bc8060dee4355667680dab8935a7abd504ceefbd)
(cherry picked from commit 3b64f1477a50319c3dbf638c89ef04dbd2fc12af)
(cherry picked from commit d40378e1c767194b2207d359378a976f1f0c9090)
(cherry picked from commit a713f7e3f9f6f8231d2cba82833d8eabec8b0dd4)
(cherry picked from commit 87f65ccf78eb19e573971c8c16a76f60d610a5d5)
(cherry picked from commit 049ea571a90853cb9bc1ce054313055884f76513)
(cherry picked from commit 433d1d7baae7e72b32b8d2febdf0bf01d925bbf3)
(cherry picked from commit 21bed2af1de216304dac33c33865bb70e31e416d)
(cherry picked from commit fe700ca401)
(cherry picked from commit 2f5c0479a9)
(cherry picked from commit f7afcdba8a4fb1e6f60ec3c2d6ffb256d6f3413f)
(cherry picked from commit 323e99d9f5c2526b332748da2802c3b5d4f54bc7)
(cherry picked from commit aa6a3edf2f0de500c417b1a82c804fe74ef46757)
(cherry picked from commit 754a8b4b305e3f6656ada4898ed0eaa987cfc7c8)
(cherry picked from commit 52f173647a77a9ed4252472618cbcfa74254618a)
(cherry picked from commit 559dcf0ccf96f0562f9015e692de56747eaa30f1)
(cherry picked from commit 393f09eaf9e31dd6471623f21eb1cba0070ef325)
Refs: https://codeberg.org/forgejo/forgejo/issues/8
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/153
Refs: https://codeberg.org/forgejo/forgejo/issues/123
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/299
(cherry picked from commit 08dcef0c8cc9cdf5d786a925f18c1ec0cf3364da)
[DOCS] CONTRIBUTING/RELEASE: https://forgejo.org/docs/admin
Because the version is not displayed on the landing page of Forgejo,
there cannot be a link to a versionned documentation. There must exist
a link that points to the latest version on the website for the
forgejo instance to display.
Better but more complicated approaches could be to:
* Embed the documentation in Forgejo
* Allow the admin to not display the help
* Allow the admin to display a versionned help or not
(cherry picked from commit 83cc38923935dcc7edca22756d6fc10988a58540)
(cherry picked from commit 5df52b8a4f6ebd184999a19dd10138a8e3980869)
(cherry picked from commit 9a66b3d70b6e7d2a3ee146d3708d48d8f9bfe305)
[DOCS] CONTRIBUTING/RELEASE: reminder to update FORGEJO_VERSION
(cherry picked from commit 2a4d0bd164e55fc981d9437d8220a9c1e00ca59b)
(cherry picked from commit d68576ba6762f4af2ed8133fe123fa84c136a90c)
[DOCS] CONTRIBUTING: updates
* Remove obsolete description of the well being & moderation team and
replace them with a link to the moderation email.
* Remove description of the governance process and replace with a link
to the governance readme that did not exist at the time.
* Add links to the Forgejo documentation
(cherry picked from commit df749da27225ee13b5e00b689b397b24afebd044)
(cherry picked from commit 4da39128c50e5e754f1404a5b79669a8218344be)
(cherry picked from commit f442ca6f4032bbd61185e488e5a513f4e4264559)
(cherry picked from commit 031928c447e4cbc293de03f6befbba05691810fc)
(cherry picked from commit 1e6ba47216f8cab267f555eb488f4e80ef503fcf)
(cherry picked from commit 8916a1f8c6358a85c2484a465a73a5d657fcb048)
(cherry picked from commit 663e28c41247e98b34cbd6cd32ce1b891f386989)
(cherry picked from commit d56b130baaa4dd13bc64f2f149753b7a2e40ae01)
[DOCS] CONTRIBUTING (squash)
(cherry picked from commit 0dc4b6e5c93e1abc1502149603839ebe30ab4e5a)
(cherry picked from commit 52f2163807abc5dcb35ebee32f695368be720105)
(cherry picked from commit 47d0ae3e10385b7568474c4f3cae1eb79961838b)
(cherry picked from commit 7757a5c34c)
(cherry picked from commit 5b4d25bd037d9142fe274bfdeb6ac43cf371ae95)
(cherry picked from commit 78798cc25e90200474cb1051f97a97e2d8091568)
(cherry picked from commit 3001fb8c7b3eecd6935b3c66f87981d77c0c64d9)
(cherry picked from commit da27bf1bc5a3a4ee9b9bcbd34a9d81d503410de8)
(cherry picked from commit 2fb13da8ed918fce8cc3a4471aefaba78836ffa5)
(cherry picked from commit ea19e0efb33710f36cf2ca300424eca7301922a5)
[DOCS] Add link to build instructions in CONTRIBUTING.md
(cherry picked from commit 50d86aa4ad740938e6089fc7ebde231653da7f9e)
Replace 'v1.20' with 'next'
(cherry picked from commit 3e99f49fc5a9c104f2656a330d497c92368994fc)
(cherry picked from commit f5c89e88cfe05b4ecc753674a24284b2a2af634c)
(cherry picked from commit 8e70433dac072af935676dc42f41b1ef66a0eedd)
(cherry picked from commit 31cc99588c0d456beb0b8493f919b06df3782371)
fixes 404 links in CONTRIBUTING.md
(cherry picked from commit b7326919ab20feaf5650cfb8d284dc074b835e62)
(cherry picked from commit cd88e7d177101a9e3be9ef8c19f1220115ae3851)
(cherry picked from commit 09d33f2050aafe9ffdd8412b1eacdd8aa172dfd1)
(cherry picked from commit 8ea49fc0c7b693ae348738f63a8a6e82fbfeebdc)
(cherry picked from commit a434c76f4b30a376643e3716d14bd0514e9af364)
(cherry picked from commit c61e1b879717406586ea7c60d5fdea6782637e86)
(cherry picked from commit 1ce9dc9defc22837dedfb52f0e8fbf78719204c8)
(cherry picked from commit a90927d0b1b57f06625ef53c2860617f67608b92)
(cherry picked from commit 17ca38d29a63d691817a09d3c53dc29ce1b8d0e2)
(cherry picked from commit 70986dddc958c284a55eca2b8a758d2030a9aebe)
(cherry picked from commit 667b4e740734bbb69438021d6813249d65392fb1)
(cherry picked from commit dd3a3807780d1125c0b2ab2b47349577ca0073ca)
(cherry picked from commit a22b8979e5882a58fcb369408b505d031f491589)
(cherry picked from commit 87d1125ad0)
(cherry picked from commit df6ebcc40b)
(cherry picked from commit 9bac1dbf63c35a40e593e29c7a98e889fce6c3fb)
(cherry picked from commit dc5e1998b31c5acf342164f4723c417d4ad5dc14)
(cherry picked from commit 4c4878477edb8fa2653b94192a3980062d188140)
(cherry picked from commit 9adf97d004f412aeb1e25cf3a63f4509c54b6ba5)
(cherry picked from commit 3993bd23c4284766f04c4ace09cc4e92df59cdaa)
(cherry picked from commit 1e04d81657005b47cdb11d93006cd174b6b86f2c)
(cherry picked from commit 2aa2ff63f0ff09c7a048d415e7940dda16b2c373)
Although it would be possible to modify these files, it would create
conflicts when rebasing. Instead, this commit removes them entirely
and another commit can start from scratch, borrowing content from the
original files.
The drawback of this approach is that some content updates from Gitea
that also need updating in Forgejo will have to be copy/pasted
instead of being merged.
(cherry picked from commit eb85782115)
(cherry picked from commit 34401f2004445f225a479b8258180f498ac87847)
(cherry picked from commit ef43b1c6910a01a5f9dbd054e23372f6f17f4d9e)
(cherry picked from commit d17fe25e2f915e778eb968c20939dc253f47bcd5)
(cherry picked from commit 3f65dea3e7a5d0983d96d7011385125bd0063ff1)
(cherry picked from commit 3cacb64a1bae713467d3d9b7ebfe626930f2bd35)
(cherry picked from commit b531b014b751233b46e3220c25108fe95531621b)
(cherry picked from commit adf6e7a840c7f7201eddec3ab2b305200b19fc43)
(cherry picked from commit 68c19d977d6aa8e8eb5714f5915b6557379887c0)
(cherry picked from commit 31aa8647ecaf91704652e149fb5d0e891645412d)
(cherry picked from commit be70dd7208c2b40842cb83affa77f6d15ac4d840)
(cherry picked from commit 7f44bb60b16843b0e127a7e5fc89736a1d35d145)
(cherry picked from commit 5098f1224b10ac7b35c1d4c9ece8fbd066a616e8)
(cherry picked from commit dc7a8591442772f9801bfff7a77f1c8806bedb5c)
(cherry picked from commit f1e78dd0067f8d0e9a6ea4dc292ebebdb8b8bcda)
(cherry picked from commit c41ba7a148)
(cherry picked from commit f1da66a918a68237894e220d206a5e0251ec85d0)
(cherry picked from commit 99194a3664dc94296f7e1397be45b6fde9e3e718)
(cherry picked from commit 52f356f6a9dbbbd4e2c68fde99f7c35a3e6f2bd0)
(cherry picked from commit c93ffa72ae35bbdc6cc470823648a1aed0185b5d)
(cherry picked from commit 477c7454d39e813e2bc5107bf84105060acfe743)
(cherry picked from commit 413df23a407547b1a0d480185be9efc388b464eb)
[DOCS] delete Gitea specific files that need rewriting for Forgejo (squash)
(cherry picked from commit df78cedd053e624bcc30b048eac9d6ab10ff5749)
(cherry picked from commit 3b9178b3e5ee1aedff79a6ff5b62fb700f480682)
(cherry picked from commit 9044dcb0e7bb410bbc8a83c8d3610fa6c8355e25)
(cherry picked from commit e138685bacc14138aad46bea2756dc4f6d6b46c0)
(cherry picked from commit 2f1f3fd6b8a7b054bf854ea94ef91c8f87bce996)
(cherry picked from commit 0b47d02df6c93129d825aa1b9d3f481b6cf7f505)
(cherry picked from commit 7625ca6c42b6a333e3a2e25dd3df2744a4180e32)
(cherry picked from commit e0d720a728cf24eaeb1416ac1c5b8de6655ccd44)
(cherry picked from commit 19aa974d120fe5ade8436e5ea0fab6a83f1b9db1)
(cherry picked from commit bb637d398cb02e2d0059a1e7660b88bfe87e3315)
(cherry picked from commit 5357fc952d29b5f38ad95b3c94fca22e16217578)
(cherry picked from commit bee03950445384c4d985617793175bb7b27810a1)
(cherry picked from commit 5e574bfc8f761ad631aaadda6fa4c44ac826153b)
(cherry picked from commit 9593225c5bfbf0ac5cddd62359c812b755995397)
(cherry picked from commit f6e5faee613947755c85807ab6b06fe8008aed9b)
(cherry picked from commit 02f2a9a47a9084a6218d67f773d474febbb5fa54)
(cherry picked from commit 68695685c1)
(cherry picked from commit 9ae53997a4)
(cherry picked from commit d87a6b4908290fb16188042048b50718bbe383ea)
(cherry picked from commit 891b628aa19efff43ad18dd45983887802e84e10)
(cherry picked from commit 0b290c23ea14d960732872cbf5c91177ddce11cc)
(cherry picked from commit 9cfae4f0aa4bf3b3175f64f93d3e5c66e785db56)
(cherry picked from commit bd811bcc18784f57840d6cae502e125770025c19)
(cherry picked from commit cf89915013cf0ef65065c191968b628a2a735729)
(cherry picked from commit 7a519b8ba4acc5ad47b59ff7cab67b1b3d08ae9c)
Refs: https://codeberg.org/forgejo/forgejo/issues/2051
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2053
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
(cherry picked from commit 01abf4d505b092886ed22cdb903ec834061cd7d6)
[CI] Forgejo Actions based release process (squash) no ownca
The private Forgejo instance trusted with the release signing keys no
longer requires the installation of the ownca certificate authority.
Refs: https://codeberg.org/forgejo/docs/pulls/338
(cherry picked from commit 72f9ae796d7d7328e87129485e83251708f3d2fb)
(cherry picked from commit b0ca4236d76bcc24dfeecba54b602af542355c7d)
(cherry picked from commit 81619cf8b5e1650eeb8cb315ee7fa70d0c2d82ba)
(cherry picked from commit ded1f27ebbae7e5e09973ce15551827cff4a00d1)
(cherry picked from commit e452b184557bf170688ca042b3a01af7a233d2ed)
[CI] upload the forgejo under test as an artifact for end-to-end (squash) use forgejo-pr
cascade a PR to https://code.forgejo.org/forgejo/end-to-end on the
forgejo-pr branch which will only run end-to-end tests relevant to a
Forgejo PR and not the entire end-to-end suite.
(cherry picked from commit 011de92174ad29ee9b3b72d5c845b52ef229f66f)
(cherry picked from commit 50290011b255e2a548ed1ef608af947cfc557288)
[CI] upload the forgejo under test as an artifact for end-to-end (squash) after build
(cherry picked from commit ba35f42e3d1d4ca0132d3edd09c4647940cf5e17)
(cherry picked from commit ddf43faecb9a833137dbbb783fddf0b4765b0e87)
[CI] upload the forgejo under test as an artifact for end-to-end (squash) do not display env
(cherry picked from commit d186ec3db49d8a23d4eb6328e6393c107b166a79)
(cherry picked from commit 20e9d4bffb90260dc9699db81ccdd23dd695f8da)
[CI] upload the forgejo under test as an artifact for end-to-end (squash) merge feature branches
(cherry picked from commit 83cd7a3ad992202c02510e807bdea0f1ab865461)
(cherry picked from commit 75fd819ee5161ad9591fe95744e538d805dfb9bb)
(cherry picked from commit c6d021692951b1b2dc1209422df766becaa8fe22)
(cherry picked from commit 4a0ee31376ce60f498a0844e0aa4dd5f5bf321a4)
(cherry picked from commit 074f49937ebd87078bfb9a057dec1e30c9b116a7)
(cherry picked from commit 0c1c7d61e216003803fddfed66f11a090bb477d1)
(cherry picked from commit 4e4dc0e0e4071bfcf130bd2d99a016f7b5648c88)
(cherry picked from commit 95dcd5a91adb671dbb9b2039d3160624cb83e6aa)
(cherry picked from commit 34513098e557b07c51f8b98e909137ed9d4e0598)
(cherry picked from commit a87a48acfb2ba8e5d5379598bd7de83c7891732f)
(cherry picked from commit 21db8f4950f2f3eab270b6c51932213a8a84ee0c)
(cherry picked from commit eb0a7e5093e314271cfe889ab1cdc814663de682)
- Currently the collected coverage is not being used by the CI, so use
the non-coverage variant to not have the overhead of collecting
coverage.
(cherry picked from commit 9b3032c14b968933b0cc5bdad6e68cf582d01958)
(cherry picked from commit b0fded409d958b19cda827cff5d112bb1057a0f7)
(cherry picked from commit 14b5efb1c48cd07c0dab6eea17e1e27ed780c168)
(cherry picked from commit 30bd28eed315a31ce45c2efdc49600fc22021526)
(cherry picked from commit 54bb708ce7bb6f00a8b29c7a3b8a81d4d195d128)
(cherry picked from commit f1664c360b9afca8c392807f93bfeb558985a26a)
(cherry picked from commit 5e418789d930ef8dc27bc5cb32f96350f5d64e06)
(cherry picked from commit 3af6fd2ad38bfbe98ad72e20257704bced7988fa)
(cherry picked from commit 6926787d67778f2a3bb2c9d79137a74b894e8b7d)
(cherry picked from commit fe58e86a97d4ab0017908a55a9a1f240e241e3f8)
(cherry picked from commit 5bf7ead6255889b5cc4ae81c3ce52d6d09e0aef3)
(cherry picked from commit 44480ea79426581df15242d6ee7222be97709268)
(cherry picked from commit 813848cebe61752568b9c28b9e912170e70bffb8)
(cherry picked from commit 9c8d889e782ccaf3b3e71bd3abdc0777b2fd5cf5)
(cherry picked from commit 914b1dcaf6d71354fd66c8c81121ad1f3e251e46)
(cherry picked from commit 5449933efa74474273d882e7eb7c7840cc2990b0)
(cherry picked from commit 67f007b8244c827bf9a9597834c8657440ce89f9)
(cherry picked from commit cf93863cd2)
(cherry picked from commit 82177a0f66)
(cherry picked from commit 3ef1fe468ac20e609b20eb7e93ed8cc2356c130a)
(cherry picked from commit 305c935508cec1d4d41bac897c77f0ab80c51a7a)
(cherry picked from commit 268f12c53c60d46372d448af7d5ce8cef3998d21)
(cherry picked from commit 2e6c29fb2f5a3cb800b4d5881de8861f34b29fcb)
(cherry picked from commit 173aa4b3b1823f4b1cf9f1e4b4c0cc7c8c07b470)
(cherry picked from commit 9112b323d18317f0cf542fdbd98868a4f8382982)
(cherry picked from commit 54031769ee355b4888aa4128df822ab154e4ee50)
(cherry picked from commit 16381262c5231f5dddf94d3dac7274366f4ca991)
(cherry picked from commit c93f41dcef679f35cb51f93b34b21cfd202ed68a)
(cherry picked from commit cf17c69487cd5ad9e5338d6dadd49c208d604ca1)
(cherry picked from commit 174b8cf3275cfb4efd483b04ad6cb6eaca069030)
(cherry picked from commit ae1b8dd441b9902b098620dbbf4e88592460f91e)
(cherry picked from commit 1b56d9049f2954b852fea1ae6e0c52076fdb4a0c)
(cherry picked from commit 6b00196175db59d2c6b71a8aa01308265c92f26c)
(cherry picked from commit 087b38c3f381cd589ccc708df102cf1594c09912)
(cherry picked from commit 70fcc63816e57f277293b10a23777c4ad796e212)
(cherry picked from commit 81e2f27426ec91c0a9ab7dd6f0eed11e360beb56)
(cherry picked from commit 9741a9960b6bef27e36e679764cfa63b5cb7066b)
(cherry picked from commit 0625fc7ad8)
(cherry picked from commit e7758aaa94)
(cherry picked from commit be254326876508aa6c333cd22cd25a0198d2f5cd)
(cherry picked from commit 64c6d2f26327883af5b61e5436d38070de61f2fa)
(cherry picked from commit 3445ae53e3bbda1db229ae849b893657fb6ec268)
(cherry picked from commit 3e359ef3cde62848bcc7f12b792baf731359ea10)
(cherry picked from commit 3c44026cc5169bd728d1f60dd3b37ffdb6adecf0)
(cherry picked from commit 9528250188f6a50bfc728174e491cdbb6859029d)
(cherry picked from commit 840a307a2541d2747a5fa7371febf07600463547)
(cherry picked from commit 8cbbab7fefa62c66faba72d6f8ddcec33c5e6423)
(cherry picked from commit 51113f0f29e2e7f9281ea568b8acddf6c26accb0)
(cherry picked from commit 0d061e411f60bb4533460e1558646cdbc6a45aae)
(cherry picked from commit 1eb4e7e691bf496b152916e11b991b16786752e2)
(cherry picked from commit 3c3760f3b608303cc11e1cc3fea574e8166aeddc)
(cherry picked from commit c11907373dfb8df7f974c726f46aee20727a9d3e)
(cherry picked from commit d990fcf4469df8a4edede97e2c0980536ca98d86)
(cherry picked from commit 62fd8a0b399802ca76bee0140f35357b2ddfd762)
(cherry picked from commit 0663a2534101c0c6ed2fefd2eb84ce7f89bea4af)
(cherry picked from commit c20d4386e530b56d9342a1403c682e86b5d25ada)
(cherry picked from commit 5981040a197e002e6235194e92f4bad140572b49)
(cherry picked from commit b62809313f)
(cherry picked from commit 205512ef96)
(cherry picked from commit 8b923cf770cbeaf113c509cacda859760c60ce0f)
(cherry picked from commit bdc50fff48717c6597fe82cd3cb822b640dbb0a8)
(cherry picked from commit 35da9d23164ef235bbd41793ed16b749b1b98e73)
(cherry picked from commit f185ba6d03d99767f20d0df231eb27caf901a5a5)
(cherry picked from commit dfe5502f566ec4b41cf24d13e22995f3ed33cc2d)
(cherry picked from commit 193fd9bec794f8a15b6556b444e22c64ae604e8c)
(cherry picked from commit 1e3af954eef66dfc7277274ee21c202403f023b9)
Refs: https://codeberg.org/forgejo/website/pulls/230
(cherry picked from commit 87d56bf6c73d726dae8aafbc7e147969f1899931)
[CI] Forgejo Actions based release process (squash)
base64 -w0 to avoid wrapping when the doer name is long as it creates
a broken config.json
(cherry picked from commit 9efdc27e49bdfb3e62401baf27b224385f9f3e5e)
[CI] Forgejo Actions based release process (squash) generate .xz files and sources
Generate .xz files
Check .sha256
Generate the source tarbal
(cherry picked from commit 7afec520c4b1032d7e67a05a41e4e2913bcd9312)
[CI] Forgejo Actions based release process (squash) release notes
(cherry picked from commit d8f4f4807b28297b318d2f555a76d0efef762cf7)
[CI] Forgejo Actions based release process (squash) publish and sign release
(cherry picked from commit a52778c74785fe57cdee3b64b4c6c8a326471532)
(cherry picked from commit cf2ec6274094ac7aebda71d54c64581f528df00a)
[CI] Forgejo Actions based release process (squash) version
use Actions environment variables in Makefile (#25319) (#25318)
uses Actions variable to determine the version. But Forgejo builds
happen in a container where they are not available. Do not use them.
Also verify the version of the binary is as expected for sanity check.
(cherry picked from commit 6decf111a132a869f9e5c6f4d20e368b8f74309f)
(cherry picked from commit 206d0b3886b2d56b585bf552e53d952b35f07284)
[CI] read STORED_VERSION_FILE if available
(cherry picked from commit af74085ebf51c91a51db865a66667fca511838d5)
[CI] backward compatible executable compilation
Add a new static-executable target to use in Dockerfiles and restore
the $(EXECUTABLE) target to what it was before to for backward
compatibility.
The release process now builds static executables instead of
dynamically linked ones which makes them more portable. It changes the
requirements at compile time and is not backward compatible. In
particular it may break packaging that rely on the target that
currently creates a dynamically linked executable.
(cherry picked from commit 84d02a174a4398b1f8ee62e08db5483a9859650f)
(cherry picked from commit 854be47328cc0283119dfb78f9ba0b8306c85f75)
[CI] Forgejo Actions based release process (squash) doc / ca / verbosity
- Document workflow
- Increase verbosity if VERBOSE=true
- Download the Certificate Authority if behind the VPN
(cherry picked from commit 168d5d586904835762d213b2b8815b458a38c78f)
(cherry picked from commit 8756c9a72a40830441124256b7382f900a1052f8)
(cherry picked from commit 2dad7ef20f3bf9ebe2425e2e28b66a4ca21c6786)
[CI] Forgejo Actions based release process (squash) add assets sources-tarbal
Refs: https://codeberg.org/forgejo/forgejo/issues/1115
(cherry picked from commit 5531d01f1981df665f5b8f642e9241e8ea4f4578)
[CI] Forgejo Actions based release process (squash) add assets sources-tarbal
bindata.go is a file, not a directory
Refs: https://codeberg.org/forgejo/forgejo/issues/1115
(cherry picked from commit bd88a4477817be34ea86ebb2f460b9fe8ab5f1b7)
(cherry picked from commit b408085138c578dfaacafbd4b7719ca926456855)
[CI] Forgejo Actions based release process (squash) public/assets moved
(cherry picked from commit d8c921d5a643ed05f2935348531996fe4d08c654)
(cherry picked from commit f29e50b1a09b1a22fc2dbdb77e9a1def1196175b)
[CI] Fix release notes link
- Use substitution to replace all dots with dashes.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1163
(cherry picked from commit 96783728f53a072915cace392aa269adfe9a5c73)
(cherry picked from commit c8d8bf8996beb650cd86cafb110e85e1e05917a0)
[CI] pin go v1.20 for testing
Refs: https://codeberg.org/forgejo/forgejo/issues/1228
(cherry picked from commit fd4b5a013ee0f31453b623d12001a8b810cd7ebc)
(cherry picked from commit 00bb15f57f2ae5a11abc8b044ed99dc949e812a7)
Conflicts:
Dockerfile
Dockerfile.rootless
see https://codeberg.org/forgejo/forgejo/pulls/1303
(cherry picked from commit 6e2be54a6d95412ce770d4bab1a39c77591f44dc)
(cherry picked from commit 346c418b4a8c0e1f8c9aace44b00373a4bf76732)
(cherry picked from commit 49061f8422cb6aa9ddc14edb507f50477624eb7a)
(cherry picked from commit 8229d59b7e1ba61959de6ecd95d9dd49bc2436dc)
(cherry picked from commit 70d45d919309d8127551c8ad44538a730b795638)
[CI] Forgejo Actions based release process (squash) need node 18
(cherry picked from commit 722b1f45902ecca3179a92700a2f5c1080422a04)
(cherry picked from commit a91d786169fb4694aed4af68792437a0a67de3fa)
[CI] Forgejo Actions based release process (squash) fix indentation
(cherry picked from commit fbdf9d6abb88fd5def3d0ced488a4dd72655d433)
(cherry picked from commit 2deff90a13397339796ac5a94d63b0d8cd9760a9)
(cherry picked from commit 5710a27fda58093f0db1605585e730c314b933f5)
[CI] Forgejo Actions based release process (squash) FQIN for docker
Refs: https://codeberg.org/forgejo/forgejo/issues/1600
(cherry picked from commit f63d38deb6a9933ce996a61a099f4b79e9171581)
[CI] Forgejo Actions based release process (squash) use forgejo-curl.sh
(cherry picked from commit c0c3ef506fa500cb9626034c5e00913b3c31e08c)
(cherry picked from commit 933ca7ec5dcab55c8593dee4a6cd13281502c41e)
Conflicts:
Dockerfile
Dockerfile.rootless
https://codeberg.org/forgejo/forgejo/pulls/1691
(cherry picked from commit 1068e48805de9d7464b41f32e1c5567d3747239a)
[CI] Forgejo Actions based release process (squash) size optimization
(cherry picked from commit 3c653ff7428dbf898a5131b5c817ce3b13ec0591)
(cherry picked from commit 398567fc0cf9edd0be49541339800af985e8b1b6)
(cherry picked from commit e585db9a97)
(cherry picked from commit 17e91c96e3)
[CI] Forgejo Actions based release process (squash) gitea to forgejo
(cherry picked from commit 9c06a318b867ea8c60dd194ca393bac3b718b07b)
(cherry picked from commit 95859da3b40306c1e07277230c2f401ef8b82a13)
(cherry picked from commit e3a5f6c1ed4e5452f3664aa8d398805c3b9c0a51)
(cherry picked from commit 7b9b259c75e0b2b805a2239ecf7c85a3f0dbd648)
(cherry picked from commit c4a152c8dc4ab5d20c72f9f7d60ce6eee3be5cda)
(cherry picked from commit b00bf599efa97a18adac134a1402418785c5bae2)
(cherry picked from commit a7836ee2ee2638091f0f9ff5543548ae0bb94060)
(cherry picked from commit 3ea7dcbd5b196b6fc9115d49d50678a1a5940c0b)
(cherry picked from commit 454d705e830ade3a41a33341b82d4c8aff584dcd)
(cherry picked from commit 35e06c3009f4a1942222dc35cc0993a623164b25)
(cherry picked from commit 904468a38ffdfb8157dc4eaf92b3ba10c3a957db)
(cherry picked from commit 890e86815a5a33b2930150a7460cd96b4360ac88)
(cherry picked from commit bf9f94c63d8c15ce62881ccadc28681848b7ebd7)
(cherry picked from commit d025d061d14929aaabbfc4603099e32cb888ac3b)
(cherry picked from commit 32f209a8e1b2ee109f7ae8b150d4390318c0ff2a)
(cherry picked from commit 38ef6802fca7301f4cb03769e8d6dae1e256933f)
(cherry picked from commit 8a19bbd2a8160b7d3d5a1ea083507b4311070ab6)
(cherry picked from commit f352dee786d2541fbe360fe8f859d3182c632240)
(cherry picked from commit b53d9fc090b58848876b4f97e8ed03face85a63b)
(cherry picked from commit 3dae21f4c87c82b75515d3db43c1bbd4d9f3f1ac)
(cherry picked from commit 8b59e016c7a1eb3f6d0077d8e6f205b8bcefe402)
(cherry picked from commit 6f54ea6a0eb0f9c4360237f78eb76c55678547e2)
(cherry picked from commit ed8d90de6bb9513a2dcdc70aac446bbcaf0855c9)
(cherry picked from commit 26ffd3fcace55279091fe95074a65dd1c4b7758a)
(cherry picked from commit 287b3bbfb5a66e64d3490a282153bfd2393b7afa)
(cherry picked from commit ab81378d0c88def332f43843eeac23ef768bb143)
(cherry picked from commit f6bbe7e875e707fcbadf7434818edb897467a5ef)
(cherry picked from commit 8968f34edf064e6bffc3cc7054307c6303256acd)
(cherry picked from commit d3d914bba2bec4f50f9d71d347b510771df99656)
(cherry picked from commit 4e4006a990dd22c23ffd6e9b7e3af6aac1855d52)
(cherry picked from commit edb333569b38e38f94dbb769d793b53cdf39b96f)
(cherry picked from commit 6c1a4baa15aebd1b27b742097181b1ca4afbd31c)
(cherry picked from commit 51bda3bfc734eccee198d4ccb377520d7f16ccb3)
(cherry picked from commit 6f5f318b8f1f9086ef981c181a97ebbcbe6e11be)
(cherry picked from commit e128da23624c90f2817ccb3f15c5df9704f2c597)
(cherry picked from commit 3e6735ff23ae6c6a6963629cf4bc5d8acd26f905)
(cherry picked from commit 938c444125)
(cherry picked from commit 67f92dc9ab)
(cherry picked from commit ee31df71fb70c2938fcf82b5c9a518a54bd4c078)
(cherry picked from commit 386f232191561867c7888ec94374f8f9505c4ff9)
(cherry picked from commit 745785cd7f90cf2665f11fb9bed960a16e238fa4)
(cherry picked from commit efa8564e762b5369a77a10422bd1f6dd1433c62b)
Conflicts:
Dockerfile
Dockerfile.rootless
https://codeberg.org/forgejo/forgejo/pulls/2029
(cherry picked from commit f3dfb143216501411f2e2f522bcce64debfdc07d)
(cherry picked from commit 5a0346ee95f2f30e8955ad886500e9f1c6508c18)
(cherry picked from commit 7a2a6517f2a09cec7bba873696724455134b5734)
(cherry picked from commit f9d75d4705ece5c119f2fd5e2bfbaf630d0bf739)
(cherry picked from commit 64f76f4ab269daa6a584305164732c68be0161c5)
(cherry picked from commit 5d02454155)
[CI] Forgejo Actions workflows
(cherry picked from commit 3ff59b5379ebf761f32875f9d869a1d18f79741c)
(cherry picked from commit 8af826a6f7c70d03079ec68f10230041695017cd)
(cherry picked from commit d7c09d9cc8)
[CI] use the docker label instead of ubuntu-latest
(cherry picked from commit b6a6470db6c8bae9963e204f9c8c408f309e81e3)
[CI] all tests need compliance before proceeding
(cherry picked from commit b35c496f2c3034164b9bb3a3550f35026adf9372)
(cherry picked from commit 36a4148a8ec654ae9fa5a6925a3b8606b96aebcc)
(cherry picked from commit 7ffcffa653808a284f422fdc31f6ea07874b585d)
(cherry picked from commit 8a246d296e502c181c6ee779d1773c9e78ca7acf)
(cherry picked from commit dd0b6e1826ba7699f967de2c00c1332909a53473)
[CI] Forgejo Actions based release process (squash) MySQL optimization
Refs: https://codeberg.org/forgejo/forgejo/issues/976
(cherry picked from commit b4b8c489e6e9fe36349eced5d4249467b25df2a7)
(cherry picked from commit 1e861db4afdc32549784381a96b16dac508ec1c0)
(cherry picked from commit a6c0e00330ded851c2f524039259f0b723d793e4)
(cherry picked from commit f97b336465fd6be15079e756c9ee3a580f0aa339)
(cherry picked from commit 6d65d5f0d6f798556a8f9e547896be03a5ee2f87)
(cherry picked from commit 79bfbadbed3bf84b96f2c027d119a4aa5c60d5e2)
(cherry picked from commit e86c40a34a97fc568c724ee5f8ee5b2bf46ebf19)
(cherry picked from commit da0c454adbcf1b5dbb95d9d74afaa371e32351a0)
(cherry picked from commit b49d892cda968b22ad6c29caade042690d96f2e2)
[CI] enable minio tests
(cherry picked from commit 4d8f4380311b872061bd20f561424662ecd8d817)
(cherry picked from commit c4eeb0a61ef579c21b0382edd61c62adebe93b28)
[CI] Forgejo Actions based CI for PR & branches (squash) cleanup
(cherry picked from commit 80eb20e84267552c971096693558734f0ec7afdd)
(cherry picked from commit d2ff589858961e4f25bc1d903cdf57df1db4c316)
(cherry picked from commit f6eedecb67fce992605bb1fcdd93c866ec47a9d4)
(cherry picked from commit cf458091e245e1c70944e940a214d5127f304303)
(cherry picked from commit ddd322cb2de165126080b222c1b09b2a91fea182)
(cherry picked from commit f0f5729b6467bea053d532c4c64c54a0fe737c98)
Conflicts:
.github/workflows/pull-db-tests.yml
https://codeberg.org/forgejo/forgejo/pulls/1573
(cherry picked from commit bb347aedd4e5030eea46ce22176a0444619df6b8)
(cherry picked from commit 0f5ebe8c3e78cef6f310ee9097a8413df904c08a)
(cherry picked from commit 9101cb4715ed88c6a3f0ad14443758d9bc9c61ed)
(cherry picked from commit ab118fe4efd96e9bb7134065643f094a379bb192)
[CI] Forgejo Actions based CI for PR & branches (squash) use node:20-bookworm
No longer use the custom test-env image, it is unecessary technical
debt.
Also upgrade to bitnami/minio:2023.8.31 to align with what Gitea tests
(cherry picked from commit d9b77fd2735a52043b4f8f1baaaa2e15073db621)
(cherry picked from commit ef8f099f9ea03d216324ceff348fe643240341dc)
(cherry picked from commit 6d3c675d203ba838de1f0540977f5e7e9f62f055)
(cherry picked from commit fc00ff45f2)
(cherry picked from commit b7f02b9846)
(cherry picked from commit d23d86e56728f4a263a0567c14e2dc20407baaff)
(cherry picked from commit e68e65460c40d343a3ada858c0c48d03a6a14bbb)
(cherry picked from commit 96f93a1fdb9f2c6ecbd05ac24c5375f3e0d631df)
(cherry picked from commit 2ff3080018633212075935ec6644654184009a2e)
(cherry picked from commit 8ea00bcff471b877e442f7b78bb46880c9e396f0)
(cherry picked from commit 85be961970b0d374d9816348a8a1b51289f7c787)
(cherry picked from commit 387b279fc33d79be1f0f0b35b32f5c17b0d64c9c)
(cherry picked from commit 8b11cab677503be78b1deb17ed9dd5fb1c823a7d)
(cherry picked from commit be59270696)
(cherry picked from commit e068f8b191585e2910d8a45ea78bfa1b78015bed)
(cherry picked from commit 7855bb0c60b5ec2a972ae04e4515ee5adb19a5e7)
(cherry picked from commit 45c4c8f44383dced75ab83f7c817b52e78968fab)
(cherry picked from commit 89520d67ffe0062e1accd39763e1e7dd5058d83a)
(cherry picked from commit 15eeb417a4b8bb948f888c73e20135c1e0fd1f63)
(cherry picked from commit 6db53a26432f02ae50da948483e2010bd962f9ce)
(cherry picked from commit 2f689b321fa275b6412f0b8686edc7aba97c3565)
(cherry picked from commit 04dc478314c3b4927cca78c354ca46ee217f035a)
(cherry picked from commit a554624f40f51c1c75d754d6cca14f7626bb599e)
(cherry picked from commit abca05f0d1c29680bba897cc0de7037053915ced)
(cherry picked from commit dc13e7eb22f2bde817f3845c646574d8f39c1b18)
(cherry picked from commit a161c5740eb5e76c13354ba2388fa34ae925fd8b)
(cherry picked from commit 06d33e2773f01b576ba050afe2b88718a7999434)
(cherry picked from commit f536275161cc4bf5d2f163bd68a4c4498c9fff3d)
(cherry picked from commit 84ac6f314a1840d45bdecb2ccd4482fb925fd2c2)
(cherry picked from commit 1e8126edfc3a6c78cda35f053bd0ac40ba9874ef)
(cherry picked from commit 0287ac3416563e0af05c3aeabc338b791c74ddb2)
(cherry picked from commit 3e5fca2aaea299013691f102b10417ac33988df0)
(cherry picked from commit 03b220bfeb86caa82eec2a67caf9a08460cf76c0)
(cherry picked from commit 1d033f4aaf2b7db1ae98e91d96ef3b8a0b07539e)
(cherry picked from commit 2ee9e3e9a395357885f16fa8a22a24cda79f637f)
(cherry picked from commit d28c284993)
(cherry picked from commit 239df83859)
(cherry picked from commit 96ae0c2e5d4fafbead44db52297e21242da0a6d0)
(cherry picked from commit 49aef71b322395674a5360bac7b93561e773ea35)
(cherry picked from commit 38b56d108d3f27faa0dc191518e6dbcb775fd7bf)
(cherry picked from commit 30f8d9ec3adecf4025fc3547e9a745d700f68d83)
(cherry picked from commit d5318618509f5d8bdef999445357553ab1c4cb5c)
(cherry picked from commit a75707deaa52cd3fedfda766460bcc8f2d7dea92)
(cherry picked from commit b1c73918b2ddaa4a59d9e7405b3b5bea5ccd496a)
(cherry picked from commit a1381d9146fba42cb97d72d38525fa3e721bfb03)
(cherry picked from commit 74714e02461fb47fcc0901211668e4529fac68d0)
(cherry picked from commit 7749dbfe6684498a47e3037088e7bef3542b6ce5)
(cherry picked from commit 437924971136eaed795f77edd3d3dfffa5f68103)
(cherry picked from commit a69f55bebf82a0b68bc0f66bc029eaea836cddb7)
(cherry picked from commit 24dd5fbfdbc27c887dbc24661c1005fb2e14e3c6)
(cherry picked from commit dda856d6b83936fd1c96c84544b086cbd8f63115)
(cherry picked from commit bc14f4fa97fffe82d1c666e961e313f88433cb9e)
(cherry picked from commit 78fef4f1379d8854901151d4bc62135c73db868e)
(cherry picked from commit 69e013cc515e2a50006d8d02f575ff6490d272ff)
(cherry picked from commit f173c6a2734b2dccf1424d27cd8e10fc296e44a4)
(cherry picked from commit 92f9d02547017770deafd1f715c32ae4479b8ded)
(cherry picked from commit c99d51e665370ceb71b96b3fb65184090c7e4442)
(cherry picked from commit aa0650fd2b42738a5e564c229c3eb63b8ca77f9b)
(cherry picked from commit 0a8ef91302)
(cherry picked from commit 7b54fe01c2)
(cherry picked from commit 0e154f366f14d106d14f500f605380c29b5a3f21)
(cherry picked from commit 02d88ee16d23b9ebb04bf1af843fc5d2074783ce)
(cherry picked from commit 411924e0172a7b10de7513f2e7f60ab5341b13e4)
(cherry picked from commit f4e9ca6db59f2c5c638a0560d4ea99833d61520b)
(cherry picked from commit cd80126a23573dd5aea1e9674ee0bfa34c63ec5a)
(cherry picked from commit da626702f9743fc6e1dd77d21aff5fc3afe75912)
(cherry picked from commit 4b81d0bd046fef267bb10d2ca0cbd342c87fd4e2)
(cherry picked from commit e1bbfa36197ebab97954e8195f7d36adf7c85d56)
(cherry picked from commit 91245ca9179a46047a351247dacecdace557111d)
(cherry picked from commit 705d0558be2c90d06e9e5b883044fd0b275b1113)
(cherry picked from commit 9247594970)
(cherry picked from commit 9db1158a487e00e588810459fe402cc2ccea43f7)
(cherry picked from commit 3b36b77d87a90fbea03fc16638657e19328ccedc)
(cherry picked from commit 162fa1d8ae3753dd8ee51698555e495f2c63d925)
(cherry picked from commit d03d0afbb565c8bc8b723e10c8c70b69e7af7b80)
(cherry picked from commit 7b8f92f7871b838bc2eefa34e7dc48bcd141d1d5)
(cherry picked from commit 035abca9691d33e319062325dae402da66683c43)
(cherry picked from commit a8fbf6bb56046665cb2cde0ffcc753f56b2f0f2d)
(cherry picked from commit 3be681d037b07880236cae1aa70245e5eb4d1497)
(cherry picked from commit 7e5d471c832ee3fea378ecc97835b038bd55a8e1)
(cherry picked from commit 323801d935fec2c6d460192b62fa12b5204da76e)
(cherry picked from commit 3fdfe4bfea623111f1f97e50b71b98a63c8b38e7)
(cherry picked from commit 58a07421a4508ca298c1c3a45d33d49737ee98d8)
(cherry picked from commit dbb71a4c8502b640857d3500dda12ab4b5d74b29)
(cherry picked from commit d442113520d21149e155d1e62bbeb6a35a6aec08)
(cherry picked from commit d3329f01f8c7145c422b159509f544ec83604a51)
(cherry picked from commit 069a1d68b856898e2913d1d4456deb7f1e976a6c)
(cherry picked from commit 14919e609a4dd9ae9ca19880ffc459def8bea273)
(cherry picked from commit 49b76be1068d1f83169956bb141116481a7e6a3c)
(cherry picked from commit 0fe9f257d2bd277f5cd620fe04e4b80b5abcd585)
(cherry picked from commit b583bebeab3d0b182df6b5d087522a4fb89ba3e9)
(cherry picked from commit 5c616e43a64451d607b6ee24400708d2704fd4db)
(cherry picked from commit 854bcea905)
(cherry picked from commit c2acb181c5)
(cherry picked from commit 1cb07e71d14118871ae40a82adabcde851a3e172)
(cherry picked from commit 5d3f09e6351614a8db979995299ac1b94ebf08ee)
(cherry picked from commit f8bf1c8d42be0eb40f4d4fdc72e7e4cefa842e52)
(cherry picked from commit a471ed4576607a4e13cac980016c9e2a702d9fd5)
(cherry picked from commit 95c755f4e34bb753a0f94f87f02a17256d7d1619)
(cherry picked from commit 1d8bc5215f6918e11d8beb1f7e252b04d9c15bb6)
(cherry picked from commit 45c1e7b8d0920db98556ecfdf0d1111c2ffcb66e)
(cherry picked from commit 6d910daafb)
(cherry picked from commit d447861cc911aa89539cbbcdbbf0e68d0bc23e53)
(cherry picked from commit dc6e9d87990f72d870100934be32a5fc1dc119ad)
(cherry picked from commit ef232fa20c99c6c52599025967a5af2f5839bdce)
(cherry picked from commit 290c55517a84f6e8b80459372b9b63ec19cadcb4)
(cherry picked from commit db48af1784e94851c066845324c3e680e79ab7c3)
(cherry picked from commit 85f33237a2f5da88ec2fcab76ea91ee3cec56065)
(cherry picked from commit 76899ee33e8196c66f882fca5facf5268c8fabf8)
(cherry picked from commit 148b3ee9cb03aa614b59ab98d2d8c11f343d38d1)
(cherry picked from commit 1f6ad8f465819cc6adb8061845822398a33e14e1)
(cherry picked from commit c330afdba3354ff59591bd07046b6993bfeea777)
(cherry picked from commit b1f87075a79c8e0d1a8626958f90bfee4d003de1)
(cherry picked from commit 7da40992cc82d719094a748339c385fbc1251afe)
(cherry picked from commit 7ab19ff5e528b9e1ef53e95639022facca70466e)
(cherry picked from commit e61e44921bbabc7ba12da51afde1c6fe8203679b)
(cherry picked from commit 83646119fb)
(cherry picked from commit 20cf748e61f35378745629dcb38b459818c8ad52)
(cherry picked from commit 0a99919cec90dc1374c67199a0bbb90e7f8c7525)
(cherry picked from commit 21215222a6d036551dca0b54a09c388845c3565f)
(cherry picked from commit 0f6c5658d77fe47d4c67b327190f88af829905da)
(cherry picked from commit 1752e43d3c0d71533680d2dcbcbb056d0c91371e)
(cherry picked from commit 2332080929c9eb65d512956773bf7ac821fa6736)
(cherry picked from commit 590aabf2a2a47f4a5a53a9d0b8b12486f5998400)
(cherry picked from commit 87d8b7b315c3e25bd3fcf9dc9c1d359bcd107281)
(cherry picked from commit ff37de38be04b8c1ca6f04b4ef5566c9f9a125ad)
(cherry picked from commit cee32c9e7ab58af6cb07109df4b88420c30c6156)
(cherry picked from commit 39faade524215d5527c5d24e90a9be62aa40f422)
(cherry picked from commit 0e5ca477b6e7ae926cd32454a6ed372b83626b34)
(cherry picked from commit 70e2730f7b2efe4c2ee9ef047583bf9ee5eed409)
(cherry picked from commit 2ad4003944e0d32d1e45b9276316e189f9b5b176)
(cherry picked from commit 2429de9e87e3fdbfa2df8741c9400e9f056ef124)
(cherry picked from commit c133915fc1a4eb8aa1e4766e720e47de14db0d61)
(cherry picked from commit c607dcaf9f01e454921e07b758bdde1c4dba5504)
(cherry picked from commit 00f006637f659bd617d05d1017be7bd4b78e618b)
(cherry picked from commit 0de6646475195e0cf210781c98b8fcede010b94d)
(cherry picked from commit b05e83bb1e45e67d96f0b4b138ffe2df8329e01d)
(cherry picked from commit cb71f139f081c14d17ee904931ab64ccd2199c20)
(cherry picked from commit 2a8b08ee4f)
(cherry picked from commit 3ebab73c4e)
(cherry picked from commit 07626c088c2e9927bf200803178530be515831e8)
(cherry picked from commit 844e9bc9999f2b94e2fc0f727dec06d128042b8e)
(cherry picked from commit c315e247514fee9b2fcd3a91e16237b8986b78f0)
(cherry picked from commit f5f2b41f3cdfc6258191859a7c1914b52b868c09)
(cherry picked from commit 09134424a8c3c5136373c7760cf3d3dd26382610)
(cherry picked from commit 6fc63d48c4b2a568ddafb92d566e607977cc1b1b)
(cherry picked from commit a0be5c783e145601ca80eadfff7e104c980d1f32)
Fixes#26548
This PR refactors the rendering of markup links. The old code uses
`strings.Replace` to change some urls while the new code uses more
context to decide which link should be generated.
The added tests should ensure the same output for the old and new
behaviour (besides the bug).
We may need to refactor the rendering a bit more to make it clear how
the different helper methods render the input string. There are lots of
options (resolve links / images / mentions / git hashes / emojis / ...)
but you don't really know what helper uses which options. For example,
we currently support images in the user description which should not be
allowed I think:
<details>
<summary>Profile</summary>
https://try.gitea.io/KN4CK3R
![grafik](https://github.com/go-gitea/gitea/assets/1666336/109ae422-496d-4200-b52e-b3a528f553e5)
</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Fixes#27114.
* In Gitea 1.12 (#9532), a "dismiss stale approvals" branch protection
setting was introduced, for ignoring stale reviews when verifying the
approval count of a pull request.
* In Gitea 1.14 (#12674), the "dismiss review" feature was added.
* This caused confusion with users (#25858), as "dismiss" now means 2
different things.
* In Gitea 1.20 (#25882), the behavior of the "dismiss stale approvals"
branch protection was modified to actually dismiss the stale review.
For some users this new behavior of dismissing the stale reviews is not
desirable.
So this PR reintroduces the old behavior as a new "ignore stale
approvals" branch protection setting.
---------
Co-authored-by: delvh <dev.lh@web.de>
When JavaScript is not loaded, fall back to displaying reaction tooltips
with the default browser `title` attribute. An element with a present
but empty `data-tooltip-content` will use the `title` attribute for its
tippy.js tooltip content, so when JavaScript is enabled, this functions
the same as the current behavior.
- Make use of the `form-fetch-action` for the merge button, which will
automatically prevent the action from happening multiple times and show
a nice loading indicator as user feedback while the merge request is
being processed by the server.
- Adjust the merge PR code to JSON response as this is required for the
`form-fetch-action` functionality.
- Resolves https://codeberg.org/forgejo/forgejo/issues/774
- Likely resolves the cause of
https://codeberg.org/forgejo/forgejo/issues/1688#issuecomment-1313044
(cherry picked from commit 4ec64c19507caefff7ddaad722b1b5792b97cc5a)
Co-authored-by: Gusted <postmaster@gusted.xyz>
Fix#28157
This PR fix the possible bugs about actions schedule.
## The Changes
- Move `UpdateRepositoryUnit` and `SetRepoDefaultBranch` from models to
service layer
- Remove schedules plan from database and cancel waiting & running
schedules tasks in this repository when actions unit has been disabled
or global disabled.
- Remove schedules plan from database and cancel waiting & running
schedules tasks in this repository when default branch changed.
Fix#27722Fix#27357Fix#25837
1. Fix the typo `BlockingByDependenciesNotPermitted`, which causes the
`not permitted message` not to show. The correct one is `Blocking` or
`BlockedBy`
2. Rewrite the perm check. The perm check uses a very tricky way to
avoid duplicate checks for a slice of issues, which is confusing. In
fact, it's also the reason causing the bug. It uses `lastRepoID` and
`lastPerm` to avoid duplicate checks, but forgets to assign the
`lastPerm` at the end of the code block. So I rewrote this to avoid this
trick.
![I U1AT{GNFY3
1HZ`6L{(2L](https://github.com/go-gitea/gitea/assets/70063547/79acd02a-a567-4316-ae0d-11c6461becf1)
3. It also reuses the `blocks` slice, which is even more confusing. So I
rewrote this too.
![UARFPXRGGZQFB7J$2`R}5_R](https://github.com/go-gitea/gitea/assets/70063547/f21cff0f-d9ac-4ce4-ae4d-adffc98ecd99)