Commit graph

94 commits

Author SHA1 Message Date
Dominik Sander
cec02c1bd6 Use runit instead of upstart as init system 2015-08-19 00:13:45 +02:00
Dominik Sander
0e4c9be723 First version of the manual deployment guide 2015-08-19 00:13:44 +02:00
Akinori MUSHA
51e8414257 Retire lib/prepend.rb
We do not support Ruby 1.9 any more.
2015-08-01 16:55:04 +09:00
Akinori MUSHA
8c2b11a567 Make TupleSorter#sort! never fail
If comparison of two objects fails, they are compared as strings.
2015-07-30 02:06:56 +09:00
Akinori MUSHA
06554eaf31 Implement Utils.sort_tuples! for user-defined sorting 2015-07-22 23:13:40 +09:00
Akinori MUSHA
66e72eff75 Do not activate the emulation of Module#prepend on ruby 2.0 2015-07-22 23:13:14 +09:00
Andrew Cantino
9ad49fbf03 Merge remote-tracking branch 'origin/master' into scenarios_contain_control_links 2015-07-20 20:50:38 -07:00
Andrew Cantino
e0fe5aafb4 scenarios can contain control links 2015-07-18 23:07:50 -04:00
Andrew Cantino
4f319a3ab4 Merge branch 'master' of https://github.com/stvnrlly/huginn into stvnrlly-master 2015-07-16 18:20:37 -04:00
Akinori MUSHA
4eedbe72b8 Strip generated PNG images of metadata 2015-06-05 07:26:37 +09:00
Akinori MUSHA
b737a77674 Restore support for Ruby 1.9 2015-06-05 07:25:58 +09:00
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
b31a0ec3e7 fix specs and add support for translation in Scenario exports 2015-05-25 11:38:51 -07:00
stvnrlly
0d7069adbf more work on cleanup time 2015-05-11 08:24:21 -04:00
stvnrlly
855799d355 make cleanup time fully configurable 2015-05-07 08:14:16 -04:00
stvnrlly
9a5e22a857 env option to allow frequent event expiration, fixes #765 2015-04-25 23:18:08 -04:00
Akinori MUSHA
f576664046 Make sure to enable ar_mysql_column_charset when running rake db:create. 2015-02-25 19:07:03 +09:00
Akinori MUSHA
a621a19f2f Apply monkey patching only after loading a MySQL adapter. 2015-02-25 19:07:03 +09:00
Andrew Cantino
a475066a08 escape passwords going into Heroku; default some questions 2015-02-08 14:13:54 -08:00
Akinori MUSHA
457b301a1b Adjust the database collation as well as charset. 2014-12-01 23:52:54 +09:00
Andrew Cantino
2ea63f7acb Merge pull request #612 from cantino/commander_agent_can_configure
Commander agent can configure
2014-11-07 15:05:28 -06:00
Chris Eidhof
c278edb686 Made latlng accessible to liquid 2014-11-05 18:13:55 +01:00
Andrew Cantino
225d73aca3 Merge branch 'master' into openshift2
Conflicts:
	bin/setup_heroku
2014-11-02 14:31:36 -08:00
Andrew Cantino
5bbb13a406 Allow CommanderAgents to configure targets. 2014-11-02 13:33:10 -08:00
Akinori MUSHA
15484db084 Make the scheduler frequency tunable via ENV. 2014-10-09 19:49:17 +09:00
Andrew Cantino
cffd6dc48a Merge remote-tracking branch 'origin/master' into openshift2
Conflicts:
	bin/setup_heroku
2014-10-05 01:26:04 -07:00
Andrew Cantino
b071f6170d openshift setup is working 2014-10-05 01:13:47 -07:00
Andrew Cantino
c550336f3d correct dependency check on GoogleCalendarPublishAgent 2014-10-03 22:33:40 -07:00
Andrew Cantino
358af4b7a2 Merge pull request #552 from cantino/ignore_duplicate_keywords
remove duplicate filter keywords
2014-10-03 20:22:27 -07:00
Akinori MUSHA
41eb277475 Create database in utf8 even if DATABASE_ENCODING is utf8mb4.
This is because we specify the `utf8mb4` charset in some of the columns
and expect others to be defaulted to `utf8`.

I'd like to make this a feature of `ar_mysql_column_charset`.  If you
want to set a table charset, you can always pass a keyword option
`options: "default charset=utf8mb4"` to `create_table`.

Complements #414.
2014-10-01 21:32:23 +09:00
Andrew Cantino
492888ffd6 remove duplicate filter keywords 2014-09-27 10:07:52 -07:00
Andrew Cantino
fdf3565199 twitter agents can be disabled too 2014-09-23 21:22:03 -07:00
Andrew Cantino
eb52eeeeea experimental branch to support using fewer gems for saving RAM 2014-09-21 17:53:04 -07:00
Akinori MUSHA
10adab94db Avoid __send__. 2014-09-21 12:42:12 +09:00
Akinori MUSHA
dd507e3cbf Make Event's location accessible from Liquid templates. 2014-09-19 21:57:45 +09:00
Akinori MUSHA
1406f37d48 Add Event#location= and make location an accessible attribute.
Add long aliases for lat and lng to Location.
2014-09-19 21:16:35 +09:00
Akinori MUSHA
b25142e793 Introduce a Location class. 2014-09-19 19:06:55 +09:00
Akinori MUSHA
10ce9d598b Merge remote-tracking branch 'knu/scheduler_agent'
Conflicts:
	db/schema.rb
	spec/lib/huginn_scheduler_spec.rb
2014-09-08 17:03:14 +09:00
Dominik Sander
ad25568003 Sort queued jobs by next run time, allow to queue failed jobs 2014-09-07 13:28:08 +02:00
Akinori MUSHA
8dc5244e6e Merge remote-tracking branch 'origin/master' into scheduler_agent
Conflicts:
	db/schema.rb
2014-09-03 16:59:57 +09:00
Akinori MUSHA
77f03da94c Parenthesize the argument. 2014-09-03 14:25:53 +09:00
Akinori MUSHA
53eb531f50 Set a created job's scheduler_agent_id before it is first triggered. 2014-09-03 13:22:11 +09:00
Dominik Sander
250a244de5 Added specs for the HuginnScheduler 2014-09-01 00:41:53 +02:00
Dominik Sander
f27b6c5c21 Just keep the most recent 100 failed jobs + small improvements 2014-08-31 10:04:23 +02:00
Akinori MUSHA
806e41dd4c Merge branch 'master' into scheduler_agent
Conflicts:
	app/helpers/agent_helper.rb
	db/schema.rb
2014-08-27 23:57:45 +09:00
Akinori MUSHA
857b8ea969 Merge remote-tracking branch 'origin/master' into set_charset_for_mysql
Conflicts:
	db/schema.rb
2014-08-27 13:06:21 +09:00
Akinori MUSHA
66d1ac07c8 Fall back utf8mb4 to utf8 if the server does not support it. 2014-08-25 15:18:24 +09:00
Akinori MUSHA
59482ee937 Add support for Ruby 1.9.x. 2014-08-25 15:18:24 +09:00
Akinori MUSHA
db792cdd82 Set charset/collation properly for each text column if using MySQL.
With this change, Huginn is able to store up to 4-byte UTF-8 characters
in its database.  This should fix #286.
2014-08-25 15:18:24 +09:00
Akinori MUSHA
f6d19661ce Store an agent ID in the local storage rather than stashing it in a tag. 2014-08-22 16:05:45 +09:00