Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar d073eec662 Fix ChangeRecorder.is_deletable_orphan() for SQLAlchemy 0.7.
Apparently `Mapper.relationships` is not available until SQLAlchemy 0.8 and
later...
2014-01-24 12:51:58 -08:00
Lance Edgar 9b254c9d71 Merge branch 'orphans'
Conflicts:
	tests/db/test_changes.py
2014-01-24 12:09:30 -08:00
Lance Edgar 4c9fad7285 update changelog 2014-01-24 12:06:37 -08:00
Lance Edgar a580c0fca1 Add "deletable orphan" awareness when recording changes.
Turns out there was a long-standing bug where orphans which were deleted
from the host would be marked as "changed" (instead of deleted), causing
the store databases to keep the orphan.
2014-01-24 11:54:29 -08:00
Lance Edgar 971b3f15af Add deleted attribute to repr(Change). 2014-01-24 11:52:47 -08:00
Lance Edgar 4d8f0967c2 fix tests 2014-01-08 20:00:49 -08:00
Lance Edgar 8fc877d826 break tests for buildbot 2014-01-08 19:52:55 -08:00
Lance Edgar 5c4139b5a0 break tests for buildbot 2014-01-08 19:51:22 -08:00
Lance Edgar e38563867c break tests for buildbot 2014-01-08 19:43:30 -08:00
Lance Edgar 6ca117c98c break tests for buildbot 2014-01-08 18:39:05 -08:00
Lance Edgar e751fa564f break tests for buildbot 2014-01-08 18:34:22 -08:00
Lance Edgar 6502c23891 Merge branch 'mail' 2014-01-04 10:45:57 -08:00
Lance Edgar 0206690e93 update changelog 2014-01-04 10:45:24 -08:00
Lance Edgar e509d25751 Added mail.send_message() etc. 2014-01-04 10:43:59 -08:00
Lance Edgar 3ff4403bc1 docs tweak (buildbot test) 2014-01-02 16:48:23 -08:00
Lance Edgar aeca187af2 Improved init scripts to create PID file parent directory as needed (for real!). 2013-12-27 14:51:00 -08:00
Lance Edgar 77bcfb1861 Improved init scripts to create PID file parent directory as needed. 2013-12-27 14:34:12 -08:00
Lance Edgar 150027201b Merge branch 'data-dump' 2013-12-25 08:18:12 -08:00
Lance Edgar 1114e0a3af update changelog 2013-12-25 08:17:23 -08:00
Lance Edgar 5fe5f6be51 Altered dump command to allow easy overriding of data model. 2013-12-25 08:15:46 -08:00
Lance Edgar 9a8d5a1d26 Added some daemon tests. 2013-12-21 18:13:27 -08:00
Lance Edgar 2d8d3a3590 Docs tweak (buildbot test) 2013-12-21 11:17:49 -08:00
Lance Edgar a8feb4bbe1 Docs tweak (buildbot test) 2013-12-21 11:07:44 -08:00
Lance Edgar eefa29acd0 Docs tweak (buildbot test) 2013-12-21 11:05:38 -08:00
Lance Edgar b24b526203 Docs tweak (buildbot test) 2013-12-21 11:01:45 -08:00
Lance Edgar 14bb37b4b2 Docs tweak (buildbot test) 2013-12-21 11:00:17 -08:00
Lance Edgar b180ecd2ae Docs tweak (buildbot test) 2013-12-21 10:58:35 -08:00
Lance Edgar 676fe2133b Docs tweak (buildbot test) 2013-12-21 10:53:44 -08:00
Lance Edgar 24a7b5f2c7 Docs tweak (buildbot test) 2013-12-21 10:53:02 -08:00
Lance Edgar 9f88b2f6a5 Docs tweak (buildbot test) 2013-12-21 10:35:20 -08:00
Lance Edgar 2c71aca1d3 Docs tweak (buildbot test) 2013-12-21 10:14:34 -08:00
Lance Edgar 4e011a763e Docs tweak (buildbot test) 2013-12-21 10:12:31 -08:00
Lance Edgar 77311923a5 Docs tweak (buildbot test) 2013-12-21 10:07:37 -08:00
Lance Edgar e1b4d78256 Merge branch 'master' of ssh://edbob.org/srv/git/rattail 2013-12-21 10:04:55 -08:00
Lance Edgar d55cb2e269 Docs tweak (buildbot test) 2013-12-21 10:01:10 -08:00
Lance Edgar aaabe51804 Updated tests to work on Python 2.6. 2013-12-20 18:45:37 -08:00
Lance Edgar bdec70214f Docs tweak (buildbot test) 2013-12-20 18:24:29 -08:00
Lance Edgar 857d4b78dc Docs tweak (buildbot test) 2013-12-20 18:22:38 -08:00
Lance Edgar 70924cc433 Docs tweak (buildbot test). 2013-12-20 18:18:13 -08:00
Lance Edgar 70fd778df8 Tweaked docstring (buildbot test). 2013-12-20 17:50:28 -08:00
Lance Edgar 86cb884258 Initial docs 2013-12-19 23:49:22 -08:00
Lance Edgar c9b0c7cf50 Removed reliance on edbob.db.engines. 2013-12-18 21:50:37 -08:00
Lance Edgar 22a5897739 Removed global Session from rattail.db.
A Session class may now be had via `get_session_class()`.
2013-12-18 21:02:44 -08:00
Lance Edgar f35f8062c5 update changelog 2013-12-18 18:31:48 -08:00
Lance Edgar 16ad95e57e Added get_setting() and save_setting() to db.api. 2013-12-17 06:56:14 -08:00
Lance Edgar b6d3641c90 Added remaining values from edbob.enum to rattail.enum. 2013-12-17 06:13:39 -08:00
Lance Edgar af24f82995 Refactored model imports, etc.
This is in preparation for using database models only from `rattail` (i.e. no
`edbob`).  Mostly the model and enum imports were affected.
2013-12-17 05:41:07 -08:00
Lance Edgar 66f116767d Added get_employee_by_id() convenience function. 2013-11-24 09:21:44 -08:00
Lance Edgar 4edc7a3dd5 final mailing list test..? 2013-11-16 17:30:05 -08:00
Lance Edgar 4217e27dfe final mailing list test..? 2013-11-16 17:29:08 -08:00