gogs/models
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
..
errors auth: support authentication source config file (#3142) 2018-04-12 09:55:58 -04:00
migrations repo: update repository description field to contain more than 256 symbols (#5219) 2018-06-11 20:34:26 +08:00
access.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
action.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
admin.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
attachment.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
comment.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
error.go auth: support authentication source config file (#3142) 2018-04-12 09:55:58 -04:00
git_diff.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
git_diff_test.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
issue.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
issue_label.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
issue_mail.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
login_source.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
milestone.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
mirror.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
mirror_test.go mirror: show sync feeds on dashboard (#2017) 2018-05-30 21:26:03 +08:00
models.go restore: reset original created_unix after insert (#5264) 2018-06-09 17:21:58 +08:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04:00
models_test.go #3442 add test suites 2016-08-12 02:56:50 -07:00
org.go Refactoring: remove sessionRelease() 2017-06-11 03:06:36 -04:00
org_team.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
pull.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
release.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
repo.go repo: update repository description field to contain more than 256 symbols (#5219) 2018-06-11 20:34:26 +08:00
repo_branch.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
repo_collaboration.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
repo_editor.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
repo_test.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
ssh_key.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
ssh_key_test.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
token.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
two_factor.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
update.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
user.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
user_cache.go routes/user/auth: improve coding style 2018-05-21 14:45:47 +08:00
user_mail.go models: skip JSON for fields skipped by XORM 2018-06-09 16:06:47 +08:00
webhook.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
webhook_dingtalk.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
webhook_discord.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
webhook_slack.go *: use jsoniter to replace encoding/json 2018-06-09 17:32:58 +08:00
wiki.go *: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00