Marc Farré 0c56f2c7fa
Enh/add share intend feature (#7455)
* Enh: Add the possibility to create a content from a modal for the Mobile app Share Intend feature, in the Profile, a Space, or a new Conversation

* Fix Space Search URL

* Small emprovements

* Hide the content types menu (allow posting only)

* Hide "Schedule" feature

* display the richtext toolbar directly (no need to click in the editor)

* Reuse the ShareService::searchSpaces() from the Share Between module and move it to core, in a ContentCreationService

* Merge master branch

* Move Controller and Form to new ShareIntend classes

* Refactor ShareIntend

* https://github.com/humhub/app-internal/issues/76#issuecomment-2734995419

* Remove useless UserPickerField::getItemText()

* Add Cancel button

* After content creation, if the dashboard stream is not displayed on the current page, redirect to the content container, to make sure the user sees the new content

* Fix for non-pretty URLs

* https://github.com/humhub/app-internal/issues/76#issuecomment-2749597714

* Change wording

* Create ShareIntendTargetForm::canPostInOwnProfile() to avoid duplicate

* Fix Space Picker

* Improve Share Intend Modal ID

* Improve WallCreateContentFormFooter param handling

* Allow null for WallCreateContentForm in Footer

* Fixed wrong variable assignment

* Check if the files exists, and if user is the owner of the files && Fix submit URL

* Remove SearchContainerController and force defining the url when using ContentContainerPicker

* Rename ContentContainerPicker to ContentContainerPickerField

* Allow Create Content form in plain and modal at the same time

* Fix schedule and content form message ID for modal

* Fix: Remove added Dashboard stream ID and use Class instead

---------

Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2025-04-03 12:02:21 +02:00
..
2025-04-03 12:02:21 +02:00