]> asedeno.scripts.mit.edu Git - bluechips.git/log
bluechips.git
14 years agodon't need support for smtp auth
Scott Torborg [Sat, 7 Nov 2009 03:04:04 +0000 (17:04 -1000)]
don't need support for smtp auth

14 years agoadded test for user controller
Scott Torborg [Sat, 7 Nov 2009 02:59:39 +0000 (16:59 -1000)]
added test for user controller

14 years agodon't need that check--formencode converts empty to None
Scott Torborg [Sat, 7 Nov 2009 02:59:31 +0000 (16:59 -1000)]
don't need that check--formencode converts empty to None

14 years agoset user settings title on user controller
Scott Torborg [Sat, 7 Nov 2009 02:53:41 +0000 (16:53 -1000)]
set user settings title on user controller

14 years agoif we GET to an update action, redirect to the edit action
Scott Torborg [Fri, 6 Nov 2009 03:59:52 +0000 (17:59 -1000)]
if we GET to an update action, redirect to the edit action

14 years agorequire at least one non-zero share on an expenditure
Scott Torborg [Fri, 6 Nov 2009 03:55:23 +0000 (17:55 -1000)]
require at least one non-zero share on an expenditure

14 years agodon't enter a non-zero currency amount
Scott Torborg [Fri, 6 Nov 2009 03:45:45 +0000 (17:45 -1000)]
don't enter a non-zero currency amount

14 years agowhoops, that update_split() call was unnecessary and just causing problems
Scott Torborg [Fri, 6 Nov 2009 03:41:21 +0000 (17:41 -1000)]
whoops, that update_split() call was unnecessary and just causing problems

14 years agofix error with zero-value expenditure
Scott Torborg [Fri, 6 Nov 2009 03:23:00 +0000 (17:23 -1000)]
fix error with zero-value expenditure

14 years agoif user is spender, they are always involved in an expenditure
Scott Torborg [Fri, 6 Nov 2009 03:21:05 +0000 (17:21 -1000)]
if user is spender, they are always involved in an expenditure

14 years agofixed split display so that it works with zero-value expenditures
Scott Torborg [Fri, 6 Nov 2009 03:17:29 +0000 (17:17 -1000)]
fixed split display so that it works with zero-value expenditures

14 years agothrow a 404 when trying to edit an expenditure or transfer that doesn't exist
Scott Torborg [Fri, 6 Nov 2009 03:11:23 +0000 (17:11 -1000)]
throw a 404 when trying to edit an expenditure or transfer that doesn't exist

14 years agoconvert share to string before Decimal
Scott Torborg [Fri, 6 Nov 2009 03:06:01 +0000 (17:06 -1000)]
convert share to string before Decimal

14 years agofixed error page rendering
Scott Torborg [Fri, 6 Nov 2009 03:04:36 +0000 (17:04 -1000)]
fixed error page rendering

14 years agoadded mailer module to setup.py deps
Scott Torborg [Thu, 5 Nov 2009 07:44:03 +0000 (21:44 -1000)]
added mailer module to setup.py deps

14 years agofix tests and make them more resilient
Scott Torborg [Thu, 5 Nov 2009 07:32:09 +0000 (21:32 -1000)]
fix tests and make them more resilient

14 years agoadded interface to edit email address
Scott Torborg [Thu, 5 Nov 2009 07:28:05 +0000 (21:28 -1000)]
added interface to edit email address

14 years agoadded email notifications. requires schema change to add email column to users table.
Scott Torborg [Thu, 5 Nov 2009 06:53:47 +0000 (20:53 -1000)]
added email notifications. requires schema change to add email column to users table.

14 years agoshow different flash messages for created v. updated
Scott Torborg [Thu, 5 Nov 2009 03:37:33 +0000 (17:37 -1000)]
show different flash messages for created v. updated

14 years agomore model unit tests
Scott Torborg [Thu, 5 Nov 2009 01:57:57 +0000 (15:57 -1000)]
more model unit tests

14 years agouse real names for transfer list, for consistency
Scott Torborg [Wed, 4 Nov 2009 08:28:03 +0000 (22:28 -1000)]
use real names for transfer list, for consistency

14 years agocleaned up status page a bit
Scott Torborg [Wed, 4 Nov 2009 07:45:00 +0000 (21:45 -1000)]
cleaned up status page a bit

14 years agoadded more 'my share' scope to status dashboard
Scott Torborg [Wed, 4 Nov 2009 07:41:13 +0000 (21:41 -1000)]
added more 'my share' scope to status dashboard

14 years agoignore .coverage
Scott Torborg [Wed, 4 Nov 2009 07:15:54 +0000 (21:15 -1000)]
ignore .coverage

14 years agodefault to an even split among residents again
Scott Torborg [Wed, 4 Nov 2009 07:14:40 +0000 (21:14 -1000)]
default to an even split among residents again

14 years agoadded more model unit tests
Scott Torborg [Wed, 4 Nov 2009 06:53:35 +0000 (20:53 -1000)]
added more model unit tests

14 years agogot rid of unused bluechips() helper
Scott Torborg [Wed, 4 Nov 2009 06:41:43 +0000 (20:41 -1000)]
got rid of unused bluechips() helper

14 years agofleshed out functional tests more
Scott Torborg [Wed, 4 Nov 2009 06:33:05 +0000 (20:33 -1000)]
fleshed out functional tests more

14 years agobetter middleware configuration to test for correctness
Scott Torborg [Wed, 4 Nov 2009 03:51:49 +0000 (17:51 -1000)]
better middleware configuration to test for correctness

14 years agono reason to use debug mode when testing
Scott Torborg [Wed, 4 Nov 2009 03:51:23 +0000 (17:51 -1000)]
no reason to use debug mode when testing

14 years agoadded more comprehensive tests of transfer creating and editing
Scott Torborg [Wed, 4 Nov 2009 03:49:38 +0000 (17:49 -1000)]
added more comprehensive tests of transfer creating and editing

14 years agostripped out trailing slash stuff and fixed routes to eliminate the hordes of spuriou...
Scott Torborg [Wed, 4 Nov 2009 03:37:51 +0000 (17:37 -1000)]
stripped out trailing slash stuff and fixed routes to eliminate the hordes of spurious redirects

14 years agoadded special Currency validator
Scott Torborg [Wed, 4 Nov 2009 03:08:47 +0000 (17:08 -1000)]
added special Currency validator

14 years agocleaned up some issues with validation errors being displayed improperly
Scott Torborg [Wed, 4 Nov 2009 02:52:08 +0000 (16:52 -1000)]
cleaned up some issues with validation errors being displayed improperly

14 years agofix transfer date validation issue
Scott Torborg [Tue, 3 Nov 2009 08:34:22 +0000 (22:34 -1000)]
fix transfer date validation issue

14 years agoadd today as the default date for a transfer
Scott Torborg [Tue, 3 Nov 2009 08:32:29 +0000 (22:32 -1000)]
add today as the default date for a transfer

14 years agoripped out toscawidgets, replaced with formencode, put split editing on main expendit...
Scott Torborg [Tue, 3 Nov 2009 08:20:35 +0000 (22:20 -1000)]
ripped out toscawidgets, replaced with formencode, put split editing on main expenditure edit page--needs some cleaning up

14 years agolittle performance tweaks
Scott Torborg [Tue, 3 Nov 2009 05:06:36 +0000 (19:06 -1000)]
little performance tweaks

14 years agoadded a 'My Share' column to lists of expenditures
Scott Torborg [Tue, 3 Nov 2009 01:36:10 +0000 (15:36 -1000)]
added a 'My Share' column to lists of expenditures

14 years agoon the dashboard, show expenditures which the user was involved in, not just expendit...
Scott Torborg [Tue, 3 Nov 2009 01:30:38 +0000 (15:30 -1000)]
on the dashboard, show expenditures which the user was involved in, not just expenditures that they were the spender on

14 years agowhoops, there was already user in request.environ
Scott Torborg [Tue, 3 Nov 2009 01:20:46 +0000 (15:20 -1000)]
whoops, there was already user in request.environ

14 years agostyle flash messages more obviously
Scott Torborg [Tue, 3 Nov 2009 01:15:51 +0000 (15:15 -1000)]
style flash messages more obviously

14 years agoemphasize transactions that the logged-in user is part of, deemphasize others
Scott Torborg [Tue, 3 Nov 2009 01:06:22 +0000 (15:06 -1000)]
emphasize transactions that the logged-in user is part of, deemphasize others

14 years agobig interface overhaul, doesn't really add any new features yet
Scott Torborg [Tue, 3 Nov 2009 00:34:47 +0000 (14:34 -1000)]
big interface overhaul, doesn't really add any new features yet

14 years agouse python's locale stuff for currency formatting
Scott Torborg [Mon, 2 Nov 2009 23:19:51 +0000 (13:19 -1000)]
use python's locale stuff for currency formatting

14 years agofixed some issues resulting from upgrading sqlalchemy, made more ORM-y
Scott Torborg [Mon, 2 Nov 2009 23:14:11 +0000 (13:14 -1000)]
fixed some issues resulting from upgrading sqlalchemy, made more ORM-y

14 years agodon't escape widget forms when they are rendered
Scott Torborg [Mon, 2 Nov 2009 22:43:50 +0000 (12:43 -1000)]
don't escape widget forms when they are rendered

14 years agouse pylons.templating instead of tw render function
Scott Torborg [Mon, 2 Nov 2009 21:01:55 +0000 (11:01 -1000)]
use pylons.templating instead of tw render function

14 years agoadded temp data/ dir to gitignores
Scott Torborg [Mon, 2 Nov 2009 20:51:49 +0000 (10:51 -1000)]
added temp data/ dir to gitignores

14 years agobrought up to date with latest sqlalchemy conventions
Scott Torborg [Mon, 2 Nov 2009 20:51:22 +0000 (10:51 -1000)]
brought up to date with latest sqlalchemy conventions

14 years agoMerge branch 'master' into fix-authz
Evan Broder [Tue, 28 Jul 2009 04:35:00 +0000 (21:35 -0700)]
Merge branch 'master' into fix-authz

14 years agoWhen settling debts, always re-sort the debt list after every
Evan Broder [Tue, 28 Jul 2009 04:33:54 +0000 (21:33 -0700)]
When settling debts, always re-sort the debt list after every
transaction is calculated.

Without doing this, certain cases can result in more transfers than
are actually necessary.

14 years agoMerge branch 'master' into fix-authz
Evan Broder [Mon, 8 Jun 2009 04:16:38 +0000 (21:16 -0700)]
Merge branch 'master' into fix-authz

14 years agoWhen ordering expenditures and transfers, by default order by the time
Evan Broder [Mon, 8 Jun 2009 04:16:06 +0000 (21:16 -0700)]
When ordering expenditures and transfers, by default order by the time
they were entered within a single day.

14 years agoAdd a note in the deployment.ini template about the "MySQL server has
Evan Broder [Sun, 7 Jun 2009 17:28:23 +0000 (10:28 -0700)]
Add a note in the deployment.ini template about the "MySQL server has
gone away" bug.

14 years agoRevert "Fix the random 403 bug." Trying to pass the option in
Evan Broder [Sun, 7 Jun 2009 17:26:25 +0000 (10:26 -0700)]
Revert "Fix the random 403 bug." Trying to pass the option in
bluechips.config.environment didn't seem to be taking effect, so
instead I'm going to change the deployment.ini template to have a
useful note about the issue.

This reverts commit 22bb3f405f829419b9f598ab5bbf3e534b623746.

15 years agoFix the random 403 bug.
Evan Broder [Thu, 4 Jun 2009 06:56:35 +0000 (23:56 -0700)]
Fix the random 403 bug.

403s were being caused by the "MySQL server has gone away" bug in
MySQLdb, so pass the pool_recycle argument to keep that from
triggering.

15 years agoTry a different approach to catching non-existant users.
Evan Broder [Wed, 3 Jun 2009 00:15:08 +0000 (17:15 -0700)]
Try a different approach to catching non-existant users.

Maybe this one will actually log useful errors instead of random 403s.

15 years agoAdd a .gitignore.
Evan Broder [Sun, 31 May 2009 18:48:51 +0000 (11:48 -0700)]
Add a .gitignore.

15 years agoAdd a test for negative expenditures.
Evan Broder [Sun, 31 May 2009 04:25:13 +0000 (21:25 -0700)]
Add a test for negative expenditures.

15 years agoAllow for negative expenditures.
Evan Broder [Sun, 31 May 2009 04:05:25 +0000 (21:05 -0700)]
Allow for negative expenditures.

15 years agoWhen splitting up an expenditure, if subtracting pennies instead of
Evan Broder [Sat, 30 May 2009 16:12:58 +0000 (09:12 -0700)]
When splitting up an expenditure, if subtracting pennies instead of
adding them, be sure to count them up correctly.

15 years agoWhy don't we stick that code block in only once?
Evan Broder [Sat, 30 May 2009 05:52:40 +0000 (22:52 -0700)]
Why don't we stick that code block in only once?

15 years agoFix a long-standing bug in handing splits.
Evan Broder [Sat, 30 May 2009 05:48:30 +0000 (22:48 -0700)]
Fix a long-standing bug in handing splits.

15 years agoApparently authkit.authorize still thinks it needs authkit.authenticate.
Evan Broder [Sat, 25 Apr 2009 23:35:42 +0000 (19:35 -0400)]
Apparently authkit.authorize still thinks it needs authkit.authenticate.

It's wrong. Let's convince it as such.

15 years agoDon't add debits for users who have a share of 0
Evan Broder [Sat, 13 Sep 2008 03:24:16 +0000 (03:24 +0000)]
Don't add debits for users who have a share of 0

15 years agoFix wrong exception in split edit template
Evan Broder [Fri, 25 Jul 2008 07:09:05 +0000 (07:09 +0000)]
Fix wrong exception in split edit template

15 years agoAdd a link to the split edit page from the expenditure edit page
Evan Broder [Fri, 25 Jul 2008 07:07:19 +0000 (07:07 +0000)]
Add a link to the split edit page from the expenditure edit page

15 years agoAdd a form to change an expenditure's split
Evan Broder [Fri, 25 Jul 2008 07:07:10 +0000 (07:07 +0000)]
Add a form to change an expenditure's split

15 years agoFix indentation on base template
Evan Broder [Fri, 25 Jul 2008 07:07:02 +0000 (07:07 +0000)]
Fix indentation on base template

15 years agoMove common title generating code into base template
Evan Broder [Fri, 25 Jul 2008 07:06:55 +0000 (07:06 +0000)]
Move common title generating code into base template

15 years agoMake navigation links work with edit pages
Evan Broder [Fri, 25 Jul 2008 05:19:59 +0000 (05:19 +0000)]
Make navigation links work with edit pages

15 years agoAdd edit links for transfers and expenditures
Evan Broder [Fri, 25 Jul 2008 04:26:32 +0000 (04:26 +0000)]
Add edit links for transfers and expenditures

15 years agoAdd edit function for transfers
Evan Broder [Fri, 25 Jul 2008 04:26:26 +0000 (04:26 +0000)]
Add edit function for transfers

15 years agoAdd edit function for expenditures
Evan Broder [Fri, 25 Jul 2008 04:26:17 +0000 (04:26 +0000)]
Add edit function for expenditures

15 years agoAdd split function that redistributes old percentages with new total
Evan Broder [Fri, 25 Jul 2008 04:26:08 +0000 (04:26 +0000)]
Add split function that redistributes old percentages with new total

15 years agoAdd ToscaWidgets' valid function for when you don't want the decorator
Evan Broder [Fri, 25 Jul 2008 04:26:01 +0000 (04:26 +0000)]
Add ToscaWidgets' valid function for when you don't want the decorator

15 years agoMove title into controller to encourage template reuse
Evan Broder [Fri, 25 Jul 2008 04:25:55 +0000 (04:25 +0000)]
Move title into controller to encourage template reuse

15 years agoStop lazily loading anything to fix double-counting of transfers
Evan Broder [Fri, 25 Jul 2008 02:07:57 +0000 (02:07 +0000)]
Stop lazily loading anything to fix double-counting of transfers

15 years agoAdd an __init__ method for Transfer objects
Evan Broder [Fri, 25 Jul 2008 02:07:51 +0000 (02:07 +0000)]
Add an __init__ method for Transfer objects

15 years agoAdd an __init__ method for Subitem objects
Evan Broder [Fri, 25 Jul 2008 02:07:45 +0000 (02:07 +0000)]
Add an __init__ method for Subitem objects

15 years agoAdd and use an __init__ method for Expenditure objects
Evan Broder [Fri, 25 Jul 2008 02:07:38 +0000 (02:07 +0000)]
Add and use an __init__ method for Expenditure objects

15 years agoAdd and use an __init__ method for Split objects
Evan Broder [Fri, 25 Jul 2008 02:07:30 +0000 (02:07 +0000)]
Add and use an __init__ method for Split objects

15 years agoAdd and use an __init__ method for User objects
Evan Broder [Fri, 25 Jul 2008 02:07:23 +0000 (02:07 +0000)]
Add and use an __init__ method for User objects

15 years agoFix a few of the more sane pylint warnings
Evan Broder [Sun, 20 Jul 2008 14:53:35 +0000 (14:53 +0000)]
Fix a few of the more sane pylint warnings

15 years agoMake the distribution test actually do something
Evan Broder [Sun, 20 Jul 2008 14:53:17 +0000 (14:53 +0000)]
Make the distribution test actually do something

15 years agoAdd another test for testing uneven splits
Evan Broder [Sun, 20 Jul 2008 14:53:07 +0000 (14:53 +0000)]
Add another test for testing uneven splits

15 years agoUse self.assert* functions in tests instead of normal assertion
Evan Broder [Sun, 20 Jul 2008 14:52:54 +0000 (14:52 +0000)]
Use self.assert* functions in tests instead of normal assertion

15 years agoTest Currency.__str_no_dollar__
Evan Broder [Sat, 19 Jul 2008 18:45:59 +0000 (18:45 +0000)]
Test Currency.__str_no_dollar__

15 years agoChanging location of minus sign in Currency broke __str_no_dollar__
Evan Broder [Sat, 19 Jul 2008 18:45:50 +0000 (18:45 +0000)]
Changing location of minus sign in Currency broke __str_no_dollar__

15 years agoAdd tests for Currency string conversion
Evan Broder [Sat, 19 Jul 2008 17:53:09 +0000 (17:53 +0000)]
Add tests for Currency string conversion

15 years agoMove negative sign for Currency
Evan Broder [Sat, 19 Jul 2008 17:53:00 +0000 (17:53 +0000)]
Move negative sign for Currency

15 years agoSuperSubclass isn't smart enough to do the __new__ correctly
Evan Broder [Sat, 19 Jul 2008 17:52:52 +0000 (17:52 +0000)]
SuperSubclass isn't smart enough to do the __new__ correctly

15 years agoPull more things into their own tests for Currency
Evan Broder [Sat, 19 Jul 2008 17:52:42 +0000 (17:52 +0000)]
Pull more things into their own tests for Currency

15 years agoUse the right model module in package-level test setUp
Evan Broder [Sat, 19 Jul 2008 17:52:33 +0000 (17:52 +0000)]
Use the right model module in package-level test setUp

Apparently other imports can override the one in test/__init__.py

15 years agoMore tests for the Currency type
Evan Broder [Sat, 19 Jul 2008 17:52:26 +0000 (17:52 +0000)]
More tests for the Currency type

15 years agoAdd an __init__.py for tests/model/
Evan Broder [Sat, 19 Jul 2008 17:52:17 +0000 (17:52 +0000)]
Add an __init__.py for tests/model/

15 years agoStart writing tests for Currency objects
Evan Broder [Sat, 19 Jul 2008 10:05:58 +0000 (10:05 +0000)]
Start writing tests for Currency objects

15 years agoSplit tests aren't testing a controller, so don't use TestController
Evan Broder [Sat, 19 Jul 2008 10:05:50 +0000 (10:05 +0000)]
Split tests aren't testing a controller, so don't use TestController

15 years agoMake Currency objects (and others using the SuperSubclass) immutable
Evan Broder [Sat, 19 Jul 2008 10:05:40 +0000 (10:05 +0000)]
Make Currency objects (and others using the SuperSubclass) immutable