Rajesh Jonnalagadda and GitHub
5dd10049f6
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-10 14:35:11 +05:30
silverwind and GitHub
d061f6b70a
Change typescript module to nodenext ( #32757 )
...
Typescript 5.7 changed semantics around JSON imports and `nodenext` is
now [treated
differently](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-beta/#validated-json-imports-in---module-nodenext )
than `node16` for JSON imports and it requires the import attribute, so
change the value to that and add the attribute to eliminate this
typescript error.
[`moduleResolution`](https://www.typescriptlang.org/tsconfig/#moduleResolution )
is treated as an alias when `module` is `nodenext`, so we don't need to
specify it.
Also see https://github.com/microsoft/TypeScript/issues/60589 . It
appears the next Typescript release will fix this for `node16`, but I
guess it'll still be good to switch to `nodenext`.
2024-12-10 08:44:39 +00:00
Rajesh Jonnalagadda
2413513bc0
Merge branch 'feat-32257-add-comments-unchanged-lines-and-show' of github.com:rajesh-jonnalagadda/gitea into feat-32257-add-comments-unchanged-lines-and-show
2024-12-10 13:10:53 +05:30
Rajesh Jonnalagadda
96849dda83
chore: handle feedback
2024-12-10 12:54:50 +05:30
wxiaoguang and GitHub
90d20be541
Refactor issue filter (labels, poster, assignee) ( #32771 )
...
Rewrite a lot of legacy strange code, remove duplicate code, remove
jquery, and make these filters reusable.
Let's forget the old code, new code affects:
* issue list open/close switch
* issue list filter (label, author, assignee)
* milestone list open/close switch
* milestone issue list filter (label, author, assignee)
* project view (label, assignee)
2024-12-10 11:38:22 +08:00
wxiaoguang and GitHub
1b069dc94a
Make RepoActionView.vue support ##[group] ( #32770 )
2024-12-10 01:57:20 +00:00
GiteaBot
43ca67eb8c
[skip ci] Updated translations via Crowdin
2024-12-10 00:34:44 +00:00
silverwind and GitHub
57a5e9acf8
Make Monaco theme follow browser, fully type codeeditor.ts ( #32756 )
...
1. Monaco's theme now follows changes in dark/light mode setting, this
works via
[`MediaQueryList`](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList )'s
[change
event](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/change_event ).
2. Fully type the file, it now passes typescript strict mode.
2024-12-09 17:03:36 +00:00
Rajesh Jonnalagadda and GitHub
67343d616a
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-09 22:00:31 +05:30
wxiaoguang and GitHub
5675efb3e0
Fix duplicate dropdown dividers ( #32760 )
...
Fix #27466
The problem is that any item in the menu could be hidden, pure CSS won't
work, and dropdown's builtin "hideDividers" doesn't work with our "scope
dividers". The newly introduced "archived" label makes the dividers
regression more.
2024-12-09 07:54:59 +00:00
yp05327 and GitHub
2d13eafd69
Remove unnecessary border in repo home page sidebar ( #32767 )
2024-12-09 15:30:16 +08:00
Rajesh Jonnalagadda and GitHub
b5531f85b1
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-09 09:16:46 +05:30
GiteaBot
145b583631
[skip ci] Updated licenses and gitignores
2024-12-09 00:35:40 +00:00
wxiaoguang and GitHub
c986718965
Fix repo home row-right grow ( #32763 )
...
Fix #32753
2024-12-09 00:16:32 +08:00
wxiaoguang and GitHub
23471e1333
Refactor issue list ( #32755 )
...
1. add backend support for filtering "poster" and "assignee"
* due to the limits, there is no frontend support at the moment
2. rewrite TS code without jquery, now there are 14 jQuery files left:
2024-12-08 20:44:17 +08:00
Lunny Xiao and GitHub
9d08d3fbf5
Fix compare page bug view as anonymous ( #32754 )
...
Fix a bug introduced from
https://github.com/go-gitea/gitea/pull/32403/files#diff-dc86301f15109eee38296d469630672193e0587ad1485fdd8f503bf4c789cf7eR692
2024-12-08 14:38:21 +08:00
Lunny Xiao and GitHub
cd7bf77b2f
Split issue/pull view router function as multiple smaller functions ( #32749 )
...
This PR splits issue/pull view function into multiple smaller functions.
It also removed duplicated branches load.
2024-12-08 04:39:35 +00:00
ad994780af
fix: render job title as commit message ( #32748 )
...
resolves #32724
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-08 03:23:09 +00:00
1518f4ed12
Fix typescript errors in Vue files, fix regression in "Recent Commits" chart ( #32649 )
...
- Fix all typescript errors in `.vue` files
- Fix regression from https://github.com/go-gitea/gitea/pull/32329 where
"Recent Commits" chart would not render.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-08 02:58:18 +00:00
wxiaoguang and GitHub
96d3a03a08
Refactor LabelEdit ( #32752 )
...
And fix a regression:
https://github.com/go-gitea/gitea/pull/30053#discussion_r1874405470
Major changes:
* rewrite without jquery
* remove the "delete modal", using "link-action" is good enough
* merge "new modal" and "edit modal"
2024-12-08 02:35:28 +00:00
GiteaBot
a78a466383
[skip ci] Updated translations via Crowdin
2024-12-08 00:37:22 +00:00
Rajesh Jonnalagadda and GitHub
959e149089
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-07 12:10:51 +05:30
6bd70d4d87
fix(project): add title to project view page ( #32747 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-07 12:44:33 +08:00
GiteaBot
5449da7448
[skip ci] Updated translations via Crowdin
2024-12-07 00:34:09 +00:00
silverwind and GitHub
5c980f6bb3
Fix case of .tsbuildinfo in .gitignore ( #32737 )
...
The docs at https://www.typescriptlang.org/tsconfig/#tsBuildInfoFile are
inconsistent, but I'm positive now that the file name is all-lowercase.
2024-12-06 23:09:36 +00:00
wxiaoguang and GitHub
513da407f4
Support "merge upstream branch" (Sync fork) ( #32741 )
...
Add basic "sync fork" support (GitHub-like)
<details>

</details>
2024-12-06 21:10:35 +00:00
Rajesh Jonnalagadda and GitHub
f8197d757c
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-07 00:27:52 +05:30
Lunny Xiao and GitHub
5a75160c92
Update changelog to add missed changelog ( #32734 )
2024-12-06 17:31:43 +00:00
Rajesh Jonnalagadda and GitHub
780d483d87
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-06 20:50:23 +05:30
Rajesh Jonnalagadda
50bab1b24b
chore: remove the add comment on the line section. fix the hsaComments logic
2024-12-06 20:49:34 +05:30
faf5705d29
GitHub like repo home page ( #32213 )
...
Move some components (description, license, release, language stats) to sidebar
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-06 14:29:04 +00:00
Rajesh Jonnalagadda and GitHub
649201dafc
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-06 18:03:02 +05:30
wxiaoguang and GitHub
3c4a06273f
Refactor markdown render ( #32736 )
...
and add some tests
2024-12-06 20:00:24 +08:00
Lunny Xiao and GitHub
b32f0cdfa0
Make wiki pages visit fast ( #32732 )
2024-12-06 07:39:50 +00:00
wxiaoguang and GitHub
0f18046df4
Refactor markdown render ( #32728 )
...
Follow up recent render system refactoring PRs (split test code), and
fine tune the math render (added some new cases)
2024-12-06 04:29:09 +00:00
wxiaoguang and GitHub
f7f68e4cc0
Refactor RepoActionView.vue, add ::group:: support ( #32713 )
...
1. make it able to "force reload", then the previous pending request
won't block the new request
2. make it support `::group::`
3. add some TS types (but there are still many variables untyped, this
PR is large enough, the remaining types could be added in the future)
2024-12-06 12:04:16 +08:00
Yarden Shoham and GitHub
ff14ada965
Bump relative-time-element to v4.4.4 ( #32730 )
...
Fix #32716
Tested, it still works.
- cc @wxiaoguang for
https://github.com/github/relative-time-element/pull/296
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
2024-12-06 06:11:35 +08:00
silverwind and GitHub
5cada75596
Update dependencies, tweak eslint ( #32719 )
...
- ~~Remove `eslint-plugin-sonarjs`. I lost faith in it since they moved
it to their monorepo and I can't recall the last time when this plugin
raised a useful error.~~
- Add new rules from `no-jquery`
- ~~Tweak typescript config to prevent temp files in root directory in
certain situations~~ File is just gitignored now.
- Tested all relevant dependencies
2024-12-05 16:13:10 +00:00
Rajesh Jonnalagadda and GitHub
510d8ba3f1
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-05 20:26:42 +05:30
936665bf85
Issue time estimate, meaningful time tracking ( #23113 )
...
Redesign the time tracker side bar, and add "time estimate" support (in "1d 2m" format)
Closes #23112
---------
Co-authored-by: stuzer05 <stuzer05@gmail.com >
Co-authored-by: Yarden Shoham <hrsi88@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-05 13:07:53 +00:00
Rajesh Jonnalagadda and GitHub
5289da253c
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-05 18:06:58 +05:30
Lunny Xiao and GitHub
c5422fae9a
Fix fork page branch selection ( #32711 )
...
Fix #32709
2024-12-05 00:57:32 +00:00
0c3c041c88
Add Arch package registry ( #32692 )
...
Close #25037
Close #31037
This PR adds a Arch package registry usable with pacman.

Rewrite of #25396 and #31037 . You can follow [this
tutorial](https://wiki.archlinux.org/title/Creating_packages ) to build a
package for testing.
Docs PR: https://gitea.com/gitea/docs/pulls/111
Co-authored-by: [d1nch8g@ion.lc ](mailto:d1nch8g@ion.lc )
Co-authored-by: @ExplodingDragon
---------
Co-authored-by: dancheg97 <dancheg97@fmnx.su >
Co-authored-by: dragon <ExplodingFKL@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-04 23:09:07 +00:00
Lunny Xiao and GitHub
5ab7aa700f
Use new mail package instead of an unmintained one ( #32682 )
...
Resolve #18664
2024-12-05 06:33:43 +08:00
wxiaoguang and GitHub
4142397b0b
Fix mentionable users when writing issue comments ( #32715 )
...
Fix #32702
2024-12-04 22:57:50 +08:00
Rajesh Jonnalagadda and GitHub
c1e4d5766a
Merge branch 'main' into feat-32257-add-comments-unchanged-lines-and-show
2024-12-04 19:32:43 +05:30
wxiaoguang and GitHub
838653d1df
Fix file editor & preview ( #32706 )
...
Fix a regression caused by jQuery removal (`renderPreviewPanelContent`)
And simplify the file editor, it doesn't need to be that complex. And
remove jQuery code.
2024-12-04 09:26:54 +00:00
Lunny Xiao and GitHub
e45ffc530f
Remove outdated code about fixture generation ( #32708 )
2024-12-04 07:59:28 +00:00
Zettat123 and GitHub
5dda9510f4
Fix gogit GetRefCommitID ( #32705 )
2024-12-03 23:30:46 -08:00
Lunny Xiao and GitHub
17053e953f
Fix delete branch perm checking ( #32654 )
2024-12-04 11:59:48 +08:00