Commit graph

1638 commits

Author SHA1 Message Date
Andrew Cantino
5b54cded24 Merge pull request #164 from cantino/Alex-Ikanow-website_deduplication_improvement
Alex ikanow website deduplication improvement
2014-02-12 21:00:22 -08:00
Andrew Cantino
d2d36a37f4 Merge pull request #163 from cantino/javascript-agent
Javascript agent
2014-02-12 20:59:19 -08:00
Andrew Cantino
457020a0ab update doc [ci skip] 2014-02-11 22:55:40 -08:00
Andrew Cantino
0ad347c378 default is all 2014-02-11 21:58:12 -08:00
Andrew Cantino
c29c8aa260 minor documentation 2014-02-10 23:13:07 -08:00
Andrew Cantino
f4bae10250 minor code cleanup 2014-02-10 23:08:45 -08:00
Andrew Cantino
668240914f Merge branch 'website_deduplication_improvement' of https://github.com/Alex-Ikanow/huginn into Alex-Ikanow-website_deduplication_improvement 2014-02-10 22:33:00 -08:00
Andrew Cantino
99f37f60bc minor code cleanup 2014-02-10 22:32:00 -08:00
Andrew Cantino
c043a40868 add Ace editor for editing JavaScript in credentials 2014-02-09 23:16:52 -08:00
Andrew Cantino
62b60d1413 allow credentials to provide the code 2014-02-09 21:41:26 -08:00
Andrew Cantino
e8260ee61e add basic JavaScriptAgent 2014-02-09 14:08:18 -08:00
Andrew Cantino
42c70af52a Merge branch 'code-agent' of https://github.com/umarsheikh/huginn into umarsheikh-code-agent 2014-02-06 15:28:56 -08:00
Alex Piggott
3f4e4b7531 #154 Fixed indentation (website deduplication improvements)
Pesky siren tab key calling out to me as I type!
2014-02-06 10:54:14 -05:00
Alex Piggott
b1898cc7ff #154 Improvements to website deduplication logic
as discussed with @cantino
2014-02-06 10:47:38 -05:00
Umar M. Sheikh
e86e052a71 remove the run method as it is no longer needed, and redo explanation 2014-02-04 15:25:31 +05:00
Joseph Scavone
c678e93939 Added ForecastIO agent 2014-02-02 20:46:03 -06:00
Umar M. Sheikh
c2e2704306 provide both a check method and a receive method in js 2014-02-02 15:39:53 +05:00
Umar M. Sheikh
2188f3a72e Merge branch 'master' into code-agent 2014-02-02 15:12:41 +05: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
bf7d3dc859 Merge branch 'user-credentials' of https://github.com/umarsheikh/huginn into umarsheikh-user-credentials
Conflicts:
	db/schema.rb
2014-02-01 10:26:56 -08:00
Umar M. Sheikh
e7e3b852c5 remove testing code, no need to now pass memory as parameter, see prev commit 2014-01-31 17:41:37 +05:00
Umar M. Sheikh
0315576a79 now, the memory behaves dynamically, still to remove testing code 2014-01-31 17:39:38 +05:00
Umar M. Sheikh
7d0f1da488 intermediate commit to get access to memory using ruby lambda 2014-01-31 17:09:55 +05:00
Alex Piggott
7b38df61ed #135 #141 2 deduplication fixes for the website agent
Fix 1) #135 update events' expiry date on deduplication

Previously events would age out even when being de-duplicated
frequently, resulting in spurious identical events making their way to
the next agent in the pipeline. This isn't the most efficient code (same
as previously), but not worth optimizing further until we've decided
what to do with a more generic deduplication module

Fix 2) #135 set deduplication "look back" to be configurable (and
default to a large number)

I think this is preferable default behavior? Potential performance
issues should be addressed via an efficient deduplication library using
indexed DB fields
2014-01-30 16:57:22 -05:00
Albert Sun
1eb5892435 peak detector text shouldn't say "tweets" 2014-01-30 16:18:31 -05:00
Umar M. Sheikh
ca60b7d409 code refactor to remove repetition 2014-01-28 15:16:14 +05:00
Umar M. Sheikh
0f1490452c a working code agent 2014-01-28 15:02:13 +05:00
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
87293e2788 refactor to remove rescue 2014-01-27 16:02:09 +05:00
Umar M. Sheikh
746c092d51 initial work on the code agent, almost works! 2014-01-24 18:04:31 +05:00
Umar M. Sheikh
dcffc71732 now agents repond to credential method call, and specs 2014-01-23 16:55:34 +05:00
Umar M. Sheikh
68527eff67 model specs and validations 2014-01-23 15:47:43 +05:00
Umar M. Sheikh
717a5a6ac0 now the adding of the user credential inline is working 2014-01-22 19:41:09 +05:00
Umar M. Sheikh
c916a04bfd Merge branch 'master' into user-credentials 2014-01-22 17:12:44 +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
Umar M. Sheikh
3fafbe02ef user credentials can now be shown, and can be removed, still to add them dynamically 2014-01-21 19:12:49 +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