Commit graph

963 commits

Author SHA1 Message Date
Glenn 'devalias' Grant
fe75d6be0a Bump up error checking and add new spec 2014-06-03 20:27:37 +10:00
Glenn 'devalias' Grant
2eee88e033 Fix spec 2014-06-02 20:40:09 +10:00
Glenn 'devalias' Grant
bb407f50c1 Solves #354 2014-06-02 20:33:46 +10:00
Andrew Cantino
5c1fbdb997 upload and fetch by url, data object manages import; next step is actual import 2014-06-01 23:57:21 -07:00
Andrew Cantino
a0aef96673 Merge remote-tracking branch 'origin/master' into scenarios 2014-06-01 14:53:36 -07:00
Glenn / devalias
43d0256663 Merge pull request #342 from tonmoy-saikia/slack_agent
Add SlackAgent
2014-06-01 20:40:48 +10:00
Dominik Sander
8a2a29a4af Added a liquid tag to access user credentials
Via '{% credential USER_CREDENTIAL_NAME %}' liquid enabled agent options
can be used to access stored user credentials
2014-06-01 09:34:39 +02:00
Andrew Cantino
b91faf62a0 easier removal of agents from scenarios via the menu 2014-06-01 00:24:35 -07:00
Andrew Cantino
663250227d allow exporting of a set of Agents with their links from a Scenario; Scenario guid is now generated and copied to export, as well as a source link when public 2014-05-31 23:36:33 -07:00
Andrew Cantino
b25c38c45e better handling of return paths, and more specs 2014-05-31 15:47:22 -07:00
Andrew Cantino
fc878f4fdc Merge remote-tracking branch 'origin/master' into scenarios 2014-05-31 12:34:07 -07:00
Tonmoy Saikia
ed4cfbc440 Add SlackAgent
The SlackAgent lets you receive events and send notifications to slack
2014-05-27 21:27:22 +05:30
Akinori MUSHA
d101d60211 Mark duplicated mails as read even if event creation is skipped. 2014-05-19 16:15:51 +09:00
Akinori MUSHA
8d4c72d744 Convert 'port' to integer. 2014-05-18 03:38:48 +09:00
Akinori MUSHA
f3a63b935f Check regexp validation. 2014-05-18 03:38:47 +09:00
Akinori MUSHA
3a48076902 Cover the "mark_as_read" option. 2014-05-18 03:38:47 +09:00
Akinori MUSHA
2b8cfe95b9 Include "folder" in events. 2014-05-18 03:38:47 +09:00
Akinori MUSHA
243ab7e651 Define expected payloads and reuse them. 2014-05-18 03:38:47 +09:00
Akinori MUSHA
2c2ebf533c Implement ImapFolderAgent. 2014-05-18 03:38:47 +09:00
Andrew Cantino
aaa4b7a155 add basic scaffold of scenarios, including the ability to add agents to scenarios, edit scenarios, and view scenarios. next step: import and export 2014-05-14 22:53:32 -07:00
Andrew Cantino
08b2f6c8f8 Merge pull request #285 from dsander/liquid-templating
Added liquid templating and migrated first agents
2014-05-12 13:38:58 -07:00
Andrew Cantino
3633b26778 Merge pull request #313 from racktear/jira_agent
Add JiraAgent
2014-05-12 11:11:55 -07:00
Konstantin Nazarov
63ec8208a3 add RSpec tests for JiraAgent 2014-05-11 03:10:12 +04:00
Dominik Sander
095c34c696 Removed unused code 2014-05-06 20:41:32 +02:00
Dominik Sander
da8a2e9682 Merge remote-tracking branch 'huginn/master' into liquid-templating 2014-05-06 10:56:43 +02:00
Dominik Sander
56324c87e2 Migrated HumanTask, Trigger and PeakDetectorAgent to Liquid
Made LiquidInterpolatable#interpolate_options recursive
Really interpolate the `message` options attribute of the PeakDetectorAgent
Merged all previous liquid migrations into one new migration
Added support for the `Agent#make_message` format to the liquid migrator
2014-05-06 10:50:20 +02:00
Andrew Cantino
ac8d879940 add specs for disabled agents 2014-05-05 23:59:27 +02:00
Dominik Sander
da137aaeb8 Made migration irreversable, support '$variable' syntax 2014-05-05 22:00:55 +02:00
Andrew Cantino
1c6171f67c truncate log messages to 2048 characters 2014-05-01 23:19:35 -07:00
Dominik Sander
4a7560c7a5 Migrated TwitterPublishAgent to use liquid 2014-05-01 23:07:24 +02:00
Dominik Sander
39360929df Migrated TranslationAgent to liquid 2014-05-01 22:33:39 +02:00
Dominik Sander
28931f2126 Migrated DataOutputAgent to use liquid 2014-05-01 21:25:56 +02:00
Dominik Sander
0980458449 Migrated JabberAgent to use liquid, added link to documentation 2014-05-01 20:35:56 +02:00
Dominik Sander
addb4dbdbf Migrated the PushbulletAgent to use LiquidInterpolatable 2014-05-01 17:32:45 +02:00
Dominik Sander
b4b9939b7d LiquidMigrator is checking for complex JSONPaths
If a complex JSONPath like '$.text[*]' is found the migration will
fail with an exception and keep the database intact
2014-05-01 17:32:45 +02:00
Dominik Sander
e8ecbe25b8 Use liquid in the matches section of EventFormattingAgent 2014-05-01 17:32:45 +02:00
Dominik Sander
d9bd6a991b Added liquid templating and migrated first agents 2014-05-01 17:32:45 +02:00
Matthew Werner
a70a6943ae merged master 2014-04-30 12:46:39 -07:00
Andrew Cantino
764b4bd4bb Merge pull request #233 from akilism/pushover
Pushover Agent
2014-04-28 20:07:24 -07:00
Matthew Werner
2b3f17ad7b prefer interpolate_jsonpaths over mustache 2014-04-28 13:30:45 -07:00
Andrew Cantino
d1c2fcc4a1 Merge pull request #281 from dsander/pushbullet-agent
Added pushbullet agent, refactored JSONPath merging
2014-04-28 13:11:12 -07:00
Dominik Sander
91167cfe9e Fixed typos, logging errors via Agent#error 2014-04-28 16:15:44 +02:00
Andrew Cantino
769771b38c Merge pull request #280 from cantino/trigger_agent_can_reemit_event
keep_event can be set to true to cause the incoming event to be re-emitted, with message merged in when present
2014-04-27 21:10:43 -07:00
Andrew Cantino
e4838501b9 Merge pull request #279 from cantino/add_headers_to_website_agent
add headers option to WebsiteAgent
2014-04-27 21:08:25 -07:00
Dominik Sander
1230391eed Moved working helpers into a concern, explained JsonPathOptionsOverwritable 2014-04-27 22:18:21 +02:00
Ryan Loomba
6a9cb97350 remove headers in stubbed request to make travis pass on 1.9 2014-04-27 10:39:30 -07:00
Ryan Loomba
52757973f7 add stubhub agent specs 2014-04-27 00:17:33 -07:00
Dominik Sander
20ba2be285 Added pushbullet agent, refactored JSONPath merging
Moved the JSONPath merging into a concern because it is now used by
two agents, I also added Agent#received_event_without_error? which
is used by the hipchat and pushbullet agents.
2014-04-26 11:49:15 +02:00
Andrew Cantino
fd2e8cd8b6 add headers option to WebsiteAgent 2014-04-26 00:04:56 -07:00
Andrew Cantino
9462400dd4 keep_event can be set to true to cause the incoming event to be re-emitted, with message merged in when present 2014-04-25 23:47:10 -05:00