Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar 33cb06c354 Fix typo in employment handler 2023-06-01 19:15:06 -05:00
Lance Edgar aac8c68b08 Update changelog 2023-06-01 12:15:10 -05:00
Lance Edgar 5905e7999c Fix some datasync config logic 2023-06-01 11:37:58 -05:00
Lance Edgar 62a1a8820a Refactor some config "profile" parsing per new RattailConfiguration
in particular fixes datasync, filemon, mailmon config

but this *changes* some config keys, in particular for datasync:

- watcher.spec
- consumers.list
- consumer.*.spec
2023-06-01 11:08:44 -05:00
Lance Edgar 1be426d72a Update changelog 2023-05-25 12:19:59 -05:00
Lance Edgar 980d6a1356 Use absolute file paths in new config class
also log full command line..
2023-05-23 09:54:56 -05:00
Lance Edgar 9fdfe83cea Add logging to show which config files were read on startup 2023-05-22 15:39:21 -05:00
Lance Edgar 05be593502 Flesh out the byjove project generator 2023-05-19 19:56:46 -05:00
Lance Edgar a20599b091 Don't expose settings for hello/test email
those should always be specified by caller
2023-05-19 17:15:20 -05:00
Lance Edgar b072de0cf3 Add "hello world" email for testing send config etc. 2023-05-19 17:03:30 -05:00
Lance Edgar 94aa985830 Lower log level for telling current config type 2023-05-19 16:22:47 -05:00
Lance Edgar c48fb56065 Tweak deprecated methods for membership handler 2023-05-19 16:00:41 -05:00
Lance Edgar 4600f8990f Fix bug in clientele handler 2023-05-19 15:43:05 -05:00
Lance Edgar d399abddfa Rename setting for rattail.problems.modules
b/c the `rattail.problems` key won't work to define module list, with
new configuration class
2023-05-19 09:55:35 -05:00
Lance Edgar ff01525aa7 Add get_person(), get_customer() etc. to AppHandler
make it delegate to appropriate handler for each method.  also the
various handler methods with actual logic, are a bit more generic in
what they accept
2023-05-18 23:23:56 -05:00
Lance Edgar b1a6557657 Add mock stub to RattailConfiguration, for legacy method 2023-05-18 19:58:26 -05:00
Lance Edgar e6fc18e4e1 Add new RattailConfiguration class based on python-configuration 2023-05-18 19:30:59 -05:00
Lance Edgar c727ae4f97 Avoid deprecated import for OrderedDict 2023-05-18 18:12:45 -05:00
Lance Edgar 8c0514e49d Update changelog 2023-05-18 13:49:58 -05:00
Lance Edgar fc3aa4d772 Avoid lookup of continuum user for short session
at least by default..
2023-05-18 00:00:34 -05:00
Lance Edgar 98d5a594a0 Add get_version() and get_node_title() to app handler 2023-05-16 23:09:07 -05:00
Lance Edgar 0d63801883 Update changelog 2023-05-16 17:32:43 -05:00
Lance Edgar 0c4e6776b1 Add way to prevent error in pod.get_image_url() 2023-05-16 17:31:24 -05:00
Lance Edgar aae0551a4f Fix syntax bug in setup.cfg 2023-05-16 15:15:24 -05:00
Lance Edgar 3db6e21cc2 Replace setup.py contents with setup.cfg 2023-05-16 15:13:55 -05:00
Lance Edgar 8bbbe659f0 Tweak upload_dir option in setup.cfg, per warning
not sure this is actually being used anyway..?  need to revisit
2023-05-15 08:47:29 -05:00
Lance Edgar a11024f973 Update changelog 2023-05-15 08:45:52 -05:00
Lance Edgar 2b7ac6a5fc Add schema, basic logic for user API tokens
and the default API client now tries to use token if configured, or
can fallback to login w/ credentials
2023-05-15 08:07:33 -05:00
Lance Edgar fd26314d2b Update changelog 2023-05-13 16:56:50 -05:00
Lance Edgar 232f655a0b Add check_alembic_current_head() method to DB handler
so UI can warn user if DB is not up to date
2023-05-12 21:24:48 -05:00
Lance Edgar 429f2e38c5 Fix manifest for alembic version scripts in new project 2023-05-12 21:24:32 -05:00
Lance Edgar 847c97b124 Update changelog 2023-05-10 20:15:23 -05:00
Lance Edgar 8b47d1ed5d Add inventory records to session if needed
guessing b/c now `cascade_backrefs=False`
2023-05-10 20:05:55 -05:00
Lance Edgar 8b8b050b09 Add batch handler logic to see if row deletion is okay
just for receiving batch so far..
2023-05-10 18:46:41 -05:00
Lance Edgar 02f9723c9a Update the alembic env.py script, per newer conventions
also pass `usedb=False` to the config!
2023-05-10 16:27:53 -05:00
Lance Edgar 485bf57183 Misc. tweaks for sake of Rattail -> Instacart export 2023-05-10 15:11:55 -05:00
Lance Edgar e23b7ba0b4 Update changelog 2023-05-09 20:30:13 -05:00
Lance Edgar f5bd87bfe3 More improvements for 'shopfoo' project generators 2023-05-09 15:29:50 -05:00
Lance Edgar 049a410b21 Add org name to README for poser-style projects 2023-05-09 07:35:16 -05:00
Lance Edgar 122391e247 Fix version tables for vendor_sample_file
not sure why alembic is behaving differently for those now, when
alembic revision is generated for new versioned table..

ideally could solve the underlying problem there as this will affect
everyone...
2023-05-08 21:42:13 -05:00
Lance Edgar 4c331e3875 Add rattail_shopfoo project generator
also *remove* the `db/alembic/env.py` script from rattail-adjacent
generator.  it didn't seem necessary..now we'll see if it ever is
2023-05-08 21:41:00 -05:00
Lance Edgar 9834e1276d Improve logic for rattail version-check command
previously checked for "2 INSERT ops" but that is technically okay if
a DELETE happens before 2nd INSERT
2023-05-08 19:50:47 -05:00
Lance Edgar a4ea9103ee Update changelog 2023-05-05 19:10:05 -05:00
Lance Edgar 0c53a05603 Add default classifier for rattail-integration projects 2023-05-05 19:09:20 -05:00
Lance Edgar a30df47646 Add config stub for custom tailbone menu
hm, need a better way to customize this config template, since
rattail-adjacent does not get `has_web` context (yet?)
2023-05-05 14:20:11 -05:00
Lance Edgar afa01d6332 Add "rattail_adjacent" base class for generating projects
need to share logic between "full-on Poser app" and "rattail-foo
integration" type projects
2023-05-05 13:29:18 -05:00
Lance Edgar baf7be5ec9 Update changelog 2023-05-05 10:21:42 -05:00
Lance Edgar 7a6d332a9f Delay alembic import in case not there 2023-05-05 01:04:33 -05:00
Lance Edgar ab085bfd63 Remove error for default empty project generator 2023-05-05 00:46:11 -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