Commit graph

3398 commits

Author SHA1 Message Date
Lance Edgar
248553a516 Added initdb command. 2013-09-02 23:01:14 -07:00
Lance Edgar
e27427dddc Added db.auth module. 2013-09-01 20:23:23 -07:00
Lance Edgar
0079d12ad3 Declare dependencies instead of relying on edbob. 2013-09-01 15:09:38 -07:00
Lance Edgar
901aef27c3 update changelog 2013-08-31 15:11:04 -07:00
Lance Edgar
b1cd6f405b Fixed Customer._people relationship cascading. 2013-08-31 15:08:29 -07:00
Lance Edgar
30c51fe2d6 update changelog 2013-08-30 20:06:01 -07:00
Lance Edgar
98a0625418 Added some CustomerEmailAddress tests, removed some unused tests. 2013-08-29 15:03:37 -07:00
Lance Edgar
c44ddd3740 Overhauled some database stuff; added tests. 2013-08-25 09:12:54 -07:00
Lance Edgar
f66126ca6f Added --do-not-daemonize flag to dbsync command on Linux. 2013-08-23 14:54:06 -07:00
Lance Edgar
c02ea42184 Fixed CustomerPerson to require customer and person. 2013-08-23 00:02:57 -07:00
Lance Edgar
ba7cb6c712 Fixed bugs with CustomerGroupAssignment.
Now orphaned records should no longer be allowed.
2013-08-22 23:31:39 -07:00
Lance Edgar
9388a1cdfe update changelog 2013-08-21 18:26:03 -07:00
Lance Edgar
ee7d0f1210 Fixed bug in csvutil.DictWriter; added tests. 2013-08-21 18:24:14 -07:00
Lance Edgar
6abef65ab0 update changelog 2013-08-21 17:01:08 -07:00
Lance Edgar
3dbfe64319 Added dump command. 2013-08-21 16:59:27 -07:00
Lance Edgar
659c27a293 Added --do-not-daemonize arg to filemon command on Linux.
Also removed some of the dependence on `edbob`.
2013-08-14 22:17:41 -07:00
Lance Edgar
cf412c58e1 Replaced a couple of occurrences of edbob. 2013-07-19 15:52:27 -07:00
Lance Edgar
c631e959b2 Added Product.full_description convenience attribute. 2013-07-19 15:01:40 -07:00
Lance Edgar
488cb5d9b3 update changelog 2013-07-15 19:56:56 -07:00
Lance Edgar
6b1344738e Added unicode-aware CSV reader. 2013-07-15 19:55:40 -07:00
Lance Edgar
c12df278ab update changelog 2013-07-05 11:30:53 -07:00
Lance Edgar
400ccae8e0 Fixed dbsync bug when deleting a CustomerGroup.
Any customer associations which still existed were causing database integrity
errors.
2013-07-05 11:27:30 -07:00
Lance Edgar
c2921b38f7 Added late/mock imports to some win32 code for testing on Linux. 2013-06-19 14:02:19 -07:00
Lance Edgar
4f34e6dddc Prepare for tests.
This doesn't add any actual tests but it should pave the way for that.  Tests
may be run like so:

{{{
python setup.py nosetests --with-coverage
}}}
2013-06-19 08:03:42 -07:00
Lance Edgar
844856f425 update changelog 2013-06-17 22:29:28 -07:00
Lance Edgar
e6b70c6abb Added get_product_by_code() API function. 2013-06-17 22:27:21 -07:00
Lance Edgar
4e613f2d53 update changelog 2013-06-09 13:38:52 -07:00
Lance Edgar
cb7f07149b Fixed db.cache module so as not to require initialization. 2013-06-09 12:56:52 -07:00
Lance Edgar
763a0d3ab1 Added ProductCode, Product.codes to data model. 2013-06-09 12:55:57 -07:00
Lance Edgar
312e0b08e8 Added --all argument to purge-batches command. 2013-06-09 00:46:22 -07:00
Lance Edgar
3203b42828 Added files.overwriting_move() convenience function. 2013-06-08 12:57:50 -07:00
Lance Edgar
710ef74664 Added proper init.d support to Linux dbsync daemon.
* Added `--pidfile` argument to `dbsync` command.
* Added `configure_dbsync` Fabric command.
2013-06-07 08:40:52 -07:00
Lance Edgar
64f9a994b1 update changelog 2013-06-06 19:48:08 -07:00
Lance Edgar
db539f3b3b Improved sil.Writer.write_rows().
This method now allows explicitly specifying the row count, and accepts a
progress factory.
2013-06-06 05:15:47 -07:00
Lance Edgar
9c25411c81 Added Batch.rows property, deprecated Batch.iter_rows(). 2013-06-06 05:11:14 -07:00
Lance Edgar
db46bcaf58 Changed Linux file monitor to leverage local code instead of edbob. 2013-06-06 04:12:41 -07:00
Lance Edgar
e60b7797e9 Fixed make-user so that the new user account never expires. 2013-06-05 17:54:16 -07:00
Lance Edgar
257dd2a33f Added avatar image, who knows when that will be useful.
This was created in the hopes it could be used to programmatically set the
Windows user "tile" image; but that proved unfruitful.
2013-06-05 07:50:28 -07:00
Lance Edgar
d1f51dce03 Added make-user command for creating Windows system user account. 2013-06-05 07:50:01 -07:00
Lance Edgar
63054311fd update changelog 2013-06-04 22:04:41 -07:00
Lance Edgar
4192c058b8 Overhaul of Windows file monitor.
This includes:

* "More native" Windows file monitor (i.e. less reliant on `edbob`; current
  code is more or less copied from that project).
* Improve base class for services, to handle the case where the Windows event
  log is full and can't be written to.  (This prevented the file monitor from
  starting on a machine where the log was full.)
2013-06-04 21:53:41 -07:00
Lance Edgar
dc3fd2f1c0 Fixed "process elevation check" on Windows XP.
This affected the file monitor management commands.  Probably the check should
not even happen on Windows XP (?) but the current code seems to work okay...

closes #11
2013-06-02 16:38:34 -07:00
Lance Edgar
d9428c4e0b Fixed file monitor service registration on Windows with --auto-start.
closes #10
2013-06-02 11:31:15 -07:00
Lance Edgar
331f775512 Added (Linux) file monitor configuration to Fabric script.
Also improved `create_user` to allow overwriting some settings.
2013-06-02 11:03:31 -07:00
Lance Edgar
a732804911 Slight overhaul of Linux file monitor.
This includes the following:

* "More native" Linux file monitor (i.e. less reliant on `edbob`; current code
  is more or less copied from that project).
* Addition of `--pidfile` command argument on Linux.
2013-06-01 20:13:38 -07:00
Lance Edgar
4f96c6a457 Changed home folder of system user account to /var/lib/rattail. 2013-05-31 23:07:55 -07:00
Lance Edgar
e15bd14436 update changelog 2013-05-22 21:41:55 -07:00
Lance Edgar
5b0182470c Added temp_path() function in files module. 2013-05-22 21:40:43 -07:00
Lance Edgar
4ae4989cb7 Tweaked Fabric release command. 2013-05-22 18:10:35 -07:00
Lance Edgar
b8a47619fe update changelog 2013-05-22 18:01:06 -07:00