Commit graph

155 commits

Author SHA1 Message Date
Umar M. Sheikh
afcffeea92 working implementation. now the arguments to the js code are passed correctly, the rest is the work of the js code 2014-01-27 19:58:09 +05:00
Umar M. Sheikh
746c092d51 initial work on the code agent, almost works! 2014-01-24 18:04:31 +05:00
Andrew Cantino
638248b1d1 Merge branch 'master' of github.com:cantino/huginn 2014-01-21 20:39:58 -08:00
Andrew Cantino
7c5b4ff969 fix default log length spec 2014-01-21 20:39:49 -08:00
Albert Sun
18595b0760 blank? -> present? 2014-01-21 15:45:47 -05:00
Albert Sun
7996954a3b add a basic_auth option to the website agent 2014-01-21 15:36:33 -05:00
Wong Liang Zan
e4aa7f6f16 method name mistake 2014-01-19 11:47:16 +08:00
Umar M. Sheikh
7da404bdbc should move this to another branch and create another pr 2014-01-16 14:52:48 +05:00
Umar M. Sheikh
1ad6cdffc9 Merge branch 'master' of github.com:singular0/huginn into singular0-master
Conflicts:
	Gemfile.lock
2014-01-15 19:03:50 +05:00
Umar M. Sheikh
f104ce335c specs for the public transport agent 2014-01-14 20:32:06 +05:00
Umar M. Sheikh
f7f10656d0 finally working version after fixing hash access issues 2014-01-14 18:59:46 +05:00
Umar M. Sheikh
8d2521208b use strings in hash keys, cleanup old memory 2014-01-14 15:09:05 +05:00
Umar M. Sheikh
77c623b28e use typhoeus instead of patron 2014-01-14 14:48:48 +05:00
Umar M. Sheikh
406d26569d proper formatting 2014-01-14 14:37:36 +05:00
Umar M. Sheikh
a5dcfd3ced description changes 2014-01-13 19:43:00 +05:00
Umar M. Sheikh
c77af0e07e cleanup 2014-01-13 19:34:22 +05:00
Umar M. Sheikh
667d8d022c Working public transport agent, currently works for san francisco muni by default configuration 2014-01-13 18:54:39 +05:00
Andrew Cantino
d7d2bfe7d2 add documentation 2014-01-09 14:26:46 -08:00
Andrew Cantino
276d5936ec update Agent#events_count when events are expired 2014-01-05 00:43:29 -08:00
Andrew Cantino
c4c1a53942 remove duplicate method 2014-01-01 15:50:25 -08:00
Andrew Cantino
9c48338347 fix specs 2014-01-01 14:47:59 -08:00
Andrew Cantino
580ce8a083 Merge remote-tracking branch 'origin/master' into add_keep_events_for_to_agents
Conflicts:
	CHANGES.md
	app/models/agent.rb
2014-01-01 13:43:07 -08:00
Andrew Cantino
6a276e0d76 add new JSONSerializedField Concern and better specs around handling of json string assignment to memory and options 2013-12-29 22:28:10 -08:00
Andrew Cantino
d4703f7acd Merge remote-tracking branch 'origin/optimizations' into do_not_symbolize 2013-12-29 22:26:52 -08:00
Andrew Cantino
73e8406d4f Merge branch 'master' into do_not_symbolize
Conflicts:
	app/models/agents/human_task_agent.rb
	spec/models/agents/human_task_agent_spec.rb
2013-12-29 12:45:45 -08:00
Andrew Cantino
5461ec3d2f Merge pull request #98 from cantino/human_task_agent_makes_polls
HumanTaskAgent can now validate answers with a poll
2013-12-29 12:07:50 -08:00
Andrew Cantino
91c82741e5 add validation and updating of existing event's expires_at values 2013-12-29 11:14:05 -08:00
Andrew Cantino
00b7423dd7 add cached columns for event creation and last errors, reducing the number of SQL queries 2013-12-26 20:15:29 -05:00
Andrew Cantino
bca562513b Only load the fields we need for the autocomplete. 2013-12-26 18:49:15 -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
77882908c4 in order to avoid leaking memory, remove all symbolization 2013-12-22 15:36:29 -08:00
Andrew Cantino
229e24ea80 add keep_events_for as an optional field for agents to decide how long to store events 2013-12-22 14:30:02 -08:00
j-wilkins
dff2bc68f4 configurable webhook payload , update description, improve tests 2013-12-20 22:41:54 -10:00
j-wilkins
66054f92c0 a webhook agent to create events from webhooks. 2013-12-18 21:03:34 -10:00
Albert Sun
1f7dee3c72 renaming EventEmailAgent to EmailAgent 2013-12-11 19:28:27 -05: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
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
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
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