Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | routes/api/v1: codemod | unknwon | 2019-08-08 |
| | |||
* | pkg/context/notice: use path.Join to concatenate path | unknwon | 2019-07-28 |
| | |||
* | pkg/template: use template function Year to get number of year | unknwon | 2019-07-28 |
| | | | | To avoid update in each year | ||
* | pkg/context: change banner file path (#5750) | unknwon | 2019-07-28 |
| | |||
* | pkg/context: Render live notice banner from file (#5750) | Achilleas Koutsou | 2019-07-27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pkg/context: Render live notice banner from file - Contexter checks if there is a file called 'notice' under the GOGS_CUSTOM directory and loads it. - The first line is treated as a header/title and everything else as the message body. - Message body is rendered as HTML (tags allowed). - File size is limited to 1024 bytes. - File mime type must be text. - Notice is rendered in head.tmpl for all pages. * pkg/context: Rename maxlen to maxSize Rename maxlen to maxSize for the maximum size (in bytes) of the notice file to render. Define the variable when needed to avoid instantiating it when the file doesn't exist. Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io> * pkg/context: Package name after license header Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io> * pkg/context: Don't print 'Found notice file' Becomes too verbose as it prints on every page load when the file exists. * pkg/context: Match project conventions Import order and grouping Variable names: fileloc -> fpath fp -> f finfo -> fi * pkg/context: Remove empty line Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io> * pkg/context: Render notice as markdown Server notice file should be named 'notice.md'. The contents of the file are treated as markdown and rendered as a warning message at the top of every page. * Update notice.go Co-authored-by: ᴊ. ᴄʜᴇɴ <u@gogs.io> | ||
* | locale: sync from Crowdin | Unknwon | 2019-06-27 |
| | |||
* | locale: sync from Crowdin | Unknwon | 2019-03-25 |
| | |||
* | locale: sync from Crowdin | Unknwon | 2019-02-25 |
| | |||
* | pkg/bindata: regenerate for PR #5623 | Unknwon | 2019-02-20 |
| | |||
* | pkg/mailer/mail: render markdown in issue related emails (#5629) | Andy Hochhaus | 2019-02-20 |
| | | | | | Reference #4552 | ||
* | locale: sync from Crowdin | Unknwon | 2019-01-30 |
| | | | | - Add Portuguese | ||
* | locale: sync from Crowdin | Unknwon | 2019-01-21 |
| | |||
* | pkg/mailer: support plaintext alt for HTML emails (#5568) | Guy Smoilov | 2018-12-25 |
| | | | | | | | | | | * 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 | ||
* | pkg/tool/path: use IsMaliciousPath to replace SanitizePath (#5558) | Unknwon | 2018-12-25 |
| | |||
* | pkg/tool/path: handle Windows path separators (#5558) | Unknwon | 2018-12-19 |
| | |||
* | pkg/ssh: specify ssh-keygen to always generate PEM format | Unknwon | 2018-12-19 |
| | |||
* | auth: coding style and glitches fixes for GitHub login source (#5340) | Unknwon | 2018-12-18 |
| | |||
* | auth: add new authentication source: GitHub, including GitHub Enterprise (#5340) | haixunlu | 2018-12-18 |
| | | | | | | * Add new Authentication Source: GitHub, including GitHub Enterprise. * Add vendor dependencies. | ||
* | pkg/tool: improve SanitizePath (#5558) | Unknwon | 2018-12-18 |
| | |||
* | models/repo_editor: sanitize user-defined file name to prevent RCE (#5558) | Unknwon | 2018-12-18 |
| | | | | Reported by PentesterLab (https://pentesterlab.com). | ||
* | api: add GetReferenceSHA (#5546) | Unknwon | 2018-12-16 |
| | |||
* | api: add GetSingleCommit (#5546) | Unknwon | 2018-12-15 |
| | |||
* | locale: sync from Crowdin | Unknwon | 2018-12-11 |
| | |||
* | pkg/markup: support data URL of base64 encoded images (#5391) | Nikita | 2018-12-10 |
| | |||
* | templates: rename template function Str2html -> Str2HTML | Unknwon | 2018-12-10 |
| | |||
* | templates: sanitize special links in commit message (#5545) | Unknwon | 2018-12-10 |
| | | | | Reported by @cezar97. | ||
* | templates: make state changing routes to POST method (#5541) | Unknwon | 2018-12-06 |
| | | | | - pkg/context: add ParamsUser to unify the injection process | ||
* | pkg/context: use host address and apply insecure flag for go-get=1 when ↵ | Unknwon | 2018-12-03 |
| | | | | needed (#5305) | ||
* | pkg/context: expose port in import path for 'go-get=1' (#5305) | Unknwon | 2018-12-03 |
| | |||
* | locale: sync from Crowdin | Unknwon | 2018-12-02 |
| | |||
* | api/repo: support edit repository issue tracker (gogs/go-gogs-client#94) | Unknwon | 2018-12-02 |
| | |||
* | routes/api: change status handle to new style | Unknwon | 2018-12-01 |
| | | | | Also fixed one bug that did not catch team not found error. | ||
* | api: fix critical CSRF vulnerabilities on API routes (#5355) | Unknwon | 2018-11-28 |
| | | | | By explicitly requires token authentication. | ||
* | conf: fix unexpected behavior of config inheritance (#5007) | Unknwon | 2018-11-26 |
| | |||
* | locale: sync from Crowdin | Unknwon | 2018-11-19 |
| | |||
* | Merge branch 'master' of github.com:gogs/gogs into develop | Unknwon | 2018-11-05 |
|\ | |||
| * | ldap: grammar fix (#5493) | hopegolden | 2018-11-05 |
| | | |||
* | | pkg/bindata: update content | Unknwon | 2018-11-04 |
|/ | |||
* | ldap: fix group membership search handling when the group members are listed ↵ | aboron | 2018-10-23 |
| | | | | | by 'dn' (#4684) (#4688) Also, fixed typo in group member list return size check. | ||
* | locale: sync from Crowdin | Unknwon | 2018-10-16 |
| | |||
* | routes/repo/issue: fix redirect with unexpected escape (#5443) | Unknwon | 2018-09-30 |
| | |||
* | pkg/context: apply EscapePound at context level | Unknwon | 2018-09-28 |
| | | | | | | Always escape template variable {{.Link}} variable and redirect calls. Relates to #5442 | ||
* | routes: fix open redirect vulnerability (#5355) | Unknwon | 2018-09-28 |
| | | | | Reported by @cezar97. | ||
* | pkg/ssh: print actual error in panic (#5435) | Unknwon | 2018-09-28 |
| | |||
* | locale: sync from Crowdin | Unknwon | 2018-09-16 |
| | |||
* | metrics: add initial Prometheus support (#4141) | Unknwon | 2018-09-14 |
| | |||
* | repo: adjust pull request setting description (#5359) | Unknwon | 2018-09-14 |
| | |||
* | auth: support set default login source (#5274) | Unknwon | 2018-09-13 |
| | |||
* | login_source: add default authentication switch (#5338) | haixunlu | 2018-09-13 |
| | | | | | | | | | | | | | | | * Add default Authentication Switch. * adjust the code accroding to reviews * #1. Remove redudant logic. #2, Fix a bug in "Edit" panel. * Remove unused logic * Fix local authentication files are not flushed. * refactor according to review. | ||
* | locale: sync from Crowdin | Unknwon | 2018-09-10 |
| |