Commit Graph

41 Commits

Author SHA1 Message Date
Yuusuke KOUNOIKE
841e6d110c Improve API compatibility for SourceTree and Drone.io (#2286) 2019-06-02 10:18:46 +09:00
Yuusuke KOUNOIKE
8705d3450a Verify gpg sign (#2264) 2019-03-16 17:29:52 +09:00
KOUNOIKE
9de40292c4 add test 2019-02-18 01:51:12 +09:00
shimamoto
d6f6938465 Correctly display "url" and "html_url" of API models 2019-01-11 19:34:37 +09:00
shimamoto
29ea484a26 Add unit test 2019-01-09 20:59:13 +09:00
shimamoto
8aa6e83673 Add unit test 2019-01-08 21:37:10 +09:00
shimamoto
aef8e32da3 Add unit test 2019-01-07 20:16:29 +09:00
shimamoto
9e8015f475 Add test 2018-12-27 20:39:38 +09:00
Naoki Takezoe
114de52434 Add tests for API models 2018-12-24 23:31:36 +09:00
Naoki Takezoe
468cab6982 Separate models from JSON serialization specs 2018-12-24 19:41:21 +09:00
xuwei-k
563c69b4ef fix typo 2018-06-30 16:14:49 +09:00
KOUNOIKE Yuusuke
6e31f19e9b Improve webhook payload compatibility for discord. close #1888 2018-04-15 15:13:10 +09:00
kenji yoshida
4f92739d73 check scalafmt in travis (#1936)
format test and sbt files
2018-04-01 22:24:51 +09:00
KOUNOIKE Yuusuke
3a7581b391 Fix tests for add labels to ApiIssue/ApiPullRequest 2018-03-11 17:10:17 +09:00
Matthieu Brouillard
47489d9cb1 add 'state' attribute to ApiPullRequest object
fixes #1844
2018-01-19 11:37:13 +01:00
Naoki Takezoe
bb804f6597 Merge pull request #1696 from gitbucket/api_repository_ssh_url
Add ssh_url to web hook request and API response
2017-09-20 16:18:35 +09:00
Naoki Takezoe
9251d64de8 Avoid database access in model
Modified to pass assignee from outside of model instead.
2017-09-05 19:47:41 +09:00
Naoki Takezoe
d0c99727e9 Fix testcases 2017-09-05 16:06:06 +09:00
Yasuhiro Takagi
884fc5318a Add assignee entry for the result of pull request related api 2017-06-25 13:33:27 +09:00
xuwei-k
c0d9689022 fix deprecation warning
https://github.com/FasterXML/jackson-core/blob/jackson-core-2.8.4/src/main/java/com/fasterxml/jackson/core/JsonParseException.java#L31
2017-02-20 11:45:09 +09:00
Naoki Takezoe
a60b43b862 (refs #1271)Fix testcase 2016-12-10 12:14:24 +09:00
KOUNOIKE Yuusuke
6b2fbb3bf0 add some API. required by Jenkins GitHub Branch Source plugin 2016-07-25 23:52:08 +09:00
distkloc
a82e579d57 Add pull_request key in list issues api if an issue is a pull request 2016-03-10 02:08:09 +09:00
Naoki Takezoe
419ea16ead Remove Specs2 dependency 2016-02-06 22:27:23 +09:00
Naoki Takezoe
e72d808a3c Migrating testcase to ScalaTest 2016-02-06 22:10:20 +09:00
lidice
64cacb18a4 Extend API to allow CRUD labels
Add Labels API
    * List all labels for this repository
    * Get a single label
    * Create a label
    * Update a label
    * Delete a label

    Reject duplicated label name

    Add test case for LabelsService
2016-01-22 07:44:35 +09:00
nazoking
6661314be5 Add git proection api and form 2016-01-02 20:20:24 +09:00
nazoking
84d97817e3 add comment 2015-11-09 13:57:37 +09:00
nazoking
2c6d2176bb fix space 2015-11-09 13:57:26 +09:00
nazoking
7840d28ed2 add webhook pull-request-review-comment 2015-11-09 12:20:07 +09:00
nazoking
d13bb47ee7 remove ApiPushCommit class (merge to ApiCommit) 2015-10-06 02:27:42 +09:00
nazoking
8b8c6ee861 fix repository.url on webhook push payload 2015-10-06 02:15:03 +09:00
Naoki Takezoe
c5da975cea Merge pull request #919 from team-lab/fix-push-commit-url
fix commit url in webhook `push` event.
2015-10-02 21:13:58 +09:00
nazoking
ace65cf261 (refs #920) Remove IssueOrPullRequest. it is too much for this purpose 2015-10-02 11:59:25 +09:00
nazoking
bf64f6b4f4 api url is only issues 2015-10-02 00:33:23 +09:00
nazoking
0283ec574d fix pull-request url on webhook payload 2015-10-02 00:23:13 +09:00
nazoking
bb9add9da9 fix commit url in push webhook. 2015-10-01 22:56:36 +09:00
Steve Kemp
f73c86d533 Updated to fix truncated name in JSON: watchers_coun
The correct field in the JSON should be `watchers_count` rather
than the truncated version `watchers_coun`.
2015-08-18 09:14:44 +03:00
nazoking
5568acc5f3 add html_url on api issue-comment 2015-04-20 14:32:16 +09:00
nazoking
c467594199 add html_url and comments_url on api issue 2015-04-20 13:19:17 +09:00
Tomofumi Tanaka
7e92f1abd5 Fix test code package name 2015-03-16 23:38:00 +09:00