Commit graph

963 commits

Author SHA1 Message Date
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
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
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
0dcee80cba use TwitterConcern in the twitter_stream_agent; cleanup unused memory; add specs 2013-11-04 21:03:13 -08:00
Andrew Cantino
0eb956e110 HumanTaskAgent can now accept combination_mode and poll_options which are used to generate a poll from the HITs answers. The poll asks additional Mechanical Turk users to rate the responses, and then the best one is returned. This allows for an additional step of validation on user generated content / data. 2013-10-04 22:24:21 -07:00
Andrew Cantino
22e950214b cleanup HITs when they have been reviewed 2013-09-07 20:52:57 -07:00
Andrew Cantino
4851a7aad3 fix spec 2013-09-07 17:49:00 -07:00
Andrew Cantino
773a612dee Allow Events to be re-emitted for testing. 2013-09-07 13:53:58 -07:00
Andrew Cantino
31cdf610ac Rename max_assignments to assignments; add lots of validations and tests 2013-09-07 13:11:41 -07:00
Andrew Cantino
e24f940ac8 Merge branch 'master' into human_task_agent 2013-09-07 00:51:28 -07:00
Andrew Cantino
3eaa9272b1 Prevent some possible XSS attacks where user input makes its way into JSON and contains </script> tags. 2013-09-07 00:34:51 -07:00
Andrew Cantino
d766eb6cd3 Merge branch 'master' into human_task_agent 2013-09-06 23:57:23 -07:00
Andrew Cantino
8d7dde6fb5 Add a POST endpoint called handle_details_post that Agents' details views can use to send data to the Agent from the UI. Add a new ManualEventAgent that uses the handle_details_post functionality to create simple events on demand for testing / debugging. 2013-09-06 23:46:31 -07:00
Andrew Cantino
c2990c7c4b Fix HTML email sending 2013-09-03 19:45:15 -07:00
Andrew Cantino
08701a25ac merge 2013-09-02 13:00:54 -07:00
Andrew Cantino
0150eac1ac add cannot_create_events! annotation 2013-09-01 16:24:59 -06:00
Andrew Cantino
e284782363 Calculate average answers when all questions are numeric 2013-09-01 10:47:10 -06:00
Andrew Cantino
1e8dcc65f0 Majority voting appears to work 2013-08-29 22:59:06 -06:00
Andrew Cantino
0120ccb9c1 Basic HuamnTaskAgent with specs 2013-08-28 18:02:47 -06:00
Andrew Cantino
7372244d0f return false from working? when an agent's most recent log is an error 2013-08-26 11:57:02 -06:00
Andrew Cantino
bdea7e620c log all exceptions during check or receive to Agents' logs 2013-08-25 22:43:41 -06:00
Andrew Cantino
00727fbd4d add Agent Logs; add logging to WebsiteAgent; refactor flash notices and add event notices 2013-08-24 22:46:57 -06:00
Andrew Cantino
7877ba23d4 Better email formatting for events 2013-08-19 14:24:45 -07:00
Andrew Cantino
3efaed7e2a update WeatherAgent to allow any location that wunderground supports 2013-08-09 12:36:35 -07:00
Andrew Cantino
8fc2c1a74a add negation to the trigger agent 2013-08-08 12:57:54 -07:00
Andrew Cantino
86b5b1f203 Use select2 for type selection; switch to showing JSON for event information 2013-08-08 12:30:17 -07:00
Andrew Cantino
306237c306 Allow escaping of JSONPath outputs; demonstrate in the formatting agent. 2013-08-08 09:56:22 -07:00
Andrew Cantino
2ba447d143 fix setting of newest_event_id when there are no events; make specs better 2013-07-16 13:45:05 -07:00
Albert Sun
9ce8b40a67 fixing #64, don't backfill a newly created agent wiht events from its sources 2013-07-09 21:58:18 -04:00
Rishabh Jain
949fc48c89 Adioso Agent Refactoring 2013-06-27 04:32:00 +05:30
Rishabh Jain
497c9ae25d Travel Agent 2013-06-25 07:50:33 +05:30
Albert Sun
693a3e6da4 fixes invalid multibyte char 2013-06-18 20:48:23 -04:00
Albert Sun
e494721db7 initial commit of a weibo user agent 2013-06-18 20:16:14 -04:00
Albert Sun
8754e50a02 first pass at a weibo publishing agent, almost identical to the twitter one
updating weibo agent with app_key/app_secret options to make it work. and some custom code for if the input event comes from twitter to unwrap t.co urls as those are not allowed on weibo

better spec for weibo agent

text edits

changing user_id to uid
2013-06-18 20:16:09 -04:00
Rishabh Jain
2c332ceba6 PostAgent 2013-05-28 21:05:28 +05:30
Rishabh Jain
afad758501 Twilio calls 2013-05-20 19:18:29 +05:30
Andrew Cantino
d4a45dc71f Merge pull request #47 from albertsun/twitter_publish_agent
TwitterPublishAgent
2013-05-15 22:37:20 -07:00
Albert Sun
29b482b7c1 adding tests for TwitterPublishAgent modeled after the twilio agent ones 2013-05-15 20:13:06 -04:00
Andrew Cantino
9e04a64503 Merge pull request #51 from rishabhjain/master
Sentiment Agent
2013-05-14 22:57:44 -07:00
Rishabh Jain
3c57352f64 Translation Agent and specs 2013-05-14 15:51:03 +05:30
Rishabh Jain
e24cd6dad7 Specs for EventFormattingAgent,SentimentAgent and minor changes 2013-05-13 02:34:35 +05:30