oliverpool
5c248adcf1
[CI] workerqueue attempt to fix flacky test
2024-03-22 08:52:16 +01:00
Michael Jerger
508b4deac8
add test & fix compile
2024-03-22 08:37:06 +01:00
Michael Jerger
4938d38e39
more review
2024-03-22 08:08:54 +01:00
Michael Jerger
9ccad50b05
review
2024-03-22 07:52:03 +01:00
Michael Jerger
7316108d56
Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star
2024-03-22 07:32:30 +01:00
Michael Jerger
7e355986f8
fix wording
2024-03-22 07:32:22 +01:00
Earl Warren
0aa77d0b9e
Merge pull request 'Add plural support for PR subtitles' ( #2614 ) from 0ko/forgejo:prplu into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2614
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-22 06:14:10 +00:00
0ko
60a9df1908
Add test for pull summary
2024-03-22 07:11:52 +01:00
0ko
debeedfe42
Add plural support for PR subtitles
2024-03-22 07:11:24 +01:00
Codeberg Translate
489805c322
[I18N] Translations update from Weblate ( #2710 )
...
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: Fjuro <Fjuro@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <Dirk@users.noreply.translate.codeberg.org>
Co-authored-by: Wuzzy <Wuzzy@users.noreply.translate.codeberg.org>
Co-authored-by: be4zad <be4zad@users.noreply.translate.codeberg.org>
Co-authored-by: 0ko <0ko@users.noreply.translate.codeberg.org>
Co-authored-by: Mumulhl <mumulhl@duck.com>
Co-authored-by: ormai <ormai@users.noreply.translate.codeberg.org>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.codeberg.org>
Co-authored-by: earl-warren <earl-warren@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2710
Co-authored-by: Codeberg Translate <translate@noreply.codeberg.org>
Co-committed-by: Codeberg Translate <translate@noreply.codeberg.org>
2024-03-22 06:02:26 +00:00
erik
3e6eb255b3
WIP Initial, naive implementation of sending stars to fed repos
...
Currently no rate limits are respected
The mechanisms to use the Federated repo table need to be used
2024-03-21 16:29:13 +01:00
erik
0c6c43003c
Implement getting APAPIURL for repo and user
2024-03-21 16:27:35 +01:00
erik
ed256ca540
Implement NewForgeLike
2024-03-21 16:27:08 +01:00
erik
2e0584bdf3
Clearer error message
...
"May" is also interchangeable with "could". "Should" fits better in this context.
2024-03-21 15:37:37 +01:00
0ko
8e1b6a4090
Add test for add/remove WIP link display
2024-03-21 19:33:02 +05:00
erik
84f2aab570
Add todo
2024-03-21 14:42:38 +01:00
erik
42a41ce2bc
Remove todo
2024-03-21 14:42:16 +01:00
erik
a02ec0363b
Add todo
2024-03-21 14:42:04 +01:00
erik
e4242dafd9
Add Function description
2024-03-21 14:41:11 +01:00
erik
689837b63a
Fix typos
2024-03-21 12:59:59 +01:00
erik
f327c0da24
Cap max size of federated repo list at 2048 bytes
2024-03-21 12:18:29 +01:00
erik
6055b4fca0
Add todo
2024-03-21 11:42:12 +01:00
Michael Jerger
b4bb41e0e3
introduce federated repo
2024-03-21 08:25:40 +01:00
Gergely Nagy
36147f580c
Allow users to hide all "Add more units..." hints
...
Repositories displaying an "Add more..." tab on the header is a neat way
to let people discover they can enable more units. However, displaying
it all the time for repository owners, even when they deliberately do
not want to enable more units gets noisy very fast.
As such, this patch introduces a new setting which lets people disable
this hint under the appearance settings.
Fixes #2378 .
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-21 08:15:51 +01:00
Earl Warren
96d2f2b8cd
Merge pull request 'Fix repo badges when the label or text contains dashes' ( #2711 ) from algernon/forgejo:badges/dash-encoding into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2711
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-21 07:05:34 +00:00
Gergely Nagy
8433f3aa09
Fix repo badges when the label or text contains dashes
...
shields.io uses dashes to separate parts of the badge it needs to
return. If our label or text parts contain dashes, we need to encode
those for shields.io to recognise what we want it to do, and to have the
correct text on the badge, too.
Fortunately, this is as simple as replacing all dashes with double
dashes in both the label and the text parts. We do not need to do the
same for the color, because that part is not user controlled.
This fixes the badges for cases when a workflow name includes dashes, or
when a release's tag name does.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-20 22:41:20 +01:00
Earl Warren
3fb488e80d
Merge pull request '[CI] simplify running end-to-end tests while building a release' ( #2709 ) from earl-warren/forgejo:wip-release into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2709
2024-03-20 20:14:52 +00:00
Earl Warren
03aebc4b0f
[CI] simplify running end-to-end tests while building a release
2024-03-20 20:20:42 +01:00
Earl Warren
89f8d33127
Merge pull request '[CI] simplify end-to-end test cascading PR' ( #2706 ) from wip-ci-end-to-end into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2706
2024-03-20 18:12:41 +00:00
Earl Warren
a1889ac348
[CI] simplify end-to-end test cascading PR
...
Closes: https://codeberg.org/forgejo/forgejo/issues/2670
2024-03-20 18:16:56 +01:00
erik
3b30c678e7
Remove ToDo
2024-03-20 16:22:35 +01:00
erik
b6035c03ae
Rephrasing for clearness
2024-03-20 16:14:54 +01:00
erik
2e803e10c0
Do not use binding at this stage
...
It wasn't clear how to utilize the "type" field in the .tmpl for our
purposes.
2024-03-20 16:13:00 +01:00
erik
13bf84e89e
Implent checking for list of repos
2024-03-20 16:12:20 +01:00
Shiny Nematoda
4a061ca26c
simplify template
2024-03-20 12:31:36 +00:00
Shiny Nematoda
ed15c92668
fixes for port
2024-03-20 12:31:36 +00:00
Denys Konovalov
847f03b6a6
Unify search boxes ( #29530 )
...
Unify all but a few search boxes to use uniform style, uniform
translations and shared templates where possible.
Remove a few duplicated search templates, e. g. code search.
<details><summary>Example after screenshots:</summary>
![grafik](https://github.com/go-gitea/gitea/assets/47871822/e20e7d6b-c6be-4a47-b132-672766f41421 )
![grafik](https://github.com/go-gitea/gitea/assets/47871822/d5b11b9c-c12f-4a29-8fb0-24e5aa511d18 )
![grafik](https://github.com/go-gitea/gitea/assets/47871822/d86bb444-36c7-426d-9cf1-c634963dffb1 )
![grafik](https://github.com/go-gitea/gitea/assets/47871822/a76c0319-0518-484a-a840-563d02b61198 )
</details>
Also includes #29700
Co-authored-by: 6543 <6543@obermui.de>
---------
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Conflicts:
routers/web/repo/search.go
templates/repo/home.tmpl
templates/repo/search.tmpl
templates/shared/repo_search.tmpl
2024-03-20 12:31:05 +00:00
erik
3dda92b52b
Update Locales to reflect changes
2024-03-20 13:26:59 +01:00
erik
ea4471d0db
Remove ToDos
2024-03-20 13:22:56 +01:00
erik
d1190423bb
Implement single Repo validation and saving POC
2024-03-20 13:21:17 +01:00
erik
1cbd5e33cb
Validate Federated Repos Field
...
Considering this from a POC perspective we might want to avoid misuse
of this field. In other words, we want this field to be used as
intended.
2024-03-20 13:16:53 +01:00
erik
584af0486d
Add Federation specific URL validation
2024-03-20 13:13:23 +01:00
Earl Warren
6d340bcfea
Merge pull request 'Update look of repo/org tabs on homepage' ( #2593 ) from 0ko/forgejo:hometab into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2593
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-03-20 11:45:17 +00:00
Earl Warren
d4f067c6f9
Merge pull request '[CI] attempt to fix flacky test' ( #2704 ) from oliverpool/forgejo:workerqueue_flaky_test into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2704
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-20 11:38:54 +00:00
Earl Warren
84f33ead4e
Merge pull request '[BUG] Reflect Cargo index state in settings' ( #2698 ) from gusted/forgejo-cargo-index into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2698
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-20 11:38:26 +00:00
Earl Warren
468b879fe8
Merge pull request '[PORT] add skip ci support for pull request title ( #29774 )' ( #2701 ) from earl-warren/forgejo:wip-gitea-skip-ci into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2701
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
2024-03-20 11:34:49 +00:00
oliverpool
9b3bfd0585
[CI] attempt to fix flacky test
2024-03-20 11:06:44 +01:00
Gusted
b06110715c
Merge pull request 'Accessibility: Label Stars/Forks links in repo explore' ( #2634 ) from fnetx/explore-label into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2634
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-03-20 08:20:32 +00:00
Gusted
461f925554
[BUG] Reflect Cargo index state in settings
...
- Currently in the Cargo section of the packages setting menu two
buttons are always shown, "Initalize index" and "Rebuild index", however
only of these should be shown depending on the state of the index, if
there's no index the "Initalize index" button should be shown and if
there's an index the "Rebuild index" button should be shown. This patch
does exactly that.
- Resolves #2628
2024-03-20 09:17:49 +01:00
Earl Warren
2f78daa3af
Merge pull request '[gitea] week 12 cherry-pick' ( #2679 ) from algernon/forgejo:wcp/week-12 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2679
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-20 08:15:06 +00:00