chemdb.git
14 years agoConvert ChemDB from web.py to CherryPy. 0.4
W. Trevor King [Tue, 24 Aug 2010 16:54:53 +0000 (12:54 -0400)]
Convert ChemDB from web.py to CherryPy.

I like CherryPy's interface better, and web.py depends on CherryPy
anyway.  Time to cut out the middleman.

Also moved to a non-flat directory structure.

This was a major reorganization, so it may have introduced a few bugs.
I'll probably turn up anything major in the next day or two.

I've learned a lot about Python since I wrote the earlier versions of
ChemDB.  The portions that I've rewritten reflect those changes, but a
good of the unchanged code is still a bit awkward.

Still to come:
* Remove metapost dependency by using PGF/TikZ to generate the NFPA
  diamond.

15 years agoAdded --inventory, --door-warning to chem_db.py's command-line interface.
W. Trevor King [Thu, 30 Apr 2009 13:23:32 +0000 (09:23 -0400)]
Added --inventory, --door-warning to chem_db.py's command-line interface.

Also their associated options --valid-record, --sort-field, and
--pdf-title.  The door_warning format doesn't have an obvious title
location, so I need to think about that some more...

Also added --audit, to check for troublesome entries.

15 years agoProtect against blank long-header line.
W. Trevor King [Mon, 5 Jan 2009 16:08:52 +0000 (11:08 -0500)]
Protect against blank long-header line.

15 years agoAdded error specific to missing database files.
W. Trevor King [Mon, 5 Jan 2009 15:09:24 +0000 (10:09 -0500)]
Added error specific to missing database files.

Better than a general assert error.

16 years agoAdded chem_web.pid to .gitignore
W. Trevor King [Mon, 15 Sep 2008 18:15:08 +0000 (14:15 -0400)]
Added chem_web.pid to .gitignore

16 years agoIncremented chem_web version number 0.3
W. Trevor King [Mon, 15 Sep 2008 17:55:54 +0000 (13:55 -0400)]
Incremented chem_web version number

16 years agoCleaned up dependencies.
William Trevor King [Sat, 13 Sep 2008 13:29:10 +0000 (09:29 -0400)]
Cleaned up dependencies.

Adjusted doc Makefiles to correctly rebuild the NFPA diamond when
necessary.  Added LaTeX section to DEPENDENCIES.  Added some missing
files to .gitignore.  Updated webserver name due to changes in
webpy/httpserver.py patch.

16 years agoRemoved daemon module from external dependencies.
William Trevor King [Sat, 13 Sep 2008 12:33:25 +0000 (08:33 -0400)]
Removed daemon module from external dependencies.

16 years agoAdded daemon module to versioning.
William Trevor King [Sat, 13 Sep 2008 12:30:15 +0000 (08:30 -0400)]
Added daemon module to versioning.

After thinking about it, I've decided that it's chem_web specific
enough do not stand alone.

16 years agoAdded .gitignore to clean up git-status output.
William Trevor King [Sat, 13 Sep 2008 10:59:49 +0000 (06:59 -0400)]
Added .gitignore to clean up git-status output.

16 years agoAdded dependencies file.
W. Trevor King [Fri, 29 Aug 2008 10:13:38 +0000 (06:13 -0400)]
Added dependencies file.

Possible TODO: write example installation script?

16 years agoAdded reference to simplewiki.py to README
W. Trevor King [Fri, 29 Aug 2008 10:10:44 +0000 (06:10 -0400)]
Added reference to simplewiki.py to README

16 years agoAdded OX='n' -W-='n' case to gen_NFPA.sh
W. Trevor King [Fri, 29 Aug 2008 10:07:59 +0000 (06:07 -0400)]
Added OX='n' -W-='n' case to gen_NFPA.sh

Also fixed re typo in Location regexp compile

16 years agoDropping flegling regexp validation
W. Trevor King [Fri, 29 Aug 2008 08:43:29 +0000 (04:43 -0400)]
Dropping flegling regexp validation

How would you validate it anyway?  It's already a string...

16 years agoAdded regexp matching for Location search
W. Trevor King [Fri, 29 Aug 2008 08:39:58 +0000 (04:39 -0400)]
Added regexp matching for Location search

16 years agoAdded simple form handling to Location search door warnings.
W. Trevor King [Fri, 29 Aug 2008 00:43:04 +0000 (20:43 -0400)]
Added simple form handling to Location search door warnings.

Also fixed a minor ?bug? with the door warning output in cases where
there are no NFPA "Other" chemicals.

16 years agoUpdated the docs template with a Location regexp form.
wking [Fri, 29 Aug 2008 00:09:19 +0000 (20:09 -0400)]
Updated the docs template with a Location regexp form.

Also fixed a silly typo in text_db.py.

16 years agoFixed typos in docs.html template.
wking [Thu, 28 Aug 2008 23:46:40 +0000 (19:46 -0400)]
Fixed typos in docs.html template.

16 years agoAdded valid_record option to door_warning()
wking [Thu, 28 Aug 2008 23:17:32 +0000 (19:17 -0400)]
Added valid_record option to door_warning()

Also deleted chem_web_secure.py, since it is trivially similar to
chem_web.py.  Only the log/pid filenames and the value of the SSL
variable were different.

16 years agoRepository created. 0.2
wking [Thu, 28 Aug 2008 22:48:43 +0000 (18:48 -0400)]
Repository created.