Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
761bb3cf53
modules/markup: protect sanitizer from possible modification
...
Only expose public APIs for 'Sanitize' and 'SanitizeBytes' to
eliminate unintentional modifications to sanitizer policy. Also
use 'sync.Once' to make sure multiple calls of 'NewSanitizer' is
safe (although should never happen, but this is a better way).
8 years ago
Unknwon
c1c269d9ef
modules: rename markdown -> markup
...
To further support more markup languages (e.g. Org-mode, AsciiDoc,
reStructuredText), the name 'markdown' is inappropriate.
This is the first step towards more markup language support.
8 years ago
Unknwon
b06f299748
webhook: add fork event
8 years ago
Unknwon
beea014343
template: add more icons for news feed
8 years ago
Unknwon
1083c0cd9a
admin/config: display repository related settings ( #3816 )
8 years ago
Unknwon
f97b250509
Security: prevent XSS attach on wiki page
...
Reported by Miguel Ángel Jimeno.
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
67380cf47b
Minor code fix
8 years ago
LefsFlare
39fdb0f9c4
Fixed 404 caused by unexpected question mark ( #3668 )
...
This fixes 404 caused when creating new files or wiki pages with question marks.
8 years ago
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
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
13c106af77
label: adjust forecolor boundary
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
9 years ago
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
9 years ago
Unknwon
f70343660d
Little code refactoring
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
9 years ago
Unknwon
ac53bb593d
#2878 print error of JSON unmarshal and always returns a valid object
9 years ago
Nikko Miu
9a43fcb61c
Changed EscapePound function with string replace function
9 years ago
Unknwon
58f0c68151
Some minor changes
9 years ago
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
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
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
9 years ago
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
9 years ago
Unknwon
44637f03cc
#2282 fast detection of utf-8
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
Unknwon
ea375c0dcc
new template func
9 years ago
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
9 years ago
Adam Strzelecki
e2ca53029e
Render commit msg as header + verbatim description
...
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
efaf60ba5a
fix #2013
9 years ago
Unknwon
bb1fbe4e70
octicon fix in feeds
9 years ago
Unknwon
679af4ddea
clean up
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
0af035c37e
#1078 not show bin when rename a file
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Matthias Pioch
8b92f9cca6
fix workaround for reverse proxy, ssh, submodule
9 years ago
Matthias Pioch
78a4e71245
workaround for reverse proxy, ssh, submodule
9 years ago
Sergio Benitez
7acbcf9ddd
Commit messages now rendered with line breaks and prefix spacing.
9 years ago
Unknwon
2729eb998c
#1646 and other minor fixes
9 years ago
Unknwon
645d4d0c5b
#1594 Collaborative Repositories missing suburl on Dashboard
9 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago