8012 Commits

Author SHA1 Message Date
Martin Rüegg
c56d7e949c
Enh: harmonise term enabled/disabled vs active/inactive for modules (#6745)
* Rename `\humhub\modules\friendship\Module::getIsEnabled()` to `isFriendshipEnabled()`

* Rename `\humhub\modules\marketplace\Module::isEnabled()` to `isMarketplaceEnabled()`

* Rename active/activate/deactivate to enabled/enable/disable

* Update CHANGELOG-DEV.md
2024-01-17 14:19:25 +00:00
Lucas Bartholemy
a75592b65b Fixed module migration path check 2024-01-16 11:53:40 +01:00
Lucas Bartholemy
1bd2dc6d46
Test Disable Login Form (#6788)
* Test Disable Login Form

* Added  variable

* Remove OR horizontal bar if only SSO login

* Moved to Module class

* Add showRegistrationForm for registration by email and or divider

* Update CHANGELOG-DEV.md

* Update AuthChoice.php

---------

Co-authored-by: Marc Farré <contact@marc.fun>
2024-01-16 11:10:28 +01:00
Lucas Bartholemy
53a38f5314 Merge branch 'master' into develop 2024-01-15 14:53:18 +01:00
Yuriy Bakhtin
128d5936a3
Fix marketplace searching (#6792) 2024-01-12 16:38:09 +00:00
Yuriy Bakhtin
6df7ef2bc6
Fix number of filtered modules on Marketplace (#6798) 2024-01-12 17:14:43 +01:00
Yuriy Bakhtin
e9ccd11ba2
Improve password hashing (#6786) 2024-01-09 14:28:58 +00:00
Yuriy Bakhtin
7777041df1
Lowercase user email before save (#6783) 2024-01-08 17:07:22 +00:00
Lucas Bartholemy
56d42191af
Added Twig Sandbox Extension (#6779)
* Added Twig Sandbox Extension

* Updated CHANGELOG.md
2024-01-06 20:21:17 +01:00
Marc Farré
be182cf061
Allow access to pending registrations to non system admins (#6777)
* Allow access to pending registrations to non system admins

* Added changelog
2024-01-05 10:59:30 +00:00
Lucas Bartholemy
7cd97f0376 Hotfix: Module is not enabled during migration 2023-12-22 17:44:39 +01:00
Marc Farré
9b2de76bd9
Fix #6774: When enableMailSummaries is false in the configuration file, prevent accessing the E-Mail Summaries page in the account settings (#6775) 2023-12-22 10:31:21 +00:00
Marc Farré
1db793da1f
Enh #131: Online Indicator- People Cards, Members Snippet, My Profile (#6735) 2023-12-20 08:49:28 +00:00
Lucas Bartholemy
c32f0fe360 Merge branch 'master' into develop 2023-12-19 21:04:53 +01:00
Lucas Bartholemy
e1069cac6c
Update common.php 2023-12-19 20:10:33 +01:00
Marc Farré
346f917487
Fix #6766: Since Humhub 1.15.1, getting content polymorphic relation … (#6767)
* Fix #6766: Since Humhub 1.15.1, getting content polymorphic relation changes the content object_model to the wrong class

* Added missing PolymorphicRelation::getObjectModel()

* Removed useless PolymorphicRelation::getObjectModel

* Removed useless PolymorphicRelation::getObjectModel

* Removed useless PolymorphicRelation::getObjectModel
2023-12-19 20:07:29 +01:00
Martin Rüegg
153ca28374
Fix non-unique key used for permission caching (#6753)
* Fix non-unique key used for caching

* Update CHANGELOG.md
2023-12-19 10:47:13 +01:00
Yuriy Bakhtin
2372692601
Fix loading of default container permissions from cache (#6764) 2023-12-19 10:14:39 +01:00
Martin Rüegg
c05f8cdc0a
Fix #6754 Regression due to return type (#6550) (#6755)
* Fix #6754 Regression due to return type (#6550)

* Update CHANGELOG.md

* Update MIGRATE-DEV.md
2023-12-18 11:02:53 +00:00
Martin Rüegg
403956f525
Document model\User dynamic field types (#6751) 2023-12-18 12:01:25 +01:00
Marc Farré
434318b15e
Allow sending a notification to originator when sending to a single u… (#6752)
* Allow sending a notification to originator when sending to a single user and suppressSendToOriginator is false

* Add CHANGELOG
2023-12-18 10:47:40 +00:00
Lucas Bartholemy
9a7c61a217 Revert "Change widget encoding"
This reverts commit b0d39f3e4a04b82bcbc244fe5898ad88aa806d05.
2023-12-17 13:35:28 +01:00
Lucas Bartholemy
b0d39f3e4a Change widget encoding 2023-12-16 17:09:35 +01:00
Lucas Bartholemy
2fb823397d Merge branch 'master' into develop 2023-12-16 10:02:43 +01:00
Martin Rüegg
f5d3dfa247
Fix deprecated Setting::isInstalled() (#6746) 2023-12-15 19:12:20 +00:00
Lucas Bartholemy
5c17cb60d1 Merge branch 'develop' of github.com:humhub/humhub into develop 2023-12-15 18:31:46 +01:00
Lucas Bartholemy
e24d21815f Workaround for internal tests 2023-12-15 18:31:41 +01:00
Martin Rüegg
4d142b002b
Enh improve module migrations (#6550)
* Implement MigrationService: Return and log migration result during enabling, disabling and updating

* Cleanup MIGRATE-DEV.md

* Add `hasMigrations(Pending)()`
2023-12-15 18:30:35 +01:00
Martin Rüegg
5d8795fca8
Trigger db migrations manually (#6711) 2023-12-15 16:27:36 +00:00
Martin Rüegg
428c7a3ac5
Use UUIDValidator in contentcontainer, file, space and user models (#6587) 2023-12-15 14:11:02 +00:00
Martin Rüegg
ad48254d9c
Document return type of component\User::getIdentity() (#6743) 2023-12-15 13:58:40 +01:00
Yuriy Bakhtin
debe9cb3a8
Fix no pretty url of password recovery link (#6742)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-14 17:54:17 +01:00
Marc Farré
eac7f123e3
Enh/6486 add module not available option for containers (#6499)
* First draft

* Changed to Yura suggestion

* Hide content in stream

* Fix with Yura solution for ModuleStreamFilter

* Remove not available content types in the space filter

* remove unused line

* Moved ModuleStreamFilter from ModuleStreamFilter to ContentContainerStreamQuery for optimization

* If Not available selected, ask for confirmation and disable the module for all users and spaces

* Fix form confirm attribute name in view

* Rewording

---------

Co-authored-by: Yuriy Bakhtin <yurybakh@gmail.com>
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-14 15:28:45 +00:00
Yuriy Bakhtin
c5a8d91918
Trim Base URL on save (#6737)
* Trim Base URL on save

* Use url and trim validators for general setting "Base URL"

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-14 16:00:24 +01:00
Lucas Bartholemy
f81f901c26 Changed Base URL for Unit Tests 2023-12-13 20:59:18 +01:00
Martin Rüegg
7e4d844ab3
Fix #6720 Regression re isDatabaseInstalled (#6729) 2023-12-13 15:06:09 +00:00
Lucas Bartholemy
bc1cfbfb0e
Update common.php 2023-12-13 15:57:56 +01:00
Marc Farré
94e594b9be
Added data-has-auth-client in Registration page (#6616)
* Enh: Added data-has-auth-client in Registration page allowing to know if returning from the SSO provider

* Added CHANGELOG

* CHANGELOG-DEV updated for Humhub 1.16 and added data-has-auth-client to registration by link

* Add HTML id attribute to user auth login pages

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-13 12:34:25 +00:00
Marc Farré
ed525bb8ed
Eng #6686: Make the container header clickable to return to the container's home (#6732)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-13 11:38:05 +00:00
Marc Farré
0a1a96ce98
Enh #6609: Monthly email summary (#6611)
Co-authored-by: Yuriy Bakhtin <yurabakhtin@users.noreply.github.com>
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-13 11:36:37 +00:00
Lucas Bartholemy
fc1d4e4a57 Merge branch 'master' into develop 2023-12-13 11:45:10 +01:00
Yuriy Bakhtin
733afd0b23
Skip auto tour test (#6733) 2023-12-13 10:52:07 +01:00
Yuriy Bakhtin
068c9bcc75
Upload codeception test output (#6723)
* Upload codeception test output

* Fix path

* Fix auto tour tests

* Fix auto tour tests
2023-12-11 15:26:17 +01:00
Yuriy Bakhtin
f43cc32a25
Rename button of leaving a space (#6722) 2023-12-11 11:05:13 +00:00
Lucas Bartholemy
4c26614d57 Merge branch 'develop' of github.com:humhub/humhub into develop 2023-12-11 11:50:02 +01:00
Martin Rüegg
24d948a12b
Enh: Consolidate (is|set)(Database)Installed() to ApplicationTrait (#6720)
* Move `(is|set)(Database)?Installed()` to `Application`

* fixup! Move `(is|set)(Database)?Installed()` to `Application`
2023-12-11 10:45:52 +00:00
Lucas Bartholemy
e7f07f1bc8 Merge branch 'master' into develop 2023-12-11 11:44:56 +01:00
Yuriy Bakhtin
6a59ba2943
Refactor auto start tour for new user (#6685)
* Refactor auto start tour for new user

* Revert "Auxiliary commit to revert individual files from b63f530b8626802c66e10a241ba4ddfa670f8c65"

This reverts commit c9ebfdc71d1dd2f1d2dd3927ae464ff3f2f0b939.

* Activate test for auto tour

* Fix test

* Fix test

* Refactor displaying of dashboard sidebar tour widget

* Refactor auto start tour for new registered user

* Don't use session for displaying of dashboard sidebar tour widget

* Fix auto tour test

* Don't redirect after init auto start tour

* Update deprecated actions

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-12-11 11:44:33 +01:00
Yuriy Bakhtin
c6c00af40a
Allow user blocking from profile page (#6689)
* Allow user blocking from profile page

* Add "Edit" and "Follow" into the user header controls menu

* Display confirmation before leaving a space
2023-12-08 21:48:08 +00:00
Lucas Bartholemy
807e89a0e6 Merge branch 'develop' of github.com:humhub/humhub into develop 2023-12-08 12:37:36 +01:00