Commit graph

1898 commits

Author SHA1 Message Date
Lance Edgar
2d9efb44cd Fix possible bug when importing cost preferences.
Somehow found some preference numbers which were not in sequence.  This
should keep (some of) that at bay.
2015-12-01 16:59:35 -06:00
Lance Edgar
afc55a83a3 Update changelog. 2015-11-30 14:40:48 -06:00
Lance Edgar
022d436c39 Add files.move_lpt() function.
And get rid of `minimal_move()`.  Hopefully a little closer now...
2015-11-30 14:39:20 -06:00
Lance Edgar
4cf2151078 Update changelog. 2015-11-30 12:51:40 -06:00
Lance Edgar
bd3380eccf Add files.minimal_move() function, for "moving" files to LPT ports.
This code has yet to be tested in production, hopefully it does the trick.
2015-11-30 12:46:49 -06:00
Lance Edgar
0701b30cd0 Fix the db 'dump' function to use unicode and utf-8 file encoding. 2015-11-30 12:36:51 -06:00
Lance Edgar
0c5d84f88b Update changelog. 2015-11-25 02:35:00 -06:00
Lance Edgar
7466acaf21 Fix edge case bug when importing $0 product prices. 2015-11-24 17:26:43 -06:00
Lance Edgar
0ecee0fd78 Install ndg-httpsclient also, when installing pip site-wide. 2015-11-23 14:46:56 -06:00
Lance Edgar
eec7b4de26 Remove old 'data' folder. 2015-11-22 19:48:18 -06:00
Lance Edgar
add25f9c1b Only release docs if explicitly requested.
Not sure if that command will ever work...
2015-11-22 13:44:41 -06:00
Lance Edgar
3bf7055574 Update changelog. 2015-11-22 13:40:17 -06:00
Lance Edgar
1cd26e548b Add some debug logging to email bouncer daemon. 2015-11-22 00:06:54 -06:00
Lance Edgar
b3776895e5 Add time zone coercion to logged timestamps, if configuring logging in general. 2015-11-21 21:37:29 -06:00
Lance Edgar
402a1c2787 Add debug log message when datasync watcher consumes its own changes. 2015-11-20 17:29:31 -06:00
Lance Edgar
1d7e140cb7 Add "watcher consumes self" concept to datasync daemon. 2015-11-20 16:06:31 -06:00
Lance Edgar
b9a21e8227 Check for existence of MySQL database before dropping it, in fablib.
And add kwarg for override.
2015-11-20 16:06:05 -06:00
Lance Edgar
cef35c75ae Always install/upgrade pip and friends when making a new virtualenv. 2015-11-20 14:21:14 -06:00
Lance Edgar
bfcadafc1e Add Deployer class to fablib, for deploy.sudoers() support.
And maybe more later, we'll see.
2015-11-18 16:01:54 -06:00
Lance Edgar
f862ac7f25 Add configure_virtualenvwrapper() to fablib, for adding per-user config. 2015-11-18 16:01:24 -06:00
Lance Edgar
164b84756c Add download_db() fablib functions for mysql, postgresql.
Also fixed a bug when creating a PG user.
2015-11-18 16:00:50 -06:00
Lance Edgar
4c988b30be Update changelog. 2015-11-16 19:42:03 -06:00
Lance Edgar
465db1fb0f Fix subtle bug if email template not found. 2015-11-16 19:36:09 -06:00
Lance Edgar
c0f7f52edc Add docs to release task.
Hopefully it works, right now getting a 503 from PyPI about it...
2015-11-16 19:32:23 -06:00
Lance Edgar
7d13bd7509 Update URLs in docs etc. to use HTTPS. 2015-11-16 18:39:57 -06:00
Lance Edgar
b7148f4c55 Add bootstrap_rattail() fablib function, move init scripts. 2015-11-15 23:00:54 -06:00
Lance Edgar
f8ba819f6e Bugfix. 2015-11-15 19:25:03 -06:00
Lance Edgar
e74d1cc4f0 Remove Alembic migration code from initdb command.
Something about that wasn't working anyway.
2015-11-15 19:23:13 -06:00
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