Commit Graph

12193 Commits

Author SHA1 Message Date
Mira Weller
8cde94fad6 add info boxes to dashboard and hubspot settings if sync problems exist 2025-07-29 17:24:24 +02:00
Mira Weller
362b3f08e7 add Data sync problems to organizer nav 2025-07-29 17:24:24 +02:00
Mira Weller
46135e72a3 add EventFailedSyncJobsView 2025-07-29 17:24:24 +02:00
Mira Weller
7aca7ee89b get_data_fields: docstring, switch order_locale to TYPE_CHOICE 2025-07-29 17:24:24 +02:00
Mira Weller
1c3bdf56f9 translate_property_mappings: docstring with example, move to utils, add reference to docs 2025-07-29 17:24:24 +02:00
Mira Weller
22b011594a translate_property_mappings: old_id not in checkin_list_map 2025-07-29 17:24:24 +02:00
Mira Weller
08a66e5e0b Docs, help texts, translations 2025-07-29 17:24:24 +02:00
Mira Weller
145babccee property_mappings_formset: add reordering buttons for new forms 2025-07-29 17:24:24 +02:00
Mira Weller
3cd596df61 add help text 2025-07-29 17:24:24 +02:00
Mira Weller
a56c83d78a move datasync tasks into services/datasync.py 2025-07-29 17:24:24 +02:00
Mira Weller
2cfe2a753d rebase migration 2025-07-29 17:24:24 +02:00
Mira Weller
78f5ee1935 formatting 2025-07-29 17:24:24 +02:00
Mira Weller
b2cc8294e4 switch to core question type labels instead of defining our own strings 2025-07-29 17:24:24 +02:00
Mira Weller
7591b57524 improve docs a bit 2025-07-29 17:24:24 +02:00
luelista
23565f20b6 Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io>
2025-07-29 17:24:24 +02:00
Mira Weller
41fcc2a606 add protocol for object mapping type, declare types of sync_object_with_properties parameters 2025-07-29 17:24:24 +02:00
Mira Weller
9a2464db17 Keep namedtuples for data_fields dict values 2025-07-29 17:24:24 +02:00
Mira Weller
17c1d75780 Rename property_mapping -> property_mappings, association_mapping -> association_mappings 2025-07-29 17:24:24 +02:00
Mira Weller
c3833f8883 Make sure datasync tasks are always loaded 2025-07-29 17:24:24 +02:00
Mira Weller
a5d2d4d03b Use display_name for sync providers 2025-07-29 17:24:24 +02:00
Mira Weller
9e3a07d3c8 Add max_length 2025-07-29 17:24:23 +02:00
Mira Weller
5d7cb6372b Add in-flight state handling 2025-07-29 17:24:23 +02:00
Mira Weller
b57e1e5ffc Inline sync_event_to_target function 2025-07-29 17:24:23 +02:00
Mira Weller
4a39b7ab01 Do not fail when enqueueing an order that's already in queue 2025-07-29 17:24:23 +02:00
Mira Weller
c69c9d0119 Add user interface for manual retry 2025-07-29 17:24:23 +02:00
Mira Weller
ec64c0fc1b Store need_manual_retry flag for failed sync attempts 2025-07-29 17:24:23 +02:00
Mira Weller
87ee6fbce4 Suppress log message if order sync didn't perform any changes 2025-07-29 17:24:23 +02:00
Mira Weller
0f7ee1dc3b Add explanation for mapping.id 2025-07-29 17:24:23 +02:00
Mira Weller
63a273374c Rename mapping.pk -> mapping.id 2025-07-29 17:24:23 +02:00
Mira Weller
83f9e17251 Rename order_valid_for_sync -> should_sync_order 2025-07-29 17:24:23 +02:00
Mira Weller
1aa3c4e793 rebase datasync migration 2025-07-29 17:24:23 +02:00
Mira Weller
7f4908a5fd isort 2025-07-29 17:24:23 +02:00
Mira Weller
0da329be39 Update renamed fields in template 2025-07-29 17:24:23 +02:00
Mira Weller
8028879159 Add simple locking mechanism 2025-07-29 17:24:23 +02:00
Mira Weller
244cdb22b0 Distribute queue over events 2025-07-29 17:24:23 +02:00
Mira Weller
922d3cd629 Store event_id in OrderSyncQueue, always fill not_before, log unhandled exceptions 2025-07-29 17:24:23 +02:00
Mira Weller
114304855f Fix tests 2025-07-29 17:24:23 +02:00
Mira Weller
36981ab5c4 Unused import 2025-07-29 17:24:23 +02:00
Mira Weller
21250cda4f Move datasync view to views/datasync.py 2025-07-29 17:24:23 +02:00
Mira Weller
65d428edc9 Do not filter for admission products 2025-07-29 17:24:23 +02:00
Mira Weller
c0c9795407 Separate exception types 2025-07-29 17:24:23 +02:00
Mira Weller
03de7c1603 Docstring formatting 2025-07-29 17:24:23 +02:00
Mira Weller
20f6590b4d Describe triggered_by parameter ot enqueue_order 2025-07-29 17:24:23 +02:00
Mira Weller
01861f65ea Drop outstanding jobs for deactivated plugins 2025-07-29 17:24:23 +02:00
Mira Weller
cb98126223 Format transmitted timestamp 2025-07-29 17:24:23 +02:00
Mira Weller
2e515538d5 Revert to event_or_subevent 2025-07-29 17:24:23 +02:00
luelista
8283c0f300 Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io>
2025-07-29 17:24:23 +02:00
Mira Weller
7ee0f24af5 Rename OrderSyncLink to OrderSyncResult 2025-07-29 17:24:23 +02:00
Mira Weller
b88d2c7783 Move datasync models into models package 2025-07-29 17:24:23 +02:00
Mira Weller
d84bbf636f Rename {pretix,external}_pk to {pretix,external}_id_field 2025-07-29 17:24:23 +02:00