simple-module-events 0.0.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (998) hide show
  1. simple_module_events-0.0.16/.gitignore +58 -0
  2. simple_module_events-0.0.16/NOTICE +92 -0
  3. simple_module_events-0.0.16/PKG-INFO +266 -0
  4. simple_module_events-0.0.16/README.md +231 -0
  5. simple_module_events-0.0.16/docs/blocks.md +108 -0
  6. simple_module_events-0.0.16/docs/extensions.md +268 -0
  7. simple_module_events-0.0.16/docs/feeds.md +44 -0
  8. simple_module_events-0.0.16/docs/import.md +103 -0
  9. simple_module_events-0.0.16/docs/index.md +450 -0
  10. simple_module_events-0.0.16/docs/operations.md +107 -0
  11. simple_module_events-0.0.16/docs/public.md +106 -0
  12. simple_module_events-0.0.16/docs/reminders.md +170 -0
  13. simple_module_events-0.0.16/docs/rules.md +130 -0
  14. simple_module_events-0.0.16/docs/subscriptions.md +215 -0
  15. simple_module_events-0.0.16/hatch_build.py +60 -0
  16. simple_module_events-0.0.16/package.json +31 -0
  17. simple_module_events-0.0.16/pyproject.toml +89 -0
  18. simple_module_events-0.0.16/sm_events/__init__.py +1 -0
  19. simple_module_events-0.0.16/sm_events/calendar/__init__.py +1 -0
  20. simple_module_events-0.0.16/sm_events/calendar/calendars.py +144 -0
  21. simple_module_events-0.0.16/sm_events/calendar/categories.py +85 -0
  22. simple_module_events-0.0.16/sm_events/calendar/expand.py +128 -0
  23. simple_module_events-0.0.16/sm_events/calendar/occurrence.py +86 -0
  24. simple_module_events-0.0.16/sm_events/calendar/occurrences.py +131 -0
  25. simple_module_events-0.0.16/sm_events/calendar/plugins/__init__.py +1 -0
  26. simple_module_events-0.0.16/sm_events/calendar/plugins/extension_types.py +216 -0
  27. simple_module_events-0.0.16/sm_events/calendar/plugins/extensions.py +116 -0
  28. simple_module_events-0.0.16/sm_events/calendar/plugins/plugin_isolation.py +196 -0
  29. simple_module_events-0.0.16/sm_events/calendar/plugins/plugin_runner.py +198 -0
  30. simple_module_events-0.0.16/sm_events/calendar/plugins/plugin_scope.py +86 -0
  31. simple_module_events-0.0.16/sm_events/calendar/plugins/plugin_validate.py +158 -0
  32. simple_module_events-0.0.16/sm_events/calendar/plugins/registration_types.py +83 -0
  33. simple_module_events-0.0.16/sm_events/calendar/plugins/registry.py +209 -0
  34. simple_module_events-0.0.16/sm_events/calendar/plugins/registry_checks.py +157 -0
  35. simple_module_events-0.0.16/sm_events/calendar/plugins/source_entries.py +272 -0
  36. simple_module_events-0.0.16/sm_events/calendar/plugins/source_view.py +78 -0
  37. simple_module_events-0.0.16/sm_events/calendar/rrule.py +216 -0
  38. simple_module_events-0.0.16/sm_events/calendar/rrule_parts.py +157 -0
  39. simple_module_events-0.0.16/sm_events/calendar/rrule_walk.py +207 -0
  40. simple_module_events-0.0.16/sm_events/calendar/slugs.py +145 -0
  41. simple_module_events-0.0.16/sm_events/calendar/sources.py +267 -0
  42. simple_module_events-0.0.16/sm_events/calendar/times.py +162 -0
  43. simple_module_events-0.0.16/sm_events/calendar/window.py +152 -0
  44. simple_module_events-0.0.16/sm_events/content/__init__.py +1 -0
  45. simple_module_events-0.0.16/sm_events/content/_core.py +231 -0
  46. simple_module_events-0.0.16/sm_events/content/bus.py +97 -0
  47. simple_module_events-0.0.16/sm_events/content/calendar_redirects.py +95 -0
  48. simple_module_events-0.0.16/sm_events/content/cards.py +177 -0
  49. simple_module_events-0.0.16/sm_events/content/events_trash.py +60 -0
  50. simple_module_events-0.0.16/sm_events/content/events_write.py +82 -0
  51. simple_module_events-0.0.16/sm_events/content/fields.py +46 -0
  52. simple_module_events-0.0.16/sm_events/content/guard.py +81 -0
  53. simple_module_events-0.0.16/sm_events/content/listing.py +108 -0
  54. simple_module_events-0.0.16/sm_events/content/notices.py +144 -0
  55. simple_module_events-0.0.16/sm_events/content/overrides.py +166 -0
  56. simple_module_events-0.0.16/sm_events/content/public_read.py +157 -0
  57. simple_module_events-0.0.16/sm_events/content/publish_due.py +139 -0
  58. simple_module_events-0.0.16/sm_events/content/redirects.py +64 -0
  59. simple_module_events-0.0.16/sm_events/content/revisions.py +136 -0
  60. simple_module_events-0.0.16/sm_events/content/richtext.py +231 -0
  61. simple_module_events-0.0.16/sm_events/content/richtext_tree.py +87 -0
  62. simple_module_events-0.0.16/sm_events/content/schedule.py +79 -0
  63. simple_module_events-0.0.16/sm_events/content/series_change.py +142 -0
  64. simple_module_events-0.0.16/sm_events/content/texts.py +153 -0
  65. simple_module_events-0.0.16/sm_events/content/types.py +83 -0
  66. simple_module_events-0.0.16/sm_events/content/workflow.py +146 -0
  67. simple_module_events-0.0.16/sm_events/contracts/__init__.py +17 -0
  68. simple_module_events-0.0.16/sm_events/contracts/cards.py +144 -0
  69. simple_module_events-0.0.16/sm_events/contracts/events.py +168 -0
  70. simple_module_events-0.0.16/sm_events/contracts/extensions.py +75 -0
  71. simple_module_events-0.0.16/sm_events/contracts/occurrences.py +86 -0
  72. simple_module_events-0.0.16/sm_events/contracts/registration.py +196 -0
  73. simple_module_events-0.0.16/sm_events/core/__init__.py +1 -0
  74. simple_module_events-0.0.16/sm_events/core/access/__init__.py +174 -0
  75. simple_module_events-0.0.16/sm_events/core/access/events.py +117 -0
  76. simple_module_events-0.0.16/sm_events/core/access/offline.py +159 -0
  77. simple_module_events-0.0.16/sm_events/core/access/public.py +43 -0
  78. simple_module_events-0.0.16/sm_events/core/access/resource_types.py +64 -0
  79. simple_module_events-0.0.16/sm_events/core/access/rights.py +92 -0
  80. simple_module_events-0.0.16/sm_events/core/boot.py +184 -0
  81. simple_module_events-0.0.16/sm_events/core/clock.py +18 -0
  82. simple_module_events-0.0.16/sm_events/core/constants/__init__.py +279 -0
  83. simple_module_events-0.0.16/sm_events/core/constants/extensions.py +105 -0
  84. simple_module_events-0.0.16/sm_events/core/constants/feed_tokens.py +78 -0
  85. simple_module_events-0.0.16/sm_events/core/constants/imports.py +158 -0
  86. simple_module_events-0.0.16/sm_events/core/constants/names.py +5 -0
  87. simple_module_events-0.0.16/sm_events/core/constants/public.py +81 -0
  88. simple_module_events-0.0.16/sm_events/core/constants/registration.py +118 -0
  89. simple_module_events-0.0.16/sm_events/core/constants/reminders.py +84 -0
  90. simple_module_events-0.0.16/sm_events/core/constants/reminders_limits.py +83 -0
  91. simple_module_events-0.0.16/sm_events/core/constants/subscriptions.py +255 -0
  92. simple_module_events-0.0.16/sm_events/core/constants/subscriptions_beat.py +57 -0
  93. simple_module_events-0.0.16/sm_events/core/crypto.py +235 -0
  94. simple_module_events-0.0.16/sm_events/core/errors.py +274 -0
  95. simple_module_events-0.0.16/sm_events/core/errors_extensions.py +57 -0
  96. simple_module_events-0.0.16/sm_events/core/errors_registration.py +75 -0
  97. simple_module_events-0.0.16/sm_events/core/errors_reminders.py +38 -0
  98. simple_module_events-0.0.16/sm_events/core/errors_subscriptions.py +69 -0
  99. simple_module_events-0.0.16/sm_events/core/host_settings.py +28 -0
  100. simple_module_events-0.0.16/sm_events/core/locales.py +48 -0
  101. simple_module_events-0.0.16/sm_events/core/public_prefix.py +42 -0
  102. simple_module_events-0.0.16/sm_events/core/secret.py +47 -0
  103. simple_module_events-0.0.16/sm_events/core/services.py +15 -0
  104. simple_module_events-0.0.16/sm_events/core/settings/__init__.py +93 -0
  105. simple_module_events-0.0.16/sm_events/core/tenancy/__init__.py +268 -0
  106. simple_module_events-0.0.16/sm_events/core/tenancy/_guard.py +100 -0
  107. simple_module_events-0.0.16/sm_events/core/tenancy/_mode.py +273 -0
  108. simple_module_events-0.0.16/sm_events/core/tenancy/request_context.py +50 -0
  109. simple_module_events-0.0.16/sm_events/core/text_safety.py +44 -0
  110. simple_module_events-0.0.16/sm_events/core/timezones.py +36 -0
  111. simple_module_events-0.0.16/sm_events/core/user_ids.py +54 -0
  112. simple_module_events-0.0.16/sm_events/core/web_urls.py +60 -0
  113. simple_module_events-0.0.16/sm_events/core/worker.py +108 -0
  114. simple_module_events-0.0.16/sm_events/feeds/__init__.py +8 -0
  115. simple_module_events-0.0.16/sm_events/feeds/ics_calendar.py +64 -0
  116. simple_module_events-0.0.16/sm_events/feeds/ics_event.py +196 -0
  117. simple_module_events-0.0.16/sm_events/feeds/ics_tz.py +26 -0
  118. simple_module_events-0.0.16/sm_events/feeds/importing/__init__.py +18 -0
  119. simple_module_events-0.0.16/sm_events/feeds/importing/apply.py +89 -0
  120. simple_module_events-0.0.16/sm_events/feeds/importing/fence.py +107 -0
  121. simple_module_events-0.0.16/sm_events/feeds/importing/janitor.py +195 -0
  122. simple_module_events-0.0.16/sm_events/feeds/importing/launch.py +70 -0
  123. simple_module_events-0.0.16/sm_events/feeds/importing/mapper.py +202 -0
  124. simple_module_events-0.0.16/sm_events/feeds/importing/mapper_props.py +128 -0
  125. simple_module_events-0.0.16/sm_events/feeds/importing/mapper_series.py +264 -0
  126. simple_module_events-0.0.16/sm_events/feeds/importing/model.py +44 -0
  127. simple_module_events-0.0.16/sm_events/feeds/importing/policy.py +34 -0
  128. simple_module_events-0.0.16/sm_events/feeds/importing/preview_diff.py +57 -0
  129. simple_module_events-0.0.16/sm_events/feeds/importing/runner.py +284 -0
  130. simple_module_events-0.0.16/sm_events/feeds/importing/scan.py +280 -0
  131. simple_module_events-0.0.16/sm_events/feeds/importing/staging.py +254 -0
  132. simple_module_events-0.0.16/sm_events/feeds/importing/text.py +101 -0
  133. simple_module_events-0.0.16/sm_events/feeds/importing/values.py +262 -0
  134. simple_module_events-0.0.16/sm_events/feeds/importing/verdicts.py +91 -0
  135. simple_module_events-0.0.16/sm_events/feeds/importing/write.py +278 -0
  136. simple_module_events-0.0.16/sm_events/feeds/importing/zones.py +47 -0
  137. simple_module_events-0.0.16/sm_events/feeds/plaintext.py +117 -0
  138. simple_module_events-0.0.16/sm_events/feeds/plugin_items.py +129 -0
  139. simple_module_events-0.0.16/sm_events/feeds/sanitize.py +30 -0
  140. simple_module_events-0.0.16/sm_events/feeds/select.py +226 -0
  141. simple_module_events-0.0.16/sm_events/feeds/subscriptions/__init__.py +14 -0
  142. simple_module_events-0.0.16/sm_events/feeds/subscriptions/attempt.py +299 -0
  143. simple_module_events-0.0.16/sm_events/feeds/subscriptions/client.py +110 -0
  144. simple_module_events-0.0.16/sm_events/feeds/subscriptions/dns.py +114 -0
  145. simple_module_events-0.0.16/sm_events/feeds/subscriptions/errors.py +28 -0
  146. simple_module_events-0.0.16/sm_events/feeds/subscriptions/fetch.py +279 -0
  147. simple_module_events-0.0.16/sm_events/feeds/subscriptions/fetch_signals.py +59 -0
  148. simple_module_events-0.0.16/sm_events/feeds/subscriptions/generation.py +41 -0
  149. simple_module_events-0.0.16/sm_events/feeds/subscriptions/items.py +154 -0
  150. simple_module_events-0.0.16/sm_events/feeds/subscriptions/launch.py +54 -0
  151. simple_module_events-0.0.16/sm_events/feeds/subscriptions/lease.py +105 -0
  152. simple_module_events-0.0.16/sm_events/feeds/subscriptions/netsafe.py +100 -0
  153. simple_module_events-0.0.16/sm_events/feeds/subscriptions/policy.py +274 -0
  154. simple_module_events-0.0.16/sm_events/feeds/subscriptions/refresh.py +279 -0
  155. simple_module_events-0.0.16/sm_events/feeds/subscriptions/rules.py +111 -0
  156. simple_module_events-0.0.16/sm_events/feeds/subscriptions/schedule.py +66 -0
  157. simple_module_events-0.0.16/sm_events/feeds/subscriptions/service.py +252 -0
  158. simple_module_events-0.0.16/sm_events/feeds/subscriptions/shapes.py +81 -0
  159. simple_module_events-0.0.16/sm_events/feeds/subscriptions/source.py +198 -0
  160. simple_module_events-0.0.16/sm_events/feeds/subscriptions/store.py +170 -0
  161. simple_module_events-0.0.16/sm_events/feeds/subscriptions/target_gate.py +109 -0
  162. simple_module_events-0.0.16/sm_events/feeds/subscriptions/url_safety.py +184 -0
  163. simple_module_events-0.0.16/sm_events/feeds/subscriptions/urls.py +67 -0
  164. simple_module_events-0.0.16/sm_events/feeds/subscriptions/validate.py +109 -0
  165. simple_module_events-0.0.16/sm_events/feeds/subscriptions/window.py +94 -0
  166. simple_module_events-0.0.16/sm_events/feeds/tokens/__init__.py +15 -0
  167. simple_module_events-0.0.16/sm_events/feeds/tokens/cleanup.py +150 -0
  168. simple_module_events-0.0.16/sm_events/feeds/tokens/codec.py +33 -0
  169. simple_module_events-0.0.16/sm_events/feeds/tokens/log_redact.py +144 -0
  170. simple_module_events-0.0.16/sm_events/feeds/tokens/resolve.py +153 -0
  171. simple_module_events-0.0.16/sm_events/feeds/tokens/service.py +181 -0
  172. simple_module_events-0.0.16/sm_events/feeds/tokens/throttle.py +89 -0
  173. simple_module_events-0.0.16/sm_events/index.ts +51 -0
  174. simple_module_events-0.0.16/sm_events/integrations/__init__.py +1 -0
  175. simple_module_events-0.0.16/sm_events/integrations/pagebuilder.py +60 -0
  176. simple_module_events-0.0.16/sm_events/locales/de.json +1165 -0
  177. simple_module_events-0.0.16/sm_events/locales/en.json +1165 -0
  178. simple_module_events-0.0.16/sm_events/models/__init__.py +67 -0
  179. simple_module_events-0.0.16/sm_events/models/_base.py +13 -0
  180. simple_module_events-0.0.16/sm_events/models/_cols.py +72 -0
  181. simple_module_events-0.0.16/sm_events/models/calendar.py +43 -0
  182. simple_module_events-0.0.16/sm_events/models/calendar_redirect.py +26 -0
  183. simple_module_events-0.0.16/sm_events/models/category.py +26 -0
  184. simple_module_events-0.0.16/sm_events/models/enums.py +33 -0
  185. simple_module_events-0.0.16/sm_events/models/event.py +83 -0
  186. simple_module_events-0.0.16/sm_events/models/event_text.py +35 -0
  187. simple_module_events-0.0.16/sm_events/models/external_item.py +67 -0
  188. simple_module_events-0.0.16/sm_events/models/feed_token.py +46 -0
  189. simple_module_events-0.0.16/sm_events/models/fetch_target.py +32 -0
  190. simple_module_events-0.0.16/sm_events/models/imports.py +99 -0
  191. simple_module_events-0.0.16/sm_events/models/occurrence_override.py +31 -0
  192. simple_module_events-0.0.16/sm_events/models/redirect.py +27 -0
  193. simple_module_events-0.0.16/sm_events/models/registration.py +60 -0
  194. simple_module_events-0.0.16/sm_events/models/reminders.py +87 -0
  195. simple_module_events-0.0.16/sm_events/models/revision.py +32 -0
  196. simple_module_events-0.0.16/sm_events/models/subscription.py +114 -0
  197. simple_module_events-0.0.16/sm_events/module.py +183 -0
  198. simple_module_events-0.0.16/sm_events/pagebuilder-blocks.ts +49 -0
  199. simple_module_events-0.0.16/sm_events/pages/Calendar.tsx +82 -0
  200. simple_module_events-0.0.16/sm_events/pages/Calendars.tsx +114 -0
  201. simple_module_events-0.0.16/sm_events/pages/Categories.tsx +119 -0
  202. simple_module_events-0.0.16/sm_events/pages/EventEditor.tsx +280 -0
  203. simple_module_events-0.0.16/sm_events/pages/Events.tsx +157 -0
  204. simple_module_events-0.0.16/sm_events/pages/Import.tsx +110 -0
  205. simple_module_events-0.0.16/sm_events/pages/PublicEvent.tsx +125 -0
  206. simple_module_events-0.0.16/sm_events/pages/PublicIndex.tsx +121 -0
  207. simple_module_events-0.0.16/sm_events/pages/PublicNotFound.tsx +58 -0
  208. simple_module_events-0.0.16/sm_events/pages/Reminders.tsx +31 -0
  209. simple_module_events-0.0.16/sm_events/registration/__init__.py +2 -0
  210. simple_module_events-0.0.16/sm_events/registration/access.py +38 -0
  211. simple_module_events-0.0.16/sm_events/registration/args.py +92 -0
  212. simple_module_events-0.0.16/sm_events/registration/availability.py +253 -0
  213. simple_module_events-0.0.16/sm_events/registration/counters.py +101 -0
  214. simple_module_events-0.0.16/sm_events/registration/guards.py +97 -0
  215. simple_module_events-0.0.16/sm_events/registration/occurrence.py +123 -0
  216. simple_module_events-0.0.16/sm_events/registration/provider_call.py +150 -0
  217. simple_module_events-0.0.16/sm_events/registration/release.py +155 -0
  218. simple_module_events-0.0.16/sm_events/registration/seat_reads.py +57 -0
  219. simple_module_events-0.0.16/sm_events/registration/seats.py +164 -0
  220. simple_module_events-0.0.16/sm_events/registration/settings.py +214 -0
  221. simple_module_events-0.0.16/sm_events/registration/summaries.py +87 -0
  222. simple_module_events-0.0.16/sm_events/reminders/__init__.py +11 -0
  223. simple_module_events-0.0.16/sm_events/reminders/access.py +37 -0
  224. simple_module_events-0.0.16/sm_events/reminders/availability.py +51 -0
  225. simple_module_events-0.0.16/sm_events/reminders/candidates.py +284 -0
  226. simple_module_events-0.0.16/sm_events/reminders/claim.py +197 -0
  227. simple_module_events-0.0.16/sm_events/reminders/cleanup.py +172 -0
  228. simple_module_events-0.0.16/sm_events/reminders/due.py +59 -0
  229. simple_module_events-0.0.16/sm_events/reminders/follows.py +275 -0
  230. simple_module_events-0.0.16/sm_events/reminders/formatting.py +77 -0
  231. simple_module_events-0.0.16/sm_events/reminders/leads.py +65 -0
  232. simple_module_events-0.0.16/sm_events/reminders/ledger_keys.py +42 -0
  233. simple_module_events-0.0.16/sm_events/reminders/links.py +100 -0
  234. simple_module_events-0.0.16/sm_events/reminders/message.py +155 -0
  235. simple_module_events-0.0.16/sm_events/reminders/mine.py +171 -0
  236. simple_module_events-0.0.16/sm_events/reminders/recipients.py +110 -0
  237. simple_module_events-0.0.16/sm_events/reminders/runtime.py +86 -0
  238. simple_module_events-0.0.16/sm_events/reminders/send.py +171 -0
  239. simple_module_events-0.0.16/sm_events/reminders/stats.py +61 -0
  240. simple_module_events-0.0.16/sm_events/reminders/strings.py +72 -0
  241. simple_module_events-0.0.16/sm_events/reminders/templates/reminder.html +16 -0
  242. simple_module_events-0.0.16/sm_events/reminders/templates/reminder.txt +9 -0
  243. simple_module_events-0.0.16/sm_events/reminders/tick.py +243 -0
  244. simple_module_events-0.0.16/sm_events/reminders/too_late.py +135 -0
  245. simple_module_events-0.0.16/sm_events/reminders/worker_app.py +228 -0
  246. simple_module_events-0.0.16/sm_events/task_config.py +80 -0
  247. simple_module_events-0.0.16/sm_events/tasks.py +195 -0
  248. simple_module_events-0.0.16/sm_events/ui/blocks/BlockBoundary.tsx +20 -0
  249. simple_module_events-0.0.16/sm_events/ui/blocks/CountField.test.tsx +54 -0
  250. simple_module_events-0.0.16/sm_events/ui/blocks/CountField.tsx +60 -0
  251. simple_module_events-0.0.16/sm_events/ui/blocks/EventsCalendar.test.tsx +183 -0
  252. simple_module_events-0.0.16/sm_events/ui/blocks/EventsCalendarBlock.tsx +87 -0
  253. simple_module_events-0.0.16/sm_events/ui/blocks/EventsCalendarRender.tsx +125 -0
  254. simple_module_events-0.0.16/sm_events/ui/blocks/PublicAudience.test.tsx +72 -0
  255. simple_module_events-0.0.16/sm_events/ui/blocks/UpcomingEvents.test.tsx +284 -0
  256. simple_module_events-0.0.16/sm_events/ui/blocks/UpcomingEventsBlock.tsx +118 -0
  257. simple_module_events-0.0.16/sm_events/ui/blocks/UpcomingEventsRender.tsx +175 -0
  258. simple_module_events-0.0.16/sm_events/ui/blocks/UpcomingEventsSelection.test.tsx +60 -0
  259. simple_module_events-0.0.16/sm_events/ui/blocks/api-blocks.test.ts +90 -0
  260. simple_module_events-0.0.16/sm_events/ui/blocks/api-blocks.ts +55 -0
  261. simple_module_events-0.0.16/sm_events/ui/blocks/boundary.test.ts +101 -0
  262. simple_module_events-0.0.16/sm_events/ui/blocks/calendarField.ts +45 -0
  263. simple_module_events-0.0.16/sm_events/ui/blocks/calendarProps.ts +20 -0
  264. simple_module_events-0.0.16/sm_events/ui/blocks/limits.test.ts +111 -0
  265. simple_module_events-0.0.16/sm_events/ui/blocks/limits.ts +54 -0
  266. simple_module_events-0.0.16/sm_events/ui/blocks/localizeFields.test.ts +72 -0
  267. simple_module_events-0.0.16/sm_events/ui/blocks/localizeFields.ts +62 -0
  268. simple_module_events-0.0.16/sm_events/ui/blocks/useContentLocale.ts +21 -0
  269. simple_module_events-0.0.16/sm_events/ui/calendar/Calendar.tsx +277 -0
  270. simple_module_events-0.0.16/sm_events/ui/calendar/DetailPopover.tsx +130 -0
  271. simple_module_events-0.0.16/sm_events/ui/calendar/EventChip.test.tsx +59 -0
  272. simple_module_events-0.0.16/sm_events/ui/calendar/EventChip.tsx +71 -0
  273. simple_module_events-0.0.16/sm_events/ui/calendar/FakeGrid-test-support.tsx +60 -0
  274. simple_module_events-0.0.16/sm_events/ui/calendar/Filters.tsx +137 -0
  275. simple_module_events-0.0.16/sm_events/ui/calendar/StatusBar.tsx +131 -0
  276. simple_module_events-0.0.16/sm_events/ui/calendar/TimezoneToggle.tsx +42 -0
  277. simple_module_events-0.0.16/sm_events/ui/calendar/Toolbar.tsx +90 -0
  278. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/FullCalendarGrid.tsx +170 -0
  279. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/calendar.css +46 -0
  280. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/mapping.gap.test.ts +83 -0
  281. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/mapping.test.ts +263 -0
  282. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/mapping.ts +218 -0
  283. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/options.test.ts +50 -0
  284. simple_module_events-0.0.16/sm_events/ui/calendar/adapter/options.ts +55 -0
  285. simple_module_events-0.0.16/sm_events/ui/calendar/boundaries.test.ts +111 -0
  286. simple_module_events-0.0.16/sm_events/ui/calendar/console/ConsoleCalendar.tsx +207 -0
  287. simple_module_events-0.0.16/sm_events/ui/calendar/console/MoveDialog.tsx +208 -0
  288. simple_module_events-0.0.16/sm_events/ui/calendar/console/QuickCreateDialog.tsx +228 -0
  289. simple_module_events-0.0.16/sm_events/ui/calendar/console/ScopePrompt.tsx +72 -0
  290. simple_module_events-0.0.16/sm_events/ui/calendar/console/failure.ts +53 -0
  291. simple_module_events-0.0.16/sm_events/ui/calendar/console/focusReturn.test.tsx +71 -0
  292. simple_module_events-0.0.16/sm_events/ui/calendar/console/focusReturn.ts +52 -0
  293. simple_module_events-0.0.16/sm_events/ui/calendar/console/quickCreate.time.test.ts +33 -0
  294. simple_module_events-0.0.16/sm_events/ui/calendar/console/quickCreate.ts +95 -0
  295. simple_module_events-0.0.16/sm_events/ui/calendar/console/timeErrors.ts +24 -0
  296. simple_module_events-0.0.16/sm_events/ui/calendar/console/urlState.test.ts +74 -0
  297. simple_module_events-0.0.16/sm_events/ui/calendar/console/urlState.ts +47 -0
  298. simple_module_events-0.0.16/sm_events/ui/calendar/console/useCalendarWrites.tsx +202 -0
  299. simple_module_events-0.0.16/sm_events/ui/calendar/console/writes-test-support.ts +83 -0
  300. simple_module_events-0.0.16/sm_events/ui/calendar/console/writes.all.test.ts +189 -0
  301. simple_module_events-0.0.16/sm_events/ui/calendar/console/writes.series.test.ts +264 -0
  302. simple_module_events-0.0.16/sm_events/ui/calendar/console/writes.test.ts +156 -0
  303. simple_module_events-0.0.16/sm_events/ui/calendar/console/writes.ts +195 -0
  304. simple_module_events-0.0.16/sm_events/ui/calendar/data/cache.test.ts +46 -0
  305. simple_module_events-0.0.16/sm_events/ui/calendar/data/cache.ts +44 -0
  306. simple_module_events-0.0.16/sm_events/ui/calendar/data/useOccurrences.ts +101 -0
  307. simple_module_events-0.0.16/sm_events/ui/calendar/lock.ts +17 -0
  308. simple_module_events-0.0.16/sm_events/ui/calendar/time/format.test.ts +82 -0
  309. simple_module_events-0.0.16/sm_events/ui/calendar/time/format.ts +87 -0
  310. simple_module_events-0.0.16/sm_events/ui/calendar/time/range.test.ts +50 -0
  311. simple_module_events-0.0.16/sm_events/ui/calendar/time/range.ts +47 -0
  312. simple_module_events-0.0.16/sm_events/ui/calendar/time/zones.test.ts +144 -0
  313. simple_module_events-0.0.16/sm_events/ui/calendar/time/zones.ts +26 -0
  314. simple_module_events-0.0.16/sm_events/ui/calendar/types.ts +167 -0
  315. simple_module_events-0.0.16/sm_events/ui/components/ConfirmDialog.tsx +97 -0
  316. simple_module_events-0.0.16/sm_events/ui/components/CopyButton.tsx +27 -0
  317. simple_module_events-0.0.16/sm_events/ui/components/calendars/CalendarDialog.tsx +268 -0
  318. simple_module_events-0.0.16/sm_events/ui/components/calendars/CalendarRow.tsx +236 -0
  319. simple_module_events-0.0.16/sm_events/ui/components/calendars/JsonSettings.tsx +52 -0
  320. simple_module_events-0.0.16/sm_events/ui/components/calendars/OwnerDialog.tsx +137 -0
  321. simple_module_events-0.0.16/sm_events/ui/components/calendars/ReminderDefaultsField.tsx +57 -0
  322. simple_module_events-0.0.16/sm_events/ui/components/calendars/SourceRow.tsx +141 -0
  323. simple_module_events-0.0.16/sm_events/ui/components/calendars/SourcesDialog.tsx +204 -0
  324. simple_module_events-0.0.16/sm_events/ui/components/calendars/VisibilityMenu.tsx +96 -0
  325. simple_module_events-0.0.16/sm_events/ui/components/calendars/sourceProblems.ts +37 -0
  326. simple_module_events-0.0.16/sm_events/ui/components/categories/CategoryDialog.tsx +228 -0
  327. simple_module_events-0.0.16/sm_events/ui/components/editor/ConflictPanel.tsx +77 -0
  328. simple_module_events-0.0.16/sm_events/ui/components/editor/CustomRule.tsx +46 -0
  329. simple_module_events-0.0.16/sm_events/ui/components/editor/EventForm.tsx +165 -0
  330. simple_module_events-0.0.16/sm_events/ui/components/editor/LeaveDialog.tsx +43 -0
  331. simple_module_events-0.0.16/sm_events/ui/components/editor/OccurrencesPreview.tsx +143 -0
  332. simple_module_events-0.0.16/sm_events/ui/components/editor/OrphanDialog.tsx +61 -0
  333. simple_module_events-0.0.16/sm_events/ui/components/editor/OverrideDialog.tsx +215 -0
  334. simple_module_events-0.0.16/sm_events/ui/components/editor/RecurrenceEditor.tsx +234 -0
  335. simple_module_events-0.0.16/sm_events/ui/components/editor/RecurrenceEnd.tsx +77 -0
  336. simple_module_events-0.0.16/sm_events/ui/components/editor/RegistrationCounts.tsx +71 -0
  337. simple_module_events-0.0.16/sm_events/ui/components/editor/RegistrationSection.test.tsx +297 -0
  338. simple_module_events-0.0.16/sm_events/ui/components/editor/RegistrationSection.tsx +250 -0
  339. simple_module_events-0.0.16/sm_events/ui/components/editor/RejectDialog.tsx +112 -0
  340. simple_module_events-0.0.16/sm_events/ui/components/editor/RevisionHistory.tsx +202 -0
  341. simple_module_events-0.0.16/sm_events/ui/components/editor/RichTextField.tsx +211 -0
  342. simple_module_events-0.0.16/sm_events/ui/components/editor/ScheduleDialog.tsx +149 -0
  343. simple_module_events-0.0.16/sm_events/ui/components/editor/SubEvents.tsx +69 -0
  344. simple_module_events-0.0.16/sm_events/ui/components/editor/TextsTabs.tsx +197 -0
  345. simple_module_events-0.0.16/sm_events/ui/components/editor/TimesFields.tsx +99 -0
  346. simple_module_events-0.0.16/sm_events/ui/components/editor/TypeSection.tsx +110 -0
  347. simple_module_events-0.0.16/sm_events/ui/components/editor/WorkflowBar.tsx +102 -0
  348. simple_module_events-0.0.16/sm_events/ui/components/events/EventFilters.tsx +120 -0
  349. simple_module_events-0.0.16/sm_events/ui/components/events/EventRow.tsx +216 -0
  350. simple_module_events-0.0.16/sm_events/ui/components/feeds/CreateLinkForm.tsx +79 -0
  351. simple_module_events-0.0.16/sm_events/ui/components/feeds/CreatedLink.tsx +38 -0
  352. simple_module_events-0.0.16/sm_events/ui/components/feeds/SubscribeDialog.tsx +141 -0
  353. simple_module_events-0.0.16/sm_events/ui/components/feeds/TokenList.tsx +67 -0
  354. simple_module_events-0.0.16/sm_events/ui/components/import/Announce.tsx +35 -0
  355. simple_module_events-0.0.16/sm_events/ui/components/import/ImportProgress.tsx +24 -0
  356. simple_module_events-0.0.16/sm_events/ui/components/import/ImportResult.tsx +62 -0
  357. simple_module_events-0.0.16/sm_events/ui/components/import/ItemRows.tsx +140 -0
  358. simple_module_events-0.0.16/sm_events/ui/components/import/PreviewTable.tsx +87 -0
  359. simple_module_events-0.0.16/sm_events/ui/components/import/UploadForm.tsx +82 -0
  360. simple_module_events-0.0.16/sm_events/ui/components/reminders/DeliveryCard.tsx +66 -0
  361. simple_module_events-0.0.16/sm_events/ui/components/reminders/EditLeads.tsx +93 -0
  362. simple_module_events-0.0.16/sm_events/ui/components/reminders/MyReminders.tsx +270 -0
  363. simple_module_events-0.0.16/sm_events/ui/components/reminders/UnavailableNotice.tsx +30 -0
  364. simple_module_events-0.0.16/sm_events/ui/components/share/ShareDialog.tsx +216 -0
  365. simple_module_events-0.0.16/sm_events/ui/components/subscriptions/ExternalChip.tsx +23 -0
  366. simple_module_events-0.0.16/sm_events/ui/components/subscriptions/ExternalDetail.tsx +54 -0
  367. simple_module_events-0.0.16/sm_events/ui/components/subscriptions/ExternalPublicDetail.tsx +34 -0
  368. simple_module_events-0.0.16/sm_events/ui/components/subscriptions/SubscriptionForm.tsx +187 -0
  369. simple_module_events-0.0.16/sm_events/ui/components/subscriptions/SubscriptionRow.tsx +150 -0
  370. simple_module_events-0.0.16/sm_events/ui/components/subscriptions/SubscriptionsDialog.tsx +178 -0
  371. simple_module_events-0.0.16/sm_events/ui/extensions/PluginBoundary.test.tsx +75 -0
  372. simple_module_events-0.0.16/sm_events/ui/extensions/PluginBoundary.tsx +38 -0
  373. simple_module_events-0.0.16/sm_events/ui/extensions/builtins.ts +17 -0
  374. simple_module_events-0.0.16/sm_events/ui/extensions/load.test.ts +135 -0
  375. simple_module_events-0.0.16/sm_events/ui/extensions/load.ts +77 -0
  376. simple_module_events-0.0.16/sm_events/ui/extensions/plugin-files.test.ts +49 -0
  377. simple_module_events-0.0.16/sm_events/ui/extensions/public-graph.test.ts +43 -0
  378. simple_module_events-0.0.16/sm_events/ui/extensions/registry.test.ts +78 -0
  379. simple_module_events-0.0.16/sm_events/ui/extensions/registry.ts +83 -0
  380. simple_module_events-0.0.16/sm_events/ui/extensions/slots.test.tsx +176 -0
  381. simple_module_events-0.0.16/sm_events/ui/extensions/slots.tsx +118 -0
  382. simple_module_events-0.0.16/sm_events/ui/extensions/translateKey.ts +14 -0
  383. simple_module_events-0.0.16/sm_events/ui/extensions/types.ts +99 -0
  384. simple_module_events-0.0.16/sm_events/ui/hooks/useCalendars.ts +38 -0
  385. simple_module_events-0.0.16/sm_events/ui/hooks/useCandidates.ts +72 -0
  386. simple_module_events-0.0.16/sm_events/ui/hooks/useCategories.ts +32 -0
  387. simple_module_events-0.0.16/sm_events/ui/hooks/useDocumentLang.ts +19 -0
  388. simple_module_events-0.0.16/sm_events/ui/hooks/useEvent.ts +141 -0
  389. simple_module_events-0.0.16/sm_events/ui/hooks/useEventActions.ts +277 -0
  390. simple_module_events-0.0.16/sm_events/ui/hooks/useEvents.ts +151 -0
  391. simple_module_events-0.0.16/sm_events/ui/hooks/useFeedTokens.ts +89 -0
  392. simple_module_events-0.0.16/sm_events/ui/hooks/useFormErrors.ts +80 -0
  393. simple_module_events-0.0.16/sm_events/ui/hooks/useImport.ts +161 -0
  394. simple_module_events-0.0.16/sm_events/ui/hooks/useLatestRequest.ts +29 -0
  395. simple_module_events-0.0.16/sm_events/ui/hooks/useLeaveGuard.ts +119 -0
  396. simple_module_events-0.0.16/sm_events/ui/hooks/usePreview.ts +91 -0
  397. simple_module_events-0.0.16/sm_events/ui/hooks/useRegistrationCounts.ts +41 -0
  398. simple_module_events-0.0.16/sm_events/ui/hooks/useRequestScope.ts +53 -0
  399. simple_module_events-0.0.16/sm_events/ui/hooks/useShares.ts +173 -0
  400. simple_module_events-0.0.16/sm_events/ui/hooks/useSubscriptions.ts +84 -0
  401. simple_module_events-0.0.16/sm_events/ui/page-tests/ActionConflict.test.tsx +105 -0
  402. simple_module_events-0.0.16/sm_events/ui/page-tests/Calendar.test.tsx +186 -0
  403. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarA11y.test.tsx +147 -0
  404. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarActions.test.tsx +64 -0
  405. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarCreate.test.tsx +111 -0
  406. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarDetail.test.tsx +143 -0
  407. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarDrag.test.tsx +141 -0
  408. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarOpenFromLink.test.tsx +52 -0
  409. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarPage.test.tsx +183 -0
  410. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarRemindMe.test.tsx +61 -0
  411. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarSharePermission.test.tsx +31 -0
  412. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarSlots.test.tsx +84 -0
  413. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarSources.test.tsx +133 -0
  414. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarSourcesFilter.test.tsx +93 -0
  415. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarWriteFailures.test.tsx +163 -0
  416. simple_module_events-0.0.16/sm_events/ui/page-tests/CalendarWrites.test.tsx +159 -0
  417. simple_module_events-0.0.16/sm_events/ui/page-tests/Calendars.test.tsx +190 -0
  418. simple_module_events-0.0.16/sm_events/ui/page-tests/Categories.test.tsx +134 -0
  419. simple_module_events-0.0.16/sm_events/ui/page-tests/Conflict.test.tsx +185 -0
  420. simple_module_events-0.0.16/sm_events/ui/page-tests/DarkContrast.test.ts +43 -0
  421. simple_module_events-0.0.16/sm_events/ui/page-tests/DialogLifetime.test.tsx +143 -0
  422. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorErrorFields.test.tsx +139 -0
  423. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorHistoryGuard.test.tsx +206 -0
  424. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorImage.test.tsx +57 -0
  425. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorLifetime.test.tsx +143 -0
  426. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorPrefill.test.tsx +86 -0
  427. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorRecurrence.test.tsx +63 -0
  428. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorRegistrationErrors.test.tsx +61 -0
  429. simple_module_events-0.0.16/sm_events/ui/page-tests/EditorSafety.test.tsx +264 -0
  430. simple_module_events-0.0.16/sm_events/ui/page-tests/ErrorLimits.test.tsx +75 -0
  431. simple_module_events-0.0.16/sm_events/ui/page-tests/ErrorStates.test.tsx +238 -0
  432. simple_module_events-0.0.16/sm_events/ui/page-tests/EventEditor.test.tsx +265 -0
  433. simple_module_events-0.0.16/sm_events/ui/page-tests/EventOverrides.test.tsx +253 -0
  434. simple_module_events-0.0.16/sm_events/ui/page-tests/Events.test.tsx +283 -0
  435. simple_module_events-0.0.16/sm_events/ui/page-tests/EventsLayout.test.tsx +57 -0
  436. simple_module_events-0.0.16/sm_events/ui/page-tests/ExternalDetail.test.tsx +123 -0
  437. simple_module_events-0.0.16/sm_events/ui/page-tests/FieldFocus.test.tsx +59 -0
  438. simple_module_events-0.0.16/sm_events/ui/page-tests/FormErrors.test.tsx +203 -0
  439. simple_module_events-0.0.16/sm_events/ui/page-tests/Import.a11y.test.tsx +100 -0
  440. simple_module_events-0.0.16/sm_events/ui/page-tests/Import.test.tsx +266 -0
  441. simple_module_events-0.0.16/sm_events/ui/page-tests/MoveDialog.test.tsx +249 -0
  442. simple_module_events-0.0.16/sm_events/ui/page-tests/PreviewInputs.test.tsx +77 -0
  443. simple_module_events-0.0.16/sm_events/ui/page-tests/PreviewOffsets.test.tsx +69 -0
  444. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicCalendarLoad.test.tsx +72 -0
  445. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicEvent.test.tsx +300 -0
  446. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicIndex.test.tsx +214 -0
  447. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicLocale.test.tsx +64 -0
  448. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicNotFound.test.tsx +39 -0
  449. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicPluginDetail.test.tsx +124 -0
  450. simple_module_events-0.0.16/sm_events/ui/page-tests/PublicWording.test.tsx +100 -0
  451. simple_module_events-0.0.16/sm_events/ui/page-tests/QuickCreate.test.tsx +260 -0
  452. simple_module_events-0.0.16/sm_events/ui/page-tests/RecurrenceEditor.test.tsx +146 -0
  453. simple_module_events-0.0.16/sm_events/ui/page-tests/RemindMe.test.tsx +294 -0
  454. simple_module_events-0.0.16/sm_events/ui/page-tests/ReminderDefaults.test.tsx +81 -0
  455. simple_module_events-0.0.16/sm_events/ui/page-tests/Reminders.test.tsx +230 -0
  456. simple_module_events-0.0.16/sm_events/ui/page-tests/RevisionHistory.test.tsx +158 -0
  457. simple_module_events-0.0.16/sm_events/ui/page-tests/RichTextField.test.tsx +140 -0
  458. simple_module_events-0.0.16/sm_events/ui/page-tests/RowErrors.test.tsx +121 -0
  459. simple_module_events-0.0.16/sm_events/ui/page-tests/ShareDialog.test.tsx +146 -0
  460. simple_module_events-0.0.16/sm_events/ui/page-tests/ShareErrors.test.tsx +188 -0
  461. simple_module_events-0.0.16/sm_events/ui/page-tests/ShareLateWrite.test.tsx +83 -0
  462. simple_module_events-0.0.16/sm_events/ui/page-tests/SourcesDialog.test.tsx +272 -0
  463. simple_module_events-0.0.16/sm_events/ui/page-tests/SourcesDialogLoads.test.tsx +58 -0
  464. simple_module_events-0.0.16/sm_events/ui/page-tests/SubscribeDialog.test.tsx +243 -0
  465. simple_module_events-0.0.16/sm_events/ui/page-tests/SubscriptionRows.test.tsx +177 -0
  466. simple_module_events-0.0.16/sm_events/ui/page-tests/SubscriptionsDialog.test.tsx +219 -0
  467. simple_module_events-0.0.16/sm_events/ui/page-tests/TimezoneToggle.test.tsx +187 -0
  468. simple_module_events-0.0.16/sm_events/ui/page-tests/TypeSection.test.tsx +236 -0
  469. simple_module_events-0.0.16/sm_events/ui/page-tests/Workflow.test.tsx +266 -0
  470. simple_module_events-0.0.16/sm_events/ui/page-tests/calendar-support.tsx +88 -0
  471. simple_module_events-0.0.16/sm_events/ui/page-tests/calendar-writes-support.tsx +77 -0
  472. simple_module_events-0.0.16/sm_events/ui/page-tests/import-support.tsx +81 -0
  473. simple_module_events-0.0.16/sm_events/ui/page-tests/pagebuilder-blocks.test.ts +23 -0
  474. simple_module_events-0.0.16/sm_events/ui/page-tests/public-support.tsx +71 -0
  475. simple_module_events-0.0.16/sm_events/ui/page-tests/subscriptions-dialog-support.tsx +47 -0
  476. simple_module_events-0.0.16/sm_events/ui/page-tests/support.tsx +224 -0
  477. simple_module_events-0.0.16/sm_events/ui/page-tests/test-dom.tsx +141 -0
  478. simple_module_events-0.0.16/sm_events/ui/page-tests/useCalendars.test.tsx +64 -0
  479. simple_module_events-0.0.16/sm_events/ui/page-tests/useCandidates.test.tsx +57 -0
  480. simple_module_events-0.0.16/sm_events/ui/page-tests/useEvents.test.tsx +121 -0
  481. simple_module_events-0.0.16/sm_events/ui/page-tests/useFeedTokens.test.tsx +73 -0
  482. simple_module_events-0.0.16/sm_events/ui/page-tests/useOccurrences.test.tsx +186 -0
  483. simple_module_events-0.0.16/sm_events/ui/page-tests/useShares.test.tsx +58 -0
  484. simple_module_events-0.0.16/sm_events/ui/public/CancelledBanner.tsx +12 -0
  485. simple_module_events-0.0.16/sm_events/ui/public/CategoryFilter.tsx +41 -0
  486. simple_module_events-0.0.16/sm_events/ui/public/EventPlace.tsx +47 -0
  487. simple_module_events-0.0.16/sm_events/ui/public/EventWhen.tsx +41 -0
  488. simple_module_events-0.0.16/sm_events/ui/public/LanguageSwitch.tsx +33 -0
  489. simple_module_events-0.0.16/sm_events/ui/public/PluginDetail.tsx +27 -0
  490. simple_module_events-0.0.16/sm_events/ui/public/PublicCalendarGrid.tsx +94 -0
  491. simple_module_events-0.0.16/sm_events/ui/public/PublicHead.test.tsx +58 -0
  492. simple_module_events-0.0.16/sm_events/ui/public/PublicHead.tsx +70 -0
  493. simple_module_events-0.0.16/sm_events/ui/public/RegistrationSlot.test.tsx +100 -0
  494. simple_module_events-0.0.16/sm_events/ui/public/RegistrationSlot.tsx +66 -0
  495. simple_module_events-0.0.16/sm_events/ui/public/RichText.test.tsx +78 -0
  496. simple_module_events-0.0.16/sm_events/ui/public/RichText.tsx +55 -0
  497. simple_module_events-0.0.16/sm_events/ui/public/SubEvents.tsx +20 -0
  498. simple_module_events-0.0.16/sm_events/ui/public/SubscribeBox.tsx +36 -0
  499. simple_module_events-0.0.16/sm_events/ui/public/UpcomingList.tsx +102 -0
  500. simple_module_events-0.0.16/sm_events/ui/public/api-public.test.ts +79 -0
  501. simple_module_events-0.0.16/sm_events/ui/public/api-public.ts +17 -0
  502. simple_module_events-0.0.16/sm_events/ui/public/format.ts +29 -0
  503. simple_module_events-0.0.16/sm_events/ui/public/gridZone.test.ts +40 -0
  504. simple_module_events-0.0.16/sm_events/ui/public/gridZone.ts +24 -0
  505. simple_module_events-0.0.16/sm_events/ui/public/head-lifecycle.test.tsx +135 -0
  506. simple_module_events-0.0.16/sm_events/ui/public/richtext-types.ts +3 -0
  507. simple_module_events-0.0.16/sm_events/ui/public/types.ts +155 -0
  508. simple_module_events-0.0.16/sm_events/ui/reminders/RemindMe.tsx +191 -0
  509. simple_module_events-0.0.16/sm_events/ui/reminders/leadText.ts +26 -0
  510. simple_module_events-0.0.16/sm_events/ui/reminders/reasons.ts +20 -0
  511. simple_module_events-0.0.16/sm_events/ui/reminders/useFollow.ts +111 -0
  512. simple_module_events-0.0.16/sm_events/ui/utils/PageLocale.tsx +96 -0
  513. simple_module_events-0.0.16/sm_events/ui/utils/api-events.ts +68 -0
  514. simple_module_events-0.0.16/sm_events/ui/utils/api-extensions.ts +25 -0
  515. simple_module_events-0.0.16/sm_events/ui/utils/api-feeds.ts +43 -0
  516. simple_module_events-0.0.16/sm_events/ui/utils/api-import.ts +160 -0
  517. simple_module_events-0.0.16/sm_events/ui/utils/api-messages.test.ts +63 -0
  518. simple_module_events-0.0.16/sm_events/ui/utils/api-reminders.ts +97 -0
  519. simple_module_events-0.0.16/sm_events/ui/utils/api-shares.ts +42 -0
  520. simple_module_events-0.0.16/sm_events/ui/utils/api-subscriptions.ts +80 -0
  521. simple_module_events-0.0.16/sm_events/ui/utils/api.ts +220 -0
  522. simple_module_events-0.0.16/sm_events/ui/utils/categories.ts +16 -0
  523. simple_module_events-0.0.16/sm_events/ui/utils/contrast.test.ts +23 -0
  524. simple_module_events-0.0.16/sm_events/ui/utils/contrast.ts +38 -0
  525. simple_module_events-0.0.16/sm_events/ui/utils/datetime.ts +108 -0
  526. simple_module_events-0.0.16/sm_events/ui/utils/event-diff.test.ts +59 -0
  527. simple_module_events-0.0.16/sm_events/ui/utils/event-diff.ts +113 -0
  528. simple_module_events-0.0.16/sm_events/ui/utils/event-form.test.ts +142 -0
  529. simple_module_events-0.0.16/sm_events/ui/utils/event-form.ts +268 -0
  530. simple_module_events-0.0.16/sm_events/ui/utils/event-validation.ts +51 -0
  531. simple_module_events-0.0.16/sm_events/ui/utils/field-errors.test.ts +22 -0
  532. simple_module_events-0.0.16/sm_events/ui/utils/field-errors.ts +118 -0
  533. simple_module_events-0.0.16/sm_events/ui/utils/form-merge.test.ts +89 -0
  534. simple_module_events-0.0.16/sm_events/ui/utils/form-merge.ts +40 -0
  535. simple_module_events-0.0.16/sm_events/ui/utils/format.ts +8 -0
  536. simple_module_events-0.0.16/sm_events/ui/utils/formatDay.test.ts +19 -0
  537. simple_module_events-0.0.16/sm_events/ui/utils/i18n.test.ts +13 -0
  538. simple_module_events-0.0.16/sm_events/ui/utils/i18n.ts +188 -0
  539. simple_module_events-0.0.16/sm_events/ui/utils/isolate.tsx +29 -0
  540. simple_module_events-0.0.16/sm_events/ui/utils/jsonLd.test.ts +24 -0
  541. simple_module_events-0.0.16/sm_events/ui/utils/jsonLd.ts +20 -0
  542. simple_module_events-0.0.16/sm_events/ui/utils/language.ts +17 -0
  543. simple_module_events-0.0.16/sm_events/ui/utils/limits.test.ts +27 -0
  544. simple_module_events-0.0.16/sm_events/ui/utils/limits.ts +16 -0
  545. simple_module_events-0.0.16/sm_events/ui/utils/pageLocale.ts +10 -0
  546. simple_module_events-0.0.16/sm_events/ui/utils/pageTranslator.test.ts +35 -0
  547. simple_module_events-0.0.16/sm_events/ui/utils/prefill.ts +32 -0
  548. simple_module_events-0.0.16/sm_events/ui/utils/public-get.ts +25 -0
  549. simple_module_events-0.0.16/sm_events/ui/utils/recurrence.test.ts +222 -0
  550. simple_module_events-0.0.16/sm_events/ui/utils/recurrence.ts +264 -0
  551. simple_module_events-0.0.16/sm_events/ui/utils/registration-form.ts +75 -0
  552. simple_module_events-0.0.16/sm_events/ui/utils/richtext.test.ts +87 -0
  553. simple_module_events-0.0.16/sm_events/ui/utils/richtext.ts +201 -0
  554. simple_module_events-0.0.16/sm_events/ui/utils/types-events.ts +272 -0
  555. simple_module_events-0.0.16/sm_events/ui/utils/types.ts +62 -0
  556. simple_module_events-0.0.16/sm_events/ui/utils/zones.test.ts +60 -0
  557. simple_module_events-0.0.16/sm_events/ui/utils/zones.ts +183 -0
  558. simple_module_events-0.0.16/sm_events/web/__init__.py +1 -0
  559. simple_module_events-0.0.16/sm_events/web/endpoints/__init__.py +50 -0
  560. simple_module_events-0.0.16/sm_events/web/endpoints/calendars_api.py +163 -0
  561. simple_module_events-0.0.16/sm_events/web/endpoints/categories_api.py +49 -0
  562. simple_module_events-0.0.16/sm_events/web/endpoints/deps.py +46 -0
  563. simple_module_events-0.0.16/sm_events/web/endpoints/events_actions_api.py +171 -0
  564. simple_module_events-0.0.16/sm_events/web/endpoints/events_api.py +173 -0
  565. simple_module_events-0.0.16/sm_events/web/endpoints/extensions_api.py +70 -0
  566. simple_module_events-0.0.16/sm_events/web/endpoints/feed_tokens_api.py +87 -0
  567. simple_module_events-0.0.16/sm_events/web/endpoints/imports_api.py +268 -0
  568. simple_module_events-0.0.16/sm_events/web/endpoints/menu.py +70 -0
  569. simple_module_events-0.0.16/sm_events/web/endpoints/occurrences_api.py +34 -0
  570. simple_module_events-0.0.16/sm_events/web/endpoints/prefill.py +61 -0
  571. simple_module_events-0.0.16/sm_events/web/endpoints/public/__init__.py +106 -0
  572. simple_module_events-0.0.16/sm_events/web/endpoints/public/_api.py +182 -0
  573. simple_module_events-0.0.16/sm_events/web/endpoints/public/_blocks_api.py +192 -0
  574. simple_module_events-0.0.16/sm_events/web/endpoints/public/_cache.py +249 -0
  575. simple_module_events-0.0.16/sm_events/web/endpoints/public/_errors.py +77 -0
  576. simple_module_events-0.0.16/sm_events/web/endpoints/public/_event.py +127 -0
  577. simple_module_events-0.0.16/sm_events/web/endpoints/public/_event_context.py +109 -0
  578. simple_module_events-0.0.16/sm_events/web/endpoints/public/_event_props.py +223 -0
  579. simple_module_events-0.0.16/sm_events/web/endpoints/public/_feeds.py +258 -0
  580. simple_module_events-0.0.16/sm_events/web/endpoints/public/_head.py +209 -0
  581. simple_module_events-0.0.16/sm_events/web/endpoints/public/_host_tenant.py +27 -0
  582. simple_module_events-0.0.16/sm_events/web/endpoints/public/_index.py +240 -0
  583. simple_module_events-0.0.16/sm_events/web/endpoints/public/_jsonld.py +115 -0
  584. simple_module_events-0.0.16/sm_events/web/endpoints/public/_listing.py +221 -0
  585. simple_module_events-0.0.16/sm_events/web/endpoints/public/_meta.py +52 -0
  586. simple_module_events-0.0.16/sm_events/web/endpoints/public/_not_found.py +82 -0
  587. simple_module_events-0.0.16/sm_events/web/endpoints/public/_occurrence.py +191 -0
  588. simple_module_events-0.0.16/sm_events/web/endpoints/public/_private_feed.py +245 -0
  589. simple_module_events-0.0.16/sm_events/web/endpoints/public/_registration_prop.py +75 -0
  590. simple_module_events-0.0.16/sm_events/web/endpoints/public/_respond.py +47 -0
  591. simple_module_events-0.0.16/sm_events/web/endpoints/public/_sitemap.py +97 -0
  592. simple_module_events-0.0.16/sm_events/web/endpoints/public/_tenant.py +43 -0
  593. simple_module_events-0.0.16/sm_events/web/endpoints/public/_urls.py +175 -0
  594. simple_module_events-0.0.16/sm_events/web/endpoints/registrations_api.py +80 -0
  595. simple_module_events-0.0.16/sm_events/web/endpoints/reminders_api.py +206 -0
  596. simple_module_events-0.0.16/sm_events/web/endpoints/shares_api.py +75 -0
  597. simple_module_events-0.0.16/sm_events/web/endpoints/subscriptions_api.py +167 -0
  598. simple_module_events-0.0.16/sm_events/web/endpoints/views.py +252 -0
  599. simple_module_events-0.0.16/sm_events/web/no_store.py +40 -0
  600. simple_module_events-0.0.16/sm_events/web/schemas/__init__.py +1 -0
  601. simple_module_events-0.0.16/sm_events/web/schemas/_fields.py +91 -0
  602. simple_module_events-0.0.16/sm_events/web/schemas/calendars.py +113 -0
  603. simple_module_events-0.0.16/sm_events/web/schemas/categories.py +53 -0
  604. simple_module_events-0.0.16/sm_events/web/schemas/events_in.py +114 -0
  605. simple_module_events-0.0.16/sm_events/web/schemas/events_out.py +102 -0
  606. simple_module_events-0.0.16/sm_events/web/schemas/extensions.py +60 -0
  607. simple_module_events-0.0.16/sm_events/web/schemas/feed_tokens.py +43 -0
  608. simple_module_events-0.0.16/sm_events/web/schemas/imports.py +133 -0
  609. simple_module_events-0.0.16/sm_events/web/schemas/occurrences.py +55 -0
  610. simple_module_events-0.0.16/sm_events/web/schemas/overrides.py +119 -0
  611. simple_module_events-0.0.16/sm_events/web/schemas/public.py +230 -0
  612. simple_module_events-0.0.16/sm_events/web/schemas/public_event.py +130 -0
  613. simple_module_events-0.0.16/sm_events/web/schemas/registration.py +80 -0
  614. simple_module_events-0.0.16/sm_events/web/schemas/reminders.py +90 -0
  615. simple_module_events-0.0.16/sm_events/web/schemas/shares.py +11 -0
  616. simple_module_events-0.0.16/sm_events/web/schemas/subscriptions.py +88 -0
  617. simple_module_events-0.0.16/sm_events/web/schemas/texts.py +46 -0
  618. simple_module_events-0.0.16/sm_events/web/schemas/workflow.py +33 -0
  619. simple_module_events-0.0.16/sm_events/web/services/__init__.py +1 -0
  620. simple_module_events-0.0.16/sm_events/web/services/events_out.py +210 -0
  621. simple_module_events-0.0.16/sm_events/web/services/masking.py +68 -0
  622. simple_module_events-0.0.16/sm_events/web/services/members.py +61 -0
  623. simple_module_events-0.0.16/sm_events/web/services/names.py +54 -0
  624. simple_module_events-0.0.16/sm_events/web/services/owners.py +18 -0
  625. simple_module_events-0.0.16/sm_events/web/services/source_viewer.py +27 -0
  626. simple_module_events-0.0.16/tests/__init__.py +0 -0
  627. simple_module_events-0.0.16/tests/calendar/__init__.py +0 -0
  628. simple_module_events-0.0.16/tests/calendar/test_builtins.py +61 -0
  629. simple_module_events-0.0.16/tests/calendar/test_calendar_redirects.py +165 -0
  630. simple_module_events-0.0.16/tests/calendar/test_calendars.py +152 -0
  631. simple_module_events-0.0.16/tests/calendar/test_categories.py +91 -0
  632. simple_module_events-0.0.16/tests/calendar/test_expand.py +198 -0
  633. simple_module_events-0.0.16/tests/calendar/test_expand_edges.py +112 -0
  634. simple_module_events-0.0.16/tests/calendar/test_expand_oracle.py +179 -0
  635. simple_module_events-0.0.16/tests/calendar/test_expand_properties.py +148 -0
  636. simple_module_events-0.0.16/tests/calendar/test_extension_types.py +109 -0
  637. simple_module_events-0.0.16/tests/calendar/test_extensions_loader.py +155 -0
  638. simple_module_events-0.0.16/tests/calendar/test_occurrences.py +209 -0
  639. simple_module_events-0.0.16/tests/calendar/test_occurrences_access.py +80 -0
  640. simple_module_events-0.0.16/tests/calendar/test_occurrences_bounds.py +153 -0
  641. simple_module_events-0.0.16/tests/calendar/test_occurrences_event_ids.py +91 -0
  642. simple_module_events-0.0.16/tests/calendar/test_occurrences_overrides.py +135 -0
  643. simple_module_events-0.0.16/tests/calendar/test_occurrences_plugins.py +187 -0
  644. simple_module_events-0.0.16/tests/calendar/test_plugin_connection.py +216 -0
  645. simple_module_events-0.0.16/tests/calendar/test_plugin_runner.py +283 -0
  646. simple_module_events-0.0.16/tests/calendar/test_plugin_runner_edges.py +81 -0
  647. simple_module_events-0.0.16/tests/calendar/test_plugin_scope.py +124 -0
  648. simple_module_events-0.0.16/tests/calendar/test_plugin_validate.py +220 -0
  649. simple_module_events-0.0.16/tests/calendar/test_registry.py +220 -0
  650. simple_module_events-0.0.16/tests/calendar/test_registry_registration.py +94 -0
  651. simple_module_events-0.0.16/tests/calendar/test_reserved_slugs.py +110 -0
  652. simple_module_events-0.0.16/tests/calendar/test_rrule.py +278 -0
  653. simple_module_events-0.0.16/tests/calendar/test_rrule_ascii.py +35 -0
  654. simple_module_events-0.0.16/tests/calendar/test_rrule_oracle.py +157 -0
  655. simple_module_events-0.0.16/tests/calendar/test_slug_rename_conflict.py +38 -0
  656. simple_module_events-0.0.16/tests/calendar/test_slugs.py +159 -0
  657. simple_module_events-0.0.16/tests/calendar/test_source_entries.py +189 -0
  658. simple_module_events-0.0.16/tests/calendar/test_times.py +197 -0
  659. simple_module_events-0.0.16/tests/conftest.py +82 -0
  660. simple_module_events-0.0.16/tests/content/__init__.py +0 -0
  661. simple_module_events-0.0.16/tests/content/test_bus.py +293 -0
  662. simple_module_events-0.0.16/tests/content/test_bus_emission.py +204 -0
  663. simple_module_events-0.0.16/tests/content/test_cards.py +269 -0
  664. simple_module_events-0.0.16/tests/content/test_events_extra.py +186 -0
  665. simple_module_events-0.0.16/tests/content/test_events_trash.py +111 -0
  666. simple_module_events-0.0.16/tests/content/test_events_write.py +223 -0
  667. simple_module_events-0.0.16/tests/content/test_events_write_bus.py +98 -0
  668. simple_module_events-0.0.16/tests/content/test_guard.py +117 -0
  669. simple_module_events-0.0.16/tests/content/test_listing.py +60 -0
  670. simple_module_events-0.0.16/tests/content/test_noop_writes.py +122 -0
  671. simple_module_events-0.0.16/tests/content/test_overrides.py +228 -0
  672. simple_module_events-0.0.16/tests/content/test_public_read.py +156 -0
  673. simple_module_events-0.0.16/tests/content/test_publish_due.py +283 -0
  674. simple_module_events-0.0.16/tests/content/test_publish_due_failures.py +60 -0
  675. simple_module_events-0.0.16/tests/content/test_revisions.py +139 -0
  676. simple_module_events-0.0.16/tests/content/test_richtext.py +226 -0
  677. simple_module_events-0.0.16/tests/content/test_richtext_tree.py +99 -0
  678. simple_module_events-0.0.16/tests/content/test_series_change.py +208 -0
  679. simple_module_events-0.0.16/tests/content/test_subevents.py +106 -0
  680. simple_module_events-0.0.16/tests/content/test_texts.py +168 -0
  681. simple_module_events-0.0.16/tests/content/test_types.py +77 -0
  682. simple_module_events-0.0.16/tests/content/test_workflow.py +264 -0
  683. simple_module_events-0.0.16/tests/content/test_write_seam.py +31 -0
  684. simple_module_events-0.0.16/tests/contracts/__init__.py +0 -0
  685. simple_module_events-0.0.16/tests/contracts/test_cards_contract.py +183 -0
  686. simple_module_events-0.0.16/tests/contracts/test_cards_contract_tenancy.py +180 -0
  687. simple_module_events-0.0.16/tests/contracts/test_occurrences_contract.py +141 -0
  688. simple_module_events-0.0.16/tests/contracts/test_registration_contract.py +211 -0
  689. simple_module_events-0.0.16/tests/contracts/test_registration_summaries.py +133 -0
  690. simple_module_events-0.0.16/tests/core/__init__.py +0 -0
  691. simple_module_events-0.0.16/tests/core/access/__init__.py +0 -0
  692. simple_module_events-0.0.16/tests/core/access/test_event_access.py +162 -0
  693. simple_module_events-0.0.16/tests/core/access/test_offline.py +261 -0
  694. simple_module_events-0.0.16/tests/core/access/test_offline_accounts.py +61 -0
  695. simple_module_events-0.0.16/tests/core/access/test_policy.py +143 -0
  696. simple_module_events-0.0.16/tests/core/access/test_public_access.py +44 -0
  697. simple_module_events-0.0.16/tests/core/access/test_resource_types.py +90 -0
  698. simple_module_events-0.0.16/tests/core/tenancy/__init__.py +0 -0
  699. simple_module_events-0.0.16/tests/core/tenancy/test_request_context.py +23 -0
  700. simple_module_events-0.0.16/tests/core/tenancy/test_tenancy.py +119 -0
  701. simple_module_events-0.0.16/tests/core/test_core_dml_marks.py +57 -0
  702. simple_module_events-0.0.16/tests/core/test_errors.py +164 -0
  703. simple_module_events-0.0.16/tests/core/test_errors_subscriptions.py +84 -0
  704. simple_module_events-0.0.16/tests/core/test_layout.py +62 -0
  705. simple_module_events-0.0.16/tests/core/test_locales.py +37 -0
  706. simple_module_events-0.0.16/tests/core/test_module_boot.py +95 -0
  707. simple_module_events-0.0.16/tests/core/test_packaging.py +45 -0
  708. simple_module_events-0.0.16/tests/core/test_pagebuilder_optional.py +48 -0
  709. simple_module_events-0.0.16/tests/core/test_public_prefix.py +65 -0
  710. simple_module_events-0.0.16/tests/core/test_reminders_doc.py +53 -0
  711. simple_module_events-0.0.16/tests/core/test_settings.py +94 -0
  712. simple_module_events-0.0.16/tests/core/test_task_discovery.py +122 -0
  713. simple_module_events-0.0.16/tests/core/test_timezones.py +27 -0
  714. simple_module_events-0.0.16/tests/core/test_user_ids.py +70 -0
  715. simple_module_events-0.0.16/tests/core/test_web_urls.py +43 -0
  716. simple_module_events-0.0.16/tests/core/test_worker.py +118 -0
  717. simple_module_events-0.0.16/tests/core/test_worker_secret.py +107 -0
  718. simple_module_events-0.0.16/tests/feeds/__init__.py +1 -0
  719. simple_module_events-0.0.16/tests/feeds/importing/__init__.py +0 -0
  720. simple_module_events-0.0.16/tests/feeds/importing/corpus.py +150 -0
  721. simple_module_events-0.0.16/tests/feeds/importing/mapping.py +41 -0
  722. simple_module_events-0.0.16/tests/feeds/importing/runner_support.py +109 -0
  723. simple_module_events-0.0.16/tests/feeds/importing/staging_support.py +42 -0
  724. simple_module_events-0.0.16/tests/feeds/importing/test_complexity.py +150 -0
  725. simple_module_events-0.0.16/tests/feeds/importing/test_event_limits.py +44 -0
  726. simple_module_events-0.0.16/tests/feeds/importing/test_fence.py +75 -0
  727. simple_module_events-0.0.16/tests/feeds/importing/test_golden.py +205 -0
  728. simple_module_events-0.0.16/tests/feeds/importing/test_janitor.py +194 -0
  729. simple_module_events-0.0.16/tests/feeds/importing/test_labels.py +50 -0
  730. simple_module_events-0.0.16/tests/feeds/importing/test_limits_doc.py +54 -0
  731. simple_module_events-0.0.16/tests/feeds/importing/test_mapper.py +277 -0
  732. simple_module_events-0.0.16/tests/feeds/importing/test_mapper_exdates.py +55 -0
  733. simple_module_events-0.0.16/tests/feeds/importing/test_mapper_series.py +271 -0
  734. simple_module_events-0.0.16/tests/feeds/importing/test_mapper_url.py +39 -0
  735. simple_module_events-0.0.16/tests/feeds/importing/test_parse_step.py +199 -0
  736. simple_module_events-0.0.16/tests/feeds/importing/test_preview_unchanged.py +58 -0
  737. simple_module_events-0.0.16/tests/feeds/importing/test_runner.py +281 -0
  738. simple_module_events-0.0.16/tests/feeds/importing/test_runner_rights.py +197 -0
  739. simple_module_events-0.0.16/tests/feeds/importing/test_runner_rights_ttl.py +81 -0
  740. simple_module_events-0.0.16/tests/feeds/importing/test_scan.py +268 -0
  741. simple_module_events-0.0.16/tests/feeds/importing/test_scan_event_limits.py +72 -0
  742. simple_module_events-0.0.16/tests/feeds/importing/test_staging.py +170 -0
  743. simple_module_events-0.0.16/tests/feeds/importing/test_text.py +80 -0
  744. simple_module_events-0.0.16/tests/feeds/importing/test_typed_events.py +129 -0
  745. simple_module_events-0.0.16/tests/feeds/importing/test_utc_series.py +128 -0
  746. simple_module_events-0.0.16/tests/feeds/importing/test_values.py +244 -0
  747. simple_module_events-0.0.16/tests/feeds/importing/test_write.py +175 -0
  748. simple_module_events-0.0.16/tests/feeds/importing/test_write_private.py +119 -0
  749. simple_module_events-0.0.16/tests/feeds/importing/test_write_silent.py +89 -0
  750. simple_module_events-0.0.16/tests/feeds/importing/test_write_update.py +234 -0
  751. simple_module_events-0.0.16/tests/feeds/importing/write_support.py +77 -0
  752. simple_module_events-0.0.16/tests/feeds/subscriptions/__init__.py +0 -0
  753. simple_module_events-0.0.16/tests/feeds/subscriptions/conftest.py +190 -0
  754. simple_module_events-0.0.16/tests/feeds/subscriptions/refresh_support.py +107 -0
  755. simple_module_events-0.0.16/tests/feeds/subscriptions/test_client.py +250 -0
  756. simple_module_events-0.0.16/tests/feeds/subscriptions/test_client_tls.py +102 -0
  757. simple_module_events-0.0.16/tests/feeds/subscriptions/test_contract_external_optin.py +42 -0
  758. simple_module_events-0.0.16/tests/feeds/subscriptions/test_dns.py +117 -0
  759. simple_module_events-0.0.16/tests/feeds/subscriptions/test_end_to_end_tls.py +111 -0
  760. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch.py +260 -0
  761. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch_limits.py +279 -0
  762. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch_policy_of_saver.py +138 -0
  763. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch_politeness.py +69 -0
  764. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch_secrecy.py +80 -0
  765. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch_tls.py +66 -0
  766. simple_module_events-0.0.16/tests/feeds/subscriptions/test_fetch_unexpected.py +80 -0
  767. simple_module_events-0.0.16/tests/feeds/subscriptions/test_generation_assignment.py +34 -0
  768. simple_module_events-0.0.16/tests/feeds/subscriptions/test_internal_detail.py +106 -0
  769. simple_module_events-0.0.16/tests/feeds/subscriptions/test_items.py +128 -0
  770. simple_module_events-0.0.16/tests/feeds/subscriptions/test_janitor_subscriptions.py +96 -0
  771. simple_module_events-0.0.16/tests/feeds/subscriptions/test_lease.py +163 -0
  772. simple_module_events-0.0.16/tests/feeds/subscriptions/test_lease_fairness.py +93 -0
  773. simple_module_events-0.0.16/tests/feeds/subscriptions/test_policy.py +238 -0
  774. simple_module_events-0.0.16/tests/feeds/subscriptions/test_policy_addresses.py +206 -0
  775. simple_module_events-0.0.16/tests/feeds/subscriptions/test_policy_defaults.py +38 -0
  776. simple_module_events-0.0.16/tests/feeds/subscriptions/test_policy_denied.py +65 -0
  777. simple_module_events-0.0.16/tests/feeds/subscriptions/test_refresh.py +170 -0
  778. simple_module_events-0.0.16/tests/feeds/subscriptions/test_refresh_budget.py +218 -0
  779. simple_module_events-0.0.16/tests/feeds/subscriptions/test_refresh_pause.py +30 -0
  780. simple_module_events-0.0.16/tests/feeds/subscriptions/test_refresh_policy.py +29 -0
  781. simple_module_events-0.0.16/tests/feeds/subscriptions/test_refresh_secrecy.py +73 -0
  782. simple_module_events-0.0.16/tests/feeds/subscriptions/test_refresh_worker.py +172 -0
  783. simple_module_events-0.0.16/tests/feeds/subscriptions/test_registration_never_external.py +74 -0
  784. simple_module_events-0.0.16/tests/feeds/subscriptions/test_schedule.py +76 -0
  785. simple_module_events-0.0.16/tests/feeds/subscriptions/test_source.py +275 -0
  786. simple_module_events-0.0.16/tests/feeds/subscriptions/test_store.py +228 -0
  787. simple_module_events-0.0.16/tests/feeds/subscriptions/test_store_outside_lock.py +77 -0
  788. simple_module_events-0.0.16/tests/feeds/subscriptions/test_subscriptions_doc.py +129 -0
  789. simple_module_events-0.0.16/tests/feeds/subscriptions/test_target_floor.py +267 -0
  790. simple_module_events-0.0.16/tests/feeds/subscriptions/test_tick_capacity.py +121 -0
  791. simple_module_events-0.0.16/tests/feeds/subscriptions/test_tick_fairness.py +170 -0
  792. simple_module_events-0.0.16/tests/feeds/subscriptions/test_url_never_logged.py +93 -0
  793. simple_module_events-0.0.16/tests/feeds/subscriptions/test_urls.py +136 -0
  794. simple_module_events-0.0.16/tests/feeds/test_ics_calendar.py +88 -0
  795. simple_module_events-0.0.16/tests/feeds/test_ics_event.py +267 -0
  796. simple_module_events-0.0.16/tests/feeds/test_ics_roundtrip.py +120 -0
  797. simple_module_events-0.0.16/tests/feeds/test_ics_tz.py +98 -0
  798. simple_module_events-0.0.16/tests/feeds/test_ics_vs_occurrences.py +148 -0
  799. simple_module_events-0.0.16/tests/feeds/test_licences.py +32 -0
  800. simple_module_events-0.0.16/tests/feeds/test_plaintext.py +67 -0
  801. simple_module_events-0.0.16/tests/feeds/test_plugin_items.py +131 -0
  802. simple_module_events-0.0.16/tests/feeds/test_sanitize.py +85 -0
  803. simple_module_events-0.0.16/tests/feeds/test_select.py +294 -0
  804. simple_module_events-0.0.16/tests/feeds/tokens/__init__.py +0 -0
  805. simple_module_events-0.0.16/tests/feeds/tokens/conftest.py +25 -0
  806. simple_module_events-0.0.16/tests/feeds/tokens/resolve_support.py +86 -0
  807. simple_module_events-0.0.16/tests/feeds/tokens/test_cleanup.py +195 -0
  808. simple_module_events-0.0.16/tests/feeds/tokens/test_codec.py +56 -0
  809. simple_module_events-0.0.16/tests/feeds/tokens/test_log_redact.py +195 -0
  810. simple_module_events-0.0.16/tests/feeds/tokens/test_resolve.py +173 -0
  811. simple_module_events-0.0.16/tests/feeds/tokens/test_resolve_feed.py +101 -0
  812. simple_module_events-0.0.16/tests/feeds/tokens/test_service.py +215 -0
  813. simple_module_events-0.0.16/tests/feeds/tokens/test_throttle.py +78 -0
  814. simple_module_events-0.0.16/tests/feeds/tokens/test_touch.py +39 -0
  815. simple_module_events-0.0.16/tests/fixtures/acme_events/__init__.py +0 -0
  816. simple_module_events-0.0.16/tests/fixtures/acme_events/events_extensions.py +42 -0
  817. simple_module_events-0.0.16/tests/fixtures/broken_events/__init__.py +1 -0
  818. simple_module_events-0.0.16/tests/fixtures/richtext_blocks.json +30 -0
  819. simple_module_events-0.0.16/tests/models/__init__.py +0 -0
  820. simple_module_events-0.0.16/tests/models/test_feed_models.py +102 -0
  821. simple_module_events-0.0.16/tests/models/test_models.py +211 -0
  822. simple_module_events-0.0.16/tests/models/test_registration_models.py +97 -0
  823. simple_module_events-0.0.16/tests/models/test_reminder_models.py +138 -0
  824. simple_module_events-0.0.16/tests/models/test_subscription_models.py +127 -0
  825. simple_module_events-0.0.16/tests/pg_support.py +76 -0
  826. simple_module_events-0.0.16/tests/registration/__init__.py +0 -0
  827. simple_module_events-0.0.16/tests/registration/conftest.py +13 -0
  828. simple_module_events-0.0.16/tests/registration/lock_trace.py +66 -0
  829. simple_module_events-0.0.16/tests/registration/seat_helpers.py +38 -0
  830. simple_module_events-0.0.16/tests/registration/support.py +103 -0
  831. simple_module_events-0.0.16/tests/registration/test_availability.py +268 -0
  832. simple_module_events-0.0.16/tests/registration/test_availability_event.py +175 -0
  833. simple_module_events-0.0.16/tests/registration/test_availability_states.py +85 -0
  834. simple_module_events-0.0.16/tests/registration/test_deadlock_pg.py +100 -0
  835. simple_module_events-0.0.16/tests/registration/test_key_canonical.py +100 -0
  836. simple_module_events-0.0.16/tests/registration/test_provider_call.py +126 -0
  837. simple_module_events-0.0.16/tests/registration/test_release_order_pg.py +118 -0
  838. simple_module_events-0.0.16/tests/registration/test_release_race_pg.py +135 -0
  839. simple_module_events-0.0.16/tests/registration/test_seats.py +226 -0
  840. simple_module_events-0.0.16/tests/registration/test_seats_args.py +192 -0
  841. simple_module_events-0.0.16/tests/registration/test_seats_pg.py +237 -0
  842. simple_module_events-0.0.16/tests/registration/test_seats_release.py +153 -0
  843. simple_module_events-0.0.16/tests/registration/test_settings.py +218 -0
  844. simple_module_events-0.0.16/tests/registration/test_settings_guards.py +158 -0
  845. simple_module_events-0.0.16/tests/registration/test_settings_modes.py +167 -0
  846. simple_module_events-0.0.16/tests/registration/test_stale_event_pg.py +91 -0
  847. simple_module_events-0.0.16/tests/registration/test_target_rights.py +118 -0
  848. simple_module_events-0.0.16/tests/reminders/__init__.py +0 -0
  849. simple_module_events-0.0.16/tests/reminders/conftest.py +55 -0
  850. simple_module_events-0.0.16/tests/reminders/golden/de_series_online.json +4 -0
  851. simple_module_events-0.0.16/tests/reminders/golden/de_timed.json +4 -0
  852. simple_module_events-0.0.16/tests/reminders/golden/en_all_day_multi.json +4 -0
  853. simple_module_events-0.0.16/tests/reminders/golden/en_timed.json +4 -0
  854. simple_module_events-0.0.16/tests/reminders/support.py +142 -0
  855. simple_module_events-0.0.16/tests/reminders/test_access_freshness.py +24 -0
  856. simple_module_events-0.0.16/tests/reminders/test_availability.py +144 -0
  857. simple_module_events-0.0.16/tests/reminders/test_candidates.py +258 -0
  858. simple_module_events-0.0.16/tests/reminders/test_candidates_next.py +42 -0
  859. simple_module_events-0.0.16/tests/reminders/test_candidates_pg.py +139 -0
  860. simple_module_events-0.0.16/tests/reminders/test_claim.py +246 -0
  861. simple_module_events-0.0.16/tests/reminders/test_claim_pg.py +157 -0
  862. simple_module_events-0.0.16/tests/reminders/test_cleanup.py +241 -0
  863. simple_module_events-0.0.16/tests/reminders/test_due.py +152 -0
  864. simple_module_events-0.0.16/tests/reminders/test_external_not_reminded.py +35 -0
  865. simple_module_events-0.0.16/tests/reminders/test_follows.py +293 -0
  866. simple_module_events-0.0.16/tests/reminders/test_follows_limits.py +118 -0
  867. simple_module_events-0.0.16/tests/reminders/test_identity.py +131 -0
  868. simple_module_events-0.0.16/tests/reminders/test_labels.py +55 -0
  869. simple_module_events-0.0.16/tests/reminders/test_leads.py +78 -0
  870. simple_module_events-0.0.16/tests/reminders/test_limits.py +52 -0
  871. simple_module_events-0.0.16/tests/reminders/test_message.py +261 -0
  872. simple_module_events-0.0.16/tests/reminders/test_mine.py +227 -0
  873. simple_module_events-0.0.16/tests/reminders/test_recipients.py +251 -0
  874. simple_module_events-0.0.16/tests/reminders/test_send.py +248 -0
  875. simple_module_events-0.0.16/tests/reminders/test_send_more.py +58 -0
  876. simple_module_events-0.0.16/tests/reminders/test_stats.py +84 -0
  877. simple_module_events-0.0.16/tests/reminders/test_templates_packaged.py +60 -0
  878. simple_module_events-0.0.16/tests/reminders/test_tick.py +216 -0
  879. simple_module_events-0.0.16/tests/reminders/test_tick_overload.py +138 -0
  880. simple_module_events-0.0.16/tests/reminders/test_tick_task.py +29 -0
  881. simple_module_events-0.0.16/tests/reminders/test_tick_tenants.py +207 -0
  882. simple_module_events-0.0.16/tests/reminders/test_worker_parity.py +152 -0
  883. simple_module_events-0.0.16/tests/reminders/test_worker_real_build.py +106 -0
  884. simple_module_events-0.0.16/tests/reminders/test_worker_runtime.py +187 -0
  885. simple_module_events-0.0.16/tests/reminders/test_worker_settings_real.py +118 -0
  886. simple_module_events-0.0.16/tests/reminders/tick_support.py +77 -0
  887. simple_module_events-0.0.16/tests/support/__init__.py +0 -0
  888. simple_module_events-0.0.16/tests/support/access.py +63 -0
  889. simple_module_events-0.0.16/tests/support/app.py +244 -0
  890. simple_module_events-0.0.16/tests/support/calendars.py +274 -0
  891. simple_module_events-0.0.16/tests/support/directory.py +64 -0
  892. simple_module_events-0.0.16/tests/support/events_http.py +106 -0
  893. simple_module_events-0.0.16/tests/support/feed_items.py +90 -0
  894. simple_module_events-0.0.16/tests/support/net.py +125 -0
  895. simple_module_events-0.0.16/tests/support/occurrences.py +30 -0
  896. simple_module_events-0.0.16/tests/support/private_feed.py +139 -0
  897. simple_module_events-0.0.16/tests/support/providers.py +96 -0
  898. simple_module_events-0.0.16/tests/support/public.py +45 -0
  899. simple_module_events-0.0.16/tests/support/source_scan.py +105 -0
  900. simple_module_events-0.0.16/tests/support/sources.py +218 -0
  901. simple_module_events-0.0.16/tests/support/sql_spy.py +26 -0
  902. simple_module_events-0.0.16/tests/support/subscriptions.py +99 -0
  903. simple_module_events-0.0.16/tests/support/subscriptions_http.py +60 -0
  904. simple_module_events-0.0.16/tests/support/templates/index.html +5 -0
  905. simple_module_events-0.0.16/tests/support/tokens.py +74 -0
  906. simple_module_events-0.0.16/tests/support/writes.py +84 -0
  907. simple_module_events-0.0.16/tests/web/__init__.py +0 -0
  908. simple_module_events-0.0.16/tests/web/public/__init__.py +1 -0
  909. simple_module_events-0.0.16/tests/web/public/conftest.py +24 -0
  910. simple_module_events-0.0.16/tests/web/public/leaks.py +172 -0
  911. simple_module_events-0.0.16/tests/web/public/test_blocks_doc.py +83 -0
  912. simple_module_events-0.0.16/tests/web/public/test_boot.py +288 -0
  913. simple_module_events-0.0.16/tests/web/public/test_event_extra.py +89 -0
  914. simple_module_events-0.0.16/tests/web/public/test_event_page.py +298 -0
  915. simple_module_events-0.0.16/tests/web/public/test_event_page_details.py +224 -0
  916. simple_module_events-0.0.16/tests/web/public/test_event_props_registration.py +136 -0
  917. simple_module_events-0.0.16/tests/web/public/test_external_never_reexported.py +148 -0
  918. simple_module_events-0.0.16/tests/web/public/test_feeds_http.py +234 -0
  919. simple_module_events-0.0.16/tests/web/public/test_feeds_redirects.py +101 -0
  920. simple_module_events-0.0.16/tests/web/public/test_head.py +146 -0
  921. simple_module_events-0.0.16/tests/web/public/test_head_hydration_keys.py +146 -0
  922. simple_module_events-0.0.16/tests/web/public/test_head_matches_props.py +153 -0
  923. simple_module_events-0.0.16/tests/web/public/test_images.py +85 -0
  924. simple_module_events-0.0.16/tests/web/public/test_index_pages.py +264 -0
  925. simple_module_events-0.0.16/tests/web/public/test_index_pages_meta.py +91 -0
  926. simple_module_events-0.0.16/tests/web/public/test_jsonld.py +146 -0
  927. simple_module_events-0.0.16/tests/web/public/test_leaks.py +248 -0
  928. simple_module_events-0.0.16/tests/web/public/test_leaks_cards.py +84 -0
  929. simple_module_events-0.0.16/tests/web/public/test_leaks_event.py +100 -0
  930. simple_module_events-0.0.16/tests/web/public/test_leaks_routes.py +51 -0
  931. simple_module_events-0.0.16/tests/web/public/test_not_found.py +144 -0
  932. simple_module_events-0.0.16/tests/web/public/test_origin_live.py +58 -0
  933. simple_module_events-0.0.16/tests/web/public/test_plugin_blocks.py +38 -0
  934. simple_module_events-0.0.16/tests/web/public/test_plugin_leaks.py +282 -0
  935. simple_module_events-0.0.16/tests/web/public/test_plugin_leaks_cache.py +34 -0
  936. simple_module_events-0.0.16/tests/web/public/test_private_feed.py +184 -0
  937. simple_module_events-0.0.16/tests/web/public/test_private_feed_failures.py +203 -0
  938. simple_module_events-0.0.16/tests/web/public/test_private_feed_leaks.py +166 -0
  939. simple_module_events-0.0.16/tests/web/public/test_private_feed_logs.py +77 -0
  940. simple_module_events-0.0.16/tests/web/public/test_private_feed_plugins.py +154 -0
  941. simple_module_events-0.0.16/tests/web/public/test_private_feed_plugins_deny.py +64 -0
  942. simple_module_events-0.0.16/tests/web/public/test_private_feed_tenancy.py +242 -0
  943. simple_module_events-0.0.16/tests/web/public/test_public_api.py +204 -0
  944. simple_module_events-0.0.16/tests/web/public/test_public_blocks_api.py +243 -0
  945. simple_module_events-0.0.16/tests/web/public/test_public_blocks_selection.py +91 -0
  946. simple_module_events-0.0.16/tests/web/public/test_public_cache.py +241 -0
  947. simple_module_events-0.0.16/tests/web/public/test_public_urls.py +100 -0
  948. simple_module_events-0.0.16/tests/web/public/test_public_viewers.py +131 -0
  949. simple_module_events-0.0.16/tests/web/public/test_show_timezone.py +132 -0
  950. simple_module_events-0.0.16/tests/web/public/test_sitemap.py +168 -0
  951. simple_module_events-0.0.16/tests/web/test_calendar_owner_names.py +171 -0
  952. simple_module_events-0.0.16/tests/web/test_calendars_api.py +278 -0
  953. simple_module_events-0.0.16/tests/web/test_calendars_list_queries.py +70 -0
  954. simple_module_events-0.0.16/tests/web/test_calendars_reminder_defaults.py +94 -0
  955. simple_module_events-0.0.16/tests/web/test_calendars_trash_api.py +55 -0
  956. simple_module_events-0.0.16/tests/web/test_categories_api.py +111 -0
  957. simple_module_events-0.0.16/tests/web/test_control_characters.py +139 -0
  958. simple_module_events-0.0.16/tests/web/test_error_field.py +92 -0
  959. simple_module_events-0.0.16/tests/web/test_event_image_write.py +66 -0
  960. simple_module_events-0.0.16/tests/web/test_events_access.py +126 -0
  961. simple_module_events-0.0.16/tests/web/test_events_actions_api.py +267 -0
  962. simple_module_events-0.0.16/tests/web/test_events_api.py +243 -0
  963. simple_module_events-0.0.16/tests/web/test_events_api_registration.py +171 -0
  964. simple_module_events-0.0.16/tests/web/test_events_bounds_api.py +122 -0
  965. simple_module_events-0.0.16/tests/web/test_events_errors_api.py +164 -0
  966. simple_module_events-0.0.16/tests/web/test_events_extra_api.py +90 -0
  967. simple_module_events-0.0.16/tests/web/test_events_list_api.py +265 -0
  968. simple_module_events-0.0.16/tests/web/test_extensions_api.py +233 -0
  969. simple_module_events-0.0.16/tests/web/test_extensions_hidden.py +179 -0
  970. simple_module_events-0.0.16/tests/web/test_feed_tokens_api.py +214 -0
  971. simple_module_events-0.0.16/tests/web/test_imports_access.py +122 -0
  972. simple_module_events-0.0.16/tests/web/test_imports_api.py +259 -0
  973. simple_module_events-0.0.16/tests/web/test_imports_api_guards.py +94 -0
  974. simple_module_events-0.0.16/tests/web/test_masking.py +61 -0
  975. simple_module_events-0.0.16/tests/web/test_occurrences_api.py +196 -0
  976. simple_module_events-0.0.16/tests/web/test_picker_label_matching.py +96 -0
  977. simple_module_events-0.0.16/tests/web/test_preview_access.py +77 -0
  978. simple_module_events-0.0.16/tests/web/test_registrations_api.py +190 -0
  979. simple_module_events-0.0.16/tests/web/test_reminders_access_api.py +107 -0
  980. simple_module_events-0.0.16/tests/web/test_reminders_api.py +234 -0
  981. simple_module_events-0.0.16/tests/web/test_reminders_mine_api.py +191 -0
  982. simple_module_events-0.0.16/tests/web/test_reminders_view.py +40 -0
  983. simple_module_events-0.0.16/tests/web/test_revision_actor_names.py +148 -0
  984. simple_module_events-0.0.16/tests/web/test_shares_api.py +270 -0
  985. simple_module_events-0.0.16/tests/web/test_subscriptions_api.py +259 -0
  986. simple_module_events-0.0.16/tests/web/test_subscriptions_builtin_source.py +31 -0
  987. simple_module_events-0.0.16/tests/web/test_subscriptions_capacity.py +77 -0
  988. simple_module_events-0.0.16/tests/web/test_subscriptions_effective_policy.py +102 -0
  989. simple_module_events-0.0.16/tests/web/test_subscriptions_public.py +124 -0
  990. simple_module_events-0.0.16/tests/web/test_subscriptions_publish_leak.py +206 -0
  991. simple_module_events-0.0.16/tests/web/test_subscriptions_queued.py +83 -0
  992. simple_module_events-0.0.16/tests/web/test_subscriptions_rules.py +250 -0
  993. simple_module_events-0.0.16/tests/web/test_subscriptions_triggers.py +160 -0
  994. simple_module_events-0.0.16/tests/web/test_trashed_event_access.py +86 -0
  995. simple_module_events-0.0.16/tests/web/test_url_credentials.py +41 -0
  996. simple_module_events-0.0.16/tests/web/test_views.py +286 -0
  997. simple_module_events-0.0.16/tests/web/test_views_extensions.py +70 -0
  998. simple_module_events-0.0.16/tsconfig.json +10 -0
@@ -0,0 +1,58 @@
1
+ .claude/settings.local.json
2
+
3
+ # Python
4
+ .venv/
5
+ __pycache__/
6
+ *.pyc
7
+ *.egg-info/
8
+
9
+ # Node
10
+ node_modules/
11
+ dist/
12
+
13
+ # Built module frontend bundles (force-included into wheels at build time)
14
+ modules/*/*/static/dist/
15
+
16
+ # Host build output and the module-pages manifest regenerated by `make gen-pages`
17
+ host/static/dist/
18
+ host/client_app/modules.manifest.json
19
+ host/client_app/modules.generated.ts
20
+ host/client_app/modules.generated.css
21
+ host/client_app/modules.assets.json
22
+
23
+ # Local databases. `make migrate` resolves alembic's script_location relative
24
+ # to the repo root, so running it the documented way leaves ./app.db here —
25
+ # not under host/ — and it must never be committed.
26
+ host/*.db
27
+ app.db*
28
+ # SQLite runs in WAL mode since framework 0.0.35 (#339): its sidecar files.
29
+ host/*.db-wal
30
+ host/*.db-shm
31
+ # `make beat` keeps Celery beat's schedule state in the repo root.
32
+ celerybeat-schedule*
33
+
34
+ # Runtime upload storage (PagebuilderSettings.media_root)
35
+ var/
36
+ # file_storage's local backend (DEFAULT_FS_ROOT = ./uploads), which the dev
37
+ # host creates in the repo root
38
+ uploads/
39
+
40
+ # Env
41
+ .env
42
+
43
+ # Playwright
44
+ playwright-report/
45
+ test-results/
46
+ .e2e-shards/
47
+ blob-report/
48
+ .playwright-mcp/
49
+ .playwright-cli/
50
+
51
+ # macOS
52
+ .DS_Store
53
+
54
+ # QA / verify pipeline artifacts (/qa, /vf)
55
+ .qa/
56
+ .verify/
57
+ # Scratch database a /qa run boots against, so it never touches host/app.db.
58
+ qa.db*
@@ -0,0 +1,92 @@
1
+ Copyright (c) Anto Subash. Licensed under the MIT License.
2
+ simple_module_events
3
+
4
+ The calendar grid (the frontend, built into the host's bundle from this package's
5
+ source and installed by npm) uses the third-party packages below. They are not
6
+ included in this wheel; their notices are reproduced here because a deployment
7
+ that redistributes the built bundle must keep them.
8
+
9
+ -------------------------------------------------------------------------------
10
+ FullCalendar - @fullcalendar/react, @fullcalendar/core, @full-ui/headless-calendar
11
+ Source: https://github.com/fullcalendar/fullcalendar
12
+ License: MIT (the MIT-licensed packages only; the Premium scheduler, resource and
13
+ timeline packages are not used and are refused by the license allow-list test)
14
+
15
+ MIT License
16
+
17
+ Copyright (c) 2026 Adam Shaw
18
+
19
+ Permission is hereby granted, free of charge, to any person obtaining
20
+ a copy of this software and associated documentation files (the
21
+ "Software"), to deal in the Software without restriction, including
22
+ without limitation the rights to use, copy, modify, merge, publish,
23
+ distribute, sublicense, and/or sell copies of the Software, and to
24
+ permit persons to whom the Software is furnished to do so, subject to
25
+ the following conditions:
26
+
27
+ The above copyright notice and this permission notice shall be
28
+ included in all copies or substantial portions of the Software.
29
+
30
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
33
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
34
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
35
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
36
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37
+
38
+ -------------------------------------------------------------------------------
39
+ Temporal polyfill - temporal-polyfill, temporal-utils
40
+ Source: https://github.com/fullcalendar/temporal-polyfill
41
+ License: MIT
42
+
43
+ MIT License
44
+
45
+ Copyright (c) 2026 Adam Shaw
46
+
47
+ Permission is hereby granted, free of charge, to any person obtaining
48
+ a copy of this software and associated documentation files (the
49
+ "Software"), to deal in the Software without restriction, including
50
+ without limitation the rights to use, copy, modify, merge, publish,
51
+ distribute, sublicense, and/or sell copies of the Software, and to
52
+ permit persons to whom the Software is furnished to do so, subject to
53
+ the following conditions:
54
+
55
+ The above copyright notice and this permission notice shall be
56
+ included in all copies or substantial portions of the Software.
57
+
58
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
59
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
61
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
62
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
63
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
64
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65
+
66
+ -------------------------------------------------------------------------------
67
+ temporal-spec (TypeScript definitions for Temporal)
68
+ Source: https://github.com/fullcalendar/temporal-polyfill
69
+ License: Apache-2.0
70
+
71
+ Copyright 2026 Adam Shaw
72
+
73
+ Licensed under the Apache License, Version 2.0 (the "License");
74
+ you may not use this file except in compliance with the License.
75
+ You may obtain a copy of the License at
76
+
77
+ https://www.apache.org/licenses/LICENSE-2.0
78
+
79
+ Unless required by applicable law or agreed to in writing, software
80
+ distributed under the License is distributed on an "AS IS" BASIS,
81
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
82
+ See the License for the specific language governing permissions and
83
+ limitations under the License.
84
+
85
+ ---
86
+
87
+ Portions of this software are derived from the TypeScript project
88
+ (https://github.com/microsoft/TypeScript), Copyright (c) Microsoft Corporation,
89
+ licensed under the Apache License, Version 2.0.
90
+
91
+ The full text of the Apache License, Version 2.0 is at
92
+ https://www.apache.org/licenses/LICENSE-2.0
@@ -0,0 +1,266 @@
1
+ Metadata-Version: 2.5
2
+ Name: simple_module_events
3
+ Version: 0.0.16
4
+ Summary: Calendars and events for SimpleModule hosts: timezone-aware and recurring events, shareable calendars, public pages and ICS feeds
5
+ Project-URL: Repository, https://github.com/antosubash/smpy_modules
6
+ Author-email: Anto Subash <antosubash@live.com>
7
+ License-Expression: MIT
8
+ License-File: NOTICE
9
+ Keywords: calendar,events,simple-module
10
+ Requires-Python: >=3.12
11
+ Requires-Dist: anyio<5,>=4
12
+ Requires-Dist: babel<3,>=2.12
13
+ Requires-Dist: cryptography>=42
14
+ Requires-Dist: httpcore<2,>=1
15
+ Requires-Dist: httpx<1,>=0.27
16
+ Requires-Dist: icalendar<8,>=7
17
+ Requires-Dist: idna<4,>=3
18
+ Requires-Dist: jinja2<4,>=3.1
19
+ Requires-Dist: pydantic-settings>=2.0
20
+ Requires-Dist: python-dateutil<4,>=2.9
21
+ Requires-Dist: simple-module-background-tasks<0.1,>=0.0.44
22
+ Requires-Dist: simple-module-core<0.1,>=0.0.44
23
+ Requires-Dist: simple-module-db<0.1,>=0.0.44
24
+ Requires-Dist: simple-module-hosting<0.1,>=0.0.44
25
+ Requires-Dist: simple-module-inertia<0.1,>=0.0.44
26
+ Requires-Dist: simple-module-settings<0.1,>=0.0.44
27
+ Requires-Dist: simple-module-sharing<0.1,>=0.0.44
28
+ Provides-Extra: dev
29
+ Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
30
+ Requires-Dist: pytest>=8.0; extra == 'dev'
31
+ Requires-Dist: simple-module-test<0.1,>=0.0.44; extra == 'dev'
32
+ Provides-Extra: pagebuilder
33
+ Requires-Dist: simple-module-pagebuilder<0.1,>=0.0.16; extra == 'pagebuilder'
34
+ Description-Content-Type: text/markdown
35
+
36
+ # simple_module_events
37
+
38
+ Owned calendars with private, internal or public visibility, calendar sharing,
39
+ multilingual categories, and events for SimpleModule hosts. Events have texts in
40
+ each content language, one-off, all-day and recurring schedules, overrides for
41
+ single occurrences, a review and publishing workflow, and a bounded occurrences
42
+ read, a console calendar, a public site (pages, ICS feeds, JSON-LD and a sitemap), private feed
43
+ links and `.ics` import, pagebuilder blocks, reminders, registration through records and read-only
44
+ subscriptions to external calendars. The module is complete (ten parts). See the
45
+ [guide](docs/index.md), [public pages](docs/public.md), [feeds](docs/feeds.md),
46
+ [import](docs/import.md), [blocks and cards](docs/blocks.md), [reminders](docs/reminders.md),
47
+ [registration](../records/docs/registration.md), [subscriptions](docs/subscriptions.md),
48
+ [operating](docs/operations.md) and the
49
+ [approved design](../../docs/superpowers/specs/2026-11-17-events-module-design.md).
50
+
51
+ ## Install
52
+
53
+ Add `simple_module_events` to the consuming host's dependencies:
54
+
55
+ ```bash
56
+ pip install simple_module_events
57
+ ```
58
+
59
+ The framework's `settings`, `sharing` and `background_tasks` modules must also be
60
+ installed (`background_tasks` runs scheduled publishing). The
61
+ module is discovered through its `simple_module` entry point. In this repo,
62
+ the workspace dependency and host wiring are already present:
63
+
64
+ ```bash
65
+ make install
66
+ make migrate
67
+ ```
68
+
69
+ For a different host, autogenerate and inspect its own migration:
70
+
71
+ ```bash
72
+ make migration msg="add events"
73
+ ```
74
+
75
+ Set `branch_labels = ("events",)` on its first events revision, inspect that
76
+ it creates the seven `events_*` tables without dropping existing data, then
77
+ run `make migrate`. Migrations belong to the host, never to this wheel. The
78
+ label is a named target in the host's shared history; downgrading
79
+ `events@base` does not remove only events' tables.
80
+
81
+ ## Pagebuilder blocks
82
+
83
+ With the `pagebuilder` extra, events adds an "Upcoming events" list and a read-only "Events
84
+ calendar" to pagebuilder's palette. They show only published events of public calendars,
85
+ fetched when the page is viewed. `sm_events.contracts.cards` gives newsletter the same public
86
+ projection for its Event card. See [blocks and cards](docs/blocks.md).
87
+
88
+ ## Reminders
89
+
90
+ A signed-in user follows a published event ("Remind me") with one or more lead times (15 minutes, 1
91
+ hour, 1 day, 1 week) and gets one email per occurrence and lead, at most once, from the `events.reminders`
92
+ beat. It needs a worker and beat serving the `events` queue, a mail transport that delivers and the host's
93
+ `public_base_url`; the control says why in words when reminders cannot be delivered. The worker grants no
94
+ more access than a request would, so a user whose only right is the tenant membership role is told no mail
95
+ will come (upstream #1005). See [Reminders](docs/reminders.md).
96
+
97
+ ## Usage
98
+
99
+ Open `/admin/events/calendars` to create a calendar, edit its metadata, change
100
+ visibility, share it, or move it to Trash and restore it. Calendar slugs may
101
+ be renamed in this release. Creation needs `events.edit` and makes the caller
102
+ the owner. Only `events.manage` holders see **Transfer ownership**; they pick
103
+ an active member of the current tenant. The user picker searches after three
104
+ characters and shows the server's masked email; an exact address search may
105
+ return that address in full.
106
+
107
+ Open `/admin/events/categories` with `events.view` and `events.manage` to enter category names in each configured
108
+ content language. The first language is required. Categories have an optional
109
+ colour and a slug fixed at creation. Deletion leaves events uncategorised.
110
+
111
+ `/admin/events/` (`events.view`) is the calendar: month, week, day and list
112
+ views over every calendar the caller can read, with a filter per calendar and
113
+ category, a toggle between the calendar's time zone and the browser's, and
114
+ live state in the URL (`?view=week&date=2026-03-25&tz=mine&calendar=<id>`). A
115
+ caller who may write events can click or drag-select a slot to create a draft,
116
+ drag an event to another time or day, drag its edge to change the end, or open
117
+ it and choose **Move…**, the keyboard path for both. A drag moves one
118
+ occurrence of a series or the whole series (a prompt asks) and never rewrites
119
+ the repeat rule. See the guide's [The calendar](docs/index.md#the-calendar).
120
+
121
+ Open `/admin/events/list` (`events.view`) for the Events list: filter by
122
+ calendar, status (draft, in review, published, scheduled), category, date range
123
+ and title, page through the results, and move an event to Trash or restore it.
124
+ **New event** opens the editor on a calendar the caller may write in. The editor
125
+ (`/admin/events/edit/{id}`) has the texts per content language with a rich-text
126
+ description, times on the event's own clock (timezone and all-day), place,
127
+ category, sub-events, the repeat rule with a preview of the next occurrences and
128
+ skip, cancel and move for single ones, the workflow bar (submit, withdraw,
129
+ approve now or later, reject with a note, cancel a schedule, unpublish) and the
130
+ revision history. A save that meets a newer revision shows what changed and asks
131
+ whether to load theirs or save yours over it. A published or scheduled event is
132
+ read-only for a caller without `events.publish`, with the reason on screen.
133
+ Scheduled publishing needs the Celery beat (see the guide's
134
+ [Scheduled publishing](docs/index.md#scheduled-publishing-needs-beat)).
135
+
136
+ ### API
137
+
138
+ All paths below start with `/api/events`. Writes use the framework's session
139
+ CSRF token (`X-CSRF-Token`); module errors use `{"detail","code"}`. FastAPI
140
+ request-validation errors retain their ordinary 422 shape. Unknown or
141
+ inaccessible calendars return the same 404. Calendars use last-write-wins
142
+ metadata forms and have no `expected_revision`; every event write quotes it
143
+ (409 `stale`).
144
+
145
+ | Method and path | Action / permission |
146
+ | --- | --- |
147
+ | `GET /calendars?trashed=false` | List readable calendars; `events.view` |
148
+ | `POST /calendars` | Create; `events.view` and `events.edit` |
149
+ | `GET /calendars/{id}` | Read through the calendar policy; `events.view` |
150
+ | `PATCH /calendars/{id}` | Edit metadata; owner, edit share or manager |
151
+ | `PUT /calendars/{id}/visibility` | Set private/internal/public; owner or manager |
152
+ | `PUT /calendars/{id}/owner` | Transfer with `{owner_id}`; manager, active tenant member only |
153
+ | `DELETE /calendars/{id}` | Move to trash; owner or manager |
154
+ | `POST /calendars/{id}/restore` | Restore; owner or manager |
155
+ | `GET /calendars/{id}/share-candidates?q=…` | Find active members; owner or manager, three characters minimum |
156
+ | `GET /categories` | List; `events.view` |
157
+ | `POST /categories` | Create; `events.view` and `events.manage` |
158
+ | `PATCH /categories/{id}` | Replace names or colour; `events.view` and `events.manage` |
159
+ | `DELETE /categories/{id}` | Delete; `events.view` and `events.manage` |
160
+ | `GET /events` | List with `calendar`, `status`, `category`, `from`, `to`, `q`, `trashed`, `locale`, `page`, `page_size`; `events.view` |
161
+ | `POST /events` | Create with `calendar_id`, `times`, `texts`; write right on the calendar |
162
+ | `GET /events/{id}` | Read with texts, overrides, sub-events and the caller's rights; `events.view` |
163
+ | `PATCH /events/{id}` | Edit with `expected_revision`; write right, plus `events.publish` when the event is published or scheduled |
164
+ | `DELETE /events/{id}?expected_revision=` | Move to trash; same right as PATCH |
165
+ | `POST /events/{id}/restore` | Restore with `expected_revision`; same right |
166
+ | `POST /events/{id}/{submit,withdraw,approve,reject,unschedule,unpublish}` | Workflow, each with `expected_revision` (see the guide's table) |
167
+ | `GET /events/{id}/revisions`, `/revisions/{number}` | History, newest first; write right |
168
+ | `POST /events/{id}/overrides` | Skip, cancel or move one occurrence; `DELETE /events/{id}/overrides/{override_id}?expected_revision=` restores it |
169
+ | `POST /recurrence/preview` | The next occurrences of a schedule and the overrides it would orphan |
170
+ | `GET /occurrences?start=&end=` | The bounded read for a range (at most 366 days, 2,000 items) |
171
+
172
+ Calendar responses carry `owner_name` (a string or `null`). An owner is named
173
+ only when they are an active member of the bound organisation with a display
174
+ name; anyone else, including an owner whose only label is an email address, is
175
+ `null` and shown as "Unknown user". No address or part of one is shown outside
176
+ the owner/manager-only picker. If the user directory or the membership store fails
177
+ (a failed query included), lists, reads and writes still succeed with `null`
178
+ owner names; the share picker and an ownership transfer still fail
179
+ rather than guess (no directory at all is a 503).
180
+
181
+ A calendar name and every category name are single line: control characters,
182
+ line and paragraph separators and text-direction controls are rejected with a
183
+ 422. A description keeps line breaks and tabs and rejects other control
184
+ characters and text-direction controls. A name with no slug-able characters
185
+ gets the slug `calendar-2` (`calendar` is a public route segment, so no calendar
186
+ takes it) or `category` (then `-2`, `-3`, ...).
187
+
188
+ Every calendar API route also needs `events.view`. Grants, lists and revokes
189
+ use the framework's `/api/sharing/shares` with
190
+ `resource_type="events.calendar"`, the calendar UUID as `resource_id`, a user
191
+ `subject_id` and role `view` or `edit`. The framework additionally requires
192
+ `sharing.share`. The picker requires the owner or a manager; an edit share does
193
+ not admit it. Calendar and category lists return at most 500 rows each.
194
+
195
+ ### Settings
196
+
197
+ Configure **Events** on the Settings screen or with
198
+ `scripts/set_setting.py`. Both fields are SYSTEM-scope and DB-backed; no
199
+ `SM_EVENTS_*` environment variables are read.
200
+
201
+ | Field | Default | Applies |
202
+ | --- | --- | --- |
203
+ | `default_timezone` | `UTC` | New calendars; unknown stored names fall back to UTC with a warning |
204
+ | `content_locales` | `["en"]` | The languages of category names, event texts and event slugs; restart required |
205
+
206
+ ### Permissions and access
207
+
208
+ `events.view` admits console readers; owners and share holders also need it.
209
+ `private` calendars are readable by their owner and shares; `internal` and
210
+ `public` calendars are readable by signed-in members with `events.view`.
211
+ Only owners, edit shares and managers edit calendar metadata. Only owners
212
+ and managers change visibility, share, trash or restore a calendar.
213
+ `events.manage` bypasses calendar visibility within the bound tenant and
214
+ manages categories and ownership. `events.publish`, combined with write access to the
215
+ calendar, approves, schedules and unpublishes events and is needed to change
216
+ an event that is published or scheduled. See the guide's [access table](docs/index.md#access).
217
+
218
+ No anonymous page or API ships yet. A public calendar's visibility prepares it
219
+ for later public, published-event reads; it exposes no anonymous screen today.
220
+
221
+ ## Extensions
222
+
223
+ A second package can add dates to a calendar (a source such as records' `records:dates`), add an event type
224
+ with its own validated `extra`, and contribute chips, details, editor and settings sections and toolbar
225
+ items. An admin turns a source on per calendar (Calendars, **Sources**). A plugin call runs on its own
226
+ database connection with a time budget and validated, bounded output, and a failing source is reported in the
227
+ calendar instead of failing it. See [the plugin guide](docs/extensions.md). Events publishes nine bus
228
+ events, also durably through the `background_tasks` outbox. The delivery list is in the [guide](docs/index.md#status).
229
+
230
+ ## Public pages
231
+
232
+ Anonymous visitors get a public calendar's published events under `public_prefix` (default
233
+ `/events`, restart-only), with `/{locale}` prefixes:
234
+
235
+ | Route | Serves |
236
+ | --- | --- |
237
+ | `/events/` | Upcoming list and a read-only calendar tab |
238
+ | `/events/c/{calendar}` | One public calendar |
239
+ | `/events/{slug}` (`?date=`) | An event, or one occurrence of a series |
240
+ | `/events/{slug}.ics`, `/events/calendar.ics`, `/events/c/{calendar}.ics` | Event file and subscription feeds |
241
+ | `/events/sitemap.xml` | Every public, indexable event |
242
+
243
+ Everything else (drafts, internal and private calendars, trash, other tenants) answers one
244
+ identical 404. See [Public pages](docs/public.md).
245
+
246
+ ### Private feeds and import
247
+
248
+ A private subscription link per user and calendar (`/events/feed/<token>.ics`, shown once,
249
+ revocable) and an `.ics` import screen (`/admin/events/import`). See
250
+ [Private feed links](docs/feeds.md) and [Importing an .ics file](docs/import.md).
251
+
252
+ ## Subscriptions
253
+
254
+ A calendar's owner (or an events manager) can subscribe it to an external `.ics` address in the
255
+ Subscriptions dialog on the Calendars screen. The external events show on that calendar, marked
256
+ **External**, read-only and as plain text; they are never re-published in this site's feeds,
257
+ reminders or newsletter cards, and reach the public grid only when the subscription is marked
258
+ public by someone with `events.publish`. The address is stored encrypted and shown only as
259
+ `https://host/…`; it is fetched by a worker through a pinned, size- and time-bounded client that
260
+ checks every resolved address and every redirect.
261
+
262
+ Two settings (Settings screen, never the environment): `subscription_refresh_minutes` (default 60,
263
+ kept between 15 and 1,440) and `allow_private_subscription_urls` (off; it lets a subscription saved
264
+ by someone with `events.manage` use private ranges, plain `http` and any port, never loopback,
265
+ link-local or metadata addresses: trusted networks only). Refreshing needs beat and a worker on
266
+ the `events` queue (`events.refresh_subscriptions`). See [the guide](docs/subscriptions.md).
@@ -0,0 +1,231 @@
1
+ # simple_module_events
2
+
3
+ Owned calendars with private, internal or public visibility, calendar sharing,
4
+ multilingual categories, and events for SimpleModule hosts. Events have texts in
5
+ each content language, one-off, all-day and recurring schedules, overrides for
6
+ single occurrences, a review and publishing workflow, and a bounded occurrences
7
+ read, a console calendar, a public site (pages, ICS feeds, JSON-LD and a sitemap), private feed
8
+ links and `.ics` import, pagebuilder blocks, reminders, registration through records and read-only
9
+ subscriptions to external calendars. The module is complete (ten parts). See the
10
+ [guide](docs/index.md), [public pages](docs/public.md), [feeds](docs/feeds.md),
11
+ [import](docs/import.md), [blocks and cards](docs/blocks.md), [reminders](docs/reminders.md),
12
+ [registration](../records/docs/registration.md), [subscriptions](docs/subscriptions.md),
13
+ [operating](docs/operations.md) and the
14
+ [approved design](../../docs/superpowers/specs/2026-11-17-events-module-design.md).
15
+
16
+ ## Install
17
+
18
+ Add `simple_module_events` to the consuming host's dependencies:
19
+
20
+ ```bash
21
+ pip install simple_module_events
22
+ ```
23
+
24
+ The framework's `settings`, `sharing` and `background_tasks` modules must also be
25
+ installed (`background_tasks` runs scheduled publishing). The
26
+ module is discovered through its `simple_module` entry point. In this repo,
27
+ the workspace dependency and host wiring are already present:
28
+
29
+ ```bash
30
+ make install
31
+ make migrate
32
+ ```
33
+
34
+ For a different host, autogenerate and inspect its own migration:
35
+
36
+ ```bash
37
+ make migration msg="add events"
38
+ ```
39
+
40
+ Set `branch_labels = ("events",)` on its first events revision, inspect that
41
+ it creates the seven `events_*` tables without dropping existing data, then
42
+ run `make migrate`. Migrations belong to the host, never to this wheel. The
43
+ label is a named target in the host's shared history; downgrading
44
+ `events@base` does not remove only events' tables.
45
+
46
+ ## Pagebuilder blocks
47
+
48
+ With the `pagebuilder` extra, events adds an "Upcoming events" list and a read-only "Events
49
+ calendar" to pagebuilder's palette. They show only published events of public calendars,
50
+ fetched when the page is viewed. `sm_events.contracts.cards` gives newsletter the same public
51
+ projection for its Event card. See [blocks and cards](docs/blocks.md).
52
+
53
+ ## Reminders
54
+
55
+ A signed-in user follows a published event ("Remind me") with one or more lead times (15 minutes, 1
56
+ hour, 1 day, 1 week) and gets one email per occurrence and lead, at most once, from the `events.reminders`
57
+ beat. It needs a worker and beat serving the `events` queue, a mail transport that delivers and the host's
58
+ `public_base_url`; the control says why in words when reminders cannot be delivered. The worker grants no
59
+ more access than a request would, so a user whose only right is the tenant membership role is told no mail
60
+ will come (upstream #1005). See [Reminders](docs/reminders.md).
61
+
62
+ ## Usage
63
+
64
+ Open `/admin/events/calendars` to create a calendar, edit its metadata, change
65
+ visibility, share it, or move it to Trash and restore it. Calendar slugs may
66
+ be renamed in this release. Creation needs `events.edit` and makes the caller
67
+ the owner. Only `events.manage` holders see **Transfer ownership**; they pick
68
+ an active member of the current tenant. The user picker searches after three
69
+ characters and shows the server's masked email; an exact address search may
70
+ return that address in full.
71
+
72
+ Open `/admin/events/categories` with `events.view` and `events.manage` to enter category names in each configured
73
+ content language. The first language is required. Categories have an optional
74
+ colour and a slug fixed at creation. Deletion leaves events uncategorised.
75
+
76
+ `/admin/events/` (`events.view`) is the calendar: month, week, day and list
77
+ views over every calendar the caller can read, with a filter per calendar and
78
+ category, a toggle between the calendar's time zone and the browser's, and
79
+ live state in the URL (`?view=week&date=2026-03-25&tz=mine&calendar=<id>`). A
80
+ caller who may write events can click or drag-select a slot to create a draft,
81
+ drag an event to another time or day, drag its edge to change the end, or open
82
+ it and choose **Move…**, the keyboard path for both. A drag moves one
83
+ occurrence of a series or the whole series (a prompt asks) and never rewrites
84
+ the repeat rule. See the guide's [The calendar](docs/index.md#the-calendar).
85
+
86
+ Open `/admin/events/list` (`events.view`) for the Events list: filter by
87
+ calendar, status (draft, in review, published, scheduled), category, date range
88
+ and title, page through the results, and move an event to Trash or restore it.
89
+ **New event** opens the editor on a calendar the caller may write in. The editor
90
+ (`/admin/events/edit/{id}`) has the texts per content language with a rich-text
91
+ description, times on the event's own clock (timezone and all-day), place,
92
+ category, sub-events, the repeat rule with a preview of the next occurrences and
93
+ skip, cancel and move for single ones, the workflow bar (submit, withdraw,
94
+ approve now or later, reject with a note, cancel a schedule, unpublish) and the
95
+ revision history. A save that meets a newer revision shows what changed and asks
96
+ whether to load theirs or save yours over it. A published or scheduled event is
97
+ read-only for a caller without `events.publish`, with the reason on screen.
98
+ Scheduled publishing needs the Celery beat (see the guide's
99
+ [Scheduled publishing](docs/index.md#scheduled-publishing-needs-beat)).
100
+
101
+ ### API
102
+
103
+ All paths below start with `/api/events`. Writes use the framework's session
104
+ CSRF token (`X-CSRF-Token`); module errors use `{"detail","code"}`. FastAPI
105
+ request-validation errors retain their ordinary 422 shape. Unknown or
106
+ inaccessible calendars return the same 404. Calendars use last-write-wins
107
+ metadata forms and have no `expected_revision`; every event write quotes it
108
+ (409 `stale`).
109
+
110
+ | Method and path | Action / permission |
111
+ | --- | --- |
112
+ | `GET /calendars?trashed=false` | List readable calendars; `events.view` |
113
+ | `POST /calendars` | Create; `events.view` and `events.edit` |
114
+ | `GET /calendars/{id}` | Read through the calendar policy; `events.view` |
115
+ | `PATCH /calendars/{id}` | Edit metadata; owner, edit share or manager |
116
+ | `PUT /calendars/{id}/visibility` | Set private/internal/public; owner or manager |
117
+ | `PUT /calendars/{id}/owner` | Transfer with `{owner_id}`; manager, active tenant member only |
118
+ | `DELETE /calendars/{id}` | Move to trash; owner or manager |
119
+ | `POST /calendars/{id}/restore` | Restore; owner or manager |
120
+ | `GET /calendars/{id}/share-candidates?q=…` | Find active members; owner or manager, three characters minimum |
121
+ | `GET /categories` | List; `events.view` |
122
+ | `POST /categories` | Create; `events.view` and `events.manage` |
123
+ | `PATCH /categories/{id}` | Replace names or colour; `events.view` and `events.manage` |
124
+ | `DELETE /categories/{id}` | Delete; `events.view` and `events.manage` |
125
+ | `GET /events` | List with `calendar`, `status`, `category`, `from`, `to`, `q`, `trashed`, `locale`, `page`, `page_size`; `events.view` |
126
+ | `POST /events` | Create with `calendar_id`, `times`, `texts`; write right on the calendar |
127
+ | `GET /events/{id}` | Read with texts, overrides, sub-events and the caller's rights; `events.view` |
128
+ | `PATCH /events/{id}` | Edit with `expected_revision`; write right, plus `events.publish` when the event is published or scheduled |
129
+ | `DELETE /events/{id}?expected_revision=` | Move to trash; same right as PATCH |
130
+ | `POST /events/{id}/restore` | Restore with `expected_revision`; same right |
131
+ | `POST /events/{id}/{submit,withdraw,approve,reject,unschedule,unpublish}` | Workflow, each with `expected_revision` (see the guide's table) |
132
+ | `GET /events/{id}/revisions`, `/revisions/{number}` | History, newest first; write right |
133
+ | `POST /events/{id}/overrides` | Skip, cancel or move one occurrence; `DELETE /events/{id}/overrides/{override_id}?expected_revision=` restores it |
134
+ | `POST /recurrence/preview` | The next occurrences of a schedule and the overrides it would orphan |
135
+ | `GET /occurrences?start=&end=` | The bounded read for a range (at most 366 days, 2,000 items) |
136
+
137
+ Calendar responses carry `owner_name` (a string or `null`). An owner is named
138
+ only when they are an active member of the bound organisation with a display
139
+ name; anyone else, including an owner whose only label is an email address, is
140
+ `null` and shown as "Unknown user". No address or part of one is shown outside
141
+ the owner/manager-only picker. If the user directory or the membership store fails
142
+ (a failed query included), lists, reads and writes still succeed with `null`
143
+ owner names; the share picker and an ownership transfer still fail
144
+ rather than guess (no directory at all is a 503).
145
+
146
+ A calendar name and every category name are single line: control characters,
147
+ line and paragraph separators and text-direction controls are rejected with a
148
+ 422. A description keeps line breaks and tabs and rejects other control
149
+ characters and text-direction controls. A name with no slug-able characters
150
+ gets the slug `calendar-2` (`calendar` is a public route segment, so no calendar
151
+ takes it) or `category` (then `-2`, `-3`, ...).
152
+
153
+ Every calendar API route also needs `events.view`. Grants, lists and revokes
154
+ use the framework's `/api/sharing/shares` with
155
+ `resource_type="events.calendar"`, the calendar UUID as `resource_id`, a user
156
+ `subject_id` and role `view` or `edit`. The framework additionally requires
157
+ `sharing.share`. The picker requires the owner or a manager; an edit share does
158
+ not admit it. Calendar and category lists return at most 500 rows each.
159
+
160
+ ### Settings
161
+
162
+ Configure **Events** on the Settings screen or with
163
+ `scripts/set_setting.py`. Both fields are SYSTEM-scope and DB-backed; no
164
+ `SM_EVENTS_*` environment variables are read.
165
+
166
+ | Field | Default | Applies |
167
+ | --- | --- | --- |
168
+ | `default_timezone` | `UTC` | New calendars; unknown stored names fall back to UTC with a warning |
169
+ | `content_locales` | `["en"]` | The languages of category names, event texts and event slugs; restart required |
170
+
171
+ ### Permissions and access
172
+
173
+ `events.view` admits console readers; owners and share holders also need it.
174
+ `private` calendars are readable by their owner and shares; `internal` and
175
+ `public` calendars are readable by signed-in members with `events.view`.
176
+ Only owners, edit shares and managers edit calendar metadata. Only owners
177
+ and managers change visibility, share, trash or restore a calendar.
178
+ `events.manage` bypasses calendar visibility within the bound tenant and
179
+ manages categories and ownership. `events.publish`, combined with write access to the
180
+ calendar, approves, schedules and unpublishes events and is needed to change
181
+ an event that is published or scheduled. See the guide's [access table](docs/index.md#access).
182
+
183
+ No anonymous page or API ships yet. A public calendar's visibility prepares it
184
+ for later public, published-event reads; it exposes no anonymous screen today.
185
+
186
+ ## Extensions
187
+
188
+ A second package can add dates to a calendar (a source such as records' `records:dates`), add an event type
189
+ with its own validated `extra`, and contribute chips, details, editor and settings sections and toolbar
190
+ items. An admin turns a source on per calendar (Calendars, **Sources**). A plugin call runs on its own
191
+ database connection with a time budget and validated, bounded output, and a failing source is reported in the
192
+ calendar instead of failing it. See [the plugin guide](docs/extensions.md). Events publishes nine bus
193
+ events, also durably through the `background_tasks` outbox. The delivery list is in the [guide](docs/index.md#status).
194
+
195
+ ## Public pages
196
+
197
+ Anonymous visitors get a public calendar's published events under `public_prefix` (default
198
+ `/events`, restart-only), with `/{locale}` prefixes:
199
+
200
+ | Route | Serves |
201
+ | --- | --- |
202
+ | `/events/` | Upcoming list and a read-only calendar tab |
203
+ | `/events/c/{calendar}` | One public calendar |
204
+ | `/events/{slug}` (`?date=`) | An event, or one occurrence of a series |
205
+ | `/events/{slug}.ics`, `/events/calendar.ics`, `/events/c/{calendar}.ics` | Event file and subscription feeds |
206
+ | `/events/sitemap.xml` | Every public, indexable event |
207
+
208
+ Everything else (drafts, internal and private calendars, trash, other tenants) answers one
209
+ identical 404. See [Public pages](docs/public.md).
210
+
211
+ ### Private feeds and import
212
+
213
+ A private subscription link per user and calendar (`/events/feed/<token>.ics`, shown once,
214
+ revocable) and an `.ics` import screen (`/admin/events/import`). See
215
+ [Private feed links](docs/feeds.md) and [Importing an .ics file](docs/import.md).
216
+
217
+ ## Subscriptions
218
+
219
+ A calendar's owner (or an events manager) can subscribe it to an external `.ics` address in the
220
+ Subscriptions dialog on the Calendars screen. The external events show on that calendar, marked
221
+ **External**, read-only and as plain text; they are never re-published in this site's feeds,
222
+ reminders or newsletter cards, and reach the public grid only when the subscription is marked
223
+ public by someone with `events.publish`. The address is stored encrypted and shown only as
224
+ `https://host/…`; it is fetched by a worker through a pinned, size- and time-bounded client that
225
+ checks every resolved address and every redirect.
226
+
227
+ Two settings (Settings screen, never the environment): `subscription_refresh_minutes` (default 60,
228
+ kept between 15 and 1,440) and `allow_private_subscription_urls` (off; it lets a subscription saved
229
+ by someone with `events.manage` use private ranges, plain `http` and any port, never loopback,
230
+ link-local or metadata addresses: trusted networks only). Refreshing needs beat and a worker on
231
+ the `events` queue (`events.refresh_subscriptions`). See [the guide](docs/subscriptions.md).