Sync 0.2.5: Every connection limit is enforced, and secret tables stay home
Sync 0.2.5 is a security release: a sender connection’s limits now hold on every request, and tables that hold credentials are never sent. Update both sites.
The REST API used to check only that a connection was active and the table allowed. Now each REST call, the WebSocket upgrade and every socket message pass the IP whitelist, allowed hours (UTC), expiry date, download and record limits and download password. When a sender wants the password, the sync page asks for it and keeps it only while the page is open. Large tables come in pages.
A pending connection stays pending until an admin clicks Approve: a status query or status update from the other site no longer activates it. At most 50 registrations wait at a time.
Never synced now: this module’s own tables (they hold the API credential), phoenix_kit_settings, the OAuth, invitation and provider key tables, and any table whose name contains token, secret, password, api_key or similar. The admin also comes in Estonian and Russian.
Upgrading
Update the other site too: a sender without paging sends only its first page, and the table is reported as partly pulled.
Sync 0.2.5. Install or update: {:phoenix_kit_sync, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.