aboutsummaryrefslogtreecommitdiff
path: root/pkg
Commit message (Collapse)AuthorAge
* locale: sync from CrowdinUnknwon2019-01-30
| | | | - Add Portuguese
* locale: sync from CrowdinUnknwon2019-01-21
|
* pkg/mailer: support plaintext alt for HTML emails (#5568)Guy Smoilov2018-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)Unknwon2018-12-25
|
* pkg/tool/path: handle Windows path separators (#5558)Unknwon2018-12-19
|
* pkg/ssh: specify ssh-keygen to always generate PEM formatUnknwon2018-12-19
|
* auth: coding style and glitches fixes for GitHub login source (#5340)Unknwon2018-12-18
|
* auth: add new authentication source: GitHub, including GitHub Enterprise (#5340)haixunlu2018-12-18
| | | | | | * Add new Authentication Source: GitHub, including GitHub Enterprise. * Add vendor dependencies.
* pkg/tool: improve SanitizePath (#5558)Unknwon2018-12-18
|
* models/repo_editor: sanitize user-defined file name to prevent RCE (#5558)Unknwon2018-12-18
| | | | Reported by PentesterLab (https://pentesterlab.com).
* api: add GetReferenceSHA (#5546)Unknwon2018-12-16
|
* api: add GetSingleCommit (#5546)Unknwon2018-12-15
|
* locale: sync from CrowdinUnknwon2018-12-11
|
* pkg/markup: support data URL of base64 encoded images (#5391)Nikita2018-12-10
|
* templates: rename template function Str2html -> Str2HTMLUnknwon2018-12-10
|
* templates: sanitize special links in commit message (#5545)Unknwon2018-12-10
| | | | Reported by @cezar97.
* templates: make state changing routes to POST method (#5541)Unknwon2018-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 ↵Unknwon2018-12-03
| | | | needed (#5305)
* pkg/context: expose port in import path for 'go-get=1' (#5305)Unknwon2018-12-03
|
* locale: sync from CrowdinUnknwon2018-12-02
|
* api/repo: support edit repository issue tracker (gogs/go-gogs-client#94)Unknwon2018-12-02
|
* routes/api: change status handle to new styleUnknwon2018-12-01
| | | | Also fixed one bug that did not catch team not found error.
* api: fix critical CSRF vulnerabilities on API routes (#5355)Unknwon2018-11-28
| | | | By explicitly requires token authentication.
* conf: fix unexpected behavior of config inheritance (#5007)Unknwon2018-11-26
|
* locale: sync from CrowdinUnknwon2018-11-19
|
* Merge branch 'master' of github.com:gogs/gogs into developUnknwon2018-11-05
|\
| * ldap: grammar fix (#5493)hopegolden2018-11-05
| |
* | pkg/bindata: update contentUnknwon2018-11-04
|/
* ldap: fix group membership search handling when the group members are listed ↵aboron2018-10-23
| | | | | by 'dn' (#4684) (#4688) Also, fixed typo in group member list return size check.
* locale: sync from CrowdinUnknwon2018-10-16
|
* routes/repo/issue: fix redirect with unexpected escape (#5443)Unknwon2018-09-30
|
* pkg/context: apply EscapePound at context levelUnknwon2018-09-28
| | | | | | Always escape template variable {{.Link}} variable and redirect calls. Relates to #5442
* routes: fix open redirect vulnerability (#5355)Unknwon2018-09-28
| | | | Reported by @cezar97.
* pkg/ssh: print actual error in panic (#5435)Unknwon2018-09-28
|
* locale: sync from CrowdinUnknwon2018-09-16
|
* metrics: add initial Prometheus support (#4141)Unknwon2018-09-14
|
* repo: adjust pull request setting description (#5359)Unknwon2018-09-14
|
* auth: support set default login source (#5274)Unknwon2018-09-13
|
* login_source: add default authentication switch (#5338)haixunlu2018-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 CrowdinUnknwon2018-09-10
|
* locale: sync from CrowdinUnknwon2018-08-23
|
* repo/editor: hide internal error detailUnknwon2018-08-17
| | | | Prevent exposure of server path
* repo_editor: able to trigger Git hooks (#4338)Unknwon2018-08-17
|
* pkg/markup: allow match SHA1 length 7-40 (#3321)Unknwon2018-08-17
|
* locale: sync from CrowdinUnknwon2018-07-16
|
* public: minor fix for PR #5276Unknwon2018-06-26
|
* locale: sync from CrowdinUnknwon2018-06-18
|
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* pkg/setting: ignore config inline comment by defaultUnknwon2018-06-17
|