Commit graph

3270 commits

Author SHA1 Message Date
Lance Edgar ab45b692fe Optionally force email address to lower-case
only applies to Person email for now though..probably should broaden
at some point?
2023-01-02 10:55:46 -06:00
Lance Edgar 4ae2762be5 Add rattail make-project command, for simpler quickstart
also adds a basic DB handler, etc.
2023-01-02 09:16:12 -06:00
Lance Edgar f091904925 Update changelog 2022-12-28 16:08:14 -06:00
Lance Edgar 1613de0d49 Avoid writing CSV file export when in dry-run mode 2022-12-28 14:18:24 -06:00
Lance Edgar 5bb5c18ff7 Let handler strip batch execution kwargs which aren't JSON-safe
i.e. for sake of storing as batch params
2022-12-26 10:41:30 -06:00
Lance Edgar cf04ae79ef Add basic model for tailbone field info 2022-12-24 21:29:15 -06:00
Lance Edgar 27e13a5ee5 Add basic model for tailbone page help
need to let site admins manage help as much as possible
2022-12-24 15:44:05 -06:00
Lance Edgar 82501640d9 Add initial logic for rattail cleanup command
will add a cleaner for beaker sessions shortly; more will come later
i'm sure
2022-12-23 23:28:50 -06:00
Lance Edgar 80477b3fd8 Make static files optional, for new tailbone-integration project 2022-12-23 20:18:25 -06:00
Lance Edgar b67f4b9635 Be a bit smarter about making url for upgrade emails 2022-12-23 19:21:50 -06:00
Lance Edgar 13d1322174 Require caller to import tasks directly from rattail.luigi.tasks
so we can still get away with importing other things, should that
particular import fail
2022-12-23 18:53:29 -06:00
Lance Edgar 0b9ce82ce6 Update help text for Buefy version setting
now that 0.9.x should be supported
2022-12-22 21:03:19 -06:00
Lance Edgar 975ddbd21e Update changelog 2022-12-22 17:17:26 -06:00
Lance Edgar 659de3d835 Use decimal instead of int, for storing case size
was already doing it everywhere except these 2 batches
2022-12-22 16:30:36 -06:00
Lance Edgar 471704f504 Update changelog 2022-12-21 20:00:37 -06:00
Lance Edgar d3d051da4b Add terms column for Vendor table 2022-12-21 18:05:17 -06:00
Lance Edgar 6d2d902d32 Recomment v0.8.17 for Buefy
versions 0.8.18 thru 0.8.20 are known to have an issue with grid
column sorting, after page refresh
2022-12-20 19:10:46 -06:00
Lance Edgar d0be186c3f Update changelog 2022-12-15 13:31:42 -06:00
Lance Edgar 9013f49204 Add get_filepath() method for batch handlers 2022-12-15 09:11:22 -06:00
Lance Edgar 69a92ed8b6 Add normalize_host_object_all() method to importer
for handling situations which call for multiple host data records to
come from a single host object, e.g. when importing a "main item" but
also needing to bring in its alternate pack records
2022-12-10 16:02:24 -06:00
Lance Edgar d2e076d829 Update changelog 2022-12-10 11:33:00 -06:00
Lance Edgar 6622f094e3 Provide default factory for app.short_session() 2022-12-09 23:10:40 -06:00
Lance Edgar e989521d85 Misc. tweaks for new integration project templates 2022-12-08 18:18:54 -06:00
Lance Edgar e4fbe887ff Write simple error to stdout, when batch command fails
hopefully this works out, but it seems a bit hacky..
2022-12-08 14:13:23 -06:00
Lance Edgar aa57fcd7ab Update changelog 2022-12-06 10:32:44 -06:00
Lance Edgar bab66fb250 Fallback to product master for case size, in vendor invoice batch 2022-12-06 10:14:24 -06:00
Lance Edgar c848c3a185 Add flag for editing invoice cost, in receiving batch 2022-12-05 16:24:37 -06:00
Lance Edgar b9a1ffdb8c Add receiving workflow as param, when making receiving batch 2022-12-05 15:22:32 -06:00
Lance Edgar 5abe919ebe Add flag for receiving batch, if editing catalog cost is allowed 2022-12-05 14:01:41 -06:00
Lance Edgar bc94f5a7db Avoid "cost confirmed" data when cloning purchase batch 2022-12-05 11:25:13 -06:00
Lance Edgar 618b5ec983 Add way to preserve exit code when executing upgrade
e.g. so luigi knows when upgrade fails
2022-12-04 10:29:50 -06:00
Lance Edgar 15e4893448 Add get_email_address() method for AuthHandler 2022-12-04 09:38:32 -06:00
Lance Edgar d4c08b47d1 Update changelog 2022-12-02 16:42:57 -06:00
Lance Edgar b3ab2dfd01 Fix the % price diff status logic for pricing batch
sheesh, the bug finally surfaced
2022-12-02 12:39:37 -06:00
Lance Edgar f25391fe23 Add populate_from_query() method for pricing batch handler
just for clarity, and makes for easier inheritance/override
2022-12-02 12:37:15 -06:00
Lance Edgar 382265277a Update changelog 2022-12-01 13:13:12 -06:00
Lance Edgar 3a8a48c187 Add option to launch overnight task with `silent.conf`
specifically for sake of launching from web app, which has "noisy"
logging config
2022-12-01 09:35:43 -06:00
Lance Edgar f9878a216e Use --glob-archives instead of --prefix for borg prune
per deprecation warnings in borg 1.2 - AFAIK this is still safe for
borg 1.1 as well though..
2022-11-28 16:36:17 -06:00
Lance Edgar f830956418 Update changelog 2022-11-28 12:32:04 -06:00
Lance Edgar 9b27ea3df5 Fix logic for rendering percentage value, when null 2022-11-28 11:50:05 -06:00
Lance Edgar 49f0fb800f Normalize percentage values in vendor catalog batch
whoops, missed this one..
2022-11-28 11:49:44 -06:00
Lance Edgar 9f201f61a8 Update changelog 2022-11-28 10:53:26 -06:00
Lance Edgar 731a7e9629 Remove the 'backup' extra from setup.py
no reason for rattail proper to get involved with those details
2022-11-27 20:39:07 -06:00
Lance Edgar c7e61ec4c2 Fix how failed command output is shown for luigi
this is python2-compatible, but probably makes more sense anyway
2022-11-27 12:42:32 -06:00
Lance Edgar 151f92c00a Keep current rattail config, when launching overnight task
at least i think this makes the most sense..?
2022-11-27 12:33:44 -06:00
Lance Edgar 2e4bb53d67 Auto-record last run date when overnight task completes okay 2022-11-23 13:46:51 -06:00
Lance Edgar c8c57b9629 Update changelog 2022-11-21 14:29:46 -06:00
Lance Edgar 17d4023dc0 Add way to purge overnight luigi settings
useful when cloning production DB to dev/stage environment, where
local config file can have custom settings
2022-11-21 14:00:06 -06:00
Lance Edgar 65d4b6ea5e Update changelog 2022-11-21 12:46:07 -06:00
Lance Edgar 4e2a8f8908 Wrap script with run-n-mail too, for overnight luigi tasks
don't just wrap if invoking luigi directly
2022-11-21 12:36:27 -06:00