-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Refactor application state mechanism #7361
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
Conversation
…echanism' into next
# Conflicts: # index.php # protected/humhub/config/common.php # protected/yii
@luke- Seems strange things happened after revert. manually fixed now. |
@luke- unfortunately tests fixes and REgrading I personally prefer the direct |
@gevorgmansuryan If we stay with the state approach, can we also handle e.g.
I'm not sure whether the I am unsure whether the So maybe add method:
|
@luke - The The |
@gevorgmansuryan Hmm, would be good if Here is an untested draft with my suggestion: What do you think about it? Do you see any problems with this approach? |
This reverts commit ce1b39c
@gevorgmansuryan Thansk it's now merged and Module tests are also now green against the |
* Update common.php * Fix Session Timeout (#6818) * Updated Composer.lock * Fix composer lock * Prototype: Check module requirements before install/update (#6816) * Prototype: Check module requirements before install/update * Prevent serialization of requirements check * Fixed ModuleId * Use requirements.php file instead of config.php * Fix module deletion on update * Add errors to the log * Test module with `requirements.php` --------- Co-authored-by: Marc Farré <contact@marc.fun> Co-authored-by: Yuriy Bakhtin <yurybakh@gmail.com> * Update php-test.yml * Autocommit PHP CS Fixer * reduce dynamic.php (#7328) * Reduce dynamic.php content - remove `mailer` from dynamic.php * Autocommit PHP CS Fixer * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `cache` from dynamic.php * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Update CHANGELOG.md --------- Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com> Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com> * Reduce dynamic.php content params (#7332) * Reduce dynamic.php content - remove `mailer` from dynamic.php * Autocommit PHP CS Fixer * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `cache` from dynamic.php * Reduce dynamic.php content * Reduce dynamic.php content params * Reduce dynamic.php content params * Reduce dynamic.php content params * Reduce dynamic.php content params * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content --------- Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com> * settings cleanup (#7338) * Remove horImageScrollOnMobile option #471 * Remove horImageScrollOnMobile option #471 * Remove horImageScrollOnMobile option #471 * Refactor application state mechanism (#7361) * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Autocommit PHP CS Fixer * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState me EC59 chanism * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes * Revert "Refactor applicationState mechanism" This reverts commit 9ffd324. * Refactor applicationState mechanism - fixes * Revert "Refactor applicationState mechanism" This reverts commit 0694c84. * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes/revert * Refactoring (#7372) * Fix Test * Refactor application state mechanism - fixes * Revert "Refactoring (#7372)" This reverts commit ce1b39c * Refactor application state mechanism - fixes * Refactor application state mechanism - fix tests * Refactor application state mechanism - fix tests * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Make SetState private --------- Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com> Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com> Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com> --------- Co-authored-by: Marc Farré <contact@marc.fun> Co-authored-by: Yuriy Bakhtin <yurybakh@gmail.com> Co-authored-by: Gevorg Mansuryan <gevorgmansuryan@gmail.com> Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com>
* Update common.php * Fix Session Timeout (#6818) * Updated Composer.lock * Fix composer lock * Prototype: Check module requirements before install/update (#6816) * Prototype: Check module requirements before install/update * Prevent serialization of requirements check * Fixed ModuleId * Use requirements.php file instead of config.php * Fix module deletion on update * Add errors to the log * Test module with `requirements.php` --------- Co-authored-by: Marc Farré <contact@marc.fun> Co-authored-by: Yuriy Bakhtin <yurybakh@gmail.com> * Update php-test.yml * Autocommit PHP CS Fixer * reduce dynamic.php (#7328) * Reduce dynamic.php content - remove `mailer` from dynamic.php * Autocommit PHP CS Fixer * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `cache` from dynamic.php * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Update CHANGELOG.md --------- Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com> Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com> * Reduce dynamic.php content params (#7332) * Reduce dynamic.php content - remove `mailer` from dynamic.php * Autocommit PHP CS Fixer * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `mailer` from dynamic.php * Reduce dynamic.php content - remove `cache` from dynamic.php * Reduce dynamic.php content * Reduce dynamic.php content params * Reduce dynamic.php content params * Reduce dynamic.php content params * Reduce dynamic.php content params * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Autocommit PHP CS Fixer * Reduce dynamic.php content * Reduce dynamic.php content * Reduce dynamic.php content --------- Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com> * settings cleanup (#7338) * Remove horImageScrollOnMobile option #471 * Remove horImageScrollOnMobile option #471 * Remove horImageScrollOnMobile option #471 * Refactor application state mechanism (#7361) * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Check Codeceptions Tests #473 * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Autocommit PHP CS Fixer * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes * Revert "Refactor applicationState mechanism" This reverts commit 9ffd324. * Refactor applicationState mechanism - fixes * Revert "Refactor applicationState mechanism" This reverts commit 0694c84. * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes * Refactor applicationState mechanism - fixes/revert * Refactoring (#7372) * Fix Test * Refactor application state mechanism - fixes * Revert "Refactoring (#7372)" This reverts commit ce1b39c * Refactor application state mechanism - fixes * Refactor application state mechanism - fix tests * Refactor application state mechanism - fix tests * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Refactor application state mechanism - fixes * Make SetState private --------- Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com> Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com> Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com> --------- Co-authored-by: Marc Farré <contact@marc.fun> Co-authored-by: Yuriy Bakhtin <yurybakh@gmail.com> Co-authored-by: Gevorg Mansuryan <gevorgmansuryan@gmail.com> Co-authored-by: gevorgmansuryan <gevorgmansuryan@users.noreply.github.com>
#5458