Commit Graph

281 Commits (82637c240aa3b0e0bf290d35b2014953edec5b6e)

Author SHA1 Message Date
Unknwon 7a3eccc709 Drop 0.5.x support
Unknwon eb30cbab81 add unsupported migration prompt
Unknwon b55499d039 go vet and fix
Unknwon 67ced4aaca safe check
Unknwon cb100c7781 work
Unknwon fc7959d3bc New/reopen PR checks if there is any unmerged and open PR
Unknwon 1453e91f41 minor fix on API response
Unknwon 34f6cbfc2a finish attachments when create issue
Unknwon 887bc1b594 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
Unknwon 2aea247208 minor fix on
Unknwon 17de3ab0a3 add migrate from issue.label_ids to issue_label
Unknwon 39a3b768bc : Add Deployment Key Support
Unknwon 686dd59916 fix with migration and update locale
Unknwon 99b774e741 auto fix locale file name change
Unknwon 2bb982dada : Remove footer ads/branding from default template
Unknwon 6b70a0c0d9 : legacy code can have duplicated IDs for same repository
Unknwon 63a73b43b4 models/migrations: fix update error
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix
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)
Unknwon b99c4baab2 models/migrations: finish accessRefactor
无闻 7fda0cdb93 Merge pull request from phsmit/access_refactor
Access refactor
Unknwon 0b3722c359 models/migrations: fix little logic error
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.
Peter Smit 2804784df9 Some comments and improvements for migrations
Unknwon 876a856759 models/migartions: make Migration as interface and use session
Unknwon 7e7160eefd first pass work on migration
Peter Smit bef38d9d3f Fix collaboration migration code
Peter Smit 76f8904718 Introducing Collaboration Struct
Peter Smit 4ef3245413 Migration code: errors are not to be forgotten
Peter Smit 2a70d6b723 Clean up migrations code
Peter Smit bb103e8723 Create db migrations framework