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

  • Committer: mattgiuca
  • Date: 2008-04-06 15:04:54 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:725
The database now stores a cache of all the worksheets and what problems
are contained within each, for the purposes of determining marks.

This cache is automatically written to the database when someone visits a
worksheet in the website. If the worksheet file gets updated (touched), then
the database entries will be refreshed (so it is kept up to date).

At this stage, it isn't used to compute anything, it just gets stored in the
DB and updated.

Also added an "assessable" attribute to the worksheet element in the
worksheet XML, and an "optional" attribute to the exercise element, also in
the worksheet XML. (Both of these are optional, so it won't break existing
worksheets). Both default to False, so by default worksheets are not
assessable, and assessable worksheets have all-mandatory exercises.

users.sql: Added worksheet and worksheet_problem tables to the DB.
common/db.py: Added methods get_worksheet_mtime and create_worksheet.
tutorial/__init__.py:
    present_table_of_contents now gathers up details about all the exercises.
    present_worksheet now gets top level details.
    Added function update_db_worksheet, which checks the time stamps and
    updates the database if necessary.
Filename Latest Rev Last Changed Committer Comment Size
..
browser 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
console 194 17 years ago mattgiuca Added svn:ignore to the new apps' directories. Diff
consoleservice 227 17 years ago mattgiuca Added "ignore" property for consoleservice (*.pyc) Diff
debuginfo 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
diff 562 17 years ago dcoles Added new app: Diff (SVN diff application) setup.p Diff
download 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
dummy 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
fileservice 413 17 years ago mattgiuca fileservice: Accidentally forgot to add __init__.p Diff
forum 450 17 years ago mattgiuca Set svn:ignore on a a few more things. Diff
help 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
home 630 17 years ago mattgiuca subjects: Added subjects/subjects.css to correctly Diff
server 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
settings 560 17 years ago mattgiuca settings: Python code generates all of the HTML fo Diff
subjects 630 17 years ago mattgiuca subjects: Added subjects/subjects.css to correctly Diff
tos 476 17 years ago mattgiuca Added new module: common/caps.py. This is the Capa Diff
tutorial 194 17 years ago mattgiuca Added svn:ignore to the new apps' directories. Diff
tutorialservice 314 17 years ago mattgiuca tutorialservice: svn:ignore Diff
userservice 479 17 years ago mattgiuca userservice: svn:ignore Diff
__init__.py 561 17 years ago drtomc app: improve the error message when an app fails t 1.4 KB Diff Download File