Commit Graph

5076 Commits (16f95123cd858a84fb5d4336d07d16cb3f7f1ec7)

Author SHA1 Message Date
Unknwon 16f95123cd models/models: formalize error messages 2019-02-06 18:50:02 -05:00
Unknwon 0a176df6fb models: disable idle connection and set connection max life time () 2019-02-06 18:46:15 -05:00
Unknwon d862c43be0
README: add new sponsor
[CI SKIP]
2019-02-01 19:38:08 -05:00
Unknwon a452767e34
README: update LunaNode link
[CI SKIP]
2019-01-30 23:22:50 -05:00
Favyen Bastani f0aeef82a1 README: add LunaNode cloud deployment URL () 2019-01-30 23:21:18 -05:00
Unknwon 06b6eaba06
locale: sync from Crowdin
- Add Portuguese
2019-01-30 21:59:10 -05:00
Unknwon 713a7d518d
locale: sync from Crowdin 2019-01-21 15:19:27 -05:00
Guy Smoilov 5702e4bc24 pkg/mailer: support plaintext alt for HTML emails ()
* Added option to use plain text alt to HTML emails. Should make the messages friendlier for spam filters.

* Check that plaintext conversion worked before adding the HTML alt

* Add description of ADD_PLAIN_TEXT_ALT to app.ini

* Added comment clarifying html AddAlternative
2018-12-25 10:08:00 -05:00
Unknwon 9b37b1569c models/repo_editor: add isRepositoryGitPath to detect invalid file path () 2018-12-25 10:01:52 -05:00
Unknwon 5f1f1bb5ed pkg/tool/path: use IsMaliciousPath to replace SanitizePath () 2018-12-25 09:47:33 -05:00
Unknwon 9ff2df78f0 public/css: make less () 2018-12-25 08:58:59 -05:00
Kyumyeong Han 74f26bb667 public/less: fix layout misalignment in Firefox for Linux ()
* Update _repository.less

* Update _repository.less
2018-12-25 08:56:41 -05:00
Unknwon 1f11c1f71a
models/repo_editor: ignore copying files with '.git/' path prefix () 2018-12-19 23:09:32 -05:00
Unknwon 8c8c37a66b
pkg/tool/path: handle Windows path separators () 2018-12-19 22:56:36 -05:00
Unknwon d4f9fd7204 *: remove Go 1.7 support 2018-12-19 08:38:10 -05:00
Unknwon e70e72e025 pkg/ssh: specify ssh-keygen to always generate PEM format 2018-12-19 08:31:22 -05:00
Unknwon e2ce6a0dab vendor: update github.com/go-sql-driver/mysql
Fix MySQL 1046 error
2018-12-19 08:26:32 -05:00
Unknwon 657ea2686f
auth: coding style and glitches fixes for GitHub login source () 2018-12-18 16:46:50 -05:00
haixunlu 311df9c521 auth: add new authentication source: GitHub, including GitHub Enterprise ()
* 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 () 2018-12-18 01:38:08 -05:00
Unknwon 86ada87529
models/repo_editor: sanitize user-defined file name to prevent RCE ()
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 () 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 () 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 () 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 () 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 ()
Reported by @cezar97.
2018-12-10 22:21:42 -05:00
Unknwon f545faa06d
templates: make state changing routes to POST method ()
- 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 ()
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 
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 () 2018-12-03 13:36:11 -05:00
Unknwon a7e8187a0d
pkg/context: expose port in import path for 'go-get=1' () 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 () 2018-12-02 17:51:24 -05:00
无闻 e0f18b2255
github: update issue templates () 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 () 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 () 2018-12-01 21:40:19 -05:00
Samuel Cochran 084d9e0009 templates/user/dashboard: include 'org' query parameter in new mirror URL () 2018-11-29 07:21:16 -05:00
Unknwon 3db9b06a6e
api: fix critical CSRF vulnerabilities on API routes ()
By explicitly requires token authentication.
2018-11-28 21:05:58 -05:00