Beowulf
162b840100
Add inline attachments to comments
...
If incoming email is configured and an email is sent, inline
attachments are currently not added to the comment if it has the
`Content-Disposition: inline` instead of
`Content-Disposition: attachment` as e.g. with Apple Mail.
This adds inline attachments (`Content-Disposition: inline`) that have a
filename as attachment to the comment.
Fixes #3496
2024-04-28 00:33:03 +02:00
Earl Warren
bfdbc2371d
Merge pull request 'RELEASE Version Link Interface customization' ( #3498 ) from mainboarder/forgejo:release-version into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3498
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-27 20:00:05 +00:00
Otto
9f5fda6a04
Merge pull request 'Split issue sidebar template into smaller files' ( #3445 ) from fnetx/split-sidebar-template into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3445
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Gergely Nagy <algernon@noreply.codeberg.org>
2024-04-27 19:18:56 +00:00
Otto
98589b487c
Merge pull request 'Update module github.com/minio/minio-go/v7 to v7.0.70' ( #3469 ) from renovate/github.com-minio-minio-go-v7-7.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3469
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-27 19:15:38 +00:00
Robin Kloppe
df8b1b5dd2
RELEASE Version Link
2024-04-27 20:17:33 +02:00
Codeberg Translate
cb004e9d8b
[I18N] Translations update from Weblate ( #3359 )
...
Translations update from [Weblate](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 )
Co-authored-by: earl-warren <earl-warren@users.noreply.translate.codeberg.org>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <Dirk@users.noreply.translate.codeberg.org>
Co-authored-by: Salif Mehmed <mail@salif.eu>
Co-authored-by: Kita Ikuyo <searinminecraft@courvix.com>
Co-authored-by: leana8959 <leana8959@users.noreply.translate.codeberg.org>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.codeberg.org>
Co-authored-by: SteffoSpieler <SteffoSpieler@users.noreply.translate.codeberg.org>
Co-authored-by: Mylloon <Mylloon@users.noreply.translate.codeberg.org>
Co-authored-by: lucasmz <lucasmz@users.noreply.translate.codeberg.org>
Co-authored-by: emansije <emansije@users.noreply.translate.codeberg.org>
Co-authored-by: FunctionalHacker <FunctionalHacker@users.noreply.translate.codeberg.org>
Co-authored-by: owofied <furry@users.noreply.translate.codeberg.org>
Co-authored-by: Xinayder <Xinayder@users.noreply.translate.codeberg.org>
Co-authored-by: kecrily <kecrily@users.noreply.translate.codeberg.org>
Co-authored-by: ZilloweZ <ZilloweZ@users.noreply.translate.codeberg.org>
Co-authored-by: toasterbirb <toasterbirb@users.noreply.translate.codeberg.org>
Co-authored-by: Pi-Cla <Pi-Cla@users.noreply.translate.codeberg.org>
Co-authored-by: sinsky <sinsky@users.noreply.translate.codeberg.org>
Co-authored-by: kdh8219 <kdh8219@users.noreply.translate.codeberg.org>
Co-authored-by: 747 <747@users.noreply.translate.codeberg.org>
Co-authored-by: Quitaxd <Quitaxd@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3359
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>
2024-04-27 16:37:31 +00:00
Earl Warren
8da64860e7
Merge pull request 'Update module gitea.com/gitea/act to v0.261.1' ( #3492 ) from renovate/gitea.com-gitea-act-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3492
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-04-27 11:01:59 +00:00
Earl Warren
3db929a2be
chore(licenses): github.com/minio/sha256-simd is no longer in use
2024-04-27 10:43:27 +02:00
Earl Warren
d90b1e2c00
fix(renovate): gitea.com/gitea/act requires dashboard approval
2024-04-27 10:31:13 +02:00
Renovate Bot
004fe91d37
Update module gitea.com/gitea/act to v0.261.1
2024-04-27 02:04:59 +00:00
Otto Richter
5bc72998e0
I feel responsible … (Codeowners)
...
… for dealing with conflicts and future modification of this template
2024-04-27 02:22:05 +02:00
Otto Richter
66b22c5818
Unify allow edits logic
2024-04-27 02:22:05 +02:00
Otto Richter
6bd4925753
Split allow edits checkbox
2024-04-27 02:22:05 +02:00
Otto Richter
a8f8667a03
Split references and actions
2024-04-27 02:22:05 +02:00
Otto Richter
0eec8b84a1
Split issue dependencies
2024-04-27 02:22:05 +02:00
Otto Richter
cc83b9349d
Split deadline / due date
2024-04-27 02:22:05 +02:00
Otto Richter
27a9fd1792
Split timetracking
2024-04-27 02:22:04 +02:00
Otto Richter
47ef51d51e
Unify watching template
2024-04-27 02:22:04 +02:00
Otto Richter
35c967653b
Split watching
2024-04-27 02:22:04 +02:00
Otto Richter
dfaeb4692c
Split participants
2024-04-27 02:22:04 +02:00
Otto Richter
019d322351
Split assignees
2024-04-27 02:22:04 +02:00
Otto Richter
3d5c1c6cef
Split milestones and projects
2024-04-27 02:22:04 +02:00
Otto Richter
66cab785fc
Split PR-only templates
2024-04-27 02:22:04 +02:00
Otto Richter
b406025aae
Move branch_selection to sidebar folder
2024-04-27 02:22:04 +02:00
Baptiste Daroussin
08f5a25d3b
ldap: default domain name ( #3414 )
...
When the ldap synchronizer is look for an email address and fails at
finding one, it falls back at creating one using "localhost.local"
domain.
This new field makes this domain name configurable.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3414
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Baptiste Daroussin <bapt@FreeBSD.org>
Co-committed-by: Baptiste Daroussin <bapt@FreeBSD.org>
2024-04-26 22:38:58 +00:00
Earl Warren
4da76d0e5f
Merge pull request 'fix(Dockerfile.rootless): revert to default path for app.ini
' ( #3363 ) from gmask/forgejo:fix/container-app-ini-variable into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3363
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-04-26 22:36:33 +00:00
Earl Warren
c4db84ad0e
Merge pull request 'docs(release-notes): 7.0.1' ( #3484 ) from earl-warren/forgejo:wip-release-notes-v7.0 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3484
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: crystal <crystal@noreply.codeberg.org>
2024-04-26 22:34:25 +00:00
Earl Warren
a5df622099
docs(release-notes): 7.0.1
2024-04-27 00:31:22 +02:00
Gerard Salvatella
dad16cd589
fix(Dockerfile.rootless): revert to default path for app.ini
...
The current path of the `$GITEA_APP_INI` configuration file makes the
forgejo application reset every time the container is restarted, unless
a specific volume for this file is created. Consider the following:
* This quirk is not documented
* All configuration data resides in `/var/lib/gitea`
* The custom configuration path defaults to `/var/lib/gitea/custom/conf`
(see `forgejo -h`)
* Containers mounting the volume `-v /foo/bar:/var/lib/gitea` already
have this file available to modify. Another volume shouldn't be
required
* Containers using named volumes can use `docker cp` to modify the file
inside the volume, if desired
For these reasons, it makes more sense to use the default path for
`$GITEA_APP_INI` rather than require users to create a dedicated volume
for the file. Revert it back to its default while maintaining backwards
compatibility (users can update by simply moving the file to the new
path).
2024-04-26 21:30:10 +02:00
Earl Warren
d6c36ec406
Merge pull request 'Drop Gitea-specific columns from two tables' ( #3475 ) from algernon/forgejo:wiki-branch-wars-episode-iii-a-new-migration into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3475
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-26 10:21:28 +00:00
oliverpool
20350846fc
Merge pull request 'fix: git.ComputeHash did not write the content' ( #3466 ) from oliverpool/forgejo:fix_compute_hash into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3466
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-26 10:15:23 +00:00
Earl Warren
c31ae1a651
fix(lfs): gogit /settings/lfs/find 500 error ( #3472 )
...
Refs: https://codeberg.org/forgejo/forgejo/pulls/3448
Refs: https://codeberg.org/forgejo/forgejo/issues/3438
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3472
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2024-04-26 09:22:09 +00:00
Earl Warren
0819ed2053
Merge pull request 'Update dependency vitest to v1.5.2' ( #3468 ) from renovate/vitest-monorepo into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3468
2024-04-26 08:37:20 +00:00
Earl Warren
51a610d46c
Merge pull request 'Update dependency swagger-ui-dist to v5.17.2' ( #3467 ) from renovate/swagger-ui-dist-5.17.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3467
2024-04-26 08:36:47 +00:00
Gergely Nagy
2bc226eb57
Drop Gitea-specific columns from two tables
...
Gitea and Forgejo chose to implement wiki branch naming differently, but
Forgejo picked the Gitea migration anyway, resulting in an unused column
in the database, which wasn't part of the `Repository` struct either -
something warned about during startup, too.
Similarly, Forgejo chose not to implement User badges at all - but kept
the existing code for it -, and the `badge` table ended up with an
unused `slug` column due to a Gitea migration, and resulted in another
warning at startup.
To keep the database consistent with the code, and to get rid of these
warnings, lets introduce a new migration, which simply drops these
Gitea-specific columns from the database.
Fixes #3463 .
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-26 10:34:06 +02:00
Earl Warren
801554f708
Merge pull request 'Limit database max connections by default' ( #3383 ) from fnetx/Limit database max connections by default into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3383
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-26 08:31:15 +00:00
Earl Warren
c864448dc9
Merge pull request 'services/convert: Convert a Repository's ObjectFormatName too' ( #3464 ) from algernon/forgejo:i-object-exclamationmark-format-name into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3464
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-26 08:27:41 +00:00
Earl Warren
127eff49ee
docs(release-notes): split items in files to avoid conflicts ( #3452 )
...
I thought there would be conflicts but that they would not be so difficult to manage. Worst idea I had this week. Change to @oliverpool idea instead.
> Instead of documenting the release notes in the issue, why not in the codebase?
>
> For instance in [go](https://cs.opensource.google/go/go/+/master:doc/README.md ) there is a `doc/next` folder where you add `<pr-number>.md` files which document each pr.
>
> Before the release, a script takes all those files to generate the changelog.
>
> Having them as a file tracked by git, makes them easy to review and to programmatically handle.
Refs: https://codeberg.org/forgejo/discussions/issues/155#issuecomment-1787013
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3452
Reviewed-by: Gergely Nagy <algernon@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2024-04-26 08:26:33 +00:00
oliverpool
5247fd50db
fix: git.ComputeHash did not write the content
2024-04-26 10:16:59 +02:00
oliverpool
3dfa5ba43a
test: LFS gc should not delete all metadata objects
...
and ComputeBlobHash should depend on the blob content (not only the
length)
2024-04-26 10:16:59 +02:00
Renovate Bot
90c56a9d66
Update dependency vitest to v1.5.2
2024-04-26 08:10:29 +00:00
Renovate Bot
aa2af10f67
Update dependency swagger-ui-dist to v5.17.2
2024-04-26 08:10:19 +00:00
Shiny Nematoda
a641ebf221
[FIX] Set max fuzziness to 2 for bleve ( #3444 )
...
closes #3443
regression from ab5f0b7558
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3444
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2024-04-26 08:08:47 +00:00
Earl Warren
40d0f50838
Merge pull request 'docs(release-notes): 7.0.0 LFS garbage collection and workaround' ( #3473 ) from earl-warren/forgejo:wip-release-notes-v7.0 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3473
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
2024-04-26 08:05:12 +00:00
Gergely Nagy
2385f3c9db
services/convert: Convert a Repository's ObjectFormatName too
...
When converting a `repo_model.Repository` to `api.Repository`, copy the
`ObjectFormatName` field too.
Fixes #3458 .
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-26 09:25:30 +02:00
Earl Warren
b51c608d3f
docs(release-notes): 7.0.0 LFS garbage collection and workaround
...
Refs: https://codeberg.org/forgejo/forgejo/issues/3438
(cherry picked from commit a37836f228
)
2024-04-26 09:16:50 +02:00
Renovate Bot
a3be70f0a5
Update ghcr.io/visualon/renovate Docker tag to v37.323.3
2024-04-26 04:02:40 +00:00
Renovate Bot
ca9c039ba6
Update module github.com/minio/minio-go/v7 to v7.0.70
2024-04-26 02:05:51 +00:00
Earl Warren
7f187f9857
Merge pull request 'fix(ui): /settings/lfs/find 500 error (take 2)' ( #3465 ) from earl-warren/forgejo:wip-lfs-template into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3465
Reviewed-by: Otto <otto@codeberg.org>
2024-04-25 21:39:14 +00:00
Earl Warren
4036448c02
fix(ui): /settings/lfs/find 500 error (take 2)
...
Make the test actually fails on error and not just report failure on
the output and succeed.
2024-04-25 23:00:11 +02:00