You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
wxiaoguang c5c88f2f18
Save and view issue/comment content history (#16909)
* issue content history

* Use timeutil.TimeStampNow() for content history time instead of issue/comment.UpdatedUnix (which are not updated in time)

* i18n for frontend

* refactor

* clean up

* fix refactor

* re-format

* temp refactor

* follow db refactor

* rename IssueContentHistory to ContentHistory, remove empty model tags

* fix html

* use avatar refactor to generate avatar url

* add unit test, keep at most 20 history revisions.

* re-format

* syntax nit

* Add issue content history table

* Update models/migrations/v197.go

Co-authored-by: 6543 <6543@obermui.de>

* fix merge

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
3 years ago
..
api/v1 API pull's head/base have correct permission (#17214) 3 years ago
common Move db related basic functions to models/db (#17075) 3 years ago
install Move db related basic functions to models/db (#17075) 3 years ago
private refactor: move from io/ioutil to io and os package (#17109) 3 years ago
utils just add some unit tests (#16291) 3 years ago
web Save and view issue/comment content history (#16909) 3 years ago
init.go Always emit the configuration path (#17036) 3 years ago