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.
gitea/web_src/js
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>
4 years ago
..
code Fix and restyle menu on code line (#15913) 4 years ago
components Actually compute proper foreground color for labels (#16729) 4 years ago
features Save and view issue/comment content history (#16909) 4 years ago
markup Keep attachments on tasklist update (#16750) 4 years ago
standalone docs: swagger show models by default (#14880) 4 years ago
vendor Restore Accessibility for Dropdown (#16576) 4 years ago
easymde.js Switch from SimpleMDE to EasyMDE (#13333) 4 years ago
index.js Save and view issue/comment content history (#16909) 4 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
publicpath.js Unregister non-matching serviceworkers (#15834) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 5 years ago
svg.js Save and view issue/comment content history (#16909) 4 years ago
utils.js Use light/dark theme based on system preference (#17051) 4 years ago
utils.test.js Unregister non-matching serviceworkers (#15834) 4 years ago