GiteaBot
ff1779d7cf
[skip ci] Updated translations via Crowdin
2024-08-11 00:31:26 +00:00
a1012112796
9633f336c8
Add warning message in merge instructions when AutodetectManualMerge
was not enabled ( #31805 )
...
not enabled
quick-f-i-x https://github.com/go-gitea/gitea/issues/31433 ? , maybe
need more disscusion about better solutions.
example view:
![image](https://github.com/user-attachments/assets/2af7e1e8-42b9-4473-89c7-12d4a9205d3f )
adtion notes about how to enable `AutodetectManualMerge`
![image](https://github.com/user-attachments/assets/28f84317-367a-40d8-b50d-a19ef7c664d4 )
Signed-off-by: a1012112796 <1012112796@qq.com>
2024-08-10 01:09:34 +00:00
Lunny Xiao
791d7fc76a
Add issue comment when moving issues from one column to another of the project ( #29311 )
...
Fix #27278
Replace #27816
This PR adds a meta-comment for an issue when dragging an issue from one
column to another of a project.
<img width="600" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/5fc1d954-430e-4db0-aaee-a00006fa91f5 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
2024-08-09 01:29:02 +00:00
GiteaBot
aa1055fe16
[skip ci] Updated translations via Crowdin
2024-08-09 00:27:50 +00:00
GiteaBot
0b7eb38b24
[skip ci] Updated translations via Crowdin
2024-08-04 00:30:13 +00:00
GiteaBot
2a1ed0cc11
[skip ci] Updated translations via Crowdin
2024-08-03 00:27:17 +00:00
Jason Song
687c118248
Clear up old Actions logs ( #31735 )
...
Part of #24256 .
Clear up old action logs to free up storage space.
Users will see a message indicating that the log has been cleared if
they view old tasks.
<img width="1361" alt="image"
src="https://github.com/user-attachments/assets/9f0f3a3a-bc5a-402f-90ca-49282d196c22 ">
Docs: https://gitea.com/gitea/docs/pulls/40
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-08-02 00:42:08 +00:00
GiteaBot
7674eafe31
[skip ci] Updated translations via Crowdin
2024-08-01 00:31:07 +00:00
Jason Song
9ac57c957f
Improve names of cron jobs for Actions ( #31736 )
...
Before:
<img width="1641" alt="image"
src="https://github.com/user-attachments/assets/60fa3f3e-cf19-4903-b080-616aef28057b ">
After:
<img width="1674" alt="image"
src="https://github.com/user-attachments/assets/b04fd01e-838d-45c3-9655-cb39a2f7d1f2 ">
2024-07-31 03:03:30 +00:00
GiteaBot
666c2b23b1
[skip ci] Updated translations via Crowdin
2024-07-31 00:23:19 +00:00
yp05327
75d0b61546
Fix the display of project type for deleted projects ( #31732 )
...
Fix : #31727
After:
![image](https://github.com/user-attachments/assets/1dfb4b31-3bd6-47f7-b126-650f33f453e2 )
2024-07-30 04:37:43 +00:00
yp05327
e0a408e6f3
Add permission check when creating PR ( #31033 )
...
user should be a collaborator of the base repo to create a PR
2024-07-29 02:21:22 +00:00
GiteaBot
a40192dc12
[skip ci] Updated translations via Crowdin
2024-07-27 00:27:00 +00:00
yp05327
cc044818c3
Support delete user email in admin panel ( #31690 )
...
![QQ_1721784609320](https://github.com/user-attachments/assets/23f08bf3-93f4-44d7-963d-10380ef8c1f1 )
![QQ_1721784616403](https://github.com/user-attachments/assets/667cbd1e-5e21-4489-8d18-2a7be85190db )
![QQ_1721784626722](https://github.com/user-attachments/assets/495beb94-dfa2-481c-aa60-d5115cad1ae1 )
---------
Co-authored-by: Jason Song <i@wolfogre.com>
2024-07-25 18:11:04 +08:00
GiteaBot
7bd127522f
[skip ci] Updated translations via Crowdin
2024-07-25 00:27:15 +00:00
GiteaBot
ad91a59c18
[skip ci] Updated translations via Crowdin
2024-07-23 00:27:23 +00:00
GiteaBot
d919df4f09
[skip ci] Updated translations via Crowdin
2024-07-21 00:30:14 +00:00
Denys Konovalov
a8d0c879c3
add skip secondary authorization option for public oauth2 clients ( #31454 )
2024-07-19 14:28:30 -04:00
GiteaBot
03c8c2683c
[skip ci] Updated translations via Crowdin
2024-07-18 00:27:07 +00:00
GiteaBot
de1a5506d1
[skip ci] Updated translations via Crowdin
2024-07-17 00:27:54 +00:00
Bartlomiej Komendarczuk
e8d4b7a8b1
Added default sorting milestones by name ( #27084 )
...
#26996
Added default sorting for milestones by name.
Additional, name for sorting closestduedate and furthestduedate was
broken, so I fixed it.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-07-16 10:08:54 +02:00
GiteaBot
d73623d526
[skip ci] Updated translations via Crowdin
2024-07-12 00:27:07 +00:00
Sunny Wan
4913edaa70
Display app name in the registration email title ( #31562 )
...
I changed the title of the registation email from "Welcome to Gitea" to
"Welcome to (appname)". I did this by substituting 'Gitea' in
register_notify to %s and formating the registration title in mail.go. I
changed this for all the languages I could, but I struggled to changed
the translation file for Farsi. I have attached the screenshots of
before and after and the related issue below.
Related issue:
https://github.com/go-gitea/gitea/issues/31108
Before change:
![Screenshot from 2024-07-04
22-32-17](https://github.com/go-gitea/gitea/assets/94445569/4178b51c-1acc-45f4-9750-dff41564a709 )
After:
![Screenshot from 2024-07-04
22-32-01](https://github.com/go-gitea/gitea/assets/94445569/9cd7a58d-c0f5-4a3c-a66c-805c55411eaa )
---------
Signed-off-by: Sunny Wan <Sunnywan2020@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-11 23:23:31 +00:00
GiteaBot
017ea19e5d
[skip ci] Updated translations via Crowdin
2024-07-08 00:28:11 +00:00
GiteaBot
5115c278ff
[skip ci] Updated translations via Crowdin
2024-07-07 00:29:37 +00:00
GiteaBot
264f74c02a
[skip ci] Updated translations via Crowdin
2024-07-06 00:26:24 +00:00
Henry Goodman
12cb1d2998
Allow force push to protected branches ( #28086 )
...
Fixes #22722
### Problem
Currently, it is not possible to force push to a branch with branch
protection rules in place. There are often times where this is necessary
(CI workflows/administrative tasks etc).
The current workaround is to rename/remove the branch protection,
perform the force push, and then reinstate the protections.
### Solution
Provide an additional section in the branch protection rules to allow
users to specify which users with push access can also force push to the
branch. The default value of the rule will be set to `Disabled`, and the
UI is intuitive and very similar to the `Push` section.
It is worth noting in this implementation that allowing force push does
not override regular push access, and both will need to be enabled for a
user to force push.
This applies to manual force push to a remote, and also in Gitea UI
updating a PR by rebase (which requires force push)
This modifies the `BranchProtection` API structs to add:
- `enable_force_push bool`
- `enable_force_push_whitelist bool`
- `force_push_whitelist_usernames string[]`
- `force_push_whitelist_teams string[]`
- `force_push_whitelist_deploy_keys bool`
### Updated Branch Protection UI:
<img width="943" alt="image"
src="https://github.com/go-gitea/gitea/assets/79623665/7491899c-d816-45d5-be84-8512abd156bf ">
### Pull Request `Update branch by Rebase` option enabled with source
branch `test` being a protected branch:
![image](https://github.com/go-gitea/gitea/assets/79623665/e018e6e9-b7b2-4bd3-808e-4947d7da35cc )
<img width="1038" alt="image"
src="https://github.com/go-gitea/gitea/assets/79623665/57ead13e-9006-459f-b83c-7079e6f4c654 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-07-05 18:21:56 +00:00
Anbraten
9c00dda33a
Refactor login page ( #31530 )
...
As requested in
https://github.com/go-gitea/gitea/pull/31504#issuecomment-2196196646 .
This PR refactor the login page:
![Screenshot from 2024-07-04
19-23-10](https://github.com/go-gitea/gitea/assets/6918444/c45700f4-6747-473c-bdee-2156718a7953 )
![Screenshot from 2024-07-04
19-23-21](https://github.com/go-gitea/gitea/assets/6918444/b1bf71cf-85f9-4517-a409-cc6d72e6af8f )
![Screenshot from 2024-06-30
09-35-20](https://github.com/go-gitea/gitea/assets/6918444/728cc37e-0cca-4883-afec-a43663d2c666 )
# Changes
- [x] use separate box for passkey login and go to registration
- [x] move forgot passoword next to password label
- [x] fix password required label `*` and padding
- [x] remove tabs from login page
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-07-05 20:10:09 +03:00
GiteaBot
3bd87fb170
[skip ci] Updated translations via Crowdin
2024-07-01 00:30:50 +00:00
Anbraten
91745ae46f
Add Passkey login support ( #31504 )
...
closes #22015
After adding a passkey, you can now simply login with it directly by
clicking `Sign in with a passkey`.
![Screenshot from 2024-06-26
12-18-17](https://github.com/go-gitea/gitea/assets/6918444/079013c0-ed70-481c-8497-4427344bcdfc )
Note for testing. You need to run gitea using `https` to get the full
passkeys experience.
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-06-29 22:50:03 +00:00
GiteaBot
35ce7a5e0e
[skip ci] Updated translations via Crowdin
2024-06-26 00:26:17 +00:00
GiteaBot
24f4ebb8a9
[skip ci] Updated translations via Crowdin
2024-06-25 00:26:08 +00:00
GiteaBot
b3ed1e0e62
[skip ci] Updated translations via Crowdin
2024-06-22 00:25:47 +00:00
GiteaBot
7adf8d7727
[skip ci] Updated translations via Crowdin
2024-06-19 00:26:25 +00:00
6543
363c123598
Add cache test for admins ( #31265 )
...
Add a test to probe the cache similar to the email test func.
![image](https://github.com/go-gitea/gitea/assets/24977596/700e2733-586d-4091-900f-f5f71e6e94bf )
![image](https://github.com/go-gitea/gitea/assets/24977596/2a953802-18fc-4e81-a37d-24ebe1297365 )
![image](https://github.com/go-gitea/gitea/assets/24977596/e00d62ad-bb60-41cc-9138-09993daee156 )
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: silverwind <me@silverwind.io>
2024-06-17 21:22:39 +02:00
GiteaBot
c70d4f03c9
[skip ci] Updated translations via Crowdin
2024-06-16 00:28:50 +00:00
GiteaBot
23147494a7
[skip ci] Updated translations via Crowdin
2024-06-15 00:26:00 +00:00
GiteaBot
5b56d13e0d
[skip ci] Updated translations via Crowdin
2024-06-14 00:27:38 +00:00
wxiaoguang
47ca61d8ba
Improve detecting empty files ( #31332 )
...
Co-authored-by: silverwind <me@silverwind.io>
2024-06-13 01:06:46 +00:00
GiteaBot
1844dc6c1d
[skip ci] Updated translations via Crowdin
2024-06-11 00:26:13 +00:00
GiteaBot
4f7d6feab7
[skip ci] Updated translations via Crowdin
2024-06-10 00:27:20 +00:00
GiteaBot
ce751761ce
[skip ci] Updated translations via Crowdin
2024-05-30 00:26:20 +00:00
techknowlogick
31011f5cde
Swap word order in Comment and Close ( #31148 )
...
Reduce accident closing of tickets only to re-open them right away. This
aligns the text on these buttons with what GitHub has.
Commit is authored by @LazyDodo, and was committed to the Blender fork
by @brechtvl
Background details:
https://projects.blender.org/infrastructure/gitea-custom/pulls/7
Co-authored-by: Ray Molenkamp <github@lazydodo.com>
2024-05-29 15:54:17 +00:00
GiteaBot
207c0c6c92
[skip ci] Updated translations via Crowdin
2024-05-29 00:26:43 +00:00
GiteaBot
0222f19f19
[skip ci] Updated translations via Crowdin
2024-05-28 00:26:53 +00:00
metiftikci
aa92b13164
Prevent simultaneous editing of comments and issues ( #31053 )
...
fixes #22907
Tested:
- [x] issue content edit
- [x] issue content change tasklist
- [x] pull request content edit
- [x] pull request change tasklist
![issue-content-edit](https://github.com/go-gitea/gitea/assets/29250154/a0828889-fb96-4bc4-8600-da92e3205812 )
2024-05-27 15:34:18 +00:00
Lunny Xiao
98751108b1
Rename project board -> column to make the UI less confusing ( #30170 )
...
This PR split the `Board` into two parts. One is the struct has been
renamed to `Column` and the second we have a `Template Type`.
But to make it easier to review, this PR will not change the database
schemas, they are just renames. The database schema changes could be in
future PRs.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: yp05327 <576951401@qq.com>
2024-05-27 08:59:54 +00:00
Lunny Xiao
e695ba4755
Fix possible ui 500 if workflow's job is nil ( #31092 )
...
Fix #31087
2024-05-27 05:21:00 +00:00
GiteaBot
ec771fdfcd
[skip ci] Updated translations via Crowdin
2024-05-24 00:25:44 +00:00
GiteaBot
6d119aafd1
[skip ci] Updated translations via Crowdin
2024-05-23 00:25:10 +00:00
GiteaBot
3066114c24
[skip ci] Updated translations via Crowdin
2024-05-22 00:25:10 +00:00
GiteaBot
ba83d27ab0
[skip ci] Updated translations via Crowdin
2024-05-21 00:26:00 +00:00
wxiaoguang
de9bcd1d23
Avoid 500 panic error when uploading invalid maven package file ( #31014 )
...
PackageDescriptor.Metadata might be nil (and maybe not only for maven).
This is only a quick fix.
The new `if` block is written intentionally to avoid unnecessary
indenting to the existing code.
2024-05-20 06:44:16 +00:00
GiteaBot
68d5c18953
[skip ci] Updated translations via Crowdin
2024-05-17 00:25:42 +00:00
GiteaBot
db578431ea
[skip ci] Updated translations via Crowdin
2024-05-15 00:25:44 +00:00
Lunny Xiao
5b6f80989f
Remove unnecessary double quotes on language file ( #30977 )
...
The double quotes and the prefix/suffix space are unnecessary.
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2024-05-15 01:06:12 +02:00
GiteaBot
9a577c62e4
[skip ci] Updated translations via Crowdin
2024-05-14 00:25:02 +00:00
GiteaBot
f80b403dc9
[skip ci] Updated translations via Crowdin
2024-05-12 00:27:35 +00:00
wxiaoguang
7424f27cf3
Check if reverse proxy is correctly configured ( #30890 )
...
Follow #27011
Follow #30885
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-05-10 20:07:01 +08:00
GiteaBot
f1b0729078
[skip ci] Updated translations via Crowdin
2024-05-08 00:21:06 +00:00
GiteaBot
d8d46d1c48
[skip ci] Updated translations via Crowdin
2024-05-01 00:26:38 +00:00
Micash
ad4e902d5a
Add support for npm bundleDependencies ( #30751 )
2024-04-29 16:19:06 +08:00
GiteaBot
27861d711b
[skip ci] Updated translations via Crowdin
2024-04-27 00:24:31 +00:00
GiteaBot
935330b1b9
[skip ci] Updated translations via Crowdin
2024-04-26 00:26:00 +00:00
wxiaoguang
bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling ( #30622 )
...
Follow #30454
And fix #24957
When using "preferred_username", if no such field,
`extractUserNameFromOAuth2` (old `getUserName`) shouldn't return an
error. All other USERNAME options do not return such error.
And fine tune some logic and error messages, make code more stable and
more friendly to end users.
2024-04-25 11:22:32 +00:00
GiteaBot
4ff54933f8
[skip ci] Updated translations via Crowdin
2024-04-25 00:26:13 +00:00
wxiaoguang
b79e3db264
Initial support for colorblindness-friendly themes ( #30625 )
...
Initial support for #25680
This PR only adds some simple styles from GitHub, it is big enough and
it focuses on adding the necessary framework-level supports. More styles
could be fine-tuned later.
2024-04-24 00:18:41 +08:00
GiteaBot
7d5a03fda2
[skip ci] Updated translations via Crowdin
2024-04-23 00:24:55 +00:00
wxiaoguang
f4a1cf7eab
Fix repo home UI when there is no repo description ( #30552 )
...
Fix #30502 by a new approach.
![image](https://github.com/go-gitea/gitea/assets/2114189/22f48bca-82d1-45cc-b1b7-ee2344b81a76 )
2024-04-21 23:47:31 +00:00
GiteaBot
99d789e8cd
[skip ci] Updated translations via Crowdin
2024-04-21 00:26:57 +00:00
GiteaBot
ba9b124c34
[skip ci] Updated translations via Crowdin
2024-04-19 00:24:35 +00:00
GiteaBot
ffc9879070
[skip ci] Updated translations via Crowdin
2024-04-18 00:26:04 +00:00
6543
be5be0ac81
Expose fuzzy search for issues/pulls ( #29701 )
...
close #29685
---------
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
2024-04-18 00:16:52 +00:00
wxiaoguang
3feba9f1f4
Allow everyone to read or write a wiki by a repo unit setting ( #30495 )
...
Replace #6312
Help #5833
Wiki solution for #639
2024-04-17 15:58:37 +00:00
wxiaoguang
0798370f25
Correct locale string rendering ( #30522 )
...
Since #29165 , the translations are rendered as HTML in templates, so:
1. if the translation does contain `<>`, use `TrString`
2. use `{dummy}` instead of `<dummy>` as much as possible
Co-authored-by: Giteabot <teabot@gitea.io>
2024-04-17 10:24:08 +00:00
GiteaBot
38147d020d
[skip ci] Updated translations via Crowdin
2024-04-17 00:24:47 +00:00
GiteaBot
3b045ee165
[skip ci] Updated translations via Crowdin
2024-04-16 00:23:51 +00:00
GiteaBot
17c7ebb327
[skip ci] Updated translations via Crowdin
2024-04-11 00:24:56 +00:00
GiteaBot
d7013c26c8
[skip ci] Updated translations via Crowdin
2024-04-09 00:24:26 +00:00
GiteaBot
48223909be
[skip ci] Updated translations via Crowdin
2024-04-07 00:27:31 +00:00
GiteaBot
83c5072077
[skip ci] Updated translations via Crowdin
2024-04-05 00:24:29 +00:00
GiteaBot
663acd0b46
[skip ci] Updated translations via Crowdin
2024-04-04 00:24:47 +00:00
wxiaoguang
ca5c895efb
Render embedded code preview by permlink in markdown ( #30234 )
...
The permlink in markdown will be rendered as a code preview block, like GitHub
Co-authored-by: silverwind <me@silverwind.io>
2024-04-02 17:48:27 +00:00
GiteaBot
8a5c597c1d
[skip ci] Updated translations via Crowdin
2024-04-02 00:24:02 +00:00
wxiaoguang
6d34ce25b1
Do not allow different storage configurations to point to the same directory ( #30169 )
...
Replace #29171
2024-03-31 03:03:24 +00:00
GiteaBot
7eb3ab0765
[skip ci] Updated translations via Crowdin
2024-03-31 00:27:17 +00:00
GiteaBot
bcf3be3a6c
[skip ci] Updated translations via Crowdin
2024-03-30 18:47:50 +00:00
Denys Konovalov
e5160185ed
Add default board to new projects, remove uncategorized pseudo-board ( #29874 )
...
On creation of an empty project (no template) a default board will be
created instead of falling back to the uneditable pseudo-board.
Every project now has to have exactly one default boards. As a
consequence, you cannot unset a board as default, instead you have to
set another board as default. Existing projects will be modified using a
cron job, additionally this check will run every midnight by default.
Deleting the default board is not allowed, you have to set another board
as default to do it.
Fixes #29873
Fixes #14679 along the way
Fixes #29853
Co-authored-by: delvh <dev.lh@web.de>
2024-03-27 20:54:32 +00:00
wxiaoguang
4734d43e14
Support repo code search without setting up an indexer ( #29998 )
...
By using git's ability, end users (especially small instance users) do
not need to enable the indexer, they could also benefit from the code
searching feature.
Fix #29996
![image](https://github.com/go-gitea/gitea/assets/2114189/11b7e458-88a4-480d-b4d7-72ee59406dd1 )
![image](https://github.com/go-gitea/gitea/assets/2114189/0fe777d5-c95c-4288-a818-0427680805b6 )
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-03-24 17:05:00 +01:00
Zettat123
2f060c5834
Fix bugs in rerunning jobs ( #29955 )
...
Fix #28761
Fix #27884
Fix #28093
## Changes
### Rerun all jobs
When rerun all jobs, status of the jobs with `needs` will be set to
`blocked` instead of `waiting`. Therefore, these jobs will not run until
the required jobs are completed.
### Rerun a single job
When a single job is rerun, its dependents should also be rerun, just
like GitHub does
(https://github.com/go-gitea/gitea/issues/28761#issuecomment-2008620820 ).
In this case, only the specified job will be set to `waiting`, its
dependents will be set to `blocked` to wait the job.
### Show warning if every job has `needs`
If every job in a workflow has `needs`, all jobs will be blocked and no
job can be run. So I add a warning message.
<img
src="https://github.com/go-gitea/gitea/assets/15528715/88f43511-2360-465d-be96-ee92b57ff67b "
width="480px" />
2024-03-22 03:19:17 +00:00
wxiaoguang
bfa160fc98
Refactor repo header/list ( #29969 )
...
1. Use general "mobile-only" and "not-mobile" CSS styles, remove some`@media (max-width: 767.98px)` tricks
2. Use `CountFmt` for repo list, just like the repo header (and it matches GitHub, to avoid big numbers bloat the page)
2024-03-21 17:04:03 +00:00
yp05327
4bef1fb3e4
Update register application URL for GitLab ( #29959 )
...
Fix #26593
The old URL was updated 7 years ago. Maybe no need to hold it any more.
![image](https://github.com/go-gitea/gitea/assets/18380374/95a0b364-832b-4f10-800e-21845d64df1a )
2024-03-21 15:48:13 +00:00
wxiaoguang
cdb4d1a8db
Refactor StringsToInt64s ( #29967 )
...
And close #27176
2024-03-21 15:07:35 +00:00
buckybytes
16e360099d
Editor error message misleading due to re-used key. ( #29859 )
...
The error message:
`editor.file_changed_while_editing = The file contents have changed
since you started editing. <a target="_blank" rel="noopener noreferrer"
href="%s">Click here</a> to see them or <strong>Commit Changes
again</strong> to overwrite them.`
Is re-used in inappropriate contexts. The link in the key goes to a 404
when the key is used in a situation where the file contents have not
changed.
Added two new keys to differentiate commit id mismatch and push out of
date conditions.
2024-03-18 02:23:08 +00:00
HEREYUA
2eb7c564df
Improve branch select list ui in go templates ( #29729 )
...
Relate:[#27417 ](https://github.com/go-gitea/gitea/issues/27471 )
Reference: [#26631 ](https://github.com/go-gitea/gitea/pull/26631 )
Before
![image](https://github.com/go-gitea/gitea/assets/37935145/88ca8da5-25dd-4f60-bea8-a80107f19cc5 )
After
![image](https://github.com/go-gitea/gitea/assets/37935145/3cb180dc-1331-43e9-8633-be5e288401e8 )
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-03-15 11:43:10 +08:00
silverwind
256a1eeb9a
Add <overflow-menu>
, rename webcomponents ( #29400 )
...
1. Add `<overflow-menu>` web component
2. Rename `<gitea-origin-url>` to `<origin-url>` and make filenames
match.
<img width="439" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/2fbe4ca4-110b-4ad2-8e17-c1e116ccbd74 ">
<img width="444" alt="Screenshot 2024-03-02 at 21 36 52"
src="https://github.com/go-gitea/gitea/assets/115237/aa8f786e-dc8c-4030-b12d-7cfb74bdfd6e ">
<img width="537" alt="Screenshot 2024-03-03 at 03 05 06"
src="https://github.com/go-gitea/gitea/assets/115237/fddd50aa-adf1-4b4b-bd7f-caf30c7b2245 ">
![image](https://github.com/go-gitea/gitea/assets/115237/0f43770c-834c-4a05-8e3d-d30eb8653786 )
![image](https://github.com/go-gitea/gitea/assets/115237/4b4c6bd7-843f-4f49-808f-6b3aed5e9f9a )
TODO:
- [x] Check if removal of `requestAnimationFrame` is possible to avoid
flash of content. Likely needs a `MutationObserver`.
- [x] Hide tippy when button is removed from DOM.
- [x] ~~Implement right-aligned items
(https://github.com/go-gitea/gitea/pull/28976 )~~. Not going to do it.
- [x] Clean up CSS so base element has no background and add background
via tailwind instead.
- [x] Use it for org and user page.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-15 02:05:31 +00:00
Denys Konovalov
e0b002a4a8
Unify search boxes ( #29530 )
...
Unify all but a few search boxes to use uniform style, uniform
translations and shared templates where possible.
Remove a few duplicated search templates, e. g. code search.
<details><summary>Example after screenshots:</summary>
![grafik](https://github.com/go-gitea/gitea/assets/47871822/e20e7d6b-c6be-4a47-b132-672766f41421 )
![grafik](https://github.com/go-gitea/gitea/assets/47871822/d5b11b9c-c12f-4a29-8fb0-24e5aa511d18 )
![grafik](https://github.com/go-gitea/gitea/assets/47871822/d86bb444-36c7-426d-9cf1-c634963dffb1 )
![grafik](https://github.com/go-gitea/gitea/assets/47871822/a76c0319-0518-484a-a840-563d02b61198 )
</details>
Also includes #29700
Co-authored-by: 6543 <6543@obermui.de>
---------
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-03-14 23:24:59 +00:00
wxiaoguang
df60dbfb99
Fix incorrect locale Tr for gpg command ( #29754 )
2024-03-13 16:24:34 +00:00
Zettat123
4129e0e79b
Add a warning for disallowed email domains ( #29658 )
...
Resolve #29660
Follow #29522 and #29609
Add a warning for disallowed email domains when admins manually add/edit
users.
Thanks @yp05327 for the
[comment](https://github.com/go-gitea/gitea/pull/29605#issuecomment-1980105119 )
![image](https://github.com/go-gitea/gitea/assets/15528715/6737b221-a3a2-4180-9ef8-b846c10f96e0 )
2024-03-11 06:07:36 +00:00
Lunny Xiao
ce8a98f878
Fix 500 when deleting account with incorrect password or unsupported login type ( #29579 )
...
Fix #26210
---------
Co-authored-by: Jason Song <i@wolfogre.com>
2024-03-08 04:28:21 +00:00