Commit graph

2991 commits

Author SHA1 Message Date
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
Dominik Sander
1b3563682b
Merge pull request #2276 from huginn/bump-binding-of-caller
Bump binding of caller to fix incompatibility with ruby 2.5
2018-05-02 10:27:27 +02:00
Dominik Sander
cd933accbf Bump binding of caller to fix incompatibility with ruby 2.5
A change in ruby 2.5.0 broke the binding-of-caller gem, which lead empty
exception backtraces, as a result out appliction would not even boot
with spring enabled and never show backtraces in development (where
binding-of-caller is activated).

 #2275

https://github.com/rails/spring/pull/551
https://github.com/charliesome/better_errors/issues/411
https://github.com/banister/binding_of_caller/pull/69
2018-05-01 13:53:45 +02:00
Dominik Sander
fa607224fe
Merge pull request #2274 from dsander/bump-html-sanitizer
Bump rails-html-sanitizer to 1.0.4 to address CVE
2018-04-30 11:31:28 +02:00
Dominik Sander
edd068232a Bump rails-html-sanitizer to 1.0.4 to address CVE
Versions below 1.0.4 had a XSS vulnerability:

https://nvd.nist.gov/vuln/detail/CVE-2018-3741
2018-04-30 10:27:36 +02:00
Dominik Sander
32956c91a7
Merge pull request #2270 from douniwan5788/stmp_tls
add ssl support for mail config
2018-04-28 09:52:27 +02:00
douniwan5788
83c3962b04 add ssl support for mail config 2018-04-26 13:02:46 +08:00
Akinori MUSHA
fdf4b0794a
Merge pull request #2264 from dgw/pushover_html
PushoverAgent: HTML message support
2018-04-21 14:14:16 +09: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
Akinori MUSHA
3e508310ac
Merge pull request #2216 from dsander/ruby2.5
Allow to run on ruby 2.5 and fix warnings
2018-04-04 20:20:48 +09:00
Akinori MUSHA
4288a0dc55
Merge pull request #2249 from ameicler/ability_to_post_array
[#2248] Ability to post array
2018-04-04 20:17:03 +09:00
Antoine Meicler
fc2cb71c54 preventing payload to be an array when content_type is 2018-04-02 17:00:39 +02:00
Antoine Meicler
3ce696d127 array to be valid in post_agent_spec 2018-03-31 19:22:48 +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
Dominik Sander
9b846b238d
Merge pull request #2243 from huginn/update-loofah
Update loofah due to CVE-2018-8048
2018-03-21 19:59:24 +01:00
Andrew Cantino
76682af9fe Update loofah due to CVE-2018-8048 2018-03-20 20:11:44 -07:00
Dominik Sander
50ddd1a785
Merge pull request #2217 from bobbysteel/patch-2
Clarify xpath usage with example
2018-02-13 19:39:00 +01: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
Dominik Sander
ea8f14895a Add ruby 2.5 to travis ci build matrix and update other rubies 2018-02-10 11:46:39 +01:00
Dominik Sander
e23498ebbd Update ruby to 2.5 in manual installation guide and in docker containers 2018-02-10 11:46:39 +01:00
Dominik Sander
dd252a3f8e Use released gem versions where possible
A few of the gem for which we used GitHub forks released new versions
which include the commits we require.

`delayed_job_active_record` might work without our fork but I did not
feel like testing that so I just updated the fork to include the latest
upstream changes.
2018-02-10 11:46:33 +01:00
Dominik Sander
74394fe586 Upgrade gems for ruby 2.5 support and to remove warnings
* `delayed_job` 4.1.4 added a syntax fix for ruby 2.5
* `devise` 4.4.0` added a syntax fix for ruby 2.5
* `rufus-scheduler` 3.3.3 fixed Fixnum deprecation warnings
* `erector` was forked to fix a Fixnum deprecation warning

Fix exception in MQTT::FakeServer, when stopping the server kill the
thread before closing the socket to avoid calling `@socket.accept` on a
closed socket.
2018-02-10 11:00:18 +01:00
Akinori MUSHA
0196f5ac04
Merge pull request #2207 from axsuul/fix/website-agent-syntax-error
Fix syntax error in Website Agent description
2018-02-03 12:40:38 +09: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
Dominik Sander
f89f0a0a6f
Merge pull request #2205 from huginn/upgrade-nokogiri
Upgrade nokogiri to 1.8.2 to address vulnerabilities found in libxml2
2018-01-31 11:00:01 +01:00
Akinori MUSHA
38c7b5a518 Upgrade nokogiri to 1.8.2 to address vulnerabilities found in libxml2 2018-01-31 11:58:07 +09: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
71800db0fc Improve Telegram Agent tests 2018-01-26 20:48:27 +01:00
Alessandro Serpi
29471df4eb Fix split regex 2018-01-14 15:34:09 +01:00
Alessandro Serpi
4848716948 Improve Telegram Agent description 2018-01-14 15:33:40 +01:00
Alessandro Serpi
503bf7a9be Add tests for Telegram message splitting 2018-01-14 15:33:28 +01:00
Alessandro Serpi
00e3119994 Split long Telegram messages 2018-01-14 15:32:51 +01:00
Alessandro Serpi
1e0e1652b6 Refactor Telegram Agent spec 2018-01-14 15:32:33 +01:00
Akinori MUSHA
fc1daf8b91
Merge pull request #2189 from stesie/issue-2188
Rescue ZeroDivisionError on validation
2018-01-08 19:05:10 +09:00
Stefan Siegl
4aaeb16d24
Rescue ZeroDivisionError on validation, closes #2188 2018-01-05 12:38:46 +01:00
Akinori MUSHA
cefdd1c01d
Merge pull request #2187 from dsander/fix-twilio-interpolation
Fix Liquid interpolation in TwilioAgent helper methods
2018-01-05 14:56:20 +09:00
Dominik Sander
600b06c192 Fix docker hub login on CI
https://github.com/moby/moby/pull/20565 removed the email flag from the
docker login command.
2018-01-04 11:05:56 +01:00
Dominik Sander
7c1ec33d64 Fix Liquid interpolation in TwilioAgent helper methods
The Agent did not use `interpolate_with` in it's `receive` method,
which lead to `interpolated[...]` calls in `send_message` and
`make_call` always returning empty strings.

The new `interpolate_with_each` helper iterates over an array of
objects and yields each object in a `interpolated_with(object)`
context.

Fixes #2186
2018-01-04 10:45:03 +01:00
Dominik Sander
4e9da008ee
Merge pull request #2183 from axsuul/fix/docker-readme
Fix Docker testing README for better GitHub readability
2018-01-02 10:31:57 +01:00
James Hu
bc167ea085 Fix Docker testing README for better GitHub readability 2017-12-29 14:15:32 -08:00
Dominik Sander
1e286bce0f
Merge pull request #2170 from dsander/add-websiteagent-array-extract-option
Add `array` extraction option to WebsiteAgent in HTML/XML mode
2017-12-01 10:49:19 +01:00