208 Commits

Author SHA1 Message Date
Marc Farré
e49d03b9a8
Enh #6623: Add a hint in the "Dropdown space order" settings to infor… (#6624)
* Enh #6623: Add a hint in the "Dropdown space order" settings to inform that a manual sort is always applied first

* Changed wording

* Update DesignSettingsForm.php

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-10-20 18:11:17 +00:00
Marc Farré
8fd707e1f2
Avoid PHP error when trying to download a file without guid in the URL params (#6621)
* Avoid PHP error when trying to download a file without guid in the URL params (return 404 exception instead)

* Added CHANGELOG-DEV
2023-10-19 09:37:01 +00:00
Yuriy Bakhtin
afc77f5ce2
Add a link to "Module Administration" from Marketplace (#6619) 2023-10-18 14:18:14 +00:00
Lucas Bartholemy
96965d7832 Prepare Beta.2 Release 2023-10-05 10:54:02 +02:00
Martin Rüegg
06d5114cde
Enh: file fields: metadata (#6594)
* Add `File.metadata`

* Mark experimental

* fixup! Add `File.metadata`

* Use `isModified()` rather than `count` to evaluate `null` before saving.
2023-10-05 08:26:30 +00:00
Martin Rüegg
8f73bd345c
Fix #6547 Invalid class name validated as valid and improve validation (#6548) 2023-10-02 12:03:27 +00:00
Martin Rüegg
93d0fd127b
Enh Testing: Backport #6553 (#6588)
* Fix humhub test case would fail on skipped tests (#6516)

* Fix skipped test handling

* Fix error while sending mails from the queue

```
- ReadableContentQueryTest: Global content guest non guest mode  Destroying application
  Starting application
  [ConnectionWatcher] watching new connections
  [Fixtures] Loading fixtures
  [ConnectionWatcher] watching new connections
  [ConnectionWatcher] no longer watching new connections
  [ConnectionWatcher] closing all (0) connections
  [Fixtures] Done
  [yii\web\Session::open] 'Session started'
  [queue] 'Could not execute queued job! Message: Argument 2 passed to Symfony\\Component\\Mime\\Address::__construct() must be of the type string, null given, called in /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-symfonymailer/src/Message.php on line 368 Trace:#0 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-symfonymailer/src/Message.php(368): Symfony\\Component\\Mime\\Address->__construct()
  #1 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-symfonymailer/src/Message.php(51): yii\\symfonymailer\\Message->convertStringsToAddresses()
  #2 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/targets/MailTarget.php(71): yii\\symfonymailer\\Message->setFrom()
  #3 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/targets/BaseTarget.php(161): humhub\\modules\\notification\\targets\\MailTarget->handle()
  #4 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/components/NotificationManager.php(101): humhub\\modules\\notification\\targets\\BaseTarget->send()
  #5 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/jobs/SendBulkNotification.php(38): humhub\\modules\\notification\\components\\NotificationManager->sendBulk()
  #6 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/queue/ActiveJob.php(33): humhub\\modules\\notification\\jobs\\SendBulkNotification->run()
  #7 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-queue/src/Queue.php(246): humhub\\modules\\queue\\ActiveJob->execute()
  #8 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/queue/driver/Instant.php(31): yii\\queue\\Queue->handleMessage()
  #9 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-queue/src/Queue.php(196): humhub\\modules\\queue\\driver\\Instant->pushMessage()
  #10 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/components/BaseNotification.php(210): yii\\queue\\Queue->push()
  #11 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/models/Content.php(370): humhub\\modules\\notification\\components\\BaseNotification->sendBulk()
  #12 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/models/Content.php(321): humhub\\modules\\content\\models\\Content->notifyContentCreated()
  #13 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/models/Content.php(268): humhub\\modules\\content\\models\\Content->processNewContent()
  #14 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(615): humhub\\modules\\content\\models\\Content->afterSave()
  #15 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(570): yii\\db\\ActiveRecord->insertInternal()
  #16 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(676): yii\\db\\ActiveRecord->insert()
  #17 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/components/ContentActiveRecord.php(476): yii\\db\\BaseActiveRecord->save()
  #18 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/post/models/Post.php(97): humhub\\modules\\content\\components\\ContentActiveRecord->afterSave()
  #19 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(615): humhub\\modules\\post\\models\\Post->afterSave()
  #20 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(570): yii\\db\\ActiveRecord->insertInternal()
  #21 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(676): yii\\db\\ActiveRecord->insert()
  #22 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/tests/codeception/unit/ReadableContentQueryTest.php(70): yii\\db\\BaseActiveRecord->save()
  #23 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Test/Unit.php(57): tests\\codeception\\unit\\modules\\content\\ReadableContentQueryTest->_before()
  #24 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/phpunit-wrapper/src/TestCase.php(12): Codeception\\Test\\Unit->_setUp()
  #25 /home/mdr/projects/humhub/htdocs/protected/humhub/tests/codeception/_support/HumHubDbTestCase.php(60): Codeception\\PHPUnit\\TestCase->setUp()
  #26 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestCase.php(1207): tests\\codeception\\_support\\HumHubDbTestCase->setUp()
  #27 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestResult.php(728): PHPUnit\\Framework\\TestCase->runBare()
  #28 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestCase.php(964): PHPUnit\\Framework\\TestResult->run()
  #29 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestSuite.php(684): PHPUnit\\Framework\\TestCase->run()
  #30 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/phpunit-wrapper/src/Runner.php(117): PHPUnit\\Framework\\TestSuite->run()
  #31 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/SuiteManager.php(161): Codeception\\PHPUnit\\Runner->doEnhancedRun()
  #32 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Codecept.php(208): Codeception\\SuiteManager->run()
  #33 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Codecept.php(162): Codeception\\Codecept->runSuite()
  #34 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Command/Run.php(401): Codeception\\Codecept->run()
  #35 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Command/Command.php(298): Codeception\\Command\\Run->execute()
  #36 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()
  #37 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()
  #38 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
  #39 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Application.php(117): Symfony\\Component\\Console\\Application->run()
  #40 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/app.php(46): Codeception\\Application->run()
  #41 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/app.php(47): {closure}()
  #42 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/codecept(6): require(\'/home/mdr/proje...\')
  #43 /home/mdr/projects/humhub/htdocs/protected/vendor/bin/codecept(112): include(\'/home/mdr/proje...\')
  #44 {main}'
  [queue] 'Could not execute queued job! Message: Argument 2 passed to Symfony\\Component\\Mime\\Address::__construct() must be of the type string, null given, called in /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-symfonymailer/src/Message.php on line 368 Trace:#0 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-symfonymailer/src/Message.php(368): Symfony\\Component\\Mime\\Address->__construct()
  #1 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-symfonymailer/src/Message.php(51): yii\\symfonymailer\\Message->convertStringsToAddresses()
  #2 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/targets/MailTarget.php(71): yii\\symfonymailer\\Message->setFrom()
  #3 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/targets/BaseTarget.php(161): humhub\\modules\\notification\\targets\\MailTarget->handle()
  #4 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/components/NotificationManager.php(101): humhub\\modules\\notification\\targets\\BaseTarget->send()
  #5 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/jobs/SendBulkNotification.php(38): humhub\\modules\\notification\\components\\NotificationManager->sendBulk()
  #6 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/queue/ActiveJob.php(33): humhub\\modules\\notification\\jobs\\SendBulkNotification->run()
  #7 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-queue/src/Queue.php(246): humhub\\modules\\queue\\ActiveJob->execute()
  #8 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/queue/driver/Instant.php(31): yii\\queue\\Queue->handleMessage()
  #9 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2-queue/src/Queue.php(196): humhub\\modules\\queue\\driver\\Instant->pushMessage()
  #10 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/notification/components/BaseNotification.php(210): yii\\queue\\Queue->push()
  #11 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/models/Content.php(370): humhub\\modules\\notification\\components\\BaseNotification->sendBulk()
  #12 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/models/Content.php(321): humhub\\modules\\content\\models\\Content->notifyContentCreated()
  #13 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/models/Content.php(268): humhub\\modules\\content\\models\\Content->processNewContent()
  #14 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(615): humhub\\modules\\content\\models\\Content->afterSave()
  #15 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(570): yii\\db\\ActiveRecord->insertInternal()
  #16 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(676): yii\\db\\ActiveRecord->insert()
  #17 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/components/ContentActiveRecord.php(476): yii\\db\\BaseActiveRecord->save()
  #18 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/post/models/Post.php(97): humhub\\modules\\content\\components\\ContentActiveRecord->afterSave()
  #19 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(615): humhub\\modules\\post\\models\\Post->afterSave()
  #20 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(570): yii\\db\\ActiveRecord->insertInternal()
  #21 /home/mdr/projects/humhub/htdocs/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(676): yii\\db\\ActiveRecord->insert()
  #22 /home/mdr/projects/humhub/htdocs/protected/humhub/modules/content/tests/codeception/unit/ReadableContentQueryTest.php(76): yii\\db\\BaseActiveRecord->save()
  #23 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Test/Unit.php(57): tests\\codeception\\unit\\modules\\content\\ReadableContentQueryTest->_before()
  #24 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/phpunit-wrapper/src/TestCase.php(12): Codeception\\Test\\Unit->_setUp()
  #25 /home/mdr/projects/humhub/htdocs/protected/humhub/tests/codeception/_support/HumHubDbTestCase.php(60): Codeception\\PHPUnit\\TestCase->setUp()
  #26 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestCase.php(1207): tests\\codeception\\_support\\HumHubDbTestCase->setUp()
  #27 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestResult.php(728): PHPUnit\\Framework\\TestCase->runBare()
  #28 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestCase.php(964): PHPUnit\\Framework\\TestResult->run()
  #29 /home/mdr/projects/humhub/htdocs/protected/vendor/phpunit/phpunit/src/Framework/TestSuite.php(684): PHPUnit\\Framework\\TestCase->run()
  #30 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/phpunit-wrapper/src/Runner.php(117): PHPUnit\\Framework\\TestSuite->run()
  #31 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/SuiteManager.php(161): Codeception\\PHPUnit\\Runner->doEnhancedRun()
  #32 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Codecept.php(208): Codeception\\SuiteManager->run()
  #33 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Codecept.php(162): Codeception\\Codecept->runSuite()
  #34 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Command/Run.php(401): Codeception\\Codecept->run()
  #35 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Command/Command.php(298): Codeception\\Command\\Run->execute()
  #36 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()
  #37 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()
  #38 /home/mdr/projects/humhub/htdocs/protected/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
  #39 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/src/Codeception/Application.php(117): Symfony\\Component\\Console\\Application->run()
  #40 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/app.php(46): Codeception\\Application->run()
  #41 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/app.php(47): {closure}()
  #42 /home/mdr/projects/humhub/htdocs/protected/vendor/codeception/codeception/codecept(6): require(\'/home/mdr/proje...\')
  #43 /home/mdr/projects/humhub/htdocs/protected/vendor/bin/codecept(112): include(\'/home/mdr/proje...\')
  #44 {main}'
  [tests\codeception\_support\HumHubDbTestCase::setUp] Initializing Modules
  [tests\codeception\_support\HumHubDbTestCase::setUp] Reloading settings
  [tests\codeception\_support\HumHubDbTestCase::setUp] Flushing cache
  [tests\codeception\_support\HumHubDbTestCase::setUp] Deleting mails
  [yii\mail\BaseMailer::send] 'Sending email "Sara Tester just wrote post "Public Space Public Post" in space Space 3" to "user1@example.com"'
  [yii\mail\BaseMailer::send] 'Sending email "Sara Tester just wrote post "Public Space Private Post" in space Space 3" to "user1@example.com"'
  [yii\web\User::logout] 'User \'2\' logged out from .'
✔ ReadableContentQueryTest: Global content guest non guest mode (3.06s)
^
```

rather than

```
- ReadableContentQueryTest: Global content guest non guest mode  Destroying application
  Starting application
  [ConnectionWatcher] watching new connections
  [Fixtures] Loading fixtures
  [ConnectionWatcher] watching new connections
  [ConnectionWatcher] no longer watching new connections
  [ConnectionWatcher] closing all (0) connections
  [Fixtures] Done
  [tests\codeception\_support\HumHubDbTestCase::setUp] Initializing Modules
  [tests\codeception\_support\HumHubDbTestCase::setUp] Reloading settings
  [tests\codeception\_support\HumHubDbTestCase::setUp] Flushing cache
  [tests\codeception\_support\HumHubDbTestCase::setUp] Deleting mails
  [yii\web\Session::open] 'Session started'
  [yii\mail\BaseMailer::send] 'Sending email "Sara Tester just wrote post "Public Space Public Post" in space Space 3" to "user1@example.com"'
  [yii\mail\BaseMailer::send] 'Sending email "Sara Tester just wrote post "Public Space Private Post" in space Space 3" to "user1@example.com"'
  [yii\web\User::logout] 'User \'2\' logged out from .'
✔ ReadableContentQueryTest: Global content guest non guest mode (1.51s)
  Destroying application
  [ConnectionWatcher] no longer watching new connections
  [ConnectionWatcher] closing all (0) connections
-
```

* Support log assertions (#6553)

* Make methods static where possible, so they can be used in class setup and teardown

* Revert extracting DB helper functions to DbHelper.php

* fixup! Enh UUID validator

* fixup! Revert extracting DB helper functions to DbHelper.php
2023-09-27 07:40:24 +00:00
Martin Rüegg
2a9968b84b
Enh: file fields: sort_order (#6593)
* Add `File.sort_order`

* Apply requested changes
2023-09-26 09:16:23 +00:00
Lucas Bartholemy
3806577b34 Merge branch 'enh/improve-uuid-validator' of github.com:metaworx/humhub into metaworx-enh/improve-uuid-validator 2023-09-25 00:07:22 +02:00
Lucas Bartholemy
45d5ce111c Merge branch 'enh/file-preliminary-fields-category' of github.com:metaworx/humhub into metaworx-enh/file-preliminary-fields-category 2023-09-24 23:45:32 +02:00
Martin Rüegg
cf9b7f979d
Add File.state 2023-09-23 22:02:19 +02:00
Martin Rüegg
1f709ea194
Add File.category 2023-09-23 21:44:07 +02:00
Yuriy Bakhtin
46c509495c
Exclude database views on self checking (#6586) 2023-09-22 14:53:51 +00:00
Yuriy Bakhtin
305d81ca35
Refresh modules available updates counter after updating of modules (#6584) 2023-09-21 13:23:48 +00:00
Martin Rüegg
75fa497637
Enh UUID validator 2023-09-21 10:13:07 +02:00
Lucas Bartholemy
03cddb2ee3
Enh/runtime cache test (#6582)
* Enabled Runtime Cache during Tests

* Flush RunTimeCache when clear PermissionManager state

* Updated Changelog
2023-09-20 23:03:47 +02:00
Yuriy Bakhtin
f29a1e4cdf
Fix default oembed styles for twitter posts (#6581) 2023-09-20 16:37:03 +00:00
Marc Farré
81c7a1debb
Fix #6572: Posts count in space should be only for published content (#6573) 2023-09-18 18:23:49 +00:00
Martin Rüegg
7bb62ebde6
Fix invalid profile field type configuration to cause a property-access-on-null value exception (#6549) 2023-09-14 08:23:22 +00:00
Martin Rüegg
9f61c40b3d
Fix: Migration's transaction with invalid savepoint (#6551)
* Fix error in migration with invalid savepoint

* Update CHANGELOG-DEV.md
2023-09-12 13:47:22 +00:00
Marc Farré
0545a7f584
Fix Avoid PHP 8.1+ deprecated null parameter on preg_replace in richtext converters (#6558)
* Fix Avoid PHP 8.1+ deprecated null parameter on preg_replace in richtext converters

* Changelog

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-09-12 08:05:29 +00:00
Marc Farré
9771f0a912
Fix #6544: Registration not possible with SSO and email invites if "New users can register" is disabled (#6545) 2023-09-12 08:01:05 +00:00
Yuriy Bakhtin
d5d8cc2121
Sort profile fields on People directory filters (#6538)
* Sort profile fields on People directory filters

* Update CHANGELOG-DEV.md
2023-09-06 12:22:02 +00:00
Martin Rüegg
048fb18e8b
Add boolean return-type to *safe* methods (#6529) 2023-08-22 14:09:01 +00:00
Yuriy Bakhtin
7801f8145a
Fix a disabled button after post a content record with state "Draft" or "Scheduled" (#6526) 2023-08-18 09:02:28 +00:00
Martin Rüegg
28fa6d9485
Add pseudo test class to allow to populate DB (#6478)
Normal use will not do anything other than succeed!
```
php $HUMHUB_VENDOR_BIN/codecept run unit LoadDbTest
```

However, if run with the environment variable HUMHUB_DB_INITIALIZE set, then the default fixtures will be loaded and not unloaded after the test.
```
HUMHUB_DB_INITIALIZE= php $HUMHUB_VENDOR_BIN/codecept run unit LoadDbTest
```
2023-08-16 15:12:43 +00:00
Martin Rüegg
4a29d7a729
Convert assert* & db* methods to static in line with general usage (#6480) 2023-08-16 13:51:58 +00:00
Marc Farré
31f2cd4b52
Fix online status position on people page (#6510)
* Fix #6509: Fix online status position on people page

* Fix #6510: Fix online status position on people page
2023-08-14 19:40:29 +00:00
Lucas Bartholemy
9404989d89 Merge branch 'enh/allow-event-data-from-config' of github.com:metaworx/humhub into metaworx-enh/allow-event-data-from-config 2023-08-14 11:46:21 +02:00
Martin Rüegg
45e9b3a442
Enh: Add Application interface and make sure the onInit event is fired in the web application too (#6505) 2023-08-14 09:27:11 +00:00
Martin Rüegg
d823eeca20
Enh: Allow event data to be provided from configuration 2023-08-13 23:10:51 +02:00
Martin Rüegg
79b7ffb9a9
Fix: Link notification for pending space approval to manage page (#6502)
fix #6420
2023-08-11 23:33:17 +00:00
Yuriy Bakhtin
86c83556e5
Implement option "disabled" for picker fields (#6498) 2023-08-11 10:34:19 +00:00
Marc Farré
36791347cd
Enh #68: Online Indicator Position (#6493)
* Enh #68: Online Indicator Position

* Enh #68: Online Indicator Position

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-08-10 21:51:04 +00:00
Yuriy Bakhtin
64a5099897
Fix module form "Set as default" (#6494)
* Fix module form "Set as default"

* Display status bar after save module form "Set as default"

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-08-10 21:36:01 +00:00
Martin Rüegg
ab62567391
Fix regression with Membership cache (#6457)
* Delete Membership cache

* Move membership cache to `Membership` class

* Use cached Membership::findMembership() rather than Membership::findOne()

* Update README

* Attempt to fix failing LegitimationTest by also deleting Legitimation cache.

* Removing "local" cache, only using runtimeCache for Memberships
2023-08-10 21:18:08 +00:00
Yuriy Bakhtin
7af8479982
Fix module disabling in queue (#6476)
* Fix module disabling in queue

* Update CHANGELOG-DEV.md

* Update ModuleController.php

* Fix module activate flag when it is queued for disabling

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-08-03 16:55:57 +00:00
Yuriy Bakhtin
b1c47c7c7a
Implement conditions for fixed-settings in config (#6475)
* Implement conditions for `fixed-settings` in config

* Implement callable function for `fixed-settings` in config

* Tests for fixed settings from config
2023-08-03 16:04:37 +00:00
yuriimaz
cb52feb331
Fix #112: Reorder Table Rows (#6473) 2023-08-01 14:42:46 +00:00
Lucas Bartholemy
3452cfb138
Update CHANGELOG-DEV.md 2023-08-01 12:14:56 +02:00
Lucas Bartholemy
97af87fed0
Update CHANGELOG-DEV.md 2023-08-01 12:11:13 +02:00
Lucas Bartholemy
10aef58f0f
Update CHANGELOG-DEV.md 2023-08-01 12:09:22 +02:00
Lucas Bartholemy
59dd0c8c21
Update CHANGELOG-DEV.md 2023-08-01 12:02:27 +02:00
Lucas Bartholemy
c0496bb43c
Update CHANGELOG-DEV.md 2023-07-31 14:42:45 +02:00
Marc Farré
1cc8a9413e
Enh #6458: Redirect to the latest-visited page after login or registr… (#6459)
* Enh #6458: Redirect to the latest-visited page after login or registration

* Only for ajax

* Store Return URL

---------

Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2023-07-26 08:43:15 +00:00
Martin Rüegg
640a6693d2
Support serving /manifest.json, /sw.js, & /offline.pwa.html (#6461) 2023-07-25 16:13:12 +00:00
Martin Rüegg
9dba5ef34d
Enh: Test server output (#6460)
* Output requested file and http response code on debug server's console output

* Color output, README
2023-07-25 15:26:57 +00:00
Marc Farré
37fce5eb95
Chg #6174: Users allowed to manage settings can access to module conf… (#6449)
* Chg #6174: Users allowed to manage settings can access to module configurations

* Chg #6174: Users allowed to manage settings can access to module configurations

* Added info message

* Added change to migrate doc

* Update list.php

* Fixed permission tests

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-07-25 10:13:04 +00:00
Marc Farré
19de1f75a1
Enh #6454: Account deletion confirmation (#6455) 2023-07-24 13:34:12 +00:00
Yuriy Bakhtin
63a46804f8
Sort user groups by group.sort_order and alphabetically (#6448) 2023-07-20 09:26:17 +00:00