m2nlight
f12c058b78
models: update mySQL charset=utf8mb4 ( #4880 )
...
* Add utf8mb4 to connStr for mysql. fix #4131
* Update models.go. charset=utf8mb4 for mysql.
charset=utf8mb4 for mysql.
7 years ago
m2nlight
67d67289c7
models: add utf8mb4 to connStr for mysql ( #4878 )
7 years ago
Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
8 years ago
Unknwon
b17995a332
restore: reset table sequences for PostgreSQL ( #4357 )
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
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
fdc7cb565d
repo: fix unable to propose pull request from secondary fork ( #4324 )
8 years ago
Unknwon
8a3f4fc616
models: add config options for XORM logger ( #3183 )
...
Added new config section '[log.xorm]'.
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
6072e9a52c
repo: add protect branch whitelist ( #4177 )
...
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
8 years ago
Unknwon
7e09d210ba
Initial version of protected branches ( #776 )
...
- Able to restrict force push and deletion
- Able to restrict direct push
8 years ago
Unknwon
d521e716dd
refactoring: SSH and HTTP push procees is now unified
...
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.
Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.
By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636 .
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
e893e1fc63
models: set XORM log level to WARNING in production
8 years ago
Unknwon
6622b7b49a
models: remove TiDB embedded driver support
...
Users should all start tidb-server process and connect to it as if
it is a MySQL server with MySQL drivers.
8 years ago
Unknwon
34b92cdb44
Fix #3905
8 years ago
LefsFlare
2bec8a4f1e
Changed interface ( #3685 )
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
f59d2dd034
Code clean up
8 years ago
Unknwon
5be881756b
#3442 add test suites
8 years ago
Thibault Meyer
4296427214
Fix #3437 : Cannot connect to PostgreSQL via IPv6 address ( #3442 )
...
* Change PostgreSQL connstring parsing to handle IPv6
* Fix used variable
* Remove redundant code + use variable
8 years ago
Unknwon
70fbcd2f27
models: rename EnableTidb to EnableTiDB
8 years ago
Unknwon
5850308a37
#3013 support connect PostgreSQL via unix socket
8 years ago
Unknwon
2d76de2574
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
9 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Tom
528682a294
getEngine() not handles DB parameters ( #2972 ) ( #2974 )
9 years ago
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Lunny Xiao
779b71eda4
fix dependency broken because xorm's API changed
9 years ago
Unknwon
676d774d88
fix #1902
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
570ddefc32
print log every time regulater timezone
9 years ago
Unknwon
f1c2276c8d
add log when cannot regulate time
9 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
9 years ago
Unknwon
e75fd2f783
simplify names
9 years ago
Unknwon
e2d6b0116e
#1500 only regulateTimeZone for MySQL
9 years ago
Unknwon
aff773f1b9
add tidb support
9 years ago
Unknwon
373ef5d15e
#1500 timezone minutes offset
9 years ago
Unknwon
fa728d8dff
more minor fix on 1581
9 years ago
Unknwon
52ec80fa18
finish all new user settings UI
9 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon
b1f0f85789
#1569 force InnoDB for MySQL
9 years ago
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
9 years ago
Unknwon
8c046073a8
work on PR conversation
9 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
9 years ago
Unknwon
63799b3c18
#1526 URL escape for username and password
9 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
9 years ago
Unknwon
87152f89ba
fix release created timezone issue
9 years ago
Unknwon
f114f78743
fix timezone!
9 years ago