Commit graph

1490 commits

Author SHA1 Message Date
Johannes Engelke | hybris
7cbd714ad4 Added comment to manifestfile 2015-03-21 08:25:32 +01:00
Johannes Engelke | hybris
7cd6354967 Cleand up CF config 2015-03-21 00:24:10 +01:00
Johannes Engelke | hybris
8380bbc534 Added static file env variable 2015-03-20 23:17:51 +01:00
Johannes Engelke | hybris
0d03221acb Merge remote-tracking branch 'origin'
Conflicts:
	config/environments/production.rb
2015-03-20 23:16:46 +01:00
Johannes Engelke | hybris
8568545055 Added DB service 2015-03-20 23:03:38 +01:00
Johannes Engelke | hybris
0c9c08168c Huginn cloudfoudnry compatible 2015-03-20 23:01:15 +01:00
Akinori MUSHA
1093275068 Instruct how to write a case sensitive regex pattern. (#741) 2015-03-21 02:08:48 +09:00
Dominik Sander
b43ba8166f Merge pull request #720 from dsander/rails-4.2
Upgrade to rails 4.2
2015-03-20 15:37:44 +01:00
Dominik Sander
192dcceaeb Upgrade rails to 4.2.1 2015-03-19 22:31:49 +01:00
Dominik Sander
0daea40bdf On postgres queries without an ORDER are ordered randomly, this caused
random spec failures
2015-03-19 22:24:43 +01:00
Dominik Sander
0ad7ea7fd9 Upgrade to rails-4.2.1rc2
Rails 4.2 introduced precision of datetime files for mysql >= 4.6,
however in 4.2.0 the rounding was broken rails/rails!18067 fixes that.
2015-03-19 22:24:43 +01:00
Dominik Sander
2ece339c42 Upgrade to rails 4.2 2015-03-19 22:21:50 +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