Commit graph

110 commits

Author SHA1 Message Date
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
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