Lance Edgar
ec5571fa29
Update changelog
2019-10-23 12:41:07 -05:00
Lance Edgar
821dd6ee42
Add "generic" sequence for customer numbers
...
but don't actually "use" it, just make sure it's there in case an app does want
to use it
2019-10-22 16:51:40 -05:00
Lance Edgar
b6b8d1d8fc
Add setting to "force unit item" for inventory batch
2019-10-21 15:35:15 -05:00
Lance Edgar
32c8da6d2c
Update changelog
2019-10-15 16:56:32 -05:00
Lance Edgar
2eeff3a9f2
Add -m
flag option for rattail import-versions --comment
2019-10-15 16:53:25 -05:00
Lance Edgar
3a9f3b7cc3
Add way for callers to assign "comment" for versioning transaction
2019-10-14 19:06:48 -05:00
Lance Edgar
ed1c0d0748
Update changelog
2019-10-12 13:38:52 -05:00
Lance Edgar
e71117da5d
Use OrderedDict for configured db engines
...
so we preserve sequence of defined 'keys'
2019-10-12 13:33:19 -05:00
Lance Edgar
533b12cc10
Pre-load some data for "pending upgrade" problem report email
2019-10-10 21:37:58 -05:00
Lance Edgar
f177e8e36e
Do not provide a db session for problem reports
...
at least, the default handler no longer does that...not sure yet if it would
ever be useful for some handlers to or not
2019-10-10 21:32:45 -05:00
Lance Edgar
de0c6a7100
Add problem report for "pending upgrades"
...
mostly just some proof-of-concept stuff, not sure if useful
2019-10-10 18:36:12 -05:00
Lance Edgar
45ad1d16c7
Add initial "problem report" framework
2019-10-10 16:07:27 -05:00
Lance Edgar
475cdf6450
Add unit cost diff, related status for vendor invoice batch rows
...
i.e. diff between invoice cost vs. whatever we currently have on file
2019-10-09 15:57:31 -05:00
Lance Edgar
f0535b84c0
Efficiency tweaks for vendor catalog batch creation
2019-10-09 15:13:29 -05:00
Lance Edgar
24d4ca6144
Add "preferred vendor" flags for vendor catalog batch rows
...
we can set the `is_preferred_vendor` flag, but handler logic must be
responsible for `make_preferred_vendor`
2019-10-09 14:55:10 -05:00
Lance Edgar
fe31e594d9
Add unit cost diff percentage for vendor catalog batch rows
2019-10-09 14:15:12 -05:00
Lance Edgar
3b895179b1
Make pricing batch population more robust for UPC/product
2019-10-08 21:58:55 -05:00
Lance Edgar
d7f0b612c2
Add generic JSON params
field to core batch schema
...
handlers can do with it what they will, but hopefully cuts down on need for
some other schema changes for custom batch types
2019-10-08 18:02:18 -05:00
Lance Edgar
874cf594c1
Improve importer logic for "Global" objects, for sake of datasync
...
specifically, we must (again) check the `local_only` flag when normalizing the
host object, since datasync will see "all" objects
2019-10-07 17:38:50 -05:00
Lance Edgar
1031d6b744
Update changelog
2019-10-07 11:55:54 -05:00
Lance Edgar
1eb412e443
Add local_only
flag for Person, User, plus "Global" importers
2019-10-04 22:30:43 -05:00
Lance Edgar
6a2884864d
Tweak Luigi summary filter logic for detecting "all good" message
2019-10-04 14:59:00 -05:00
Lance Edgar
fe6abdc452
Update changelog
2019-10-04 14:31:15 -05:00
Lance Edgar
32f95a78e4
Provide default/fallback node title for importers' sake
2019-10-04 14:11:59 -05:00
Lance Edgar
3ae42262f0
Add remove_email()
etc. for ContactMixin
2019-10-02 18:10:43 -05:00
Lance Edgar
6555d97183
Update changelog
2019-10-02 11:07:59 -05:00
Lance Edgar
90fa901624
Convert command output to unicode...for real
...
hm, i didn't realize `str()` no longer decoded?
2019-09-30 14:34:32 -05:00
Lance Edgar
03a5f49b9c
Convert command output to Unicode, for run-n-mail
...
but only for python3 i guess, since wasn't necessary until now...
2019-09-30 14:29:08 -05:00
Lance Edgar
e098c6a76e
Provide default app title when generating mail
...
when mail is being sent, is no time to throw an error just b/c config is
missing the app title...
2019-09-30 13:56:14 -05:00
Lance Edgar
ec470cc769
Add WarnSummaryIfProblems
logging filter for Luigi
2019-09-30 13:27:35 -05:00
Lance Edgar
076a9d996b
Add --groups
arg to rattail make-user
command
...
for auto-assigning user to arbitrary roles
2019-09-30 12:48:03 -05:00
Lance Edgar
bff20842b5
Declare 'sys' to be a built-in mysql db name, for rattail backup
2019-09-25 19:25:47 -05:00
Lance Edgar
8febb25537
Update changelog
2019-09-24 14:25:16 -05:00
Lance Edgar
fa5a15b70e
Add progress support for some Excel writer methods
2019-09-20 17:24:51 -05:00
Lance Edgar
602ebd8fcc
Add default_importers_only
flag for datasync consumers
2019-09-20 15:08:59 -05:00
Lance Edgar
c7b58c5fd3
Add util.simple_error()
for basic rendering of error message
...
just a bit of convenience for myself
2019-09-19 20:18:14 -05:00
Lance Edgar
28582c5b68
Update changelog
2019-09-18 11:10:19 -05:00
Lance Edgar
1385536a01
Add get_product_by_scancode()
API function; leverage in batch handler
2019-09-18 11:09:08 -05:00
Lance Edgar
8d0884523c
Fix code typo for "new batch" templates
2019-09-17 17:34:46 -05:00
Lance Edgar
5c6a0c15f5
Don't try to locate product if empty "entry" provided, for batch handlers
2019-09-17 17:34:04 -05:00
Lance Edgar
d4bb4397dd
Strip whitespace from fieldnames by default, for ExcelReader
...
caller can always disable that, but seems like more of a gotcha the other way
2019-09-17 17:33:20 -05:00
Lance Edgar
e870845818
Update changelog
2019-09-17 15:18:44 -05:00
Lance Edgar
4d0e375af2
Add ImportHandler.extra_importer_kwargs
and associated logic
...
sometimes you just need a way to do that kind of thing...
2019-09-17 14:11:27 -05:00
Lance Edgar
d79ee28c54
Retain reference to "used" importer instances, when running via handler
...
sometimes a caller would like to take advantage of the "full" handler logic,
but then subsequently needs to access certain state data from the importer
instance. this lets them do that, although perhaps it's an anti-pattern?
2019-09-17 13:46:51 -05:00
Lance Edgar
e30e0c295c
Allow config to define where db dumps go for backup
2019-09-16 13:32:41 -05:00
Lance Edgar
1b5e11d65a
Add 'backup' requirements extra
...
mainly just for borg of course
2019-09-12 21:04:40 -05:00
Lance Edgar
83f7376c8b
Provide a basic set of default "excludes" if none configured, for backup
...
this idea needs expanding upon but a starting point only for now
2019-09-12 14:52:43 -05:00
Lance Edgar
3180e817d2
Return empty list by default, for file backup "excludes"
2019-09-12 14:48:58 -05:00
Lance Edgar
5e90a6f355
Add --no-dump-tables
arg, plus config option for rattail backup
2019-09-11 20:55:08 -05:00
Lance Edgar
a12a8e352d
Let config define "hostname" for use with naming Borg archives
2019-09-11 19:41:05 -05:00