Commit Graph

527 Commits

Author SHA1 Message Date
ee399e6b64 membershipworks: Use bulk_create for Event
All checks were successful
Ruff / ruff (push) Successful in 21s
Work around for issues with GeneratedField. Also faster anyway.
2024-01-24 18:35:25 -05:00
e0b5820bc2 membershipworks: Don't try to set generated fields in from_api_dict
All checks were successful
Ruff / ruff (push) Successful in 22s
2024-01-24 16:32:42 -05:00
5f59aac67e Use more generic location for table download component
All checks were successful
Ruff / ruff (push) Successful in 23s
2024-01-24 00:20:12 -05:00
8317ae83c2 doorcontrol: Use django-tables2 for access reports
All checks were successful
Ruff / ruff (push) Successful in 23s
2024-01-24 00:03:57 -05:00
bfe9fc7c2c membershipworks: Add download buttons for event reports 2024-01-24 00:03:57 -05:00
97e9a3c9d5 membershipworks: Use django-tables2 for event reports 2024-01-22 14:41:11 -05:00
1f3cd94601 Add django-tables2 2024-01-22 12:33:55 -05:00
1dd2fa521a membershipworks: Set more useful titles in event report templates 2024-01-22 12:28:56 -05:00
0a3a709ab5 membershipworks: Fix djlint formatting in event report templates 2024-01-22 00:57:19 -05:00
8155402dbb membershipworks: Round durations in event reports to two digits 2024-01-22 00:56:28 -05:00
c489c492b2 membershipworks: Fix scope attribute in event report templates 2024-01-22 00:56:19 -05:00
599b7f7785 membershipworks: Use unique name for sum of count of EventExt.meeting_times 2024-01-22 00:56:02 -05:00
df621988f6 membershipworks: Fix bad grouping in EventExt.summarize using subquery 2024-01-19 16:25:20 -05:00
bfa04be2d9 membershipworks: Add event index and year reports 2024-01-19 15:41:27 -05:00
cbe8d24fe4 membershipworks: Add generated field to check if an event occured 2024-01-19 15:22:05 -05:00
4561e317b8 Enable/apply ruff's "flake6-simplify" rules 2024-01-19 15:16:47 -05:00
be68946dcb Add Gitea action to check ruff linting/formatting 2024-01-19 15:04:08 -05:00
37cb41af1b Enable ruff's "pylint" rules 2024-01-18 14:21:36 -05:00
3728442680 Enable/apply ruff's "perflint" rules 2024-01-18 14:21:36 -05:00
27974e7de6 Enable/apply ruff's "pyupgrade" rules 2024-01-18 14:21:36 -05:00
de0db9ac5a Enable ruff's "comprehensions" rules 2024-01-18 14:21:36 -05:00
02777265b0 Switch from Black to Ruff for formatting, add linting/import sorting 2024-01-18 14:21:36 -05:00
978024c538 membershipworks: Annotate EventExt.meeting_times__count 2024-01-18 13:58:28 -05:00
8498d311d5 membershipworks: Convert EventExt.person_hours to annotation 2024-01-18 13:58:28 -05:00
b8c2792f0a membershipworks: Convert EventExt.duration annotation to a Subquery
should be somewhat less performant, but allows for easier aggregation
2024-01-18 13:58:28 -05:00
0633e4ecef membershipworks: Add breadcrumbs for EventMonthReport 2024-01-18 13:58:28 -05:00
aa143febeb Add breadcrumbs to base template header 2024-01-18 13:58:28 -05:00
27c705668c membershipworks: Slightly simplify admin task "last run time" logic 2024-01-18 13:58:28 -05:00
1fe097ca86 membershipworks: Require "view EventExt" permission for upcoming events 2024-01-18 13:58:28 -05:00
44692d8d9b membershipworks: Use more specific name for EventMonthReport 2024-01-18 13:58:28 -05:00
270e6c7837 membershipworks: Add basic per-month event report 2024-01-15 21:31:06 -05:00
34821e1c58 membershipworks: Update Transaction.for_what csv field name 2024-01-05 14:58:37 -05:00
8e4353c925 membershipworks/ucsAccounts: Don't set email if empty in MembershipWorks 2024-01-05 14:55:42 -05:00
da0767a0e9 Catch errors in Django-Q2 email reporter 2024-01-05 14:39:33 -05:00
188824d53b membershipworks: Collapse sequential periods in ucsAccounts usernames 2024-01-05 14:39:33 -05:00
35d8fec2a3 membershipworks: Use GeneratedField for EventMeetingTime.duration
Relevant Django bug was fixed in 5.0.1
https://code.djangoproject.com/ticket/35019
2024-01-05 14:39:33 -05:00
40ac6ef97f Bump dependencies 2024-01-03 14:23:51 -05:00
34f520aa81 membershipworks: Autocomplete instructor field in EventExt admin 2024-01-02 19:26:06 -05:00
8827a77c0c membershipworks: Hide actual URL field in EventExt admin 2024-01-02 19:21:48 -05:00
fbdfb47e60 membershipworks: Improve EventExt admin 2024-01-02 10:54:29 -05:00
f2332dbe37 membershipworks: Add EventExt instructor invoice fields 2024-01-01 21:15:03 -05:00
f5688e39c3 membershipworks: Scrape event data, with extension model for extra data 2023-12-30 14:36:21 -05:00
546b13428e membershipworks: Allow get_events_list to use end date, retrieve categories 2023-12-30 13:27:19 -05:00
08dde9a4f4 membershipworks: Make MW api->model BaseModel more generic 2023-12-30 13:26:44 -05:00
02986bdabc Replace {django-,}bleach with {django-,}nh3, as bleach is now deprecated
https://bluesock.org/~willkg/blog/dev/bleach_6_0_0_deprecation.html
nh3/ammonia is faster anyway. django-nh3 is not yet feature complete,
but cmsmanage was only using the template tag anyway
2023-12-30 12:54:08 -05:00
d7e919f6f0 Bump dependencies 2023-12-30 12:18:37 -05:00
ee7c18f575 Add search fields and date drilldowns to various admin pages 2023-12-29 18:23:10 -05:00
0ab7da0463 membershipworks: Change line spacing in the header of upcoming-events 2023-12-28 10:43:28 -05:00
ba913154d6 membershipworks: Use ClipboardItem API when available in upcoming-events 2023-12-28 10:41:56 -05:00
275de1e7e7 Use full Cython based uvicorn for server performance 2023-12-26 14:16:26 -05:00