Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
1038916460
models/protect_branch: fix whitelist with invalid 'protect_branch_id' ( #4333 )
...
If user creates a protect branch for the first time (which has ID=0),
it generates invalid whitelist records with 'protect_branch_id=0'.
This prevents future updates of protect branch whitelist.
Migration: remove existing invalid protect branch whitelist records.
8 years ago
Unknwon
bb19bb601e
repo: able to view size ( #1158 )
8 years ago
Unknwon
ca2cfaf71e
cmd: able to backup and restore
...
Not very robust, must execute under correct workdir.
Addresses #2072 , #3708 , #648
8 years ago
Unknwon
c4fdc26fa5
migration: drop 0.6.x support
8 years ago
Unknwon
039dc33367
git: delegate all server-side Git hooks ( #1623 )
8 years ago
dlob
5179063e71
Added mssql support. ( #3772 )
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
leonklingele
d96f2a7184
Fix random string generator ( #3953 )
...
* Remove unused custom-alphabet feature of random string generator
* Fix modulo-biased random string generator
* Random string generator should return error if it fails to read random data via crypto/rand
8 years ago
Unknwon
c2afdf2192
Minor code fix [CI SKIP]
8 years ago
Unknwon
37305a59ca
migrations: sync table first
8 years ago
Unknwon
bb359a74f1
migrations: set comment updated as created
8 years ago
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
9 years ago
Unknwon
52322ef624
models/user_mail: refactor EmailAddress
9 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
ac78bae7b5
Replace uuid module with original package
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Unknwon
7a3eccc709
Drop 0.5.x support
9 years ago
Unknwon
eb30cbab81
add unsupported migration prompt
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
67ced4aaca
safe check
9 years ago
Unknwon
cb100c7781
work #1705
9 years ago
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
9 years ago
Unknwon
1453e91f41
minor fix on API response
10 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
10 years ago
Unknwon
2aea247208
minor fix on #1460
10 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
10 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
10 years ago
Unknwon
686dd59916
fix #864 with migration and update locale
10 years ago
Unknwon
99b774e741
auto fix locale file name change
10 years ago
Unknwon
2bb982dada
#1080 : Remove footer ads/branding from default template
10 years ago
Unknwon
6b70a0c0d9
#1032 : legacy code can have duplicated IDs for same repository
10 years ago
Unknwon
63a73b43b4
models/migrations: fix update error
10 years ago
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
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
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
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
bef38d9d3f
Fix collaboration migration code
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