Commit graph

882 commits

Author SHA1 Message Date
Akinori MUSHA
b1030a5d7f Declare the site icons in various sizes
These are auto-generated from the SVG icon by running `bin/rake icons`.
2015-06-03 22:10:33 +09:00
Andrew Cantino
84ebfa18cb add a validation that warns the user if they have not provided a path when using JSONPath 2015-05-26 21:16:52 -07:00
Dominik Sander
f81ac006cf Fix JobsHelper#agent_from_job for ActiveJob 2015-05-24 23:03:38 +02:00
Andrew Cantino
f10e8d020c Merge pull request #788 from evaryont/jobs-show-agent-name
Show the agent's name and user in the jobs panel
2015-05-24 12:51:52 -04:00
Colin Shea
3ca2404f63 Move loading the agent instance to a helper
Also rescue when the agents haven't been loaded yet into memory. (Per @dsander &
@knu comments)
2015-05-24 04:13:58 -07:00
Andrew Cantino
552f70286d add back in editor update code 2015-05-23 15:28:50 -07:00
Andrew Cantino
ea1fb447ca Merge remote-tracking branch 'origin/master' into js_agent_can_be_dryrun 2015-05-23 15:22:12 -07:00
Akinori MUSHA
5743087ea9 Merge pull request #827 from cantino/diagram_toggle_disabled
Allow toggling disabled agents on an Agent Diagram
2015-05-22 14:51:20 +09:00
Akinori MUSHA
b4a7dce81d Show disabled agents by default 2015-05-21 15:38:21 +09:00
Akinori MUSHA
b8896f611c Omit the toggle button if there are no disabled agents 2015-05-21 13:53:05 +09:00
Akinori MUSHA
22eb2fa9ef Show the number of disabled Agents in the toggle button 2015-05-21 13:47:59 +09:00
Akinori MUSHA
b779471e13 Exclude disabled agents from Agent Diagram and add a toggle button 2015-05-20 23:57:58 +09:00
Akinori MUSHA
42e53c4b1c Remove superfluous CSS position specifiers 2015-05-20 23:27:31 +09:00
Akinori MUSHA
15378aa006 Add "Dry Run" to the action menu 2015-05-19 22:14:52 +09:00
Akinori MUSHA
106058ab96 ImapFolderAgent: Enable dry-run 2015-05-14 21:16:53 +09:00
Akinori MUSHA
3ce41669b4 Use keyword arguments for Net::IMAP.new 2015-05-14 21:16:53 +09:00
Akinori MUSHA
40d6192070 Define DryRunnable#dry_run?
A dry-runnable Agent can use this method to decide if it should avoid
affecting unsandboxed resources, like calling an external API that
might change any state.
2015-05-14 21:16:53 +09:00
Akinori MUSHA
864152b871 Fix typos in the description 2015-05-14 21:16:53 +09:00
Akinori MUSHA
5641e0b309 ImapFolderAgent: Handle a mail without a body
This addresses #745.
2015-05-13 17:29:59 +09:00
Andrew Cantino
9a7ebc09b7 Merge remote-tracking branch 'origin/master' into js_agent_can_be_dryrun 2015-05-09 21:10:10 -07:00
Andrew Cantino
8463ca0d6b fix spec 2015-05-09 14:35:11 -07:00
Andrew Cantino
e6903a8e61 ignore new lines 2015-05-09 14:08:39 -07:00
Andrew Cantino
5067104d5e make create_event in dry_run work the same as the normal one; fix width of editor 2015-05-09 14:05:57 -07:00
Andrew Cantino
1a43bd2907 Merge pull request #812 from younata/master
Add 'unescapeHTML' functionality to the javascript agent.
2015-05-09 17:02:00 -04:00
Rachel Brindle
c6c5fed84d Add functionality to escape html strings to the javascript agent
renames unescapeHTML to unescapeHtml, and updates the description to mention these two methods.
2015-05-03 13:04:59 -07:00
Dominik Sander
8e361f8d59 Merge pull request #778 from dsander/active-job
Use ActiveJobs interface
2015-05-03 11:29:53 +02:00
Rachel Brindle
829975577c Merge branch 'master' of https://github.com/cantino/huginn 2015-05-02 12:08:09 -07:00
Rachel Brindle
20a2e7486a Add support for unescaping html entities to the javascript agent 2015-05-02 12:05:14 -07:00
Akinori MUSHA
847282f246 Refactor WebsiteAgent::store_payload!
This is to avoid a jump (return) from within a block where possible.
2015-04-30 21:20:14 +09:00
Akinori MUSHA
a434315be3 When cloning an agent, focus on the name field
As a bonus, the number suffix part is pre-selected for easy removal.
2015-04-28 23:43:03 +09:00
Dominik Sander
126cb19741 Merge pull request #649 from dsander/wunderlist
Adds Wunderlist agent
2015-04-27 21:50:24 +02:00
Akinori MUSHA
914bbb4123 Use the fa-pulse spinner built in with Font Awesome 2015-04-27 19:24:54 +09:00
Akinori MUSHA
db63908c91 Merge pull request #803 from cantino/clear-memory
Allow user to clear memory of an agent
2015-04-26 11:39:10 +09:00
Andrew Cantino
5daec862eb Merge pull request #766 from stvnrlly/master
Unzip compressed JSON
2015-04-25 12:56:56 -04:00
Dominik Sander
b863232429 Use ActiveJobs interface 2015-04-25 11:16:31 +02:00
Akinori MUSHA
a080a78eeb Allow user to clear memory of an agent
This closes #802.
2015-04-24 23:16:52 +09:00
Akinori MUSHA
cfe8482c0d Rework #770 to properly fix #749
The receiver for the const_defined?() was incorrect, and modifying the
whole line would render the definition of a constant *::Drop to be
omitted when *Drop was already defined.
2015-04-24 21:17:45 +09:00
stvnrlly
4b9535d70d make unzip specific to gzip to leave room for other methods 2015-04-24 00:04:33 -04:00
Andrew Cantino
04ec3a51e5 Merge pull request #787 from KimJungHun/fixes_typo
fixes two typo error
2015-04-13 20:30:56 -07:00
Andrew Cantino
12604a2564 Merge pull request #786 from KimJungHun/fix_typo
fix a typo
2015-04-13 20:30:44 -07:00
Colin Shea
1d3535d65a Make the jobs index test more representative
Fill in the handler YAML for the test jobs instead of using only dummy empty
jobs. 2 of the jobs are also customized -- one has been locked and the other
is a job scheduled, but then it's associated agent had been deleted.

Incorporates @dsander's review comments.
2015-04-13 03:05:49 -07:00
Colin Shea
48dcd72b74 Show the agent's name and user in the jobs panel
Fixes #779
2015-04-13 01:40:30 -07:00
KimJungHun
c39d17a94a fixes a typo 2015-04-13 08:33:55 +00:00
KimJungHun
0974495f42 fix a typo 2015-04-13 07:51:00 +00:00
KimJungHun
085853a4dd change description of webhook agent 2015-04-13 07:12:06 +00:00
Andrew Cantino
8b1bc3c59b integrate @dsander's suggestions 2015-04-12 20:58:38 -07:00
Andrew Cantino
fae3dbffb5 validate and test coffeescript 2015-04-12 13:26:04 -07:00
Andrew Cantino
312399cd9a Merge pull request #773 from cantino/webhook_agent_can_iterate
allow the webhook agent to loop over returned results if the payload_path points to an array
2015-04-12 13:17:34 -07:00
Andrew Cantino
5ea7e240f0 support coffeescript too 2015-04-11 21:35:34 -07:00
Andrew Cantino
d3564c18fd allow FormConfigurable text areas to be syntax highlighted; allow JavaScriptAgent to be dry run 2015-04-11 21:17:56 -07:00