Unknwon
16f95123cd
models/models: formalize error messages
2019-02-06 18:50:02 -05:00
Unknwon
0a176df6fb
models: disable idle connection and set connection max life time ( #5532 )
2019-02-06 18:46:15 -05:00
Unknwon
657ea2686f
auth: coding style and glitches fixes for GitHub login source ( #5340 )
2018-12-18 16:46:50 -05:00
haixunlu
311df9c521
auth: add new authentication source: GitHub, including GitHub Enterprise ( #5340 )
...
* Add new Authentication Source: GitHub, including GitHub Enterprise.
* Add vendor dependencies.
2018-12-18 15:49:30 -05:00
Unknwon
77275a9b31
models: rename Id to ID
2018-08-16 20:26:09 +08:00
Unknwon
2a86b3e31d
restore: reset milestone deadline_unix and closed_date_unix ( #5264 )
2018-06-27 22:08:24 +08:00
Unknwon
029b33c650
restore: ignore created_unix for milestone table ( #5264 )
2018-06-25 20:33:21 +08:00
Unknwon
b538c5345e
restore: reset original created_unix after insert ( #5264 )
2018-06-09 17:21:58 +08:00
Unknwon
aff4208244
*: rename "gogits" to "gogs"
2018-05-27 08:53:48 +08:00
m2nlight
aa53d0978c
models: add ROW_FORMAT=DYNAMIC when creating table for supports mysql 5.6 ( #4913 )
...
* Add ROW_FORMAT=DYNAMIC when creating table for supports mysql 5.6 (fix #4894 )
* Update models.go
Rename NewEngine2 to NewEngineWithParams
* Rename NewEngine2 to NewEngineWithParams
Please update vendor when https://github.com/go-xorm/xorm/pull/798 closed.
* Update dialect_mysql.go
* Update dialect_mysql.go
* Update models.go
2018-03-09 15:44:07 -05:00
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.
2017-11-22 13:42:30 -05:00
m2nlight
67d67289c7
models: add utf8mb4 to connStr for mysql ( #4878 )
2017-11-21 00:25:36 -05:00
Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
2017-06-11 03:06:36 -04:00
Unknwon
b17995a332
restore: reset table sequences for PostgreSQL ( #4357 )
2017-05-21 04:37:37 -04:00
Unknwon
a617d52374
2fa: initial support ( #945 )
2017-04-06 00:14:30 -04:00
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
2017-04-04 19:29:59 -04:00
Unknwon
fdc7cb565d
repo: fix unable to propose pull request from secondary fork ( #4324 )
2017-03-23 20:04:20 -04:00
Unknwon
8a3f4fc616
models: add config options for XORM logger ( #3183 )
...
Added new config section '[log.xorm]'.
2017-03-23 18:34:25 -04:00
Unknwon
ca2cfaf71e
cmd: able to backup and restore
...
Not very robust, must execute under correct workdir.
Addresses #2072 , #3708 , #648
2017-02-27 22:48:19 -05:00
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.
2017-02-23 18:25:12 -05:00
Unknwon
7e09d210ba
Initial version of protected branches ( #776 )
...
- Able to restrict force push and deletion
- Able to restrict direct push
2017-02-17 15:10:50 -05:00
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 .
2017-02-16 16:33:49 -05:00
Unknwon
039dc33367
git: delegate all server-side Git hooks ( #1623 )
2017-02-14 16:22:16 -05:00
dlob
5179063e71
Added mssql support. ( #3772 )
2017-02-13 20:50:00 -05:00
Unknwon
e893e1fc63
models: set XORM log level to WARNING in production
2017-02-09 15:09:37 -05:00
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.
2017-02-09 09:31:38 -05:00
Unknwon
34b92cdb44
Fix #3905
2016-12-20 23:23:57 -05:00
LefsFlare
2bec8a4f1e
Changed interface ( #3685 )
2016-09-22 19:38:12 -04:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
f59d2dd034
Code clean up
2016-08-12 03:04:50 -07:00
Unknwon
5be881756b
#3442 add test suites
2016-08-12 02:56:50 -07:00
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
2016-08-12 02:42:06 -07:00
Unknwon
70fbcd2f27
models: rename EnableTidb to EnableTiDB
2016-08-11 14:38:45 -07:00
Unknwon
5850308a37
#3013 support connect PostgreSQL via unix socket
2016-08-11 14:38:26 -07:00
Unknwon
2d76de2574
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
2016-07-26 17:26:48 +08:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Tom
528682a294
getEngine() not handles DB parameters ( #2972 ) ( #2974 )
2016-07-02 22:39:39 +08:00
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
2016-03-09 19:53:30 -05:00
Lunny Xiao
779b71eda4
fix dependency broken because xorm's API changed
2016-02-16 22:35:08 +08:00
Unknwon
676d774d88
fix #1902
2015-11-07 00:39:45 -05:00
Unknwon
932dbccb67
fix import path, fix #1782
2015-10-15 21:28:12 -04:00
Unknwon
570ddefc32
print log every time regulater timezone
2015-10-10 19:04:26 -04:00
Unknwon
f1c2276c8d
add log when cannot regulate time
2015-10-09 23:05:20 -04:00
Unknwon
3fb1b6a608
drop oauth2 feature support
2015-09-17 16:11:44 -04:00
Unknwon
e75fd2f783
simplify names
2015-09-16 23:08:46 -04:00
Unknwon
e2d6b0116e
#1500 only regulateTimeZone for MySQL
2015-09-13 07:32:00 -04:00
Unknwon
aff773f1b9
add tidb support
2015-09-12 15:31:36 -04:00
Unknwon
373ef5d15e
#1500 timezone minutes offset
2015-09-11 12:33:27 -04:00
Unknwon
fa728d8dff
more minor fix on 1581
2015-09-10 15:45:03 -04:00