Commit graph

508 commits

Author SHA1 Message Date
Dominik Sander
dad2875da9 Improved the migration experience 2014-08-21 21:58:10 +02:00
Dominik Sander
f9342ef335 BasecampAgent use the remote time rather then ours
In the initial version of the BasecampAgent we used our own time to
query for new events. However that fails horrible if the clock of the
huginn server is out of sync the with clock of the api server.
Since we never can keep those clocks in sync we now rely on the
timestamp of the last event send to us.
2014-08-18 23:19:44 +02:00
Dominik Sander
770af574bd nesting the condtions Service#disable_agents within :where_not 2014-08-18 20:30:54 +02:00
Dominik Sander
2f8c7cbdfa Fixed the oauth dropdown 2014-08-16 18:23:13 +02:00
Dominik Sander
34775f902a Index services by the users uid, disconnect agents if the service is
made private
2014-08-11 23:13:57 +02:00
Dominik Sander
e57b806d18 Merge remote-tracking branch 'huginn/master' into omniauth 2014-08-11 01:46:36 +02:00
Andrew Cantino
35e8e4cc17 Merge remote-tracking branch 'dsander/omniauth' into omniauth_refactors
Conflicts:
	app/views/agents/_form.html.erb
2014-08-10 16:37:56 -07:00
Dominik Sander
0c020d922c Moved the service dropdown into a partial 2014-08-10 13:29:20 +02:00
Andrew Cantino
b2213f2b17 Merge pull request #437 from PetroFeed/add_change_detector_agent
Add ChangeDetectorAgent, test
2014-08-09 18:49:43 -07:00
Andrew Cantino
d1a16d0973 refactor 2014-08-09 17:59:38 -07:00
Michael Cramm
95843e159b Updates based on feedback
* Updates the default option for `property` fro 'output' to '{{output}}'
* Use Delorean for tests
2014-08-09 18:40:55 -06:00
Dominik Sander
fd5fb276cf Merge pull request #425 from dsander/reset-forms
Unified the layout of devise forms
2014-08-09 23:28:59 +02:00
Andrew Cantino
556c45e000 Minor refactors 2014-08-09 14:06:56 -07:00
Michael Cramm
22bee753cd Add ChangeDetectorAgent, test
New agent will watch the property of an inbound event stream. When that
property changes, it will emit the inbound event.
2014-08-09 13:27:23 -06:00
Dominik Sander
d0e98cede1 Fixes the specs and removed deprecation notices 2014-08-09 17:21:25 +02:00
Akinori MUSHA
2d93ac5d54 Fix the link path of each badge. 2014-08-09 14:01:01 +02:00
Akinori MUSHA
e2ca209b25 Make PostAgent use WebRequestConcern, adding options for Basic Auth and User-Agent. 2014-08-09 14:01:01 +02:00
Akinori MUSHA
638ba056f1 RssAgent accepts headers, basic_auth and user_agent.
These options are provided by WebRequestConcern.
2014-08-09 14:01:01 +02:00
Akinori MUSHA
b9074a9930 Percent-encode unsafe characters in a filename when composing each URL. 2014-08-09 14:01:01 +02:00
Akinori MUSHA
db220c881c Fix the link path of each badge. 2014-08-09 11:39:01 +09:00
Akinori MUSHA
13f9022bba Make PostAgent use WebRequestConcern, adding options for Basic Auth and User-Agent. 2014-08-07 21:17:43 +09:00
Akinori MUSHA
d18641d701 RssAgent accepts headers, basic_auth and user_agent.
These options are provided by WebRequestConcern.
2014-08-07 21:15:49 +09:00
Akinori MUSHA
01dbb1a94a Percent-encode unsafe characters in a filename when composing each URL. 2014-08-07 18:11:20 +09:00
Andrew Cantino
78f6150b26 Merge branch 'omniauth' of https://github.com/dsander/huginn into dsander-omniauth
Conflicts:
	Gemfile.lock
2014-08-06 21:04:35 -07:00
Daniel O'Connor
69b4c161c6 Fix #423 "cloud service" link broken 2014-08-07 07:23:12 +10:00
Akinori MUSHA
04e1515eea Use boolify(). 2014-08-07 00:41:59 +09:00
Guilherme J. Tramontina
a2243590f6 Use 'net-ftp-list' gem to parse ftp directory listing.
It also parses non-unix ftp servers, which have a different list format.
2014-08-05 04:15:25 -03:00
Dominik Sander
b566f5a9e6 Unified the layout of devise forms 2014-08-03 20:50:27 +02:00
Dominik Sander
a846154c7d Import scenarios with agents which need a service 2014-08-03 18:31:35 +02:00
Akinori MUSHA
0c9c862c53 Turn the JavaScript code into a separate CoffeeScript file. 2014-08-01 15:56:27 +09:00
Akinori MUSHA
dcc72d9d98 Add a tooltip to badges. 2014-08-01 15:56:21 +09:00
Akinori MUSHA
460ba68a95 Put a badge indicating the number of events created on each agent node.
It is clickable, and colored depending on its status.
2014-08-01 15:56:21 +09:00
Akinori MUSHA
5296af3b31 Show the agent type in tooltip. 2014-08-01 15:56:20 +09:00
Akinori MUSHA
53cb86c6de Set the digraph title to "Agent Event Flow". 2014-08-01 15:56:20 +09:00
Akinori MUSHA
18175330fc Stop adding "(Disabled)" to disabled agents.
They are now distinguished by the color and line style.
2014-08-01 15:56:20 +09:00
Andrew Cantino
4442ef27e5 Merge pull request #422 from drcapulet/route-changes
Break Diagram into it's own controller, nest resources
2014-07-31 20:18:14 -07:00
Andrew Cantino
2df477f4bf Merge pull request #419 from drcapulet/hipchat-shared
Allow HipchatAgent to use a shared credential
2014-07-31 19:57:27 -07:00
Andrew Cantino
84fd8bedb5 remove created_at from default options 2014-07-31 19:53:01 -07:00
Alex Coomans
15e3f0a33d Break Diagram into it's own controller, nest resources
Conflicts:
	app/views/scenarios/show.html.erb
2014-07-31 16:42:58 -07:00
Dominik Sander
b71ea25418 Merge branch 'master' into omniauth
Conflicts:
	Gemfile.lock
	app/controllers/agents_controller.rb
2014-07-31 22:14:44 +02:00
Alex Coomans
2f9c7b56a6 Allow HipchatAgent to use a shared credential 2014-07-31 09:52:38 -07:00
Akinori MUSHA
ceea91fe2a Add EventDrop#created_at and drop (skip_)created_at from EventFormattingAgent. 2014-07-30 16:07:28 +09:00
Akinori MUSHA
fa0723ed8a Correct an XPath in description. 2014-07-30 06:48:20 +09:00
Akinori MUSHA
7b6119f1f2 "text": true should have meant ".//text()", not "text()". 2014-07-30 06:48:20 +09:00
Akinori MUSHA
76ecced268 WebsiteAgent: Improve readability with regard to XPath evaluation. 2014-07-30 06:48:20 +09:00
Akinori MUSHA
4d623c5893 WebsiteAgent: Introduce per-node XPath evaluation in extraction.
The new extraction sub-hash key `value` holds an XPath expression which
should be applied to each node to get the result value.

The previous directives `"text": true` and `"attr": "src"` are now
written as `"value": "text()"` and `"value": "@src"`, respectively.

With this enhancement, it is now possible for this agent to perform some
basic text processing on its own by making use of XPath functions like
`normalize-space`, `substring-after` and `translate`.
2014-07-30 06:48:19 +09:00
Andrew Cantino
e746bee3dc Merge pull request #410 from knu/provide_access_to_agent
EventFormattingAgent: Provide access to upstream agent
2014-07-29 13:08:43 -07:00
Andrew Cantino
fcc97dd683 Merge pull request #404 from cantino/heroku
Heroku deployment!
2014-07-26 13:01:52 -07:00
Andrew Cantino
9d0695fc76 Merge pull request #413 from knu/improve_diagram
Improve agents diagram.
2014-07-25 23:15:27 -07:00
Andrew Cantino
5183f3d257 Merge pull request #407 from cantino/rss_agent
adding a basic RSS agent
2014-07-25 21:24:00 -07:00