Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
8 years ago
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
4a67bb5806
migrations.v17: skip if table not exist
8 years ago
Kyle McCullough
09723ec0e5
migration.v17: handle mysql error ( #4361 )
8 years ago
Unknwon
abe7f7bc36
migration.v17: add nil error check
8 years ago
Unknwon
717bcc4ad8
migration/v17: skip if protect_branch_whitelist table not exist ( #4355 )
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
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
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