Akinori MUSHA
e3f9ac50a9
Enable Graphviz on Heroku.
...
Graphviz is installed via heroku-buildpack-graphviz-src and the location
of dot(1) is automatically added to PATH.
There is also heroku-buildpack-graphviz-deb which should be easier to
install, but the Debian package installed has a font style problem.
2014-08-08 21:22:21 +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
aec14b2225
Merge pull request #427 from CloCkWeRX/fix_423
...
Fix #423 "cloud service" link broken
2014-08-06 19:11:03 -07:00
Andrew Cantino
fb4970b317
Merge pull request #428 from andrewcurioso/master
...
Fixed seeds and fixtures for rain notifier
2014-08-06 19:10:08 -07:00
Andrew Curioso
24e03a5b45
Fixed seeds and fictures for rain notifier
...
The seed rain notifier wasn't using liquid templates so the
conditions and location showed up as literal strings.
2014-08-06 21:45:14 -04: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
Andrew Cantino
81bbdcff66
Merge pull request #426 from PetroFeed/ftpsite_whitespace_fix
...
Use 'net-ftp-list' gem to parse ftp directory listing.
2014-08-05 14:30:39 -07: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
Andrew Cantino
58e9016255
Merge pull request #421 from knu/improve_diagram-2
...
Adding a badge to each Agent node in a diagram.
2014-08-01 20:45:00 -07: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
Andrew Cantino
cf3238dff5
Merge pull request #417 from knu/add_created_at_to_event_drop
...
Add EventDrop#created_at and drop (skip_)created_at from EventFormattingAgent.
2014-07-31 19:51:37 -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
Glenn / devalias
448c402d51
Add Bountysource link/badge to README
2014-08-01 09:38:40 +10:00
Alex Coomans
2f9c7b56a6
Allow HipchatAgent to use a shared credential
2014-07-31 09:52:38 -07:00
Andrew Cantino
4e89313140
Merge pull request #418 from cantino/fix_seed
...
fix some more XPaths
2014-07-30 22:15:40 -07:00
Andrew Cantino
ebe302492d
fix some more XPaths
2014-07-30 14:05:40 -07:00
Akinori MUSHA
ceea91fe2a
Add EventDrop#created_at and drop (skip_)created_at from EventFormattingAgent.
2014-07-30 16:07:28 +09:00
Andrew Cantino
47eee57a99
Merge pull request #412 from knu/website_agent-per_node_xpath
...
WebsiteAgent: Introduce per-node XPath evaluation in extraction.
2014-07-29 21:41:34 -07:00
Glenn / devalias
f119f7f9f9
Added 'suggest an agent' thread link to README.md
2014-07-30 10:10:13 +10:00
Akinori MUSHA
70157dc687
Look into options['extract'] for checking the extraction type.
...
WebsiteAgent#extraction_type was private and uncallable, and may not
remain existent in future.
2014-07-30 06:48:20 +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
a800342c29
WebsiteAgent: Add a spec for XPath returning an integer value.
2014-07-30 06:48:19 +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
13b8fbbedc
Update README.md
2014-07-26 13:10:28 -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
Akinori MUSHA
c0810d3dfd
Set the link target of nodes to _blank.
2014-07-26 00:22:57 +09:00
Akinori MUSHA
593630b4a2
Improve agents diagram.
...
- Fold each agent name after every 20+ characters.
- Choose the rounded box as node shape.
- Signify disabled agents with gray color, including arrows.
- Use a shorter node name to shorten code that often exceeds the limit
of Google Chart API when an agent with a long name has lots of sources
and receivers.
- Use a smaller font size, and specify Helvetica as font family in SVG
output to match the rest of the site contents.
2014-07-25 15:18:40 +09:00
Akinori MUSHA
8596bd0f0d
Introduce a new concern LiquidDroppable for refactoring.
2014-07-24 20:09:54 +09:00
Akinori MUSHA
307ef15b8e
EventFormattingAgent: Partial revert: Do not include "agent" to payload.
2014-07-24 19:37:58 +09:00
Akinori MUSHA
00514d2ca5
Add a hover-help for the Options field which explains interpolation.
2014-07-24 17:02:55 +09:00
Akinori MUSHA
c1f114d56b
Make {{agent}} universally accessible from any agent.
...
To implement this, EventDrop is introduced to represent an Event object
in interpolation.
2014-07-24 15:48:09 +09:00
Akinori MUSHA
6c30b1676e
Fix grammar.
2014-07-23 17:26:54 +09:00
Akinori MUSHA
a799408272
Add specs for AgentDrop.
2014-07-23 17:09:35 +09:00
Akinori MUSHA
9ab66aa32e
Fix specs after the transition from skip_agent to {{agent}}.
2014-07-23 09:53:19 +09:00
Akinori MUSHA
f79e26d63a
Remove the "skip_agent" option from EventFormattingAgent.
...
It is now possible to include an agent name without the special flag
just by putting `"agent" => "{{agent.type}}"` in "instructions".
This commit includes automatic migration.
2014-07-22 23:06:42 +09:00