Commit graph

618 commits

Author SHA1 Message Date
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
Lance Edgar
431a96e35d fix rattail.db.init() 2012-11-26 11:58:36 -08:00
Lance Edgar
4edf00fe51 move enum to core 2012-11-26 11:18:02 -08:00
Lance Edgar
10bdbc56ce move GPCType to db module 2012-11-26 11:17:32 -08:00
Lance Edgar
92abd79a97 add GPC.__eq__() and .__ne__() 2012-11-18 08:36:18 -08:00
Lance Edgar
c1987780b2 remove Category.__str__() 2012-11-18 08:35:43 -08:00
Lance Edgar
989f8120be bump version 2012-11-12 15:21:51 -08:00
Lance Edgar
d8ac659d8f update changelog 2012-11-12 15:20:45 -08:00
Lance Edgar
fb2e71cab1 let socket.timeout error happen in CommandNetworkPrinter 2012-11-12 11:19:41 -08:00
Lance Edgar
4d9fa6c345 add timeout support to CommandNetworkPrinter 2012-11-09 09:42:35 -08:00
Lance Edgar
9d06377d7f remove hgignore 2012-11-09 06:29:50 -08:00
Lance Edgar
1f7d868ed9 fix namespace packages 2012-11-09 06:06:22 -08:00
Lance Edgar
ee4e53890c bump version 2012-11-08 19:15:11 -08:00
Lance Edgar
fd9716321f update changelog 2012-11-08 19:14:05 -08:00