9ac1a8c558
Update with feedback
2018-12-17 15:24:32 +08:00
52bc83f94a
update tests for Webhook Agent and don't add a nil entry if header_key is empty
2018-12-14 14:07:26 +08:00
237f692889
Rename Webhook Agent back to orignal
2018-12-10 11:28:47 +08:00
150ab4e5d8
add HTTP headers to payload of Webhook Agent
2018-12-10 11:27:10 +08:00
Stefan Fischer
76e2c6cf70
Add checks for 'max_emitted_events'
2018-11-19 23:26:57 +01:00
Stefan Fischer
c38eb0b2ff
Make max_emitted_events interpolated
2018-11-19 23:26:11 +01:00
Stefan Fischer
d80a61fc0f
Make max_events interpolated
2018-11-19 23:25:29 +01:00
Stefan Fischer
a3162eb974
Make use of options/interpolated consistent
2018-11-19 23:24:15 +01:00
Stefan Fischer
c6e4a6a563
Use form_configurable
2018-11-19 23:23:34 +01:00
Stefan Fischer
9511d354d4
Change quotes and explicit default for 'max_emitted_events'
2018-11-19 23:23:03 +01:00
D. Scott Boggs
7ebc1aebdd
renamed dark_sky_location to coordinates
2018-11-11 21:33:13 -05:00
D. Scott Boggs
c7c4d98283
Added better validations and parsing of the location when using the darksky provider for the weather agent.
2018-11-11 21:00:44 -05:00
Stefan Fischer
c5e264d3cd
Move method "is_positive_integer?" to "agent.rb"
2018-10-26 22:49:17 +02:00
Andrew Cantino
923d876acc
The field is actually called full_text
2018-10-11 08:37:53 -07:00
Akinori MUSHA
e81ae4a65c
Merge pull request #2353 from whtsky/mergeJSONParse
...
Support merge mode in JsonParseAgent
2018-08-30 16:28:22 +09:00
Wu Haotian
753af61df9
Support merge mode in JsonParseAgent
2018-08-25 14:35:57 +08:00
a10kiloham
7b3050997d
API Deprecated
...
No longer of use sadly
2018-08-14 17:27:51 +01:00
Akinori MUSHA
d04c9d44a9
Merge pull request #2174 from huginn/update_twitter
...
Fix "already retweeted" error detection
2018-08-08 00:07:37 +09:00
Akinori MUSHA
542d4dca7e
Rephrase the description of raw_mail
2018-08-07 12:06:26 +09:00
Akinori MUSHA
fc38b47f30
Update FORBIDDEN_MESSAGES
for the new already retweeted error message
...
cf. https://github.com/sferik/twitter/pull/890
2018-08-06 14:42:58 +09:00
Akinori MUSHA
d952e91426
Encode raw_mail in Base64
...
Because e-mails are often in a non-UTF-8 "legacy" encoding, it cannot
always be carried via Event (JSON).
2018-08-05 23:10:19 +09:00
Akinori MUSHA
fab63a2f4b
Properly apply Net::IMAP.encode_utf7 to folder names
2018-08-05 23:10:19 +09:00
Irfan Charania
2c9b9bb29c
Update DataOutputAgent accept header for browser compatibility ( #2338 )
...
* Update accept header for browser compatibility
Allows browser to display content as xml instead of plain text
Ref: https://stackoverflow.com/a/7001617/4397001
* Updated specs
2018-07-31 11:00:25 +02:00
Stefanus
402f8645d6
Make 'expected_receive_period_in_days' of PostAgent optional ( #2333 )
...
* Make 'expected_receive_period_in_days' optional due to new implementation of 'working?'
* Adjust spec
2018-07-16 10:15:02 +02:00
Stefanus
44709dc9a7
Fix "working?" of PostAgent ( #2329 )
...
* Fix "working?" of PostAgent
* Adjust specs
* Enhance specs
* Fix specs
* Fix code style
* Fix typo
* Change implementation of "working?"
* Fix spec
* Add comments
* Add new test
* Fix syntax error
* Restore original spec
2018-07-14 10:52:57 +02:00
Dominik Sander
61b33bf37c
Merge pull request #2266 from dsander/rails52
...
Upgrade to Rails 5.2
2018-06-17 11:50:01 +02:00
Deng Yang
b2ba84a6e3
Update google_translation_agent.rb
...
leave translate_from empty to let google detect the source language automatically
2018-06-04 21:56:32 +08:00
Dominik Sander
5cd209234d
Merge pull request #2307 from sfischer13/master
...
Improve logic of "working?" in MqttAgent
2018-06-04 10:02:55 +02:00
Stefan Fischer
c7d311b630
Improve logic of "working?"
2018-06-03 16:38:03 +02:00
Ricardo Arturo Cabral
b3c6c7f80f
Remove open-uri require
2018-05-09 13:17:09 -04:00
Ricardo Arturo Cabral
99b0821700
Remove load_field
2018-05-09 08:59:34 -04:00
Ricardo Arturo Cabral
6c8bc39ac4
Pass URLs to Telegram API directly
2018-05-09 08:38:45 -04:00
Dominik Sander
e4b5e75e82
Fix HttpStatusAgent case insensitive header lookup
...
Ruby 2.5 added the `Hash#slice` method which allowed Rails 5.2 [to not
apply][1] it's ActiveSupport core extension. Because the Ruby
implementation is done in C it [does not call the `[]` method][2] which
is overridden by [`Faraday::Utils::Headers`][3] to achieve case
insensitive header look ups.
By calling the `Faraday::Utils::Headers#[]` directly we keep the case
insensitive lookup.
[1]: a524c955bf
[2]: ae92a9e4ed/hash.c (L1357-L1375)
[3]: 4381c2d62d/lib/faraday/utils.rb (L51-L54)
2018-05-05 10:14:06 +02:00
Dominik Sander
201b784562
Fix specs and deprecation warnings
2018-05-05 10:14:06 +02:00
Dominik Sander
ee485990f5
Upgrade Rails to 5.2 and adjust configuration to new defaults
2018-05-05 10:14:06 +02:00
dgw
27cd2e7d15
PushoverAgent: Rewrite to handle boolean true for html
...
For reasons that are not clear, String.try_convert(true) yields nil, not
a string. Go figure.
2018-04-20 16:10:44 -05:00
dgw
692db8f847
PushoverAgent: Match conventions in new html option
...
Per feedback on #2264
2018-04-20 04:11:32 -05:00
dgw
284e2dccc7
PushoverAgent: HTML message support
...
Pushover has supported displaying the `message` as HTML in its apps for
about three years. https://updates.pushover.net/post/117525190347/html-message-support
2018-04-20 03:18:09 -05:00
Antoine Meicler
fc2cb71c54
preventing payload to be an array when content_type is
2018-04-02 17:00:39 +02:00
Antoine Meicler
ec9fa2f947
factorize the negation
2018-03-31 16:21:01 +02:00
Antoine Meicler
396b65b5b2
Array
2018-03-30 12:40:22 +02:00
Antoine Meicler
a879eeaf7e
line indentation
2018-03-30 11:16:04 +02:00
Antoine Meicler
fd2ee6f460
change payload type condition
2018-03-30 11:13:53 +02:00
bobbysteel
d7c69d1ea0
Fix per requests
2018-02-12 10:29:59 +00:00
bobbysteel
00d0a46cfb
Clarify xpath usage with example
2018-02-10 18:20:17 +00:00
James Hu
908f0b6b3d
Escape \ in JSON string literal in WebsiteAgent code example
2018-02-02 08:27:02 -08:00
James Hu
d38cfdd70d
Fix syntax error in Website Agent description
2018-02-01 10:34:36 -08:00
Akinori MUSHA
1c1e3eebe1
Merge pull request #2171 from aserpi/telegram-split-message
...
Split long Telegram messages
2018-01-29 22:55:19 +09:00
Alessandro Serpi
bdb887bbe2
Explicit Telegram Agent default behaviour
2018-01-29 13:18:55 +01:00
Alessandro Serpi
29471df4eb
Fix split regex
2018-01-14 15:34:09 +01:00