Earl Warren
5f73b2bd5b
Merge pull request '[port] gitea#29753: Improve a11y document and dropdown item' ( #2745 ) from algernon/forgejo:gitea/port/29753 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2745
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-23 14:50:50 +00:00
Gergely Nagy
87cd08539e
Update the TestRenderAlertBlocks integration test
...
The alert/callout blocks rendering has been changed in the previous few
commits, this adapts the test case that verifies them to the updated
output.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-23 15:38:43 +01:00
Gergely Nagy
58d4af8fdb
Refactor the GitHub Legacy callout renderer too
...
Following up on the previous commit, change the GitHub Legacy callout
renderer to render the same as the refactored modern renderer.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-23 15:38:43 +01:00
wxiaoguang
ec2201a3da
Refactor markdown attention render ( #29833 )
...
* Remove some deadcode
* Use 2-word name for CSS class names
* Remove "gt-*" rules for sanitizer
The UI doesn't change much.
(cherry picked from commit 66902d89e567ab1ae6dfb828636999c61ff0149e)
2024-03-23 15:38:43 +01:00
Michael Jerger
ce317c33cb
fix context
2024-03-23 15:27:45 +01:00
wxiaoguang
1d4bf7e211
Improve a11y document and dropdown item ( #29753 )
...
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit e01b0014de5b732181ac42c03a77c21219f88c6a)
2024-03-23 14:57:59 +01:00
Earl Warren
012ed7019a
Merge pull request '[port] Move all login and account creation page labels to be above inputs (gitea#29432)' ( #2742 ) from algernon/forgejo:gitea/port/29432/move-some-labels-above-inputs into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2742
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-23 13:56:18 +00:00
Gergely Nagy
8af8682f7d
modules/markup/markdown/ast: Drop IsColorPreview
...
The function isn't used anywhere, it's dead code. Remove it.
Partially cherry picked from commit 46c3f3b9e81e25c3ed08ba6c5bfeb8802b3ba1fd.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-23 14:47:15 +01:00
Earl Warren
a631e5c249
Merge pull request 'Don't use <br />
in alert block ( #29650 )' ( #2741 ) from algernon/forgejo:gitea/port/29650-dont-use-br-in-alert-block into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2741
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-03-23 13:46:40 +00:00
Earl Warren
1a1e1604d5
Merge pull request 'Replace "configurable clone methods" with Gitea's more flexible implementation' ( #2740 ) from algernon/forgejo:gitea/port/repo-open-with into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2740
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-23 13:44:42 +00:00
Gergely Nagy
f99cf911e8
Revert "Remove inputs in dropdowns from taborder"
...
This reverts commit 7dc453bb39
.
2024-03-23 14:35:59 +01:00
Rafael Heard
3acea02eb6
Move all login and account creation page labels to be above inputs ( #29432 )
...
There are a few inconsistencies within Gitea and this PR addresses one
of them. This PR updates the sign-in page layout, including the register
and openID tabs, to match the layout of the settings pages
(/user/settings) for more consistency.
This PR updates the following routes:
`/user/login`
`/user/sign_up`
`/user/login/openid`
`/user/forgot_password`
`/user/link_account`
`/user/recover_account`
**Before**
<img width="968" alt="Screenshot 2024-02-05 at 8 27 24 AM"
src="https://github.com/go-gitea/gitea/assets/6152817/fb0cb517-57c0-4eed-be1d-56f36bd1960d ">
**After**
<img width="968" alt="Screenshot 2024-02-05 at 8 26 39 AM"
src="https://github.com/go-gitea/gitea/assets/6152817/428d691d-0a42-4a67-a646-05527f2a7b41 ">
This PR addresses a revert of the original PR due to this
[comment](https://github.com/go-gitea/gitea/pull/28753#issuecomment-1956596817 ).
---------
Co-authored-by: rafh <rafaelheard@gmail.com>
2024-03-23 12:36:12 +01:00
Gergely Nagy
1386d3faf7
[DEADCODE] update
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-23 12:26:14 +01:00
Yarden Shoham
20446ac6b3
Don't use <br />
in alert block ( #29650 )
...
- Follows https://github.com/go-gitea/gitea/pull/29121
When I implemented alert blocks I was always testing the markdown in
issue comments. I used `<br />` for line breaks and it looked good. I
have since learned that the markdown on README files doesn't allow these
tags. So a comment with
```md
> [!NOTE]
> If you're interested in using our APIs, we have experimental support with [documentation](https://try.gitea.io/api/swagger ).
```
looked like this in a comment
![image](https://github.com/go-gitea/gitea/assets/20454870/96b1de01-2c87-4d4f-83dd-98192b83e9d0 )
but looked like this in a README
![image](https://github.com/go-gitea/gitea/assets/20454870/474b636d-dd7a-4b7f-ba27-643803c71aa3 )
So I changed how we render the alert block by having the alert itself
have a dedicated paragraph, so line breaks happen naturally between
paragraphs.
![image](https://github.com/go-gitea/gitea/assets/20454870/474b636d-dd7a-4b7f-ba27-643803c71aa3 )
![image](https://github.com/go-gitea/gitea/assets/20454870/167a8d37-9a44-4479-9340-5dc80347b595 )
![image](https://github.com/go-gitea/gitea/assets/20454870/2f99fec0-98ff-4ba8-97fe-b4567041ae79 )
![image](https://github.com/go-gitea/gitea/assets/20454870/ffdeae11-fb06-4d00-b497-eae135f0d7ad )
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: silverwind <me@silverwind.io>
2024-03-23 12:18:40 +01:00
Gergely Nagy
6c330a85ec
Add tests for the "Open with" repository clone menu
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-23 11:58:54 +01:00
wxiaoguang
eb4061baba
Move citiation button to proper place ( #29374 )
...
The citiation button shouldn't be controlled by
DisableDownloadSourceArchives (line 134)
So move it out of that "if" block.
Co-authored-by: Giteabot <teabot@gitea.io>
2024-03-23 11:58:54 +01:00
wxiaoguang
44221a3cd7
Customizable "Open with" applications for repository clone ( #29320 )
...
Users could customize the "clone" menu with their own application URLs on the admin panel.
Replace #22378
Close #21121
Close #22149
2024-03-23 11:58:54 +01:00
Gergely Nagy
3123725ff3
Revert "[GITEA] Configurable clone methods"
...
This reverts commit 1d8bca07f3
.
2024-03-23 11:58:54 +01:00
Earl Warren
549720bbef
[CI] backport PRs with the label backport/v*
2024-03-23 11:43:55 +01:00
Michael Jerger
950dcd959e
implement storage of federated_repo
2024-03-22 20:14:20 +01:00
erik
6b767684a7
Add discussion ToDo
2024-03-22 17:51:20 +01:00
erik
0f27f0a05b
Add discussion ToDo
2024-03-22 17:49:29 +01:00
erik
0f9d1c80be
Implement CreateFederatedRepoList
2024-03-22 17:44:27 +01:00
erik
36c0c1c3c1
Add DB functionality for federated repos
2024-03-22 17:41:59 +01:00
erik
288dda282c
Add more ToDos
2024-03-22 17:41:36 +01:00
Earl Warren
b7ee0b6ad2
Merge pull request '[RELEASE] v1.21.8-0 release notes' ( #2722 ) from earl-warren/forgejo:wip-release-notes-1.21 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2722
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-03-22 13:26:06 +00:00
0ko
404101931a
[I18N] Language selector: bg, fil, eo, sl
...
Resolves https://codeberg.org/forgejo/forgejo/issues/2422
2024-03-22 15:59:56 +05:00
Earl Warren
f68100ceea
Merge pull request '[CI] workerqueue attempt to fix flacky test' ( #2721 ) from oliverpool/forgejo:queue_flaky_fix into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2721
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-22 09:14:00 +00:00
oliverpool
fec49269c6
pull_request_template: test/needed label
2024-03-22 10:11:47 +01:00
oliverpool
8ac4538a00
issue_template: bug/new-report label
2024-03-22 10:11:35 +01:00
Earl Warren
1d530ba022
[RELEASE] v1.21.8-0 release notes
2024-03-22 09:02:57 +01:00
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