aboutsummaryrefslogtreecommitdiff
path: root/templates/base/head.tmpl
Commit message (Collapse)AuthorAge
* refactor(db): move some methods off `user.go` (#7199)Joe Chen2022-10-22
|
* 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
* public: update to new logoᴜɴᴋɴᴡᴏɴ2020-02-27
|
* 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 jQuery 1.11.3 to 1.12.4Unknwon2020-01-31
|
* 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: 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
* 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]
* 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
|
* 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'.
* IPythonNotebook: CSS adjustment for PR #4070Unknwon2017-02-07
|
* Ipython notebook support (#4070)Herbert2017-02-07
| | | | | | | | | | * added marked and notebookjs javascript libraries * added ipython notebook render support using javascript libraries * recompiled gogs.css to include ipynb-related css * removed superflous javascript library files
* Upgrade Sematic UI to 2.2.7Unknwon2016-12-27
|
* Squashed commit of the following:Richard Mahn2016-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0afcb843d7ffd596991c4885cab768273a6eb42c Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 17:13:29 2016 -0600 Removed Upload stats as the upload table is just a temporary table commit 7ecd73ff5535612d79d471409173ee7f1fcfa157 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:42:41 2016 -0600 Fix for CodeMirror mode commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:03:33 2016 -0600 Made tabbing in editor use spaces commit 23af384c53206a8a40e11e45bf49d7a149c4adcd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:56:46 2016 -0600 Fix for data-url commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9 Merge: 7fc8a89 991ce42 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:42:53 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit 7fc8a89cb495478225b02d613e647f99a1489634 Merge: fd3d86c c03d040 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:40:00 2016 -0600 Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:39:44 2016 -0600 Code cleanup commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 29 15:38:23 2016 -0600 Code cleanup commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:36:01 2016 -0600 Code cleanup and fixes commit c2895dc742f25f8412879c9fa15e18f27f42f194 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:24:04 2016 -0600 Fixes per Unknwon's requests commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef Merge: 889e9fa ad7ea88 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 17:13:43 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go modules/setting/setting.go commit 889e9faf1bd8559a4979c8f46005d488c1a234d4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:09:18 2016 -0600 Fix in gogs.js commit 47603edf223f147b114be65f3bd27bc1e88827a5 Merge: bb57912 cf85e9e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:07:36 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit bb5791255867a71c11a77b639db050ad09c597a4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:02:18 2016 -0600 Update for using CodeMirror mode addon commit d10d128c51039be19e2af9c66c63db66a9f2ec6d Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 16:12:57 2016 -0600 Update for Edit commit 34a34982025144e3225e389f7849eb6273c1d576 Merge: fa1b752 1c7dcdd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 11:52:02 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go commit fa1b752be29cd455c5184ddac2ffe80b3489763e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 15 18:35:42 2016 -0600 Feature for editing, creating, uploading and deleting files
* Always set redirect_to on header-provided sign-in (#3435)Sandro Santilli2016-08-11
| | | | | | | | This is an attempt to fix #3089 following the strategy introduced in d625e41c6c4d40fadbeaf99dd97e77aa0c9085ae, although that strategy by itself does not seem to be sufficient. What needs be done is honouring the redirect_url query parameter from the auth router.
* Update .gitattributesUnknwon2016-08-06
|
* Replace gogs.io http links with https version (#3386)rugk2016-08-05
|
* #3348 always use relative avatar link in the templateUnknwon2016-08-05
|
* Upgrade octicon to 4.3.0Unknwon2016-07-16
|
* Upgrade frontend assetsUnknwon2016-07-07
|
* [Feature/WIP] Confirm on editing forms (fixes #2881) (#2980)Kim Carlbäcker2016-04-19
| | | | | | | | | | * Add and start jQuery AreYouSure * Update SimpleMDE to 1.10.1 for `forceSync` support * Forgot to remove old version SimpleMDE 1.10.0 * formatting -.-
* Fix indentOdin Ugedal2016-03-15
|
* Make description meta tag golang 1.4 compatibleOdin Ugedal2016-03-15
|
* Set description meta tag correctlyOdin Ugedal2016-03-15
| | | | | | Set the description meta tag correctly when there is no repo description. Also use the ability to trim trailing whitespaces, to make the template cleaner.
* Set HTML meta values corresponding to repositoryOdin Ugedal2016-03-14
| | | | | Use the authors name, and the description of the repo in HTML meta. Pages without repository context will display as before.
* #13 finish user and repository searchUnknwon2016-03-11
| | | | Both are possible on explore and admin panel
* Update frontend resourcesUnknwon2016-03-07
|