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
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
Akinori MUSHA
e9fa1f2032
Add SchedulerAgent, which periodically runs other agents.
2014-08-22 00:17:52 +09:00
Guilherme J. Tramontina
8b8fdb5f56
Export/import scenario tag colors.
2014-08-20 03:03:29 -03:00
Dominik Sander
d529872e37
TwitterStream bugfixes
...
* do not run disabled `TwitterStreamAgents`
* calling `sleep` within the EM loop blocks the EM thread and thereby
blocks the reload callback and proper shutdown of the threaded worker
* stopping the EM loop from outside of the `EM.run` blocks does not seem
to work reliably, using a timer and checking if shutdown was requested
works as expected
* removed unnecessary sleep at the end of the EM loop which would delay
the shutdown of the thread
2014-08-17 15:22:49 +02:00
Daniel O'Connor
62e36d85cc
Pass spec
2014-06-29 02:56:03 +09:30
Daniel O'Connor
604581cf7e
Add a service account based helper library for publishing google calendar events.
2014-06-28 23:44:48 +09:30
Andrew Cantino
827b62356a
the import process now allows you to merge your agents with the incoming ones; next step is better UI
2014-06-08 23:37:15 -07:00
Andrew Cantino
f3ffb33a7d
Merge remote-tracking branch 'origin/master' into scenarios
2014-06-07 12:26:18 -07:00
Andrew Cantino
64564eb120
Importing of Scenarios now works, creating any needed Agents by global guid
2014-06-04 22:26:56 -07:00
Dominik Sander
a505a1c211
Merge branch 'master' into threaded-background-workers
2014-06-01 12:12:42 +02:00
Andrew Cantino
663250227d
allow exporting of a set of Agents with their links from a Scenario; Scenario guid is now generated and copied to export, as well as a source link when public
2014-05-31 23:36:33 -07:00
Dominik Sander
8a51dbc4bd
Provide an optional threaded background worker
...
Due to the three background workers (scheduler, twitter stream and delayed job)
huginn needs a lot of memory to run (about 520MB on my dev machine). This PR
introduces an optional threaded background worker which combines the three current
separated processed into one (reducing the memory footprint to ~260MB).
Since just one instance of the of every background processor is running at a time
there should not be any threading related issues.
The main gotcha of this is, that it's most likely not possible to run multiple
delayed job workers concurrently. The ultimate solution would probably be switching
to sidekiq with sidetiq as scheduler, but that is a different task :)
When running on MRI the GIL should not be an issue because it is released for most IO
bound operations (waiting for the database/website/sleeping).
2014-05-12 00:28:07 +02:00
Dominik Sander
da8a2e9682
Merge remote-tracking branch 'huginn/master' into liquid-templating
2014-05-06 10:56:43 +02:00
Dominik Sander
56324c87e2
Migrated HumanTask, Trigger and PeakDetectorAgent to Liquid
...
Made LiquidInterpolatable#interpolate_options recursive
Really interpolate the `message` options attribute of the PeakDetectorAgent
Merged all previous liquid migrations into one new migration
Added support for the `Agent#make_message` format to the liquid migrator
2014-05-06 10:50:20 +02:00