Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								10040a8c3b 
								
							 
						 
						
							
							
								
								More tweaks to new importer framework  
							
							... 
							
							
							
							* Add `ImportSubcommand.handler_spec` for simpler subclass config
* Pass `args` all the way from command -> handler -> importer
* Add `FromRattailHandler` for convenience 
							
						 
						
							2016-05-16 19:41:21 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								437ecfe6dd 
								
							 
						 
						
							
							
								
								More tweaks for new importer framework  
							
							... 
							
							
							
							* Fix bug where some args weren't passed from command to handler
* Add new `ToRattailHandler` for convenience
* Add `ImportHandler.commit_partial_host` flag and logic
* Add `Importer.empty_local_data` flag and logic
* Fix bug where `Importer.delete` flag was ON by default
* tests for hopefully everything relevant.. 
							
						 
						
							2016-05-16 15:32:15 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								d2d8513e90 
								
							 
						 
						
							
							
								
								Fix dependency bug when testing coverage with tox  
							
							
							
						 
						
							2016-05-15 10:25:07 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								9917ed60ef 
								
							 
						 
						
							
							
								
								Add a few tests for RattailConfig  
							
							
							
						 
						
							2016-05-14 18:30:41 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								a056997c04 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-14 11:07:13 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								6ffcde5671 
								
							 
						 
						
							
							
								
								Add support for 'AdminUser' model in rattail importers  
							
							... 
							
							
							
							I.e. the User model plus the 'admin' flag pseudo-field. 
							
						 
						
							2016-05-14 10:25:53 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								1568a4bf9a 
								
							 
						 
						
							
							
								
								Remove old/unused import-rattail subcommands  
							
							
							
						 
						
							2016-05-14 10:19:30 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								12d4fc714b 
								
							 
						 
						
							
							
								
								Give teeth to ImportHandler.process_changes() in new framework  
							
							... 
							
							
							
							I.e. make it send the diff emails by default. 
							
						 
						
							2016-05-14 01:02:47 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								1704d9e025 
								
							 
						 
						
							
							
								
								Add new bulk PostgreSQL and Rattail->Rattail importers  
							
							... 
							
							
							
							Plus tests, sort of..plenty of stubs in here still. 
							
						 
						
							2016-05-14 00:26:19 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								328c8377c5 
								
							 
						 
						
							
							
								
								Add new Rattail -> Rattail main importer, with new/final framework  
							
							... 
							
							
							
							Plus tests, yay.  Also includes a couple of other tweaks which came up
in other testing. 
							
						 
						
							2016-05-13 12:25:20 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								8016ffbd26 
								
							 
						 
						
							
							
								
								Add initial handlers and subcommand for new/final importing framework  
							
							... 
							
							
							
							plus tests 
							
						 
						
							2016-05-12 12:08:37 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								b9a4def2ca 
								
							 
						 
						
							
							
								
								Clean up some imports within tests  
							
							
							
						 
						
							2016-05-11 17:31:57 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								b69785f5be 
								
							 
						 
						
							
							
								
								Add initial importers for new/final importing framework  
							
							... 
							
							
							
							Er, hopefully final.  This one gets test coverage at least, hopefully
that makes it official. 
							
						 
						
							2016-05-11 17:23:36 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								ff3e66ef82 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-11 13:49:30 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								453955dd4b 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-11 13:46:17 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								98d46b2a2b 
								
							 
						 
						
							
							
								
								Add tests for previous changes  
							
							
							
						 
						
							2016-05-11 12:34:48 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								abd7a70a6b 
								
							 
						 
						
							
							
								
								Refactor "record changes" mechanism to allow custom behavior  
							
							... 
							
							
							
							This adds some extra kwargs to both the `db.Session` class and the
`db.changes.record_changes()` function. 
							
						 
						
							2016-05-11 12:33:20 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								9b742751cd 
								
							 
						 
						
							
							
								
								Tweak Person.emails and Person.phones relationships  
							
							
							
						 
						
							2016-05-11 12:32:35 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								df39d271b7 
								
							 
						 
						
							
							
								
								Grow size of "change key" columns to 255 chars  
							
							... 
							
							
							
							No reason to limit this really, and extra padding is already needed.
This also adds the `object_key` synonym for `Change.instance_uuid`. 
							
						 
						
							2016-05-11 12:31:30 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								f954ee1eb7 
								
							 
						 
						
							
							
								
								Remove unused 'ignore role changes' flag for data change recorder  
							
							... 
							
							
							
							Datasync consumers (and similar) are welcome to ignore whatever changes
they like. 
							
						 
						
							2016-05-10 16:32:23 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								f248521a27 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-07 11:59:13 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e516d078bd 
								
							 
						 
						
							
							
								
								Fix bug when importing new Employee record  
							
							... 
							
							
							
							New record doesn't have a proper `person` reference yet, so must flush
session to establish that. 
							
						 
						
							2016-05-07 11:57:36 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								864dfba6a4 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-06 11:34:43 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								4cae697b67 
								
							 
						 
						
							
							
								
								Remove alembic import from db.util module  
							
							... 
							
							
							
							Also bump the alembic version requirement, to ensure support for
multiple migration bases. 
							
						 
						
							2016-05-05 16:52:55 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								a648c74e24 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-05 16:28:40 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								9cb7ff9068 
								
							 
						 
						
							
							
								
								Make 'tests' a proper subpackage again; add some tests  
							
							... 
							
							
							
							Trying to make more of an effort here... 
							
						 
						
							2016-05-04 16:30:27 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								17bdc68680 
								
							 
						 
						
							
							
								
								Refactor scheduled/worked shift models to share some logic  
							
							
							
						 
						
							2016-05-03 21:20:23 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								1bed40151d 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-03 14:42:21 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								457d20862c 
								
							 
						 
						
							
							
								
								Fix bug in format_phone_number() function  
							
							... 
							
							
							
							Need to always return the original if we can't format it. 
							
						 
						
							2016-05-03 14:40:53 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								f639ff2a7d 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-03 10:46:14 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								9a26fc0324 
								
							 
						 
						
							
							
								
								Refactor where phone number normalization logic lives  
							
							... 
							
							
							
							Just so that can be shared more easily. 
							
						 
						
							2016-05-03 10:43:28 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								296a96be69 
								
							 
						 
						
							
							
								
								Add --timeout arg support to datasync wait command  
							
							... 
							
							
							
							Hopefully this works right, we'll see. 
							
						 
						
							2016-05-02 16:57:07 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								5a4a86d8f7 
								
							 
						 
						
							
							
								
								Fix line endings for email templates  
							
							... 
							
							
							
							Er, I guess... 
							
						 
						
							2016-05-02 16:56:44 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								e3a3361f02 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-05-02 15:19:17 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								038263af98 
								
							 
						 
						
							
							
								
								Add support for 'normalized_number' field in phone importer  
							
							... 
							
							
							
							Sometimes we have to use this number as part of the import key. 
							
						 
						
							2016-05-02 13:46:23 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								4ea53b3b27 
								
							 
						 
						
							
							
								
								Rename ImportSubcommand => OldImportSubcommand  
							
							... 
							
							
							
							Once that propagates to all projects, we can reclaim `ImportSubcommand`
for the new command. 
							
						 
						
							2016-05-02 12:55:54 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								50eab3eac7 
								
							 
						 
						
							
							
								
								Add .gitattributes file to enforce DOS line endings for mail templates  
							
							
							
						 
						
							2016-05-01 20:38:00 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								63d05dbaf0 
								
							 
						 
						
							
							
								
								Add basic user feedback email template  
							
							
							
						 
						
							2016-05-01 20:36:17 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								7574134ddf 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-04-29 15:40:56 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								f7884ab76d 
								
							 
						 
						
							
							
								
								Add empty Watcher.process_changes() method for datasync  
							
							... 
							
							
							
							Just to avoid having to provide that when "consuming self" but not
actually doing anything. 
							
						 
						
							2016-04-29 15:01:15 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								c12f5ed344 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-04-28 18:34:18 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								6ae5bd11f0 
								
							 
						 
						
							
							
								
								Add ScheduledShift model to schema  
							
							... 
							
							
							
							Also add some convenience methods to `WorkedShift`, for time sheet display. 
							
						 
						
							2016-04-28 18:13:54 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								7883fe1d5e 
								
							 
						 
						
							
							
								
								Add time.get_sunday() convenience function  
							
							
							
						 
						
							2016-04-28 18:12:28 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								d805698af0 
								
							 
						 
						
							
							
								
								Add RattailConfig.workdir() convenience method  
							
							
							
						 
						
							2016-04-28 18:10:23 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								4a72bf6927 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-04-26 14:29:43 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								17eebdee7d 
								
							 
						 
						
							
							
								
								Tweak default behavior for importer-based datasync consumer  
							
							... 
							
							
							
							Add `host_object` kwarg to `process_change()` method; make that and the
`invoke_importer()` method return the (final) local object where
relevant/possible. 
							
						 
						
							2016-04-26 14:27:22 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								ad9ef92b9e 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-04-26 12:59:50 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								8bf65d286d 
								
							 
						 
						
							
							
								
								Tweak when we add new data instance to session, to avoid premature flushes  
							
							
							
						 
						
							2016-04-26 12:58:42 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								9db47cc5b0 
								
							 
						 
						
							
							
								
								Update changelog  
							
							
							
						 
						
							2016-04-25 19:48:01 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lance Edgar 
								
							 
						 
						
							
							
							
							
								
							
							
								f528e871b1 
								
							 
						 
						
							
							
								
								Add bulk Rattail importer, plus various tweaks  
							
							... 
							
							
							
							Tweaks are mostly for the sake of a `host_session`, if one is involved. 
							
						 
						
							2016-04-25 19:39:03 -05:00