Bastian Rinsche
638509b217
Add Safari pinned tab icon ( #2799 )
...
Closes #2753
Signed-off-by: Bastian Rinsche <bastian.rinsche@gmail.com>
7 years ago
Jorge Maldonado Ventura
8b6236d67b
Fix duplicated rel attribute ( #2549 )
...
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 )
7 years ago
Jorge Maldonado Ventura
d155d0e665
Make basic functionality work without JavaScript ( #2541 )
7 years ago
Michael Lustfield
a915a09e4f
Moved vendored js/css into `public/vendor` and documented sources ( #1484 ) ( #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
7 years ago
Morlinest
951fb572a7
Fix and improve dashboard repo UI ( #2285 )
...
* 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
7 years ago
Lauris BH
60d7e56c69
Add task to generate images from SVG and change to new logo ( #2194 )
...
* Add makefile task to generate images from SVG and change to new logo
* use absolute path on generate-images
7 years ago
Sondre Nilsen
24859fe5b6
Fix FOUC on Firefox ( #1728 )
...
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>
8 years ago
Andrey Nering
be5323a05f
Update HighlightJS and fix YAML files highlighting ( #1764 )
...
* Update HighlightJS to 9.11.0
* Fix YAML files highlighting
8 years ago
Andrey Nering
dc2b28ed76
Show repos acording to user/organization
8 years ago
Andrey Nering
ab79069dc7
Improve dashboard repo search ( #1652 )
...
* Add VueJS
* Improve dashboard search
* Fix tab switching
* Fix input autofocus
8 years ago
Jonas
095e1f5155
Support for custom html meta ( #1423 )
...
* Support for custom html meta
* Changed html meta description default
8 years ago
Andrew
3f67676059
Implement basic Open Graph support. ( #901 )
8 years ago
Bo-Yi Wu
d078aa30d6
feat: add search repository on dashboard. ( #773 )
8 years ago
Bo-Yi Wu
2831267db1
refactor: move js to bottom and move css to top. ( #689 )
8 years ago
Andrey Nering
d2bb8ef503
Notifications: trying to get a better layout ( #660 )
...
* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl
8 years ago
Andrey Nering
769e0a3ea6
Notifications: mark as read/unread and pin ( #629 )
...
* Use relative URLs
* Notifications - Mark as read/unread
* Feature of pinning a notification
* On view issue, do not mark as read a pinned notification
8 years ago
Schwobaland
c0904f1942
Restrict creating organisations by user ( #193 )
...
* 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
8 years ago
Andrey Nering
6069abe5fd
Notifications - Step 2
8 years ago
Andrey Nering
b992858883
Tab on user profile to show starred repos ( #519 )
...
* 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
8 years ago
Kjell Kvinge
22e1bd31c6
commithgraph / timeline ( #428 )
...
* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph
8 years ago
Bwko
331316894e
Replace Gogs with Gitea ( #520 )
8 years ago
Avelino
d93429af8b
Fixed project name on base template head
8 years ago
Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs ( #327 )
...
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
8 years ago
Joubert RedRat
ff54e4d929
Set default less and css to new default name
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
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
8 years ago
Sandro Santilli
3380c946e1
Always set redirect_to on header-provided sign-in ( #3435 )
...
This is an attempt to fix #3089 following the strategy introduced
in d625e41c6c
, 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.
8 years ago
Unknwon
72dd299ca0
Update .gitattributes
8 years ago
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
8 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
8 years ago
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
8 years ago
Unknwon
326c982660
Upgrade frontend assets
9 years ago
Kim Carlbäcker
b3c05026df
[Feature/WIP] Confirm on editing forms ( fixes #2881 ) ( #2980 )
...
* Add and start jQuery AreYouSure
* Update SimpleMDE to 1.10.1 for `forceSync` support
* Forgot to remove old version SimpleMDE 1.10.0
* formatting -.-
9 years ago
Odin Ugedal
01ff65a93e
Fix indent
9 years ago
Odin Ugedal
a75fa58e1c
Make description meta tag golang 1.4 compatible
9 years ago
Odin Ugedal
561e5f9ccb
Set description meta tag correctly
...
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.
9 years ago
Odin Ugedal
85d7afeba0
Set HTML meta values corresponding to repository
...
Use the authors name, and the description of the repo in HTML meta.
Pages without repository context will display as before.
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
0c9a616326
Update frontend resources
9 years ago
Andrey Nering
e40d94bb4f
Implementing the "theme-color" meta tag.
...
Used by Android >= 5.0 to make the top bar colored.
Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
9 years ago
Unknwon
8436d69eaf
Update and reorganize front-end resources
9 years ago
Unknwon
ee814bf8d6
#2491 minor fix for sr on dashboard
9 years ago
João Pedro
7bab3d682f
Lowercase "Service"
9 years ago
João Pedro
34f01aab5e
Update head.tmpl
9 years ago
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
b80e848d02
upgrade libs
9 years ago
Unknwon
92535c9df0
update some libs
9 years ago
Nathan Zadoks
4323a89c03
Add go-source directive to repo pages
...
This makes Gogs repos work with godoc.org: https://github.com/golang/gddo/wiki/Source-Code-Links
9 years ago
Unknwon
4465c58f4b
new quick start page
9 years ago