1
0
mirror of https://github.com/gogs/gogs.git synced 2025-04-28 05:33:05 +00:00

149 Commits

Author SHA1 Message Date
Unknwon
7e09d210ba
Initial version of protected branches ()
- 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 .
2017-02-16 16:33:49 -05:00
Unknwon
039dc33367
git: delegate all server-side Git hooks () 2017-02-14 16:22:16 -05:00
dlob
5179063e71 Added mssql support. () 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 2016-12-20 23:23:57 -05:00
LefsFlare
2bec8a4f1e Changed interface () 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 add test suites 2016-08-12 02:56:50 -07:00
Thibault Meyer
4296427214 Fix : Cannot connect to PostgreSQL via IPv6 address ()
* 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 support connect PostgreSQL via unix socket 2016-08-11 14:38:26 -07:00
Unknwon
2d76de2574 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
Unknwon
e74630ae3b add pagination for repositories 2016-07-24 14:32:46 +08:00
Tom
528682a294 getEngine() not handles DB parameters () () 2016-07-02 22:39:39 +08:00
Unknwon
ad513a20e9 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 2015-11-07 00:39:45 -05:00
Unknwon
932dbccb67 fix import path, fix 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 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 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
Unknwon
52ec80fa18 finish all new user settings UI 2015-09-10 11:40:34 -04:00
Unknwon
85f34ba538 new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 16:31:22 -04:00
Unknwon
b1f0f85789 force InnoDB for MySQL 2015-09-03 05:05:58 -04:00
Unknwon
1abfe4e05f PR: nothing to commit and has pull request check 2015-09-02 05:09:12 -04:00
Unknwon
8c046073a8 work on PR conversation 2015-09-01 19:07:02 -04:00
Unknwon
398569f6f8 Forked repo unavailable after deleting original repo 2015-09-01 11:43:53 -04:00
Unknwon
63799b3c18 URL escape for username and password 2015-08-29 12:08:37 +08:00
Unknwon
23f42d92c9 add webhook recent deliveries 2015-08-27 23:06:14 +08:00
Unknwon
87152f89ba fix release created timezone issue 2015-08-24 21:01:23 +08:00
Unknwon
f114f78743 fix timezone! 2015-08-20 00:56:12 +08:00
Unknwon
17de3ab0a3 add migrate from issue.label_ids to issue_label 2015-08-10 14:42:50 +08:00
Unknwon
39a3b768bc : Add Deployment Key Support 2015-08-06 22:48:11 +08:00
Unknwon
81d01aa308 fix mysql parsetime arg 2015-08-05 20:47:35 +08:00
Unknwon
cbb78b6a63 better wording 2015-08-02 12:37:29 +08:00
Unknwon
42a2c5ca54 use new connstr format for postgres 2015-07-31 11:05:06 +08:00
Tomcat
2bfe2ddb6d Add mysql unix socket support.
If the host setting looks like a unix socket (leading by char '/'), will use unix(host) as connection string
2015-03-14 02:21:47 +08:00
Unknwon
ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 2015-02-23 02:15:53 -05:00
Unknwon
7ccab9cd09 Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts:
	gogs.go
	models/models.go
	models/user.go
	templates/.VERSION
	templates/org/home.tmpl
2015-02-22 22:51:25 -05:00
Unknwon
685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
2015-02-14 17:01:33 -05:00
Unknwon
6d0f3a07d4 code fix caution: undertest 2015-02-13 00:58:46 -05:00