Lance Edgar
54fd9549b7
Update changelog
2022-03-26 13:34:59 -05:00
Lance Edgar
eb5071c457
Try harder to cleanup when datasync error happens
...
specifically when a connection goes bad, there seems to be some issue
with logging and garbage collection maybe? hoping this change fixes
our cleanup such that gc need not cause issues..
cf. https://github.com/sqlalchemy/sqlalchemy/issues/5522
2022-03-26 13:34:09 -05:00
Lance Edgar
a5dee29d79
Update changelog
2022-03-24 16:06:09 -05:00
Lance Edgar
68a38d4284
Refactor session usage for datasync consumers
...
to prevent a "long-lived" session, which can cause problems when
invalidated and trigger "finalize fairy" type emails. at least i
think that's what's happening, and hoping this fixes...
2022-03-24 16:04:50 -05:00
Lance Edgar
4673150122
Update changelog
2022-03-22 15:20:21 -05:00
Lance Edgar
92858e412d
Define some "pre-process" logic for datasync consumers
...
easy enough to override, but this seems like a suitable default
2022-03-22 15:19:29 -05:00
Lance Edgar
7ae0a0417f
Update changelog
2022-03-21 17:32:17 -05:00
Lance Edgar
a25097a475
Define email settings for run_n_mail
2022-03-21 17:31:36 -05:00
Lance Edgar
24c56e5276
Update changelog
2022-03-17 17:34:19 -05:00
Lance Edgar
f6034c2c05
Add custorder xref markers for trainwreck; import logic
2022-03-17 16:58:57 -05:00
Lance Edgar
534d052230
Fix typo
2022-03-11 20:06:44 -06:00
Lance Edgar
38a0003cfb
Sort the purchase batch handler methods for docs
...
also link to manual for "receiving" feature docs
2022-03-11 19:49:22 -06:00
Lance Edgar
086f2204c8
Update changelog
2022-03-10 10:17:56 -06:00
Lance Edgar
275fcc1b8d
Assign report output id explicitly, via counter value
...
to allow for non-postgres db backend
2022-03-10 09:50:33 -06:00
Lance Edgar
013ed86298
Render empty string if no price given
2022-03-10 09:46:42 -06:00
Lance Edgar
693308a7a8
Add basic UNFI catalog parser for tab-separated format
2022-03-09 18:25:39 -06:00
Lance Edgar
f7ff0e8256
Update changelog
2022-03-09 17:32:40 -06:00
Lance Edgar
c97f1f6e3d
Can't return poser reports if can't import poser.reports
module
2022-03-09 10:17:31 -06:00
Lance Edgar
e7c6c314d9
Record execution kwargs as special params, when executing batch
2022-03-08 16:44:19 -06:00
Lance Edgar
860050fc11
Fallback to showing employee name field when person missing/empty
2022-03-08 16:25:35 -06:00
Lance Edgar
74d44e8edc
Update changelog
2022-03-08 14:19:17 -06:00
Lance Edgar
f720a9690d
Allow "default" batch handlers to be registered in config
...
so that the package actually providing them, can register defaults,
without setting value of *actual* registered handler
2022-03-08 14:17:18 -06:00
Lance Edgar
c00b43838e
Update changelog
2022-03-07 11:14:03 -06:00
Lance Edgar
013e094b9e
Add upload "temp dir" setting for pyramid in "complete" web.conf
2022-03-06 22:05:45 -06:00
Lance Edgar
64dddcbf01
Update changelog
2022-03-05 14:51:16 -06:00
Lance Edgar
e898d47c9a
Add AppHandler.render_mako_template()
convenience method
2022-03-05 14:32:28 -06:00
Lance Edgar
7991176e20
Add initial/stub support for managing poser views
...
- write the `web` dir when refreshing poser dir
- basic support for reading existing views, for admin tools
2022-03-05 09:28:17 -06:00
Lance Edgar
5d3e398e49
Record app package name in complete config file template
2022-03-04 21:50:21 -06:00
Lance Edgar
34548c3892
Enable email by default in "complete" rattail config template
...
also add some comments and set default prefix to app title
2022-03-04 17:06:28 -06:00
Lance Edgar
93d4181e3a
Assume remote borg command is just borg
by default
2022-03-04 16:42:56 -06:00
Lance Edgar
c244b4ea4a
Add commands, setting-get
and setting-put
2022-03-04 16:42:42 -06:00
Lance Edgar
bb7051a06c
Fix wording in email template
2022-03-04 12:48:23 -06:00
Lance Edgar
ca16ad0b17
Update changelog
2022-03-02 21:32:26 -06:00
Lance Edgar
26c093f127
Add basic Poser support for custom reports
2022-03-02 17:00:20 -06:00
Lance Edgar
809bc5aad7
Update changelog
2022-03-01 16:13:36 -06:00
Lance Edgar
29691ad4ac
Add "vendor not shipped" status for receiving batch
2022-03-01 16:12:13 -06:00
Lance Edgar
04a2e75612
Add very basic / beginnings of Poser Handler
...
this idea has a long way to go but gotta start somewhere
2022-02-27 19:32:28 -06:00
Lance Edgar
b3c21c7cc6
Define appdir in complete config template
2022-02-27 18:46:55 -06:00
Lance Edgar
296e132981
Update changelog
2022-02-26 20:08:46 -06:00
Lance Edgar
be20cf01c1
Add problem report for "mailmon misses"
2022-02-26 20:07:49 -06:00
Lance Edgar
7c5b99be48
Auto filter by date, for trainwreck import-self
2022-02-26 17:58:54 -06:00
Lance Edgar
afd4d154ee
Add config.parse_list()
method
2022-02-26 17:54:50 -06:00
Lance Edgar
6c89ca95f9
Some tweaks for importing data from Excel (xlsx) files
...
specifically some member patronage numbers for fiscal year
2022-02-25 19:50:48 -06:00
Lance Edgar
25e30fd378
Update changelog
2022-02-25 14:28:41 -06:00
Lance Edgar
0ccc2d37ec
Add "discount type" for Trainwreck line item discounts
...
to distinguish general conceptual type, e.g. "customer level discount"
vs. "coupon" - b/c the accounting for them should be different
2022-02-24 10:37:44 -06:00
Lance Edgar
42ba55505d
Fetch discounts along with line items for trainwreck import-self
...
i.e. joinedload for efficiency, since most reasons to use such an
importer will likely want to inspect discounts
2022-02-22 20:38:00 -06:00
Lance Edgar
d899b60c13
Add "complete" mako templates for rattail, web config
...
at least a good enough starting point for now
2022-02-21 22:10:38 -06:00
Lance Edgar
845de3adbc
Add make_appdir()
and make_config_file()
to AppHandler
2022-02-21 12:44:22 -06:00
Lance Edgar
4e74851f7c
Update changelog
2022-02-20 15:24:24 -06:00
Lance Edgar
af4f00c0fb
Add AppHandler.render_percent()
convenience method
2022-02-20 13:57:06 -06:00