Commit Graph

2304 Commits (b60fd3aaadc3e6ad227b663d599e073f1436fd1f)
 

Author SHA1 Message Date
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix
Unknwon e90f014e4a Merge branch 'access' of github.com:gogits/gogs into access
无闻 125fe92a19 Merge pull request from phsmit/access_removecoll
Remove collaborators when removing and transferring repository
Unknwon 10e4b5b6c6 Merge branch 'access' of github.com:gogits/gogs into access
Unknwon 7ccab9cd09 Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts:
	gogs.go
	models/models.go
	models/user.go
	templates/.VERSION
	templates/org/home.tmpl
Unknwon 2369881808 Merge branch 'dev' of github.com:gogits/gogs into dev
Unknwon 04164eada3 models: able to rename user with diff letter cases
- templates/org: mirror fix on name output
- routers: add missing error check
无闻 e97a6ff911 Merge pull request from albang/dev
[docker] openssh-client provide ssh-keygen.
Alban Garrigue 7d109573cb openssh-client provide ssh-keygen. GOGS needs that binary to add a ssh key to a user
Unknwon 74a8bb93d8 Merge branch 'dev' of github.com:gogits/gogs into dev
Unknwon 059338139c routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
无闻 aa670ce660 Merge pull request from albang/dev
$DIRECTORY variable is never set
Alban Garrigue 81fcc0db0c $DIRECTORY variable is never set
Unknwon c753fdceaf templates/org/home.tmpl: fix org member can't see public repo
Unknwon a6a99d49cf reword
Unknwon 9dfa17faf2 modules/git: able to parse RFC1123Z date format
Unknwon 3fcc39c26b Merge branch 'dev' of github.com:gogits/gogs into dev
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
无闻 bbee7b7196 Merge pull request from nicolai86/bugfix/label-num_issues
Bugfix for wrong label count
Raphael Randschau 4f567edc6e Fix
Not sure why, but xorm ignores the num_issues and num_closed_issues
columns when updating, even though the values changed.

Listing them explicitly fixes the issue with the wrong issue counts
无闻 fc4dff1b17 Merge pull request from phsmit/access_update
Updating context and fixing permission issues
无闻 065f8d1f56 Merge pull request from uchti/dev
Fix: 504 5.5.2 <localhost>: Helo command rejected
Gogs 2f1369c614 add error for hello func
无闻 8f1d2d9f24 Merge pull request from makhov/the-new-new-highlighting
fix typo mistake in highlighting
Alexey Makhov 3efe3f42e8 js fix R1-L1 highlight
Gogs 5293ae1221 Fix: 504 5.5.2 <localhost>: Helo command rejected
Alexey Makhov d2f439a241 fix typo mistake
无闻 77ac1e6ff6 Merge pull request from makhov/the-new-new-highlighting
The new new highlighting
Alexey Makhov c0ad512398 remove not using vars
Alexey Makhov 563e8b4ea9 gitlab-like hash naming
无闻 be19fe48d7 Merge pull request from Stefan-Code/dev
Changed repo-clone url behavior on bare repo page, added LESS compile script
Stefan-Code b508fb041f Merge branch 'dev' of https://github.com/gogits/gogs into dev
Stefan-Code 1628ef4ba5 changed repo-clone-url behaviour for bare repo
Peter Smit 0fa209d07b Update/simplify fix that owners also see actions on their repositories
Stefan-Code 6e341e26b3 added less compile script
无闻 a307574fbc Merge pull request from phsmit/dont_mention_php
Remove the "PHP" style formatting function
无闻 58e28e5d9d Merge pull request from phsmit/fix_mirror_access
Make sure that a mirror can't be written to by http or ssh
无闻 4e18bbf1cf Merge pull request from phsmit/goget
Remove GoGet option from repository and handle it with ?go-get=1 instead
Peter Smit e6fc58a744 Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
Peter Smit aa68e86206 Rewrite/simplify gogs serve
Peter Smit 7759b9ee6e Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.

All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
Peter Smit b6519f78c7 Remove collaborators when removing and transferring repository
Peter Smit 455fad0fbd Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.

It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
Peter Smit ed89b39984 Updating context and fixing permission issues
The boolean flags in the repo context have been replaced with mode and two methods

Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
Peter Smit f9454cc32c Make sure that a mirror can't be written to by http or ssh
Unknwon d85366930c update travis.yml
Unknwon f625665d8d modules/setting: add abs path check before add workdir prefix
无闻 d047811c1a Merge pull request from bpollack/docfix
Fix a bunch of small typos and formatting quirks
Unknwon 685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
Benjamin Pollack 8c1986181d Fix a bunch of small typos and formatting quirks