sitecorepy.git
13 years agoFilled in Graduation parsing in export_mysql
W. Trevor King [Sat, 26 Jun 2010 21:54:22 +0000 (17:54 -0400)]
Filled in Graduation parsing in export_mysql

13 years agog.graduations -> p.graduations typo fix in export_mysql.main
W. Trevor King [Sat, 26 Jun 2010 21:43:27 +0000 (17:43 -0400)]
g.graduations -> p.graduations typo fix in export_mysql.main

13 years agoposition1 == Null if it's not set
W. Trevor King [Sat, 26 Jun 2010 21:42:24 +0000 (17:42 -0400)]
position1 == Null if it's not set

13 years agoposition1 -> position and position2 -> position1 (to match people table)
W. Trevor King [Sat, 26 Jun 2010 21:41:20 +0000 (17:41 -0400)]
position1 -> position and position2 -> position1 (to match people table)

13 years agoA first attempt at MySQL -> Professor() conversion
W. Trevor King [Sat, 26 Jun 2010 21:39:49 +0000 (17:39 -0400)]
A first attempt at MySQL -> Professor() conversion

13 years agoAdded list-handling to AttributeHolder.__unicode__
W. Trevor King [Sat, 26 Jun 2010 21:37:04 +0000 (17:37 -0400)]
Added list-handling to AttributeHolder.__unicode__

Also added some missing fields from the Drexel specs to the
AttributeHolder subclasses.

13 years agoAdded string output methods to AttributeHolder.
W. Trevor King [Sat, 26 Jun 2010 21:11:50 +0000 (17:11 -0400)]
Added string output methods to AttributeHolder.

13 years agoUse dict_ in export_mysql to avoid clobbering builtin dict
W. Trevor King [Sat, 26 Jun 2010 20:51:29 +0000 (16:51 -0400)]
Use dict_ in export_mysql to avoid clobbering builtin dict

13 years agoAdd leading space to where string
W. Trevor King [Sat, 26 Jun 2010 20:43:39 +0000 (16:43 -0400)]
Add leading space to where string

13 years agoAdded logging commands to export_mysql
W. Trevor King [Sat, 26 Jun 2010 20:38:20 +0000 (16:38 -0400)]
Added logging commands to export_mysql

13 years agoFix typo in export_mysql.SimpleDB.connect signature
W. Trevor King [Sat, 26 Jun 2010 20:31:45 +0000 (16:31 -0400)]
Fix typo in export_mysql.SimpleDB.connect signature

13 years agoFixup submod import in sc.py
W. Trevor King [Sat, 26 Jun 2010 20:21:17 +0000 (16:21 -0400)]
Fixup submod import in sc.py

13 years agoOops. ./sc -> ./sc.py in help texts.
W. Trevor King [Sat, 26 Jun 2010 20:17:10 +0000 (16:17 -0400)]
Oops.  ./sc -> ./sc.py in help texts.

13 years agoAdded a .gitignore file (currently ignores *.pyc)
W. Trevor King [Sat, 26 Jun 2010 20:11:06 +0000 (16:11 -0400)]
Added a .gitignore file (currently ignores *.pyc)

13 years agoAdded sc.py, a
W. Trevor King [Sat, 26 Jun 2010 20:08:04 +0000 (16:08 -0400)]
Added sc.py, a

Because relative imports don't work with
  $ ./sitecore/prof/export_mysql.py
etc.

Also a number of syntax fixups and unicode -> ascii translations.

13 years agoMoved prof_import/export down into sitecore/prof.
W. Trevor King [Sat, 26 Jun 2010 19:49:18 +0000 (15:49 -0400)]
Moved prof_import/export down into sitecore/prof.

Also moved doc/faculty.txt into the sitecore.prof doctring.

13 years agoAdded sitecore.prof_export (unfinished) for MySQL -> YAML
W. Trevor King [Sat, 26 Jun 2010 02:08:58 +0000 (22:08 -0400)]
Added sitecore.prof_export (unfinished) for MySQL -> YAML

13 years agoFix sitecore.prof_import.__doc__
W. Trevor King [Sat, 26 Jun 2010 02:08:20 +0000 (22:08 -0400)]
Fix sitecore.prof_import.__doc__

13 years agoBreak sitecore.setup_logger() out to sitecore.get_logger().
W. Trevor King [Sat, 26 Jun 2010 02:04:28 +0000 (22:04 -0400)]
Break sitecore.setup_logger() out to sitecore.get_logger().

This lets us use the same logger in other submodules.

Also: make selenium import optional in sitecore/__init__.py,
so we can run related but non-SiteCore submodules.

13 years agoRemove some old cruft from sitecore.alt_tags
W. Trevor King [Fri, 25 Jun 2010 20:04:29 +0000 (16:04 -0400)]
Remove some old cruft from sitecore.alt_tags

13 years agoAdded prof_import stub
W. Trevor King [Fri, 25 Jun 2010 19:29:22 +0000 (15:29 -0400)]
Added prof_import stub

13 years agoExcerpted other relevant blurbs from the faculty profile email.
W. Trevor King [Fri, 25 Jun 2010 19:28:16 +0000 (15:28 -0400)]
Excerpted other relevant blurbs from the faculty profile email.

13 years agoAdded doc/faculty.txt explaining Drexel faculty profile policy.
W. Trevor King [Fri, 25 Jun 2010 19:22:18 +0000 (15:22 -0400)]
Added doc/faculty.txt explaining Drexel faculty profile policy.

The field names don't always match up with Drexel's suggested content,
so it's good to keep track of what they want.

Translated from a PDF distributed via email:
  From: "Demi,Karissa" <...>
  Date: Mon, 24 May 2010 15:19:07 -0400
  Subject: Sitecore: Faculty Profiles

13 years agoMoved to submodule structure and split out alt_tags
W. Trevor King [Fri, 25 Jun 2010 19:08:33 +0000 (15:08 -0400)]
Moved to submodule structure and split out alt_tags

13 years agoDon't worry about sections that we can't lock
W. Trevor King [Thu, 24 Jun 2010 20:34:17 +0000 (16:34 -0400)]
Don't worry about sections that we can't lock

13 years agoBegan versioning
W. Trevor King [Thu, 24 Jun 2010 19:38:17 +0000 (15:38 -0400)]
Began versioning