Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar 448b632a2d Add Alembic files to the manifest. 2015-01-27 20:06:22 -06:00
Lance Edgar 6621c8544c Update changelog. 2015-01-27 19:21:57 -06:00
Lance Edgar 1bcfa2dc45 Add core Alembic migration repository.
Many thanks to Mike Bayer for making this possible via Alembic 0.7!
2015-01-27 19:18:56 -06:00
Lance Edgar 79ac489ab4 Add some things to rattail.db.model.
Some for the sake of those extending the model; also bring all batch models
into the "core" to make things easier.
2015-01-27 19:12:42 -06:00
Lance Edgar 661e54324e Make all constraint and index names explicit.
Still maybe need to look into explicit naming convention, but at least now
we have reliable names.
2015-01-27 13:16:26 -06:00
Lance Edgar 07413135c0 Update changelog. 2015-01-26 14:29:32 -06:00
Lance Edgar 289b856317 Fix filemon fallback watcher to ignore things which aren't files. 2015-01-26 14:28:31 -06:00
Lance Edgar fe11a46012 Update changelog. 2015-01-26 13:16:55 -06:00
Lance Edgar 4cb0c806ed Finish "fallback watcher" filemon feature for Windows.
Tested enough that I think it's totally working...
2015-01-24 05:11:21 -06:00
Lance Edgar 225254fd5b Add fallback watcher feature for filemon on Windows.
(Hopefully..has yet to be tested.)
2015-01-24 02:46:04 -06:00
Lance Edgar ed7d61430c Pause execution within filemon action loops.
Still needs testing on Linux, but this appears to fix the massive CPU
consumption on Windows (finally!).
2015-01-23 16:24:47 -06:00
Lance Edgar c1a6f15568 Update changelog. 2015-01-20 17:56:07 -06:00
Lance Edgar 4a88b8faf7 Some vendor catalog tweaks. 2015-01-20 13:21:27 -06:00
Lance Edgar 1fef43907a Split db.model into subpackage.
At least that's all I set out to do, in an effort to improve/fix the import
issues surrounding models in the new batch system.  The question of "model
vs API" came up though, so I tried to lean toward model first, API second
when imports happen.
2015-01-20 00:48:59 -06:00
Lance Edgar a8a849ae1f Add purge column to batch mixin. 2015-01-19 22:23:47 -06:00
Lance Edgar 1066d4fedd Initial commit of new batch mixin system...
Attempt number 5,176 at finding a good way to make flexible batches.
2015-01-19 00:19:47 -06:00
Lance Edgar fd5a13c252 Improve get_vendor() API function to check settings for keys. 2015-01-19 00:19:43 -06:00
Lance Edgar b6efdf0da6 Add Product.cost_for_vendor() method. 2015-01-19 00:09:16 -06:00
Lance Edgar 39bfe330e0 Tweak unicode(User) output. 2015-01-19 00:08:36 -06:00
Lance Edgar cbbf1eb5eb Make SIL writer use a temp path if caller doesn't provide one. 2015-01-18 23:59:06 -06:00
Lance Edgar d20c1fa175 Slight code style cleanup. 2015-01-15 14:54:43 -06:00
Lance Edgar d7499cc0e2 Change default batch purge date to 60 days out instead of 90.
This is still pretty arbitrary and if "batches" make the cut in the long
run then this surely needs to be configurable.
2015-01-15 14:32:09 -06:00
Lance Edgar 4966b70d58 Make Vendor.id unique; add get_vendor() API function. 2015-01-14 22:58:40 -06:00
Lance Edgar 58a1081d11 Add some custom SIL columns.
These are being used by a vendor catalog importer.
2015-01-14 21:28:34 -06:00
Lance Edgar ff005b2f26 Add Product.pretty_upc and improve unicode(Product). 2015-01-14 19:33:57 -06:00
Lance Edgar 762fed64d4 Update changelog. 2015-01-14 15:38:35 -06:00
Lance Edgar 3a3b2514ec Move bcrypt requirement into 'auth' extra feature.
For the love of God can we please not require this on Windows...unless we
truly need it.
2015-01-14 15:37:37 -06:00
Lance Edgar d726a0960d Allow override of progress text in sil.Writer.write_rows(). 2015-01-11 19:11:33 -06:00
Lance Edgar b4656e1d43 Quote PG username when setting password via Fabric. 2015-01-08 15:11:03 -06:00
Lance Edgar 4129e38dde Update changelog. 2015-01-05 17:36:32 -06:00
Lance Edgar a4f0db920f Fix some string literal bugs.
Apparently a backslash followed by capital U doesn't fly with the rules for
raw string literals...
2015-01-05 17:35:12 -06:00
Lance Edgar 19f7ae245b Update changelog. 2014-12-18 10:13:45 -06:00
Lance Edgar de3f61f34c Add shell=False arg to some Fabric calls for PostgreSQL. 2014-12-05 11:29:49 -06:00
Lance Edgar 325b453208 Update changelog. 2014-12-03 11:04:03 -06:00
Lance Edgar c718908153 Remove 'db' extra from requirements definition. 2014-12-03 11:02:33 -06:00
Lance Edgar eee23fefb7 Make alembic a core requirement, for now... 2014-12-03 11:00:06 -06:00
Lance Edgar aea2fcc896 Add virtualenvwrapper to profile script for root and current user. 2014-12-03 10:56:27 -06:00
Lance Edgar 4b13d1999e Add mail alias option to make_system_user() Fabric function. 2014-11-24 22:41:13 -06:00
Lance Edgar fd7ac37246 Add Unicode representation for Setting model. 2014-11-23 14:34:29 -06:00
Lance Edgar 92c03f5d8d General header / Unicode cleanup.
This hopefully updates all module headers such that the file encoding is
utf-8, and uses Unicode literals, etc.
2014-11-18 23:29:26 -06:00
Lance Edgar 0a32fe0e59 Add consume_batch_id() convenience method to sil.Writer class. 2014-11-18 19:32:55 -06:00
Lance Edgar a7992bc0a7 Update changelog. 2014-11-17 11:01:16 -06:00
Lance Edgar bdbe1a4060 Add temp_path() method to rattail.sil.Writer class. 2014-11-17 10:57:17 -06:00
Lance Edgar 185764076b Add fablib.mysql for MySQL management. 2014-11-17 10:56:36 -06:00
Lance Edgar 1b588d7e99 Fix psql Fabric function, add drop_pg_db. 2014-11-13 12:27:36 -06:00
Lance Edgar 28e61e4377 Fix tox dependencies when building docs. 2014-11-12 17:28:42 -06:00
Lance Edgar 10aa8f5661 Add alembic to dependency list for tox. 2014-11-12 17:22:48 -06:00
Lance Edgar a7810032b7 Add Fabric library module for PostgreSQL. 2014-11-12 17:18:53 -06:00
Lance Edgar 581a1cb9a7 Add obfuscate_url_pw() to db.util module.
This is just for convenience...I think.
2014-11-12 17:15:26 -06:00
Lance Edgar b2d7f32b3a Tweak some system functions for use with Fabric. 2014-11-11 20:58:28 -06:00