oliverpool
c1f7c49804
webhook: add admin-hooks new list test
2024-04-09 20:02:14 +02:00
oliverpool
7d95cf6472
webhook: add org tests
2024-04-09 12:02:10 +02:00
Earl Warren
2d3705bb81
Merge pull request '[CHORE] Remove Microsoft SQL Server support' ( #3040 ) from gusted/forgejo-rm-mssql into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3040
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-09 05:34:54 +00:00
Earl Warren
26fc7c3461
Merge pull request '[gitea] week 15 cherry pick' ( #3091 ) from algernon/forgejo:wcp/week-15 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3091
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-09 05:31:44 +00:00
JakobDev
613e5387c5
Count downloads for tag archives
2024-04-08 12:51:27 +02:00
sillyguodong
16696a42f5
Add API for Variables
( #29520 )
...
close #27801
---------
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 62b073e6f31645e446c7e8d6b5a506f61b47924e)
Conflicts:
- modules/util/util.go
Trivial resolution, only picking the newly introduced function
- routers/api/v1/swagger/options.go
Trivial resolution. We don't have UserBadges, don't pick that part.
- templates/swagger/v1_json.tmpl
Regenerated.
2024-04-07 10:57:53 +02:00
Shiny Nematoda
baac15f316
[FEAT] Support Include/Exclude Filters for Grep ( #3058 )
...
fixes `TestRepoSearch` failing occasionally
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3058
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2024-04-06 13:25:39 +00:00
Gusted
5691becace
Merge pull request 'Fix "view file" button in diff compare view' ( #3046 ) from Mai-Lapyst/forgejo:fix-diffcompare-viewfile-url into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3046
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-06 12:25:12 +00:00
Gusted
d8eebe7698
Merge pull request 'Add optional pronoun field in user settings' ( #1518 ) from hazy/forgejo:feat/pronoun-field into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1518
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Gergely Nagy <algernon@noreply.codeberg.org>
2024-04-06 12:23:54 +00:00
Gusted
d5fd40821e
Merge pull request 'feat: extend webfinger to respond to profile page URIs' ( #2883 ) from realaravinth/forgejo:cb-2870 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2883
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-06 12:21:35 +00:00
Mai-Lapyst
ca8479c681
Update integration test
2024-04-06 11:19:32 +02:00
Earl Warren
3093f8765f
Merge pull request 'Fix #3030 add Cache-Control header for health-check' ( #3060 ) from adaaa/forgejo:cache-control-healthz into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3060
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-06 08:09:39 +00:00
Earl Warren
6077d10be3
Merge pull request 'feat: improve nuget nuspec api' ( #2996 ) from viceice/forgejo:feat/nuget/nuspec-api into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2996
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-06 07:48:31 +00:00
Earl Warren
a015ada29a
Merge pull request '[BUG] fix webhook creation payload ref' ( #3055 ) from oliverpool/forgejo:webhook_fix_create_payload_ref into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3055
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-06 07:25:20 +00:00
Ada
323d7ad507
Remove useless t.run
2024-04-06 00:43:22 +02:00
Ada
84f5115bd1
Add health-check test
2024-04-06 00:34:55 +02:00
Michael Kriese
bc72fd7f46
feat: improve nuget nuspec api
2024-04-05 23:39:45 +02:00
Gusted
2d9afd0c21
[CHORE] Remove Microsoft SQL Server Support
...
- Per https://codeberg.org/forgejo/discussions/issues/122
2024-04-05 23:37:36 +02:00
Earl Warren
8205ed9495
Merge pull request '[FEAT] sourcehut webhooks' ( #3022 ) from oliverpool/forgejo:webhook_7_sourcehut into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3022
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2024-04-05 19:23:54 +00:00
oliverpool
9d2919248b
[TEST] webhook creation payload ref
2024-04-05 16:21:41 +02:00
oliverpool
ed9dd0e62a
[FEAT] sourcehut webhooks
2024-04-05 10:20:40 +02:00
Mai-Lapyst
06478da63b
Add integration test
2024-04-05 08:25:24 +02:00
Earl Warren
4ccb8c8b1f
Merge pull request '[FEAT] Add label filters in organization issues dashboard' ( #2944 ) from iminfinity/forgejo:add/label-filters into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2944
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-04 16:58:12 +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
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
iminfinity
8d13ed4a8d
add label filters in org/{org_name}/issues
2024-04-04 17:57:11 +05:30
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
Earl Warren
efd0f0f224
Merge pull request 'Port archived labels visual filter' ( #2887 ) from 0ko/forgejo:lable-archive-bw into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2887
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-03 20:06:39 +00:00
Earl Warren
c360b630e3
Merge pull request '[FEAT] Allow non-explicit push options' ( #2984 ) from gusted/forgejo-push-options into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2984
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
2024-04-03 19:00:16 +00:00
Gusted
f5ad6d4be5
[FEAT] Allow non-explicit push options
...
- Currently the parsing of the push options require that `=` is present
in the value, however we shouldn't be that strict and assume if that's
not set the value is `true`.
- This allow for more natural commands, so become `-o force-push=true`
simply `-o force-push`.
- Add unit test.
2024-04-03 20:11:49 +02:00
Gusted
8df9100994
[BUG] Disable 'View at this point in history' for wikis
...
- Don't show the 'View at this point in history' button for wikis as
wikis don't have this feature.
- Adds integration test
- Resolves https://codeberg.org/forgejo/forgejo/issues/2995
2024-04-03 16:00:36 +02:00
0ko
2f38c2220f
[I18N] Allow custom repo size format
...
Following https://codeberg.org/forgejo/forgejo/pulls/2528#issuecomment-1721846
- simplify the code
- allow to have custom format in translations
- provide proper Russian translation because test depends on it
2024-04-02 18:43:12 +05:00
Aravinth Manivannan
2c2f146895
fix: respond with JSON Resource Descriptor Content-Type per RFC7033
2024-04-02 14:11:47 +05:30
Earl Warren
385bcca788
Merge pull request 'Data size unit localization' ( #2528 ) from 0ko/forgejo:sizelocalize into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2528
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-04-01 19:31:26 +00:00
Earl Warren
ec091b59af
Merge pull request '[FEAT] Configure if protected branch rule should apply to admins' ( #2867 ) from gusted/forgejo-protectedbranch-admins into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2867
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-01 19:28:29 +00:00
0ko
53dc9f3393
Add integration test for (non-)archived label properties
2024-04-01 21:38:34 +05:00
Earl Warren
b9a1d5c2be
Merge pull request 'Highlight signed tags like signed commits' ( #2534 ) from algernon/forgejo:message-in-a-bottle-ctrl-w-tag into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2534
2024-04-01 13:38:55 +00:00
0ko
c2d137d1f2
Rename ByteSize to ReadableSize
2024-03-31 20:17:12 +05:00
Earl Warren
99842e9ff5
Merge pull request '[TESTS] prevent overriding testlogger when calling mainApp' ( #2846 ) from oliverpool/forgejo:non_failing_test into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2846
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-03-31 13:50:20 +00:00
oliverpool
6b857193ff
[TESTS] pull review deleted from gitea#29888
...
Instead of db.TruncateBeans(db.DefaultContext, &issues_model.Review{}), reviews are deleted using issue.DeleteReview
2024-03-31 13:53:47 +02:00
oliverpool
bd97bd875d
[TESTS] deliver webhooks on localhost
2024-03-31 10:34:37 +02:00
Gergely Nagy
bc080070ed
An integration test for SSH signed tags
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-30 20:14:42 +01:00
0ko
bba1884582
Add integration test for TrSize
2024-03-30 21:10:47 +05:00
wxiaoguang
ea4755be6d
Relax generic package filename restrictions ( #30135 )
...
Now, the chars `=:;()[]{}~!@#$%^ &` are possible as well
Fixes #30134
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
(cherry picked from commit 1ad48f781eb0681561b083b49dfeff84ba51f2fe)
2024-03-30 07:17:31 +01:00
crazeteam
3aa6f17e1e
Remove repetitive words ( #30091 )
...
remove repetitive words
Signed-off-by: crazeteam <lilujing@outlook.com>
(cherry picked from commit ecbc9cee2b69cd9707acb1e23ccbca048484c460)
2024-03-30 07:17:30 +01:00