yp05327 and GitHub
e61e9a36b7
Fix PullRequestList.GetIssueIDs's logic ( #31352 )
...
fix a bug from #30490
`prs.GetIssueIDs()` will also be used in other places, e.g.
`InvalidateCodeComments`
so we should not add `if pr.Issue == nil` in it, or if `pr.Issue` is
already loaded, you will not get the issueID in the results list and
this is not an expected result.
So this will caused a bug:
before calling `InvalidateCodeComments`, all `pr.Issues` in `prs` are
loaded, so `issueIDs` in this function will always be `[]`.

2024-06-13 09:42:07 +00:00
yp05327 and GitHub
93570de496
Update air package path ( #31233 )
2024-06-04 13:00:44 +08:00
yp05327 and GitHub
fc641b3a28
Remove sqlite-viewer and using database client ( #31223 )
...
sqlite-viewer can not edit sqlite.
database client can connect to almost all common databases, which is
very useful I think. Of cause, it can edit sqlite.
https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-database-client2
And for using sqlite, sqlite3 is required. So also added a new feature:
https://github.com/warrenbuckley/codespace-features
found from: https://containers.dev/features
2024-06-03 10:41:29 +00:00
daf2a4c047
Fix wrong display of recently pushed notification ( #25812 )
...
There's a bug in #25715 :
If user pushed a commit into another repo with same branch name, the
no-related repo will display the recently pushed notification
incorrectly.
It is simple to fix this, we should match the repo id in the sql query.

The latest commit is 2 weeks ago.

The notification comes from another repo with same branch name:

After:
In forked repo:

New PR Link will redirect to the original repo:

In the original repo:

New PR Link:

In the same repo:

New PR Link:

08/15 Update:
Follow #26257 , added permission check and logic fix mentioned in
https://github.com/go-gitea/gitea/pull/26257#discussion_r1294085203
2024/04/25 Update:
Fix #30611
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-05-21 17:00:35 +00:00
yp05327 and GitHub
e94723f2de
Fix incorrect default branch when adopt a repository ( #30912 )
...
Fix #30521
we should sync branches first, then detect default branch, or
`git_model.FindBranchNames` will always return empty list, and the
detection will be wrong.
2024-05-09 08:44:26 +00:00
yp05327 and GitHub
f7d2f695a4
Fix misspelling of mergable ( #30896 )
...
https://github.com/go-gitea/gitea/pull/25812#issuecomment-2099833692
Follow #30573
2024-05-08 16:11:43 +00:00
yp05327 and GitHub
ecd1d96f49
Add result check in TestAPIEditUser ( #29674 )
...
Fix #29514
There are too many usage of `NewRequestWithValues`, so there's no need
to check all of them.
Just one is enough I think.
2024-05-05 02:10:20 +00:00
yp05327 and GitHub
a50026e2f3
Fix no edit history after editing issue's title and content ( #30814 )
...
Fix #30807
reuse functions in services
2024-05-03 14:11:51 +08:00
2a3906d755
Improve job commit description ( #30579 )
...
Fix https://github.com/go-gitea/gitea/issues/30567
When job is a schedule:

When it is a normal one:

also add a 'space' behind `:`


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-04-26 02:22:45 +00:00
cb6814adad
Use action user as the trigger user of schedules ( #30581 )
...
Follow https://github.com/go-gitea/gitea/pull/30357
When user push to default branch, the schedule trigger user will be the
user.
When disable then enable action units in settings, the schedule trigger
user will be action user.
When repo is a mirror, the schedule trigger user will be action user. (
before it will return error, fixed by #30357 )
As scheduled job is a cron, the trigger user should be action user from
Gitea, not a real user.
---------
Co-authored-by: Giteabot <teabot@gitea.io >
2024-04-20 02:35:29 +02:00
yp05327 and GitHub
cf9061f44a
Fix empty field login_name in API response JSON when creating user ( #30511 )
...
Fix #30508
ps: if `sourceID` is not set, `LoginName` will be ignored
2024-04-16 13:13:00 +08:00
yp05327 and GitHub
2c80421243
Convert max file name length to 255 ( #30489 )
...
Quick/Partly fix #29907
In Linux and MacOS, by default the max file name length is 255.
In windows, it depends on the version and settings, and has no file name
length limitation, but has path length limitation.
By default it is 260, considering path length is longer than filename,
so I think it is ok to do this.
For Windows, see
https://learn.microsoft.com/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
For Linux, see
https://github.com/torvalds/linux/blob/master/include/uapi/linux/limits.h#L12-L13
For MacOS, see
https://discussions.apple.com/thread/254788848?sortBy=best
2024-04-15 19:08:31 +00:00
yp05327 and GitHub
af02b8a0e9
Fix network error when open/close organization/individual projects and redirect to project page ( #30387 )
...
Follow #27734

Updated:
Redirect to project page instead of project list page.
2024-04-13 16:17:01 +00:00
b4d86912ef
Fix mirror error when mirror repo is empty ( #30432 )
...
Fix #30424
Co-authored-by: Giteabot <teabot@gitea.io >
2024-04-13 03:01:02 +00:00
yp05327 and GitHub
96d31fe0a8
Avoid user does not exist error when detecting schedule actions when the commit author is an external user ( #30357 )
...

When repo is a mirror, and commit author is an external user, then
`GetUserByEmail` will return error.
reproduce/test:
- mirror Gitea to your instance
- disable action and enable it again, this will trigger
`DetectAndHandleSchedules`
ps: also follow #24706 , it only fixed normal runs, not scheduled runs.
2024-04-11 15:11:32 +08:00
yp05327 and GitHub
d872ce006c
Avoid running action when action unit is disabled after workflows detected ( #30331 )
...
Fix #30243
We only checking unit disabled when detecting workflows, but not in
runner `FetchTask`.
So if a workflow was detected when action unit is enabled, but disabled
later, `FetchTask` will still return these detected actions.
Global setting: repo.ENABLED and repository.`DISABLED_REPO_UNITS` will
not effect this.
2024-04-08 22:08:26 +08:00
yp05327 and GitHub
7d66b9ea65
Avoid showing Failed to change the default wiki branch if repo has no wiki when saving repo settings ( #30329 )
2024-04-08 19:43:23 +08:00
yp05327 and GitHub
6103623596
Fix DEFAULT_SHOW_FULL_NAME=false has no effect in commit list and commit graph page ( #30096 )
...
Fix #20446
This PR will fix the username in:
repo home page

repo commit list page

repo commit graph page

pr commit page

Will not fix:
wiki revisions page:

ps: the author name is `FullName` by default
2024-03-28 15:15:39 -04:00
yp05327 and GitHub
ce3c351226
Load attachments for code comments ( #30124 )
...
Fix #30103
ps: comments has `LoadAttributes`, but maybe considering performance
problem, we don't call it.
2024-03-27 04:44:26 +00:00
yp05327 and GitHub
274bc00ca2
Fix duplicate migrated milestones ( #30102 )
...
Fix #17567
2024-03-26 10:20:26 +00:00
yp05327 and GitHub
9cf0f0bb04
Fix gitea doctor will remove repo-avatar files when execute command storage-archives ( #30094 )
...
Fix #30037
2024-03-26 08:24:13 +00:00
yp05327 and GitHub
08aec2c20a
Fix panic for fixBrokenRepoUnits16961 ( #30068 )
...

2024-03-26 14:45:11 +08:00
13921569dd
Add muted class to author name in repo commit list ( #29989 )
...
Before:

After:

If repo is a mirror, external user's name will be white, but if user is
existed, then you will see blue names and white names together:

---------
Co-authored-by: silverwind <me@silverwind.io >
2024-03-25 20:18:58 +00:00
yp05327 and GitHub
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.

2024-03-21 15:48:13 +00:00
yp05327 and GitHub
98217b0340
Fix invalid link of the commit status when ref is tag ( #29752 )
...
Fix #29731
Caused by #24634
Also remove fixme.
ps: we can not fix the existed runs, as wrong refs are all recorded in
DB, and we can not know whether they are branch or tag:

2024-03-19 07:23:40 +00:00
ce085b26fc
Improve commit record's ui in comment list ( #26619 )
...
Before:


After:


---------
Co-authored-by: silverwind <me@silverwind.io >
2024-03-14 19:01:16 +00:00
2da13675c0
Fix incorrect menu/link on webhook edit page ( #29709 )
...
Fix #29699
---------
Co-authored-by: silverwind <me@silverwind.io >
2024-03-14 01:37:15 +00:00
8fc1a8f0eb
Fix inconsistent rendering of block mathematical expressions ( #29677 )
...
Fix #28735
GitHub render `\```math\``` ` as a block now.
Add `display` class will render it as a block.
After:


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-03-11 05:00:50 +00:00
b253463e95
bump python version to 3.12 in dev container ( #29670 )
...

The default version is 3.9.2, which is not supported by poetry.
---------
Co-authored-by: silverwind <me@silverwind.io >
2024-03-08 16:10:01 +01:00
yp05327 and GitHub
9dc8a6336e
Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize ( #29653 )
...
Fix #29506
2024-03-08 08:44:50 +00:00
yp05327 and GitHub
c6cc392b55
Fix wrong header of org project view page ( #29626 )
...
Follow #29248
The project view page still using `user/overview/header.tmpl`
Before:

After:

2024-03-06 10:23:27 +00:00
a2b0fb1a64
Fix wrong line number in code search result ( #29260 )
...
Fix #29136
Before: The result is a table and all line numbers are all in one row.
After: Use a separate table column for the line numbers.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-03-06 07:24:43 +00:00
yp05327 and GitHub
3f3335ae51
Add empty repo check in DetectAndHandleSchedules ( #29606 )
...

2024-03-05 14:47:07 +00:00
yp05327 and GitHub
9616dbec33
Fix workflow trigger event IssueChangeXXX bug ( #29559 )
...
Bugs from #29308
Follow #29467
partly fix #29558
2024-03-03 18:37:41 +00:00
yp05327 and GitHub
403766cd81
Ignore empty repo for CreateRepository in action notifier ( #29416 )
...
Fix #29415
2024-02-26 09:38:15 +00:00
f8c1efe944
Fix logic error from #28138 ( #29417 )
...
There's a miss in #28138 :

https://github.com/go-gitea/gitea/pull/28138/files#diff-2556e62ad7204a230c91927a3f2115e25a2b688240d0ee1de6d34f0277f37dfeR162
@lunny
Not sure about the impact of this, but it will only effect 1.22, and
maybe we should fix it ASAP.
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
2024-02-26 08:10:14 +00:00
yp05327 and GitHub
1a6e1cbada
Implement some action notifier functions ( #29173 )
...
Fix #29166
Add support for the following activity types of `pull_request`
- assigned
- unassigned
- review_requested
- review_request_removed
- milestoned
- demilestoned
2024-02-18 10:58:46 +00:00
yp05327 and GitHub
68227996a7
Fix broken following organization ( #29005 )
...
- following organization is broken from #28908
- add login check for the follow button in organization profile page
2024-02-17 13:13:37 +08:00
yp05327 and GitHub
8e2831611c
Fix gitea-action user avatar broken on edited menu ( #29190 )
...
Fix #29178
2024-02-16 09:50:20 +00:00
yp05327 and GitHub
78c48d8fdd
Fix can not select team reviewers when reviewers is empty ( #29174 )
...
Before:

After:

Is this a bug? Maybe we don't need to fix this, as it only occurs when
there's only one user in the organization. 🤔
2024-02-15 11:30:11 +00:00
yp05327 and GitHub
3aed8ae034
Fix default avatar image size in PR diff page ( #28971 )
...
Fix #28941
ps: didn't test. The repo is too big to migrate.
2024-02-02 10:01:11 +00:00
yp05327 and GitHub
b9f8d75e27
Avoid sending update/delete release notice when it is draft ( #29008 )
...
Fix #27157
2024-02-02 04:18:12 +00:00
yp05327 and GitHub
64faecefe1
Fix UI Spacing Errors in mirror settings ( #28990 )
2024-02-01 00:04:23 +00:00
yp05327 and GitHub
0b1a42ce0f
Fix doc img path in profile readme ( #28994 )
...
https://gitea.com/gitea/gitea-docusaurus/actions/runs/1007/jobs/0#jobstep-9-25
2024-01-31 21:32:17 +08:00
yp05327 and GitHub
b693611b35
Don't show new pr button when page is not compare pull ( #26431 )
...
Before:

After:

(TestOrg:test is a tag not branch)
Problem:
In the template, we will not add `compare pull` class when
`PageIsComparePull` is false.
https://github.com/go-gitea/gitea/blob/a370efc13f0e1ea309e324639832832bc14cb6dc/templates/repo/diff/compare.tmpl#L2
But in the js, we are using `.repository.compare.pull` to find the
button:
https://github.com/go-gitea/gitea/blob/a370efc13f0e1ea309e324639832832bc14cb6dc/web_src/js/features/repo-legacy.js#L552-L563
So, if `PageIsComparePull` is false, the `New Pull Request` button will
be there, but has no response when we click it.
2024-01-21 15:13:00 +00:00
yp05327 and GitHub
07ba4d9f87
Fix incorrect action duration time when rerun the job before executed once ( #28364 )
...
Fix #28323
Reason was mentioned here:
https://github.com/go-gitea/gitea/issues/28323#issuecomment-1841867298
### Changes: (maybe breaking)
We can rerun jobs in Gitea, so there will be some problems in
calculating duration time.
In this PR, I use the exist `Started` and `Stopped` column to record the
last run time instead of the total time,
and add a new `PreviousDuration` column to record the previous duration
time.
You can also check the cost time of last run:

2024-01-19 14:05:49 +00:00
yp05327 and GitHub
b60a7c3358
Return responseText instead of string in some functions ( #28836 )
...
Follow
https://github.com/go-gitea/gitea/pull/28796#issuecomment-1891727591
2024-01-19 10:45:23 +08:00
yp05327 and GitHub
4674aea25b
Fix display latest sync time for pull mirrors on the repo page ( #28841 )
...
Follow #28712
1. Missing Locale word `mirror_sync`
2. Maybe forgot checking the conflict from #27760
Before:

After:

2024-01-18 18:27:07 +08:00
yp05327 and GitHub
c7e4629c02
Fix nil pointer panic when exec some gitea cli command ( #28791 )
...
panic:

After:

2024-01-15 07:43:53 +00:00
ce0225c1b8
Forbid removing the last admin user ( #28337 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-01-15 06:51:43 +00:00
yp05327 and GitHub
b820019fec
Fix when private user following user, private user will not be counted in his own view ( #28037 )
...
Doer: asdasasdasasdasasdasasdasasdasasdasasdas (private user)
Followed: TestUser (public user)
Before:
(From doer's view)

(From followed user's view, can see doer)

After:
(From doer's view)

2024-01-15 05:43:14 +00:00
yp05327 and GitHub
dd5693387e
Add links to owner home page in explore ( #28341 )
...
User can select access repo or owner's home page.
Before:

After:

2024-01-05 03:34:35 +00:00
yp05327 and GitHub
4ea522fecf
Only check online runner when detecting matching runners in workflows ( #28286 )
...
Mentioned:
[#28277 ](https://github.com/go-gitea/gitea/issues/28277#issuecomment-1831325276 )
We should only check online runner when detecting matching runners in
workflows,
as if runner is not online, the workflow will not run.

2023-12-18 16:06:19 +00:00
yp05327 and GitHub
3849fd2ac2
Remove unnecessary forgot password link in delete user section ( #28355 )
...
Before:
<img width="458" alt="image"
src="https://github.com/go-gitea/gitea/assets/18380374/92815496-38cc-4bb9-9182-1509a72b07f6 ">
After:

2023-12-15 14:13:55 +00:00
yp05327 and GitHub
0abb5633e3
Fix commit status in repo list ( #28412 )
...
Before:


`TestOrg/testactions` does have commit status, but won't display in
`All`
After:

Same to #26179 .
2023-12-11 06:19:57 +00:00
yp05327 and GitHub
f4561c44b1
Fix incorrect run order of action jobs ( #28367 )
...
When we pick up a job, all waiting jobs should firstly be ordered by
update time,
otherwise when there's a running job, if I rerun an older job, the older
job will run first, as it's id is smaller.
2023-12-06 22:10:05 +00:00
yp05327 and GitHub
ec90ee61ef
Fix object does not exist error when checking citation file ( #28314 )
...
Fix #28264
`DataAsync()` will be called twice.
Caused by https://github.com/go-gitea/gitea/pull/27958 .
I'm sorry, I didn't completely remove all unnecessary codes.
2023-12-06 16:51:01 +08:00
yp05327 and GitHub
004ab3758c
Fix wrong link in protect_branch_name_pattern_desc ( #28313 )
...
The current href will link to
`https://domain/owner/repo/settings/branches/github.com/gobwas/glob `
2023-12-01 19:45:04 +08:00
yp05327 and GitHub
1ae33e0bad
Fix links in docs ( #28302 )
...
Close #28287
## How to test it in local
convert Makefile L34 into:
```
cd .tmp/upstream-docs && git clean -f && git reset --hard && git fetch origin pull/28302/head:pr28302 && git switch pr28302
```
2023-12-01 19:42:42 +08:00
yp05327 and GitHub
8572e71a7f
Fix issue will be detected as pull request when checking First-time contributor ( #28237 )
...
Fix #28224
2023-11-27 10:46:55 +00:00
yp05327 and GitHub
0a0e8200ec
Fix links in docs ( #28234 )
...
Follow #28191
Changes:
- `(doc/administration/config-cheat-sheet.md` is incorrect:

- remove `../../`
2023-11-27 00:34:40 -05:00
yp05327 and GitHub
ad9aac3975
Fix some incorrect links in docs ( #28191 )
...
https://gitea.com/gitea/gitea-docusaurus/actions/runs/661/jobs/0#jobstep-9-39
I noticed that there are many warning logs in building docs.
It is causing 404 in docs.gitea.com now, so we need to fix it.
And there are also some other problems in v1.19 which can not be done in
this PR.
ps: Are there any good methods to test this in local?
2023-11-24 13:57:09 +00:00
yp05327 and GitHub
4d0eba8e0a
Fix swagger title ( #28164 )
...

Don't know why there's a `.` behind. 🤔
2023-11-22 08:09:19 +00:00
yp05327 and GitHub
2d9b91aa24
Fix the description about the default setting for action in quick start document ( #28160 )
...
Since #27054 , Actions are enabled by default. so we should also edit the
document. 😃
ps: I think this should be backport to 1.21.0.
2023-11-22 02:11:22 +00:00
yp05327 and GitHub
d1acd7e9de
Do not display search box when there's no packages yet ( #28146 )
...
Before:

After:



2023-11-21 20:03:19 +00:00
yp05327 and GitHub
a6a674e26a
Add guide page to actions when there's no workflows ( #28145 )
...
Before:

After:

2023-11-21 08:27:33 +00:00
yp05327 and GitHub
976a9926d7
Fix no ActionTaskOutput table waring ( #28149 )
...
Reproduce:
- Create a new Gitea instance
- Register a runner
- Create a repo and add a workflow
- Check the log, you will see warnings:

It comes from:

The reason is that we forgot registering `ActionTaskOutput` model.
So `action_table_output` table will be missing in your db.
2023-11-21 08:02:51 +00:00
yp05327 and GitHub
eae555ff23
Remove autofocus in search box ( #28033 )
...
Mentioned here:
https://github.com/go-gitea/gitea/pull/27982#issuecomment-1807923026
2023-11-20 08:57:46 +00:00
yp05327 and GitHub
e88377470a
Fix project counter in organization/individual profile ( #28068 )
...
Fix #28052
Before:


After:


2023-11-18 11:02:42 +08:00
yp05327 and GitHub
83c30634a4
Add word break to the repo list in admin settings page ( #28034 )
...
Before:

After:

2023-11-14 04:58:01 +00:00
089ac06969
Improve profile for Organizations ( #27982 )
...
Fixes some problems in #27955 :
- autofocus of the search box
before:
if access the home page will jump to the search box

after:
will not jump to the search box

- incorrect display of overview tab
before:

after:

- improve the permission check to the private profile repo
In #26295 , we simply added access control to the private profile.
But if user have access to the private profile repo , we should also
display the profile.
- add a button which can jump to the repo list?
I agree @wxiaoguang 's opinion here:
https://github.com/go-gitea/gitea/pull/27955#issuecomment-1803178239
But it seems that this feature is sponsored.
So can we add a button which can quickly jump to the repo list or just
move profile to the `overview` page?
---------
Co-authored-by: silverwind <me@silverwind.io >
2023-11-13 15:33:22 +01:00
yp05327 and GitHub
f48a863b99
Fix citation error when the file size is larger than 1024 bytes ( #27958 )
...
Mentioned in:
https://github.com/go-gitea/gitea/pull/27931#issuecomment-1798016960
Same to #25131 , so use the same method to fix this problem.
2023-11-08 06:40:12 +00:00
4a0103fa29
Add word-break to repo description in home page ( #27924 )
...
In #25315 , @denyskon fixed UI on mobile view.
But for the repo description, on desktop view there's no word-break.
So maybe we can just add `gt-word-break` to fix it on both mobile view
and desktop view.
Before:
desktop view:

mobile view:

After:
desktop view:

mobile view(almost same?)

---------
Co-authored-by: silverwind <me@silverwind.io >
2023-11-07 23:52:08 +00:00
yp05327 and GitHub
3a924fdc83
Add word break to release title ( #27942 )
...
Before:

After:

2023-11-07 10:53:04 +00:00
yp05327 and GitHub
7a2ff6c162
Fix edit topic UI ( #27925 )
...
Before:
desktop view:

mobile view:

after click `Save` btn:


refresh the page, you will see that `gt-m-0` is missing after save
topic:

After:
desktop view:

mobile view:

after click `Save` btn:

2023-11-06 09:23:50 +00:00
dcb648ee71
Add Hide/Show all checks button to commit status check ( #26284 )
...
Step one for a GitHub like commit status check ui:



Step two:


The design now will list all commit status checks which takes too much
space.
This is a pre-improve for #26247
---------
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-11-02 14:49:02 +00:00
yp05327 and GitHub
0e021cd33e
Fix display member unit in the menu bar if there are no hidden members in public org ( #27795 )
...
Follow #26363 .
I missed that org templates also using
`templates/user/overview/header.tmpl`.
You can confirm this problem in https://gitea.com/gitea/-/projects with
anonymous access.
Before: (no login)

After:

2023-10-30 09:11:16 +00:00
yp05327 and GitHub
f39256f035
Add word-break to organization name and description ( #26624 )
...
Fix #24318
Before:



After:




2023-10-25 10:40:39 +00:00
8abc1aae4a
Improve the list header in milestone page ( #27302 )
...
The ui of list header in milestone page is not same as issue and pr list
page.
And they are using different template codes which can be merged into
one.
Before:




After:


---------
Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com >
2023-10-18 00:03:42 +00:00
yp05327 and GitHub
5a7ab86b98
Avoid run change title process when the title is same ( #27467 )
...
If user only changed the target branch or just did nothing and clicked
the `Save` button, you will see the change log as following:

This makes no sense, so we should check whether the title is surely
changed before run the `ChangeTitle`.
2023-10-06 18:00:53 +00:00
yp05327 and GitHub
393193a3e0
Fix repo count in org action settings ( #27245 )
...
Only in org action settings, repo count is missing
Before:



In other setting page:

After:



2023-09-29 15:46:07 +00:00
3945c26722
Improve tree not found page ( #26570 )
...
Before:

After:

In Github:
https://github.com/yp05327/test/blob/main/test.drawio
Updated:
UI changed


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-09-29 07:42:39 +00:00
yp05327 and GitHub
e5e1d842c0
Fix protected branch icon location ( #26576 )
2023-09-27 22:21:31 +00:00
5ef5a0ade6
Fix divider in subscription page ( #27298 )
...
the divider should always display in the subscription page.
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
2023-09-27 04:00:57 +00:00
yp05327 and GitHub
65d0b7c13a
Add missing public user visibility in user details page ( #27246 )
...
It seems that `Public` user visibility is missing in the template.
Before:

After:

2023-09-25 08:27:03 +02:00
yp05327 and GitHub
076eca8158
Fix incorrect default branch label while switching between branches ( #27053 )
...
Fix #27008
2023-09-14 03:54:25 +00:00
yp05327 and GitHub
0850be6750
Fix the display of org level badges ( #26504 )
...
Follow #24654 #22705 #24232
In some pages we still have missing badges, for example:



2023-09-06 14:38:14 +08:00
yp05327 and GitHub
915cabdb14
Fix context filter has no effect in dashboard ( #26695 )
...
Fix #26686
2023-08-29 12:46:52 +00:00
yp05327 and GitHub
008f5d8cf1
Add default label in branch select list ( #26697 )
2023-08-29 12:15:19 +00:00
60ca3d04a4
Add fix incorrect can_create_org_repo for org owner team ( #26683 )
...
Related to: #8312 #26491
In migration v109, we only added a new column `CanCreateOrgRepo` in Team
table, but not initial the value of it.
This may cause bug like #26491 .
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-08-29 01:11:23 +00:00
d2e4039def
Add member, collaborator, contributor, and first-time contributor roles and tooltips ( #26658 )
...
GitHub like role descriptor



---------
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-08-24 13:06:17 +08:00
yp05327 and GitHub
7e30986667
Remove ref name in PR commits page ( #25876 )
...
The branch name display here is based on the repo's default branch which
is not correct.

For example, if I changed the default branch, the branch name here will
also be changed:


you can confirm this in :
https://try.gitea.io/yp05327/testrepo/pulls/1/commits
I think we do not need to display branch name here, as we already have
the branch info above.

2023-08-24 01:31:54 +00:00
yp05327 and GitHub
75689b8973
Improve repo sub menu ( #26531 )
...
Before:

After:

Icons are not in the middle of the line.
2023-08-22 09:20:09 +00:00
yp05327 and GitHub
c052f76266
Fix organization list in dashboard ( #26650 )
...
Fix ui problem comes from #26326
Before:

After:

2023-08-22 08:49:00 +00:00
yp05327 and GitHub
bd8a253220
Improve show role ( #26621 )
...
Add a general show role template.
2023-08-22 05:30:33 +00:00
a4a567f29f
Check disabled workflow when rerun jobs ( #26535 )
...
In GitHub, we can not rerun jobs if the workflow is disabled.
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-08-22 10:30:02 +08:00
yp05327 and GitHub
f6e7798405
Add link to job details and tooltip to commit status in repo list in dashboard ( #26326 )
...
Tooltip:

Link to the target job:

2023-08-21 15:26:10 +08:00
yp05327 and GitHub
9665622378
Differentiate better between user settings and admin settings ( #26538 )
...
User settings page and admin settings page are too similar. I thinlk
this will be better of using `User Settings` and `Admin Settings` as the
navbar's title.
Before:


After:


2023-08-16 10:12:03 +00:00
yp05327 and GitHub
82f6e3d845
Improve deadline icon location in milestone list page ( #26532 )
2023-08-16 16:22:25 +08:00
yp05327 and GitHub
bc930f332f
Fix typo of RunerOwnerID ( #26508 )
2023-08-15 23:10:40 +00:00