Commit Graph

144 Commits

Author SHA1 Message Date
Adam Goldsmith e3176cd155 sqlExport: Use `insert_many()` to bulk insert transactions 2023-09-22 22:26:56 -04:00
Adam Goldsmith d3266a7d7f Migrate from poetry to pdm, bumping dependency/Python versions 2023-09-22 22:14:39 -04:00
Adam Goldsmith 79678a8920 upcomingEvents: Use cleaner datetime format 2023-09-22 22:13:03 -04:00
Adam Goldsmith 8b845bab05 Apply black formatting 2023-09-22 22:13:03 -04:00
Adam Goldsmith ef23433c8f sqlExport: Remove debug print 2023-09-22 22:13:03 -04:00
Adam Goldsmith 936effe5c7 sqlExport: Just insert transactions, instead of trying to upsert
This fixes an issue that seems to have only manifested on newer Python
versions (maybe >3.9, after update to Debian 12)
2023-09-22 22:12:08 -04:00
Adam Goldsmith e71fd48975 upcomingEvents: Yield header/footer directly for better code readability 2023-05-25 23:08:18 -04:00
Adam Goldsmith c0e43dd48e upcomingEvents: Improve error messages for events missing attributes 2023-05-25 23:05:06 -04:00
Steve Goldsmith 5478518d51 Corrected outdated class propsal form link (self hosted form - not using google docs anymore)
Updated language for tours to remove covid-19 language
Updated formatting for ongoing and full classes to add <hr> for consistency with other sections.
Updated Ongoing event header to make consistent (change classes to events)
2023-05-11 09:09:25 -04:00
Adam Goldsmith 9cf12b1bdd upcomingEvents: Use pyclip to copy the result to clipboard 2023-05-09 21:24:04 -04:00
Adam Goldsmith 981cb12aa6 Update dependencies 2023-05-09 21:24:04 -04:00
Adam Goldsmith 0a5c80e87c upcomingEvents: Split events into upcoming/full/ongoing sections 2023-05-09 21:24:04 -04:00
Steve Goldsmith aa92b77150 Merge branch 'master' of https://git.claremontmakerspace.org/adam.goldsmith/memberPlumbing 2023-05-03 11:04:22 -04:00
Adam Goldsmith 5e2fd5d427 upcomingEvents: Ignore all hidden events, not just "[TEMPLATE FOR COPYING]" 2023-05-03 11:03:34 -04:00
Renovate Bot f4f813c98f Add renovate.json 2023-03-02 05:18:20 +00:00
Adam Goldsmith 001a190947 sqlExport: Add Volunteer Email field 2023-02-02 21:33:24 -05:00
Steve Goldsmith 2732c788c4 Merge branch 'master' of https://git.claremontmakerspace.org/adam.goldsmith/memberPlumbing 2023-01-16 10:53:56 -05:00
Steve Goldsmith a1330ae637 removed mask requirement language 2023-01-16 10:50:13 -05:00
Adam Goldsmith 66853e1156 ucsAccounts: Strip leading/trailing periods
This fixes a member whose name ended with "Jr."
2023-01-07 14:17:18 -05:00
Adam Goldsmith 363be0ba8c sqlExport: Get folder membership and apply into memberflags 2023-01-06 15:37:56 -05:00
Adam Goldsmith d8b3958c87 upcomingEvents: Check for error on retrieving event list 2023-01-06 15:37:56 -05:00
Adam Goldsmith 68b4b10c51 Slightly simplify non-poetry invocation in README 2023-01-06 15:37:56 -05:00
Adam Goldsmith f85c26a844 upcomingEvents: Check for error on retrieving event list 2022-10-28 17:36:17 -04:00
Adam Goldsmith 2570aa3620 Slightly simplify non-poetry invocation in README 2022-10-28 15:54:58 -04:00
Adam Goldsmith 88b2610513 Fix some typos in upcomingEvents templates 2022-10-28 15:45:46 -04:00
Adam Goldsmith 3f17cd9ec2 Add `upcomingEvents` script to README 2022-10-28 15:37:27 -04:00
Adam Goldsmith 5c53f7f88c Update README to reflect removal of bin/ directory 2022-10-28 15:35:50 -04:00
Adam Goldsmith 97c4dbc1ee Add upcomingEvents script to format MembershipWorks events to WordPress post 2022-10-28 15:27:26 -04:00
Adam Goldsmith 3595a24d85 MembershipWorks: Add methods to get event listing and events by eid/url 2022-10-28 15:27:03 -04:00
Adam Goldsmith c1430e2f9a Sync all "Database .*" groups 2022-07-28 20:49:36 -04:00
Adam Goldsmith a5a787e0f7 ucsAccounts: Change "Admin" group to "Database Admin" 2022-07-21 19:29:41 -04:00
Adam Goldsmith 6b7194c15a ucsAccounts: Correctly negate `MW_` groups prefix check 2022-06-09 14:57:31 -04:00
Adam Goldsmith 855f9b652d Handle Byte Order Mark (BOM) in CSVs 2022-05-31 12:37:11 -04:00
Adam Goldsmith 69bcb71091 Get all types of transaction 2022-05-31 12:37:11 -04:00
Adam Goldsmith 63bd8efaf2 Bump dependencies 2022-05-31 12:37:05 -04:00
Adam Goldsmith af6ecb2864 Add "Admin" to UCS group regex 2022-01-21 14:17:37 -05:00
Adam Goldsmith ce2a0f4c1d doorUpdater: Remove "Staffed Hours" schedule for all members 2021-08-12 15:15:23 -04:00
Adam Goldsmith 995b6f9763 Also check for "Membership on hold" membership level, not just label 2021-07-01 12:43:01 -04:00
Adam Goldsmith f94a27699c Remove limited operations check, but keep staffed hours temporarily
We are returning to normal operating hours, but have a grace period
during which we will keep the staffed hours as well
2021-07-01 12:43:01 -04:00
Adam Goldsmith 34539eb630 ucsAccounts: Print user info on error for debugging purposes 2020-11-11 13:21:08 -05:00
Adam Goldsmith 3849aca918 Update MembershipWorks module to v2 of the API, where available
still stuck using the v1 csv endpoint, haven't found an easy
alternative and it hasn't been changed yet for their v2
2020-10-27 21:05:21 -04:00
Adam Goldsmith cfccc433dd Apply minor formatting changes from black 2020-10-27 21:04:44 -04:00
Adam Goldsmith a2dd00f414 Add systemd units for ucsAccounts 2020-07-18 23:52:49 -04:00
Adam Goldsmith 5a39c5cae9 Remove `bin/` scripts, replace with poetry scripts section 2020-07-18 23:52:49 -04:00
Adam Goldsmith 7a22f43ccf ucsAccounts: Rewrite using udm_rest_client, allowing remote operation
This allows running all of the updater scripts on net-svcs, instead of
running this one on UCS itself
2020-07-18 23:52:49 -04:00
Adam Goldsmith 2549bff31f mw_models: Add 'Accepted COVID-19 Policy' field 2020-07-01 12:54:32 -04:00
Adam Goldsmith 51dd059892 mw_models: Make boolean fields not nullable 2020-07-01 12:54:32 -04:00
Adam Goldsmith ed1cbdcd2d doorUpdater: Allow staff access to override lack of limited ops access 2020-06-06 16:53:22 -04:00
Adam Goldsmith 9970838b5c sqlExport: Fix name of property on member, add essential business self-cert
I used the old name, instead of the new name...
2020-05-19 12:39:01 -04:00
Adam Goldsmith 85a2ab977a sqlExport: export all non-folder flags, instead of just labels 2020-05-18 20:25:35 -04:00