Commit graph

173 commits

Author SHA1 Message Date
Lance Edgar 6c21073182 Fix datasync for CORE -> Rattail, per CustomerShopper changes 2023-06-08 10:53:54 -05:00
Lance Edgar a45d28cd6f Add initial/basic CustomerShopper importer for CORE -> Rattail
this replaces previous importers for Person and CustomerPerson

no contact info support just yet..need to decide where to put that
2023-06-07 16:39:57 -05:00
Lance Edgar 2c38e4d5d3 Import membership types from CORE API 2023-06-06 13:14:36 -05:00
Lance Edgar dde729b959 Import the Member.active flag from CORE API 2023-06-06 11:45:35 -05:00
Lance Edgar bfc52a6fb3 Make card_number more central for CORE API -> Rattail importers
let's track that as (effectively) `Customer.corepos_card_number` and
use that when possible for importer key
2023-06-05 20:45:45 -05:00
Lance Edgar c1276c998a Update changelog 2023-06-03 07:28:59 -05:00
Lance Edgar 5dc1392ef7 Skip customer record with no member type, for blue line update
otherwise would just raise error, and prevent the rest of updates from
happening
2023-06-03 07:27:57 -05:00
Lance Edgar 02107d32a4 Update changelog 2023-06-02 14:27:34 -05:00
Lance Edgar d57f18a1fe Add problem report for invalid custdata person number sequence 2023-06-02 14:16:20 -05:00
Lance Edgar e838e5b514 Add support for htdigest auth when using CORE webservices API 2023-05-22 21:36:04 -05:00
Lance Edgar 66a6c8f5a0 Update changelog 2023-05-18 15:57:23 -05:00
Lance Edgar 80084e13da Add core-office import-self command, to fix custdata.blueLine 2023-05-18 15:55:56 -05:00
Lance Edgar 5e1afa2c5c Update changelog 2023-05-17 06:57:51 -05:00
Lance Edgar 74f4533e0b Replace setup.py contents with setup.cfg 2023-05-16 13:14:14 -05:00
Lance Edgar 65b62ad241 Update changelog 2023-05-11 15:24:32 -05:00
Lance Edgar e74a47b99a Add behavior options for CORE member importer 2023-05-11 15:23:39 -05:00
Lance Edgar 1cb7d45e23 Update changelog 2023-05-09 20:32:26 -05:00
Lance Edgar f8de832294 Add support for member_type_id in CORE MemberInfoImporter
also improve support for first, last name sync
2023-05-09 20:25:52 -05:00
Lance Edgar 4bb03b9cd9 Update changelog 2023-05-08 15:28:33 -05:00
Lance Edgar 24d4afa22b Move CORE DB import handler to more general location 2023-05-08 14:56:49 -05:00
Lance Edgar ef823260ab Move logic for CORE importing to "more precise" module path
should distinguish "office vs. lane"
2023-05-08 14:56:46 -05:00
Lance Edgar 519ed0a594 Avoid deprecated import for OrderedDict 2023-05-05 01:48:39 -05:00
Lance Edgar 20a587ccdd Update changelog 2023-05-01 22:19:24 -05:00
Lance Edgar e11963c4fc Show all deprecation warnings occurring within corepos pkg 2023-02-14 15:57:01 -06:00
Lance Edgar cb58a26cb1 Update changelog 2023-02-12 10:12:11 -06:00
Lance Edgar 82892be096 More refactoring, Query.get() => Session.get() 2023-02-12 09:37:31 -06:00
Lance Edgar 0b5930a511 Refactor Query.get() => Session.get() per SQLAlchemy 1.4 2023-02-11 22:06:43 -06:00
Lance Edgar 6696973868 Update changelog 2023-01-03 18:12:03 -06:00
Lance Edgar 4d49d4235b Define default handler for corepos_member batch type 2023-01-03 18:11:24 -06:00
Lance Edgar c8f55bf472 Update changelog 2023-01-02 16:58:06 -06:00
Lance Edgar 63a1172408 Update usage of short_session() per upstream changes 2022-08-21 20:00:15 -05:00
Lance Edgar 7eb7c25172 Fix datasync bug for CORE API -> Rattail 2022-08-21 11:33:51 -05:00
Lance Edgar 82ad5ad441 Configure DB connections for CORE trans archive on app startup 2022-03-26 23:04:40 -05:00
Lance Edgar 57ea39acb5 Update changelog 2022-03-15 11:36:01 -05:00
Lance Edgar 8daec28faf Add "raw" card number value to CORE Member Import batch
b/c source file may not have it, or may not be numeric
2022-03-15 11:34:37 -05:00
Lance Edgar 90cb4cf028 Update changelog 2022-03-02 21:37:33 -06:00
Lance Edgar 82f73276ba Refactor some importer method calls to avoid deprecation warnings 2022-01-08 19:51:47 -06:00
Lance Edgar 1f3ab43e91 Avoid error if CORE product data is missing some fields 2022-01-08 19:51:31 -06:00
Lance Edgar e91fef0e8d Refactor CORE API hack to use custdata instead of Customers table
the older table seems more reliable?  at least i just ran across an
example where it was, albeit a demo..
2022-01-08 19:49:51 -06:00
Lance Edgar 802ffddc6d Update import per pycorepos changes 2021-12-30 21:49:00 -06:00
Lance Edgar 74b9ec5e1e Avoid deprecated base class, per upstream changes 2021-12-30 15:53:59 -06:00
Lance Edgar 9045965035 Mark some import handlers as safe for web app 2021-12-06 21:29:56 -06:00
Lance Edgar 3140245857 OMG a ridiculous commit to overhaul import handler config etc.
- register all import/export handlers via setup.py and config
- use "handler key" lookup for all import/export commands
- fix logic bugs w/ CORE -> Trainwreck importer
2021-12-06 20:07:42 -06:00
Lance Edgar 0e28a6ee2b Some tweaks to expose CORE <-> Rattail import handlers in web app 2021-12-05 17:24:54 -06:00
Lance Edgar 4a36c417e7 Update changelog 2021-11-05 20:37:25 -05:00
Lance Edgar 1c9f1ef515 Add support for 2nd "member type" file in CORE member batch
still just feature preview mode here, this is terribly specific
2021-11-05 20:35:38 -05:00
Lance Edgar 0c817fb7d0 Update changelog 2021-11-04 21:28:25 -05:00
Lance Edgar 5f1d6d76ed Add batch to update CORE member records directly via SQL 2021-11-04 21:21:37 -05:00
Lance Edgar 7522dd14cb Add custdata importer for CORE Office -> Lane
to double-check sync issues
2021-11-04 17:42:38 -05:00
Lance Edgar affd8a6453 Update changelog 2021-08-31 22:43:08 -05:00