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
b116dc506b
migrations/v16: use continue not return for bad records
8 years ago
Unknwon
bf58f26305
migrations/v16: make SQLite3 work
8 years ago
Unknwon
601f174ea0
migrations/v16: only Warn if repository happens to have bad data
8 years ago
Unknwon
a34c21cde3
migrations/v16: sync table
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
a4f9e5031f
migration.v15: don't generate hook file if wiki not exist ( #1623 )
8 years ago
Unknwon
fd5881fb64
migration: minor code fix ( #1623 )
8 years ago
Unknwon
0f6e464126
migration: should regenerate wiki hook files ( #1623 )
8 years ago
Unknwon
0f32aeec70
migration: adjust rule to prevent migrate wrong hook file
8 years ago
Unknwon
78145cd166
migration: handle edge case
8 years ago
Unknwon
904f0ebec3
migration: add trace log
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
8 years ago
Unknwon
52322ef624
models/user_mail: refactor EmailAddress
8 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
8 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
9 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
9 years ago
Unknwon
2aea247208
minor fix on #1460
9 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
686dd59916
fix #864 with migration and update locale
9 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