Commit graph

946 commits

Author SHA1 Message Date
Sina Siadat ae1650824c Set IsBare true if migrated repo is empty.
Executes `git log -1` and sets IsBare to true if stderr contains this
string:

  fatal: bad default revision 'HEAD'
2015-09-07 02:20:51 +04:30
Unknwon 85f34ba538 new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 16:31:22 -04:00
Unknwon 80701d45bb #1193 Make organization emails non-mandatory 2015-09-06 10:08:14 -04:00
Unknwon aa67de910a fix #1558 2015-09-06 08:54:08 -04:00
Unknwon 119dec51f2 Mirror repository should not allow fork 2015-09-05 14:31:52 -04:00
Sergio Benitez aa9c36514f Merged conflicts. 2015-09-04 20:49:07 -07:00
Sergio Benitez 2d1db4bf05 Added LDAP simple auth support. 2015-09-04 20:48:34 -07:00
Unknwon d023e81a8f #1577 explore paginator problem 2015-09-04 05:54:22 -04:00
Unknwon 38eb000d13 work on #1570 2015-09-03 08:09:08 -04:00
Unknwon b1f0f85789 #1569 force InnoDB for MySQL 2015-09-03 05:05:58 -04:00
Unknwon a7ee654646 #1544 better tmp dir name for creating repo 2015-09-03 04:44:20 -04:00
Unknwon b6131793da #1545 prevent duplicated refs of issues in single commit 2015-09-03 04:34:08 -04:00
Unknwon 1fd5f8edf8 fix #1568 2015-09-03 03:58:44 -04:00
Unknwon 2a2a8cd619 ui and pulls index fix 2015-09-03 03:49:50 -04:00
Unknwon 83dc2468f5 finish initial version of pull request 2015-09-02 16:18:09 -04:00
Unknwon 842770d7fb add merger info and news feed 2015-09-02 11:24:55 -04:00
Unknwon 5da306c0e5 tmp: fix issue open count 2015-09-02 11:13:37 -04:00
Unknwon 953bb06857 basic PR feature 2015-09-02 09:26:56 -04:00
Unknwon 6ea28f2a47 work on #1558 2015-09-02 05:16:30 -04:00
Unknwon 1abfe4e05f PR: nothing to commit and has pull request check 2015-09-02 05:09:12 -04:00
Unknwon 37e0cee877 finish PR UI 2015-09-02 04:08:05 -04:00
Unknwon 2ac8e11f46 #842 able to use access token replace basic auth 2015-09-02 02:40:15 -04:00
Unknwon ebf1bd4f51 add view pull desc 2015-09-01 19:26:39 -04:00
Unknwon 8c046073a8 work on PR conversation 2015-09-01 19:07:02 -04:00
Unknwon 63fecac537 XSS in username 2015-09-01 12:19:52 -04:00
Unknwon 398569f6f8 #1021 Forked repo unavailable after deleting original repo 2015-09-01 11:43:53 -04:00
Unknwon 8af094967f #1377 add rename repo action 2015-09-01 09:29:52 -04:00
Unknwon 7714e792a4 minor fixes on #1551 2015-09-01 07:04:35 -04:00
Unknwon 17c2d1fc7c fix dashboard 500 when no issues at all
- update locales
- update README
2015-09-01 06:31:47 -04:00
Unknwon d01f688257 fix repository count of user is messed up 2015-08-30 01:13:24 +08:00
Unknwon 8d73832bdf fix sql 2015-08-29 23:49:17 +08:00
Unknwon a3683ca5d6 #1544 Creating new repository fails occasionally 2015-08-29 16:07:02 +08:00
Unknwon ea454c21f7 #1542 A way to skip TLS verify for SMTP authentication 2015-08-29 15:45:58 +08:00
Unknwon 63799b3c18 #1526 URL escape for username and password 2015-08-29 12:08:37 +08:00
Unknwon 55ddf225bb webhook APIs 2015-08-29 11:49:59 +08:00
Unknwon 8e92d4352f slack JSON indent 2015-08-28 23:38:09 +08:00
Unknwon f509c59ac1 new create webhook event 2015-08-28 23:36:13 +08:00
Unknwon a541ca16b6 fix bare repo issue 2015-08-28 19:34:23 +08:00
Unknwon d07033a0f0 fix 1093 2015-08-28 18:49:44 +08:00
Unknwon 11ce720f9f add more README vars 2015-08-28 18:36:32 +08:00
Unknwon bb3b90fcd6 #1487 Readme Template 2015-08-28 18:33:09 +08:00
Unknwon 46bee50e45 complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00
Unknwon ff35a37769 #1458: Authorities were messed up when using mysql database 2015-08-28 13:51:15 +08:00
Unknwon 23f42d92c9 add webhook recent deliveries 2015-08-27 23:06:14 +08:00
Unknwon b900863d60 rename a user method 2015-08-27 13:26:38 +08:00
Unknwon 4217c2333c new create webhook UI 2015-08-27 00:30:06 +08:00
Unknwon 2881456421 new webhooks list UI 2015-08-26 21:45:51 +08:00
Unknwon b3a45693c3 minor update 2015-08-26 12:26:01 +08:00
Unknwon a329bbc215 new org dashboard issues 2015-08-25 23:22:05 +08:00
Unknwon f808df5a7b new user dahsboard issues 2015-08-25 22:58:34 +08:00
Unknwon 260301bf2e #1535 Removing deploy key does not remove key 2015-08-25 03:30:39 +08:00
Unknwon 87152f89ba fix release created timezone issue 2015-08-24 21:01:23 +08:00
Yixin Hao 5f25553b0d Modify minimumKeySize of RSA to 1024 for old keys. 2015-08-21 15:29:43 +08:00
Unknwon aa65761d81 new commits table 2015-08-20 20:18:49 +08:00
Unknwon 062adbed8a add confirmation to delete ssh key 2015-08-20 17:11:29 +08:00
Unknwon 9b42f53aa8 more on #966 2015-08-20 16:08:26 +08:00
Unknwon 371572cf5f allow edit issue and comment 2015-08-20 04:31:28 +08:00
Unknwon f114f78743 fix timezone! 2015-08-20 00:56:12 +08:00
Unknwon 6c2536b89c fix timezone 2015-08-20 00:32:18 +08:00
Unknwon a5b09b30d0 print time to debug 2015-08-20 00:25:32 +08:00
Unknwon b846f195c1 work #1500 2015-08-20 00:12:43 +08:00
Unknwon 1453e91f41 minor fix on API response 2015-08-19 20:08:57 +08:00
Girish Ramakrishnan 24d7a86a8d Set IsAdmin using LDAP
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.

In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
2015-08-18 23:49:12 -07:00
Unknwon 03b85b73af token recent activity 2015-08-19 06:22:33 +08:00
Unknwon 47ac579f09 only assign auto-admin when sign up by web 2015-08-19 04:58:45 +08:00
Unknwon 4c7b6414eb new access token UI 2015-08-19 03:36:16 +08:00
Unknwon 6235bd1fe9 work on #986 and fix a LDAP crash 2015-08-18 04:03:11 +08:00
Unknwon b1696665bd make cron task configurable 2015-08-18 02:19:29 +08:00
Unknwon 407385db7e work on #1493 2015-08-17 17:05:37 +08:00
Unknwon 55ccb00a47 Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
# Conflicts:
#	modules/bindata/bindata.go
2015-08-16 14:31:54 +08:00
无闻 ce8864c69a Merge pull request #1475 from donbowman/master
Fix race condition on ssh key delete, and revert re-revert of hard line break
2015-08-15 17:27:20 +08:00
Don Bowman 1d52793faf remove empty line as per https://github.com/gogits/gogs/pull/1475 2015-08-15 09:21:34 +00:00
Unknwon a52324a5f9 able sort issues 2015-08-15 12:07:08 +08:00
Unknwon a24141ec9c more on #1319 2015-08-15 02:54:39 +08:00
Unknwon 30b428bf0e #1419: 500 when visit a issue with issue/comments of deleted user 2015-08-15 02:48:05 +08:00
Unknwon e4d6b5d488 Creates hooks directory when init update hook 2015-08-15 01:13:23 +08:00
Unknwon cec38f2a8c able edit issue labels/milestone/assignee 2015-08-15 00:42:43 +08:00
Unknwon 2cc9bc8969 delete attachments when delete repo 2015-08-14 03:07:20 +08:00
Unknwon 817b48ed1e Show owner/poster tags of comments and fix #1312 2015-08-14 02:43:40 +08:00
Unknwon 1fb53067f4 finish close/reopen issue 2015-08-13 23:21:43 +08:00
Unknwon 133b19d0c5 finish view comments on issue page 2015-08-13 16:07:11 +08:00
Sergio Benitez 7d84d4a8f0 Significantly enhanced LDAP support in Gogs. 2015-08-12 17:01:22 -07:00
Don Bowman ab0247b4dc race condition on keydelete 2015-08-12 22:00:43 +00:00
Unknwon ab2d0b3b44 add comment form UI 2015-08-12 18:44:09 +08:00
Unknwon b4c0b7b98b finish view issue without comments and ops 2015-08-12 17:04:23 +08:00
Unknwon cafde1287e delete avatar when del user 2015-08-12 03:46:08 +08:00
Unknwon 34f6cbfc2a finish attachments when create issue 2015-08-11 23:24:40 +08:00
Unknwon 1ce4543a94 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2 2015-08-10 23:56:17 +08:00
Unknwon 64985c7faa fix template error 2015-08-10 23:56:04 +08:00
无闻 9c0c16bb5a Merge pull request #1464 from jamesa/hide-gravatar-tooltip
Hide avatar tooltips unless you're looking at your own profile
2015-08-10 23:55:43 +08:00
James Anderson e5146155a0 Resize avatars to the same size they are displayed 2015-08-10 10:43:14 -05:00
Unknwon cbc7b7132f finish new issue action and mentions 2015-08-10 23:31:59 +08:00
Unknwon 887bc1b594 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
2015-08-10 23:01:41 +08:00
Unknwon 2aea247208 minor fix on #1460 2015-08-10 22:59:12 +08:00
Unknwon 884bc4ffd8 rename functions 2015-08-10 22:45:49 +08:00
Unknwon 75aff60c90 finish create issue with milestone and assignee 2015-08-10 21:47:23 +08:00
Unknwon 09a1b2a1f5 finish create issue with milestone 2015-08-10 18:57:57 +08:00
Unknwon 922f3f3062 finish create issue with labels 2015-08-10 16:52:08 +08:00
Unknwon 17de3ab0a3 add migrate from issue.label_ids to issue_label 2015-08-10 14:42:50 +08:00
Unknwon a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
2015-08-10 00:37:42 +08:00
Unknwon 7372042441 list view: issue, label, milestone 2015-08-09 22:45:38 +08:00
Unknwon 590c464c56 UI: create issue with title and content 2015-08-09 15:23:02 +08:00
Unknwon 68b9d78386 remove sync.Pool and support go1.2 again 2015-08-09 12:06:08 +08:00
Unknwon 4b43ffc96c Generate random avatar based on e-mail when disable Gravatar 2015-08-09 11:46:10 +08:00
Unknwon dea3a8c6a4 WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
Unknwon e3bdfd51ff better fork permission check 2015-08-08 17:24:10 +08:00
Unknwon 9db4acc62e improve fork process 2015-08-08 17:10:34 +08:00
Unknwon 45adb9b7a3 fix #1331 2015-08-08 00:41:09 +08:00
Unknwon b1f08d3218 more on #1443 2015-08-07 00:09:28 +08:00
Unknwon d922b7e504 #1443 set first user to be admin
...not just ID=1
2015-08-07 00:00:11 +08:00
Unknwon 02877f1a69 remove useless code 2015-08-06 23:27:54 +08:00
Unknwon 9d414d4dd9 remove Index field of milestone 2015-08-06 23:25:35 +08:00
Unknwon 0acf209e2a fix UNIQUE 2015-08-06 22:55:03 +08:00
Unknwon 39a3b768bc #334: Add Deployment Key Support 2015-08-06 22:48:11 +08:00
Unknwon 34795770c3 fix issue stats with milestone filter 2015-08-05 20:52:17 +08:00
Unknwon 81d01aa308 fix mysql parsetime arg 2015-08-05 20:47:35 +08:00
Unknwon 2c507667bf Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
# Conflicts:
#	gogs.go
#	models/issue.go
#	templates/.VERSION
2015-08-05 20:26:00 +08:00
Unknwon 0705f55ce0 finish new milestone page 2015-08-05 20:23:08 +08:00
Unknwon 74bd6b939c milestone: edit 2015-08-05 18:26:18 +08:00
Unknwon b9527cd1bf #1299 force downcase e-mail 2015-08-05 17:36:22 +08:00
Unknwon 3e4cdccf6b milestone: create page 2015-08-05 15:24:26 +08:00
Unknwon ce4dcf1e83 fix naming 2015-08-05 11:18:24 +08:00
Unknwon e50982f5ec allow anonymous SSH clone 2015-08-05 11:14:17 +08:00
Unknwon 9311a9858a milestone: pagination 2015-08-04 22:24:04 +08:00
Unknwon 04458d49a0 milestone: list view 2015-08-03 17:42:09 +08:00
Unknwon cbb78b6a63 better wording 2015-08-02 12:37:29 +08:00
Unknwon c44e1c7ca9 fix #1208 2015-07-31 14:05:36 +08:00
Unknwon 42a2c5ca54 #1400 use new connstr format for postgres 2015-07-31 11:05:06 +08:00
Vladimir Vissoultchev 4917d29c12 Partial impl of git diff encoding 2015-07-29 17:55:01 +03:00
Vladimir Vissoultchev fac4e27882 Allow spaces in file/dir names on parsing git diff 2015-07-28 19:48:36 +03:00
Unknwon f83519b452 report error when migration auth failed 2015-07-28 21:24:24 +08:00
Unknwon 686dd59916 fix #864 with migration and update locale 2015-07-26 22:06:28 +08:00
Unknwon 6f8e388b55 fix #1169
- prevent create reop on existed path
2015-07-26 19:22:17 +08:00
Unknwon fa298a2c30 #835: Realtime webhooks 2015-07-25 21:32:04 +08:00
Unknwon 2b1442f3df fix sql 2015-07-25 13:18:19 +08:00
Unknwon 2e7b38db9f fix paging links and issue count 2015-07-25 13:07:00 +08:00
Unknwon c0883a51a0 mirror fix on #1111 2015-07-25 07:47:43 +08:00
无闻 b838e94980 Merge pull request #1111 from vitalvas/develop
Add function in cron to autofix counters in repository
2015-07-25 07:22:50 +08:00
Unknwon 1ba837a055 new issue and label page 2015-07-25 02:52:25 +08:00
Unknwon 54b58e988d Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues 2015-07-25 00:49:40 +08:00
Unknwon dc4aab9925 UI: CURD labels
- fix update lable break connection with repository
2015-07-24 23:13:42 +08:00
Unknwon ac95f6d50f UI: basic label list
- create new label
2015-07-24 21:02:49 +08:00
Unknwon 04e596f984 #1369: nil pointer when add repo to team 2015-07-24 16:52:01 +08:00
Unknwon 86dbda0b42 UI: basci issue list without filters
- fix isRead check
- fix paging
2015-07-24 16:42:47 +08:00
Unknwon d6cdd49c16 fixes on #1171 2015-07-19 17:44:03 +08:00
Unknwon 663c28beb6 #1279: Removing user from collaboration removes repositiory 2015-07-14 22:56:02 +08:00
Unknwon c6531c4882 check master as default branch when migrate 2015-07-05 18:34:16 +08:00
Lunny Xiao f92bdf875b Merge pull request #1226 from nice-software/wip/pam
Add PAM authentication
2015-04-24 16:43:58 +08:00
Paolo Borelli 182003aa41 Add PAM authentication 2015-04-24 10:13:01 +02:00
Lunny Xiao 673a76d638 Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
2015-04-24 15:03:21 +08:00