Commit graph

103 commits

Author SHA1 Message Date
Andrew Cantino
f32c6f0f7c add a transaction around event receiving 2013-11-04 22:28:32 -08: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
Andrew Cantino
403db15b35 Fix a bug where JSON was lost when saving invalid options 2013-09-30 21:42:20 -07: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
Andrew Cantino
c9b4d1b1f0 allow the HITs lifetime to be set 2013-09-07 20:17:30 -07:00
Andrew Cantino
82156f3c75 move RTurk setup to an initializer 2013-09-07 18:03:26 -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
JT Zemp
56cbe8bd68 current_user.agents fails if current_user == nil
I didn't want to mess with organization and style too much, so I didn't do a full-on refactor, but this might want to live as an AJAX call, or if not, maybe a helper.
2013-09-06 10:54:25 -07:00
Andrew Cantino
c2fa67dd9b Allow the quick navigation menu to run propagation and show the diagram. 2013-09-03 20:25:54 -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
f8ee5e3ec4 merge 2013-09-02 12:44:16 -07:00
Andrew Cantino
03be5fedb0 Merge branch 'master' into annotate_agents_that_do_not_make_events 2013-09-01 19:43:02 -06:00
Andrew Cantino
dddf607692 Add about link 2013-09-01 17:52:16 -06:00
Andrew Cantino
a0484f9153 Update Agent Index to hide impossible fields. 2013-09-01 17:32:25 -06:00
Andrew Cantino
700209155a When an Agent isn't working, the "No" links to either the Agent's details tab, or its Logs tab, depending on if the most recent log is an error. 2013-09-01 17:18:22 -06:00
Andrew Cantino
55b8f8064c Show event sources and receivers. 2013-09-01 17:03:39 -06:00
Andrew Cantino
0150eac1ac add cannot_create_events! annotation 2013-09-01 16:24:59 -06:00
Andrew Cantino
6a82f27034 Add quick navigation box for Agents 2013-09-01 15:50:42 -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
c99f2a16f5 update dependencies 2013-08-26 12:30:00 -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
582345ebd1 switch a puts to a log 2013-08-25 22:51:28 -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
17b3897733 Merge pull request #82 from cantino/agent_logs
Add Agent Logs
2013-08-24 21:56:40 -07:00
Andrew Cantino
ee14c2e72b Sort event types; chage key name 2013-08-24 22:54:07 -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
4fa0c9aff2 cleanup language 2013-07-20 17:52:59 -07:00
Andrew Cantino
1bc8a3bc05 fix the twitter stream agent. It requires OAuth credentials now. 2013-07-19 23:38:36 -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
Andrew Cantino
c5fb643832 remove rails_admin - let users install it if they want it 2013-06-29 18:44:53 -07:00
Andrew Cantino
ada81674e0 move favicon 2013-06-29 18:21:17 -07:00
Andrew Cantino
3261a066ce switch an unless/else and fix indentation and language 2013-06-27 22:31:04 -07: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