Install
Works with Drupal: ^10.6 || ^11.3 || ^12.0Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Initial beta release of ConClár Sync: a complete, protocol-compliant sync
back end for the ConClár
conference-schedule PWA, implementing the login handshake, per-user/per-app
selections API, and anonymized reporting documented in ConClár's own
docs/sync_server_api.md.
Features
- Attendees log in via this site's own login page -- core's login form
out of the box, or any other mechanism via the configurable login path. - Selections are stored per Drupal user, scoped by ConClár's
app_id, in a dedicated database table. - Module-scoped CORS and the
Origin-header CSRF check
required for a cross-origin single-page app, without touching Drupal
core's site-widecors.config. - Anonymized aggregate selection counts -- "how many people marked this
session as a favorite" -- as an admin report page, CSV download, or Drush
command, with no per-user identity ever included. - Optional
conclar_sync_flagsubmodule reflects selections
as Flag entities
instead of the default table, for sites that already use Flag.
Requirements
- Drupal core 10.6, 11.3, or 12.0 and later.
- No contributed module dependencies for the base module.
conclar_sync_flag(optional) additionally requires Flag. - A ConClár deployment configured to sync against this site from a
different origin (e.g. a subdomain) -- see the README for the CORS and
cross-subdomain cookie configuration this requires.
Testing
Covered by a full Unit/Kernel/Functional PHPUnit suite, plus a clean
PHPCS and PHPStan (level 5) pass, tested against Drupal 10.6 through
12.0-dev.
Testing
Covered by a full Unit/Kernel/Functional PHPUnit suite, plus a clean
PHPCS and PHPStan (level 5) pass, tested against Drupal 10.6 through
12.0-dev.
Known issues
- Testing against Drupal 12 (next major) is currently blocked for the
optionalconclar_sync_flagsubmodule only, by an upstream
Flag module
incompatibility with Drupal 12's updatedExecutableInterface
(unrelated to this module's own code) -- see [link once filed]. The base
module is unaffected.
This is a beta release: the API is considered stable per the documented
protocol, but please report any issues before a 1.0.0 stable release.