318 Commits

Author SHA1 Message Date
Lucas Bartholemy
a4663a0784 Fix #5629: Legacy configuration self test not showing OK 2024-04-09 17:04:49 +02:00
Lucas Bartholemy
e61a5582ce Prepare Beta 2 Release 2024-04-09 14:11:55 +02:00
Marc Farré
93447e48a9
Fix #5629: Better handling of legacy configuration file options for d… (#6938)
* Fix #5629: Better handling of legacy configuration file options for disabled non-core modules

* Fix #5629: Better handling of legacy configuration file options for disabled non-core modules

* Fix #5629: Better handling of legacy configuration file options for disabled non-core modules

* Fix #5629: Better handling of legacy configuration file options for disabled non-core modules
2024-04-09 11:56:06 +00:00
Yuriy Bakhtin
725268677a
Lock search index while reindexing (#6934)
* Lock search index while reindexing

* Set delay 5 minutes between retries of search reindex queue jobs

* Update SearchJobService.php

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-08 18:28:19 +00:00
Lucas Bartholemy
0ecaa7a4a2
Added handling for legacy configuration file options (#6936)
* Added handling for legacy configuration file options

* Code Style fixes

* Fix #5629: Better handling of legacy configuration file options

* Removed unused imports

* Fixed typo
2024-04-08 20:13:02 +02:00
Yuriy Bakhtin
a99ba45f54
Fix visibility of private spaces in the user notification settings (#6935)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-08 15:07:21 +00:00
Marc Farré
14c20fa1ae
Enh #6757: Allow changing visibility of global content (#6930)
* Enh #6757: Allow changing visibility of global content

* Fix tests

* Rename GlobalStreamQuery to GlobalContentStreamQuery and GlobalStreamFilter to GlobalContentStreamFilter and add GlobalContentStreamTest::testLimitToGlobalContent()

* Changed "post" to "content" in comment
2024-04-08 15:05:18 +00:00
Lucas Bartholemy
f2a86e5f42
Fixed disabled users (#6928)
* Fixed disabled users

* Update CHANGELOG-DEV.md
2024-04-05 17:19:37 +02:00
Lucas Bartholemy
5e57bba32f Prepare 1.16.0-beta.1 RELEASE 2024-04-05 15:27:47 +02:00
Lucas Bartholemy
4fb5fba0da Merge branch 'metaworx-fix/multiselect' into develop 2024-04-04 16:58:30 +02:00
Lucas Bartholemy
d74bf137bd Updated Changelog 2024-04-04 16:57:46 +02:00
Yuriy Bakhtin
6724475ef3
Allow module initializing on ajax loading (#6563)
* Allow module initializing on each loading

* Allow module initializing on ajax loading

* Remove URL params when checking ajax source and allow multiple URLs

* Restrict to URLs including the r param for non pretty urls

* Removed initOnAjaxLoad and allow initOnAjaxUrls to be a string

* Re-added initOnAjaxLoad and added usage doc

---------

Co-authored-by: Marc Farré <contact@marc.fun>
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:52:36 +00:00
Yuriy Bakhtin
c8d3d5278d
Remove general setting "Server Timezone" (#6487)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:50:25 +00:00
Yuriy Bakhtin
5efd3bb6ee
Change default browser site icon (#6760)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:45:36 +00:00
Yuriy Bakhtin
52688b1635
Fix layout styles after run migration (#6881)
* Fix layout styles after run migration

* Refactor migration process

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:41:29 +00:00
Marc Farré
f54538e108
Enh #2758: Make sure we understand how to configure who receives noti… (#6907)
* Enh #2758: Make sure we understand how to configure who receives notifications about new users to approve

* Change attribute label and hints and remove hidding the Managers field

* Replace "Require group admin" with "Require group manager"

* https://github.com/humhub/humhub/issues/2758#issuecomment-2034804512

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:38:07 +00:00
Marc Farré
eeff93a457
Enh #6879: Better UX for the maintenance mode administration form (#6910)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:35:46 +00:00
Yuriy Bakhtin
edb3af3e17
New space service MemberListService (#6147)
* New space service MemberListService

* Update CHANGELOG-DEV.md

---------

Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2024-04-04 14:35:56 +02:00
Marc Farré
30a6b78bd5
Enh #6335: Pending approvals: possibility to send a message (#6365)
* Enh #6335: Pending approvals: possibility to send a message

* Enh #6335: Pending approvals: possibility to send a message

* Enh #6335: Pending approvals: possibility to send a message

* Added nb msg sent

* Added nb msg sent

* fixed tests

* fix test (removal of assertNotNull)

* merged updated changelog

* merged updated changelog

* merged updated changelog

* merged updated changelog

* fix testNonGroupManagerCannotSendMessageUnapprovedUser

* merged updated changelog

* Semir rewording

* allowing to send a bulk message to several pending approval users at the same time

* Fixed test translations

* Fixed test translations

* Fix test translations

---------

Co-authored-by: Yuriy Bakhtin <yurabakhtin@users.noreply.github.com>
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-04-04 14:23:40 +02:00
Marc Farré
39379bc8b6
Fix #6730: Invitation link for existing user (#6916) 2024-04-04 08:25:31 +00:00
Yuriy Bakhtin
4c24f441a6
Fix API tests (#6913) 2024-04-03 07:52:31 +00:00
Yuriy Bakhtin
317d5984ad
Auto load pages on content search (#6901)
* Auto load pages on content search

* Fix default page size for tests

* Cache content searching by portion of 10 pages

* Refactor search methods

* Cache only Content ID on searching
2024-04-02 12:36:13 +00:00
Yuriy Bakhtin
f0eb9b4eac
Fix default mentioning URL (#6908)
* Fix default mentioning URL

* Update CHANGELOG_DEV.md
2024-04-01 07:51:48 +00:00
Yuriy Bakhtin
0cedfdd4ae
Content Search: Add Tests regarding state (#6904)
* Content Search: Add Tests regarding `state`

* Fix `ZendLucenceDriverTest:testContentState`

* Fix `ZendLucenceDriverTest:testContentState`

* Fix `ZendLucenceDriverTest:testContentState`
2024-03-28 13:46:46 +00:00
Yuriy Bakhtin
585d10608c
Implement new method getCommentUrl for permanent comment URL (#6892) 2024-03-18 11:42:27 +00:00
Marc Farré
d615ae4897
Fix #6889: Issue with modal boxes when positioning an element at the bottom of the screen (#6890) 2024-03-17 21:19:14 +00:00
Serhiy Moskalenko
3e72d2bb04
Enh #25: Improve contrast of @default button color (#6886)
Co-authored-by: Serhiy Moskalenko <serg.mosk.dev@gmail.com>
2024-03-14 17:14:37 +00:00
Marc Farré
2744a1e2b0
Enh #6707: Uninstalling modules should be done in a background job (#6877) 2024-03-08 09:16:40 +00:00
Yuriy Bakhtin
c35ddc923b
Update open-sans font from composer (#6876)
* Update open-sans font from composer

* Remove obsolete open-sans font files
2024-03-07 14:10:52 +00:00
Marc Farré
e430fcd44e
Fix/return value of group add user (#6875)
* Fix: On Group::addUser(), if the current user is not logged in (console command or user registration), the method returns false even if the user was added to the group

* Fix: On Group::addUser(), if the current user is not logged in (console command or user registration), the method returns false even if the user was added to the group

* Added PR number
2024-03-06 15:58:50 +00:00
Yuriy Bakhtin
b9f370f55c
Change people header with selected group (#6873) 2024-03-05 13:59:49 +00:00
Marc Farré
a5aaa654ce
If a top menu entry opens a modal box, don't mark it as active when clicked (#6863)
* If a top menu entry opens a modal box, don't mark it as active when clicked

* Added PR ID
2024-02-24 19:24:06 +00:00
Marc Farré
7ab02696b2
Fix #6849: In the "Module Administration" page, remove "Show in Marke… (#6855)
* Fix #6849: In the "Module Administration" page, remove "Show in Marketplace" for modules not in the @app/modules directory

* Used configured Marketplace module path

---------

Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2024-02-14 13:26:24 +00:00
Marc Farré
c293d3c580
Fix #6839: The getObjectModel() method should work for all ActiveRecord classes (#6854) 2024-02-13 16:55:14 +00:00
Yuriy Bakhtin
a5487b089f
Use prosemirror file handler flag (#6847) 2024-02-08 15:52:26 +00:00
Yuriy Bakhtin
3a2c870bfa
Update button style on force password form (#6490)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-02-07 12:42:52 +00:00
Lucas Bartholemy
ec72cca8c3
Enh/ldap (#6838)
* Fix LDAP encryption labels and allow ignore part of DNs

* Use StartWith for ignore DN matching

* updated Changelog
2024-02-07 12:28:01 +01:00
Marc Farré
319e6849b6
Fix: Wrong view filename after module enabling (#6830)
* Fix: Wrong view filename after module enabling

* Added PR number to the changelog
2024-02-02 09:16:00 +00:00
Serhiy Moskalenko
1127f01739
Fix #6810: Top menu on small screens: the previous page remains active when the new page is in the drop-down submenu (#6821)
Co-authored-by: Serhiy Moskalenko <serg.mosk.dev@gmail.com>
2024-01-29 13:44:48 +00:00
Yuriy Bakhtin
1d663d8a50
Reduce people filter options depending on what filtered users have (#6812)
* Reduce people filter options depending on what filtered users have

* Optimize reducing of people filters

* People filters test

* People filters test
2024-01-25 14:07:06 +00:00
Martin Rüegg
4a010439f4
Fix: Improve migration error messages (#6770)
* Use the actually provided module when detecting migrations

* Improve error message on migration errors

* Add Exception to Throwable

* Fix module enabled tests
2024-01-22 16:37:17 +00:00
Marc Farré
ab698d20c3
SpaceModelMembership::removeMember() should return bool (#6811)
* SpaceModelMembership::removeMember() should always return a boolean value (returns void if success)

* Added PR ID

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-01-22 12:42:55 +00:00
Marc Farré
eea2c3471c
Fix: On small screens, in the Spaces page, for spaces not having an i… (#6808)
* Fix: On small screens, in the Spaces page, for spaces not having an image, the acronym text is not vertically centered

* Added PR number
2024-01-22 11:32:22 +01:00
Martin Rüegg
fab82dbd76
Enh: Code de-duplication by introducing PermissionManager::handlePermissionStateChange() (#6750)
* Code deduplication by introducing `PermissionManager::handlePermissionStateChange()`

* Throw error if record isn't saved

* Fix: clear local cache also if permission is reset to default

* Move `checkClassType` and `classUsesTraits` from `Helpers` to `DataTypeHelper`

* Requested Changes Pt. I

* Requested Changes Pt. 2

* Requested Changes Pt. 3

* Requested Changes Pt. 4

* Update documentation

* Remove `filterClassType()`

* Fix `filterBool()`

* Change `ensure*` methods' return type to `void`
2024-01-19 11:32:01 +00:00
Martin Rüegg
940173e8af
Remove parameter type restriction on PolymorphicRelation::loadActiveRecord (#6773) 2024-01-17 17:30:20 +00:00
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
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
Yuriy Bakhtin
128d5936a3
Fix marketplace searching (#6792) 2024-01-12 16:38:09 +00: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