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
Unknwon
0b3722c359
models/migrations: fix little logic error
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
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
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
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
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
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
Peter Smit
bef38d9d3f
Fix collaboration migration code
10 years ago
Unknwon
4de0b19cec
models: mirro code fix for #821
10 years ago
Etienne Bruines
5c4b85c029
Referencing issues from commit messages is now possible.
...
Code-wise: the fixing-part of the code now doesn't reference the issue any more, because this is done by the referencing-part of the code, which is called just before.
Fixes #462 , #668 , #732 .
10 years ago
Unknwon
0a2068d7fb
models: code fix on #818
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
ee6786216a
modules/base: clean code with #838
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago
Peter Smit
4ef3245413
Migration code: errors are not to be forgotten
10 years ago
Peter Smit
2a70d6b723
Clean up migrations code
10 years ago
Peter Smit
bb103e8723
Create db migrations framework
10 years ago
Christopher Brickley
d0827e5d5e
allow http push by token - #842
10 years ago
Unknwon
bb26285a12
fix #827
10 years ago
Peter Smit
6251626de4
Implement #798 Flexible ssh-key input
...
It is now possible to input ssh keys in a number of formats: openssh, SSH2 or just the base64 encoded key.
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Peter Smit
44fa9147b7
Fix #819 by fetching the repository from db before updating
10 years ago
Unknwon
0b56272c13
fix #805
10 years ago
Unknwon
3ea1443885
work on #784
10 years ago
fzerorubigd
6643647687
add afunction to rewrite all public keys on admin request
...
refs #763
10 years ago
Unknwon
bd555551ce
fix #801
10 years ago
Unknwon
63c1f9a23f
fix 500: E-mail already used in user settings page
10 years ago
euank
234a7c19a4
Default values for both user.name and user.email
...
The previous behavior was to set default values only if user.name was
not set, but to always set it for both. This only sets a value if there
wasn't one; this fixes cases where someone has a user.name but no
user.email (see included Dockerfile) or someone has a user.email but no
user.name (before the email would have been over-written).
10 years ago
estetsenko
bae1d65564
bugfix: Unable to assign any issue myself
10 years ago
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
10 years ago
Peter Smit
66e2016eeb
Fix for wrong email query
...
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
10 years ago