Commit graph

110 commits

Author SHA1 Message Date
Lance Edgar 3e580c666c Remove make-config command, and edbob dependency!
The `make-config` command still seems like a good idea, but hadn't been
implemented properly, and was just an eyesore at this point...
2015-08-17 12:28:52 -05:00
Lance Edgar 85ab706736 Overhaul config system, finally replacing edbob (yay!).
* No more `edbob.init()`, now we use `rattail.config.make_config()` instead.
* Adds new `ConfigExtension` mechanism to replace old 'init' config magic.
* Adds config extension for `rattail.db`, to load all Rattail db engines.
* All application entry points have been updated to use `make_config()`.

This also refactors `rattail.db` somewhat in general, to allow for safely
importing it without getting SA-related import errors.
2015-08-16 19:50:57 -05:00
Lance Edgar f52c3e1cf0 Add 2nd version of UNFI catalog parser.
Apparently they've changed their format.  Hopefully this versioning idea is
a good one...
2015-07-29 11:48:20 -05:00
Lance Edgar 22a713b40f Add version restriction for SQLAlchemy-Utils.
Hopefully that can be removed soon...
2015-07-28 20:17:20 -05:00
Lance Edgar f85ba1d3f9 Add initial support for email bounce management. 2015-07-22 19:57:36 -05:00
Lance Edgar ffe75b88c0 Add date-organize command for help with archiving data files etc. 2015-07-15 14:08:55 -05:00
Lance Edgar 42a5b8ba85 Add vendor invoice parser for Albert's Organics.
Also tweak parsers for KeHE and UNFI, for consistency.
2015-02-16 18:58:12 -06:00
Lance Edgar e8159e80e9 Add UNFI invoice parser. 2015-02-16 18:40:36 -06:00
Lance Edgar 34185d43db Add initial vendor invoice import feature. 2015-02-16 17:49:06 -06:00
Lance Edgar c05d50b354 Wrap up initial vendor catalog batch support.
This adds some more contrib catalog parsers, and (hopefully) improves some
of the core cognizing logic.  Also refactored some progress factory args.
2015-02-12 21:21:06 -06:00
Lance Edgar b29307550f Try again to make database stuff an optional dependency...
This really does need to happen, hopefully we can get it right soon.
2015-02-11 17:05:33 -06:00
Lance Edgar d42a478e5a Add initial versioning support with SQLAlchemy-Continuum. 2015-02-09 18:36:03 -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 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 3a3b2514ec Move bcrypt requirement into 'auth' extra feature.
For the love of God can we please not require this on Windows...unless we
truly need it.
2015-01-14 15:37:37 -06:00
Lance Edgar c718908153 Remove 'db' extra from requirements definition. 2014-12-03 11:02:33 -06:00
Lance Edgar eee23fefb7 Make alembic a core requirement, for now... 2014-12-03 11:00:06 -06:00
Lance Edgar 92c03f5d8d General header / Unicode cleanup.
This hopefully updates all module headers such that the file encoding is
utf-8, and uses Unicode literals, etc.
2014-11-18 23:29:26 -06:00
Lance Edgar 948147bf0f Add Mako dependency...at least for now.
Would perhaps be better to make this optional or some other clever thing.
2014-09-23 23:17:45 -07:00
Lance Edgar 6b258e5cce Tweak test requirements. 2014-06-05 19:12:24 -07:00
Lance Edgar be6874cd4f Don't require bcrypt unless 'db' feature is requested. 2014-05-20 09:26:49 -07:00
Lance Edgar 21f6baf865 Add tox support; fix several test oddities. 2014-05-17 19:58:22 -07:00
Lance Edgar 449537345e Refactor to remove namespace structure. 2014-04-29 21:15:59 -07:00
Lance Edgar ce9c1af66e Exclude tests from the sdist build, the "proper" way. 2014-04-21 09:26:12 -07:00
Lance Edgar cabfcc21a7 Revert "Stop using find_packages(); it was including tests."
This reverts commit 7b76df4366.
2014-04-21 09:16:49 -07:00
Lance Edgar 7b76df4366 Stop using find_packages(); it was including tests. 2014-04-13 18:43:54 -07:00
Lance Edgar 1fd1ffb09c Remove https from home page references. 2014-04-07 22:17:50 -07:00
Lance Edgar 5ec15c4e83 Update references to home page URL. 2014-02-18 22:44:15 -08:00
Lance Edgar f73d4a607e Rename README to .rst. 2014-02-16 00:16:45 -08:00
Lance Edgar 4d9834421d Add fixture as test dependency. 2014-02-15 16:26:18 -08:00
Lance Edgar 5f6af4019f Don't include changelog in project description. 2014-02-15 11:51:09 -08:00
Lance Edgar d28dbc55ff Add SQLAlchemy to core dependencies. 2014-02-12 06:13:55 -08:00
Lance Edgar 148968ba09 Add tests requirements. 2014-01-26 20:05:19 -08:00
Lance Edgar 22cd6d062e Make rattail.db.model the true home for all models. 2014-01-26 18:48:16 -08:00
Lance Edgar 08f9a45199 Added util module, for OrderedDict convenience. 2013-10-04 11:36:24 -07:00
Lance Edgar 9f5493d379 Added the adduser command. 2013-09-03 07:43:27 -07:00
Lance Edgar 248553a516 Added initdb command. 2013-09-02 23:01:14 -07:00
Lance Edgar 0079d12ad3 Declare dependencies instead of relying on edbob. 2013-09-01 15:09:38 -07:00
Lance Edgar 3dbfe64319 Added dump command. 2013-08-21 16:59:27 -07:00
Lance Edgar 659c27a293 Added --do-not-daemonize arg to filemon command on Linux.
Also removed some of the dependence on `edbob`.
2013-08-14 22:17:41 -07:00
Lance Edgar 4f34e6dddc Prepare for tests.
This doesn't add any actual tests but it should pave the way for that.  Tests
may be run like so:

{{{
python setup.py nosetests --with-coverage
}}}
2013-06-19 08:03:42 -07:00
Lance Edgar d1f51dce03 Added make-user command for creating Windows system user account. 2013-06-05 07:50:01 -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 8f65bb7952 Renamed CHANGES file.
Added ``.rst`` extension for a better editor experience.
2013-04-19 09:50:06 -07: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 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 fd9716321f update changelog 2012-11-08 19:14:05 -08:00
Lance Edgar 376d4e3ff2 bump edbob dependency 2012-09-28 09:35:36 -07:00
Lance Edgar 610286d0b1 bump edbob dependency 2012-09-18 18:57:08 -07:00
Lance Edgar 8996a3694d add dbsync command, linux daemon 2012-09-18 14:25:53 -07:00
Lance Edgar 84229d9577 extended commit (see note)
- Added ``Store`` and related models.

- Added ``Customer.email_preference`` field.

- Added ``load-host-data`` command.

- Added ``Change`` model.

- Added ``rattail.db.record_changes()`` function.

- Added database synchronization service (Windows only).
2012-09-17 11:54:31 -07:00
Lance Edgar eab4034b3e fix filemon in linux; improve batch provider and sil column discovery 2012-08-29 16:26:46 -07:00
Lance Edgar cdda58fd69 extensive commit (see note)
The following changes are included:

- Initial batch support added (with ``PrintLabels`` provider).

- GPC data type added.

- Changed internal name of file monitor.

- Added progress support for label printing.

- Label profiles moved from config to database model.

- Removed ``rattail.db.init_database()`` function.

- Moved some enum values from db extension to core (``rattail.enum`` module).

- Improved SIL support:  moved ``rattail.sil`` to subpackage, added ``Writer
  class etc.
2012-08-29 11:28:07 -07:00
Lance Edgar 4b21f2f10b update changelog 2012-08-17 09:40:57 -07:00
Lance Edgar 2d84b62a30 update changelog 2012-08-12 12:18:35 -07:00
Lance Edgar 63745288a3 move db extension to subdir 2012-07-25 15:23:31 -07:00
Lance Edgar b5b907ad2b bump depends 2012-07-25 13:30:42 -07:00
Lance Edgar 9b5fa3ae45 add file monitor 2012-07-25 13:11:22 -07:00
Lance Edgar 62e35838ec bump edbob dependency 2012-05-08 09:31:37 -07:00
Lance Edgar c9d3a2c064 initial commit (save point) 2012-04-10 12:09:29 -05:00