Aravinth Manivannan
fc3c944c16
fix: cleanup webfinger URI parsing
2024-04-04 16:52:25 +00:00
Aravinth Manivannan
f7ca56557c
feat: parse for all ForgeFed actors
2024-04-04 16:52:25 +00:00
Aravinth Manivannan
8273f8b756
feat: improve URI parsing in webfinger endpoint
2024-04-04 16:52:25 +00:00
Aravinth Manivannan
855d75d0bc
fix: respond with 404 when webfingered with non-actor URIs
2024-04-04 16:52:25 +00:00
Aravinth Manivannan
1cc6ed8fb6
chore: add trailing slash query test case for webfinger endpoint
2024-04-04 16:52:25 +00:00
Aravinth Manivannan
fc31f14507
feat: extend webfinger to respond to profile page URIs
2024-04-04 16:52:25 +00:00
Earl Warren
a179695f33
Merge pull request '[BUG] Fix crash in issue forms' ( #3012 ) from gusted/forgejo-crash into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3012
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-04 16:42:16 +00:00
Earl Warren
691bb9d171
Merge pull request 'feat: add optional storage init to doctor commands' ( #3034 ) from viceice/forgejo:feat/doctor/add-init-storage-option into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3034
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-04 16:41:30 +00:00
Earl Warren
d38edd02bf
Merge pull request 'Plural support for release download count' ( #3031 ) from 0ko/forgejo:download_plu into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3031
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-04 16:39:32 +00:00
Earl Warren
dfa413a39e
[RELEASE] v1.21.10-0 release notes
2024-04-04 18:37:59 +02:00
Michael Jerger
41f066a1a6
add notes for setup
2024-04-04 18:33:08 +02:00
Michael Jerger
15bb774409
add relation details
2024-04-04 18:05:55 +02:00
Michael Kriese
e226a27233
feat: add optional storage init to doctor commands
2024-04-04 17:21:12 +02:00
0ko
2fff6c255d
[I18N] Provide plural support for release download count
...
Following https://codeberg.org/forgejo/forgejo/pulls/2899 and my review
See https://codeberg.org/forgejo/forgejo/pulls/3031#issuecomment-1733158 for why older strings were dropped
2024-04-04 19:16:00 +05:00
Gusted
b0cd0ebb91
[BUG] Fix crash in issue forms
...
- Fix a crash in the issue forms, because `ctx.Ctx` was trying to be
accessed, however this is not set in all contexts thus could result to NPE.
- Adds integration test.
- Resolves #3011
2024-04-04 15:54:06 +02:00
Earl Warren
5951c9b2c4
Merge pull request '[FEAT] Visual separation between types of attachments' ( #2899 ) from gusted/forgejo-attachment-divide into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2899
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-04-04 13:37:45 +00:00
Clemens
8d78c3edca
make fmt
2024-04-04 15:12:41 +02:00
Clemens
b4e6a7ea3f
make lint-go-fix
2024-04-04 15:09:40 +02:00
Clemens
92d011f1a5
fix some linting issues
2024-04-04 15:08:02 +02:00
iminfinity
8d13ed4a8d
add label filters in org/{org_name}/issues
2024-04-04 17:57:11 +05:30
Earl Warren
ba35934824
Merge pull request '[BUG] Center icon and callout text' ( #3010 ) from gusted/forgejo-center-icon into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3010
Reviewed-by: Gergely Nagy <algernon@noreply.codeberg.org>
2024-04-04 12:10:27 +00:00
Clemens
976d79044f
show apapiurl in repo settings
2024-04-04 08:32:37 +02:00
oliverpool
04a398a1af
[REFACTOR] webhook shared code to prevent import cycles
2024-04-04 08:24:33 +02:00
Earl Warren
c4adb08d6d
Merge pull request 'Update dependency go to v1.22.2' ( #3015 ) from renovate/golang-packages into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3015
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-04-04 05:40:10 +00:00
Clemens
73cf1e3901
Revert "added repoUri to federationService"
...
This reverts commit 8cd89bf4d3
.
2024-04-04 07:22:04 +02:00
Earl Warren
3509242ee6
[CI] pin go v1.22.2 version
...
Because setup-go fails to pick it up. It usually happens within 24h
and this commit can be reverted then.
2024-04-04 06:45:48 +02:00
Gusted
ded1080bc2
[CHORE] Update golang.org/x/net
...
Per https://pkg.go.dev/vuln/GO-2024-2687
2024-04-04 06:17:41 +02:00
Renovate Bot
e6da9c6cd9
Update dependency go to v1.22.2
2024-04-04 04:04:38 +00:00
Gusted
6ffae461d4
[BUG] Center icon and callout text
...
- Wrap the icon and callout into a seperate `<p>` which has `display:
flex; align-items: center` set. To center the icon with the callout text.
- Resolves #3006
2024-04-03 22:26:19 +02:00
hazycora
2bed909a17
use EqualValues in test of pronouns not being displayed when unspecified
2024-04-03 15:24:23 -05:00
Gergely Nagy
9bb7b3fbdd
Add a new test for "Unspecified" pronouns
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-03 15:18:54 -05:00
hazycora
152f26f05b
remove unused assignment
2024-04-03 15:18:53 -05:00
Gergely Nagy
276bf850c9
Add tests for the Pronouns field
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-03 15:18:53 -05:00
Gergely Nagy
6aba69ce85
Enable user pronoun editing from the admin ui
...
While users can edit their own pronouns, the admin UI enables an admin
to edit *any* user setting. As such, pronouns should be editable here,
too.
For the sake of simplicity, the input here is a simple text input field,
rather than a dropdown.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-03 15:18:02 -05:00
Gergely Nagy
efa9649696
services/convert/user: Convert pronouns properly
...
When converting from a `user_model.User` to `api.User` or
`api.UserSettings`, convert the `Pronouns` field too.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-03 15:18:01 -05:00
Gergely Nagy
66ac657159
Add Pronouns to the User and UserSettings api structs
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-03 15:17:15 -05:00
hazycora
1c551f923b
only add name attribute to pronouns input in JS, to ensure fallback works
2024-04-03 15:16:40 -05:00
hazycora
454ceb2ada
add some comments
2024-04-03 15:16:40 -05:00
hazycora
8cbacf850a
Add back ID field to pronouns migration
...
looks unnecessary, but not doing this seems to cause failed tests. Other previous migrations follow this pattern as well.
2024-04-03 15:16:38 -05:00
hazycora
75890e8f37
gofumpt
2024-04-03 15:15:53 -05:00
hazycora
8d086ad91c
change "any/all" to "any pronouns"
2024-04-03 15:15:53 -05:00
hazycora
20f96796d7
use recognisedPronouns variable
2024-04-03 15:15:53 -05:00
hazycora
204dd9e300
Add migration for pronouns
2024-04-03 15:15:53 -05:00
hazycora
bbf906eccc
fix locale function in profile settings
2024-04-03 15:12:30 -05:00
hazycora
21c8c09430
generate swagger
2024-04-03 15:12:30 -05:00
hazycora
74da95df67
move pronouns below full name in user profile settings
2024-04-03 15:12:30 -05:00
hazycora
12e00abe29
add any/all pronoun option to dropdown
2024-04-03 15:12:30 -05:00
hazycora
708327a548
set width on pronoun dropdown and custom input
2024-04-03 15:12:30 -05:00
hazycora
864a4332df
Make "Custom" pronoun option italic
2024-04-03 15:12:29 -05:00
hazycora
563e8b49e8
Add "Unspecified" option to pronouns dropdown
2024-04-03 15:12:29 -05:00