Lance Edgar
a8729a5bf9
Add the MergeMixin
class, for common logic among feature handlers
...
also add basic merge support for product handler
2022-08-12 14:19:41 -05:00
Lance Edgar
d7502cf7db
Update changelog
2022-08-10 18:56:52 -05:00
Lance Edgar
d436dd22a2
Add basic model, handler for work orders
...
much more to come later i'm sure
2022-08-09 22:55:59 -05:00
Lance Edgar
726e16ea1e
Add TODO comment
...
refs #10
2022-08-09 17:14:47 -05:00
Lance Edgar
2603839930
Try to detect tab- vs. comma-delimited CSV for handheld batch
2022-08-09 16:33:13 -05:00
Lance Edgar
78b401779b
Raise error if invoice2data
is not able to find matching template
2022-08-09 15:04:34 -05:00
Lance Edgar
a283988896
Add choice_uses_dropdown()
method for customer handler
2022-08-09 14:35:57 -05:00
Lance Edgar
1ab42e5245
Update changelog
2022-08-08 18:12:51 -05:00
Lance Edgar
b663d44e52
Fix how "available" email profiles are got
...
must first get "all" and then filter out, even if not using entry points
2022-08-08 15:49:38 -05:00
Lance Edgar
a42594baca
Update changelog
2022-08-08 09:41:50 -05:00
Lance Edgar
133fb5d265
Add support for alerting when sending an email fails
...
granted, if the first email failed for certain reasons (e.g. network
down) then the subsequent alert would also fail... so this may not be
very useful but we'll see
2022-08-07 18:55:12 -05:00
Lance Edgar
805ef57215
Invalidate beaker config cache when setting is deleted
2022-08-07 18:26:18 -05:00
Lance Edgar
934b19e9fe
Make sure cache is invalidated when purging datasync settings
2022-08-07 18:18:55 -05:00
Lance Edgar
db3e54897c
Add force_create
param for AppHandler.save_setting()
...
for those times you know you're adding a new setting
2022-08-07 18:18:16 -05:00
Lance Edgar
d3061e7db5
Add config snippet for preventing duplicate error emails from web apps
2022-08-07 16:12:10 -05:00
Lance Edgar
b2897a1c65
Add get_single_host_object()
to importer base class
...
not all importers will need to implement this; though some may for
sake of datasync and similar
2022-08-07 16:11:26 -05:00
Lance Edgar
52c0fc4931
Update changelog
2022-08-07 11:55:30 -05:00
Lance Edgar
2a1fdf905a
Tweak deprecation warnings
2022-08-07 11:54:25 -05:00
Lance Edgar
029db19184
Lower log level when mailmon fails to check for / process messages
...
pretty much all of the emails received so far are inconsequential and
have to do with gmail auto-expiring sessions etc.
2022-08-07 10:36:14 -05:00
Lance Edgar
e6366248da
Replace deprecated method call
2022-08-07 10:28:38 -05:00
Lance Edgar
a09ea35738
Update changelog
2022-08-07 10:09:28 -05:00
Lance Edgar
54c3d0eae3
Honor the configured email collection module(s), even w/ entry points
...
entry points make for an obvious default collection, but if config
declares a particular list of modules, that should win
2022-08-06 22:50:37 -05:00
Lance Edgar
890ec80b73
Try to use app-specific namespace for beaker config caching
...
otherwise some backends (memcached) may confuse settings across
multiple apps, e.g. for me in dev
2022-08-06 21:39:25 -05:00
Lance Edgar
3719c6cee6
Update changelog
2022-08-06 20:47:35 -05:00
Lance Edgar
2bf25d54ba
Add support for memcached as beaker config cache backend
...
technically this is for other backends too, i just tried memcached
2022-08-06 20:20:57 -05:00
Lance Edgar
4f67020ec3
Add entry points support for locating email profiles
...
this simplifies adding support for new email profiles in custom apps,
when they're added to underlying packages
2022-08-06 18:26:41 -05:00
Lance Edgar
09a93f57b9
Update changelog
2022-08-05 20:10:15 -05:00
Lance Edgar
d8a102cb73
Add basic rattail postfix-summary
command
...
hopefully will help track down mail problems when they occur. note
that this may require configuring `sudoers` to work correctly
2022-08-05 20:05:19 -05:00
Lance Edgar
40c58ec556
Update changelog
2022-08-05 16:47:10 -05:00
Lance Edgar
dc1ac24895
Be sure to close connections for rattail -> rattail datasync
...
this seems to be a major offender!
refs #6
2022-08-05 16:32:05 -05:00
Lance Edgar
aaef8b7b89
Make db pool status logging a per-engine config flag
2022-08-05 15:38:47 -05:00
Lance Edgar
be39009faa
Add debug logging of DB pool status, when creating Session
...
trying to track down why we still have way too many sessions..
refs #6
2022-08-05 15:23:15 -05:00
Lance Edgar
9f5ef93210
Remove unused function
2022-08-05 13:37:59 -05:00
Lance Edgar
6b923be28a
Update changelog
2022-08-05 13:28:12 -05:00
Lance Edgar
e36e4ead4f
Fix recipients for sending email
...
turns out we were sending mail to e.g. 'Lance', 'Edgar', 'lance@edbob.org'
2022-08-05 13:27:08 -05:00
Lance Edgar
5d1513d0cf
Update changelog
2022-08-04 09:08:18 -05:00
Lance Edgar
9833ddca76
Use app node title as default email subject prefix
2022-08-04 08:24:44 -05:00
Lance Edgar
5f33b1d79c
Update changelog
2022-08-03 16:56:55 -05:00
Lance Edgar
de40a2169e
Add beaker cache flag to config file templates
2022-08-03 16:25:39 -05:00
Lance Edgar
ac64833556
Add initial support for Beaker caching of config values from DB
...
refs #8
2022-08-03 15:14:45 -05:00
Lance Edgar
68b3011ad9
Deprecate the old rattail.db.api.settings
module
...
technically this is still being used here and there in the wild, but
that really needs to stop so that we can guarantee validity of beaker
cache when that is being used
2022-08-03 14:50:53 -05:00
Lance Edgar
721dadc131
Add "touch" logic for employee handler
2022-08-03 11:12:44 -05:00
Lance Edgar
3a7d5a6486
Update changelog
2022-08-02 19:12:23 -05:00
Lance Edgar
e4efc6619b
Use single comma-delimited To: header for multiple email recipients
...
apparently all this time we have often been sending messages which had
multiple To: headers, but that violates the standard
recently found a bounce in mail logs with the following warning:
Our system has detected that this message is not RFC 5322 compliant: duplicate headers
2022-08-02 19:07:40 -05:00
Lance Edgar
ffa1537d7a
Remove unused module
2022-08-01 21:32:44 -05:00
Lance Edgar
58129232e6
Remove reference to old command
2022-08-01 21:29:25 -05:00
Lance Edgar
96ec45cd63
Remove unused command
2022-08-01 21:23:26 -05:00
Lance Edgar
d006a6d4f3
Remove unused command
2022-08-01 21:16:57 -05:00
Lance Edgar
ad5df3a662
Remove "basic db cache" for config from DB settings table
...
turns out that won't even work right
refs #8
2022-08-01 21:12:25 -05:00
Lance Edgar
0ce1f4ac85
Fix test
2022-07-31 20:45:30 -05:00