Commit graph

22375 commits

Author SHA1 Message Date
davrot
0e50e9dc10 services/repository/files/update.go aktualisiert 2025-01-28 17:39:25 +00:00
davrot
f56b10ca8c services/repository/files/update.go aktualisiert 2025-01-28 17:34:21 +00:00
davrot
094471e4f8 services/repository/files/update.go aktualisiert 2025-01-28 17:32:29 +00:00
davrot
74971d6b63 modules/git/repo_index.go aktualisiert 2025-01-28 17:28:45 +00:00
davrot
f5750f515b modules/git/repo_index.go aktualisiert 2025-01-28 17:28:28 +00:00
davrot
47aa971cc6 services/repository/files/update.go aktualisiert 2025-01-28 15:31:20 +00:00
davrot
ba70463b53 templates/repo/home.tmpl aktualisiert 2025-01-27 23:59:15 +00:00
davrot
640e0e438e templates/repo/home.tmpl aktualisiert 2025-01-27 23:50:35 +00:00
davrot
6e5413510a Dateien nach „routers/web/repo“ hochladen 2025-01-27 21:24:46 +00:00
davrot
9a14362374 services/repository/files/update.go aktualisiert 2025-01-27 21:18:29 +00:00
davrot
7c4d44094d services/repository/files/update.go aktualisiert 2025-01-27 21:10:33 +00:00
davrot
50c580d2df routers/web/repo/view.go aktualisiert 2025-01-27 21:09:05 +00:00
davrot
3c827b8be7 Dateien nach „modules/git“ hochladen 2025-01-27 20:49:15 +00:00
davrot
157484d50c Dateien nach „routers/web/repo“ hochladen 2025-01-27 20:48:42 +00:00
davrot
fa5158c1f9 Dateien nach „routers/web“ hochladen 2025-01-27 20:48:29 +00:00
davrot
64d7364ce2 Dateien nach „services/repository/files“ hochladen 2025-01-27 20:47:12 +00:00
davrot
3ec871d3be Merge branch 'forgejo' into delete_with_subpath
Some checks failed
Integration tests for the release process / release-simulation (push) Has been cancelled
2025-01-27 19:18:45 +00:00
davrot
eb7e14399d Dateien nach „templates/repo“ hochladen 2025-01-27 19:15:57 +00:00
davrot
8a4ce7e6db Dateien nach „modules/git“ hochladen 2025-01-27 18:59:25 +00:00
davrot
faf47c4161 Dateien nach „services/repository/files“ hochladen 2025-01-27 18:58:44 +00:00
davrot
0353de466d Dateien nach „modules/git“ hochladen 2025-01-27 17:51:06 +00:00
Renovate Bot
49c5102b40 Update renovate to v39.136.1 (forgejo) (#6695)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6695
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2025-01-27 16:02:25 +00:00
Michael Kriese
621ae93392 chore: Update renovate to v39.136.0 (#6692)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6692
2025-01-27 13:08:23 +00:00
Michael Kriese
a334785ac7
chore: Update renovate to v39.136.0 2025-01-27 14:06:17 +01:00
davrot
813e34ce84 Dateien nach „modules/git“ hochladen 2025-01-27 11:59:08 +00:00
davrot
8596a04cf4 Dateien nach „services/repository/files“ hochladen 2025-01-27 11:58:26 +00:00
davrot
867cb5018f Dateien nach „routers/web/repo“ hochladen 2025-01-26 22:24:01 +00:00
davrot
376182cf46 Dateien nach „routers/web“ hochladen 2025-01-26 22:23:34 +00:00
davrot
45fedabb7e Dateien nach „templates/repo“ hochladen 2025-01-26 22:23:10 +00:00
davrot
95d880c630 Dateien nach „services/repository/files“ hochladen 2025-01-26 22:22:38 +00:00
davrot
0152276845 Dateien nach „modules/git“ hochladen 2025-01-26 22:22:02 +00:00
davrot
25497d3835 Dateien nach „routers/web/repo“ hochladen 2025-01-26 20:06:44 +00:00
davrot
2ad9b882ab Dateien nach „routers/web/repo“ hochladen 2025-01-26 19:02:09 +00:00
davrot
efd2660751 Dateien nach „routers/web“ hochladen 2025-01-26 19:01:55 +00:00
davrot
d7312f6a4c Dateien nach „templates/repo“ hochladen 2025-01-26 19:01:29 +00:00
davrot
76afc3caa2 Dateien nach „services/repository/files“ hochladen 2025-01-26 19:00:15 +00:00
Panagiotis "Ivory" Vasilopoulos
9f3507e726 nit(i18n): update password update instruction (#6686)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6686
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Co-committed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
2025-01-26 17:04:44 +00:00
Gusted
270a2c7fa3 chore: remove usages of sort.Sort (#6689)
improve language stats rounding:

- Add tests (I had to omit some edge cases as the current method is
non-determistic in some cases, due to random order of map access).
- Document the algorithm used.
- Lower the amount of calculations that need to be done.
- Because of the aforementioned non-determistic don't use stable sort
and instead regular sort.

better sorting for `RepositoryList`:

- Add testing
- Use `slices.Sortfunc` instead of `sort.Sort`.
- Remove the methods needed for `sort.Sort`.

better git tag sorter:

- Use `slices.SortFunc` instead of `sort.Sort`.
- Remove `tagSorter` and its related methods.
- Added testing.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6689
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-01-26 13:30:00 +00:00
Earl Warren
048af05db9 [gitea] week 2025-04 cherry pick (gitea/main -> forgejo) (#6623)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6623
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Shiny Nematoda <snematoda@noreply.codeberg.org>
2025-01-26 08:43:07 +00:00
0ko
5bfabc8115 [skip ci] chore: adjust i18n entries in CODEOWNERS (#6667)
Matching non-en files would allow me to catch up with all Weblate PRs, which I sometimes completely miss. And we've got a brand new path for new strings.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6667
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-01-26 07:37:50 +00:00
davrot
fb33c30f6a routers/web/repo/view.go aktualisiert 2025-01-26 02:16:39 +00:00
davrot
4b920ad4b4 modules/setting/service.go aktualisiert 2025-01-26 02:15:05 +00:00
davrot
ff04b861bf Dateien nach „routers/web/repo“ hochladen 2025-01-26 02:13:42 +00:00
davrot
d29689146b Dateien nach „routers/web“ hochladen 2025-01-26 02:13:14 +00:00
davrot
3c5498bc89 Dateien nach „templates/repo“ hochladen 2025-01-26 02:12:36 +00:00
davrot
384fbd843d modules/setting/service.go aktualisiert 2025-01-26 02:11:16 +00:00
davrot
fad7397516 Dateien nach „modules/setting“ hochladen 2025-01-26 02:10:49 +00:00
Robert Wolff
95f231612b fix: inline file preview for rendered files (#6572)
This fixes the inline file preview for rendered files (e.g., markdown). [Here, a live issue in v11](https://v11.next.forgejo.org/mahlzahn/test-inline-file-preview/issues/1) and [the same in v7 (with even more bugs)](https://v7.next.forgejo.org/mahlzahn/test-inline-file-preview/issues/1).

It fixes
1. the inline preview for possibly rendered files, when the link is specified with `?display=source`. This happens, e.g., if you are watching a (e.g., markdown) file in source and then want to link some of its lines.
2. the link to the source file inside the inline preview for possible rendered files (currently it links to the rendered version and then the `#L…` cannot point to the correct lines). This is done by always adding `?display=source` to the link.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6572
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Co-committed-by: Robert Wolff <mahlzahn@posteo.de>
2025-01-25 08:11:37 +00:00
Otto
f45a9836b2 fix: add non allowed domain translation (#6677)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6677
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2025-01-25 01:10:47 +00:00
Gusted
443f7d59f9 chore: teach set module about iter.Seq (#6676)
- Add a new `Seq` function to the `Set` type, this returns an iterator over the values.
- Convert some users of the `Values` method to allow for more optimal code.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6676
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-01-24 16:45:46 +00:00