7 Commits

Author SHA1 Message Date
wxiaoguang
633785a5f3 Refactor markup render system ()
This PR removes (almost) all path tricks, and introduces "renderhelper"
package.

Now we can clearly see the rendering behaviors for comment/file/wiki,
more details are in "renderhelper" tests.

Fix  , fix , fix  and maybe more problems. (ps: fix
 by the way)
2024-11-24 16:18:57 +08:00
6543
217d71c48a Workaround to clean up old reviews on creating a new one ()
close  

blocks  

---
*Sponsored by Kithara Software GmbH*
2024-02-19 14:42:18 +01:00
Nanguan Lin
e91d4f106b Upgrade xorm ()
Related to https://gitea.com/xorm/xorm/pulls/2341
2023-10-19 10:25:57 +00:00
wxiaoguang
ad13df36b7 Test query must have "order by" explicitly to avoid unstable results ()
The query must have the "ORDER BY", otherwise the result is not
deterministic.

Replace "interface{}" with "any" by the way.
2023-05-29 03:20:57 +00:00
flynnnnnnnnnn
e81ccc406b Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-27 18:20:29 +00:00
Lunny Xiao
86c85c19b6 Refactor AssertExistsAndLoadBean to use generics ()
* Refactor AssertExistsAndLoadBean to use generics

* Fix tests

Co-authored-by: zeripath <art27@cantab.net>
2022-08-16 10:22:25 +08:00
wxiaoguang
81926d61db Decouple unit test, remove intermediate unittestbridge package ()
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-11-16 16:53:21 +08:00