This commit adds support for actually exporting the document in some
fashion that would actually be worth printing. I couldn't figure out
how to make the tables stick to one page or the next, so you still have
to manually insert page breaks (and of course, check for any other
visual defects). In general, though, this should minimize the amount of
manual effort that you have to put into preparing the document for
printing.
This adds support for basic analytics functionality to expedite figuring
out which rooms we still need data for. This should make it much easier
to determine which rooms need to be doorknocked to make the directory
more complete.
Drew Fisher [Wed, 26 Aug 2009 00:52:34 +0000 (19:52 -0500)]
Add batch photo import by timestamp and batch import preview.
A massive improvement to the "click-and-pray" netid-only importer.
This changeset provides a preview of the photos that will be imported,
allowing for review before committing all the changes, as well as
progress bars (since loading large photos is a time-consuming task).
In addition, we now support importing large sets of photos based on
relative timestamps. This will work provided you have exactly the same
number of photos to import as you do people in the database without a
photo.
Drew Fisher [Sat, 22 Aug 2009 05:35:33 +0000 (00:35 -0500)]
Merge photos from a folder with files of the form <netid>.jpg
We support <netid>.jpg and <netid>.JPG, at the moment. Additional
extensions should be easy enough to provide. Additional (read:
time-based) merge techniques are still to come.
Drew Fisher [Sat, 22 Aug 2009 02:55:08 +0000 (21:55 -0500)]
Force new NetIDs to be unique.
We reject new users that have netids already in the database. When
merging two databases, the current database is considered the master
copy and a record from the merging database is discarded if there is
a netid conflict.
Mark Browning [Mon, 3 Aug 2009 02:22:54 +0000 (19:22 -0700)]
Add .JPG to list of acceptable file extensions for photos
Apparently, unlike every other file chooser out there, the Gnome file chooser
is case-sensitive, and many cameras leave photos with capitalized filenames.
Make opening a new database work correctly in EditPerson.
This patch fixes the bug where you'd open a new database, edit some data
in it, hit save, and it would update that row in the originally-opened
database.
Also thrown in is some refactoring work in EditPerson to maximize code reuse.
The edit menu allows you to search for a particular record now.
Many thanks to Matthew Mullins, who wrote the safe filtering logic used in
WP2 and adapted for use here.
Support new databases and opening existing databases.
New person wizard actually adds data to the database.
Other classes have access to the database when they want it.