]> git.zarvox.org Git - wp3.git/log
wp3.git
14 years agoAdded Python docstrings for all classes. master
Drew Fisher [Thu, 4 Feb 2010 03:36:58 +0000 (22:36 -0500)]
Added Python docstrings for all classes.

15 years agoODT exporter, done right.
Drew Fisher [Sat, 12 Sep 2009 19:12:08 +0000 (14:12 -0500)]
ODT exporter, done right.

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.

15 years agoRefactor analytics code to be more readable.
Drew Fisher [Thu, 10 Sep 2009 21:10:31 +0000 (16:10 -0500)]
Refactor analytics code to be more readable.

15 years agoBugfix: ruined analytics if any room has >2 people
Drew Fisher [Thu, 10 Sep 2009 03:36:07 +0000 (22:36 -0500)]
Bugfix: ruined analytics if any room has >2 people

I reused the variable named 'd'.  This was not a good idea.

15 years agoAnalytics, in the form of a text report.
Drew Fisher [Wed, 9 Sep 2009 05:52:01 +0000 (00:52 -0500)]
Analytics, in the form of a text report.

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.

15 years agoMerge branch 'master' of rabbit:/home/zarvox/wp3
Drew Fisher [Mon, 7 Sep 2009 01:40:45 +0000 (20:40 -0500)]
Merge branch 'master' of rabbit:/home/zarvox/wp3

15 years agoChange of terminology to be more professional.
Drew Fisher [Sun, 6 Sep 2009 21:18:53 +0000 (16:18 -0500)]
Change of terminology to be more professional.

15 years agoAdd batch photo import by timestamp and batch import preview.
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.

15 years agoAdd a menu for multiple photo import techniques.
Drew Fisher [Tue, 25 Aug 2009 00:53:06 +0000 (19:53 -0500)]
Add a menu for multiple photo import techniques.

We would like to support importing photos by both timestamp and
filename.  To accomplish this, we must have a menu to do so.

15 years agoMerge photos from a folder with files of the form <netid>.jpg
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.

15 years agoMake Import photos button emit the signal it's supposed to.
Drew Fisher [Sat, 22 Aug 2009 03:44:16 +0000 (22:44 -0500)]
Make Import photos button emit the signal it's supposed to.

15 years agoExport to ODT.
Drew Fisher [Sat, 22 Aug 2009 03:12:54 +0000 (22:12 -0500)]
Export to ODT.

A limited ODT exporter.  It's not pretty, nor suitable for final
printing, but illustrates the concept and mechanism.

15 years agoBoilerplate for a photo-merge class.
Drew Fisher [Sat, 22 Aug 2009 03:06:02 +0000 (22:06 -0500)]
Boilerplate for a photo-merge class.

15 years agoForce new NetIDs to be unique.
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.

15 years agoAdd a Python DistUtils py2exe script
Drew Fisher [Mon, 3 Aug 2009 02:38:31 +0000 (19:38 -0700)]
Add a Python DistUtils py2exe script

Now you can package up this executable for Windows, so people can run it
without having to have the development environment installed.  Just run

python setup.py py2exe

and you get the dist/ folder with the executable and all dependencies.
Prerequisites: Have PyQt4, python-ldap, DistUtils, and py2exe installed.

15 years agoAdd .JPG to list of acceptable file extensions for photos
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.

15 years agoAdd support for merging separate databases.
Drew Fisher [Sun, 19 Jul 2009 07:28:57 +0000 (00:28 -0700)]
Add support for merging separate databases.

Also refactor MainApp to import the entire QtCore namespace - I keep
forgetting to specify, and I import all of QtCore everywhere else
anyway.

15 years agoMerge branch 'master' of ssh://mirror.tamu.edu/home/zarvox/git/wp3
Drew Fisher [Sun, 19 Jul 2009 06:46:24 +0000 (23:46 -0700)]
Merge branch 'master' of ssh://mirror.tamu.edu/home/zarvox/git/wp3

15 years agoTransparently convert UINs into NetIDs, for people who can't follow instructions...
Drew Fisher [Sun, 19 Jul 2009 05:27:59 +0000 (22:27 -0700)]
Transparently convert UINs into NetIDs, for people who can't follow instructions correctly. :P

15 years agoMake EditPerson filter line read "Filter by name" instead of just "Filter"
Drew Fisher [Sun, 19 Jul 2009 05:16:16 +0000 (22:16 -0700)]
Make EditPerson filter line read "Filter by name" instead of just "Filter"

15 years agoAdd disclaimer so people know what their data will be used for.
Drew Fisher [Sun, 19 Jul 2009 04:48:01 +0000 (21:48 -0700)]
Add disclaimer so people know what their data will be used for.

15 years agoMake no default dorm, to keep people from accidently ignoring the field.
Drew Fisher [Sun, 19 Jul 2009 04:16:47 +0000 (21:16 -0700)]
Make no default dorm, to keep people from accidently ignoring the field.

15 years agoMake opening a new database work correctly in EditPerson.
Drew Fisher [Mon, 13 Jul 2009 01:01:32 +0000 (18:01 -0700)]
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.

15 years agoFix a bug in DB loading and use statusbar for messages.
Drew Fisher [Wed, 8 Jul 2009 15:21:32 +0000 (08:21 -0700)]
Fix a bug in DB loading and use statusbar for messages.

15 years agoKeep EditPerson within the main window - it has no need to be a modal dialog.
Drew Fisher [Wed, 8 Jul 2009 06:46:10 +0000 (23:46 -0700)]
Keep EditPerson within the main window - it has no need to be a modal dialog.

15 years agoComplete EditPerson functionality.
Drew Fisher [Tue, 7 Jul 2009 05:18:00 +0000 (22:18 -0700)]
Complete EditPerson functionality.

With this commit, the program now has 2 of the 4 main screen pushbuttons
fully implemented - New Person Wizard and Edit Person.

Plans for photo merging - order photo files by creation timestamp and database entries
without photos by creation timestamp.

Plans for exporting to document - QTextDocumentWriter is sweet.
http://doc.trolltech.com/qq/qq27-odfwriter.html

15 years agoFiltered, incremental search works in EditPerson.
Drew Fisher [Sun, 5 Jul 2009 18:57:49 +0000 (13:57 -0500)]
Filtered, incremental search works in EditPerson.

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.

15 years agoAdd table view in edit mode.
Drew Fisher [Sun, 5 Jul 2009 07:29:50 +0000 (02:29 -0500)]
Add table view in edit mode.

Change database schema so that first name appears first in QTableView.
No data connections yet for editor.  TODO.

15 years agoImplement SQLite database backend via QtSql.
Drew Fisher [Sun, 5 Jul 2009 06:30:51 +0000 (01:30 -0500)]
Implement SQLite database backend via QtSql.

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.

15 years agoRemove DoneStep - pruned in favor of QWizard usage
Drew Fisher [Sat, 4 Jul 2009 16:36:11 +0000 (11:36 -0500)]
Remove DoneStep - pruned in favor of QWizard usage

15 years agoAdd EditPerson UI. This may get refactored into the central widget/widget stack...
Drew Fisher [Sat, 4 Jul 2009 16:16:40 +0000 (11:16 -0500)]
Add EditPerson UI.  This may get refactored into the central widget/widget stack, depending on how that works out.

15 years agoAdd a "completed" page with a stub to be used to commit adding the person to the...
Drew Fisher [Fri, 3 Jul 2009 23:04:36 +0000 (18:04 -0500)]
Add a "completed" page with a stub to be used to commit adding the person to the database.

General wizard page cleanup.

15 years agoOops, forgot to delete lines referencing the files I deleted.
Drew Fisher [Fri, 3 Jul 2009 07:19:01 +0000 (02:19 -0500)]
Oops, forgot to delete lines referencing the files I deleted.

15 years agoUse QWizard to create the new person wizard. Integrated LDAP lookup. No return...
Drew Fisher [Fri, 3 Jul 2009 07:15:30 +0000 (02:15 -0500)]
Use QWizard to create the new person wizard.  Integrated LDAP lookup.  No return values yet.

15 years agoMain app UI mockup.
Drew Fisher [Wed, 1 Jul 2009 04:37:22 +0000 (21:37 -0700)]
Main app UI mockup.

15 years agoAdd README with copyright/license info.
Drew Fisher [Wed, 1 Jul 2009 04:36:52 +0000 (21:36 -0700)]
Add README with copyright/license info.

15 years agoAdd GPLv3 license.
Drew Fisher [Mon, 22 Jun 2009 06:47:30 +0000 (23:47 -0700)]
Add GPLv3 license.

15 years agoAttempt to implement a modular interface for WP3 in python with PyQt.
Drew Fisher [Sun, 21 Jun 2009 08:20:20 +0000 (01:20 -0700)]
Attempt to implement a modular interface for WP3 in python with PyQt.

Partial port of wizard (MainFrame) from WP2 to PyQt4.  Addition of LDAP
lookup by NetID for new users.  Perhaps the New Person Wizard should
be modal?

Code actually looks up user by NetID in LDAP and prints the fields that
we plan to actually use for the whitepages.