24701 Commits

Author SHA1 Message Date
Miguel de Benito Delgado
7589d7888b 🚧 WIP Step 21.2 Cosmetic simplifications 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
4fd6136ff7 🚧 WIP Step 21.2 Docstrings 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
1f50f43b7b 🚧 WIP Step 21.2 Docstrings 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
38f7b4867e 🚧 WIP Step 21.1 Remove unnecessary kondo rule 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
ace1fb5f09 🚧 WIP Step 21 Refactor namespaces 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
f5cf8a9994 🚧 WIP Step 20 test last round of features 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
8adcc52cf9 🚧 WIP Step 19.2 Missing browser utils 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
d9647de4f8 🚧 WIP Step 19.1 Allow selecting cases in pilot 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
82e1cd2328 🚧 WIP Step 19 New scenes, use camera 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
787ebca69c 🚧 WIP Step 18 Camera ops 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
4acf744d6a 🚧 WIP Step 17 Support path construction 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
e18ca6860b 🚧 WIP Step 16.4 Refactor failures, remove legacy code, cleanup 2026-11-09 14:08:01 +01:00
Miguel de Benito Delgado
6bda4ecea6 🚧 WIP Step 16.3 Cleanup pilot 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
9efa2540ef 🚧 WIP Step 16.2 Renames and fixes 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
3fb4de8200 🚧 WIP Step 16.1 Relax scene macro constraints 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
3660c3c2e4 🚧 WIP Step 16 Introduce hooks for the browser and load-scene 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
a6d2b94f45 🚧 WIP Step 15.1, cosmetic 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
364c3a8053 🚧 WIP Step 15, Use transit to simplify validation 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
3d256c5aef 🚧 WIP Step 14, Grab correct w/h attrs from context 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
9e117cb635 🚧 WIP Step 13, Track failure causes
AI-assisted-by: muse-spark, GLM-5.3
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
e44fb12f35 🚧 WIP Step 12.4, Comments
AI-assisted-by: gpt6-astra
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
b0a3e96759 🚧 WIP Step 12.3, Test cleanup + missing coverage
AI-assisted-by: muse-spark, deepseek-flash
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
083817e2b0 🚧 WIP Step 12.2, Fix browser bridge, lifecycle
AI-assisted-by: muse-spark, glm-5.3
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
f7f51908ec 🚧 WIP Step 12.1, Improve case validation
AI-assisted-by: muse-spark, glm-5.3
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
c5ce9e450c 🚧 WIP Step 12, temporary pilot
- pilot runner for testing
- will be entirely removed later

AI-assisted-by: muse-spark-1.3, deepseek-flash, glm-5.3
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
68b80b9ad2 🚧 WIP Step 11, browser bridge
- New schema:viewport
- Browser bridge (with some temp code)
- Move prepare-scene out measured regions
-
AI-assisted-by: muse-spark-1.3, deepseek-flash, glm-5.3
2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
45d3528ad7 🚧 WIP Step 10, scene upload 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
a576582eb2 🚧 WIP Step 10, defcase body validation, docs 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
41ea20233a 🚧 WIP Step 9, fix naming conventions 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
a2b8715a98 🚧 WIP Step 8, simplify and clean up tests 2026-11-09 13:17:57 +01:00
Miguel de Benito Delgado
ab415ef551 🚧 WIP Step 7, scene and case declarations 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
d44fb053ce 🚧 WIP Step 6, ellipses 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
a7266f45cd 🚧 WIP Step 5, bools 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
0439e6bd0f 🚧 WIP Step 4, frames and groups 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
202371d52e 🚧 WIP Step 3, fixture macros, prng, defaults, placeholder scene 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
30a3cc053c 🚧 WIP Step 2, common scene code, validation 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
f0d51e16e8 🚧 WIP Step 1, scaffold cljs benchmark runner 2026-11-09 13:17:56 +01:00
Miguel de Benito Delgado
33602b9114
🔧 Allow skipping renderer build setup via env. var (#12882)
Set PENPOT_WASM_PREPARED=1 to speed up repeated builds
2026-11-09 12:53:18 +01:00
Luke Lau
943e63a99e
⚡ Group color updates in selections (#12875) 2026-11-09 12:08:36 +01:00
Hosted Weblate
9034e707bf
🌐 Merge branch 'origin/develop' into Weblate. 2026-11-09 11:09:57 +01:00
Alexis Morin
968edc6a55
🌐 Add translations for: French (Canada)
Currently translated at 96.7% (2285 of 2361 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/fr_CA/
2026-11-09 11:07:01 +01:00
AntonPalmqvist
a2dfcb8669
🌐 Add translations for: Swedish
Currently translated at 95.9% (2266 of 2361 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/sv/
2026-11-09 11:06:59 +01:00
Andrey Antukh
1df2941576 Merge remote-tracking branch 'origin/staging' into develop 2026-11-09 10:42:28 +01:00
Andrey Antukh
b766e88ed8 Merge remote-tracking branch 'origin/main-2.18.x' into staging 2026-11-09 10:31:58 +01:00
Andrey Antukh
f90ef83da0 📚 Update changelog 2.18.7 2026-11-09 10:28:54 +01:00
Andrey Antukh
341e3dfa65 Merge remote-tracking branch 'origin/staging' into staging 2026-11-09 10:17:47 +01:00
Andrey Antukh
e86131cf16 Merge branch 'main-2.18.x' into staging 2026-11-09 10:17:33 +01:00
Andrey Antukh
0ea6d166f0
✨ Add a session origin model to auth events (#12856)
* 🐛 Return the full profile from the LDAP invitation branch

The invitation branch responded with only {:invitation-token token},
so the session start received a map without id or auth-backend. With
the new auth-origin vocabulary that map fails validation and the login
breaks in development and tests; in production the event would be
emitted without a channel.

Return the profile plus the token, like the regular branch, and cover
both branches with RPC-level tests.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* 🐛 Mint an auth token in the OIDC callback with the invitation inside

The callback used the invitation JWE as the session token, so the
frontend landed directly on token verification and never ran the
regular session start: no signin event, no teams, no host hook.

Always mint an :auth token and carry the invitation in its claims.
Token verification returns the claims verbatim, so login-from-token
attaches the invitation to the profile and logged-in does the rest,
the same pattern the verify-email token already uses.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* ✨ Keep the session origin in the telemetry shadow rows

The anonymisation filter drops every string unless it is on a short
allowlist. Add source and activation next to lang and auth-backend so
the shadow copy keeps them; the email and the full name are still
dropped and the email domain is still derived from the email.

The filter keeps its two bindings: the transducer discards everything
that is not a UUID, a boolean or a number, so the allowlist is applied
on the filtered map, never on the raw props.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* ✨ Describe the signup outcome with activation, not with action

The three success branches of register-profile labelled a new account
as "login", "email-verification" or "accept-invitation", so the event
contradicted its own name and the value only lived in context, where
the analytics consumers never read it.

Add activation to the event props and drop action from those branches:
the name already says it is a signup, and a constant action would only
add noise. The retry branches keep their action in context because
there it distinguishes four different outcomes.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* ✨ Describe the session origin in the signin event

The event carried the profile but never said why the session started:
the only field that tried was frontend metadata that never leaves the
browser, and several flows filled it with the wrong value.

Add a small closed vocabulary (source, auth-backend, activation,
from-invitation) and compose it from the profile when signin is
emitted. The assertion fails in development and tests and is elided in
the release build, so a bad value cannot break a real login.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* ✨ Emit the session origin from every login entry point

The four emitters stamped a free-form string as metadata, so the
session event could not rely on it: two flows that were signups wrote
the same value as a login.

Route them through origin-meta: password and LDAP logins declare
source login, register declares source register with activation
immediate, and login-from-token derives both from the token issuer:
:auth for a login and :verify-email for a signup that needed the
email confirmation.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* 🐛 Send the invitation signups through the regular session start

Registering from a team invitation link navigated by hand to token
verification, so the session start never ran: no signin event, no
teams, no host hook. The same navigation was copied in four places.

Teach login-from-register to carry an optional invitation token,
extract the profile decoration into with-register-origin, and call it
from the four sites instead of the hand-written navigation.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* 🐛 Resolve the invitation without waiting for the teams

Registering from an invitation link now goes through the session
start, and that start only navigates after the teams request
completes. fetch-teams has no error handling, so a network failure
there would leave the invitation unaccepted and the user on the signup
screen with a session already minted.

Move the invitation navigation out of the teams path: it emits as soon
as the profile carries a token, and the teams path emits nothing for
an invited profile so it cannot move the user away from the token
verification screen.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* 📚 Document the session origin vocabulary and the invitation flow

Add a focused memory with the four fields, where each value comes from,
the table of flows, the LDAP exception and the invitation path through
logged-in, and link it from the frontend routing.

Update the audit-log memory: source and activation are now on the
telemetry allowlist, activation lives in props and action only exists
on the retry rows.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash

* 📎 Cover the invitation session start and fix the auth memories

The invitation flows and the token decoration in login-from-token were
only covered by helper tests, so removing the guard that keeps the
teams path from navigating, or the token attach, broke the behaviour
silently.

Run the events through ptk/watch with a teams-fetched event as input:
an invited profile navigates to the token verification screen and
never to the dashboard, and the signin keeps from-invitation. Add the
login-from-token cases with and without the token, and fix the memory
statements about action, the flow table and from-invitation.

Closes #12849

AI-assisted-by: deepseek-v4.1-flash
2026-11-09 10:11:54 +01:00
Andrey Antukh
9b1e18a478 🐛 Validate binfile library relations against the package (#12862)
Ignore imported library relations that point outside the
package or self-link a file on the v3 import path. Delete
leftover cross-team and self relations from file_library_rel
and their matching file_library_sync rows with migration
0158, sync rows first.

Move the get-files-rels SQL to a var, without behaviour change.

Cover the write-side invariants with state-based tests:
tampered manifests, package containment, self links and the
migration cleanup.

AI-assisted-by: deepseek-v4.1-flash
AI-assisted-by: muse-spark-1.3-contributor
(cherry picked from commit 0b8a428d6b28c35601793f8d05570dae614a2fd5)
2026-11-09 08:46:19 +00:00
Alexis Morin
5b9bf3cbba
🌐 Add translations for: French (Canada)
Currently translated at 96.5% (2279 of 2361 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/fr_CA/
2026-11-08 10:51:26 +01:00