haixunlu
311df9c521
auth: add new authentication source: GitHub, including GitHub Enterprise ( #5340 )
...
* Add new Authentication Source: GitHub, including GitHub Enterprise.
* Add vendor dependencies.
2018-12-18 15:49:30 -05:00
Unknwon
ff93d9dbda
pkg/tool: improve SanitizePath ( #5558 )
2018-12-18 01:38:08 -05:00
Unknwon
86ada87529
models/repo_editor: sanitize user-defined file name to prevent RCE ( #5558 )
...
Reported by PentesterLab (https://pentesterlab.com ).
2018-12-18 01:31:04 -05:00
Unknwon
d74437af57
models/action: skip issue index parsing while using external issue tracker ( #5551 )
2018-12-17 22:52:58 -05:00
Unknwon
c82ac420fc
vendor: update
...
- github.com/gogs/go-gogs-client
- gopkg.in/macaron.v1
2018-12-16 19:48:34 -05:00
Unknwon
f91cb9321e
api: add GetReferenceSHA ( #5546 )
2018-12-16 19:47:32 -05:00
Unknwon
cc1a168aa0
vendor: update github.com/gogs/go-gogs-client
2018-12-15 00:24:53 -05:00
Unknwon
ee82d35ed8
api: add GetSingleCommit ( #5546 )
2018-12-15 00:24:41 -05:00
Unknwon
8bca30cfe4
vendor: update github.com/gogs/git-module
2018-12-15 00:05:06 -05:00
Unknwon
fe9a5d3159
.github: adjust issue templates
...
[skip ci]
2018-12-14 18:35:01 -05:00
Unknwon
f43d21d0af
locale: sync from Crowdin
2018-12-11 22:17:09 -05:00
Unknwon
8e2c3b315b
models: remove legacy support
2018-12-11 22:00:01 -05:00
Nikita
9079fb6a0d
pkg/markup: support data URL of base64 encoded images ( #5391 )
2018-12-10 23:53:08 -05:00
Unknwon
db3f0048d8
templates: rename template function Str2html -> Str2HTML
2018-12-10 22:23:56 -05:00
Unknwon
d3d8284985
templates: sanitize special links in commit message ( #5545 )
...
Reported by @cezar97.
2018-12-10 22:21:42 -05:00
Unknwon
f545faa06d
templates: make state changing routes to POST method ( #5541 )
...
- pkg/context: add ParamsUser to unify the injection process
2018-12-06 22:58:02 -05:00
Unknwon
458aadbb10
vendor: update github.com/go-macaron/session
2018-12-04 19:36:05 -05:00
Unknwon
f2ec0d80a8
user/auth: flush and destroy session at logout ( #5540 )
...
Reported by @cezar97.
2018-12-04 19:35:44 -05:00
Unknwon
be6bb5314e
ci: update appveyor.yml
2018-12-03 20:00:28 -05:00
Unknwon
98114944fc
vendor: update github.com/gogs/go-gogs-client
...
Bring fixes for #5538
2018-12-03 14:45:19 -05:00
Unknwon
6690023555
pkg/context: use host address and apply insecure flag for go-get=1 when needed ( #5305 )
2018-12-03 13:36:11 -05:00
Unknwon
a7e8187a0d
pkg/context: expose port in import path for 'go-get=1' ( #5305 )
2018-12-03 13:24:31 -05:00
Unknwon
0c1b72616a
locale: sync from Crowdin
2018-12-02 20:02:09 -05:00
Unknwon
945a378e55
public/css: adjust width of label color in dropdown
...
models/issue: unify Issue receiver name to 'issue'
2018-12-02 17:54:55 -05:00
Unknwon
29c5be47ed
models/issue: fix panic when clear labels ( #5445 )
2018-12-02 17:51:24 -05:00
无闻
e0f18b2255
github: update issue templates ( #5537 )
2018-12-02 15:25:06 -05:00
Unknwon
e755aafe29
vendor: update github.com/gogs/go-gogs-client
2018-12-02 12:55:16 -05:00
Unknwon
e1b3a25008
api/repo: support edit repository issue tracker ( gogs/go-gogs-client#94 )
2018-12-02 12:55:05 -05:00
Unknwon
69c1cd3f38
routes/api: change status handle to new style
...
Also fixed one bug that did not catch team not found error.
2018-12-01 21:41:30 -05:00
Unknwon
ce13fbb98a
routes/api: allow get repository without login ( #5475 )
2018-12-01 21:40:19 -05:00
Samuel Cochran
084d9e0009
templates/user/dashboard: include 'org' query parameter in new mirror URL ( #5534 )
2018-11-29 07:21:16 -05:00
Unknwon
3db9b06a6e
api: fix critical CSRF vulnerabilities on API routes ( #5355 )
...
By explicitly requires token authentication.
2018-11-28 21:05:58 -05:00
Unknwon
e9be8016e6
README: add new sponsor
2018-11-27 10:46:46 -05:00
Unknwon
1f9e21ebd5
templates/wiki: fix emoji rendering ( #4869 )
2018-11-26 07:02:21 -05:00
Unknwon
a91d9054ad
conf: fix unexpected behavior of config inheritance ( #5007 )
2018-11-26 06:44:06 -05:00
Charles Kenney
6c90d12a0c
routes/repo/issue: implement issue pre-filling ( #5521 )
...
Signed-off-by: Charles Kenney <charlesc.kenney@gmail.com>
2018-11-20 13:16:42 -05:00
Unknwon
38e8ccac92
conf: add go-bindata install command in README
...
[ci skip]
2018-11-20 02:37:16 -05:00
Unknwon
1d19a58424
locale: sync from Crowdin
2018-11-19 18:58:00 -05:00
Danilo Riecken P. de Morais
f47f9ceade
mirror: trigger additional push webhook on new branch ( #5508 )
...
This commit fixes issue #5473 and makes a new branch behave like a
push event and trigger the appropriate webhook.
2018-11-14 23:03:03 -05:00
Federico Culloca
81effe674d
templates/user/profile: added rel="me" to website link on user profile ( #5485 )
...
* Added rel="me" to website link on user profile
See issue #5008
* Added `nofollow` as per feedback
2018-11-12 20:49:30 -05:00
Unknwon
831251bcaa
ci: remove Go master for the moment
2018-11-08 18:03:16 -05:00
A.J. Ruckman
f4630f9044
public/css: add 'overflow-wrap: break-word' to dashboard news feeds ( #5507 )
2018-11-08 17:51:56 -05:00
William Hilton
dae311ea9d
repo/http: update CORS headers to allow custom user-agent ( #5498 )
...
At some point after #4970 was merged, isomorphic-git started sending a custom User-Agent in its HTTP requests to deal with some services (\*cough\* gists \*cough\*) which filtered git traffic by User-Agent. Sadly, this broke cloning from Gogs using isomorphic-git in the browser (https://github.com/isomorphic-git/isomorphic-git/issues/555 ). This PR fixes it by telling browsers it is OK for CORS requests to send a custom User-Agent header.
2018-11-07 18:14:15 -05:00
Unknwon
4677b46904
vendor: update github.com/go-macaron/session ( #5469 )
...
Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
2018-11-06 22:22:02 -05:00
Unknwon
a4dd2b1916
Merge branch 'master' of github.com:gogs/gogs into develop
2018-11-05 16:48:31 -05:00
Masen Furer
3d117b8964
Dockerfile.aarch64hub: install shadow package ( #5481 )
...
the shadow package contains the usermod(8) utility which is used by
start.sh and finalize.sh to configure the git user
2018-11-05 16:46:53 -05:00
hopegolden
6a083e9561
ldap: grammar fix ( #5493 )
2018-11-05 16:44:28 -05:00
hopegolden
044d359a7e
docker: grammar fix ( #5492 )
2018-11-05 16:44:01 -05:00
Unknwon
f35d4164d6
pkg/bindata: update content
2018-11-04 18:37:01 -05:00
Unknwon
3058f8fd69
conf: change default session cookie name
...
[CI SKIP]
2018-10-24 10:05:35 -04:00