Skip to content

Conversation

Cyperghost
Copy link
Contributor

@Cyperghost Cyperghost commented May 25, 2025

Closes #5984

TODO:

  • Deprecate the 'old' ConditionHandler functions
  • Add migration functions
  • Add wcf1_user_group_assignment .conditions to install.sql
  • Remove old ObjectTypes and ObjectTypeDefinitions for UserGroupAssignment
  • Handle delete condition types
  • Handle when a value is deleted from a SelectFormField so that no exception is thrown
  • Condition for User options #6318

@Cyperghost Cyperghost requested a review from dtdesign May 25, 2025 08:09
@Cyperghost Cyperghost force-pushed the 6.3-condition branch 3 times, most recently from 762479e to afd7d4b Compare May 27, 2025 10:16
Cyperghost and others added 29 commits July 14, 2025 10:06
If we're going to instantiate them via anonymous classes, we can just drop the `abstract` because their entire implementation is non-abstract anyway.
There is very little gain in offering `addConditions()` plus it requires us to validate an arbitrary array in contrast to relying on `addCondition()` with its type hin.
Avoiding the repetition makes it easier to find conditions.
The content of `wcf.condition.add` has been swapped between German and English.
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.

3 participants