Kerwin Bryant
34dc5b1c1d
Merge branch 'main' into add-file-tree-to-file-view-page
2025-01-10 02:02:46 +00:00
Kerwin Bryant
335375fd76
merge main
2025-01-10 01:57:19 +00:00
yp05327
2298ff2152
Fix branch dropdown not display ref name ( #33159 )
...
Before:

After:

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-09 18:43:49 +00:00
wxiaoguang
a5043af8ea
Fix assignee list overlapping in Issue sidebar ( #33176 )
...
Fix #33170


2025-01-10 01:58:37 +08:00
yp05327
88366f280e
Move repo size to sidebar ( #33155 )
...

2025-01-09 07:45:51 +00:00
wxiaoguang
9c00e065a1
Fix form width ( #33151 )
...
Fix #33150
2025-01-08 23:57:18 +08:00
Rowan Bohde
a8e7caedfa
add submodule diff links ( #33097 )
...
This adds links to submodules in diffs, similar to the existing link
when viewing a repo at a specific commit. It does this by expanding diff
parsing to recognize changes to submodules, and find the specific refs
that are added, deleted or changed.
Related #25888
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-08 01:38:30 +00:00
wxiaoguang
ef736b7e27
Refactor legacy JS ( #33115 )
2025-01-06 17:38:42 +08:00
Kerwin Bryant
91f972ce82
fix
2025-01-06 06:59:04 +00:00
wxiaoguang
40765b5d45
Fix repo empty guide ( #33114 )
2025-01-06 12:07:52 +08:00
Kerwin Bryant
c949f42d4d
fix
2025-01-06 03:20:42 +00:00
Kerwin Bryant
ad9b126ad6
fix
2025-01-06 01:38:46 +00:00
wxiaoguang
cf60734a4d
Fix dropdown menu header and mobile view ( #33108 )
...

----

----

2025-01-05 21:20:22 +00:00
ChristopherHX
4237736029
workflow_dispatch use workflow from trigger branch ( #33098 )
...
* htmx updates the input form on branch switch
* add workflow warning to dispatch modal
* use name if description of input is empty
* show error if workflow_dispatch not available on branch
Closes #33073
Closes #33099
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-05 21:47:18 +08:00
wxiaoguang
df9d1fe8c5
Trivial fixes ( #33103 )
...
1. remove `gock` dependency, it is not needed
2. fix a regression from org private profile readme
2025-01-04 22:25:50 +00:00
wxiaoguang
3d544a3ad3
Fix empty git repo handling logic ( #33101 )
...
Fix #33092
2025-01-04 18:47:24 +08:00
Kerwin Bryant
2a8f9c8531
fix
2025-01-03 08:53:47 +00:00
Kerwin Bryant
087f0d41bd
fix
2025-01-03 07:47:44 +00:00
Kerwin Bryant
b1b24282ae
Merge branch 'main' into add-file-tree-to-file-view-page
2025-01-03 13:52:57 +08:00
wxiaoguang
68972a9947
Clean up legacy form CSS styles ( #33081 )
2025-01-03 04:01:19 +00:00
wxiaoguang
9ac536a904
Fix "stop time tracking button" on navbar ( #33084 )
...
Fix #33083
By the way (something I was working on):
1. relax color/background-color for more markup elements
2. fix a command line sentence error
2025-01-03 04:01:05 +08:00
wxiaoguang
45973a100b
Fix bleve fuzziness search ( #33078 )
...
Close #31565
2025-01-03 00:32:02 +08:00
wxiaoguang
85c756e279
Refactor pull-request compare&create page ( #33071 )
...
The old code is unnecessarily complex.
2025-01-02 01:16:09 +08:00
lonix1
d030cace1a
feat: link to nuget dependencies ( #26554 )
...
Add links to dependencies and their versions, as done in nuget site.
Makes it easier to use.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-01 19:07:10 +08:00
wxiaoguang
2564c15cb0
Remove some unnecessary template helpers ( #33069 )
...
DisableGitHooks and DisableImportLocal are only used when editing a
user, so only set them in `editUserCommon`
2025-01-01 18:02:34 +08:00
Steffen Schröter
57eb9d0b64
Inherit submodules from template repository content ( #16237 )
...
Fix #10316
---------
Signed-off-by: Steffen Schröter <steffen@vexar.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-01 02:55:13 +00:00
Kerwin Bryant
54bd220520
Optimize the installation page ( #32994 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-31 04:49:26 +00:00
Chai-Shi
0387195abb
[Feature] Private README.md for organization ( #32872 )
...
Implemented #29503
---------
Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-31 04:22:09 +00:00
Henry Goodman
a96776b3cb
Fix review code comment avatar alignment ( #33031 )
...
Fixes #33017
Avatar should only have offset if the `Comment` has `Content` or
`Attachment` to align with the speech bubble.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-29 11:04:13 +00:00
TheFox0x7
ff96873e3e
Fix templating in pull request comparison ( #33025 )
...
Adds test for expected behavior
Closes: https://github.com/go-gitea/gitea/issues/33013
2024-12-29 01:32:19 +00:00
metiftikci
64bebc9402
always show assignees on right ( #33006 )
...
### Before

### After

2024-12-29 00:30:06 +00:00
metiftikci
94048f3035
fix toggle commit body button ui when latest commit message is long ( #32997 )
...
#### Before

#### After

## Edit:
I found an issue on mobile view and changed the code as using flex gap


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-29 08:04:56 +08:00
wxiaoguang
a92f5057ae
Fix and/or comment some legacy CSS problems ( #33015 )
2024-12-28 11:51:38 +00:00
wxiaoguang
3d3ece36d2
Refactor comment history and fix content edit ( #33018 )
...
And fix a regression bug for comment content editing.
Now 11 "import jquery" files left
2024-12-28 19:26:16 +08:00
Blender Defender
079a1ffe8f
De-emphasize signed commits ( #31160 )
...
The new code structure is easier to make more improvements or
refactor, for example: change the colors to de-emphasize more, or design
some new layouts.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-28 04:18:30 +08:00
Lunny Xiao
a19a972159
Merge branch 'main' into kerwin612-add-file-tree-to-file-view-page
2024-12-26 11:42:42 -08:00
yp05327
7bb7ba1b5b
Add show more
organizations icon in user's profile ( #32986 )
...
Close #32952
# ⚠️ Doc update is required


------
⚠️ This PR refuses to be cherry-picked by any forked projects without any
mentions.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-27 02:49:50 +08:00
Kerwin Bryant
634fbe0c2d
Merge branch 'main' into add-file-tree-to-file-view-page
2024-12-26 08:52:35 +08:00
Kerwin Bryant
143249f4f1
change loading
2024-12-26 00:51:46 +00:00
wxiaoguang
b7260400f8
Refactor tmpl and blob_excerpt ( #32967 )
...
1. do not use `{{/* */}}` to remove spaces, use `{{- -}}`
2. fix "blob_excerpt" endpoint, remove the legacy fragile code: have
tested commit diff and wiki diff
2024-12-25 00:51:13 +08:00
Kerwin Bryant
e46f7e40a1
Merge branch 'main' into add-file-tree-to-file-view-page
2024-12-24 13:24:54 +08:00
wxiaoguang
781c6df40f
Add sub issue list support ( #32940 )
...
Just like GitHub, show issue icon/title when the issue number is in a list
2024-12-24 01:54:19 +00:00
wxiaoguang
7553ae1a57
Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token ( #32946 )
...
Fix #23703
When Gitea starts, it reads GITEA_RUNNER_REGISTRATION_TOKEN
or GITEA_RUNNER_REGISTRATION_TOKEN_FILE to add registration token.
2024-12-23 09:59:16 +00:00
wxiaoguang
89f31f79fd
Fix outdated tmpl code ( #32953 )
...
Some PRs were before tmpl ctx refactoring and used outdated code
2024-12-23 11:21:11 +08:00
Kerwin Bryant
07fb84f830
Merge branch 'main' into add-file-tree-to-file-view-page
2024-12-23 10:56:23 +08:00
bytedream
6279646ee4
Add auto-expanding running actions step ( #30058 )
...
Auto-expands the currently running action step.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-22 18:57:17 +00:00
wxiaoguang
afe314fa77
Use primary as button color ( #32949 )
...
* Fix #32871
* Fix #32948
2024-12-22 23:03:39 +08:00
wxiaoguang
4774151e53
Improve navbar: add "admin" tip, add "active" style ( #32927 )
...
By the way, remove all "tw-" patches and unused styles.
2024-12-20 16:38:56 +00:00
Tim
7580bd98c1
show warning on navigation if currently editing comment or title ( #32920 )
...
This PR fixes the issue https://github.com/go-gitea/gitea/issues/32223
Make the browser to show the confirm popup, as it does with other forms.
---------
Co-authored-by: Tim Wundenberg <tim@wundenbergs.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-20 23:39:19 +08:00
silverwind
141d782c1a
Refactor repo-projects.ts ( #32892 )
...
- Remove jQuery
- Add types to all functions
- Tested all modified functionality
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-19 08:37:12 +00:00