1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 10:06:08 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
Rvanlaak
6c35b82256 Check 'context' before 'extra'
First check 'context' array, before 'extra' array is checked
2014-04-10 16:54:05 +02:00
Rvanlaak
82c040ec12 Make use of 'extra'
Follow guidelines by using the 'extra' key from record
2014-04-09 16:04:48 +02:00
Rvanlaak
a49cc6e8aa Update PushoverHandler.php
tabs > spaces
2014-04-09 15:58:52 +02:00
Rvanlaak
3df597f1c5 Add sound support
Add support for the default API sounds
2014-04-09 11:48:02 +02:00
Jordi Boggiano
3926d95f8a CS fixes 2013-12-26 11:43:12 +01:00
Jordi Boggiano
7a8844d4db Fix CS and add chainability to a few more setter methods, refs #221 2013-08-09 14:12:38 +02:00
ghanbari
1dd293406d can not send on Emergency Priority
https://github.com/Seldaek/monolog/issues/219
2013-08-08 20:13:40 +04:30
Jordi Boggiano
4277c5db4a CS fixes 2013-07-29 00:08:51 +02:00
Jordi Boggiano
e2e041eded Store user in a temporary property instead of hacking it into the record 2013-07-29 00:08:01 +02:00
Emmanuel Vella
46cedf5e2f Allow multiple users for PushoverHandler
The construct accepts a string or an array of user ids to keep backward compatibility.

In case of an array, a message is built and send for each of the users.
2013-07-26 16:35:47 +02:00
Jordi Boggiano
c933bb67a8 CS fixes, refs #209 2013-07-11 18:36:07 +02:00
Artur Moczulski
aeb2dd578c Update PushoverHandler.php
simplifying the priority level setting if condition following stof suggestion
2013-07-10 08:44:39 -07:00
Artur Moczulski
fe13e80787 added support for Pushover API priority brought up by SteveEdson in issue #187; the priority levels can be adjusted either through the handler's constructor or setters 2013-07-08 00:35:22 -07:00
Jordi Boggiano
dae7e03ae3 Fix permissions 2013-01-22 10:58:40 +01:00
Alex Butter
448d5470f0 Option to use SSL for PushoverHandler (enabled by default), and close connection after sending a message to PushOver.
Solves #146: When sending messages in rapid succession to pushover.net only the first one is sent.
The SSL option is needed when sending messages to users that are not the pushover.net app owner; pushover.net doesn't accept those messages over plain HTTP.
2013-01-16 12:57:14 +01:00
Jordi Boggiano
04f41cd661 CS fixes 2013-01-06 21:43:53 +01:00
Jordi Boggiano
176cb2a354 Change the default pushover title to the hostname 2013-01-06 21:43:32 +01:00
Jordi Boggiano
09d8747914 Specify port in the connection string instead of adding a protected property 2013-01-06 21:38:40 +01:00
Sebastian Goettschkes
cb675ae10f Changing typo in variable name and default title for pushover message 2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
11c07edfbe Overwriting the generateDataStream method to format the Data sent to Pushover
This way, the write method does not have to be overwritten.
2012-09-24 13:14:51 +02:00
Sebastian Goettschkes
7d0bacf29c Rewriting the write method
Before, the write method would alter the $record array and then call parent::write().
Now the method builds the string which should be written into the stream and then does it himself.
I had to change two methods to be protected so the PushoverHandler could call them.
2012-09-09 21:10:42 +02:00
Sebastian Goettschkes
d6489bb3ae Adding a first version of PushoverHandler
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00