Commit graph

2610 commits

Author SHA1 Message Date
Lance Edgar 92a1c1dd30 Update changelog. 2015-12-05 14:38:24 -06:00
Lance Edgar e3b017fbf9 Add Email.abstract attribute, and tweak fallback key. 2015-12-05 14:37:28 -06:00
Lance Edgar a0869b1fc3 Replace rsync() function in fablib.
This one requires some setup on the "live" server, but seems to work pretty
well...
2015-12-04 20:34:12 -06:00
Lance Edgar 959a36f342 Update changelog. 2015-12-04 18:41:31 -06:00
Lance Edgar f56292ac02 Overhaul email framework.
At least, mostly..still have a gap here and there.
2015-12-04 17:25:23 -06:00
Lance Edgar d851b1602c Tweak wording of error message when no email recips defined. 2015-12-04 00:28:13 -06:00
Lance Edgar beb8568e56 Tweak some core config init, to avoid leveraging db settings. 2015-12-04 00:27:37 -06:00
Lance Edgar c1a84d040f Tweak pip and virtualenv bootstrapping in fablib.
Per experience with bootstrapping latest Debian...
2015-12-04 00:26:37 -06:00
Lance Edgar abe7c4b9ae Update changelog. 2015-12-01 19:34:20 -06:00
Lance Edgar 2099698fbd Add support for 'primary' pseudo-field when importing product codes.
And fix that importer in general.
2015-12-01 19:33:25 -06:00
Lance Edgar d402271644 Update changelog. 2015-12-01 18:18:55 -06:00
Lance Edgar a8b9c5d803 Fix bug in importer, when there are no source data records. 2015-12-01 17:40:31 -06:00
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