blu3gui7ar
e6ba3374ae
refine setup script for gogs service in Container
...
1. `ln` to an existing link will create a new link inside the linked directory. Add checks to avoid.
2. Recursively `chown` is time consuming when directory is big and deep. `chown -R /data` will do this to the whole mounted volume, includes the repository. When repository is big, it takes too much time before start gogs web. This usually fail the readiness probe, and may cause container restart endlessly. This operation is not necessary on container restart. Explicitly define the directories to `chown -R`, so that users can create repository under /data and link into /data/git to avoid `chown -R` on repository if they want to manage the ownership themselves.
3. As /home/git is soft link of /data/git, there is no need to `chown -R ~git/` again.
7 years ago
Unknwon
b1100b5e34
locale: sync from Crowdin
7 years ago
Sb
ab2c6cb008
models: fix #4692 and typo in comments ( #4695 )
7 years ago
Unknwon
f2c3f4a944
locale: sync from Crowdin
8 years ago
Unknwon
6bc11c4450
hook: fix email not sent after push ( #4430 )
...
Turns out mail service was not initialized at all, also mail must
be sent in sync in hook mode before program exits.
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