Commit graph

3270 commits

Author SHA1 Message Date
Lance Edgar 1062de524b Fix bug in initdb command. 2015-11-15 19:17:28 -06:00
Lance Edgar e7e5908615 Overhaul initdb command a bit.
Not sure it's done yet, need to commit for further testing.
2015-11-15 18:53:48 -06:00
Lance Edgar 1302e9e207 Add db_model property to Command class.
Not sure if that will be useful or not yet.
2015-11-15 18:52:27 -06:00
Lance Edgar 81ebe4a450 Add Mako support to fablib deploy() functions. 2015-11-15 14:38:08 -06:00
Lance Edgar 52c117dfc1 Fix bug in 'pod' fablib. 2015-11-15 14:37:59 -06:00
Lance Edgar 1eb8dfdc25 Fix bug in python fablib. 2015-11-15 13:34:17 -06:00
Lance Edgar b82dd69481 Refactor the fablib package a bit, in prep for online docs.
This hopefully cleans up the API a bit, makes it nicer to document.
2015-11-15 12:17:01 -06:00
Lance Edgar 4d55547d61 Change path used for fabric rsync (again). 2015-11-13 23:58:35 -06:00
Lance Edgar a4b2daab8e Rename folder used for fabric filesync. 2015-11-13 22:51:38 -06:00
Lance Edgar 23ed20d813 Add rsync fabric function.
For doing a production server migration, to help snagging all the data files.
2015-11-13 20:52:20 -06:00
Lance Edgar 595bf089fb Add get_debian_version() fabric function. 2015-11-13 18:39:53 -06:00
Lance Edgar 5abfbf6b15 Add default.enabled config logic for rattail.mail. 2015-11-13 10:10:29 -06:00
Lance Edgar e27fc70e94 Add ErrorTestConsumer for testing datasync error handling. 2015-11-12 14:21:04 -06:00
Lance Edgar 5e5702bc10 Comment out broken test. 2015-11-09 20:34:26 -06:00
Lance Edgar 669a045b8e Update changelog. 2015-11-09 19:46:19 -06:00
Lance Edgar cb7855c194 Tweak startup logic involving config and logging...
For the sake of the rattail-locsms importer specifically.  Hopefully this
doesn't break anything else.
2015-11-09 19:43:22 -06:00
Lance Edgar 2195c3bf6d Add some more custom units of measure. 2015-11-09 19:42:48 -06:00
Lance Edgar faf5802158 Improve repr(Change) output. 2015-11-05 01:34:21 -06:00
Lance Edgar 0b03551a58 Clean up some logging calls when recording instance changes. 2015-11-05 01:33:59 -06:00
Lance Edgar b8333e822c Add basic exception logging to datasync daemon.
Should cover the bases anyway, hopefully..
2015-11-05 00:23:42 -06:00
Lance Edgar a6ea331416 Add ability to disable emails on a per-type basis. 2015-11-04 22:58:32 -06:00
Lance Edgar d987d13e48 Update changelog. 2015-11-03 16:46:27 -06:00
Lance Edgar 10c897f487 Grow DataSyncChange.payload_type column.
Need to accommodate e.g. 'CustomerGroupAssignment'.
2015-11-03 16:45:10 -06:00
Lance Edgar 944576d3fc Update changelog. 2015-10-30 23:00:17 -05:00
Lance Edgar 1a2cf5b531 Fix format string for Python 2.6. 2015-10-23 17:49:59 -05:00
Lance Edgar a40f7367c2 Fix a few tests, comment out a bunch also.
Wow the tests are really showing their lack of love...
2015-10-23 13:29:07 -05:00
Lance Edgar 4a534800c4 Add Change.uuid as new primary key for the table.
This should help eliminate certain race conditions.
2015-10-22 23:29:12 -05:00
Lance Edgar 2bc28bbe24 Finish the 'lastrun' logic for datasync daemon.
At least, I think it's finished now..
2015-10-20 15:11:04 -05:00
Lance Edgar 6ffd7235ff Improve 'settings' API functions so they don't require a session.
Seems way handier that way, sometimes.
2015-10-20 15:10:31 -05:00
Lance Edgar e402352dd6 Add initial clonedb command.
Needing a way to fire up some mock databases with Postgres...
2015-10-20 01:38:47 -05:00
Lance Edgar 0765ae5e26 Add initial "last run" support for datasync watchers.
Actually this is just a stub, definitely not complete yet.
2015-10-19 23:34:10 -05:00
Lance Edgar f393ce21d1 Improve the localtime() function a bit.
Add support for accepting a zone-aware timestamp, and returning a naive
timestamp.
2015-10-19 23:33:26 -05:00
Lance Edgar 3184c6fd87 Add contrib init.d script for datasync daemon. 2015-10-17 20:30:40 -05:00
Lance Edgar 052b390707 Revert "Add version restriction for SQLAlchemy-Utils."
This reverts commit 22a713b40f.

I think this is no longer an issue?
2015-10-17 20:05:40 -05:00
Lance Edgar e62a570951 Add 'datasync' daemon.
First attempt, but already seems to work as good or better than 'dbsync'.
2015-10-17 17:53:21 -05:00
Lance Edgar e12aba7174 Update changelog. 2015-08-27 12:45:53 -05:00
Lance Edgar a98d980fb0 Fix manifest to include email templates. 2015-08-27 12:44:55 -05:00
Lance Edgar 967f1a56c2 Update changelog. 2015-08-25 13:40:49 -05:00
Lance Edgar c173c97afc Add temporary hack for sake of WinCE label batches. 2015-08-25 13:39:43 -05:00
Lance Edgar 050bc321a1 Update changelog. 2015-08-24 19:21:35 -05:00
Lance Edgar 803ac4bb5e "Fix" (disable) some tests.. 2015-08-21 22:17:52 -05:00
Lance Edgar 15003f47d9 Add ImportHandler class, update ImportSubcommand to use it etc. 2015-08-21 22:14:20 -05:00
Lance Edgar ec5602ce39 Add support for "fallback key" when sending mail with config. 2015-08-21 22:13:03 -05:00
Lance Edgar be4181235b Add --no-extend-config arg to command line system, for sake of tests. 2015-08-21 00:44:39 -05:00
Lance Edgar 5413daa296 Add config to old BatchExecutor constructor.
All that needs to go away at some point, but in the meantime it needs to
stay somewhat abreast of other changes..
2015-08-20 22:13:31 -05:00
Lance Edgar b2c9918985 Update changelog. 2015-08-20 16:11:54 -05:00
Lance Edgar c8235eac38 Configure logging when initializing Windows services. 2015-08-20 16:09:33 -05:00
Lance Edgar 4767c5530d Update changelog. 2015-08-20 14:41:46 -05:00
Lance Edgar b9b170c843 Fix another dang bug in config.get_user_dir(). 2015-08-20 14:41:00 -05:00
Lance Edgar 00dac8f130 Update changelog. 2015-08-20 14:39:10 -05:00