Akinori MUSHA
99b2d75a12
Switch back to the upstream heroku-buildpack-graphviz
...
The upstream added an additional change for Graphviz to work on
heroku-16 after 00dffe32
(#1998 ).
2017-09-01 18:41:27 +09:00
Akinori MUSHA
8ba1adc0a6
Merge pull request #2103 from dsander/fix-peak-detector
...
Prevent PeakDetectorAgent from storing invalid data in it's memory
2017-09-01 08:24:10 +09:00
Dominik Sander
e9709aec0a
Prevent PeakDetectorAgent from storing invalid data in it's memory
...
The Agent expects the data in its memory groups to be castable to a
float. By attempting the type cast when receiving events we prevent the
memory from being corrupted with invalid data which lead exceptions
while trying to access it.
#2101
2017-08-31 21:17:42 +02:00
Akinori MUSHA
0434c7b2c4
Merge branch 'update_rss_agent'
2017-08-10 21:48:17 +09:00
Akinori MUSHA
1c1d680812
Update Feedjira to 2.1.2
2017-08-10 21:46:48 +09:00
Akinori MUSHA
0339a23e45
Support the AtomYoutube
feed format of Feedjira
...
This fixes #2054 .
2017-08-10 21:46:48 +09:00
Akinori MUSHA
83a6fd091a
Remove duplicated code
2017-08-10 21:46:48 +09:00
Akinori MUSHA
24880ef87f
Merge pull request #2084 from dsander/upgrade-omniauth
...
Upgrade omniauth to prevent Hashie warning
2017-08-10 21:44:42 +09:00
Akinori MUSHA
825041e4ee
Merge pull request #2083 from huginn/load_dotenv_test
...
Load .env.test instead of .env.development when running rspec
2017-08-10 21:26:19 +09:00
Dominik Sander
f7a7e7a0b8
Upgrade omniauth to prevent Hashie warning
...
Hashie `>= 3.5.0` warns when build in methods are overridden. Omniauth
'fixed' the warning by silencing the logger.
2017-08-09 10:02:04 +02:00
Akinori MUSHA
0baa0cafb7
Load .env.test instead of .env.development when running rspec
2017-08-09 11:58:57 +09:00
Dominik Sander
ff364f28d9
Merge pull request #2081 from pReya/patch-1
...
add logging output for pushover agent
2017-08-08 11:06:33 +02:00
Moritz Stückler
673db8d0b3
add all parameters except token to the log output
2017-08-07 10:40:30 +02:00
Moritz Stückler
309ae9cc1c
add logging output for pushover agent
...
for debugging purposes there should be a logging output. however the pushover does not have a log output. i added a simple logging output.
2017-08-07 00:57:37 +02:00
Akinori MUSHA
db5c7ab056
Merge pull request #2076 from huginn/enrich_imap_agent_payload
...
Enrich ImapFolderAgent payload
2017-08-07 01:32:03 +09:00
Dominik Sander
0de5859a5d
Merge pull request #2078 from zoomequipd/master
...
Increase `username` max length to 190 characters.
#2059
2017-08-06 09:04:57 +02:00
Akinori MUSHA
4665c305c7
Add a new option include_raw_mail
to ImapFolderAgent
2017-08-06 10:01:42 +09:00
Brandon Murphy
94605f5772
address issue #2059
2017-08-04 07:02:22 -07:00
Akinori MUSHA
734b84d185
Add message_id
to the payload format of ImapFolderAgent
2017-08-03 20:38:40 +09:00
Akinori MUSHA
d9309b98a9
Refactor the ImapFolderAgent spec and turn a nop into expectation
2017-08-03 20:36:11 +09:00
Dominik Sander
af5da3a165
Merge pull request #2074 from dsander/add-callback-to-growlagent
...
Add more options to the GrowlAgent
2017-08-01 19:35:16 +02:00
Akinori MUSHA
cec6ce1a56
Merge pull request #2047 from albertsun/update-google-api-client
...
Update google-api-client and Google agents
2017-08-01 22:46:43 +09:00
Albert Sun
9a17bc68b9
use of_type
2017-08-01 08:37:59 -04:00
Dominik Sander
5f92b38f6e
Add more options to the GrowlAgent
...
It now additionally allows to use `sticky`, `priority` and
`callback_url`. The Agent is now `FormConfigurable` and supports Liquid
in all options.
`register_growl` had to be moved inside of the `events` loop to allow
Liquid interpolation for the previously static `growl_*` options.
#2018
2017-07-31 22:19:52 +02:00
Dominik Sander
613bb423dc
Merge pull request #2069 from chrishein/issue_1723
...
Add `output_mode` to PostAgent
2017-07-31 10:35:36 +02:00
Christian Hein
463aba9584
Add output_mode
to PostAgent
...
This allows to merge the contents of the the emitted event into
the received event by setting this option to `merge`.
2017-07-30 16:58:42 -03:00
nogre
79fc461bd9
Keep X events to make Digest from ( #2041 )
...
* Keep X events to make Digest from
Added a configuration option to save a fixed number of events for the Digest. Currently all received events are purged when an event is emitted by this agent. This option allows received events to be remembered and reused for future Digests.
* added validate_options for new config
Added a check to prevent negative numbers, which would cause breakage. Also gave an upper limit at 999, just to set a sane maximum.
* removed unnecessary while loop
As suggested by @dsander here: https://github.com/huginn/huginn/pull/2041#discussion_r123965060
* Updated name of feature and description
* ensure retained_events is an Integer
* typo in check if retained events is int
* specs for digest_agent
* removed validate as integer
* removed check for integer status
* Rspec mostly working
Got rspec mostly working. The #'working?' check for events received in last few days is failing for me, but it was failing for other agents too on my setup. Likely a local problem, so lets see if this passes the automated builds.
* removed comments
ack. forgot about those
2017-07-28 14:29:25 +02:00
Dominik Sander
4cf58ebbd3
Merge pull request #2070 from chrishein/event_formatting_agent_fix
...
Add validations for `mode` values in EventFormattingAgent
2017-07-27 11:05:11 +02:00
Christian Hein
52dbaaa586
Add spec for mode
value validation
2017-07-26 10:50:29 -03:00
Christian Hein
4565c73a33
Add validations for mode
values
...
Fix conditional event_description. Should check for `merge` instead of
`merged`.
2017-07-26 10:38:03 -03:00
Géza Búza
6a71295205
Improve documentation of Website Agent ( #2066 )
...
Add sample JSON input and output events to clarify how JSONPath works.
2017-07-25 10:10:37 -07:00
Albert Sun
34b56885c8
Use a wrapper class method to invoke GoogleCalendar, per knu's PR feedback
2017-07-22 16:13:07 -04:00
Dominik Sander
e9f025d063
Merge pull request #2065 from dsander/upgrade-mysql2gem
...
Upgrade mysql2 gem to 0.4.8
2017-07-21 10:14:53 +02:00
Dominik Sander
a29cfc8244
Upgrade mysql2 gem to 0.4.8
...
Rails 5.1 supports the `mysql2` gem [up until (but not including) 0.5][1]
Version `0.4.7` [added support for MariaDB 10.2 ][2]
Fixes #2064
[1]: https://github.com/rails/rails/blob/5-1-stable/railties/lib/rails/generators/app_base.rb#L275
[2]: https://github.com/brianmario/mysql2/releases/tag/0.4.7
2017-07-20 13:55:03 +02:00
Akinori MUSHA
f1aafba574
Merge pull request #2063 from huginn/enhance_agent_association_editing
...
Enhance agent association editing
2017-07-20 20:29:43 +09:00
Akinori MUSHA
2fcee4ec28
Remove an obsolete style
2017-07-19 17:49:53 +09:00
Dominik Sander
fa000e67c6
Merge pull request #2062 from xarses/patch-1
...
Update install.md
2017-07-19 10:03:49 +02:00
Akinori MUSHA
ef82bfabb7
Inherit receivers when cloning
2017-07-19 11:25:02 +09:00
Akinori MUSHA
3ffe667f9e
Allow controllers to be selected
2017-07-19 11:24:22 +09:00
Akinori MUSHA
0abc42fb40
Add specs for creating agents with a source/receiver/control target
2017-07-19 11:23:19 +09:00
Akinori MUSHA
e7ab172b30
Introduce capybara-screenshot to make debugging easier
2017-07-19 10:30:52 +09:00
Andrew Woodward
9db64ee91b
Update install.md
...
update container location to `huginn/huginn` so that new users don't get warnings
2017-07-18 13:32:23 -07:00
Albert Sun
b4fb6e2e27
put calendar cleanup in ensure block
2017-07-10 11:51:04 -04:00
Albert Sun
675700ac2d
update changelog / upgrade warning to be clearer about backward compatibility
2017-07-10 11:20:08 -04:00
Akinori MUSHA
0c9d4d7e87
Merge branch 'command_agent_can_refer_to_target'
2017-07-10 12:29:05 +09:00
Akinori MUSHA
94d6d930fd
Merge pull request #2053 from huginn/command_agent_can_refer_to_target
...
Expose `target` to CommanderAgent in templating
2017-07-10 12:28:48 +09:00
Akinori MUSHA
7dd9e518d4
Apply a cosmetic change
2017-07-10 12:28:35 +09:00
Dominik Sander
594dd6eba6
Merge pull request #2048 from Mirclus/master
...
Add runit-information for Debian Stretch
2017-07-09 18:44:02 +02:00
Akinori MUSHA
8645323dfe
Expose target
to CommanderAgent in templating
...
This allows a CommanderAgent to control only some of the targets
depending on the agent attributes. For example, you can update the
threshold value of a target agent only if the current value is
lower (or higher) than the suggested new value.
2017-07-09 03:34:05 +09:00
Albert Sun
511bf14bac
fix specs. the google calendar ones aren't actually using vcr so removing that
2017-07-07 17:10:07 -04:00