Lance Edgar
f7c03fd618
feat: add support for new ordering batch from parsed file
2024-10-22 14:25:55 -05:00
Lance Edgar
86d0380387
feat: refactor config/extension, session logic per wuttjamaican
...
this leverages wuttjamaican for a few more things perhaps, but mostly
this is to organize the code in a more logical way based on
conventions used in wuttjamaican.
2024-08-15 14:22:29 -05:00
Lance Edgar
1a3693fd10
feat: move most of auth handler logic to wuttjamaican
...
also deprecate the `rattail.db.auth` module
2024-07-14 23:23:25 -05:00
Lance Edgar
446a63b6eb
feat: move some app model logic to wuttjamaican
...
previously the "canonical" way to get the model was via
config.get_model() - but now the canonical way is simply app.model
note that for now, even though wuttjamaican provides a default model,
the rattail model does not (yet?) inherit from it. also since
wuttjamaican does not yet support versioning, that feature remains in
rattail only for now.
various legacy things have been deprecated and will warn if used by
other apps.
2024-07-11 13:06:54 -05:00
Lance Edgar
c5c8c06ea7
test: improve some tests, docs for rattail.config module
...
still some left to do, just a stopping point
2024-07-01 23:07:05 -05:00
Lance Edgar
bc5447146f
docs: refactor importer command docs, per typer
2024-07-01 11:42:37 -05:00
Lance Edgar
673aebd171
docs: add some basic docs for typer commands
...
remove some docs for legacy commands
2024-07-01 10:02:23 -05:00
Lance Edgar
1a6520ccbb
docs: use furo docs theme instead of classic
2024-07-01 09:03:16 -05:00
Lance Edgar
3ccf82b50c
docs: fix changelog references
2024-06-11 23:08:40 -05:00
Lance Edgar
12240da995
docs: incorporate old changelog into doc structure
...
otherwise sphinx complains, which means an error with tox build
2024-06-10 15:11:29 -05:00
Lance Edgar
0dc62eaad5
bump: version 0.12.9 → 0.13.0
2024-06-10 14:40:11 -05:00
Lance Edgar
c3287a6799
Fix docs for rattail make-appdir command
...
per typer
2024-05-28 21:43:51 -05:00
Lance Edgar
a1aad54fc1
Remove stale hard-coded version in docs config
...
not real sure what this version is even used for..
2023-12-30 17:08:32 -06:00
Lance Edgar
804769386d
Add seconds param for app.render_time_ago() method
...
and clean up docs a bit
2023-12-28 18:48:09 -06:00
Lance Edgar
561cb24852
Add per-department default item discount for customer orders
2023-12-22 11:49:34 -06:00
Lance Edgar
20ff1ab7fb
Add some more terms to the glossary
2023-11-30 18:21:35 -06:00
Lance Edgar
464ac543a7
Add wutta wrapper for rattail make-appdir command
2023-11-22 11:26:23 -06:00
Lance Edgar
2df3cea844
Move core command logic to rattail.commands.base
...
deprecate `rattail.commands.core` to align with upstream convention
2023-11-22 10:18:42 -06:00
Lance Edgar
85fb036884
Make Subcommand inherit from WuttJamaican; add rattail config-setting
2023-11-21 21:12:17 -06:00
Lance Edgar
18e0d5ac96
Add wutta wrapper for short_session()
...
and several related tweaks for tests, docs
2023-11-20 14:50:15 -06:00
Lance Edgar
4a3209f897
Incorporate the WuttJamaican package
...
- our AppHandler is now based on that one
- our Config *may* be based on it, if so configured
at some point our Config will "always" be based on WuttaConfig but we
need to test a bit more first
2023-11-19 20:38:43 -06:00
Lance Edgar
dc4ebcfa75
Remove references to upstream pytz docs
...
those docs are semi-broken and apparently the `pytz` package itself
has entered "maintenance mode" so we need to refactor it out at some
point soon...
cf. https://pythonhosted.org/pytz/#issues-limitations
2023-11-11 07:46:42 -06:00
Lance Edgar
308dc9ca8e
Add customer search methods to clientele handler, for POS sake
2023-09-23 21:25:04 -05:00
Lance Edgar
e9728dc542
Fix docs per filemon config module rename
2023-06-28 09:06:59 -05:00
Lance Edgar
57231236d9
Massive overhaul of "generate project" feature
...
previous incarnation was woefully lacking. new feature is much more
extensible. still need to remove old POS integration specifics in
some places.
and a couple of unrelated things that snuck in..
- deprecate `rattail.util.OrderedDict`
- deprecate `rattail.util.import_module_path()`
- deprecate `rattail.util.import_reload()`
2023-05-05 00:13:44 -05:00
Lance Edgar
d349c66eeb
Add max_retries option for TailboneAPIClient
2023-05-02 16:51:05 -05: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
263dafef0c
Add more error handling to datasync; more docs
...
still trying to isolate a particular problem for one install, to
determine how it can be worked around...
2022-04-06 16:22:21 -05: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
f12ebc3443
Add "all" product locate methods to products handler
...
should be able to use the handler to get exactly what you need now..
this also changes autocomplete to only fetch one product by key,
whereas previously multiple matches were *possible* - although they
were presumably not likely. guess we'll see if there is blowback
2022-02-05 15:58:42 -06:00
Lance Edgar
7925b3b432
Add basic docs for existing label features
2022-01-13 15:44:24 -06:00
Lance Edgar
e4277d80fb
Add AppHandler.next_counter_value() magic
...
this is now used by `BatchHandler.consume_batch_id()` and hopefully is
able to auto-magically create a dedicated counter table if the
underlying db engine is not postgres. at least that part seems to
work for tests using sqlite
2022-01-08 12:17:47 -06:00
Lance Edgar
4de258d09b
Add vendor handler, to better organize catalog parser logic
2022-01-07 19:26:11 -06:00
Lance Edgar
1ac0139fd3
Misc. changes for vendor catalog batch and related features
...
not very targeted, but all is solid i think..
2022-01-07 15:01:37 -06:00
Lance Edgar
8ae4de7d59
Remove deprecated use of rattail.batch.handlers.get_batch_handler()
2022-01-03 22:07:59 -06:00
Lance Edgar
df84ae7089
Use newer theme for docs
2022-01-03 16:14:22 -06:00
Lance Edgar
4f0b54fc7b
Add basic Trainwreck handler
...
with basic docs and tests!
2022-01-01 19:11:55 -06:00
Lance Edgar
d2b0250a02
Add full test coverage, more docs, for rattail.app module
2022-01-01 01:21:53 -06:00
Lance Edgar
3619e58c1e
Deprecate the name NewDataSyncConsumer and update docs
2021-12-30 15:48:50 -06:00
Lance Edgar
5eaf893b94
Consolidate "new custorder" autocomplete logic for people, customers
2021-10-16 21:28:16 -04:00
Lance Edgar
bd964b9266
Add support for syncing roles, with users and permissions for each
...
but only those roles marked for sync. also by default the GlobalRole
is *not* included in the handler's default list, so this still
requires a bit of setup
2021-10-14 10:38:07 -04:00
Lance Edgar
16d8bd879a
Add way to customize product autocomplete for new custorder
2021-09-09 19:14:39 -05:00
Lance Edgar
53e9692170
Add merge-related methods to PeopleHandler, plus some docs
...
also deprecate `get_people_handler()` function
2021-08-18 19:30:36 -05:00
Lance Edgar
0cdb664f77
Add auto-doc for rattail.app module
2021-08-18 19:30:32 -05:00
Lance Edgar
bb2d1cca60
Replace "importing" docs overview w/ link to rattail-manual
2021-07-21 18:27:47 -05:00
Lance Edgar
8ff8843040
Rename tables, models for vendor catalog batches
...
`vendor_catalog` => `batch_vendorcatalog`
2021-02-02 15:55:07 -06:00
Lance Edgar
129934d1c8
Add AppHandler.get_report_handler() and improve related docs a bit
2021-01-15 15:14:22 -06:00
Lance Edgar
87f11679b9
Initial narrative docs for Configuration
...
not really complete, but gosh let's get something in place
2020-08-10 22:56:46 -05:00
Lance Edgar
8d75fd7093
Improve logic for making new Receiving batch from PO
...
i.e. for the "native" use case
2020-03-20 13:34:39 -05:00
Lance Edgar
50924da9d6
Add revoke_permission() convenience auth function
2020-03-15 11:38:39 -05:00