forgejo/web_src/js/features
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>
2021-10-10 18:40:03 -04:00
..
clipboard.js
codeeditor.js
colorpicker.js
contextpopup.js Do not show issue context popup on external issues (#17050) 2021-09-15 09:45:27 +01:00
dropzone.js
emoji.js Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
eventsource.sharedworker.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
gitgraph.js
heatmap.js Fix heatmap activity (#15252) 2021-06-25 12:59:25 -04:00
imagediff.js
issue-content-history.js Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
lastcommitloader.js Defer Last Commit Info (#16467) 2021-10-08 15:08:22 +02:00
migration.js
notification.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
projects.js Kanban colored boards (#16647) 2021-09-29 22:53:12 +02:00
serviceworker.js
stopwatch.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
tablesort.js
tribute.js Do not show No match found for tribute (#16231) 2021-06-23 19:02:23 -04:00