George Opritescu
48880507db
Renamed method, and used present?
2016-02-07 19:57:51 +01:00
George Opritescu
d955ce003a
Code review changes
2016-02-07 11:35:53 +01:00
Will Read
1789cd59c3
Adds support for writing Capybara specs
...
- uses headless browser via phantomjs/poltergeist
- includes an example spec for creating an Agent
- includes a helper for interacting with Select2 boxes
2016-02-06 21:55:52 +00:00
George Opritescu
267d082769
Fixed typo, and removed instance var
2016-02-06 18:13:12 +01:00
George Opritescu
6232189688
Allow error codes, such as 404, to be considered successful, potential solution for #1272
2016-02-06 17:39:25 +01:00
Andrew Cantino
67fa70553d
Allow a key with credential instead of a key_file
2016-02-01 20:29:40 -08:00
Andrew Cantino
d6a0e3d8fb
The GoogleCalendarPublishAgent now accepts Liquid in the calendar_id option
2016-02-01 08:14:50 -08:00
Andrew Cantino
d06204e73d
Merge pull request #1239 from cantino/manual_event_agent_supports_liquid
...
Add support to the ManualEventAgent for Liquid formatting and multiple Events
2016-01-30 21:31:50 -08:00
Akinori MUSHA
6e77551256
Do not raise error when an address header field is broken
...
This hopefully fixes the issue this time around:
https://github.com/cantino/huginn/issues/745#issuecomment-176628911
2016-01-30 00:32:50 +09:00
Akinori MUSHA
91d76db975
Do not fail in checking a condition on From/To/Cc
...
This should fix this error:
https://github.com/cantino/huginn/issues/745#issuecomment-176628911
2016-01-29 19:14:34 +09:00
Andrew Cantino
fee88f92a4
Add error if payloads is used with other top-level keys
2016-01-27 22:34:29 -08:00
Andrew Cantino
7042adc61d
Fix spec
2016-01-27 22:06:14 -08:00
Andrew Cantino
3b176912a3
Add support to the ManualEventAgent for Liquid formatting and multiple Events
2016-01-27 22:06:14 -08:00
James
c671268cf5
Update pushbullet_agent_spec.rb
2016-01-28 00:15:29 +00:00
Andrew Cantino
22524291fa
Merge pull request #1188 from xu-cheng/digest-agent
...
add Digest Agent
2016-01-20 21:38:52 -08:00
Andrew Cantino
4afed4ae68
Merge branch 'master' of github.com:cantino/huginn
2016-01-18 22:27:49 -08:00
Andrew Cantino
7e70d507b4
Allow Liquid logic in recipients too
2016-01-18 22:27:45 -08:00
Xu Cheng
f6186977e1
add Digest Agent
...
Similar to Email Digest Agent, except it will emit a digest event
instead of sending email. It could be useful to send digest message
through meanings other than email.
2016-01-17 16:22:43 +08:00
Andrew Cantino
33f0c03e04
Merge pull request #1223 from cantino/post_agent_emits_events
...
PostAgent can emit Events
2016-01-16 16:05:59 -08:00
Andrew Cantino
e87d3ec2c9
Address a few comments
2016-01-16 14:24:54 -08:00
Andrew Cantino
7887fb3815
allow Liquid in the recipients option
2016-01-15 17:32:04 -08:00
Akinori MUSHA
28c4f9d14f
Do not cache matching results across events in receive()
...
This should fix #1222 .
2016-01-15 23:48:51 +09:00
Akinori MUSHA
f378922c25
Add a failing test before fixing #1222
2016-01-15 22:05:44 +09:00
Andrew Cantino
2b3a6a2819
Merge remote-tracking branch 'origin/master' into post_agent_emits_events
2016-01-14 14:36:52 -08:00
Andrew Cantino
5e95c7149a
Merge pull request #1205 from cantino/event_does_not_require_url
...
When the WebsiteAgent receives Events, we do not need to require that they contain a url keyword
2016-01-14 14:36:38 -08:00
Andrew Cantino
b959d53f41
PostAgent can emit events
2016-01-14 14:32:28 -08:00
Akinori MUSHA
b0bc8ca746
Merge pull request #1217 from cantino/liquid_regex_replace_block
...
Add new block tags `regex_replace`/`regex_replace_first` to Liquid
2016-01-14 19:11:32 +09:00
Andrew Cantino
a68775fd99
fix spec
2016-01-13 13:51:58 -08:00
Akinori MUSHA
031a72fabd
Add new block tags regex_replace
/regex_replace_first
to Liquid
...
This allows user to perform dynamic substitution using the power of
Liquid templating itself.
2016-01-13 17:58:01 +09:00
Akinori MUSHA
915fa97c4f
Merge pull request #1145 from cantino/webhook_recaptcha
...
Add support for reCAPTCHA to WebhookAgent
2016-01-12 19:30:39 +09:00
Akinori MUSHA
7e609b9ed3
Add support for reCAPTCHA to WebhookAgent
2016-01-12 19:28:49 +09:00
Andrew Cantino
3469ed2a5e
Add a migration to set url_from_event and remove direct usage of Event url
payload value
2016-01-08 15:05:35 -08:00
Andrew Cantino
55212ed2cf
Merge branch 'master' into event_does_not_require_url
2016-01-08 14:12:15 -08:00
Andrew Cantino
8d8d8d614a
When the WebsiteAgent receives Events, we do not need to require that they contain a url keyword
2016-01-03 15:12:55 -05:00
Evgeny Skorobogatko
f338fc7305
Allow RSS agent to output iTunes compatible podcasts: added iTunes namespaces ('itunes:*') to the RSS declaration ('xmlns:itunes=itunes.com/dtds/podcast-1.0.dtd') so that RSS output can use e.g. "itunes:summary" fields
2016-01-03 21:43:00 +03:00
Andrew Cantino
3da033eaa3
Merge pull request #1161 from cantino/website_agent_can_parse_payload
...
Add event_data_path option to the WebsiteAgent to handle data directly in incoming Events
2015-12-28 13:34:16 -08:00
Andrew Cantino
a414584042
Merge pull request #1173 from TildeWill/multi_scenario_import
...
Allow multiple users to import the same scenario
2015-12-26 12:05:37 -08:00
Andrew Cantino
39765f8875
Rename to data_from_event
and use Liquid
2015-12-26 11:25:47 -08:00
Andrew Cantino
054f7f1cc6
Merge branch 'master' into website_agent_can_parse_payload
2015-12-26 11:16:32 -08:00
Will Read
908da48286
Prevent Jane's scenario from being affected by import
...
Related issue: #968
2015-12-20 19:09:07 +00:00
eric
d233946feb
Export Agents in GUID order so that the result is amenable to version control tracking
2015-12-07 10:30:14 -07:00
Will Read
6435f0024c
Allow multiple users to import the same scenario
...
- renames should_import? to import_confirmed? for readability
Related issue: #968
2015-12-07 01:47:48 +00:00
Andrew Cantino
5eeca709c7
Add event_data_path option to the WebsiteAgent to handle data directly in incoming Events
2015-11-24 12:34:20 -08:00
Andrew Cantino
9bdbdfa10d
Merge remote-tracking branch 'origin/master' into prevent_extra_threads_in_specs
2015-11-20 08:56:30 -08:00
Andrew Cantino
ff05700458
Prevent buildup of threads in specs
2015-11-19 21:39:03 -08:00
Andrew Cantino
70eb0b154c
Merge branch 'master' into timestamps_in_twitter_agent
2015-11-14 13:44:01 -08:00
Akinori MUSHA
bde6a7269d
Merge pull request #1125 from cantino/website_agent_normalize_uri
...
Introduce Utils.normalize_uri and use it in WebsiteAgent
2015-11-15 01:53:18 +09:00
Akinori MUSHA
cdfdc7f3c5
Introduce Utils.normalize_uri and use it in WebsiteAgent
...
This fixes #938 , and the specs are from #958 . (Thanks @irfancharania!)
2015-11-15 01:41:19 +09:00
Dominik Sander
28983a7378
Merge pull request #1142 from dsander/fix-twitter-agent-restart-leak
...
Do check restarting LongRunnable::Worker for liveliness
2015-11-12 17:26:08 +01:00
Dominik Sander
e303239281
Do check restarting LongRunnable::Worker for liveliness
...
Fixes a memory leak caused by starting a new Worker when the old one is still restarting.
2015-11-12 00:07:30 +01:00