Earl Warren
1d8bc5215f
[CI] disable redis test, no redis server yet in CI
...
(cherry picked from commit e1bbfa3619
)
(cherry picked from commit 91245ca917
)
(cherry picked from commit 705d0558be
)
(cherry picked from commit 9247594970
)
(cherry picked from commit 9db1158a48
)
(cherry picked from commit 3b36b77d87
)
(cherry picked from commit 162fa1d8ae
)
(cherry picked from commit d03d0afbb5
)
(cherry picked from commit 7b8f92f787
)
(cherry picked from commit 035abca969
)
(cherry picked from commit a8fbf6bb56
)
(cherry picked from commit 3be681d037b07880236cae1aa70245e5eb4d1497)
(cherry picked from commit 7e5d471c83
)
(cherry picked from commit 323801d935
)
(cherry picked from commit 3fdfe4bfea
)
(cherry picked from commit 58a07421a4
)
(cherry picked from commit dbb71a4c85
)
(cherry picked from commit d442113520
)
(cherry picked from commit d3329f01f8
)
(cherry picked from commit 069a1d68b8
)
(cherry picked from commit 14919e609a
)
(cherry picked from commit 49b76be106
)
(cherry picked from commit 0fe9f257d2
)
(cherry picked from commit b583bebeab
)
(cherry picked from commit 5c616e43a6
)
(cherry picked from commit 854bcea905
)
(cherry picked from commit c2acb181c5
)
(cherry picked from commit 1cb07e71d1
)
(cherry picked from commit 5d3f09e635
)
(cherry picked from commit f8bf1c8d42
)
(cherry picked from commit a471ed4576
)
(cherry picked from commit 95c755f4e3
)
2024-01-01 13:02:36 +01:00
Loïc Dachary
e2d1598475
[CI] set PASSWORD_HASH_ALGO = argon2 for integration tests
...
(cherry picked from commit 1d7ce2a39c
)
(cherry picked from commit 3af8757583
)
(cherry picked from commit 0b81815209
)
(cherry picked from commit 7180a3222a
)
(cherry picked from commit 069044f4a6
)
(cherry picked from commit dd1438f389
)
(cherry picked from commit 4ae6b5d64d
)
(cherry picked from commit c572666d78
)
(cherry picked from commit de0a4480bc
)
(cherry picked from commit 60272ef4f7
)
(cherry picked from commit a68fdde4be
)
(cherry picked from commit ff448cf3a6
)
(cherry picked from commit 208498caaa
)
(cherry picked from commit 1abd3efad8
)
(cherry picked from commit 818c7f4ca9
)
(cherry picked from commit 1e552bbe44
)
(cherry picked from commit 88dbd6da1d
)
(cherry picked from commit b1c86fb777
)
(cherry picked from commit 185b1e25b1
)
(cherry picked from commit 0af35605ae
)
(cherry picked from commit 350975b63f
)
(cherry picked from commit 2788142515
)
(cherry picked from commit b418a53717b247e10d2dda26d1d236400d423a94)
(cherry picked from commit 086cde3f10
)
(cherry picked from commit 3e4818c779
)
(cherry picked from commit f2bf1fe64f
)
(cherry picked from commit db4eb288ee
)
(cherry picked from commit f8db31821b
)
(cherry picked from commit 2b13c06f49
)
(cherry picked from commit 3fd0092056
)
(cherry picked from commit 6f7662507f
)
(cherry picked from commit 8a15e41887
)
Conflicts:
tests/mysql8.ini.tmpl
https://codeberg.org/forgejo/forgejo/pulls/1573
(cherry picked from commit 56e67e34e2
)
(cherry picked from commit 6a049a939b
)
(cherry picked from commit 454fe7f5e1
)
(cherry picked from commit 93fa4406b7
)
(cherry picked from commit eab1c72227
)
(cherry picked from commit 8228adfd26
)
(cherry picked from commit ffdbe1bac8
)
(cherry picked from commit 7df4407714
)
(cherry picked from commit 9d8c4bc7ca
)
(cherry picked from commit 6696e09b1f
)
(cherry picked from commit 1bdc0e3458
)
2024-01-01 13:02:36 +01:00
Loïc Dachary
a1a947ce03
[CI] implementation: forgejo container images
...
(cherry picked from commit dd1971d4e6
)
(cherry picked from commit 3981dbaf8c
)
(cherry picked from commit 8dff3cc2d1
)
(cherry picked from commit e7673e5d22
)
(cherry picked from commit 326174064b
)
(cherry picked from commit eb769dbde4
)
(cherry picked from commit 335829ade2
)
(cherry picked from commit 5e8e4f549d
)
Conflicts:
Dockerfile
Dockerfile.rootless
(cherry picked from commit b777fc91d0
)
(cherry picked from commit 02cda642ec
)
(cherry picked from commit 96ef93f3bc
)
(cherry picked from commit aa424551f2
)
Conflicts:
Dockerfile
Dockerfile.rootless
(cherry picked from commit e54fa86e49
)
(cherry picked from commit 043fa6d664
)
(cherry picked from commit 805b162480
)
(cherry picked from commit 86bf362a3c
)
(cherry picked from commit 13e0007959
)
(cherry picked from commit 00ff6f7cb3
)
(cherry picked from commit 95c7d8e883
)
(cherry picked from commit fb033d2bb6
)
(cherry picked from commit 1147910a55
)
(cherry picked from commit 6590b6e99c
)
(cherry picked from commit 78938113e4
)
(cherry picked from commit 57338224f172e30a72f03f565aa47876e1213e77)
(cherry picked from commit 4266cbcdd4
)
(cherry picked from commit bdc766a5a2
)
(cherry picked from commit 6fb9ad8504
)
(cherry picked from commit c4e6383240
)
(cherry picked from commit 490fa55b3a
)
(cherry picked from commit 802c8e72be
)
(cherry picked from commit 2b1efe2030
)
(cherry picked from commit fdcdd7389a
)
(cherry picked from commit b9ae491650
)
(cherry picked from commit e7867c6512
)
(cherry picked from commit 0a43263fa6
)
(cherry picked from commit 64bb6b8982
)
(cherry picked from commit dcc1fd6292
)
(cherry picked from commit b0250fd533
)
(cherry picked from commit 427b059996
)
(cherry picked from commit b6058e28cb
)
(cherry picked from commit b91a41dd79
)
(cherry picked from commit b8bcb22726
)
(cherry picked from commit 69ae87f11f
)
Conflicts:
Dockerfile
Dockerfile.rootless
https://codeberg.org/forgejo/forgejo/pulls/2029
(cherry picked from commit a4a846a8d5
)
2024-01-01 13:02:36 +01:00
Loïc Dachary
6fc63d48c4
[CI] implementation: publish forgejo- binaries instead of gitea-
...
(cherry picked from commit 6d910daafb
)
(cherry picked from commit d447861cc9
)
(cherry picked from commit dc6e9d8799
)
(cherry picked from commit ef232fa20c
)
(cherry picked from commit 290c55517a
)
(cherry picked from commit db48af1784
)
(cherry picked from commit 85f33237a2
)
(cherry picked from commit 76899ee33e
)
(cherry picked from commit 148b3ee9cb
)
(cherry picked from commit 1f6ad8f465
)
(cherry picked from commit c330afdba3
)
(cherry picked from commit b1f87075a7
)
(cherry picked from commit 7da40992cc
)
(cherry picked from commit 7ab19ff5e5
)
(cherry picked from commit e61e44921b
)
(cherry picked from commit 83646119fb
)
(cherry picked from commit 20cf748e61
)
(cherry picked from commit 0a99919cec
)
(cherry picked from commit 21215222a6
)
(cherry picked from commit 0f6c5658d7
)
(cherry picked from commit 1752e43d3c
)
(cherry picked from commit 2332080929
)
(cherry picked from commit 590aabf2a2
)
(cherry picked from commit 87d8b7b315c3e25bd3fcf9dc9c1d359bcd107281)
(cherry picked from commit ff37de38be
)
(cherry picked from commit cee32c9e7a
)
(cherry picked from commit 39faade524
)
(cherry picked from commit 0e5ca477b6
)
(cherry picked from commit 70e2730f7b
)
(cherry picked from commit 2ad4003944
)
(cherry picked from commit 2429de9e87
)
(cherry picked from commit c133915fc1
)
(cherry picked from commit c607dcaf9f
)
(cherry picked from commit 00f006637f
)
(cherry picked from commit 0de6646475
)
(cherry picked from commit b05e83bb1e
)
(cherry picked from commit cb71f139f0
)
(cherry picked from commit 2a8b08ee4f
)
(cherry picked from commit 3ebab73c4e
)
(cherry picked from commit 07626c088c
)
(cherry picked from commit 844e9bc999
)
(cherry picked from commit c315e24751
)
(cherry picked from commit f5f2b41f3c
)
(cherry picked from commit 09134424a8
)
2024-01-01 13:02:36 +01:00
Earl Warren
5702aeab2d
[CLI] implement forgejo-cli
...
(cherry picked from commit 2555e315f7
)
(cherry picked from commit 51b9c9092e
)
[CLI] implement forgejo-cli (squash) support initDB
(cherry picked from commit 5c31ae602a
)
(cherry picked from commit bbf76489a7
)
Conflicts:
because of d0dbe52e76
upgrade to https://pkg.go.dev/github.com/urfave/cli/v2
(cherry picked from commit b6c1bcc008
)
[CLI] implement forgejo-cli actions
(cherry picked from commit 08be2b226e
)
(cherry picked from commit b6cfa88c6e
)
(cherry picked from commit 59704200de
)
[CLI] implement forgejo-cli actions generate-secret
(cherry picked from commit 6f7905c8ec
)
(cherry picked from commit e085d6d273
)
[CLI] implement forgejo-cli actions generate-secret (squash) NoInit
(cherry picked from commit 962c944eb2
)
[CLI] implement forgejo-cli actions register
(cherry picked from commit 2f95143000
)
(cherry picked from commit 42f2f8731e
)
[CLI] implement forgejo-cli actions register (squash) no private
Do not go through the private API, directly modify the database
(cherry picked from commit 1ba7c0d39d
)
[CLI] implement forgejo-cli actions
(cherry picked from commit 6f7905c8ec
)
(cherry picked from commit e085d6d273
)
[CLI] implement forgejo-cli actions generate-secret (squash) NoInit
(cherry picked from commit 962c944eb2
)
(cherry picked from commit 4c121ef022
)
Conflicts:
cmd/forgejo/actions.go
tests/integration/cmd_forgejo_actions_test.go
(cherry picked from commit 36997a48e3
)
[CLI] implement forgejo-cli actions (squash) restore --version
Refs: https://codeberg.org/forgejo/forgejo/issues/1134
(cherry picked from commit 9739eb52d8
)
[CI] implement forgejo-cli (squash) the actions subcommand needs config
(cherry picked from commit def638475122a26082ab3835842c84cd03839154)
Conflicts:
cmd/main.go
https://codeberg.org/forgejo/forgejo/pulls/1209
(cherry picked from commit a1758a3910
)
(cherry picked from commit 935fa650c7
)
(cherry picked from commit cd21026bc9
)
(cherry picked from commit 1700b8973a
)
(cherry picked from commit 1def42a379
)
(cherry picked from commit 839d97521d
)
(cherry picked from commit fd8c13be6b
)
(cherry picked from commit 588e5d552f
)
(cherry picked from commit 151a726620
)
[v1.22] [CLI] implement forgejo-cli
https://codeberg.org/forgejo/forgejo/pulls/1541
(cherry picked from commit 46708de7b9
)
(cherry picked from commit a8e5c1369e
)
(cherry picked from commit c8a32aaf24
)
Conflicts:
models/actions/main_test.go
https://codeberg.org/forgejo/forgejo/pulls/1656
(cherry picked from commit 79f4553063
)
(cherry picked from commit 0379da0cf5
)
(cherry picked from commit 331d58c085
)
(cherry picked from commit 89705502c4
)
(cherry picked from commit 4723d5febf
)
(cherry picked from commit e71b260130
)
(cherry picked from commit 6a376a5b48
)
Conflicts:
cmd/main.go
https://codeberg.org/forgejo/forgejo/pulls/1969
(cherry picked from commit 6ba97cf4b5
)
(cherry picked from commit e0a6ebfeca
)
2024-01-01 13:02:36 +01:00
Earl Warren
bbd4725bfd
[CI] DEFAULT_ACTIONS_URL = https://code.forgejo.org
...
[CI] Revert "Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` (#25581 )"
This reverts commit 67bd9d4f1e
.
(cherry picked from commit 0547e94023
)
(cherry picked from commit d21ad654ad
)
(cherry picked from commit b905e9d838
)
(cherry picked from commit 251a5bf235b1723bc2bc324f9e8c03a8668bb5ae)
(cherry picked from commit b370e47694
)
(cherry picked from commit 2cc28d0785
)
(cherry picked from commit ed870a39e9
)
(cherry picked from commit 7bb0c4654e
)
(cherry picked from commit bab1f552c3
)
Conflicts:
custom/conf/app.example.ini
modules/setting/actions.go
https://codeberg.org/forgejo/forgejo/pulls/1413
[CI] DEFAULT_ACTIONS_URL = https://codeberg.org
(cherry picked from commit 52b364ddbd
)
(cherry picked from commit 99887cd567
)
(cherry picked from commit cd5788782a
)
(cherry picked from commit 71c698a704
)
(cherry picked from commit 71386241dd
)
(cherry picked from commit b7ab05aeac
)
(cherry picked from commit e78b9ca59c
)
(cherry picked from commit edb3adf460
)
(cherry picked from commit 3e40088197
)
[BRANDING] DEFAULT_ACTIONS_URL = https://code.forgejo.org
(cherry picked from commit d0e4512c90
)
(cherry picked from commit 8ba6e04709
)
(cherry picked from commit 6349081044
)
(cherry picked from commit e06bd44495
)
(cherry picked from commit d58219d8e1
)
(cherry picked from commit 052f2c2aa4
)
(cherry picked from commit 29dc395386
)
(cherry picked from commit 9eef3f59f3
)
(cherry picked from commit d650391fed
)
(cherry picked from commit c2e6e8c55d
)
(cherry picked from commit e28a47741d
)
[CI] DEFAULT_ACTIONS_URL support for self & github (squash)
Refs: https://codeberg.org/forgejo/forgejo/issues/1062
(cherry picked from commit 74cc25376e
)
(cherry picked from commit 405430708f
)
(cherry picked from commit 0274a6dee7f383bcd6b65b995b991b5ab0ee635a)
(cherry picked from commit be5cda0fd0
)
(cherry picked from commit d27474849f
)
(cherry picked from commit 4a5e9e2d81
)
(cherry picked from commit 65b31906b2
)
(cherry picked from commit 13cf0b0963
)
Conflicts:
custom/conf/app.example.ini
modules/setting/actions.go
https://codeberg.org/forgejo/forgejo/pulls/1413
(cherry picked from commit 49529badce
)
Conflicts:
custom/conf/app.example.ini
docs/content/administration/config-cheat-sheet.en-us.md
modules/setting/actions.go
https://codeberg.org/forgejo/forgejo/pulls/1460
(cherry picked from commit 00327b9b1f
)
(cherry picked from commit 3b322e43d5
)
(cherry picked from commit 492cc52059
)
Conflicts:
modules/setting/actions.go
https://codeberg.org/forgejo/forgejo/pulls/1573
(cherry picked from commit 9027b655df
)
(cherry picked from commit 4764383028
)
(cherry picked from commit fbb00fd1cf
)
(cherry picked from commit 417cd6c801
)
(cherry picked from commit 6b70773ad8
)
(cherry picked from commit 9ba069327d
)
Conflicts:
modules/setting/actions.go
https://codeberg.org/forgejo/forgejo/pulls/1827
(cherry picked from commit 727edf19ee
)
(cherry picked from commit 689326ce20
)
(cherry picked from commit 745d60aec4
)
(cherry picked from commit cb4ae4582c
)
(cherry picked from commit 48d5ffe1c0
)
Conflicts:
custom/conf/app.example.ini
https://codeberg.org/forgejo/forgejo/pulls/2068
2024-01-01 13:02:21 +01:00
Earl Warren
d9c8033565
[FORGEJO] temporarily remove .github & .gitea
2024-01-01 12:49:03 +01:00
GiteaBot
f8f394cb0e
[skip ci] Updated translations via Crowdin
2024-01-01 00:27:55 +00:00
Lunny Xiao
da58bb85fa
Upgrade xorm to new version which supported update join for all supported databases ( #28590 )
...
Fix https://github.com/go-gitea/gitea/pull/28547#issuecomment-1867740842
Since https://gitea.com/xorm/xorm/pulls/2383 merged, xorm now supports
UPDATE JOIN.
To keep consistent from different databases, xorm use
`engine.Join().Update`, but the actural generated SQL are different
between different databases.
For MySQL, it's `UPDATE talbe1 JOIN table2 ON join_conditions SET xxx
Where xxx`.
For MSSQL, it's `UPDATE table1 SET xxx FROM TABLE1, TABLE2 WHERE
join_conditions`.
For SQLITE per https://www.sqlite.org/lang_update.html , sqlite support
`UPDATE table1 SET xxx FROM table2 WHERE join conditions` from
3.33.0(2020-8-14).
POSTGRES is the same as SQLITE.
2023-12-31 05:00:35 +00:00
vincent
f8a1bad883
Fix: system webhooks API bug ( #28531 )
...
- Fix the bug about admin/hooks API that `GET /admin/hooks` can only
fetch system_hooks, `POST /admin/hooks` can only create default_hooks.
2023-12-31 04:31:50 +00:00
Nanguan Lin
b6e0957b9c
Fix alpine package files are not rebuilt ( #28638 )
...
I noticed the `BuildAllRepositoryFiles` function under the Alpine folder
is unused and I thought it was a bug.
But I'm not sure about this. Was it on purpose?
2023-12-31 12:08:46 +08:00
Lunny Xiao
cb10f2767c
Fix migration test ( #28659 )
2023-12-30 21:54:48 +08:00
wxiaoguang
e5d8c4b8d4
Avoid cycle-redirecting user/login page ( #28636 )
...
Fix #28231 , and remove some unused code. The `db.HasEngine` doesn't seem
useful because the db engine is always initialized before web route.
2023-12-30 08:48:34 +00:00
Mihir Joshi
3d474110c1
Fix long package version names overflowing ( #28619 )
...
Fixes #28534
---
Before:
![image](https://github.com/go-gitea/gitea/assets/50193156/b229551c-0a7d-4a99-9553-1f11b994876a )
After:
<img width="304" alt="image"
src="https://github.com/go-gitea/gitea/assets/50193156/53d04ad0-6d5c-47e2-8a7d-30a4d5dd9959 ">
Should we also apply this for long filenames in Assets?
It looks like this currently:
<img width="285" alt="image"
src="https://github.com/go-gitea/gitea/assets/50193156/e2dcbb2e-30d5-4e35-b304-6274ef60bda7 ">
---------
Co-authored-by: Mihir <mihir.joshi@senpiper.com>
2023-12-30 07:42:16 +00:00
silverwind
ce55a74374
Update JS dependencies ( #28537 )
...
- Update all JS dependencies excluding mcaptcha (breaking changes) and
stylelint (plugin not compatible with v16)
- Regenerate SVGs
- Update markdownlint rule names
- Fix one issue of heading in markdown discovered during lint
- Update for monaco options renames
- Fix stylelint rule length-zero-no-unit for custom properties
- Tested editor, swagger, sorting, vue, lint
2023-12-30 05:29:03 +00:00
wxiaoguang
19b1b698c9
Improve document for ARTIFACT_RETENTION_DAYS ( #28646 )
...
Follow #28626
2023-12-29 06:44:58 +00:00
Denys Konovalov
f10d716ff4
fix empty ref for cron workflow runs ( #28640 )
...
Fix #27678
Please see
https://github.com/go-gitea/gitea/issues/27678#issuecomment-1871445853
for details.
2023-12-29 06:18:57 +00:00
wxiaoguang
19c45dd479
Improve 1.22 document for Database Preparation ( #28643 )
...
Fix #28247
2023-12-29 05:42:22 +00:00
GiteaBot
4995b4a057
[skip ci] Updated translations via Crowdin
2023-12-29 00:20:25 +00:00
Denys Konovalov
6c133b9fe0
switch destination directory for apt signing keys ( #28639 )
...
According to [Debian
docs](https://wiki.debian.org/DebianRepository/UseThirdParty ):
> The certificate MUST NOT be placed in /etc/apt/trusted.gpg.d or loaded
by apt-key add.
> ...
> If future updates to the certificate will be managed by an apt/dpkg
package as recommended below, then it SHOULD be downloaded into
/usr/share/keyrings using the same filename that will be provided by the
package. If it will be managed locally , it SHOULD be downloaded into
/etc/apt/keyrings instead.
> ...
> A sources.list entry SHOULD have the signed-by option set.
2023-12-28 22:08:59 +01:00
Gerd Katzenbeisser
4d1277c0cb
Extend description for ARTIFACT_RETENTION_DAYS ( #28626 )
...
Make it clear that this value is just a default value and that every
artifact can have it's own value.
2023-12-28 10:11:44 +00:00
wxiaoguang
e743570f65
Refactor timeutil package ( #28623 )
...
1. make names more readable
2. remove unused FormatLong/FormatShort
3. use `FormatDate` instead of `Format "2006-01-02"`
2023-12-28 10:09:57 +00:00
wxiaoguang
f3999888c0
Refactor some legacy code and remove unused code ( #28622 )
...
1. use slices.Contains, remove Int64sContains
2. use HashEmail, remove base.EncodeMD5
3. remove BasicAuthEncode, IsLetter
2023-12-28 09:38:59 +00:00
Lunny Xiao
921df1cbad
Remove unnecessary syncbranchToDB with tests ( #28624 )
...
#28361 introduced `syncBranchToDB` in `CreateNewBranchFromCommit`. This
PR will revert the change because it's unnecessary. Every push will
already be checked by `syncBranchToDB`.
This PR also created a test to ensure it's right.
2023-12-28 15:28:57 +08:00
KN4CK3R
4cd666d7dc
Do not set `Accept` header twice ( #28598 )
...
Revert #28550
Don't add the `Accept` header twice.
2023-12-28 03:59:00 +00:00
GiteaBot
c706b3e436
[skip ci] Updated translations via Crowdin
2023-12-28 00:24:21 +00:00
katsu
42149ff1a8
fix wrong link in user and organization profile when using relative url ( #28617 )
...
fix #28436 .
the doc https://docs.gitea.com/usage/profile-readme maybe also need to
be updated to tell that
the main branch is necessary,which means the following three conditions
should be satisfied:
- repo: **.profile**
- branch: **[default branch]**
- markdown: **README.md**
2023-12-27 08:32:27 +00:00
Lunny Xiao
baf0d402d9
Add get actions runner registration token for API routes, repo, org, user and global level ( #27144 )
...
Replace #23761
---------
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-12-27 07:57:54 +00:00
Lunny Xiao
4c29c75968
Fix session key conflict with database keyword ( #28613 )
...
This is a regression from #28220 .
`builder.Cond` will not add `` ` `` automatically but xorm method
`Get/Find` adds `` ` ``.
This PR also adds tests to prevent the method from being implemented
incorrectly. The tests are added in `integrations` to test every
database.
2023-12-27 15:24:23 +08:00
GiteaBot
a1dfffd723
[skip ci] Updated translations via Crowdin
2023-12-27 00:23:45 +00:00
wxiaoguang
d68b9237bf
Use known issue IID to generate new PR index number when migrating from GitLab ( #28616 )
...
Fix #13884
2023-12-26 17:57:25 +00:00
Volodymyr Stelmashchuk
0e9c988373
Update repo-mirror.en-us.md ( #28612 )
...
Add small changes to the doc. The workflow scope require for push code
to github mirror in case the project use the github action compatibility
ui.
2023-12-27 00:36:11 +08:00
GiteaBot
ff7383e83a
[skip ci] Updated translations via Crowdin
2023-12-26 00:24:05 +00:00
delvh
778ad795fd
Refactor deletion ( #28610 )
...
Introduce the new generic deletion methods
- `func DeleteByID[T any](ctx context.Context, id int64) (int64, error)`
- `func DeleteByIDs[T any](ctx context.Context, ids ...int64) error`
- `func Delete[T any](ctx context.Context, opts FindOptions) (int64,
error)`
So, we no longer need any specific deletion method and can just use
the generic ones instead.
Replacement of #28450
Closes #28450
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-12-25 21:25:29 +01:00
wxiaoguang
b41925cee3
Refactor CORS handler ( #28587 )
...
The CORS code has been unmaintained for long time, and the behavior is
not correct.
This PR tries to improve it. The key point is written as comment in
code. And add more tests.
Fix #28515
Fix #27642
Fix #17098
2023-12-25 20:13:18 +08:00
Jean-Baptiste Gomond
d0f24ff4ca
Added instance-level variables ( #28115 )
...
This PR adds instance-level variables, and so closes #27726
![gitea_instance_variables_1](https://github.com/go-gitea/gitea/assets/8344487/ad409cd4-ce36-4c84-a764-34451b0fb63a )
![gitea_instance_variables_2](https://github.com/go-gitea/gitea/assets/8344487/426f0965-dec6-4560-948c-067cdeddd720 )
![gitea_instance_variables_3](https://github.com/go-gitea/gitea/assets/8344487/cf1d7776-4938-4825-922e-cbbbf28a5f33 )
2023-12-25 07:28:59 +00:00
Lunny Xiao
0407a402bb
Revert "improve possible performance bottleneck ( #28547 )" ( #28593 )
...
This reverts commit b35d3fddfa
.
This is totally wrong. I think `Update join` hasn't been supported well
by xorm.
I just revert the PR and will try to send another one.
2023-12-25 06:52:17 +00:00
GiteaBot
7396e3618d
[skip ci] Updated licenses and gitignores
2023-12-25 00:25:23 +00:00
wxiaoguang
8989d466ed
Fix flex container width ( #28603 )
...
Fix #28489
2023-12-24 22:39:02 +08:00
wxiaoguang
8a71f7280a
Fix the scroll behavior for emoji/mention list ( #28597 )
...
Fix #28595 by https://github.com/github/combobox-nav/pull/79 (combobox-nav v2.3.1)
2023-12-24 13:08:41 +08:00
techknowlogick
a1d2a152f8
bump to use alpine3.19 ( #28594 )
2023-12-23 21:04:58 +00:00
wxiaoguang
330aab47b3
Include heap pprof in diagnosis report to help debugging memory leaks ( #28596 )
2023-12-23 19:06:02 +00:00
Kyle D
33439b733a
Disable query token param in integration tests ( #28592 )
...
Follow up to https://github.com/go-gitea/gitea/pull/28484 , this PR
enables the setting for integration tests and migrates a few additional
test queries.
2023-12-23 11:29:51 +08:00
Yarden Shoham
d9ed931c4d
Fix wrong due date rendering in issue list page ( #28588 )
...
It included the hours, minutes, and seconds. By removing these, the date
renders correctly.
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-12-22 10:53:12 -06:00
Zettat123
907c97aabb
Fix `status_check_contexts` matching bug ( #28582 )
...
Fix #28570
Follow #24633
---
Copied from
https://github.com/go-gitea/gitea/issues/28570#issuecomment-1867327999
The feature introduced in #24633 should be compatible with
`status_check_contexts`. However, if one or more of
`status_check_contexts` is not a legal glob expressions, `glob.Compile`
will fail and the contexts cannot match.
21229ed2c8/routers/web/repo/pull.go (L653-L663)
2023-12-22 13:29:50 +00:00
morphelinho
19869d1c11
Fix 405 method not allowed CORS / OIDC ( #28583 )
...
Follow #28184
Follow #28515
Fix problem with 405 method not allowed for CORS wrt OIDC
2023-12-22 12:23:24 +00:00
Jason Song
21229ed2c8
Add more ways to try ( #28581 )
2023-12-22 06:20:59 +00:00
KN4CK3R
838db2f891
Convert to url auth to header auth in tests ( #28484 )
...
Related #28390
2023-12-21 23:59:59 +00:00
wxiaoguang
04b235d094
Fix 500 error of searching commits ( #28576 )
...
Regression of #28454 . Now the string is escaped HTML, so it doesn't
need `| Safe`.
Fix #28575
2023-12-21 23:09:14 +00:00
Lunny Xiao
b35d3fddfa
improve possible performance bottleneck ( #28547 )
...
Replace #28500
---------
Co-authored-by: Giteabot <teabot@gitea.io>
2023-12-21 23:25:57 +01:00