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.
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
..
context.go DBContext is just a Context (#17100) 3 years ago
convert.go Move db related basic functions to models/db (#17075) 3 years ago
engine.go DBContext is just a Context (#17100) 3 years ago
index.go Fix commit status index problem (#17061) 3 years ago
list_options.go Move login related structs and functions to models/login (#17093) 3 years ago
list_options_test.go Move login related structs and functions to models/login (#17093) 3 years ago
log.go Move db related basic functions to models/db (#17075) 3 years ago
main_test.go Move db related basic functions to models/db (#17075) 3 years ago
sequence.go Move db related basic functions to models/db (#17075) 3 years ago
sql_postgres_with_schema.go Move db related basic functions to models/db (#17075) 3 years ago
store.go Move db related basic functions to models/db (#17075) 3 years ago
test_fixtures.go Move login related structs and functions to models/login (#17093) 3 years ago
unit_tests.go Save and view issue/comment content history (#16909) 3 years ago