Commit graph

136 commits

Author SHA1 Message Date
Lance Edgar 369451c7c4 OMG a ridiculous commit to overhaul import handler config etc.
- add `AppHandler.get_designated_import_handlers()` and friends
- exit w/ code 1 when command line makes no sense and must print help
- register all core import/export handlers via setup.py and config
- use "handler key" lookup for all core import/export commands
- stop displaying model list in help for import/export command
- migrate datasync "change" permissions, per tailbone changes
- log warning w/ traceback if loading entry point fails
2021-12-06 19:59:31 -06:00
Lance Edgar 2648f25c14 Add some methods/attrs to import handlers, for exposing in web app
not complete but a good start
2021-12-05 17:15:34 -06:00
Lance Edgar a0054d223a Move datasync command logic to its own module 2021-11-27 09:56:17 -06:00
Lance Edgar 8c58b14919 Add "generic" vendor catalog parser
we'll see how generic it really is once more people try to use it...
2021-11-05 18:40:02 -05:00
Lance Edgar aa56e4a189 Add initial version of the "mailmon" daemon
and refactor some filemon config etc. to leverage common logic
2021-10-03 15:26:58 -04:00
Lance Edgar 4f703ba4ce Freeze version of SQLAlchemy to 1.3.x
we should support 1.4.x ASAP but for now tailbone still requires an older
zope.sqlalchemy which in turn can't handle SA 1.4.x
2021-03-19 12:50:46 -05:00
Lance Edgar 14f12d0288 Add "full" support for Trainwreck <-> Trainwreck import/export commands 2021-02-19 13:55:11 -06:00
Lance Edgar 55b9760e9d Misc. reporting tweaks; add "Customer Mailing" sample report 2021-01-30 13:14:50 -06:00
Lance Edgar c7f33898d4 Let win32 share the 'auth' extra
since it's just passlib now, and that seems to work fine
2021-01-27 16:48:31 -06:00
Lance Edgar dfd4fd3b91 Add simple rattail checkdb command
almost certainly needs improvement, but i need it released for sake of testing
Theo dev bootstrap
2021-01-27 14:14:06 -06:00
Lance Edgar 37eb1ec564 Add feature to generate new features...
at least that's the idea.  probably requires a web UI to be useful
2021-01-17 12:07:56 -06:00
Lance Edgar 129934d1c8 Add AppHandler.get_report_handler() and improve related docs a bit 2021-01-15 15:14:22 -06:00
Lance Edgar 585b00475b Tweak borg requirement for 'backup' extra
per latest borg docs.  i had encountered an issue with pip 20.3.3 and its "new
resolver" although not real clear how related that was.
2021-01-13 13:06:30 -06:00
Lance Edgar 006203b3ba Add basic model, importer for IFPS PLU Codes 2020-12-06 19:34:38 -06:00
Lance Edgar 562ea54b31 Add vendor catalog parser for Equal Exchange 2020-10-23 22:08:12 -05:00
Lance Edgar b27fcbd7c0 Add rattail version-check command, for consistency checks
just the very basics for now, not sure what all is needed yet
2020-08-17 16:14:50 -05:00
Lance Edgar ebd65a8ef9 Remove 'fixture' use within tests; plus fix some tests 2020-06-16 16:39:41 -05:00
Lance Edgar 7926b45458 Add awareness of default "importer" batch handler 2020-01-14 11:43:03 -06:00
Lance Edgar 9b86a00ac9 Add rattail make-batch command
so that we can make new batches via filemon, but shell out to avoid versioning
2019-11-01 20:53:45 -05:00
Lance Edgar 32eda999e7 Add rattail purge-versions command
for those times when you need to start fresh on that
2019-10-23 20:35:43 -05:00
Lance Edgar 45ad1d16c7 Add initial "problem report" framework 2019-10-10 16:07:27 -05:00
Lance Edgar 1b5e11d65a Add 'backup' requirements extra
mainly just for borg of course
2019-09-12 21:04:40 -05:00
Lance Edgar 33f0cfffcf Add basic support for rattail import-csv command
not sure how useful this will be yet, but seems promising for sample data anyway
2019-07-29 15:32:43 -05:00
Lance Edgar 3085a87049 Add support for rattail export-csv command
this may need some tweaks yet, but may be complete already?
2019-07-28 22:04:54 -05:00
Lance Edgar 8a0d62f9b0 Omit deprecated kwarg for session.is_modified()
when checking for pending changes, to be recorded to stub table.  apparently
this could have been done a long time ago but only recently did warnings bring
my attention to it
2019-03-12 13:47:39 -05:00
Lance Edgar 64c747432c Add generic rattail run-n-mail command
for use when the default system behavior won't let us define mail recipients
for e.g. 'at' job output emails
2019-01-17 12:45:15 -06:00
Lance Edgar 081fe2625a Add rattail purge-batches command 2018-11-17 17:55:44 -06:00
Lance Edgar 08730f10e2 Add new backup command
i.e. `rattail backup`, meant to (hopefully) handle the common use cases...
2018-07-05 00:39:52 -05:00
Lance Edgar 1a786c6557 Add update-costs command for making future costs become current
this just assumes any future cost which starts "before now" is game
2018-06-07 16:47:03 -05:00
Lance Edgar 065b0312bb Add versioning workaround support for batch actions
* commands accept `--versioning`, `--no-versioning` args
* use `finish()` progress method when ending a loop
* add `SocketProgress` (and `FileProgress`)
* commands accept `--progress-socket` arg
* add `do_*()` handler methods, for wrapping main actions
* populate, refresh, execute of batch may be done via command line
* handler declares which action(s) may (not) be done with versioning
* handler declares which version models to catch-up after execute
2018-06-07 12:37:39 -05:00
Lance Edgar 41da3e6ae8 Add runsql command, mostly for dev use
at least for now?  kind of in a rush at the moment
2018-05-23 20:35:32 -05:00
Lance Edgar 2558b4faff Test commit 2018-02-25 21:50:27 -06:00
Lance Edgar d6f42e5901 Test commit 2018-02-25 21:48:30 -06:00
Lance Edgar 22fb5bc0fa Test commit 2018-02-25 21:43:52 -06:00
Lance Edgar 7f3daec2d5 Test commit
trying to get buildbot 1.0 to auto-run from commit
2018-02-25 21:41:16 -06:00
Lance Edgar 4df594dcaa Remove unused code for python 2.6 2018-02-25 21:37:35 -06:00
Lance Edgar 3f2f8fc94c Update trove classifiers to reflect python 3, beta status 2018-02-25 21:21:38 -06:00
Lance Edgar 1f3ade8b1d Always install bcrypt
what the hell, might as well right?
2018-02-12 23:34:21 -06:00
Lance Edgar 8c3411d992 Add 'bcrypt' as dependency
this seems safe enough...
2018-02-12 22:17:12 -06:00
Lance Edgar 45746ff5e0 Remove py-bcrypt as dependency for 'auth' feature
need to add bcrypt instead, but must wait to avoid breaking things
2018-02-12 19:33:21 -06:00
Lance Edgar 2c983984ea Officially remove FormEncode dependency 2018-02-12 14:55:18 -06:00
Lance Edgar e633899998 Ditch older 'progressbar' for newer 'progress' package 2018-02-12 14:55:18 -06:00
Lance Edgar b5a3f60b18 Add basic ExcelWriter class, plus xlrd and openpyxl dependencies
maybe not the best idea, but practical for now
2018-01-26 14:06:32 -06:00
Lance Edgar 4af93ac405 Switch to passlib for password hashing and verification
at some point now, can remove the 'salt' column too
2017-11-09 21:35:15 -06:00
Lance Edgar c15e9e568e Add new upgrade command
for creating and/or executing upgrades
2017-08-06 13:53:19 -05:00
Lance Edgar 180c9314d8 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:34:13 -05:00
Lance Edgar ce1b0ec546 Replace usage of execfile()
per py3k effort
2017-07-06 16:23:16 -05:00
Lance Edgar a0583f79a9 Add basic import-versions command, for "catching up" versions
so far only Person is supported..
2017-07-03 21:44:39 -05:00
Lance Edgar caad3efa14 Remove all schema and logic for old-style batches 2017-05-25 16:57:25 -05:00
Lance Edgar 3f819cc40e Add initial support for Trainwreck database 2017-05-12 23:14:01 -05:00