Kerwin Bryant
c0e2fd2e7d
fix
2025-01-13 05:41:46 +00:00
Lunny Xiao
eff3568d31
Merge branch 'main' into kerwin612-add-file-tree-to-file-view-page
2025-01-12 20:54:57 -08:00
wxiaoguang
81352542fd
Refactor context RefName and RepoAssignment ( #33226 )
...
The `ctx.Repo.RefName` was used to be a "short name", it causes a lot of
ambiguity.
This PR does some refactoring and use `RefFullName` to replace the
legacy `RefName`, and simplify RepoAssignment
2025-01-13 01:07:05 +00:00
wxiaoguang
9024b79933
Remove unused CSS styles and move some styles to proper files ( #33217 )
2025-01-12 05:16:22 +00:00
wxiaoguang
a068462ac0
Refactor context repository ( #33202 )
2025-01-12 03:39:46 +00:00
Lunny Xiao
fd7d393c67
Fix unpin hint on the pinned pull requests ( #33207 )
2025-01-12 00:05:33 +00:00
Lunny Xiao
818ad6a3ed
Merge branch 'add-file-tree-to-file-view-page' of github.com:kerwin612/gitea into kerwin612-add-file-tree-to-file-view-page
2025-01-09 23:11:38 -08:00
Lunny Xiao
f769c8bf43
Make template simpler
2025-01-09 23:11:33 -08:00
Kerwin Bryant
67342378d3
Merge branch 'upstream_main' into add-file-tree-to-file-view-page
2025-01-10 06:53:59 +00:00
Chai-Shi
e5f3c16587
Fix sync fork for consistency ( #33147 )
...
Fixes #33145
An integration test could be added.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 05:29:55 +00:00
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