1
0
Fork 0
Commit Graph

84 Commits

Author SHA1 Message Date
Andrew Tomaka 9d767141cc Add default value for alerted attribute 2013-04-07 06:30:42 -04:00
Andrew Tomaka 6a68202f1a Also protected alerted from mass assignment 2013-04-07 06:21:53 -04:00
Andrew Tomaka 2c3381ae6d Prevent user_id from being updated via form 2013-04-07 06:14:15 -04:00
Andrew Tomaka b65219eb0c Merge branch 'feature-cancan_authorization' 2013-04-07 06:10:20 -04:00
Andrew Tomaka 57a3282ffb Catch cancan exception in application_controller 2013-04-07 06:08:34 -04:00
Andrew Tomaka 3df8156177 Remove current access control and load cancan controls 2013-04-07 06:08:21 -04:00
Andrew Tomaka d6df7be6f7 Set desired access for Alerts 2013-04-07 06:08:05 -04:00
Andrew Tomaka d1da33abec Add cancan ability model 2013-04-06 13:03:23 -04:00
Andrew Tomaka 22c9a17236 Add cancan gem 2013-04-06 13:02:32 -04:00
Andrew Tomaka f4c0c46680 Merge branch 'feature-devise_authentication' 2013-04-06 12:42:59 -04:00
Andrew Tomaka 829aecfce3 Autofill user_id; editing still vulnerable 2013-04-06 12:25:31 -04:00
Andrew Tomaka f463c66eff Cheap way to limit control to owned alerts 2013-04-06 12:15:11 -04:00
Andrew Tomaka 0489c51518 Do not respond to JSON requests 2013-04-06 12:01:39 -04:00
Andrew Tomaka ed89322e60 Use scope for user_alerts to make it more 'railsy' 2013-04-06 01:55:37 -04:00
Andrew Tomaka d0d9072294 Fat model, skinny controller for selecting user_alerts 2013-04-06 01:52:53 -04:00
Andrew Tomaka dd5c725715 Add sign in logic to link display in layout (needs helper) 2013-04-06 01:44:59 -04:00
Andrew Tomaka 586e797047 Only show alerts for current user 2013-04-06 01:41:49 -04:00
Andrew Tomaka aec687e908 Update layout to have links to current controllers 2013-04-06 01:33:51 -04:00
Andrew Tomaka 6f3f0f88a4 Add home controller to serve as web root 2013-04-06 01:31:41 -04:00
Andrew Tomaka 2410686525 Add sign out link for testing 2013-04-06 01:29:22 -04:00
Andrew Tomaka 99ee5c875c Install devise gem 2013-04-06 01:05:36 -04:00
Andrew Tomaka 260b24a376 Add gems for authentication 2013-04-06 01:01:04 -04:00
Andrew Tomaka 314e517bc4 Do not use 'class' to reference courses 2013-04-03 19:47:38 -04:00
Andrew Tomaka c42a7fbfb5 Add semester field to alerts 2013-04-03 19:44:01 -04:00
Andrew Tomaka 851f370068 Create XML for Twilio to read 2013-04-03 19:35:03 -04:00
Andrew Tomaka d8125c2202 Reference instance variables with self. so they work? 2013-04-03 19:32:59 -04:00
Andrew Tomaka 96e5e35d7c Validation and simple functions 2013-04-02 03:07:11 -04:00
Andrew Tomaka 16151aed55 Update theme 2013-04-02 02:52:03 -04:00
Andrew Tomaka 01579ce68d Add Alerts controller 2013-04-02 02:43:01 -04:00
Andrew Tomaka 23d5a9f627 BOOTSTRAP it 2013-04-02 02:40:44 -04:00
Andrew Tomaka 45414d7100 Remove default index file 2013-03-29 19:53:32 -04:00
Andrew Tomaka 4348344f8a Run generator for Rails footnotes 2013-03-29 19:53:07 -04:00
Andrew Tomaka da70b1750a Add initial development gems 2013-03-29 19:51:04 -04:00
Andrew Tomaka 80bdf9c094 Initial commit of clean Rails application 2013-03-29 19:39:35 -04:00