8000 Migrate "old" conditions by Cyperghost · Pull Request #6330 · WoltLab/WCF · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Migrate "old" conditions #6330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Jul 14, 2025
Merged

Conversation

Cyperghost
Copy link
Contributor
@Cyperghost Cyperghost commented Jun 10, 2025

Ref #6304
See #6310

TODO

  • Change branch to 6.3-condition

@Cyperghost Cyperghost requested a review from dtdesign June 10, 2025 10:09
@Cyperghost Cyperghost force-pushed the 6.3-condition-migrate branch from 9565c65 to f2e7e53 Compare June 18, 2025 09:57
8000
@Cyperghost Cyperghost requested a review from dtdesign June 30, 2025 15:24
Copy link
Member
@dtdesign dtdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add an ACP status box of type warning to notify about outstanding migrations.

@Cyperghost Cyperghost requested a review from dtdesign July 7, 2025 08:48
dtdesign and others added 8 commits July 10, 2025 23:40
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.
@Cyperghost Cyperghost marked this pull request as ready for review July 14, 2025 08:00
@Cyperghost Cyperghost changed the title (PoC) Migrate "old" conditions Migrate "old" conditions Jul 14, 2025
@Cyperghost Cyperghost merged commit 18b3879 into 6.3-condition-conditions Jul 14, 2025
9 of 10 checks passed
@Cyperghost Cyperghost deleted the 6.3-condition-migrate branch July 14, 2025 08:00
< 6281 input type="hidden" name="variables[subjectId]" value="PR_kwDOAB9BDc6Z08g2">
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.

2 participants
0