Skip to content

Update CultureWay to 2.0.0 - #18

Merged
jacalapa merged 1 commit into
mainfrom
cultureway-2
Oct 17, 2026
Merged

jacalapa merged 1 commit into
mainfrom
cultureway-2

Conversation

@jacalapa

Copy link
Copy Markdown
Contributor

CultureWay 2.0.0 runs its editor in Way.Shell.

  • Polyglot's title, menu links (per request) and signed-in user are set with AddWayShell(...) on ShellOptions; EditorOptions keeps the import limit and who may change languages. The old EditorOptions fields are obsolete in CultureWay 2.0.
  • Without sign-in (Polyglot:Auth:Enabled=false) the editor calls AllowAnonymous(): outside Development Way.Shell otherwise answers 403. New test for it.
  • Polyglot's pages read and write the theme under Way.Shell's key (way-shell:theme), so the theme stays the same between the pages and the editor.
  • Tests read the title, links and user from the editor page's shell settings, since they are no longer part of GetEditorSettings.

Checked locally: 119 tests; the published app in demo mode under /polyglot/demo in Chrome, Edge, Firefox and WebKit (sign-in, menu, user, theme both ways).

The editor runs in Way.Shell: Polyglot's title, menu links and signed-in user
are set on ShellOptions (AddWayShell) instead of the obsolete EditorOptions,
which keeps only the import limit and who may change languages. Without
sign-in the editor allows anonymous access, since outside Development it
otherwise answers 403. Polyglot's pages share the theme with the editor under
Way.Shell's key (way-shell:theme).
@jacalapa
jacalapa merged commit 25b1d27 into main Oct 17, 2026
2 checks passed
@jacalapa
jacalapa deleted the cultureway-2 branch October 17, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant