aboutsummaryrefslogtreecommitdiff
path: root/templates/base
Commit message (Collapse)AuthorAge
* refactor(db): move some methods off `user.go` (#7199)Joe Chen2022-10-22
|
* markdown: support rendering Mermaid diagrams (#6776)shuyue2022-03-05
| | | Co-authored-by: Joe Chen <jc@unknwon.io>
* public/js: upgrade jQuery to 3.6.0 (#6550)Kevin2021-05-19
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* ipynb: sanitize rendered HTML (#5996)ᴜɴᴋɴᴡᴏɴ2020-03-21
| | | | | | | | | * ipynb: sanitize rendered HTML Fixes #5170 * Remove hardcode URL * Add tests
* public: make lessc compile minimize CSS (#5987)ᴜɴᴋɴᴡᴏɴ2020-03-15
|
* git: migrate to github.com/gogs/git-module@v1.0.0 (#5958)ᴜɴᴋɴᴡᴏɴ2020-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * Finish `internal/db/git_diff.go` * FInish internal/db/mirror.go * Finish internal/db/pull.go * Finish internal/db/release.go * Finish internal/db/repo.go * Finish internal/db/repo_branch.go * Finish internal/db/repo_editor.go * Finish internal/db/update.go * Save my work * Add license header * Compile! * Merge master * Finish internal/cmd/hook.go * Finish internal/conf/static.go * Finish internal/context/repo.go * Finish internal/db/action.go * Finish internal/db/git_diff.go * Fix submodule URL inferring * Finish internal/db/mirror.go * Updat to beta.4 * css: update fonts * Finish internal/db/pull.go * Finish internal/db/release.go * Finish internal/db/repo_branch.go * Finish internal/db/wiki.go * gitutil: enhance infer submodule UR * Finish internal/route/api/v1/repo/commits.go * mirror: only collect branch commits after sync * mirror: fix tag support * Finish internal/db/repo.go * Finish internal/db/repo_editor.go * Finish internal/db/update.go * Finish internal/gitutil/pull_request.go * Make it compile * Finish internal/route/repo/setting.go * Finish internal/route/repo/branch.go * Finish internal/route/api/v1/repo/file.go * Finish internal/route/repo/download.go * Finish internal/route/repo/editor.go * Use helper * Finish internal/route/repo/issue.go * Finish internal/route/repo/pull.go * Finish internal/route/repo/release.go * Finish internal/route/repo/repo.go * Finish internal/route/repo/wiki.go * Finish internal/route/repo/commit.go * Finish internal/route/repo/view.go * Finish internal/gitutil/tag.go * go.sum
* templates: show brand name in the footer (#5974)ᴜɴᴋɴᴡᴏɴ2020-03-07
|
* public: update to new logoᴜɴᴋɴᴡᴏɴ2020-02-27
|
* admin: show all version in dashboardᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | And removed version info from footer.
* Add CHANGELOG and adopt new release workflowᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | In development, the version now has +dev suffix indicates it is not a binary release.
* public/plugins: upgrade highlight.js 9.16.2 to 9.18.0Unknwon2020-01-31
|
* public/plugins: upgrade Dropzone 4.2.0 to 5.5.0Unknwon2020-01-31
|
* public/js: upgrade jQuery 1.12.4 to 3.4.1Unknwon2020-01-31
|
* public: upgrade Semantic UI 2.3.1 to 2.4.2Unknwon2020-01-31
|
* public/js: upgrade clipboard 1.5.9 to 2.0.4Unknwon2020-01-31
|
* public/js: upgrade jQuery 1.11.3 to 1.12.4Unknwon2020-01-31
|
* public: update highlights.js to 9.16.2 (#5856)johannes69ki2019-11-07
| | | | | | * updated the highlight.js plugin * added some explicit mappings for syntax highlighting
* pkg/template: use template function Year to get number of yearunknwon2019-07-28
| | | | To avoid update in each year
* pkg/context: Render live notice banner from file (#5750)Achilleas Koutsou2019-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>
* templates: rename template function Str2html -> Str2HTMLUnknwon2018-12-10
|
* templates: make state changing routes to POST method (#5541)Unknwon2018-12-06
| | | | - pkg/context: add ParamsUser to unify the injection process
* templates: add 'rel=noopener noreferrer' to <a> tags (#5319)cezar972018-07-02
| | | Signed-off-by: cezar97 <cezar97@protonmail.com>
* 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.
* public: update Semantic UI 2.2.13 -> 2.3.1Unknwon2018-04-12
|
* templates: make dropdowns menus work when JavaScript is disabled (#4780)Jorge Maldonado Ventura2018-03-20
| | | | | | | | * Make dropdowns menus work when JavaScript is disabled * Update head.tmpl * Update head.tmpl
* public: update notebookjs to 0.3.0 (#5084)Ruben Vermeersch2018-03-08
| | | Fixes #5077
* templates: update year in footer (#4966)Sanxing Chen2018-03-06
| | | Happy new year!
* public: update Semantic UI 2.2.10 -> 2.2.13Unknwon2017-11-15
|
* repo: support go get subpkg (#1878)Unknwon2017-06-03
|
* templates/repo: fix README.ipynb not rendered (#4367)Unknwon2017-04-07
|
* Refactoring: rename Signed -> LoggedUnknwon2017-04-06
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}Unknwon2017-04-06
|
* public: update Semantic UI 2.2.7 -> 2.2.10Unknwon2017-04-03
| | | | [CI SKIP]
* repo: handle git.ErrUnsupportedVersion error typeUnknwon2017-04-01
|
* templates: use owner's avatar as image of repositoryUnknwon2017-03-10
|
* Revert "public: update Semantic UI from 2.2.7 -> 2.2.9"Unknwon2017-03-05
| | | | This reverts commit eaab01fa4993d2c9c9141b7526747deb4f21ba2e.
* public: update Semantic UI from 2.2.7 -> 2.2.9Unknwon2017-02-27
|
* templates: able to inject content to head and footer (#1286)Unknwon2017-02-24
|
* admin/config: display repository related settings (#3816)Unknwon2017-02-18
|
* footer: update Twitter handle [CI SKIP]Unknwon2017-02-18
|
* Security: fix XSS attack on alertUnknwon2017-02-17
|
* Simplify descriptionUnknwon2017-02-15
|
* Improve Open Graph Meta tags (#3664)Unknwon2017-02-11
|
* Added Open Graph Meta tags to head template (#3664)Simeon Radivoev2017-02-10
|
* Able to disable non-admin to create new organization (#1556)Unknwon2017-02-10
| | | | | Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by default it's 'false'.
* Update localesUnknwon2017-02-09
| | | | This patch also fixes #4073
* Make Gogs compatible with LibreJS (#4092)Jorge Maldonado Ventura2017-02-07
|
* IPythonNotebook: CSS adjustment for PR #4070Unknwon2017-02-07
|