1
1
mirror of https://github.com/go-gitea/gitea synced 2025-03-02 16:54:18 +00:00

8 Commits

Author SHA1 Message Date
wxiaoguang
386c1ed908
Refactor HTMLFormat, update chroma render, fix js error ()
A small refactor to improve HTMLFormat, to help to prevent low-level
mistakes.

And fix , fix 
2025-01-08 03:44:32 +00:00
wxiaoguang
c09656e0e0
Make issue suggestion work for new PR page ()
Fix 
2024-12-31 03:50:55 +00:00
silverwind
c8ea41b049
Fix remaining typescript issues, enable tsc ()
Fixes 79 typescript errors. Discovered at least two bugs in
`notifications.ts`, and I'm pretty sure this feature was at least
partially broken and may still be, I don't really know how to test it.

After this, only like ~10 typescript errors remain in the codebase but
those are harder to solve.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-16 05:02:32 +08:00
wxiaoguang
6f1de0a9e5
Add avif image file support ()
Most modern browsers support it now

` Update ALLOWED_TYPES  ` https://gitea.com/gitea/docs/pulls/96

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-11-15 00:55:50 +00:00
wxiaoguang
623a2d41cc
Refactor issue page info ()
Fix a longstanding TODO since 2021 () / 2018 ()
2024-11-08 02:21:13 +00:00
wxiaoguang
a4a121c684
Fix suggestions for issues () 2024-10-30 20:06:36 +00:00
silverwind
7207d93f01
Fix a number of Typescript issues ()
Typescript error count is reduced from 633 to 540 with this. No runtime
changes except in test code.
2024-08-28 18:32:38 +02:00
silverwind
5791a73e75
Convert frontend code to typescript ()
None of the frontend js/ts files was touched besides these two commands
(edit: no longer true, I touched one file in
61105d0618
because of a deprecation that was not showing before the rename).

`tsc` currently reports 778 errors, so I have disabled it in CI as
planned.

Everything appears to work fine.
2024-07-07 15:32:30 +00:00