Lauri Ojansivu and Claude Opus 4.8
ce09a25601
Make the per-org/team membership-sync setting auth-agnostic ( #4737 , #5850 ).
...
Renames the "Sync Members From LDAP" column to "Sync Members From Auth Provider"
so the setting and feature apply to any authentication provider (LDAP,
OAuth2/OIDC, SAML, etc.), not just LDAP. Renames the field/method/i18n key from
*SyncMembersFromLdap / sync-members-from-ldap to *SyncMembersFromAuth /
sync-members-from-auth across schema, publications, admin methods and the admin
UI, and generalizes the translation string and code comments. The other two
columns (Shared Templates, Propagate Members To Boards) were already
auth-agnostic. Thanks to xet7.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-19 11:35:28 +03:00
Lauri Ojansivu and Claude Opus 4.8
c4cc17c10d
Per-org/per-team feature toggle columns in Admin Panel > People ( #4737 , #5850 ).
...
Adds three per-record boolean settings to Organizations and Teams, each shown as
its own checkbox column in Admin Panel > People > Organizations / Teams, disabled
by default:
- Shared Templates (orgSharedTemplates / teamSharedTemplates)
- Propagate Members To Boards (orgPropagateMembersToBoards / teamPropagateMembersToBoards)
- Sync Members From LDAP (orgSyncMembersFromLdap / teamSyncMembersFromLdap)
Each column header has select-all / unselect-all (bulk set across all orgs/teams),
and the existing per-tab search box filters the rows. Schema fields, admin-only
toggle methods (per-record and bulk), and the publication projections are added;
all default off. This is the settings surface; the behaviours these flags gate
are wired separately. Thanks to xet7.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-19 11:35:28 +03:00
Harry Adel
63ce45c538
Split shared models from Meteor 3 server runtime
2026-03-24 01:50:39 +02:00
Harry Adel
620e5ce9dc
Meteor 3.4 migration: Convert remaining sync methods to async
...
Convert all remaining Meteor.methods with sync collection calls:
- users.js: deleteWorkspace → async with findOneAsync/updateAsync
- userPositionHistory.js: 3 methods → async with insertAsync/fetchAsync
- attachmentStorageSettings.js: 4 methods → findOneAsync/insertAsync/upsertAsync
- org.js, team.js, translation.js: insert → insertAsync
- boards.js: acceptInvite + collection hooks → updateAsync
- settings.js: sendInvitation → updateAsync/insertAsync
- import.js: importBoard/cloneBoard → async with await creator.create()
- attachments.js: onAfterUpload → async with findOneAsync/updateAsync
2026-03-22 17:50:31 +02:00
Harry Adel
2e3fbf25db
Meteor 3.4 migration: Convert allow/deny callbacks to async
...
Meteor 3.x supports async allow/deny callbacks. Convert all 25 sync
allow/deny callbacks across 23 model files to use async/await with
findOneAsync/fetchAsync instead of sync findOne/find().fetch().
Also converts helper functions in server/lib/utils.js:
- allowIsBoardMemberWithWriteAccessByCard -> async
- allowIsBoardMemberByCard -> async
- canUpdateCard (cards.js) -> async
- permissionHelper.allow (integrations.js) -> async
2026-03-22 17:44:29 +02:00
Lauri Ojansivu
0e410b6d7a
Fix List of users is empty, some translations not visible, count of orgs/teams/people, theme of some buttons, New org/team to be leftmost column.
...
Thanks to xet7 !
Fixes #6194
2026-03-21 00:11:08 +02:00
Harry Adel
e77be37450
Use sync code in allow/deny for 2.x
2026-02-19 00:26:47 +02:00
Harry Adel
71eb01e233
Update ReactiveCache call sites to use async/await for Meteor 3.0
...
Part 3 of ReactiveCache async migration:
- Add await before all ReactiveCache.getX() calls
- Make functions containing ReactiveCache calls async
- Convert forEach/map/filter loops with async callbacks to for...of
- Update model helpers, Meteor methods, JsonRoutes handlers
- Update collection hooks (.before/.after insert/update/remove)
- Update .allow() callbacks to async
Files updated across models/ and server/ directories:
- Model files: cards, boards, lists, swimlanes, activities, users,
checklists, checklistItems, customFields, attachments, integrations,
cardComments, settings files, creators, exporters, and more
- Server files: publications, methods, notifications, routes, migrations
2026-02-01 00:54:38 +02:00
Harry Adel
ca2083c858
Migrate createIndex to createIndexAsync
2026-01-24 01:55:29 +02:00
Lauri Ojansivu
6e2f84673e
When user logins, "Automatically add user with the domain name" (at Admin Panel / Organizations) to Organization. Part 1.
...
Thanks to xet7 !
2023-11-19 23:33:40 +02:00
Martin Filser
f2d52b55c8
Move every Org.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
2023-07-18 21:25:28 +02:00
Martin Filser
5e3a9dc059
Move every Meteor.user() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Martin Filser
6e1ef3d94a
Move every Users.findOne() to the ReactiveCache
2023-07-18 21:25:28 +02:00
Lauri Ojansivu
0c3ca14699
Merge branch 'upgrade-meteor-2.6' of https://github.com/majus/wekan into upgrade-meteor
2022-04-18 21:25:47 +03:00
Lauri Ojansivu
c926475eb1
Fixed _ensureIndex to createIndex for MongoDB 5. Updated to latest Meteor beta.
2022-04-18 18:08:12 +03:00
viehlieb
f90875d8ef
updating teams from oidc possible, fixed undefined error, no need for extra login to assign/create teams/orgs
2022-03-10 15:56:35 +01:00
viehlieb
a0dbfa1f7e
add README and functionality for more control through oidc - create teams/orgs if not exist and addto user - make user admin when flag is set
2022-03-04 18:29:29 +01:00
Ben0it-T
b876098dc4
Edit team/org DisplayName now update users.teams.teamDisplayName/users.orgs.orgDisplayName
2021-12-22 11:49:50 +01:00
Ben0it-T
3a83d48bef
Admin Panel - sort Organizations and Teams by Display Name, sort People by username
2021-12-12 17:55:49 +01:00
Emile NDAGIJIMANA
080fcb9c62
-conflits resolve
2021-06-14 15:11:21 +02:00
Lauri Ojansivu
14b2c1309f
Delete Organizations and Teams.
...
Thanks to xet7 !
Related #802
2021-06-08 04:38:47 +03:00
Emile NDAGIJIMANA
f5dbe8c6f6
Addressed one of the bugs cited in issue #802 'bug when creating and modifying organization and team'
2021-06-07 11:03:49 +02:00
Lauri Ojansivu
1bc07b1b4a
Teams/Organizations: Added more code to Admin Panel for saving and editing. In Progress.
...
Thanks to xet7 !
Related #802
2021-02-11 19:07:34 +02:00
Lauri Ojansivu
9e2093d6ae
Teams/Organizations to Admin Panel. In Progress.
...
Thanks to xet7 !
Related #802
2020-12-28 21:08:27 +02:00
Justin Reynolds
3b9f2ca7c2
Fixes #2596 incorrect date types for created & updated
2019-09-05 12:29:45 -05:00
Lauri Ojansivu
75c84e3b5d
[Fix id to _id]( https://github.com/wekan/wekan/commit/2cedbcb9b334cd497874736bbb740a1d5c5acb6c#r34310594 ).
...
Thanks to justinr1234 and xet7 !
Related #802
2019-07-15 23:50:30 +03:00
Lauri Ojansivu
74a4926e83
Use camelCase.
...
Thanks to xet7 !
Related #802
2019-07-15 23:36:29 +03:00
Lauri Ojansivu
583f32e5c5
Teams/Organizations part 2, in progress. Table: org, add index for name field.
...
Thanks to xet7 !
Related #802
2019-07-15 22:47:30 +03:00
Lauri Ojansivu
2cedbcb9b3
Teams/Organizations part 1, in progress. Add table: org
...
Thanks to xet7 !
Related #802
2019-07-15 19:39:30 +03:00