Commit graph

963 commits

Author SHA1 Message Date
Akinori MUSHA
47fb2894a1 Add a "Clone" button in agents#show.
- Make agents#new take an optional :id for creating a clone of an
  existing agent of the user.

- Delay the call for $(".select2").select2() so filled-in values of
  sources can take effect.
2014-04-25 21:44:48 +09:00
Akinori MUSHA
8d00e9025a Add Agent.build_clone. 2014-04-25 21:44:48 +09:00
Andrew Cantino
b688c56c67 Merge branch 'master' into dsander-rails41
Conflicts:
	Gemfile
2014-04-24 12:58:09 -05:00
Andrew Cantino
8767e81985 Merge pull request #264 from knu/website_agent-faraday
Add support for using alternative HTTP backends via Faraday
2014-04-24 12:13:09 -05:00
Andrew Cantino
079b02f1a9 Merge pull request #252 from knu/clickable_diagram
Add links to a generated SVG diagram.
2014-04-24 11:03:00 -05:00
Akinori MUSHA
71f7921fb9 Move DOT stuff into a new helper named DotHelper, adding some specs. 2014-04-24 23:16:47 +09:00
Akinori MUSHA
e8751af629 Add a user_agent option to WebsiteAgent. 2014-04-24 22:10:40 +09:00
Akinori MUSHA
85a7369e65 Use Faraday in WebsiteAgent and make HTTP backend library selectable.
Typhoeus is still suggested as default, but you could choose 'em_http',
or 'net_http' if you have a problem with it.
2014-04-24 21:38:12 +09:00
Andrew Cantino
48cfbb8a81 Merge pull request #250 from afro88/website_agent_receive
Updated WebsiteAgent to receive events
2014-04-23 10:37:39 -05:00
Matthew Werner
d6ec02f45d Add Jabber Agent 2014-04-22 22:26:49 -07:00
Maximilian Clarke
9bf3c2c824 Updated WebsiteAgent to receive events 2014-04-22 21:33:51 +10:00
Maximilian Clarke
893c6b5233 Added code and tests for arrays of values used in Trigger agent 2014-04-22 20:02:08 +10:00
Andrew Cantino
8a38e448a4 slight fix on eskim's header code for the PostAgent 2014-04-20 11:57:01 -07:00
Andrew Cantino
f001638943 Merge pull request #237 from cantino/ZirconCode-master
ShellCommandAgent
2014-04-20 10:35:48 -07:00
Andrew Cantino
8e6addc5b8 Merge branch 'rails41' of https://github.com/dsander/huginn into dsander-rails41 2014-04-19 21:43:49 -07:00
Andrew Cantino
846ebe707f fix bug with empty queries 2014-04-19 18:28:13 -07:00
Andrew Cantino
19bbbe4bfe PostAgent can (somewhat incongruently) make GET requests now. 2014-04-19 18:10:25 -07:00
Andrew Cantino
767fe5511b Allow PostAgents to specify a default hash of data to be POSTed, as well as to be run periodically. 2014-04-19 15:26:49 -07:00
Andrew Cantino
a67231f678 refactor ZirconCode's Agent to only run when ENABLE_INSECURE_AGENTS is enabled in .env 2014-04-19 13:44:07 -07:00
akil harris
5b65372b39 Pushover Agent. Added ability to have a default message. Made some stylistic changes as well. 2014-04-19 10:08:29 -04:00
akil harris
c50b848953 Pushover Agent. Added ability to have a default message. Made some stylistic changes as well. 2014-04-19 09:47:04 -04:00
Andrew Cantino
317642a9c0 Merge branch 'master' of https://github.com/ZirconCode/huginn into ZirconCode-master 2014-04-18 23:14:12 -07:00
akil harris
94097e8f49 Pushover Agent. 2014-04-18 23:36:11 -04:00
Maximilian Clarke
19c005fe45 Modified website_agent to take an array of urls 2014-04-19 11:46:14 +10:00
akil harris
9d9679eec1 Pushover Agent. 2014-04-18 21:35:08 -04:00
Dominik Sander
b7b3460fd3 Update to rails 4.1 2014-04-18 23:55:15 +02:00
Andrew Cantino
b661bf36da Merge pull request #231 from dsander/basecamp-encoding
Basecamp: ensure url encoding of http parameters
2014-04-18 10:30:47 -07:00
Dominik Sander
9c2773e8d4 Basecamp: ensure url encoding of http parameters
The since paramter is now passed to HTTParty which takes care of encoding it properly
2014-04-18 18:54:53 +02:00
Dominik Sander
558eb37ff1 Added Hipchat Agent 2014-04-18 13:12:07 +02:00
Dominik Sander
67bfe670bf Added basecamp agent 2014-04-17 19:52:50 +02:00
ZirconCode
03f60e71af CommandAgent whitespace+Open3 fix 2014-04-17 12:45:50 +02:00
ZirconCode
e65bc11f02 init CommandAgent 2014-04-16 16:52:00 +02:00
Andrew Cantino
623e6db1b3 Merge pull request #214 from knu/event_formatting_agent-regexp
Add regexp matching support to EventFormattingAgent.
2014-04-14 21:50:49 -07:00
Akinori MUSHA
908c2a8c9e Add a missing assertion. 2014-04-15 13:38:34 +09:00
Akinori MUSHA
7428af37ef Add specs for :matchers validation. 2014-04-15 13:22:35 +09:00
Andrew Cantino
7d9279b871 Merge pull request #212 from knu/website_agent-force_encoding
Add :force_encoding support to WebsiteAgent.
2014-04-14 19:58:25 -07:00
Andrew Cantino
7c98b1acce Merge pull request #210 from knu/ftpsite_agent
Implement FtpsiteAgent.
2014-04-14 00:59:35 -07:00
Akinori MUSHA
030c7d685a Add regexp matching support to EventFormattingAgent.
A new setting key `matchers` is added to define regular expression
matching against contents of events and expand the match data for use
in `instructions` setting.
2014-04-14 15:47:26 +09:00
Akinori MUSHA
8ea2ba573f Add :xpath support to WebsiteAgent. 2014-04-14 14:10:03 +09:00
Akinori MUSHA
7bc20a0b44 Add :force_encoding support to WebsiteAgent. 2014-04-14 13:57:58 +09:00
Akinori MUSHA
e4dc6a31c3 Implement FtpsiteAgent.
This agent checks a FTP site and creates Events based on newly uploaded
files in a directory.
2014-04-14 13:30:43 +09:00
Andrew Cantino
ff546b6671 fix spec 2014-04-13 13:26:28 -07:00
Andrew Cantino
aba9be6b0b add missing <link> element to RSS feed generation 2014-04-13 13:02:53 -07:00
Andrew Cantino
25b62ae1f1 Merge pull request #203 from cantino/data_output_agent
Data output agent
2014-04-13 11:04:18 -07:00
Akinori MUSHA
ef81624aee Update the spec for TwitterPublishAgent.
Make public_tweet() return an object with an id attribute.
2014-04-12 22:38:44 +09:00
Andrew Cantino
db0fbe4c93 rename WebhooksController to WebRequestsController; refactor and support deprecated methods for now 2014-04-08 09:38:06 -07:00
Andrew Cantino
dacd03d783 Add DataOutputAgent that returns JSON or RSS 2.0 (XML) when requested 2014-04-05 17:06:26 -07:00
Andrew Cantino
794ae69b91 Refactor webhook handling to accept all HTTP verbs 2014-04-05 17:05:42 -07:00
Andrew Cantino
99644a426d Add XKCD hovertext to default seed and website agent 2014-04-05 17:04:43 -07:00
Andrew Cantino
63a42fff3c Add option to treat strings starting with $ as JSONPath 2014-04-05 17:04:06 -07:00