Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Add support for HipChat API v2 #1049

Closed
wants to merge 8 commits into from
Closed

Conversation

laszlof
Copy link

@laszlof laszlof commented Aug 18, 2015

This adds support for HipChat's API v2. The docs will need to be updated to include the v2Api configuration option. Tested and working in our environment.

@dancryer
Copy link
Owner

Hi @laszlof - Is there a reason we would need to keep support for the old API? Couldn't we just use the new one?

@laszlof
Copy link
Author

laszlof commented Oct 13, 2015

Yes. The API's use different login credentials. Tokens that worked for the v1 API will not work for v2. That being said, you probably dont want to break any existing installations.

$message->setColor($this->color);
$message->setMessage($msg);
$message->setNotify($this->notify);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  Avoid unused local variables such as '$return'.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPCS: Line indented incorrectly; expected at least 16 spaces, found 14

@kezek
Copy link

kezek commented May 9, 2016

We could really use this . Could you please make the build pass ?

@laszlof
Copy link
Author

laszlof commented May 9, 2016

I'd love to, if I knew why the build was failing. Clicking details prompts me to login.

@kezek
Copy link

kezek commented May 9, 2016

Hey @dancryer , can you help us out ?

@laszlof
Copy link
Author

laszlof commented Oct 20, 2016

Pretty clear this isnt getting merged. We're no longer using it anyways as it doesnt appear the maintainers care about keeping it up to date. Closing this to get it off my list.

@laszlof laszlof closed this Oct 20, 2016
@ptejada
Copy link
Contributor

ptejada commented Oct 20, 2016

What are you using now @laszlof?

@laszlof
Copy link
Author

laszlof commented Oct 20, 2016

Currently a mixed bag. Mostly Travis and Jenkins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants