Commit graph

181 commits

Author SHA1 Message Date
Lance Edgar ae04f75c9e update changelog 2013-05-14 18:51:41 -07:00
Lance Edgar cbd4a37feb Made product cache include *all* costs if so requested.
Silly oversight...
2013-05-14 18:48:35 -07:00
Lance Edgar 8ad2734e6c update changelog 2013-05-13 15:45:59 -07:00
Lance Edgar d53e7da802 Made change recorder better able to handle new "sets" of related objects.
A situation occurred where multiple related objects were being introduced to
the database within the same session.  Somehow a dependent object was being
processed first, and its UUID value could not be determined since its
"upstream" object did yet have one either.  This commit improves this situation
so that the upstream object will be given an UUID value first, if it doesn't
yet have one.  The dependent object will then reuse the upstream object's UUID
as normal.
2013-05-13 15:38:26 -07:00
Lance Edgar d2f5e8c757 Added PyPI registration and upload to Fabric script. 2013-05-12 08:22:14 -07:00
Lance Edgar ba85de6750 update changelog 2013-05-12 08:16:36 -07:00
Lance Edgar 9ac5fba3d2 Added get_product_cache() function to db.cache module.
This is probably the first of many such convenience functions.
2013-05-11 20:12:44 -07:00
Lance Edgar 80b9a2cfd8 Added console module.
For now this only delegates to `edbob.console`.
2013-05-11 08:05:42 -07:00
Lance Edgar 8932f9c02b Removed setup.cfg file.
The `tag_build` setting was not doing us any favors.
2013-05-09 21:52:16 -07:00
Lance Edgar 0860d18672 bump version 2013-05-08 17:47:20 -07:00
Lance Edgar ce10ee7d7e Added initial Fabric script. 2013-05-08 17:45:17 -07:00
Lance Edgar e631b4cfaf update changelog 2013-05-08 17:43:36 -07:00
Lance Edgar cd7f9e063c Fixed issue with recording changes when SQLAlchemy >= 0.8.0.
Apparently `RelationshipProperty.remote_side` is now a `set` and doesn't
support indexing.
2013-05-08 15:55:30 -07:00
Lance Edgar b6988758ca Pretend all models and enumerations from edbob are part of rattail.
Some day this will actually be the case.  Client code should be able to avoid
the `edbob` namespace now so that porting will be easier.
2013-05-07 18:51:01 -07:00
Lance Edgar 7330cfdd73 Added Employee.user association proxy attribute. 2013-05-04 07:57:07 -07:00
Lance Edgar d29b258986 Added make-config command.
This may need some work yet, to better handle the namespace package situation.
2013-04-22 07:41:15 -07:00
Lance Edgar 8f96c640d0 Added admin rights check for Windows file monitor registration.
Now the registration process is checked for an "elevated token" and if none is
found, a message is displayed and it exits without attempting the registration.

fixes #5
2013-04-21 10:13:34 -07:00
Lance Edgar 5fd9a61323 Added admin rights check for Palm conduit registration.
Now the registration process is checked for an "elevated token" and if none is
found, a message is displayed and it exits without attempting the
registration.

fixes #3
2013-04-20 17:33:47 -07:00
Lance Edgar e59648d38e Fixed capitalization of Palm HotSync Manager. 2013-04-20 13:13:36 -07:00
Lance Edgar 317d33bd63 Improved Palm conduit (un)registration logic.
Now this can handle the case where Hotsync Manager is not installed on the
local machine.  The code was refactored to make things cleaner also.

fixes #8
2013-04-20 12:34:06 -07:00
Lance Edgar 61cbe119fd Made Palm conduit unregistration more graceful.
Now this will "succeed" even if the conduit isn't actually registered.

fixes #7
2013-04-20 10:16:56 -07:00
Lance Edgar bc9a960ac6 Tweaked MANIFEST file.
This was really for the sake of testing commit hooks.
2013-04-19 09:56:19 -07:00
Lance Edgar 7cd7c6f6ed Tweaked MANIFEST file.
This was really for the sake of testing commit hooks.
2013-04-19 09:53:01 -07:00
Lance Edgar 8f65bb7952 Renamed CHANGES file.
Added ``.rst`` extension for a better editor experience.
2013-04-19 09:50:06 -07:00
Lance Edgar bc4b239ab7 update changelog 2013-03-21 23:05:01 -05:00
Lance Edgar a9352386e7 Added "case" to `UNIT_OF_MEASURE` enumeration. 2013-03-21 22:58:32 -05:00
Lance Edgar 9f32a0db0b Added purge-batches command.
This command will delete forever all batches whose purge date has
passed.  It is meant to be run on a scheduled basis, e.g. nightly.
2013-02-25 13:28:37 -08:00
Lance Edgar 4d50f1b769 Added new batch system.
This commit adds a new batch system which will eventually replace the
old one.  Hopefully they can play nicely in parallel, in the meantime.
2013-02-25 13:28:37 -08:00
Lance Edgar 26d0150161 Added `wince` module.
This module is used to interface with the Rattail app for Windows CE handheld
devices.
2013-02-25 13:27:49 -08:00
Lance Edgar 3d5b241104 Added `files` module.
This will eventually supercede ``edbob.files``, but for now this commit adds
only three functions.  These just so happened to be ones needed to support some
code involving inventory count batches.
2013-02-25 13:22:07 -08:00
Lance Edgar f52920fe83 Added Palm OS app interface.
This commit adds the Palm HotSync conduit, which is used to create CSV
files when a handheld running the Rattail app is synced with its
desktop PC.
2013-02-25 13:08:58 -08:00
Lance Edgar cdb769ad22 Added csvutil module.
Currently this only adds some better `DictWriter` support for Python
versions older than 2.7.
2013-02-22 18:25:18 -08:00
Lance Edgar d7a70b2464 bugfix 2013-02-20 22:06:33 -08:00
Lance Edgar 46040cf46b update changelog 2013-02-20 22:05:32 -08:00
Lance Edgar aa2b3ada4e Added custom Thread implementation.
This overrides the default behavior of `threading.Thread` by ensuring
the system exception hook is invoked in case an error occurs within
the thread.
2013-02-20 22:02:34 -08:00
Lance Edgar e1a3e3e9c9 update changelog 2013-02-20 19:18:51 -08:00
Lance Edgar 8f2cc837bb Fixed Batch.drop_table() to handle case where row table doesn't exist.
While theoretically this method *shouldn't* encounter a missing table,
in practice it does happen occasionally.  Now this situation is
handled gracefully instead of raising an exception.
2013-02-20 19:13:05 -08:00
Lance Edgar 168d795ad0 Added SIL columns F188, R71 and R72.
These have been added to support inventory count batches.
2013-02-17 19:14:46 -08:00
Lance Edgar 0bb8d99399 Added get_product_by_upc() API function.
This is a convenience function which will return a single `Product`
instance, or `None`.  It is the first of hopefully many API
functions.
2013-02-17 19:14:11 -08:00
Lance Edgar 5a4ce5e372 update changelog 2013-02-12 22:55:14 -08:00
Lance Edgar 5981bde8fe add Department.subdepartments relationship
(cherry picked from commit 25096dc70d)
2013-02-05 19:28:44 -08:00
Lance Edgar c915861481 Merge branch '0.3a4' into v0.3
Conflicts:
	CHANGES.txt
	rattail/_version.py
2012-12-15 08:16:50 -08:00
Lance Edgar 84a66e2bcb bump version 2012-11-27 21:48:11 -08:00
Lance Edgar 8f3d2b5770 update changelog 2012-11-27 21:47:19 -08:00
Lance Edgar 6eb2ff6abd make dbsync tolerant of database server restart 2012-11-27 08:54:52 -08:00
Lance Edgar 174aa5665e assign format in LabelProfile.get_formatter() 2012-11-26 16:26:33 -08:00
Lance Edgar 983a39b366 add LabelFormatter.default_format 2012-11-26 16:25:52 -08:00
Lance Edgar 7c6f81416b remove secondary progress from labels batch 2012-11-26 15:15:07 -08:00
Lance Edgar bbd05dce1b bugfix in labels batch 2012-11-26 14:23:03 -08:00
Lance Edgar 70c70c3e7e fix GPCType 2012-11-26 12:10:07 -08:00