Akinori MUSHA
55b5ec9a87
Add options to conditionally suppress event creation
2015-10-22 20:32:08 +09:00
Akinori MUSHA
e18d4e7c4c
Rescue StandardError rather than Exception
2015-10-22 20:31:18 +09:00
Dustin Miller
5f5a080b6d
Merge branch 'master' of https://github.com/cantino/huginn into rspec-3-update
...
* 'master' of https://github.com/cantino/huginn :
force-stopping services
removed strip_cdata section from the docs
stripping cdata should be the default behaviour
Use String#b
Switch faraday_middleware to the upstream master
Switch tumblr_client to the upstream master
stripping cdata from the value
# Conflicts:
# Gemfile
# Gemfile.lock
2015-10-21 15:35:54 -05:00
Akinori MUSHA
c3fb669010
Add a stdin
option to ShellCommandAgent
2015-10-21 21:42:24 +09:00
Akinori MUSHA
d9d5fbf824
Allow command
to be an array of arguments in ShellCommandAgent
...
With this, you can safely pass a string contained in an incoming event
as an argument to a command without worrying about meta-characters.
2015-10-21 21:42:24 +09:00
Akinori MUSHA
4ca6504314
Allow dry-run in ShellCommandAgent
2015-10-21 21:42:24 +09:00
Akinori MUSHA
b93e04b36c
Use spawn() instead of open3 and avoid use of Dir.chdir
...
Changing the current directory affects the whole process, so without
eliminating the use of Dir.chdir we cannot safely run threaded workers
or dry-run agents on a threaded rack application server, etc.
2015-10-21 21:42:24 +09:00
oroce
5a5babbb4d
do not emit success event if failed and fetch post
2015-10-21 10:20:12 +02:00
Andrew Cantino
c180de8ce3
use concat on @knu's suggestion
2015-10-20 23:19:37 -07:00
Andrew Cantino
04be180255
Merge pull request #1071 from purposeindustries/strip-cdata
...
Strip cdata from the value when using WebsiteAgent
2015-10-20 22:58:15 -07:00
oroce
38b81bc784
removed strip_cdata section from the docs
2015-10-21 07:18:51 +02:00
Dustin Miller
c5766d2086
Update for rspec3 rails_helpers config, fix shoulda matchers
2015-10-20 18:50:52 -05:00
oroce
a796caa306
stripping cdata should be the default behaviour
2015-10-20 20:45:47 +02:00
Akinori MUSHA
11d2ee0a14
Use String#b
2015-10-20 19:46:46 +09:00
Akinori MUSHA
f8a6230447
Switch faraday_middleware to the upstream master
...
[My PR](https://github.com/lostisland/faraday_middleware/pull/102 ) has
been merged, so we can remove our local workaround.
2015-10-20 19:27:20 +09:00
Andrew Cantino
1c700c02d9
make created_event_count accurate
2015-10-19 22:51:02 -07:00
Ivan Buiko
684c2048d7
Log response only if status code is not "201 Created"
2015-10-18 00:57:17 +03:00
Ivan Buiko
049f9873af
Remove payload logging
2015-10-18 00:50:35 +03:00
Andrew Cantino
431cfaa930
The control links selector was too limiting
2015-10-17 12:12:30 -07:00
Andrew Cantino
56ec039173
documentation updates
2015-10-17 11:44:57 -07:00
Andrew Cantino
e5603e0ef9
Merge pull request #1076 from brianpetro/twitter_search_agent
...
create TwitterSearchAgent
2015-10-17 11:32:42 -07:00
Andrew Cantino
9aacb8e5f5
Merge pull request #1059 from cantino/gap_detector_agent
...
Add GapDetectorAgent, an Agent that alerts when no data has been received
2015-10-17 11:16:32 -07:00
Ivan Buiko
534e8ab348
Add Beeper agent
2015-10-15 13:40:58 +03:00
Brian Petro
5b5799a45d
clean up TwitterSearchAgent
2015-10-14 17:10:47 -04:00
Brian Petro
baf14f1c41
Merge branch 'master' of https://github.com/cantino/huginn into twitter_search_agent
2015-10-13 20:43:50 -04:00
Brian Petro
4dff06ee9a
replace retrieving 'all' results with var max_results limit to fix loop in test.
2015-10-13 20:41:17 -04:00
Brian Petro
0d2ff44c3c
make updates recommended by @dsanders
2015-10-13 17:19:51 -04:00
Andrew Cantino
188818fd70
Gather all Events in RSSAgent before sorting
2015-10-12 18:28:42 -07:00
Andrew Cantino
015d680125
Merge pull request #1053 from ssube/master
...
Enable attachments in the Slack agent.
2015-10-12 17:54:08 -07:00
Brian Petro
c7c2f72392
create TwitterSearchAgent
2015-10-12 17:03:52 -04:00
ssube
ceb382a32d
Skip Slack icons if not present.
2015-10-12 11:52:23 -05:00
oroce
8afca6fed0
stripping cdata from the value
2015-10-11 18:11:38 +02:00
Andrew Cantino
2646645552
Merge pull request #1056 from cantino/trigger_agent_supports_partial_matches
...
Allow the TriggerAgent to perform partial matches
2015-10-09 21:20:08 -07:00
Andrew Cantino
7592c3e455
update WebhookAgent doc
2015-10-04 20:40:17 -07:00
Andrew Cantino
4d73e4d7ca
fix typo
2015-10-04 13:10:25 -07:00
Andrew Cantino
e4d11aae7e
Merge pull request #1055 from cantino/delay_agent
...
Add DelayAgent for buffering incoming Events
2015-10-04 11:54:35 -07:00
Andrew Cantino
b61ee2b4e2
Merge pull request #1058 from TildeWill/weather_agent_spec
...
Prevent confusion between Huginn services and strings
2015-10-04 11:39:40 -07:00
Will Read
ea2ef012cf
Prevent confusion between Huginn services and strings
...
- agent.service was returning an unexpected string when traversing
all agents.
- helps with issue #968 which deals with import/export
2015-10-04 17:19:40 +00:00
Andrew Cantino
f944ff9f2a
Add GapDetectorAgent, an Agent that alerts when no data has been received
2015-10-03 16:56:25 -07:00
Andrew Cantino
13df66cfb5
Log bulk_check calls
2015-10-03 13:57:05 -07:00
Andrew Cantino
a78c365ba0
Log times when outputting in the TwitterStreamAgent::Worker
2015-10-03 13:14:54 -07:00
Andrew Cantino
f0124f9507
allow the TriggerAgent to perform partial matches
2015-10-03 12:47:09 -07:00
Andrew Cantino
2d72e18fef
add DelayAgent for buffering incoming Events
2015-10-03 12:15:08 -07:00
ssube
5eb2063faa
Enable attachments in the Slack agent.
2015-10-01 14:45:48 -05:00
mikalauskas
6ca02f3977
some fixes to return links
2015-09-25 09:10:02 -04:00
Andrew Cantino
9c5847451b
Merge pull request #1032 from bencornelis/evernote_agent
...
Evernote agent
2015-09-22 22:44:19 -04:00
Ben Cornelis
cecce25484
change error messages in validate_evernote_options
2015-09-20 16:43:03 -07:00
Ben Cornelis
21f89e5dc0
strip whitespace from title and notebook in note_params
2015-09-20 16:42:26 -07:00
Ben Cornelis
ac6492f57f
add unit tests for nested classes
2015-09-19 17:12:29 -07:00
Andrew Cantino
5fa1824866
clarify ManualEventAgent usage
2015-09-16 16:09:48 -07:00