aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
Commit message (Collapse)AuthorAgeFilesLines
* Fix duplicated rel attribute (#2549)Jorge Maldonado Ventura2017-09-201-2/+2
| | | | | | According to the HTML 5.1 recommendation "The rel attribute on a and area elements controls what kinds of links the elements create. The attribute’s value must be a set of space-separated tokens." (source https://www.w3.org/TR/html51/links.html#links-created-by-a-and-area-elements)
* Make basic functionality work without JavaScript (#2541)Jorge Maldonado Ventura2017-09-191-1/+7
|
* Convert spaces to tabs in footer.tmpl (#2520)Ethan Koenig2017-09-161-3/+3
|
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-232-31/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2241) * Cleaning up public/ and documenting js/css libs. This commit mostly addresses #1484 by moving vendor'ed plugins into a vendor/ directory and documenting their upstream source and license in vendor/librejs.html. This also proves gitea is using only open source js/css libraries which helps toward reaching #1524. * Removing unused css file. The version of this file in use is located at: vendor/plugins/highlight/github.css * Cleaned up librejs.html and added javascript header A SafeJS function was added to templates/helper.go to allow keeping comments inside of javascript. A javascript comment was added in the header of templates/base/head.tmpl to mark all non-inline source as free. The librejs.html file was updated to meet the current librejs spec. I have now verified that the librejs plugin detects most of the scripts included in gitea and suspect the non-free detections are the result of a bug in the plugin. I believe this commit is enough to meet the C0.0 requirement of #1534. * Updating SafeJS function per lint suggestion * Added VERSIONS file, per request
* Fix and improve dashboard repo UI (#2285)Morlinest2017-08-172-4/+7
| | | | | | | | | | | | | | | | * Fix and improve dashboard repo UI * Change order of scripts loading * Remove "mirror" tab * Remove single tab panel for "org user" * Add localization strings * Create vue component and change event for search * Add "mirrors" filter
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-281-1/+1
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images
* Keep sort when switching page (#2013)iszla2017-06-221-5/+5
|
* Use production version of vuejs. (#1869)Antoine GIRARD2017-06-041-1/+1
|
* Fix FOUC on Firefox (#1728)Sondre Nilsen2017-05-311-2/+4
| | | | | | | | | Firefox users will experience a flash of unstyled content on loading various pages, this patch will fix this issue using Filament Groups loadCSS library to asynchronously load the CSS responsible for the FOUC. Will fix #1698. Signed-off-by: Sondre Nilsen <nilsen.sondre@gmail.com>
* Merge pull request #1750 from andreynering/dashboard-search-org-reposAndrey Nering2017-05-271-0/+3
|\ | | | | More fixes for dashboard search
| * Show repos acording to user/organizationAndrey Nering2017-05-181-0/+3
| |
* | Update HighlightJS and fix YAML files highlighting (#1764)Andrey Nering2017-05-202-2/+2
|/ | | | | | * Update HighlightJS to 9.11.0 * Fix YAML files highlighting
* Improve dashboard repo search (#1652)Andrey Nering2017-05-092-0/+4
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Generate swagger json (#1402)Antoine GIRARD2017-05-021-0/+1
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Support for custom html meta (#1423)Jonas2017-03-311-4/+4
| | | | | | * Support for custom html meta * Changed html meta description default
* Remove href on first/last link when on first/last page (#1345)aloupfor2017-03-221-2/+2
| | | Signed-off-by: Arthur Loupforest <arthur.loupforest@outlook.fr>
* Add LibreJS support (#1201)Sandro Santilli2017-03-121-0/+1
| | | | | See See https://www.gnu.org/software/librejs/ Closes #1200
* Removed footer copyright year (#829)Lunny Xiao2017-02-241-1/+1
| | | | | | | | * change footer copyright year from 2016 to 2017 * add 2016 copyright back * remove the copyright year
* Security: fix XSS attack on alert (#973)Lunny Xiao2017-02-191-3/+3
|
* feat: support search bar on star tab of user profile. (#917)Bo-Yi Wu2017-02-141-5/+5
| | | | | | | | | | | | | | * feat: support search bar on star tab of user profile. * fix: update testing. * fix: Using loadAttributes * fix: remove empty line. * remove LOWER Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Markdown rendering overhaul (#186)Andrew Boyarshin2017-02-141-0/+1
| | | | | | | | | | | | * Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Implement basic Open Graph support. (#901)Andrew2017-02-111-0/+24
|
* feat: support paginater on star tab of user profile. (#845)Bo-Yi Wu2017-02-071-4/+4
|
* feat: add search repository on dashboard. (#773)Bo-Yi Wu2017-01-301-0/+1
|
* refactor: move js to bottom and move css to top. (#689)Bo-Yi Wu2017-01-252-38/+48
|
* Notifications: trying to get a better layout (#660)Andrey Nering2017-01-181-1/+1
| | | | | | | | | | | | | | * i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-1/+1
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* Merge pull request #539 from andreynering/notifications-step-2Andrey Nering2017-01-051-0/+12
|\ | | | | Notifications - Step 2
| * Notifications - Step 2Andrey Nering2016-12-301-0/+12
| |
* | Restrict creating organisations by user (#193)Schwobaland2016-12-311-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | * restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-0/+4
| | | | | | | | | | | | | | * Tab on user profile to show starred repos * Make golint happy and use transactions on StarRepo function * x -> sess * Use sess.Close() instead of sess.Rollback() * Add copyright * Fix lint
* commithgraph / timeline (#428)Kjell Kvinge2016-12-291-0/+7
| | | | | | | | | | * Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph
* Replace Gogs with Gitea (#520)Bwko2016-12-281-1/+1
|
* Fixed project name on base template headAvelino2016-12-021-2/+2
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-022-6/+4
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* replace footer gogs to gitea (#157)Lunny Xiao2016-11-121-2/+2
|
* Merge all pagination-templates into 'base/paginate'Kim "BKC" Carlbäcker2016-11-071-0/+23
| | | | to reduce code-duplicity
* Set default less and css to new default nameJoubert RedRat2016-11-041-2/+2
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-1/+1
|
* Feature #3492: Add option to hide footer load times (#3562)Thibault Meyer2016-09-011-2/+2
| | | | | | * Add option to hide footer load times * Rename option variable + minor changes
* Web editor: improve delete file processUnknwon2016-08-281-1/+1
|
* Update highlightjsUnknwon2016-08-271-2/+2
|
* Squashed commit of the following:Richard Mahn2016-08-142-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-111-1/+1
| | | | | | | | 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-061-1/+1
|
* Replace gogs.io http links with https version (#3386)rugk2016-08-052-3/+3
|
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* Upgrade octicon to 4.3.0Unknwon2016-07-161-10/+10
|
* Upgrade frontend assetsUnknwon2016-07-071-4/+4
|
* Add new language supportUnknwon2016-04-251-1/+1
| | | | - Update language choose dropdown to fit more languages