Unknwon
7856b1202d
*: fix wrong format type
2018-06-13 22:26:56 +08:00
Unknwon
e5ddbcab7d
routes/repo/http: fix wrong format type
2018-06-13 21:58:46 +08:00
oOOps
f9bc980b0b
api: correct pagination in repository search api ( #5293 )
2018-06-13 21:55:09 +08:00
奶爸
806754b512
repo: clean up webhook and hook_task when delete repository ( #5239 )
2018-06-11 21:35:38 +08:00
Unknwon
4d18df204a
Merge branch 'pr-5277' into develop
...
# Conflicts:
# models/migrations/migrations.go
2018-06-11 21:32:57 +08:00
奶爸
04b4431bc0
migrations: clean unlinked webhook and hook_tasks
2018-06-11 21:29:24 +08:00
Unknwon
dfd494c113
repo: minor improve for PR #5219 and support UTF-8 byte count
2018-06-11 21:06:24 +08:00
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
Unknwon
459c8be94f
ci: remove Go 1.6.x
2018-06-09 17:43:26 +08:00
Unknwon
5e158b51db
vendor: add new dependencies
2018-06-09 17:34:38 +08:00
Unknwon
fbecc18e2e
*: use jsoniter to replace encoding/json
2018-06-09 17:32:58 +08:00
Unknwon
b538c5345e
restore: reset original created_unix after insert ( #5264 )
2018-06-09 17:21:58 +08:00
Unknwon
694208865b
vendor: add github.com/json-iterator/go
2018-06-09 17:20:38 +08:00
Unknwon
a75c435245
vendor: update github.com/go-xorm/…
2018-06-09 16:28:52 +08:00
Unknwon
53c8e4263b
models: skip JSON for fields skipped by XORM
...
Reduce output JSON size by backup command
2018-06-09 16:06:47 +08:00
Unknwon
078549518d
vendor: update github.com/gogs/git-module
2018-06-09 10:00:45 +08:00
Alexey Terentyev
4c844081f3
routes/repo: added deletion of an empty line at the end of file ( #5261 ) ( #5270 )
...
* Added deletion of an empty line at the end of file (#5261 )
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Fix after feedback
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
2018-06-06 21:32:54 +08:00
Unknwon
91441c3fb2
locale: sync from Crowdin
2018-06-05 07:31:34 +08:00
Michael Li
b152cbe45a
Makefile: fix make build failure when environment of GOPATH have multiple items ( #5262 )
...
* fixed make build failure when enviroment of GOPATH have Multiple items
gogs source in /other/path/to/go/src/github.com/gogs/gogs and then
>cd /other/path/go/go/src/github.com/gogs/gogs
>GOPATH=/path/to/go:/other/path/to/go make
will also build success in this fixed code
* in makefile rename gogits to gogs
2018-06-04 18:41:54 +08:00
Unknwon
c08aab90ec
models/mirror: shot push webhook after synced commits ( #4528 )
2018-06-03 20:32:44 +08:00
Unknwon
8d091ec062
vendor: update github.com/gogs/git-module
2018-06-03 20:26:29 +08:00
Unknwon
0376e59520
pkg/setting: fix '[git] GC_ARGS' is not loaded
2018-06-03 16:02:17 +08:00
Unknwon
e25fe22f9d
pkg/template: fix NewLine2br return type to string
2018-06-02 08:15:56 +08:00
Unknwon
bef7f6745c
templates/repo/settings: fix mirror setting error
2018-05-30 21:32:40 +08:00
Unknwon
775919c129
mirror: show sync feeds on dashboard ( #2017 )
2018-05-30 21:26:03 +08:00
Unknwon
702acc06d8
vendor: update github.com/gogs/git-module
2018-05-29 06:43:19 +08:00
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
2018-05-29 06:42:27 +08:00
Unknwon
5a47301dbd
docker: rename "gogits" to "gogs"
2018-05-27 09:29:34 +08:00
Unknwon
e33d9e77f4
vendor: rename "gogits" to "gogs"
2018-05-27 09:07:15 +08:00
Unknwon
aff4208244
*: rename "gogits" to "gogs"
2018-05-27 08:53:48 +08:00
Wei He
73dbaefec5
routes/user/setting: fix avatar email update error ( #5245 )
2018-05-26 09:19:04 +08:00
Unknwon
05edcde6c9
routes/user/auth: improve coding style
2018-05-21 14:45:47 +08:00
Unknwon
01ccc2cc96
security: prevent same passcode from being reused
...
Reported by @cezar97.
2018-05-21 14:24:06 +08:00
Madzahttr
cd093a07a3
templates/mail/auth: update copyright year ( #5224 )
...
* Update activate.tmpl
* Update activate_email.tmpl
* Update register_notify.tmpl
* Update reset_passwd.tmpl
2018-05-13 05:25:51 -04:00
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
2018-05-10 04:58:04 -04:00
Michael Li
45545e897c
templates/user/dashboard: make page more concise for user's activity/issues/PR information ( #5209 )
2018-05-08 14:43:23 -04:00
Lauris BH
eccc8109c1
security: fix path cleanup for repository init and editor ( #5207 )
...
Reported by Kacper Szurek https://security.szurek.pl/ .
2018-05-08 14:32:49 -04:00
Unknwon
2fabcd0455
locale: sync from Crowdin
2018-05-02 20:46:54 -04:00
Unknwon
e3ce295215
public/css: generate CSS for PR #5169
2018-04-26 17:05:30 -04:00
Florian Wiech
8df59c01d5
public/css: fix file view responsiveness ( #5169 )
2018-04-26 17:00:55 -04:00
Unknwon
15f9a83618
templates/repo: escape branch name ( #4601 )
2018-04-25 22:35:50 -04:00
Unknwon
d572381a37
vendor: update gopkg.in/clog.v1
2018-04-25 22:13:16 -04:00
Unknwon
9127001f11
pkg/setting: support Discord logger
2018-04-25 22:13:01 -04:00
Unknwon
742420a5e2
.github: update link to ISSUE_TEMPLATE.md ( #5193 )
2018-04-25 18:28:41 -04:00
Unknwon
f439df4441
locale: sync from Crowdin
2018-04-25 13:50:48 -04:00
rokuu
c92e8940dc
pkg/form: fix bad locale reference ( #5196 )
2018-04-24 09:57:42 -04:00
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
2018-04-24 09:54:22 -04:00
rokuu
0e80e47592
public/{less,css}: fix overflow of brand logo hyperlink ( #5189 )
...
* Update gogs.css
* Update _base.less
2018-04-21 12:11:24 -04:00
Cosmin Stroe
54b9311344
pkg/markup/markdown: Issue mentions should also render with square brackets ( #4707 )
...
* gofmt reformat of markdown.go
2018-04-21 12:08:11 -04:00
rokuu
9387b79b98
templates: delete legacy file ( #5180 )
2018-04-19 01:27:59 -04:00