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 Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
codeeditor.js Monaco improvements (#15333) 2021-04-08 17:53:00 +08:00
colorpicker.js Move jquery-minicolors to npm/webpack (#12305) 2020-07-29 14:44:23 -04:00
contextpopup.js Do not show issue context popup on external issues (#17050) 2021-09-15 09:45:27 +01:00
dropzone.js Fix Dropzone following #15315 (#15353) 2021-04-09 10:32:30 +08:00
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 Add fullTextSearch to dropdowns by default (#14694) 2021-02-16 11:03:32 +08:00
heatmap.js Fix heatmap activity (#15252) 2021-06-25 12:59:25 -04:00
imagediff.js Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
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 Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
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 Remove spurious AppSubUrl in serviceworker request. (#16047) 2021-06-08 18:46:13 +01:00
stopwatch.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
tablesort.js [UI] Sortable Tables Header By Click (#7980) 2020-06-24 23:23:05 +01:00
tribute.js Do not show No match found for tribute (#16231) 2021-06-23 19:02:23 -04:00