Unknwon
52aade232d
modes: fix test compile error
8 years ago
Unknwon
3a9276307c
modules/markup: move common functions to markup.go
8 years ago
Unknwon
ca6326c937
modules/base: move file-related functions to file.go
8 years ago
Unknwon
8da16ac302
modules/markup: rename Markdown render fucntions
...
The unified function 'Markdown' accepts both string or []byte type
input and renders to HTML with []byte type.
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
9edac05e05
templates/repo: improve README icon and font
8 years ago
Unknwon
9c1620d49c
css: font-family fixes for Chinese
8 years ago
John Behm
65bb6eb284
locale: update TRANSLATORS ( #4372 )
...
* Update TRANSLATORS
* Update TRANSLATORS
8 years ago
Unknwon
aff55ff105
vendor: update github.com/go-macaron/captcha
...
[CI SKIP]
8 years ago
Unknwon
4a67bb5806
migrations.v17: skip if table not exist
8 years ago
Unknwon
1afafde3b3
user/setting: preserve user input with validation error ( #1123 )
8 years ago
Unknwon
ab634ce61a
cmd/web: fix routes requires sign in ( #4359 )
...
Redirect user to sign in page when visit private repository with
public issues if user want to post comment or create new issue.
8 years ago
Unknwon
9d06ebd01a
markdown: improve filter of class attribute for code blocks
...
Only allow HighlightJS specific classes.
Reported by ChALkeR.
8 years ago
Kyle McCullough
09723ec0e5
migration.v17: handle mysql error ( #4361 )
8 years ago
Hassan Amouhzi
864761c2d0
js: use jQuery .find() ( #4343 )
8 years ago
Unknwon
abe7f7bc36
migration.v17: add nil error check
8 years ago
Unknwon
717bcc4ad8
migration/v17: skip if protect_branch_whitelist table not exist ( #4355 )
8 years ago
Unknwon
11ffdac3f8
org/dashboard: fix wrong repository count ( #4351 )
...
Should not include count for inaccessible repositories.
8 years ago
David Beitey
cf7d5d0c56
docker: fix heading in README.md ( #4353 )
...
The unicode non-breaking space character was breaking the heading format; this switches that character for an ASCII space.
8 years ago
Unknwon
375f1b1fde
Prepare release
...
[CI SKIP]
8 years ago
Unknwon
ad3c6ef205
Update locales
8 years ago
Unknwon
30d9e2ee3c
docker: use vendor to replace go get
8 years ago
Unknwon
1038916460
models/protect_branch: fix whitelist with invalid 'protect_branch_id' ( #4333 )
...
If user creates a protect branch for the first time (which has ID=0),
it generates invalid whitelist records with 'protect_branch_id=0'.
This prevents future updates of protect branch whitelist.
Migration: remove existing invalid protect branch whitelist records.
8 years ago
Unknwon
73de9f9d6a
repo/settings/branches: add prompt for bare repository
8 years ago
Jonas
f40eb9774e
modes/mirror: corrected NextUpdate not set ( #4345 )
8 years ago
Pablo Saavedra
496e07c1c9
models/repo: avoid duplicated results in SearchRepositoryByName ( #4344 )
8 years ago
Unknwon
c238647020
cmd/web: remove dependency version checker
8 years ago
Unknwon
78f94986e3
user/settings: fix bad error handle of leave organization
8 years ago
Unknwon
8f52ab8201
models/repo_editor: add pull request test task after commit ( #4338 )
8 years ago
Unknwon
260ebcc1ca
repo/milestone: simplify code
8 years ago
Unknwon
09cb48e41c
repo: recalculate milestone completeness on issue list ( #4316 )
8 years ago
Unknwon
674106c7b6
repo: cleanup some code
8 years ago
Unknwon
8196430f47
repo: allow private repository to have public wiki or issues
...
Relates to #649 and #2157
8 years ago
Unknwon
7a99e56893
repo: update size after fork, migrate and mirror sync ( #4336 )
8 years ago
Unknwon
79ba0314e9
milestone: only show issue-related count under issue list ( #4316 )
8 years ago
Unknwon
c441f8080e
api/repo: add endpoint to sync mirror ( #2235 )
8 years ago
Unknwon
bd1e757350
user: remove sanitizer for FullName ( #1937 )
8 years ago
Unknwon
3144be5c81
repo: remove legacy sanitizer for repository description
...
Related to #4329 .
8 years ago
Unknwon
fdc7cb565d
repo: fix unable to propose pull request from secondary fork ( #4324 )
8 years ago
Unknwon
a6dbde4c46
user/settings: minor input style fix ( #4327 )
8 years ago
Unknwon
8ce23e2c71
cmd/backup: able to specify archive name ( #4320 )
...
Added flag '--archive-name' for backup command.
8 years ago
Unknwon
8a3f4fc616
models: add config options for XORM logger ( #3183 )
...
Added new config section '[log.xorm]'.
8 years ago
Unknwon
66c1e6b0e8
user/settings: complete repositories panel ( #4312 )
8 years ago
Unknwon
beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist
8 years ago
Rob Richards
902372067c
user/settings: add repositories panel ( #4312 )
...
* Add Repositories panel to user settings
issue #4277
* modified personal repo settings format
8 years ago
Nikolay Korotkiy
7adaf8f812
locale: fix language names ( #4330 )
8 years ago
Unknwon
71753cdd46
templates/label: another minor style improve
8 years ago
Unknwon
d3363430dc
templates/label: minor style improve
...
Add an empty space to make <span> have width.
8 years ago
Unknwon
945e65eedf
README: update alts
...
[CI SKIP]
8 years ago