196 Commits (b668fc7aadb928b86336655e2fa0b37ed4d9733d)

Author SHA1 Message Date
Unknwon b447d18dca cmd/serve.go: remove useless code 9 years ago
Unknwon d446be9f5f models: mirror fix on #964 9 years ago
Peter Smit 556881964f Merge branch 'access' into access_rewriteserv 9 years ago
Unknwon 10e4b5b6c6 Merge branch 'access' of github.com:gogits/gogs into access 9 years ago
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
9 years ago
Unknwon 059338139c routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
9 years ago
无闻 fc4dff1b17 Merge pull request #959 from phsmit/access_update
Updating context and fixing permission issues
9 years ago
Peter Smit aa68e86206 Rewrite/simplify gogs serve 10 years ago
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.
10 years ago
Peter Smit f9454cc32c Make sure that a mirror can't be written to by http or ssh 10 years ago
Unknwon 685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
10 years ago
Unknwon 6d0f3a07d4 code fix #941 caution: undertest 10 years ago
Peter Smit 6c1ee384f1 Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
	cmd/serve.go
	models/access.go
	models/migrations/migrations.go
	models/org.go
	models/repo.go
	models/user.go
	modules/middleware/org.go
	modules/middleware/repo.go
	routers/api/v1/repo.go
	routers/org/teams.go
	routers/repo/http.go
	routers/user/home.go
10 years ago
Peter Smit 0a4cda0dd4 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon 7e7160eefd first pass work on migration #925 10 years ago
Peter Smit 0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style 10 years ago
Peter Smit b7e26aa5e3 Improve argument parsing for serve command 10 years ago
Unknwon f15fa9167a cmd: code fix for #905
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
10 years ago
无闻 cd0ee35b3f Merge pull request #905 from phsmit/conf_on_cli
Add option to provide configuration file on command line
10 years ago
Unknwon 2a2596fe61 able to disable SSH for #883 10 years ago
Peter Smit 4e79adf6b5 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Peter Smit 1ab09e4f1b Add option to provide configuration file on command line 10 years ago
Unknwon 4dfffee9fb cmd: update csrf version requirement 10 years ago
Unknwon 0a2068d7fb models: code fix on #818 10 years ago
Unknwon 89ea3e1acc routers: save partial config when install 10 years ago
Unknwon b293b6eaa6 cmd: CMD option for port number of `gogs web` to prevent first time run conflict
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
10 years ago
Unknwon 7170011f4d update with deps 10 years ago
Unknwon 13e35398aa prepare for mirror update release 10 years ago
Unknwon d5c6b53571 use new Redis client 10 years ago
Unknwon f0ca16d78f add cache version require 10 years ago
Unknwon c73e9057ae Optmize git-fsck options and fix #820 10 years ago
Unknwon 0f1ff9b1ad fix cache dep API broken 10 years ago
Unknwon 63c1f9a23f fix 500: E-mail already used in user settings page 10 years ago
Unknwon 81a44e4cd0 fix API changes 10 years ago
Unknwon 97b39ae2e4 fix invite bug(shouldn't include full name to search box) 10 years ago
Unknwon 79537467da mirror fix and update 10 years ago
无闻 a18decf4cc Merge pull request #755 from phsmit/multiple_emails
Multiple emails
10 years ago
Unknwon b231b8c927 update locale and mirror code format 10 years ago
Peter b033f2f535 Finish method for having multiple emails/user.
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
10 years ago
Unknwon 9803c421f5 fix binding api broken 10 years ago
Unknwon ac4a10456e api: able to create repo and fix #726
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon 42c7bb7529 mirror code clean 10 years ago
Henry 4f4392b83e increase minimum version vor HTTPS to TLS 1.0 (POODLE, fixes #730) 10 years ago
Unknwon bc8721fb6c Finish new UI for release page 10 years ago
Unknwon 82da024a4d fix #687 10 years ago
无闻 1591a37ad5 Merge pull request #686 from willglynn/cert_stub_exit_code
Cert command stub should return a non-zero exit code
10 years ago
Will Glynn 3e528f34af Cert command stub should return a non-zero exit code 10 years ago
Unknwon d6132aaa88 fix oauth2 10 years ago
Unknwon 515641d033 fix #659 10 years ago
Unknwon 0cce61de3a Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago