aboutsummaryrefslogtreecommitdiff
path: root/templates
Commit message (Collapse)AuthorAge
...
* 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
* vendor: update github.com/go-macaron/sessionUnknwon2018-12-04
|
* pkg/context: expose port in import path for 'go-get=1' (#5305)Unknwon2018-12-03
|
* models/issue: fix panic when clear labels (#5445)Unknwon2018-12-02
|
* api/repo: support edit repository issue tracker (gogs/go-gogs-client#94)Unknwon2018-12-02
|
* routes/api: allow get repository without login (#5475)Unknwon2018-12-01
|
* templates/user/dashboard: include 'org' query parameter in new mirror URL ↵Samuel Cochran2018-11-29
| | | | (#5534)
* api: fix critical CSRF vulnerabilities on API routes (#5355)Unknwon2018-11-28
| | | | By explicitly requires token authentication.
* templates/wiki: fix emoji rendering (#4869)Unknwon2018-11-26
|
* templates/user/profile: added rel="me" to website link on user profile (#5485)Federico Culloca2018-11-12
| | | | | | | | * Added rel="me" to website link on user profile See issue #5008 * Added `nofollow` as per feedback
* vendor: update github.com/go-macaron/session (#5469)Unknwon2018-10-24
| | | | Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
* vendor: update github.com/gogs/git-moduleUnknwon2018-10-23
|
* pkg/context: apply EscapePound at context levelUnknwon2018-09-28
| | | | | | Always escape template variable {{.Link}} variable and redirect calls. Relates to #5442
* templates/repo/setting: fix missing EscapePound (#5442)Unknwon2018-09-28
|
* 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: trigger webhook when delete branch after merged pull request (#5331)Unknwon2018-09-14
|
* templates/admin/monitor: fix field errorUnknwon2018-09-13
| | | | [ci skip]
* 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.
* templates: hide dashboard org creation when not allowed (#5393)Jakob Lykke Andersen2018-09-11
| | | | | The admin -> DISABLE_REGULAR_ORG_CREATION setting hides organization creation in the header, but not in the dashboard.
* locale: sync from CrowdinUnknwon2018-09-10
|
* repo_editor: able to trigger Git hooks (#4338)Unknwon2018-08-17
|
* pkg/markup: allow match SHA1 length 7-40 (#3321)Unknwon2018-08-17
|
* models: fix delete undesired release attachments when delete a comment (#4627)Unknwon2018-08-16
| | | | Apparently, AfterDelete has ID=0
* models: fix delete public keys ORM syntax (#5376)Unknwon2018-08-14
|
* templates: add 'rel=noopener noreferrer' to <a> tags (#5319)cezar972018-07-02
| | | Signed-off-by: cezar97 <cezar97@protonmail.com>
* restore: reset milestone deadline_unix and closed_date_unix (#5264)Unknwon2018-06-27
|
* public: minor fix for PR #5276Unknwon2018-06-26
|
* pull request: able to add custom commit description (#5276)ususdei2018-06-26
| | | | | | | | | | * pull request merges now allow for custom commit messages * allow i18n on commit_message label * place label above textarea for commit message * rename commit message for pull requests into commit description and pass to git separately
* vendor: update github.com/gogs/git-moduleUnknwon2018-06-25
|
* 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
|
* modes/repo: syntax fix for PR #5234Unknwon2018-06-16
|
* routes/repo/http: fix wrong format typeUnknwon2018-06-13
|
* repo: minor improve for PR #5219 and support UTF-8 byte countUnknwon2018-06-11
|
* repo: update repository description field to contain more than 256 symbols ↵Sergey Dryabzhinsky2018-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.
* restore: reset original created_unix after insert (#5264)Unknwon2018-06-09
|
* vendor: update github.com/gogs/git-moduleUnknwon2018-06-09
|
* models/mirror: shot push webhook after synced commits (#4528)Unknwon2018-06-03
|
* pkg/setting: fix '[git] GC_ARGS' is not loadedUnknwon2018-06-03
|
* pkg/template: fix NewLine2br return type to stringUnknwon2018-06-02
|
* templates/repo/settings: fix mirror setting errorUnknwon2018-05-30
|
* mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
|