Dennis Chen
aeeaa79f36
pkg: markup: implement markdown frontmatter parser
...
Uses the page parser from Hugo, which supports yaml, toml, and json, to
seperate frontmatter from content. In the case of an error, the page is
constructed as if no parsing was done.
Uses `github.com/barracks510/go-table` to convert from page metadata to
HTML tables. go-table was written specifically for this use case.
Resolves #2931 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
b18a2bdcd3
locale: sync from Crowdin
8 years ago
Unknwon
d09eaef542
locale: sync from Crowdin
8 years ago
Unknwon
ea03bee1b9
locale: sync from Crowdin
8 years ago
Unknwon
f59500a90b
locale: sync from Crowdin
8 years ago
Unknwon
23b83cb736
pkg/process: fix potential race condition
...
Following conditions were not protected:
1. Use and increase next pid
2. Append and remove process from the list
8 years ago
Unknwon
e16196124e
setting: disable SSH minimum key size check when not eligible ( #4507 )
8 years ago
Unknwon
6197a7639a
locale: sync from Crowdin
8 years ago
Unknwon
88791089ed
locale: sync from Crowdin
8 years ago
无闻
51d7f1264b
api: GitHub compliance ( #4549 )
...
* Add undocumented endpoint for /repositories/:id
* GitHub API Compliance
8 years ago
Unknwon
36d6450977
repo/pull: detect case when no merge base found ( #4434 )
8 years ago
Unknwon
02a576a6a0
locale: update translations
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
Unknwon
e33c714073
repo: always response go-get meta when requested ( #1878 )
8 years ago
Unknwon
5c10eff67f
bindata: regenerate
8 years ago
Unknwon
239dd978ff
repo: support go get subpkg ( #1878 )
8 years ago
Peter Mescalchin
21c1b8d834
conf: rename attachment toggle from ENABLE to ENABLED ( #4474 )
8 years ago
Unknwon
c407921644
orgmode: recover panic from third-party package
8 years ago
Unknwon
4cb01fe332
locale: add Hungarian
8 years ago
Unknwon
a1d411a018
ldap: minor fix for PR #4398
8 years ago
aboron
dbb7e5464b
ldap: add check for group membership ( #4398 )
...
* Add standard LDAP group membership checking.
* Fix formatting, typo, grammer, and syntax errors
* Debugging done.
Gave up on locale file edits.
8 years ago
Unknwon
a5bd095c30
locale: add en-GB
8 years ago
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
8 years ago
spacetourist
0a6ceabb9b
Allow configurable HTTPS SSL/TLS version( #4451 )
8 years ago
Unknwon
d71a8fece8
feature/org-mode: fix compile error
8 years ago
Unknwon
1b5a418fd3
modules/markup: initial support for org-mode ( #4373 )
8 years ago
Unknwon
a11044f789
locale: sync from Crowdin
8 years ago
Unknwon
6500aafcb8
install: validate port in SMTP host address ( #2243 )
8 years ago
Unknwon
6ebdf91b32
templates/repo: fix README.ipynb not rendered ( #4367 )
8 years ago
Unknwon
91cd350b63
repo/editor: fix wrong context for subdirectory ( #4368 )
8 years ago
Unknwon
809db853fa
locale: fix zh-CN
8 years ago
Unknwon
d0612be402
user/setting: improve UI
8 years ago
Unknwon
fda4b1106e
user/setting: simplify code
8 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
8 years ago
Unknwon
bd1f2ccaf8
user/settings/security: add token description about 2FA
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
8 years ago
Unknwon
e0a787b5ee
Update locales
8 years ago
Unknwon
63598688e4
pkg/markup: init default sanitizer.policy
...
App would panic if user has validation error on installation and
the sanitizer is not yet built. Therefore we need a minimal valid
object for sanitizer at start.
8 years ago
Unknwon
edaf14f2b6
Refactoring: remove tool.TplName
8 years ago
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