Commit graph

2493 commits

Author SHA1 Message Date
Lance Edgar 7a7cf1e706 Make RattailConfig.workdir() use require by default 2017-08-07 22:31:24 -05:00
Lance Edgar 2370158f23 Improve status tracking for upgrades; add package diff
just basic package version detection for now, maybe improve that later?
2017-08-07 22:20:23 -05:00
Lance Edgar 9d17cc1a42 Add RattailConfig.appdir() method
for convenience; should be able to assume some subfolder things with
this as our starting point
2017-08-07 18:16:10 -05:00
Lance Edgar 6b758abecf Update changelog 2017-08-07 15:57:09 -05:00
Lance Edgar fa90d75345 Tweak how some batches are populated
to optimize for continuum versioning
2017-08-07 15:56:15 -05:00
Lance Edgar 7646d71f12 Add common sudoers file for rattail 2017-08-07 15:13:21 -05:00
Lance Edgar e89bc89775 Update changelog 2017-08-07 14:36:31 -05:00
Lance Edgar c15e9e568e Add new upgrade command
for creating and/or executing upgrades
2017-08-06 13:53:19 -05:00
Lance Edgar 856ec61cf3 Add schema for tracking app upgrades 2017-08-05 22:05:55 -05:00
Lance Edgar a25849d402 Add become/stop root user events to enum 2017-08-05 16:11:28 -05:00
Lance Edgar 627c16d524 Update changelog 2017-08-04 18:16:52 -05:00
Lance Edgar cbad2b7a4c Fix labels for user events enum 2017-08-04 17:13:16 -05:00
Lance Edgar 7983e92764 Add schema/enum for recording user events
i.e. login and logout, to get a very basic idea of local node activity
2017-08-04 16:47:38 -05:00
Lance Edgar 2b851a9c8c Update changelog 2017-08-04 11:58:55 -05:00
Lance Edgar 87f112e047 Add Customer.active_in_pos_sticky flag 2017-08-04 11:55:14 -05:00
Lance Edgar 8308b44bda Update changelog 2017-08-03 17:08:37 -05:00
Lance Edgar 30cd0cb84c Add Subcommand.make_session() method
also (finally!) log the running command name/args
2017-08-02 23:29:35 -05:00
Lance Edgar d3743d50f2 Add previous_month() and last_of_month() convenience functions 2017-08-02 23:28:59 -05:00
Lance Edgar 715aeea0d4 Fix str() for MailTemplateNotFound exception 2017-08-02 23:28:30 -05:00
Lance Edgar e8095430db Add rattail.batch.consume_batch_id() convenience function 2017-08-02 19:05:24 -05:00
Lance Edgar 30988d3eb7 Update on-order inventory counts when creating new purchase
i.e. from executing an ordering batch
2017-08-02 12:02:39 -05:00
Lance Edgar 11eff277d5 Update changelog 2017-07-26 15:40:04 -05:00
Lance Edgar d6acdf8470 Avoid session auto-flush when populating or refreshing a batch
this is primarily needed when continuum versioning is enabled, to make
sure things don't slow way down due to session flush hook
2017-07-26 15:32:58 -05:00
Lance Edgar 827176d538 Add generic Product.status_code field
meaning of which is up to final app
2017-07-19 03:07:43 -05:00
Lance Edgar 7ca1da2da6 Add basic support for native product inventory 2017-07-19 01:39:31 -05:00
Lance Edgar f4f89cf1f4 Update changelog 2017-07-14 23:54:12 -05:00
Lance Edgar 4be66f6a18 Add versioning for products and everything else
at least, everything else that seemed safe at this point..
2017-07-14 23:30:06 -05:00
Lance Edgar 95b831b41d Update changelog 2017-07-14 15:47:12 -05:00
Lance Edgar aea69e78b3 Add custom status for purchasing batches
for now, just want to indicate if batch contains any "unknown" products
2017-07-14 15:43:21 -05:00
Lance Edgar 98f824b655 Update changelog 2017-07-14 14:39:44 -05:00
Lance Edgar 932b96ef20 Add util.pretty_boolean() convenience function 2017-07-14 00:40:11 -05:00
Lance Edgar 31711c8d42 Update changelog 2017-07-13 18:07:05 -05:00
Lance Edgar 216fd5424b Provide default Person.display_name when importing customer data
only when creating a new Person though
2017-07-11 23:47:41 -05:00
Lance Edgar ed71cbb7d5 Add unit cost for inventory batches 2017-07-11 22:40:29 -05:00
Lance Edgar bec3879af6 Add generic reason code for inventory batches 2017-07-11 21:58:30 -05:00
Lance Edgar c0ce063fb6 Various tweaks to inventory batches
with goal of supporting mobile workflows..
2017-07-11 20:54:20 -05:00
Lance Edgar 1291453029 Add complete flag to all batches
you don't have to use it, but it's there if you want it
2017-07-11 15:22:51 -05:00
Lance Edgar 8adfd3cf99 Update changelog 2017-07-07 09:22:31 -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 527f617822 Update changelog 2017-07-06 21:27:11 -05:00
Lance Edgar 5ea06f5ce2 Cleanup some unicode stuff per py3k effort 2017-07-06 16:50:47 -05:00
Lance Edgar ce1b0ec546 Replace usage of execfile()
per py3k effort
2017-07-06 16:23:16 -05:00
Lance Edgar 2ac7bad207 Add basic 'runas' support for datasync
if continuum versioning is enabled, should help us keep track of where
changes are coming from
2017-07-06 13:17:25 -05:00
Lance Edgar 33b0413e1d Add versioning support for all contact-related models
i.e. Person, Customer etc. - products should come soon!
2017-07-05 17:13:42 -05:00
Lance Edgar 566b425b7d Various tweaks to improve initial versioning support 2017-07-05 03:06:49 -05:00
Lance Edgar cf5b7158b8 Remove unwanted tests 2017-07-04 13:29:05 -05:00
Lance Edgar 975e71c8ed Stop providing default value for Person.display_name
this used to be "first + last" but no longer..
2017-07-04 00:38:14 -05:00
Lance Edgar b2028ecb58 Clean up SQLAlchemy-Continuum configuration a bit
we used to (think we) needed a custom Transaction class factory, but
that no longer seems to be necessary..
2017-07-03 23:32:24 -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 f763851cab Tweak base Importer constructor, so model_class may be more dynamic 2017-07-03 21:44:39 -05:00