gogs/models/migrations
Sergey Dryabzhinsky 57897cc8c2 repo: update repository description field to contain more than 256 symbols (#5219)
* Update repository description field to contain more than 256 symbols

- update repository model - description field now is `TEXT` and limited by 4000 symbols
- new migration
- add description to html forms - repo creation and repo settings
- add translation for description

* Update for description field, new features

- add autosize (height) for description textarea, new plugin
- set max description length to 512 symbols
- update locales

* Fix migration - typo in var

* Update repo description behaviour

- add textarea autosize for /repo/create
- add symbols counter under description testarea (create/edit)

* Fix function definition - it a var

* Revert ru-RU locale

* Update by review

- Use type `varchar(512)` in migration
- Remove unused files from autosize plugin

* Fix migration - new project paths

* Fixes after review 2

- copyright year
- format includes
- use switch instead of multi-if

* Remove unused `default:` option.
2018-06-11 20:34:26 +08:00
..
migrations.go repo: update repository description field to contain more than 256 symbols (#5219) 2018-06-11 20:34:26 +08:00
v13.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
v14.go migrations: sync table first 2016-08-26 17:32:41 -07:00
v15.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
v16.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
v17.go migrations.v17: skip if table not exist 2017-03-30 11:37:27 -04:00
v18.go repo: update repository description field to contain more than 256 symbols (#5219) 2018-06-11 20:34:26 +08:00