summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ira W. Snyder [Tue, 27 Nov 2007 00:23:57 +0000 (16:23 -0800)]
Re-add editability of COItems, so we can verify overdue item support
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Tue, 27 Nov 2007 00:23:10 +0000 (16:23 -0800)]
Fix validation of Games and Videos
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Tue, 27 Nov 2007 00:22:37 +0000 (16:22 -0800)]
Add Reciept to the Purchase System
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 23:31:48 +0000 (15:31 -0800)]
Remove the ability to add new Rentable Policy
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 23:28:20 +0000 (15:28 -0800)]
Add Income to Purchases
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:57:18 +0000 (14:57 -0800)]
Add VideoMedia to the Video pages
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:52:59 +0000 (14:52 -0800)]
Add GamePlatform to Game pages
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:48:18 +0000 (14:48 -0800)]
Add GameGenres to the Games page
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:47:51 +0000 (14:47 -0800)]
Add validation to GameGenre and GamePlatform
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:42:07 +0000 (14:42 -0800)]
Add VideoGenres to the system
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:36:07 +0000 (14:36 -0800)]
Prettify and add the Merchandise pages
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 22:23:51 +0000 (14:23 -0800)]
Change 'Debt' to 'Balance'
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 19:34:40 +0000 (11:34 -0800)]
Massive Cleanup
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 08:16:21 +0000 (00:16 -0800)]
Fix RentablePurchases, which saved the wrong customer_id
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 07:53:21 +0000 (23:53 -0800)]
Many visual tweaks, suggested by Lan
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 06:37:08 +0000 (22:37 -0800)]
Update Rails + Add Phone Number and Email Validation
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 05:55:26 +0000 (21:55 -0800)]
Add Rental Policies and Limits
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 05:17:31 +0000 (21:17 -0800)]
Add System Maintence pages
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 02:45:17 +0000 (18:45 -0800)]
Change the default route to the login page
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Mon, 26 Nov 2007 01:29:11 +0000 (17:29 -0800)]
Prettify the Purchase system
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 20:33:12 +0000 (12:33 -0800)]
Prettify the Customer pages
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 20:23:13 +0000 (12:23 -0800)]
Prettify the COItem pages
Also, remove some unneeded functions from the controller, such as
create and destroy.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 19:50:48 +0000 (11:50 -0800)]
Make the table titles in the game list match the data
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 06:55:05 +0000 (22:55 -0800)]
Prettify the Game system
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 02:57:49 +0000 (18:57 -0800)]
Add the 'Add a New Video' link to the main video page
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 01:15:40 +0000 (17:15 -0800)]
Prettify the video section of the application
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sun, 25 Nov 2007 00:14:11 +0000 (16:14 -0800)]
Prettify the login page
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sat, 24 Nov 2007 09:39:10 +0000 (01:39 -0800)]
Add required authorization to all pages
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sat, 24 Nov 2007 09:21:19 +0000 (01:21 -0800)]
Add the addition of managerial duties to the add_user form
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sat, 24 Nov 2007 07:35:18 +0000 (23:35 -0800)]
Add Login system
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sat, 24 Nov 2007 06:07:07 +0000 (22:07 -0800)]
Add the Yellow & Green Colorscheme to the /purchase page
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sat, 24 Nov 2007 01:54:50 +0000 (17:54 -0800)]
Remove Bitem
It was no longer necessary. We added purchases using STI which totally
blew the COItem and BItem approach out of the water.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Sat, 24 Nov 2007 01:25:23 +0000 (17:25 -0800)]
Add the Gameplatform MVC to handle the different game platforms
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 19:17:51 +0000 (11:17 -0800)]
Add real Gamegenre support
This adds real, chooseable game genres, modeled after the Videogenre
code.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 18:55:33 +0000 (10:55 -0800)]
Add GamePolicy and integrate with the Game model
This makes things like rental periods based on day of the week come
from the database. It also adds correct calculation of late fees.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 14:00:43 +0000 (06:00 -0800)]
Add VideoPolicy to the purchase path
This makes video checkout / return really charge the appropriate
fees based on day of the week and newrelease status. It also makes
late fees be charged at the proper rate.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 10:38:06 +0000 (02:38 -0800)]
Add the VideoPolicy model, to hold all the base prices and periods
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 10:06:36 +0000 (02:06 -0800)]
Add RentablePolicy for MaxOverdueVideos and MaxOverdueGames
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 09:48:53 +0000 (01:48 -0800)]
Add MaxVideos and MaxGames RentablePolicies
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 08:50:16 +0000 (00:50 -0800)]
Add RentablePolicy, to get set up for adding policies
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 08:33:13 +0000 (00:33 -0800)]
Add the capability to return checked out items
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 08:01:14 +0000 (00:01 -0800)]
Add list of just-purchased items (this transaction) to the purchase view
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 06:56:32 +0000 (22:56 -0800)]
Make system unable to check out already checked out items
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 06:32:31 +0000 (22:32 -0800)]
Add Purchase system
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 01:13:00 +0000 (17:13 -0800)]
Add purchases table
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Fri, 23 Nov 2007 00:30:22 +0000 (16:30 -0800)]
Revert "Add the has_many_polymorphs purchaseable model"
This reverts commit
97d39268c0b348898dca1ec24552eb26a94ae546.
Ira W. Snyder [Thu, 22 Nov 2007 23:57:27 +0000 (15:57 -0800)]
Add the has_many_polymorphs purchaseable model
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 20:48:33 +0000 (12:48 -0800)]
Add Bitem (bought items) MVC
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 19:13:49 +0000 (11:13 -0800)]
Add merchandise MVC
This adds a MVC which handles all non-rentable merchandise, such as
popcorn, posters, etc.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 18:57:30 +0000 (10:57 -0800)]
Add the has_many_polymorphs plugin
See http://m.onkey.org/2007/8/14/excuse-me-wtf-is-polymorphs for a
tutorial / walkthrough.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 18:38:15 +0000 (10:38 -0800)]
Use LIKE queries in the searches
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 08:28:05 +0000 (00:28 -0800)]
Add overdue handling to checked out items
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 08:09:05 +0000 (00:09 -0800)]
Add media MVC
This adds the MVC for the video's media types
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 07:46:49 +0000 (23:46 -0800)]
Change video's director column to a string
It was an int, which was stupid of me
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 07:41:18 +0000 (23:41 -0800)]
Add real, selectable videogenres
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 06:36:50 +0000 (22:36 -0800)]
Add searching to Video
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 06:36:22 +0000 (22:36 -0800)]
Move checkedout? method to the Rentable superclass
This moves the checkedout? method to the Rentable superclass, so that it
is available from both the Video and Game classes.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 06:21:54 +0000 (22:21 -0800)]
Add searching to the games controller
This adds searching to the games controller, and adds an id and checkedout
column to the list and search views.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 05:23:20 +0000 (21:23 -0800)]
Add customer searching capability
This allows simple customer searching by name.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 05:21:52 +0000 (21:21 -0800)]
Add customer id numbers to the listing
This adds a table column for customer id numbers while listing customers,
just for convenience.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 05:20:41 +0000 (21:20 -0800)]
Use a text field for the customers address
This is probably a better decision than just using a string. I can break it
into address pieces later, but that can wait.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 04:18:18 +0000 (20:18 -0800)]
Switch to a single joined table for Videos and Games
This is much simpler than the multiple inheritance thing, as well as making
things like getting all of the types and titles much easier.
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 03:30:29 +0000 (19:30 -0800)]
Add "rentable type" to rentables
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 01:42:34 +0000 (17:42 -0800)]
Remove genre from rentables
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 01:37:31 +0000 (17:37 -0800)]
Add the game mvc
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 00:34:35 +0000 (16:34 -0800)]
Add title to the rentable listing
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Thu, 22 Nov 2007 00:15:40 +0000 (16:15 -0800)]
Fix object relationships between video and rentable
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 23:49:35 +0000 (15:49 -0800)]
Migrate title attribute from rentable to video (and later, game)
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 22:46:35 +0000 (14:46 -0800)]
Add video mvc
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 21:53:03 +0000 (13:53 -0800)]
Fix object relational modeling
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 21:52:01 +0000 (13:52 -0800)]
Add missing stylesheet
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 19:23:12 +0000 (11:23 -0800)]
Add coitem MVC
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 16:09:08 +0000 (08:09 -0800)]
Add rentable model-view-controller
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 15:51:24 +0000 (07:51 -0800)]
Add .gitignore
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 15:50:38 +0000 (07:50 -0800)]
Add customers model-view-controller
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
Ira W. Snyder [Wed, 21 Nov 2007 08:34:06 +0000 (00:34 -0800)]
Initial Commit
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>