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
643c85e9c8
routes/home: minor code improve
8 years ago
Unknwon
ee9950ec2f
explore: fix total repository number and page number do not match ( #4441 )
...
Because in the final repository list we use Distinct to remove
duplicates, but didn't do so when count total number of repositories.
8 years ago
Unknwon
dc10594d7b
repo: fix cannot fork repository ( #4572 )
...
Should not load attributes if repository not found in HasForkedRepo.
8 years ago
Unknwon
e02fac4968
repo: fix panic on pull request submit ( #4572 )
8 years ago
Julian Xhokaxhiu
5a88546a80
docker: enable Automated builds for rpi ( #4431 )
...
* Enable Automated builds for rpi
* Rename the file to fit only for Docker Hub
* Update the binary to v2.9.0+resin1
* Restore default status
* Commit as new file
In order to avoid breaking native builds
8 years ago
Unknwon
f67d6bbca3
repo/diff: fix line number in split view template ( #4584 )
8 years ago
Unknwon
c970c4ee41
css: not include line numbers in diff selection ( #4584 )
...
Changed template file in order to make CSS work properly.
8 years ago
Unknwon
3a6623104f
Makefile: correct errors
8 years ago
Unknwon
b18a2bdcd3
locale: sync from Crowdin
8 years ago
Unknwon
d09eaef542
locale: sync from Crowdin
8 years ago
Unknwon
13cca8a66a
models/comment: remove unused SQL parameter ( #4586 )
8 years ago
Unknwon
8ed2330d6e
issue_comment: fix pg syntax ambiguous ( #4586 )
...
Also handle error related to time parsing.
8 years ago
Andy Hochhaus
261237745f
api: fix ListIssueComments API ( #4587 )
8 years ago
Unknwon
c9d76a381b
css: update less ( #4584 )
8 years ago
Einar
2961afe8fb
css: not include line numbers in diff selection ( #4584 )
8 years ago
Unknwon
ea03bee1b9
locale: sync from Crowdin
8 years ago
Unknwon
d1a96c2543
cmd/restore: skip non existent directories in backup archive ( #4413 )
8 years ago
Unknwon
11b1498a6e
api/repo: load attributes when listing user repositories ( #4565 )
8 years ago
Unknwon
f59500a90b
locale: sync from Crowdin
8 years ago
Credomane Evonguard
3df25fadfa
scripts: fix LSB init scripts so gogs starts when using mysql/postgresql for database ( #4561 )
8 years ago
Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
8 years ago
Unknwon
e1f01305d8
vendor: update github.com/go-macaron/binding ( #4428 )
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
ab2197bc75
random: some code simplify
8 years ago
Unknwon
a887e475e3
repo: change action visibility when repository visibility changed ( #4414 )
8 years ago
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
6197a7639a
locale: sync from Crowdin
8 years ago
Unknwon
91f65cedc8
repo/view: trim Windows line ending when display content ( #4546 )
8 years ago
Unknwon
7b85ee4954
vendor: update github.com/gogits/git-module ( #4475 )
8 years ago
Unknwon
1af01f5e30
restore: create data directory before restoring data files ( #4413 )
8 years ago
Unknwon
3efc0d8681
repo: load base repository for loadAttributes
8 years ago
Unknwon
09f2cbfb18
api/repo: response full API format for search results ( #4522 )
8 years ago
Unknwon
88791089ed
locale: sync from Crowdin
8 years ago
Unknwon
089eb1a099
Change required version to Go 1.6
8 years ago
Unknwon
b40dc550ed
vendor: update github.com/go-xorm/* ( #4419 )
8 years ago
Unknwon
c210984b40
repo: improve relative path detection ( #4366 )
8 years ago
Unknwon
455dc072ba
repo: use BranchLink instead of TreeLink ( #4366 )
8 years ago
Unknwon
a851b77ac9
markup: able to display image from IPython notebook ( #4366 )
8 years ago
Simon Dann
e9a2b72ddb
models/repo: modify keyword search to include description for #4287 ( #4548 )
...
* Modified repository keyword search to include description for #4287
* Replacing Where with And for #4548
8 years ago
Unknwon
c0be055541
api/repo: fix admin migrate repo for non-org users ( #4479 )
8 years ago
无闻
51d7f1264b
api: GitHub compliance ( #4549 )
...
* Add undocumented endpoint for /repositories/:id
* GitHub API Compliance
8 years ago
Unknwon
3359b942b3
vendor: update github.com/gogits/git-module
8 years ago
Unknwon
2155ef0208
README: add GitPitch
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
f4d61ac6d2
templates: fix version
8 years ago