~azzar1/unity/add-show-desktop-key

  • Committer: mattgiuca
  • Date: 2008-03-07 15:12:02 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:669
Timestamps are now stored within the program as Python "time" module's
    "struct_time" objects, rather than strings directly from the DB.
    They are parsed into struct_time objects when reading from the db.
    They are formatted into SQL Timestamp strings when writing to the db.
    This allows them to be manipulated and compared within the program.

common.db: _escape now accepts struct_time objects - it formats them into SQL
            time strings.
common.user: The User constructor now parses "acct_exp", "pass_exp" and
            "last_login" fields as timestamp strings, and stores them
            internally as struct_time.
tutorialservice: When recording a submission, the "date" field is now stored
            as a struct_time, not a formatted string.
login.py: When logging in, uncommented call to write last_login to the DB,
            passing the current local time. (This now works correctly).
            Note that this is done after retrieving the user details, so the
            value of last_login stored in the session is the _old_ last login,
            not the new one (this is intentional).

(With Tom Conway).
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l Empty Diff Download File
caps.py 488 17 years ago drtomc caps.py: Added more capabilities and descriptions. 5.1 KB Diff Download File
cgirequest.py 649 16 years ago mattgiuca lib/common/cgirequest.py: Added "message" arg to r 11 KB Diff Download File
chat.py 544 17 years ago mattgiuca chat.py: When an exception is caught, now returns 3.6 KB Diff Download File
db.py 669 16 years ago mattgiuca Timestamps are now stored within the program as Py 17.4 KB Diff Download File
forumutil.py 501 17 years ago mattgiuca forumutil.py: Fix from previous revision. "rolenm" 1.6 KB Diff Download File
interpret.py 635 16 years ago drtomc serve: Avoid a permissions problem where apache wa 14.8 KB Diff Download File
makeuser.py 584 17 years ago drtomc makeuser: added a default argument that was missin 9.7 KB Diff Download File
studpath.py 522 17 years ago drtomc Add quite a lot of stuff to get usrmgt happening. 5.4 KB Diff Download File
user.py 669 16 years ago mattgiuca Timestamps are now stored within the program as Py 4.2 KB Diff Download File
util.py 540 17 years ago mattgiuca Refactored error handling and reporting. Much frie 4.6 KB Diff Download File
zip.py 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l 4.4 KB Diff Download File