Commit graph

1479 commits

Author SHA1 Message Date
Johannes Engelke | hybris
0c9c08168c Huginn cloudfoudnry compatible 2015-03-20 23:01:15 +01:00
Andrew Cantino
45eade1825 Merge pull request #739 from albertsun/devise-email-from
Have devise send mail from the ENV['EMAIL_FROM_ADDRESS'] address
2015-03-19 13:26:45 -07:00
Albert Sun
57b6b0ec0a have devise pick up email from ENV 2015-03-19 15:56:36 -04:00
Andrew Cantino
2a99614919 Merge pull request #735 from HyeongBaeYu/huginn_patch
Fix validation issue of Get url maximum length
2015-03-18 22:33:44 -07:00
Andrew Cantino
ad690ef2e9 Merge pull request #737 from elijah/master
Update roles to the current recipe names so that 'vagrant up' works out of the box.
2015-03-18 22:25:31 -07:00
Elijah Wright
703b091d1e Merge pull request #1 from elijah/elijah-patch-1
Add 'ark' cookbook to Cheffile - required by the modern versions of incl...
2015-03-18 11:53:03 -05:00
Elijah Wright
bb92a7980f Update role to change from nodejs::install_from_binary to the ::nodejs_from_binary found in the current cookbook. 2015-03-18 11:47:31 -05:00
Elijah Wright
c245c33a36 Change name of the nodejs::install_from_binary recipe to the ::nodejs_from_binary found in the current nodejs cookbook. 2015-03-18 11:46:43 -05:00
Elijah Wright
8cb2bc8e9e Add 'ark' cookbook to Cheffile - required by the modern versions of included cookbooks. 2015-03-18 11:45:12 -05:00
HyeongBae Yu
fcb68ccb0b Reflection of code style
Thanks cantino for advice.
I added spaces around the equal sign for code style.
2015-03-18 17:07:41 +09:00
Akinori MUSHA
38c53ba091 Merge pull request #596 from knu/agent_dry_runnable
Add a "Dry Run" feature to the Agent form.
2015-03-17 18:24:21 +09:00
HyeongBae Yu
e0c33f7e3f Update dot_helper.rb
opps! It's my mistake. I fixed it.
2015-03-16 10:32:49 +09:00
Akinori MUSHA
880bf17036 Minor-update some gems: liquid, nokogiri and spring.
- liquid to 2.6.2 to remove a duplicated key warning.
- nokogiri to 1.6.6.2 to fix a problem with :nth(n) selector, etc.
- spring to 1.3.3 to fix a problem with rbenv.
2015-03-15 18:37:23 +09:00
Akinori MUSHA
f4a177debe Factor out dynamic modal dialog creation into Utils.showDynamicModal(). 2015-03-15 17:33:59 +09:00
Akinori MUSHA
ba73dd4c8f Make dry_run! mark the object as readonly!. 2015-03-15 15:16:42 +09:00
Akinori MUSHA
45ab179cc7 Do not show a "Dry Run" button when editing a non-dry-runnable agent. 2015-03-15 15:12:20 +09:00
Akinori MUSHA
86088e3fcf Handle Ajax call failure in dry-run. 2015-03-14 04:54:53 +09:00
Akinori MUSHA
05f98cac61 Show error messages when trying to dry-run an invalid agent. 2015-03-14 04:54:34 +09:00
Akinori MUSHA
979f803759 Add a "Dry Run" feature to the Agent form.
User can test if an agent being saved will work as expected simply by
clicking the "Dry Run" button, which opens up a modal window that shows
dry-run results including log, events and memory.  Resolves #593.

The current implementation only allows dry-run of Agents that do not
require an incoming event to be run.

Also, each Agent class must opt in for this feature by declaring
themselves as `can_dry_run!`.  To begin with, only WebsiteAgent is
marked as dry-runnable for now.
2015-03-14 04:52:44 +09:00
hbywoo
3abc91956e Fix validation issue of Get url maximum length 2015-03-13 10:31:05 +09:00
Andrew Cantino
0ff1c95ab7 Merge pull request #734 from cantino/object_logging
allow logging of any object by inspecting non-strings
2015-03-11 13:08:24 -10:00
Andrew Cantino
26a8e49581 Merge pull request #725 from albertsun/master
bump weibo_2 and rest-client dependency
2015-03-02 09:58:09 -08:00
Albert Sun
3d6fa3678b bump weibo_2 and rest-client dependency 2015-03-02 09:24:45 -05:00
Dominik Sander
8162c61c44 Merge pull request #723 from dsander/ruby-2.2
Support ruby 2.2 and drop ruby 1.9.3
2015-03-01 21:13:58 +01:00
Dominik Sander
7c43c6efa0 Ruby 1.9.3 and add ruby 2.2.0 support 2015-02-28 13:54:10 +01:00
Dominik Sander
da77a8a333 Merge pull request #711 from dsander/pushbullet-unification
Pushbullet pull request unification
2015-02-25 22:52:56 +01:00
Akinori MUSHA
7c6224d7eb Do not refer to AbstractMysqlAdapter for checking the connection adapter type. 2015-02-25 19:06:43 +09:00
Andrew Cantino
cc9680f045 Merge pull request #715 from KimJungHun/patch-1
Update agents_controller.rb
2015-02-24 18:08:43 -08:00
Dominik Sander
0b979dd1c0 PushbulletAgent moved device creation to a before_validation callback 2015-02-24 20:26:31 +01:00
KimJungHun
bfcec46e45 Update agents_controller.rb
I don't consider if the @agent variable is not present.
So I changed it again.
2015-02-24 19:29:13 +09:00
KimJungHun
b939a27526 Update agents_controller.rb
"@agent.destroyed?" is more simple and obvious than "message.include?("deleted")"
2015-02-24 17:59:00 +09:00
KimJungHun
073b80a5cc Update agents_controller.rb
When user stay agent details page, user can use action.

But user use "Delete agent" action, then exception error is occurred.

When action of "Delete agent" run, destory is called, it call "redirect_back".

Although @agent is destroyed, redirect_back used "path = agent_path(@agent)" .

So I add for this case.

if message include "deleted", redirect_back is called by destroy.

then redirect_back use "path = agents_path".
2015-02-24 15:49:47 +09:00
Dominik Sander
c7b4c4260f PushbulletAgent validate and autocomplete options
It will also register a new device if the device_id option is not set
2015-02-23 23:41:15 +01:00
Andrew Cantino
5c9b6b72b4 Merge pull request #714 from bennlich/patch-1
Add Develop section, add link in We need your help
2015-02-23 13:24:56 -08:00
Benny Lichtner
70d7e2822b Add Develop section, add link in We need your help 2015-02-22 18:19:21 -08:00
Andrew Cantino
7ee3c01690 allow logging of any object by inspecting non-strings 2015-02-22 14:39:11 -08:00
Andrew Cantino
8a0c95bdf0 update RSSAgent doc 2015-02-22 14:23:56 -08:00
Dominik Sander
eee268a920 Made Pushbullet agent form configurable and validate additional fields 2015-02-21 21:49:07 +01:00
Dominik Sander
b8e12e2413 PushbulletAgent code refactoring 2015-02-20 00:14:48 +01:00
Dominik Sander
9902c2313c Added migration for existing PushbulletAgents and fixed the specs 2015-02-19 23:47:39 +01:00
Christian Berendt
80799bf14e [pushbullet] use API version 2 2015-02-19 22:31:18 +01:00
Christian Berendt
9edbf18422 [pushbullet] add support for further message types
There are more usable message types documented at
https://docs.pushbullet.com/v2/pushes/.
2015-02-19 22:31:05 +01:00
Christian Berendt
6d916534ae [pusbullet] add a note how to register a new device 2015-02-19 22:30:42 +01:00
Dominik Sander
0fe0b46dc6 Merge pull request #709 from dsander/liquid-line-break-filter
Added line_break tag to insert \n into liquid interpolated string
2015-02-18 22:58:40 +01:00
Dominik Sander
66b4adad9a Added line_break tag to insert \n into liquid interpolated string 2015-02-17 23:52:19 +01:00
Akinori MUSHA
2352896442 Upgrade spring to 1.3.2 and undo our local patch. 2015-02-16 17:59:03 +09:00
Andrew Cantino
b3952da030 Update README.md 2015-02-11 18:43:27 -08:00
Andrew Cantino
617ee0981a Merge pull request #704 from brock/human-task
Amazon Turk -> HumanTask
2015-02-11 18:42:31 -08:00
Brock Angelo
1eddc5c7a8 per gitter chat, AWS Turk is called a HumanTaskAgent 2015-02-11 20:32:37 -06:00
Andrew Cantino
5fe20e0f40 Merge pull request #701 from cantino/semicolon_passwords
Escape passwords going into Heroku & default some setup questions
2015-02-08 20:12:26 -08:00