erik
f3e58f29b0
Pass unvalidated input to field
2024-04-12 14:24:38 +02:00
erik
feca77b040
Rename for clearer semantics
2024-04-12 13:58:55 +02:00
erik
94091cc144
Don't use TEXT type
2024-04-09 16:40:09 +02:00
erik
6310e75d8d
Update todo
2024-04-09 16:33:13 +02:00
erik
075857f030
Update docs
2024-04-09 16:32:49 +02:00
erik
19628b84c6
use context
2024-04-09 16:00:51 +02:00
erik
80888b80d6
Fix imports
2024-04-09 16:00:28 +02:00
erik
af0d0f7745
Merge branch 'forgejo' into forgejo-federated-star
2024-04-09 15:38:11 +02:00
Earl Warren
9d6389352d
Merge pull request 'Update dependency updates to v16.0.1' ( #3119 ) from renovate/updates-16.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3119
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-04-09 13:02:08 +00:00
erik
bbcb8e7060
Bits of format
2024-04-09 14:21:51 +02:00
erik
bb83a8d85e
make fmt
2024-04-09 12:58:28 +02:00
erik
0eb71098a2
make tidy
2024-04-09 12:53:56 +02:00
erik
e2c9653b33
Update go version and protobuf deps
2024-04-09 12:47:26 +02:00
erik
2b9977d843
Linting
2024-04-09 11:46:11 +02:00
erik
511ef0bf5b
Use federated staring func
2024-04-09 11:24:22 +02:00
erik
8579b7f7bb
Use optional.Some
2024-04-09 11:21:57 +02:00
erik
97343470bc
Merge branch 'forgejo' into forgejo-federated-star
2024-04-09 10:42:42 +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
Renovate Bot
4c5b5109c6
Update dependency updates to v16.0.1
2024-04-09 00:06:50 +00:00
Earl Warren
7179ae8cc1
Merge pull request '[GITEA PORT] Do some performance optimize for issues list and view issue/pull (gitea#29515)' ( #3116 ) from oliverpool/forgejo:port_29515 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3116
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 19:04:40 +00:00
0ko
640bcef48e
Merge pull request 'Made "no key to sign this commit with" error clearer' ( #3090 ) from Laxystem/forgejo:forgejo into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3090
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
2024-04-08 19:04:15 +00:00
Earl Warren
721edf2ed8
Merge pull request 'Require dashboard approval for some deps' ( #3114 ) from viceice/forgejo:chore/renovate-settings into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3114
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 18:59:56 +00:00
Earl Warren
11e966b402
Merge pull request 'Renovate enable weekly lockfile maintenance' ( #3115 ) from viceice/forgejo:chore/renovate-lockfile-maintenance into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3115
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 18:58:49 +00:00
Gusted
2e5f9d5035
Merge pull request 'Update dependency temporal-polyfill to v0.2.4' ( #3089 ) from renovate/temporal-polyfill-0.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3089
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-04-08 14:34:29 +00:00
Gusted
43402b3d9a
Merge pull request 'Update ghcr.io/visualon/renovate Docker tag to v37.280.0' ( #3068 ) from renovate/ghcr.io-visualon-renovate-37.x into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3068
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-04-08 14:31:56 +00:00
Renovate Bot
6b7aaad986
Update ghcr.io/visualon/renovate Docker tag to v37.280.0
2024-04-08 14:05:06 +00:00
Earl Warren
48c962343e
Merge pull request '[Feat]Count downloads for tag archives' ( #2976 ) from JakobDev/forgejo:archivecount into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2976
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 13:39:11 +00:00
Earl Warren
7e5cf471a0
Merge pull request '[PORT] gitea#30190: Add unique index for project_issue to prevent duplicate data' ( #3096 ) from gusted/forgejo-gt-30190 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3096
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-04-08 13:30:11 +00:00
oliverpool
9ae805538a
Use HasAttachmentSupport method
2024-04-08 15:24:00 +02:00
oliverpool
33444a3308
Fix: missing value for In() condition
2024-04-08 15:16:40 +02:00
Lunny Xiao
c9854bee98
Do some performance optimize for issues list and view issue/pull (gitea#29515)
...
This PR do some performance optimzations.
- [x] Add `index` for the column `comment_id` of `Attachment` table to
accelerate query from the database.
- [x] Remove unnecessary database queries when viewing issues. Before
some conditions which id = 0 will be sent to the database
- [x] Remove duplicated load posters
- [x] Batch loading attachements, isread of comments on viewing issue
---------
Co-authored-by: Zettat123 <zettat123@gmail.com>
Conflicts:
models/issues/comment_code.go: function was renamed in Forgejo
models/migrations/migrations.go: migration already ported
2024-04-08 14:47:31 +02:00
JakobDev
94d4b241b3
Resolve conflicts
2024-04-08 12:55:05 +02:00
JakobDev
ffbe89ec2e
Update Frontend
2024-04-08 12:54:43 +02:00
JakobDev
a610e93cc9
Add fix and migration
2024-04-08 12:54:43 +02:00
JakobDev
613e5387c5
Count downloads for tag archives
2024-04-08 12:51:27 +02:00
Michael Kriese
fe7b8d671b
Renovate enable weekly lockfile maintenance
2024-04-08 12:40:29 +02:00
Michael Kriese
cd96d33598
Require dashboard approval for some deps
2024-04-08 12:19:13 +02:00
Renovate Bot
e37fd3a8f4
Update dependency temporal-polyfill to v0.2.4
2024-04-08 10:09:28 +00:00
Earl Warren
f8a5d6872c
Merge pull request '[PORT] gitea#29953: Fix:the rounded corners of the folded file are not displayed correctly' ( #3102 ) from algernon/forgejo:gitea/port/29953 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3102
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
2024-04-08 09:26:34 +00:00
Earl Warren
b7303cd3b5
Merge pull request 'Run Renovate more often' ( #3108 ) from viceice/forgejo:chore/renovate-settings into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3108
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 08:11:32 +00:00
Michael Kriese
cca2141078
Run Renovate more often
2024-04-08 09:19:58 +02:00
Earl Warren
cc1ea0b0b0
Merge pull request 'Fix renovate cache' ( #3106 ) from viceice/forgejo:chore/renovate-cache-fix into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3106
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 07:15:08 +00:00
Michael Kriese
ad9af34f99
Fix renovate cache
2024-04-08 08:47:02 +02:00
Earl Warren
1830df1922
Merge pull request '[PORT] gitea#30279: Update JS dependencies and add new eslint rules' ( #3097 ) from gusted/forgejo-gt-30279 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3097
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-08 05:51:12 +00:00
Earl Warren
6b5236a359
Merge pull request '[PORT] gitea#30282: Markup color and font size fixes' ( #3099 ) from gusted/forgejo-gt-30282 into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3099
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-04-07 19:52:58 +00:00
Earl Warren
ba2cd8ee64
Merge pull request '[BUG] Fix unblock action' ( #3086 ) from gusted/forgejo-unblock into forgejo
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3086
2024-04-07 15:33:51 +00:00
HEREYUA
43122ca984
Fix:the rounded corners of the folded file are not displayed correctly ( #29953 )
...
Fix: [#29933 ](https://github.com/go-gitea/gitea/issues/29933 )
**Before**
![image](https://github.com/go-gitea/gitea/assets/37935145/71ec80f6-5896-4e4a-b686-4d792c11ebe2 )
**After**
![image](https://github.com/go-gitea/gitea/assets/37935145/81348a61-946a-4562-881d-8d873e50228f )
---------
Co-authored-by: silverwind <me@silverwind.io>
Conflicts:
- web_src/css/modules/segment.css
Ported by adding the new selector with a larger radius,
keeping the existing one with ours.
2024-04-07 16:37:36 +02:00
Gergely Nagy
9bd261acde
[DEADCODE] update
...
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-07 15:40:31 +02:00
silverwind
8583b7f485
Fix right-aligned input icons ( #30301 )
...
Fix regression from https://github.com/go-gitea/gitea/pull/30194 where
right-aligned items would not display correctly.
Before and After:
<img width="285" alt="Screenshot 2024-04-06 at 01 12 11"
src="https://github.com/go-gitea/gitea/assets/115237/f9168db5-0f69-4b5d-ba17-b60145ac4a09 ">
<img width="285" alt="Screenshot 2024-04-06 at 01 11 49"
src="https://github.com/go-gitea/gitea/assets/115237/639ab6ed-d018-4e3a-9980-1f079e4ebe9d ">
Frontpage search tweaked to accommodate (which was the reason for the
changes that broken above):
<img width="445" alt="Screenshot 2024-04-06 at 01 11 34"
src="https://github.com/go-gitea/gitea/assets/115237/1919220b-390e-463a-8e3d-33a3556bf111 ">
<img width="438" alt="Screenshot 2024-04-06 at 01 11 39"
src="https://github.com/go-gitea/gitea/assets/115237/fd94f8e4-1d56-4b04-99e3-1cd240bd7ab4 ">
(cherry picked from commit 94aad35a120b05897a0b6b97f0d9605a52ea9642)
2024-04-07 15:40:31 +02:00