Andrew Cantino
7cbd7e6ae3
Merge branch 'master' into twitter_is_optional_too
...
Conflicts:
Gemfile
2014-09-23 22:01:24 -07:00
Andrew Cantino
67fa336fb9
fix twitter bug
2014-09-23 21:59:48 -07:00
Andrew Cantino
fdf3565199
twitter agents can be disabled too
2014-09-23 21:22:03 -07:00
Andrew Cantino
ca0234b02d
refactor bin/setup_heroku so button users get admin accounts
2014-09-22 22:21:15 -07:00
Akinori MUSHA
53e2c8b4ed
Readd Spring fixing a problem with a git-sourced gem.
...
cf. #478
2014-09-16 18:22:02 +09:00
Akinori MUSHA
1245a1ec9f
Load huginn_scheduler first before each thread starts to auto-load files.
...
This should fix #501 .
2014-09-16 17:07:48 +09:00
Akinori MUSHA
8d3159a9f7
Introduce Spring for faster development.
2014-09-04 18:30:29 +09:00
Akinori MUSHA
6691e6db98
Support installation via Heroku button.
2014-08-27 19:32:01 +09:00
Akinori MUSHA
e3f9ac50a9
Enable Graphviz on Heroku.
...
Graphviz is installed via heroku-buildpack-graphviz-src and the location
of dot(1) is automatically added to PATH.
There is also heroku-buildpack-graphviz-deb which should be easier to
install, but the Debian package installed has a font style problem.
2014-08-08 21:22:21 +09:00
Andrew Cantino
0c63622eb2
exit when username is wrong
2014-07-18 20:38:33 -07:00
Andrew Cantino
8781fd16b5
try again
2014-07-18 19:23:18 -07:00
Andrew Cantino
e21c859dfc
Gemfile trickery for Heroku
2014-07-18 18:47:38 -07:00
Andrew Cantino
1f3553dddd
trying a custom buildpack to customize Procfile
2014-07-18 18:31:54 -07:00
Andrew Cantino
732d353517
add params to db/seed.rb; provide better heroku login detection
2014-07-16 23:09:39 -07:00
Andrew Cantino
f0697b6db2
heroku setup script
2014-07-15 22:29:30 -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
Maximilian Clarke
0f0208a608
Fixed timezones for scheduler
2014-05-04 08:27:51 +02:00
Andrew Cantino
b688c56c67
Merge branch 'master' into dsander-rails41
...
Conflicts:
Gemfile
2014-04-24 12:58:09 -05:00
Akinori MUSHA
f059af6f81
Add a schedule every_1m
.
2014-04-22 09:31:58 +09:00
Dominik Sander
b7b3460fd3
Update to rails 4.1
2014-04-18 23:55:15 +02:00
Andrew Cantino
6e386c2ba2
Merge branch 'master' of github.com:cantino/huginn
2014-02-09 17:24:11 -08:00
Andrew Cantino
0370814254
reduce pause
2014-02-09 17:23:59 -08:00
Andrew Cantino
ff758cc679
move user credentials to a primary route, update twitter agents and background job
2014-02-01 14:01:27 -08:00
Andrew Cantino
d7d2bfe7d2
add documentation
2014-01-09 14:26:46 -08:00
Andrew Cantino
fa492b75c8
Merge pull request #104 from cantino/transactionally_schedule
...
Add better event handling (expiration) and transactions
2013-11-23 21:17:59 -08:00
Andrew Cantino
ed5cb4ca2f
fix stream to work with filter groups
2013-11-07 22:47:58 -08:00
Andrew Cantino
86bcc465a4
allow events to expire; fix spec
2013-11-05 00:31:58 -08:00
Andrew Cantino
f32c6f0f7c
add a transaction around event receiving
2013-11-04 22:28:32 -08:00
Andrew Cantino
0dcee80cba
use TwitterConcern in the twitter_stream_agent; cleanup unused memory; add specs
2013-11-04 21:03:13 -08:00
KenYN
9991825d56
Handle rufus_scheduler v3 also
...
Stop rufus_scheduler v3 leaking ActiveRecord handles. See [this StackOverflow answer for details](http://stackoverflow.com/a/19380690/1270789 ).
rufus_scheduler v3 [deprecated `start_new`](https://github.com/jmettraux/rufus-scheduler/blob/master/lib/rufus/scheduler.rb#L120 ), so instead I call `new`. In [v2.0.22 this creates a `PlainScheduler`](82b70feeb2/lib/rufus/scheduler.rb (L33)
), but fortunately the defaults that Huginn uses means that `start_new` in v2.0.22 also creates a `PlainScheduler`.
2013-10-21 12:17:08 +09:00
Andrew Cantino
1bc8a3bc05
fix the twitter stream agent. It requires OAuth credentials now.
2013-07-19 23:38:36 -07:00
Andrew Cantino
3692041bb3
typo
2013-03-30 14:20:17 -07:00
Andrew Cantino
fead62f41d
ignore empty filter tokens
2013-03-30 14:15:30 -07:00
Andrew Cantino
620acffa5a
initial commit
2013-03-09 22:36:12 -08:00