ᴜɴᴋɴᴡᴏɴ
177806068d
public: update to new logo
2020-02-27 20:21:41 +08:00
ᴜɴᴋɴᴡᴏɴ
ea75f01ba2
admin: show all version in dashboard
...
And removed version info from footer.
2020-02-19 17:32:56 +08:00
ᴜɴᴋɴᴡᴏɴ
317bca1008
Add CHANGELOG and adopt new release workflow
...
In development, the version now has +dev suffix indicates it is not a binary release.
2020-02-18 12:31:08 +08:00
Unknwon
19ae04da66
public/plugins: upgrade highlight.js 9.16.2 to 9.18.0
2020-01-31 23:33:47 +08:00
Unknwon
2e00f00ab0
public/plugins: upgrade Dropzone 4.2.0 to 5.5.0
2020-01-31 23:27:56 +08:00
Unknwon
e99f43f59c
public/js: upgrade jQuery 1.12.4 to 3.4.1
2020-01-31 23:26:44 +08:00
Unknwon
2637931102
public: upgrade Semantic UI 2.3.1 to 2.4.2
2020-01-31 21:37:30 +08:00
Unknwon
54067d105b
public/js: upgrade clipboard 1.5.9 to 2.0.4
2020-01-31 21:21:30 +08:00
Unknwon
4c415aefed
public/js: upgrade jQuery 1.11.3 to 1.12.4
2020-01-31 21:20:47 +08:00
johannes69ki
7d9f408d3a
public: update highlights.js to 9.16.2 ( #5856 )
...
* updated the highlight.js plugin
* added some explicit mappings for syntax highlighting
2019-11-07 10:43:01 -08:00
unknwon
35e2cee5c5
pkg/template: use template function Year to get number of year
...
To avoid update in each year
2019-07-28 15:10:44 -07:00
Achilleas Koutsou
dc13eb6df0
pkg/context: Render live notice banner from file ( #5750 )
...
* 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>
2019-07-27 23:47:35 -07:00
Unknwon
db3f0048d8
templates: rename template function Str2html -> Str2HTML
2018-12-10 22:23:56 -05:00
Unknwon
f545faa06d
templates: make state changing routes to POST method ( #5541 )
...
- pkg/context: add ParamsUser to unify the injection process
2018-12-06 22:58:02 -05:00
cezar97
87b229d280
templates: add 'rel=noopener noreferrer' to <a> tags ( #5319 )
...
Signed-off-by: cezar97 <cezar97@protonmail.com>
2018-07-02 19:33:14 +08:00
Unknwon
dfd494c113
repo: minor improve for PR #5219 and support UTF-8 byte count
2018-06-11 21:06:24 +08:00
Sergey Dryabzhinsky
57897cc8c2
repo: update repository description field to contain more than 256 symbols ( #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.
2018-06-11 20:34:26 +08:00
Unknwon
c59704a24b
public: update Semantic UI 2.2.13 -> 2.3.1
2018-04-12 09:57:27 -04:00
Jorge Maldonado Ventura
2818ce4632
templates: make dropdowns menus work when JavaScript is disabled ( #4780 )
...
* Make dropdowns menus work when JavaScript is disabled
* Update head.tmpl
* Update head.tmpl
2018-03-20 20:04:34 -04:00
Ruben Vermeersch
f4e4ea1374
public: update notebookjs to 0.3.0 ( #5084 )
...
Fixes #5077
2018-03-08 02:06:57 -05:00
Sanxing Chen
68d22e78bf
templates: update year in footer ( #4966 )
...
Happy new year!
2018-03-06 16:47:35 -05:00
Unknwon
dbe6de313e
public: update Semantic UI 2.2.10 -> 2.2.13
2017-11-15 21:59:47 -05:00
Unknwon
239dd978ff
repo: support go get subpkg ( #1878 )
2017-06-03 06:50:09 -04:00
Unknwon
6ebdf91b32
templates/repo: fix README.ipynb not rendered ( #4367 )
2017-04-07 22:33:19 -04:00
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
2017-04-06 23:48:49 -04:00
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
2017-04-06 17:27:57 -04:00
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
2017-04-06 17:20:38 -04:00
Unknwon
1bc805bb4b
public: update Semantic UI 2.2.7 -> 2.2.10
...
[CI SKIP]
2017-04-03 22:20:17 -04:00
Unknwon
ab42671c63
repo: handle git.ErrUnsupportedVersion error type
2017-04-01 17:56:55 -04:00
Unknwon
60ee79363d
templates: use owner's avatar as image of repository
2017-03-10 17:00:10 -05:00
Unknwon
971a96a962
Revert "public: update Semantic UI from 2.2.7 -> 2.2.9"
...
This reverts commit eaab01fa49
.
2017-03-05 16:35:35 -05:00
Unknwon
eaab01fa49
public: update Semantic UI from 2.2.7 -> 2.2.9
2017-02-27 22:45:35 -05:00
Unknwon
c64b842df9
templates: able to inject content to head and footer ( #1286 )
2017-02-24 18:26:41 -05:00
Unknwon
1083c0cd9a
admin/config: display repository related settings ( #3816 )
2017-02-18 13:29:43 -05:00
Unknwon
36f448f47f
footer: update Twitter handle [CI SKIP]
2017-02-18 11:55:59 -05:00
Unknwon
57cb23ac81
Security: fix XSS attack on alert
2017-02-17 08:16:27 -05:00
Unknwon
3137665e6e
Simplify description
2017-02-15 22:29:31 -05:00
Unknwon
0958fe5a4e
Improve Open Graph Meta tags ( #3664 )
2017-02-11 00:03:10 -05:00
Simeon Radivoev
4a1dc29e23
Added Open Graph Meta tags to head template ( #3664 )
2017-02-10 23:37:23 -05:00
Unknwon
b67ec01d41
Able to disable non-admin to create new organization ( #1556 )
...
Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by
default it's 'false'.
2017-02-10 16:41:51 -05:00
Unknwon
8a19f8a63c
Update locales
...
This patch also fixes #4073
2017-02-09 16:04:35 -05:00
Jorge Maldonado Ventura
6971143dc5
Make Gogs compatible with LibreJS ( #4092 )
2017-02-07 18:47:08 -05:00
Unknwon
0d9e435bfe
IPythonNotebook: CSS adjustment for PR #4070
2017-02-07 17:11:46 -05:00
Herbert
9af0dd23dd
Ipython notebook support ( #4070 )
...
* 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
2017-02-07 16:18:11 -05:00
Crayon
4f778da35e
Change copyright date to 2017 ( #4079 )
...
The copyright date in the footer was still set to 2016.
2017-02-02 20:09:24 -05:00
Unknwon
98076ee72d
Upgrade Sematic UI to 2.2.7
2016-12-27 18:56:21 +08:00
Thibault Meyer
bc902b8f74
Feature #3492 : Add option to hide footer load times ( #3562 )
...
* Add option to hide footer load times
* Rename option variable + minor changes
2016-09-01 01:01:32 -04:00
Unknwon
0114fdcba4
Web editor: improve delete file process
2016-08-28 01:41:44 -07:00
Unknwon
bbca2916f7
Update highlightjs
2016-08-27 11:56:20 -07:00
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7
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 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
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 7fc8a89cb4
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 fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
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 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
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 bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
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 fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
2016-08-14 23:52:24 -07:00