Commit graph

2112 commits

Author SHA1 Message Date
Lance Edgar ba5112cac8 Update changelog 2017-08-11 11:53:49 -05:00
Lance Edgar 3bb2a23081 Add "zero-all" mode support for inventory batches 2017-08-10 11:07:21 -05:00
Lance Edgar 6911e6e359 Update changelog 2017-08-10 08:04:07 -05:00
Lance Edgar 273a312f48 Fix broken Person.user relationship 2017-08-10 08:02:46 -05:00
Lance Edgar 9a77cebed4 Update changelog 2017-08-09 22:51:53 -05:00
Lance Edgar 85cbead8fa Add batch descriptions, prev_on_hand for inventory batches, etc.
various other changes here, they all seem safe...
2017-08-09 21:39:20 -05:00
Lance Edgar 9955ce7c24 Update changelog 2017-08-09 14:15:36 -05:00
Lance Edgar 45bafaf9b4 Provide default path for rattail sudoers file 2017-08-09 12:43:12 -05:00
Lance Edgar 3aad95ad9a Capture exit code from upgrade process, use it to indicate success/fail 2017-08-08 20:31:22 -05:00
Lance Edgar 0c52a5c70f Update changelog 2017-08-08 19:40:47 -05:00
Lance Edgar aa3ff792a2 Specify expire_on_commit for rattail db sessions
apparently we need to do that sometimes? always? i surely need to
understand this better..
2017-08-08 19:37:45 -05:00
Lance Edgar 1b3886443a Add sample config for with/out versioning 2017-08-08 18:18:49 -05:00
Lance Edgar 3e4e36f3e7 Update changelog 2017-08-08 14:40:56 -05:00
Lance Edgar df3a10b977 Various tweaks to improve versioning support
* add `RattailConfig.get_model()`
* add email settings for `rattail import-versions`
* set default runas user for all importers targeting rattail
* add startup check to ensure continuum is functional (if enabled)
2017-08-08 14:33:16 -05:00
Lance Edgar 8c29eb75b0 Update changelog 2017-08-08 00:48:47 -05:00
Lance Edgar e3cab91588 Add basic API docs for rattail.win32 module
mostly just a test commit
2017-08-08 00:19:24 -05:00
Lance Edgar 64e7a00a8f Add very basic API docs for rattail.upgrades
mostly just a test commit here..
2017-08-08 00:02:52 -05:00
Lance Edgar e55f520a41 Fix bug when getting pip path 2017-08-07 23:03:18 -05:00
Lance Edgar 22e511792b Fix how we get path to pip executable for upgrades
er sort of..this still seems pretty hacky yet
2017-08-07 22:55:09 -05:00
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