Commit graph

2622 commits

Author SHA1 Message Date
Lance Edgar d878785b1f Add UpgradeHandler.do_execute() and mark_executing()
so command and web view can share that logic
2017-08-17 18:15:22 -05:00
Lance Edgar 087cd4f191 Update sample data and importer, per latest schema 2017-08-16 21:36:33 -05:00
Lance Edgar ff3c906b04 Update changelog 2017-08-15 16:51:08 -05:00
Lance Edgar 936980f280 Add enum for purchase credit status 2017-08-15 12:56:53 -05:00
Lance Edgar 3ec210e246 Add UpgradeHandler.delete_files() method 2017-08-14 01:04:53 -05:00
Lance Edgar 4f2f25a6a8 Don't allow upgrade command to be specified in Settings table
only config files for now, to be safe(r)
2017-08-13 22:22:20 -05:00
Lance Edgar dc0a0cb2b5 Update changelog 2017-08-13 20:34:42 -05:00
Lance Edgar 572b04c161 Update project template to stop referencing 'better' tailbone theme 2017-08-13 19:11:36 -05:00
Lance Edgar 74d99c1edc Update changelog 2017-08-12 16:10:12 -05:00
Lance Edgar 341310d139 Fix product price data gap for Rattail -> Rattail importer 2017-08-12 15:44:03 -05:00
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