mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
[CAS Issue](https://github.com/wekan/wekan/issues/3204)
|
|
|
|
[CAS settings commit](https://github.com/wekan/wekan/commit/214c86cc22f4c721a79ec0a4a4f3bbd90d673f93)
|
|
|
|
Please send pull requests if CAS login does not work.
|
|
|
|
## Login style
|
|
|
|
CAS signs in by full-page redirect: the browser leaves WeKan for the CAS login
|
|
form and comes back to the same page, which finishes the login and shows any
|
|
error on the sign-in page. To open the CAS form in a popup instead, set
|
|
`"popup": true` in both `cas` and `public.cas` of `METEOR_SETTINGS`. A popup is
|
|
blocked in iframes and on some phones, and a CAS server's
|
|
`Cross-Origin-Opener-Policy` can cut it off from WeKan so the login never
|
|
finishes, which is why redirect is the default (before 2026-10-08 it was the
|
|
popup, and a redirect login could not finish at all).
|
|
|
|
Wekan clientside code is at `wekan/client/components/main/layouts.*`
|
|
|
|
Wekan serverside code is at:
|
|
- `wekan/server/authentication.js` at bottom
|
|
- `wekan/packages/*cas*/*`
|
|
|
|
Originally before moving to `wekan/packages/*cas*/*` CAS code was at https://github.com/wekan/meteor-accounts-cas
|
|
## Integration tests
|
|
|
|
See [local login protocol tests](Testing.md) for example identities, actual
|
|
request/response checks, failure cases and deployment limitations.
|