Commit graph

963 commits

Author SHA1 Message Date
Andrew Cantino
626c13ef52 fix spec that fails with daylight savings time 2014-03-10 19:35:51 -07:00
Andrew Cantino
9fa907bec0 Merge pull request #172 from snicker/master
Added GrowlAgent for sending Growl notifications over GNTP
2014-03-05 21:24:28 -08:00
base of tree
d04251b670 style changes, minor spec revisions 2014-03-05 20:47:32 -08:00
base of tree
a061627075 more specs for the growl agent and some small code changes 2014-03-05 06:51:22 -08:00
base of tree
bd206d00cf Specs for GrowlAgent 2014-03-03 07:19:37 -08:00
qedi
31e4d152cc first working version of Agents that propagate immediately 2014-02-16 22:15:49 -05:00
Andrew Cantino
306843de0a Add event_id_at_creation field to links and use it to prevent propagation of events created before the link was made. 2014-02-12 22:56:33 -08:00
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
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
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
d52f8e7d4a add spec about "never" schedule 2014-02-09 14:14:25 -08:00
Andrew Cantino
e8260ee61e add basic JavaScriptAgent 2014-02-09 14:08:18 -08:00
Alex Piggott
b1898cc7ff #154 Improvements to website deduplication logic
as discussed with @cantino
2014-02-06 10:47:38 -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
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
Umar M. Sheikh
788e9dff03 cleanup! 2014-01-23 16:58:12 +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
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
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
Umar M. Sheikh
05a4f1aa34 stylistic changes 2014-01-16 14:51:58 +05:00
Umar M. Sheikh
5533b3ffcc memory reset test 2014-01-15 18:46:19 +05:00
Umar M. Sheikh
7bdd810a31 fix spec failure 2014-01-15 18:24:23 +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
Andrew Cantino
276d5936ec update Agent#events_count when events are expired 2014-01-05 00:43:29 -08:00
Andrew Cantino
b3304a78ca Merge branch 'master' into add_keep_events_for_to_agents 2014-01-04 23:37:12 -08:00
Andrew Cantino
94567a26ce trying out coveralls.io 2014-01-01 16:51:40 -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
4cb2b86f9c typo 2013-12-27 10:14:28 -08:00
Andrew Cantino
a08cb6888e fix spec? 2013-12-27 10:06:13 -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
j-wilkins
8ea7051887 fix test logic 😁 2013-12-26 11:09:25 -06:00
j-wilkins
d881792ed2 fix spec typo 2013-12-26 10:58:57 -06: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