Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e19bc9d78e 
								
							 
						 
						
							
							
								
								Tweaks to some model __unicode__() methods.  
							
							
							
						 
						
							2015-02-09 00:50:17 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								2581f7bda3 
								
							 
						 
						
							
							
								
								Rename tables etc. in preparation for Continuum support.  
							
							... 
							
							
							
							This has needed doing regardless I think, but the added history tables from
SQLAlchemy-Continuum make it more of a priority. 
							
						 
						
							2015-02-09 00:45:48 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								526ef323f5 
								
							 
						 
						
							
							
								
								Add more data normalization and support for more columns to model importing.  
							
							
							
						 
						
							2015-02-07 12:50:08 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								907645e044 
								
							 
						 
						
							
							
								
								Force classes derived from DataProvider to define key.  
							
							
							
						 
						
							2015-02-07 12:48:44 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								afada0171a 
								
							 
						 
						
							
							
								
								Add encoding support to files.count_lines().  
							
							... 
							
							
							
							This seemed to be necessary when working with a file with 'latin_1'
encoding.  Hopefully this is a good change and doesn't break anything..? 
							
						 
						
							2015-02-07 12:41:15 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								ec72e5c9dd 
								
							 
						 
						
							
							
								
								Fix (another) import bug when normalizing data fields which aren't present.  
							
							
							
						 
						
							2015-02-07 10:48:04 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								4c4cd39592 
								
							 
						 
						
							
							
								
								Fix import bug when normalizing data fields which aren't present.  
							
							
							
						 
						
							2015-02-06 11:04:11 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								5749ea9705 
								
							 
						 
						
							
							
								
								Increase length of Vendor.name column.  
							
							... 
							
							
							
							Bumped to 50 chars to match original Rattail schema. 
							
						 
						
							2015-02-05 11:34:37 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e2d4bf3e7f 
								
							 
						 
						
							
							
								
								Fix encoding issue when sending email with non-ASCII chars in message.  
							
							... 
							
							
							
							I still don't understand all this 100%, but this seemed to satisfy the
immediate need (bugfix). 
							
						 
						
							2015-02-05 10:36:05 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								96daae2271 
								
							 
						 
						
							
							
								
								More db.importing features and tweaks.  
							
							... 
							
							
							
							* Let `db.cache.cache_model()` accept a callable for the key.
* Add `cache_model()` methods to `Importer` and `DataProvider`.
* Support for more model classes and fields.
* Add `Person.customers` relationship/proxy.
* Add getset factory to `Employee.first_name` and `last_name`. 
							
						 
						
							2015-02-03 22:11:07 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								111e8d8553 
								
							 
						 
						
							
							
								
								More db.importing features and tweaks.  
							
							... 
							
							
							
							* Change `db.cache.cache_model()` to allow tuple for key.
* Change `db.importing.Importer` and `DataProvider` to allow tuple for key.
* Add/improve several model importers. 
							
						 
						
							2015-02-03 12:39:07 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e3a7e0c7b9 
								
							 
						 
						
							
							
								
								Add some more model data importers, etc.  
							
							... 
							
							
							
							Also remove some redundant code. 
							
						 
						
							2015-02-02 21:43:57 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								a26ff132b2 
								
							 
						 
						
							
							
								
								Fix bug when normalizing source data for import.  
							
							
							
						 
						
							2015-02-02 21:43:15 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								4e5cbd5535 
								
							 
						 
						
							
							
								
								Fix bug when importer makes new instance.  
							
							
							
						 
						
							2015-02-02 19:32:05 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								26c0d08142 
								
							 
						 
						
							
							
								
								bugfix  
							
							
							
						 
						
							2015-02-02 19:18:06 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								a035b1893a 
								
							 
						 
						
							
							
								
								Add import-csv command, and db.importing.providers.csv module.  
							
							... 
							
							
							
							Refactored `db.importing.providers` slightly to make this possible. 
							
						 
						
							2015-02-02 19:13:26 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								96c1ad1f34 
								
							 
						 
						
							
							
								
								Add db.importing subpackage.  
							
							... 
							
							
							
							First stab at this, seems to be working pretty well so far. 
							
						 
						
							2015-02-02 19:13:26 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								30e48e4b2f 
								
							 
						 
						
							
							
								
								Fix bugs in set_*_price() API functions, and make them return price object.  
							
							
							
						 
						
							2015-02-02 19:13:26 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								f386224392 
								
							 
						 
						
							
							
								
								Add csvutil.UnicodeWriter class.  
							
							... 
							
							
							
							Stole from Python docs, and used for a test but as of now no production
code is using this class. 
							
						 
						
							2015-02-02 19:13:26 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e80791337b 
								
							 
						 
						
							
							
								
								Add db.cache.cache_model() function.  
							
							... 
							
							
							
							Currently implemented via a class, but not sure if that makes the most
sense.  Anyway it can evolve if/when needed. 
							
						 
						
							2015-02-02 19:13:23 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								03fa1e53c9 
								
							 
						 
						
							
							
								
								Add set_regular_price() and set_current_sale_price() API functions.  
							
							... 
							
							
							
							Not sure how good an idea this is, we'll see. 
							
						 
						
							2015-01-31 18:17:42 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								fa1737bdd2 
								
							 
						 
						
							
							
								
								Add db.util.maxlen() function.  
							
							
							
						 
						
							2015-01-31 18:16:58 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								bfbd39048b 
								
							 
						 
						
							
							
								
								Add time.make_utc() function.  
							
							... 
							
							
							
							This seems like a good idea..? 
							
						 
						
							2015-01-31 18:15:46 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								8ec15a1ccd 
								
							 
						 
						
							
							
								
								Add Category support to cache module.  
							
							
							
						 
						
							2015-01-30 16:21:10 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								db11384bc4 
								
							 
						 
						
							
							
								
								Quote packages when installing via Fabric pip() function.  
							
							... 
							
							
							
							This is to support packages like 'SQLAlchemy<0.8' and so on.  Hoping this
change doesn't break anything... 
							
						 
						
							2015-01-30 00:36:23 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e089a1144e 
								
							 
						 
						
							
							
								
								Allow Fabric env to override POD download URL.  
							
							... 
							
							
							
							Apparently the upstream link no longer works, damn... 
							
						 
						
							2015-01-30 00:35:15 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								2c5a950557 
								
							 
						 
						
							
							
								
								Update changelog.  
							
							
							
						 
						
							2015-01-27 20:07:08 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									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