Commit graph

136 commits

Author SHA1 Message Date
Lance Edgar f91f95c5a2 Disable some unused commands
The command logic remains in place, for now...
2017-03-21 13:00:17 -05:00
Lance Edgar 7c481d3481 Add export-rattail command, plus ProductImage support for Rattail->Rattail 2017-02-23 15:06:31 -06:00
Lance Edgar 191c2f0eca Restrict our version of flufl.bounce per its 3.0 release 2017-02-17 17:28:07 -06:00
Lance Edgar de61364c8e Add basic str() method for WorkedShift model 2017-02-04 12:25:57 -06:00
Lance Edgar 111dc2b15d Remove tempmon-server command
This has been moved to the rattail-tempmon project
2016-12-05 18:59:14 -06:00
Lance Edgar 46205a95fb Add tempmon-server command to start/top daemon 2016-11-30 13:34:20 -06:00
Lance Edgar af7aa6626b Remove deprecated commands: adduser, initdb
The make-user command does the same thing now.
2016-10-07 20:14:55 -05:00
Lance Edgar c120a181e5 Overhaul rattail make-user command to support multiple systems
Just 2 for now, rattail and windows.  Probably need a way for custom
projects to support more systems as needed..
2016-10-07 20:07:13 -05:00
Lance Edgar 7b596ab0cf Add rattail make-uuid command for convenience 2016-10-07 19:04:40 -05:00
Lance Edgar 5d0e0ecfb3 Add rattail make-appdir command for dev/test bootstrap etc. 2016-10-07 19:04:40 -05:00
Lance Edgar 00d9eb496b Add rattail make-config command for dev/test bootstrap etc. 2016-10-07 19:04:36 -05:00
Lance Edgar ee8599559f Add rattail import-sample command for dev/test bootstrap etc. 2016-10-07 19:04:33 -05:00
Lance Edgar 54997813b4 Add FormEncode as official dependency
That probably could have been done differently..oh well this works for now.
2016-08-10 14:38:00 -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 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 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 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
Lance Edgar f63f6f5e2e Add 'humanize' to dependency list 2016-03-19 18:59:04 -05:00
Lance Edgar db66d25b34 Make 'commands' subpackage, add 'rattail-dev' command.
And add subcommand for 'rattail-dev new-batch'.  Hopefully this is all a
good idea, pretty rough draft at this point.
2016-02-15 00:30:04 -06:00
Lance Edgar b4d63d9236 Add new importing framework, yay! 2016-02-06 18:54:04 -06:00
Lance Edgar 7216586225 Remove Python 2.6 from supported versions in trove classifiers. 2016-01-13 02:05:19 -06:00
Lance Edgar 7d13bd7509 Update URLs in docs etc. to use HTTPS. 2015-11-16 18:39:57 -06:00
Lance Edgar e402352dd6 Add initial clonedb command.
Needing a way to fire up some mock databases with Postgres...
2015-10-20 01:38:47 -05:00
Lance Edgar 052b390707 Revert "Add version restriction for SQLAlchemy-Utils."
This reverts commit 22a713b40f.

I think this is no longer an issue?
2015-10-17 20:05:40 -05:00
Lance Edgar e62a570951 Add 'datasync' daemon.
First attempt, but already seems to work as good or better than 'dbsync'.
2015-10-17 17:53:21 -05:00
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