Commit graph

270 commits

Author SHA1 Message Date
Andrew Cantino
bca562513b Only load the fields we need for the autocomplete. 2013-12-26 18:49:15 -05:00
Andrew Cantino
21c0e5911d transform and clean utf-8 2013-12-26 18:36:09 -05:00
Andrew Cantino
ba0967e449 puts 2013-12-25 00:08:39 -05:00
Andrew Cantino
a408ae48ea globally avoid using symbols since we're moving to json storage 2013-12-24 17:37:26 -05:00
Andrew Cantino
ec32d7f979 switch from yaml to json serialization 2013-12-23 00:54:20 -05:00
Andrew Cantino
77882908c4 in order to avoid leaking memory, remove all symbolization 2013-12-22 15:36:29 -08:00
Andrew Cantino
21ccd6cc52 cleanup failed delayed_jobs by default (for table speed) 2013-12-22 14:32:35 -08:00
Andrew Cantino
744ec91b37 Merge pull request #114 from albertsun/event-email-agent
Event email agent
2013-12-12 11:07:18 -08:00
Albert Sun
1f7dee3c72 renaming EventEmailAgent to EmailAgent 2013-12-11 19:28:27 -05:00
Andrew Cantino
d6ef4c7f85 Merge pull request #112 from kyzh/patch-1
Add a mention to IRC channel, resolve #70 ?
2013-12-11 16:18:07 -08:00
Albert Sun
3ea7b322ff pull some email logic into an EmailConcern 2013-12-11 18:22:27 -05:00
Albert Sun
fa1fd0b04d adding an event_email_agent which immediately sends emails instead of queueing them 2013-12-11 15:47:30 -05:00
Albert Sun
53bd992279 have digest email log out event ids 2013-12-11 15:46:02 -05:00
Florentin Raud
b3b2910074 Add a mention to IRC channel, resolve #70 ?
Just a stanza to mention IRC channel.
I would actually join the channel earlier if i knew there was one before browsing the open issues.

That should improve the community community around the project
2013-12-11 12:59:42 +00:00
Andrew Cantino
4a9714fc90 Merge pull request #109 from bitdeli-chef/master
Add a Bitdeli Badge to README
2013-12-02 22:32:51 -08:00
Bitdeli Chef
5acb488967 Add a Bitdeli badge to README 2013-12-03 06:33:11 +00:00
Andrew Cantino
35cab738eb Merge branch 'master' of github.com:cantino/huginn 2013-11-23 21:26:02 -08:00
Andrew Cantino
2a427902d3 update to ruby 2.0 in example deployment file 2013-11-23 21:25:54 -08:00
Andrew Cantino
9157a2a190 Merge pull request #106 from cantino/refactor_peak_detecter
Update PeakDetectorAgent
2013-11-23 21:20:30 -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
39ffa2fcee Merge pull request #103 from cantino/refactor_twitter_stream
Cleanup TwitterStreamAgent and add specs
2013-11-23 21:17:24 -08:00
Andrew Cantino
97971d9385 Merge branch 'master' of github.com:cantino/huginn 2013-11-23 21:14:14 -08:00
Andrew Cantino
c2ecac2e1e bump ruby version to avoid cve-2013-4164 2013-11-23 21:14:04 -08:00
Andrew Cantino
a58ed91ba6 Merge pull request #107 from albertsun/full-json-website-agent
Website Agent Improvement
2013-11-22 22:41:10 -08:00
Albert Sun
f0741359a6 DRYed up website_agent code a bit 2013-11-22 18:14:55 -05:00
Albert Sun
43194c3c1b in website agent with type json, allow extract to be blank; in which case, the entire json object will be stored as the payload 2013-11-22 13:19:00 -05:00
Andrew Cantino
ed5cb4ca2f fix stream to work with filter groups 2013-11-07 22:47:58 -08:00
Andrew Cantino
aa8cea24de updated deployment with branch 2013-11-06 23:46:44 -08:00
Andrew Cantino
7526f01ba4 Update PeakDetectorAgent options and change it so that it detects peaks on the rise instead of fall. 2013-11-06 23:38:56 -08:00
Andrew Cantino
a2486b6785 allow filter aliases (groups) 2013-11-05 23:57:08 -08:00
Andrew Cantino
484e1210c3 add expires_at as attr_accessible 2013-11-05 20:54:12 -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
Andrew Cantino
8d864c4a0b Merge pull request #101 from albertsun/concerns
Using ActiveSupport::Concerns with agents
2013-10-27 21:55:56 -07:00
Andrew Cantino
afff903283 bump rufus scheduler 2013-10-27 14:17:23 -07:00
Andrew Cantino
51d67a9624 Merge pull request #100 from KenYN/master
Handle rufus_scheduler v3 also
2013-10-27 14:10:34 -07:00
Albert Sun
bf54542242 make TwitterUserAgent and TwitterPublishAgent share a TwitterConcern 2013-10-26 17:32:06 -04:00
Albert Sun
88043dc348 starting a concerns pattern with a WeiboConern. concerns can encapsulate common functionality between related agents 2013-10-26 17:17:02 -04: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
e71ed7ffbd Merge pull request #97 from albertsun/actionmailer-config
moving mail config into an initializer and a config/smtp.yml file
2013-10-05 00:14:48 -07:00
Andrew Cantino
403db15b35 Fix a bug where JSON was lost when saving invalid options 2013-09-30 21:42:20 -07:00
Albert Sun
9874e2b41a moving mail config into an initializer and a config/smtp.yml file 2013-09-27 01:15:28 -04:00
Andrew Cantino
f8744cb89a Merge pull request #96 from albertsun/asset-deploys
Asset deploys
2013-09-25 21:56:14 -07:00
Albert Sun
0481c17dac updated based on comments from cantino 2013-09-24 23:38:10 -04:00
Albert Sun
198708baa5 adding ASSET_HOST config and a staging environment file 2013-09-24 12:43:55 -04:00
Albert Sun
dd630a95e4 moving things out of assets group in gemfile 2013-09-24 12:21:41 -04:00
Albert Sun
a521695d6c initialize_on_precompile to false for asset compile 2013-09-24 12:17:38 -04:00
Andrew Cantino
9fb53c4f64 silence a log 2013-09-07 21:03:21 -07:00
Andrew Cantino
22e950214b cleanup HITs when they have been reviewed 2013-09-07 20:52:57 -07:00