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.
7 years ago
Unknwon
b538c5345e
restore: reset original created_unix after insert ( #5264 )
7 years ago
Unknwon
078549518d
vendor: update github.com/gogs/git-module
7 years ago
Unknwon
c08aab90ec
models/mirror: shot push webhook after synced commits ( #4528 )
7 years ago
Unknwon
0376e59520
pkg/setting: fix '[git] GC_ARGS' is not loaded
7 years ago
Unknwon
e25fe22f9d
pkg/template: fix NewLine2br return type to string
7 years ago
Unknwon
bef7f6745c
templates/repo/settings: fix mirror setting error
7 years ago
Unknwon
775919c129
mirror: show sync feeds on dashboard ( #2017 )
7 years ago
Sergey Dryabzhinsky
b5a1daa756
template: simple html filter for repository description ( #5242 )
...
* Add markdown renderer function to templates, use it for description in repo template
* Fix function call
* Define function Md2html in template namespace
* Change filter from Md2html to nl2br
* Change filter name to NewLine2br as suggested
* Update description output:
- just replace `\n` by `<br>`
- sanitize html after replace
7 years ago
Unknwon
01ccc2cc96
security: prevent same passcode from being reused
...
Reported by @cezar97 .
7 years ago
Madzahttr
cd093a07a3
templates/mail/auth: update copyright year ( #5224 )
...
* Update activate.tmpl
* Update activate_email.tmpl
* Update register_notify.tmpl
* Update reset_passwd.tmpl
7 years ago
Sergey Dryabzhinsky
7e450542d9
templates/repo: use correct Semantic UI icon styles to fix star and watch icons ( #5218 )
...
* Update font-awesome to 4.7.0
* Fix font-awesome styles overrided by semantic
* Revert back
* Revert back 2
* Just use right `semantic` icon styles
7 years ago
Michael Li
45545e897c
templates/user/dashboard: make page more concise for user's activity/issues/PR information ( #5209 )
7 years ago
Unknwon
e3ce295215
public/css: generate CSS for PR #5169
7 years ago
Unknwon
15f9a83618
templates/repo: escape branch name ( #4601 )
7 years ago
Unknwon
9127001f11
pkg/setting: support Discord logger
7 years ago
rokuu
c68fc4f31a
templates: fixes broken UI under supported resolution (1024x768) #5179 ( #5182 )
...
* Update view_list.tmpl
* Update commits_table.tmpl
* Update dashboard.tmpl
* Update list.tmpl
* Update list.tmpl
* Update list.tmpl
* Update list.tmpl
* Update notice.tmpl
* Update monitor.tmpl
* Update view_file.tmpl
* Update diff_preview.tmpl
* Update box.tmpl
7 years ago
rokuu
9387b79b98
templates: delete legacy file ( #5180 )
7 years ago
Unknwon
5c2de3a9ea
pkg/template: fix Gravatar URLs are badly generated ( #5157 )
7 years ago
Unknwon
f89d948c06
templates/repo/issue: rework escape delete branch link after merged pull request ( #4601 )
7 years ago
Unknwon
45a0988833
templates/repo/issue: escape delete branch link after merged pull request ( #4601 )
7 years ago
Nicolas Ettlin
afbb31c05e
MISC: fix Mac OS X → macOS ( #5168 )
7 years ago
Unknwon
e6af6487e1
locale: sync from Crowdin
...
Add Vietnamese
7 years ago
Unknwon
cb47595f13
Bump version
7 years ago
Unknwon
c59704a24b
public: update Semantic UI 2.2.13 -> 2.3.1
7 years ago
Unknwon
f2ecfdc96a
auth: support authentication source config file ( #3142 )
7 years ago
Unknwon
717d409b72
templates/admin/auth/list: rename list title
7 years ago
Unknwon
6e207c823e
templates/admin/auth/list: move "new" button to table foot
7 years ago
Unknwon
8b66c433c5
models/pull: fix error on merge pull requests to non-default branch ( #5138 )
7 years ago
Unknwon
55f148f499
template: delete legacy file
7 years ago
Unknwon
34bd04f925
MISC: fix typo and grammar
...
Reference: 932490d7f1 (commitcomment-28344918)
7 years ago
Unknwon
17d789a785
pkg/mailer: support custom mail subject prefix ( #4524 )
7 years ago
Unknwon
63a263f542
templates/admin/config: show SSH.StartBuiltinServer
7 years ago
Unknwon
932490d7f1
conf: add option to rewrite authorized_keys file at start ( #4435 )
...
Added config option '[server] REWRITE_AUTHORIZED_KEYS_AT_START'.
7 years ago
Unknwon
c17a6ff533
templates/repo: show quick guide to people with write permission ( #4646 )
...
Used to only show people who has admin permission.
7 years ago
Unknwon
75555585e8
models/pull: fix rebase merging no effect ( #5051 )
7 years ago
Unknwon
28e0003a9a
templates/repo/branches: escape pound in branch name ( #4874 )
7 years ago
Jorge Maldonado Ventura
2818ce4632
templates: make dropdowns menus work when JavaScript is disabled ( #4780 )
...
* Make dropdowns menus work when JavaScript is disabled
* Update head.tmpl
* Update head.tmpl
7 years ago
Unknwon
52ee796d6d
repo_branch: fix SQL builder ( #5054 )
7 years ago
Unknwon
ba0a78da2a
templates/repo/branches: escape pound in branch name ( #4874 )
7 years ago
Unknwon
d7280f82ac
locale: sync from Crowdin
7 years ago
Unknwon
86d249eb16
migrations: remove unused function and fix compile error
7 years ago
Unknwon
40eb652cfa
public/plugins: update notebookjs to 0.3.0 ( #5077 )
7 years ago
Ruben Vermeersch
f4e4ea1374
public: update notebookjs to 0.3.0 ( #5084 )
...
Fixes #5077
7 years ago
James
199d67581a
templates/user/dashboard/issues: show labels to each issue ( #4976 )
...
* add issue labels
* remove hyperlink from issue label
* wrap labels in right aligned span
* put issues with div
put the issue labels within a div so they don't interfere with the number of comments
7 years ago
Unknwon
49bd893a77
bindata: update changes from pull requests
7 years ago
Andres D
8729a60c1d
templates/user/auth/login: disable password autocomplete ( #5068 )
...
As gogs can be linked with PAM it is recommended to disable the autocomplete on the password input.
7 years ago
Larry Li
f9c706e31b
templates/user/settings: fix delete email button ( #4998 )
7 years ago
Sanxing Chen
68d22e78bf
templates: update year in footer ( #4966 )
...
Happy new year!
7 years ago
kaajavi
ca874ba8c7
templates/repo: fix wrong branch url in branches view ( #4902 )
7 years ago