Commit Graph
587 Commits
Author SHA1 Message Date
Lauri Ojansivu 3954197a93 Merge remote-tracking branch 'origin/main' 2026-10-08 17:05:25 +03:00
Lauri Ojansivu ad51a03731 Log in by full-page redirect by default with OAuth2/OIDC, Google & co, SAML and CAS.
Every login that chooses between a popup and a redirect opened a popup by
default. Google's sign-in pages, and other identity providers', can send
Cross-Origin-Opener-Policy, which makes Meteor's popup look closed at
once: the login was tried before the provider answered, and the user
was back on the sign-in page with no error. Popups are also blocked in
iframes and on some phones. The full-page redirect has no popup to lose.

- OAUTH2_LOGIN_STYLE (OAuth2/OIDC): redirect unless it says popup, in the
  server, the Admin Panel catalog and the samples.
- OAUTH_PROVIDERS_LOGIN_STYLE (Google, GitHub, Facebook, X, Meteor
  Developer, Weibo, Meetup): redirect by default, in the code, Dockerfile,
  snap, Sandstorm package and samples.
- SAML: both identity-provider profiles log in by redirect;
  SAML_LOGIN_FLOW=popup still chooses the popup, and the client no longer
  falls back to a popup while the configuration loads.
- CAS: redirects unless "popup": true. Its redirect could never finish:
  nothing called Meteor.initCas, which the package now does at startup.
  The sign-in page also passed username and password as loginWithCas's
  options and callback, so its callback never ran, and the CAS redirect
  page echoed the request address into HTML unescaped.

A redirect login's error now reaches the reloaded sign-in page, from
accounts-oauth's page-load hook and the SAML and CAS events, instead of
the page coming back silently.

Verified against a freshly built and prepared bundle with the local
identity-provider suite and no login style set: OIDC, SAML, CAS and all
seven Meteor providers log in by redirect, and each refusal is shown on
the sign-in page (31 of 31 with Chromium). Its LDAP wrong-password case
expected wording that changed in 679a8b3499 and is corrected.

Thanks to xet7 !
2026-10-08 15:18:59 +03:00
Lauri Ojansivu 88d3285f29 Send correct proxy headers from Caddy to every WeKan container and Sandstorm.
The production Caddyfile in the Meteor 3 Docker docs left the headers to
Caddy's defaults, so behind CloudFlare WeKan saw a CloudFlare edge
address as every visitor, and with no HTTP_FORWARDED_COUNT the proxy's
own address: all users shared the login cookie refresh limit of 30 per
10 seconds, which signs users out at busy times and sends a Google login
back to the sign-in page. Examples that read CF-Connecting-IP trusted it
from anybody who connected.

The global options now trust CloudFlare's published ranges, and only
those, through client_ip_headers CF-Connecting-IP, so grey cloud sites
and direct connections use their own address. Shared snippets give every
WeKan site the same headers - X-Forwarded-Proto https and the visitor's
address as the only X-Forwarded-For and X-Real-IP - and the container
template sets HTTP_FORWARDED_COUNT=1. Sandstorm gets its own snippet that
sets X-Real-IP, which Sandstorm believes from a loopback address, and the
Sandstorm docs explain how its gateway routes by Host, takes https from
BASE_URL and finds published sites by their sandstorm-www TXT record.
Both Caddyfiles were validated with caddy adapt, and the headers checked
against a live Caddy.

Thanks to xet7 !
2026-10-08 14:58:05 +03:00
github-actions[bot] a45087c438 Bump versions for v12.24 2026-10-08 11:39:50 +00:00
github-actions[bot] 4ca1544fa9 Bump versions for v12.23 2026-10-08 06:40:47 +00:00
github-actions[bot] 0926049b7e Bump versions for v12.22 2026-10-07 21:07:58 +00:00
github-actions[bot] 47857855fe Bump versions for v12.21 2026-10-07 12:29:57 +00:00
github-actions[bot] 420792f4a7 Bump versions for v12.20 2026-10-07 00:12:06 +00:00
github-actions[bot] 4af35e8569 Bump versions for v12.19 2026-10-05 18:29:14 +00:00
github-actions[bot] 4e7d95921c Bump versions for v12.18 2026-10-04 01:25:45 +00:00
github-actions[bot] 2c4159916d Bump versions for v12.17 2026-10-03 16:43:51 +00:00
github-actions[bot] 91458e1f1c Bump versions for v12.16 2026-10-03 12:43:33 +00:00
github-actions[bot] 8ce32cfd5c Bump versions for v12.15 2026-10-02 11:51:11 +00:00
github-actions[bot] dd65239083 Bump versions for v12.14 2026-10-01 17:11:32 +00:00
github-actions[bot] cda276aea3 Bump versions for v12.13 2026-10-01 16:36:10 +00:00
Lauri Ojansivu a888aa216c Added Cloudzy SaaS 2026-09-30 10:22:27 +03:00
github-actions[bot] aba84a415b Bump versions for v12.12 2026-09-30 06:38:44 +00:00
github-actions[bot] 212a29d62c Bump versions for v12.11 2026-09-29 22:34:56 +00:00
github-actions[bot] c7c71e47ea Bump versions for v12.10 2026-09-29 19:56:47 +00:00
github-actions[bot] 7f3d919ad0 Bump versions for v12.09 2026-09-28 18:54:32 +00:00
github-actions[bot] f6f01a81ba Bump versions for v12.08 2026-09-27 18:21:38 +00:00
github-actions[bot] aa5e42c0ff Bump versions for v12.07 2026-09-27 11:13:13 +00:00
github-actions[bot] e4603e9bbb Bump versions for v12.06 2026-09-26 23:45:02 +00:00
github-actions[bot] b1669ad5c1 Bump versions for v12.05 2026-09-26 22:34:45 +00:00
github-actions[bot] 0e77fbb9d9 Bump versions for v12.04 2026-09-25 22:32:26 +00:00
github-actions[bot] bd86e71e0a Bump versions for v12.03 2026-09-25 21:37:36 +00:00
github-actions[bot] 54d26a0eb7 Bump versions for v12.02 2026-09-25 09:49:34 +00:00
github-actions[bot] 5b35bb74dd Bump versions for v12.01 2026-09-24 23:33:21 +00:00
github-actions[bot] a2dc757360 Bump versions for v12.00 2026-09-24 22:47:10 +00:00
github-actions[bot] e09307cda1 Bump versions for v11.99 2026-09-24 20:19:45 +00:00
github-actions[bot] fa7d2584df Bump versions for v11.98 2026-09-24 17:17:13 +00:00
github-actions[bot] f2ab9c3b94 Bump versions for v11.97 2026-09-24 16:50:38 +00:00
github-actions[bot] 58cbbe54e2 Bump versions for v11.96 2026-09-24 16:24:31 +00:00
github-actions[bot] b4e56c1913 Bump versions for v11.95 2026-09-24 15:45:02 +00:00
github-actions[bot] b849a427f4 Bump versions for v11.94 2026-09-24 11:26:26 +00:00
github-actions[bot] ecd853dc1d Bump versions for v11.93 2026-09-23 21:09:53 +00:00
github-actions[bot] 6d4c68a74a Bump versions for v11.91 2026-09-23 14:49:27 +00:00
Lauri Ojansivu b9ae16a443 Package separate macOS apps for Apple Silicon and Intel 2026-09-22 10:10:12 +03:00
Lauri Ojansivu 9b213cdf48 Update WeKan runtime and build guidance to Node.js 26 2026-09-22 01:01:14 +03:00
github-actions[bot] 254f4c9d44 Bump versions for v11.90 2026-09-20 23:32:05 +00:00
github-actions[bot] 9c1a5a3dcb Bump versions for v11.89 2026-09-20 20:53:06 +00:00
github-actions[bot] a44adf6b8e Bump versions for v11.88 2026-09-20 18:18:43 +00:00
github-actions[bot] 289ff9fb17 Bump versions for v11.87 2026-09-19 16:23:58 +00:00
Lauri Ojansivu 5ed9fc944a Remove obsolete Summernote integration and editor configuration.
Use the Markdown textarea for every editor. Remove the retired environment and Snap options from server settings, all platform launchers, build scripts and current documentation. Keep released and archived changelog entries intact.

Keep notification HTML escaping independent of editor configuration, preserve attachment metadata and mention behavior, and cover Markdown and emoji round trips in browser tests. Also import the translator used by attachment error handlers.

Thanks to xet7 !
2026-09-19 14:32:29 +03:00
github-actions[bot] e1e64e92b4 Bump versions for v11.86 2026-09-18 04:39:23 +00:00
github-actions[bot] 1657a96943 Bump versions for v11.85 2026-09-17 15:17:56 +00:00
github-actions[bot] 4f5013ec48 Bump versions for v11.84 2026-09-17 14:04:58 +00:00
github-actions[bot] 97f74ea3b5 Bump versions for v11.83 2026-09-15 23:48:36 +00:00
github-actions[bot] f32a0f7e10 Bump versions for v11.82 2026-09-15 22:40:21 +00:00
github-actions[bot] f238c02af7 Bump versions for v11.81 2026-09-15 22:23:51 +00:00