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.