656 Commits (e3dece1371f38f5af72c200bc4c4684ec2fc396b)

Author SHA1 Message Date
Unknwon 8896c82d34 models: fix issue with transfer repository
README: fix typo
9 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 9 years ago
Unknwon e90f014e4a Merge branch 'access' of github.com:gogits/gogs into access 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 04164eada3 models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output
- routers: add missing error check
9 years ago
Unknwon 3fcc39c26b Merge branch 'dev' of github.com:gogits/gogs into dev 9 years ago
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
9 years ago
Raphael Randschau 4f567edc6e Fix #933
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
9 years ago
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.
9 years ago
Peter Smit b6519f78c7 Remove collaborators when removing and transferring repository 10 years ago
Unknwon 685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
10 years ago
Peter Smit 0009a1d2b1 Fix access for team mode update 10 years ago
Peter Smit ddf7014b9b Rewrite of access migration
The old migration had a few issues:
 - It left old column names around
 - It did not give the right access levels for owners and admins

Also, this includes a migration that fixes the authorization of owner teams, which was previously ORG_ADMIN (instead of ORG_OWNER)
10 years ago
Unknwon 25f5a8d798 some fixes, but not done yet! 10 years ago
Unknwon 6b7d35eade fix mirror issues uncaught #941 10 years ago
Unknwon 6d0f3a07d4 code fix #941 caution: undertest 10 years ago
Unknwon b99c4baab2 models/migrations: finish accessRefactor 10 years ago
无闻 7fda0cdb93 Merge pull request #941 from phsmit/access_refactor
Access refactor
10 years ago
Unknwon 0b3722c359 models/migrations: fix little logic error 10 years ago
Unknwon 67a9416ae5 templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884 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
Peter Smit 2804784df9 Some comments and improvements for migrations 10 years ago
Unknwon 876a856759 models/migartions: make Migration as interface and use session 10 years ago
Unknwon 7e7160eefd first pass work on migration #925 10 years ago
Unknwon c5c467a9cd Merge branch 'dev' of github.com:gogits/gogs into access 10 years ago
Unknwon c7a042ef36 Merge branch 'access' of github.com:gogits/gogs into access 10 years ago
无闻 e805fdb29c Merge pull request #925 from phsmit/newcollaboration
Collaboration
10 years ago
Unknwon d02e45f985 better naming on #891 10 years ago
Unknwon 485ea6f14f models: make code change for session issue with SQLite3 #739 10 years ago
Unknwon 6a23252edc able to allow insecure certification of webhook for #891 10 years ago
Unknwon bad533a219 models/repo.go: add update hook when migrate for #789 10 years ago
Peter Smit 0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style 10 years ago
Peter Smit aa35be975f Fix #922 10 years ago
无闻 6ed96b7a20 Merge pull request #911 from TonyTsangHK/dev
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
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 ba77a3b0b4 routers/repo/http.go: allow HTTP push/pull by token for #845 10 years ago
无闻 19525abfc4 Merge pull request #845 from compressed/token_http
allow http push by token - #842
10 years ago
Unknwon 2a2596fe61 able to disable SSH for #883 10 years ago
Unknwon 5a99e9a37b models/action.go: add action reopen for #462
- models/issue.go: format comment type names
10 years ago
Unknwon afccd0a3ee models/action.go: mirror fix on #892
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
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
Tony Tsang fc6d80d619 Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files. 10 years ago
Peter Smit 1ab09e4f1b Add option to provide configuration file on command line 10 years ago
Peter Smit 03af37554e Merge branch 'dev' into newcollaboration 10 years ago
无闻 02c5bade0f Merge pull request #892 from EtienneBruines/commit_reference
Referencing issues from commit messages is now possible.
10 years ago
Unknwon f706102890 models: sanitize user full name when update settings 10 years ago
Peter Smit fd1df86c44 Fix dashboard issue after collaboration migration 10 years ago