Commit Graph

51 Commits

Author SHA1 Message Date
Naoki Takezoe
3f76453f34 (refs #343)Retrieve all commit id from Git repository in pre commit hook instead of COMMIT_LOG table 2014-04-10 17:42:25 +09:00
takezoe
84ac2974fb Skip issue id extraction if the repository has no issues 2014-03-30 20:52:39 +09:00
kunigaku
6e0fb95ac3 Fix #247 servlet.CommitLogHook.onPostReceive takes minutes
When pushing tags, command.getOldId value is
“0000000000000000000000000000000000000000”.
So, can not get commit logs.
2014-03-18 22:51:15 +09:00
takezoe
49bf88f7a7 (refs #312)Fix redirection for non git client 2014-03-12 22:39:12 +09:00
takezoe
fbba29e810 (refs #303)Submodule support 2014-03-08 02:58:49 +09:00
takezoe
b031103df8 (refs #218)Separate StringUtil#extractCloseId() to add unit test. 2014-03-02 04:49:14 +09:00
takezoe
0c683d4f75 Merge branch 'closing-issues-via-commit-messages' of https://github.com/odz/gitbucket into odz-closing-issues-via-commit-messages 2014-03-02 04:02:45 +09:00
takezoe
98266fe0e1 (refs #279)Fix webhook URL to use the configured base URL. 2014-03-01 13:05:42 +09:00
odz
8b5414c8f7 Merge branch 'master' into closing-issues-via-commit-messages
Conflicts:
	src/main/scala/app/PullRequestsController.scala
	src/main/scala/servlet/GitRepositoryServlet.scala
2014-02-25 00:07:25 +09:00
takezoe
39091240ff (refs #60)Mentioned issue reference from other issue or issue comment. 2014-02-22 05:13:39 +09:00
takezoe
1c529eea3d Disable the post commit hook for Wiki repository. 2014-02-01 07:06:17 +09:00
takezoe
6f6a61f31a Fix pattern match for webhook. 2014-01-04 17:23:18 +09:00
takezoe
0e7280585a Fix refs commit log and web hook. 2014-01-04 04:11:41 +09:00
takezoe
0e9bf59c0f Remove some functions from ControlUtil. 2013-12-15 04:21:39 +09:00
odz
dc78dc9b0d Close issues via commit messages 2013-11-30 18:57:19 +09:00
odz
223ba791fe Fetch pull request from source repository after updating repository. 2013-11-20 23:59:26 +09:00
takezoe
8ec4b52dda (refs #167)Add pusher info to WebHook 2013-10-31 02:07:54 +09:00
takezoe
2235dab550 (refs #174)Fix commit hook for DELETE command. 2013-10-26 01:40:26 +09:00
takezoe
06be5266fd Fix refs message. 2013-10-24 15:04:32 +09:00
takezoe
2968b92677 Add the commit link to refs comment. 2013-10-24 04:25:50 +09:00
takezoe
82ced9233a Remove debug code. 2013-10-06 23:23:04 +09:00
takezoe
e94411ebeb (refs #121)Create WebHookPayload only when web hook has been registered. 2013-10-06 23:22:29 +09:00
takezoe
e457cfb212 Fix branch name. 2013-10-06 19:49:46 +09:00
takezoe
f1476c52e6 (refs #121)Optimize push performance for a lot of commit. 2013-10-06 18:31:09 +09:00
takezoe
0affdb6ad0 Bug fix caused by path splitting. 2013-09-27 14:33:27 +09:00
takezoe
d34118bdfd Define request attribute keys. 2013-09-23 02:03:10 +09:00
takezoe
602b6c635a Add RichRequest which extends HttpServletRequest. 2013-09-22 14:25:50 +09:00
takezoe
b4dd067d61 Introduce ControlUtil which provides control facilities such as using() or defining(). 2013-09-19 18:53:14 +09:00
takezoe
fd22e2911a Remove debug code. 2013-09-19 13:26:33 +09:00
takezoe
7e4c29f4cf (refs #74)Remove an auxiliary constructor from case class because json4s can't serialize correctly if case class have that. 2013-09-19 00:47:46 +09:00
takezoe
d8698d02b7 (refs #74)Add "Test Hook" button. 2013-09-18 20:10:53 +09:00
takezoe
36115734bb (refs #74)Web hook is completed. 2013-09-14 17:14:37 +09:00
takezoe
c1eccd391d (refs #74)JSON conversion test. 2013-09-13 21:58:50 +09:00
takezoe
7c269de39b (refs #74)Implementing conversion of web hook payload. 2013-09-13 03:24:34 +09:00
takezoe
c88b051121 Rolled back d84d40afea 2013-09-05 14:46:58 +09:00
takezoe
d84d40afea Set init parameters using ServletContext#setInitParameter(). 2013-09-04 02:19:04 +09:00
shimamoto
6035281ca1 Change action(IssueComment) to String type. 2013-07-17 12:37:48 +09:00
takezoe
f13e2c0d71 Insert issue comment from commit message as 'commit' action. 2013-07-08 15:33:53 +09:00
takezoe
6005282d9f (refs #4)The base of activity timeline is completed. 2013-07-07 13:40:04 +09:00
takezoe
129020dbc4 (refs #4)Implementing activity recording for git push. 2013-07-07 03:50:11 +09:00
takezoe
07512f1df9 Fix problem when GitBucket is working on non root context. 2013-07-04 13:08:00 +09:00
shimamoto
87d8a19e37 Add close and re-open of the issue. 2013-07-01 21:05:52 +09:00
takezoe
435d488089 Append commit message as issue comment by commit hook. 2013-06-30 02:55:55 +09:00
takezoe
0294c32fb8 Change java.sql.Date to java.sql.Timestamp. 2013-06-22 14:35:37 +09:00
takezoe
7a3512ee18 Fix commit log presentation. 2013-06-19 04:27:57 +09:00
takezoe
64beb295e5 Fix typo. 2013-06-05 09:54:36 +09:00
takezoe
c3144383b2 Fix authentication for git repository. 2013-06-05 04:11:39 +09:00
takezoe
6e59a3706f Add TODO. 2013-06-01 13:57:30 +09:00
takezoe
4c2b6c7f62 Improve the commit hook to add commit messages to the issue comment. 2013-06-01 01:54:44 +09:00
takezoe
888777f7e8 Commit hook test. 2013-05-31 20:28:06 +09:00