9193 Commits

Author SHA1 Message Date
Yuriy Bakhtin
54a2988d53
Replace deprecated yii\base\BaseObject::className() (#6185)
* Replace deprecated `yii\base\BaseObject::className()`

* Fix get class

* Remove `ActiveRecord->class()`

* Implement `PolymorphicRelation::getObjectModel($object)`

* Implement `ContentAddonActiveRecord::getObjectModel($object)`

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-29 16:00:43 +00:00
Marc Farré
71f663b484
Update Comment.php (#6357)
ContentAddonActiveRecord already  implements ContentOwner
2023-05-29 14:38:24 +00:00
Lucas Bartholemy
72b1527a62 Merge branch 'develop' of github.com:humhub/humhub into develop 2023-05-24 18:40:45 +02:00
Lucas Bartholemy
c8ea20e9d7 Merge branch 'master' into develop 2023-05-24 18:40:21 +02:00
Marc Farré
f32391c7c4
In cards.less, replace colors values with variables and increase contrast #6352 (#6353) 2023-05-24 16:01:24 +00:00
Lucas Bartholemy
5eb049fedf
Update CHANGELOG.md 2023-05-24 17:58:57 +02:00
Yuriy Bakhtin
387479ad7c
Fix error when config defaultReloadableScripts is not array (#6351) 2023-05-24 17:58:30 +02:00
Yuriy Bakhtin
e85244695b
Fix updating of post on wall stream (#6345)
* Fix updating of post on wall stream

* Update CHANGELOG.md
2023-05-22 20:23:43 +02:00
Lucas Bartholemy
3bdb048357 Fixed file upload v1.14.2 2023-05-22 13:46:46 +02:00
Lucas Bartholemy
fdf6180989
Update common.php 2023-05-22 13:45:02 +02:00
Yuriy Bakhtin
d52abb1355
Fix installation (#6343)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-22 13:40:07 +02:00
Yuriy Bakhtin
356074cb5c
Fix file uploading (#6342) 2023-05-22 13:37:26 +02:00
Marc Farré
b77706104c
Update ActiveRecord.php (#6340)
When executed by console:
`var_dump(isset(Yii::$app->user));` -> true
`var_dump(isset(Yii::$app->user->id));` -> false
2023-05-20 14:33:32 +00:00
Lucas Bartholemy
cecfd3a6fe
Update CHANGELOG.md 2023-05-18 16:49:43 +02:00
Yuriy Bakhtin
88e0030611
Fix content after submit wall entry (#6336) 2023-05-18 16:48:27 +02:00
Lucas Bartholemy
933773f856
Enh #6164: Invitation by link (#6250)
* Enh #6164: Invitation by link: when registering within an SSO, the email should only be requested on the service provider

* Updated with fix #6202: Invite by link is not possible for a user already invited by email

* new AuthChoice() was causing HeadersAlreadySentException

* Allow registration by email with an SSO even if new user cannot register (in the settings)

* Added  and

* Fixed broken tests

* global token was given instead of space token

* Convert Invite when using OAuth to keep Space

* Use Session instead of Return Parameter

* Fix tests

* Fixed invalidToken Test

* Test: Fixed HTTP return code on disabled link invite

---------

Co-authored-by: Marc Farré <contact@marc.fun>
2023-05-17 22:09:14 +02:00
Gevorg Mansuryan
78e09961c8
Add arrows for gridview sort columns (#6328)
* Add arrows for gridview sort columns

* Add arrows for gridview sort columns

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-17 14:58:27 +00:00
Lucas Bartholemy
b4e6b04ef4 Prepare 1.14.1 release v1.14.1 2023-05-15 14:04:20 +02:00
Lucas Bartholemy
f0723b5060 Merge branch 'master' into develop 2023-05-15 12:42:50 +02:00
Yuriy Bakhtin
6d65da3d7a
Send notification to mentioned user only after publishing of a content (#6288)
* Send notification to mentioned user only after publishing of a content

* Fix process notifications after publish content

* Fix test "ContentEditTest: New content is not edited"

* Disable "Notify users" on creating of not published content

* New service for content state

* Improve content state service

* Improve content state service

* Restrict addons for not published content

* Implement init event for ContentStateService
2023-05-15 12:35:23 +02:00
Gevorg Mansuryan
bd9c204735
Fix error when calling setPassword (#6327) 2023-05-13 07:19:05 +00:00
Yuriy Bakhtin
254a66098a
Make top menu shrink and grow on resize window (#6323) 2023-05-12 20:41:36 +00:00
Yuriy Bakhtin
f97efbd5c6
Fix tests (#6325) 2023-05-12 20:38:34 +00:00
Yuriy Bakhtin
cd558708f3
Fix tests (#6320)
* Fix tests

* Fix badge of scheduled stored content

* Fix topic test
2023-05-12 13:08:12 +00:00
Marc Farré
66cd606f81
fix green status dot on mobile and profile banner (#6321) 2023-05-12 06:22:23 +00:00
Yuriy Bakhtin
a2080af7db
Fix visibility of deleted content (#6317) 2023-05-11 18:58:12 +02:00
Lucas Bartholemy
fed5743b3c Rebuild Theme 2023-05-11 18:56:39 +02:00
Marc Farré
1ae00c5264
Enh/6295 online users feature (#6297)
* Enh #6295: Add the possibility to display if users are online

* Enh #6295: Add the possibility to display if users are online

* Enh #6295: Add the possibility to display if users are online

* Enh #6295: Add the possibility to display if users are online

* Enh #6295: Add the possibility to display if users are online

* Enh #6295: Add the possibility to display if users are online

* Remove old and unused classes

* changed Show to Hide online status

* Update Image.php

* changed online status icon style

* Small fixes when displaying the status green dot

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-11 16:54:37 +00:00
Marc Farré
52ffcd20c4
Enh #2590: Possibility to add a dropdown button to upload audio, image or video file type (#6302)
* Enh #2590: Possibility to add a dropdown button to upload audio, image or video file type

* Added Module::$defaultFileHandlers

* Replaced .parents() with .closest()

* Fixed translation module

* add icons to handers

* Added abstract class UploadFileHandler with 3 properties

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-11 15:30:40 +00:00
Yuriy Bakhtin
77b7879bf2
Update button title on creating of not published content (#6318)
* Update button title on creating of not published content

* Update wording on creating of scheduled content

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-11 15:27:23 +00:00
yuriimaz
6d6a0cd4ac
Enh #49: File Converter Logging Issue (#6319)
* Enh #49: File Converter Logging Issue

* Update CHANGELOG-DEV.md

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-11 14:50:08 +00:00
Lucas Bartholemy
1837cdb982 Merge branch 'master' into develop 2023-05-10 19:20:55 +02:00
Lucas Bartholemy
436b811742
Fix Activity Loading Speed (#6316)
* Fix dashboard activity loading speed

* Update CHANGELOG.md
2023-05-10 19:20:21 +02:00
Gevorg Mansuryan
40a69420d8
Enh/bring back pjax (#6277)
* Bring Back Pjax Functionality

* Bring Back Pjax Functionality

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-10 14:15:45 +00:00
Yaroslav Glodov
9b7130621a
HForm::textare() improved with {cols, rows} options. Module information is localized if needed. (#6312)
* HForm textarea() method is extended with { rows, cols } options.
dquote> Private function added to minimize the parent method.
dquote> Translation definition to options algorithm is improved with the list of strict options: id, value, prompt, label, rows, cols.

* HForm textarea() method is extended with { rows, cols } options.
dquote> Private function added to minimize the parent method.
dquote> Translation definition to options algorithm is improved with the list of strict options: id, value, prompt, label, rows, cols.

* Modules information is localized.
It is possible to add description in Markdown format in different languages for modules.

* CHANGELOG updated.

* CHANGELOG updated with the related issues.

---------

Co-authored-by: Yaroslav Glodov <i@yaro.info>
2023-05-09 17:41:26 +00:00
yuriimaz
5f7c12b372
Chng #42: Migrate to humhub-prosemirror 2.0 (#6313)
- Added "Switch editor mode" text for richtext.prosemirror to CoreJsConfig.
- Added Ukrainian translations for richtext editor.
- Added a transparent background for menubar buttons.
- Fixed indentation of menu items in text types dropdown menu.
2023-05-09 17:34:46 +00:00
Lucas Bartholemy
45f11bb682 Build Theme 2023-05-09 15:57:55 +02:00
Lucas Bartholemy
f283c2a54d Merge branch 'master' into develop 2023-05-09 15:56:51 +02:00
Yuriy Bakhtin
d230b779a4
Delete content from DB completely on purge content by cron job (#6308) 2023-05-09 12:36:22 +02:00
yuriimaz
8d98732cc9
Fix #6228: Administrators allowed to manage users cannot invite by email or by link if disabled in the settings (#6307) 2023-05-08 19:42:03 +02:00
Marc Farré
18bbe35312
Enh #6298: Move the "Write a new comment" field style to a generic field that can be used by other modules (#6303) 2023-05-08 15:03:00 +00:00
Yuriy Bakhtin
c976f20448
Fix ambiguous space sort order column (#6299) 2023-05-08 12:19:40 +00:00
Marc Farré
2720a372a4
Enh/5668 space sort order (#6247)
* Enh #5668: Allow Admin to sort the Spaces in a custom order

* Enh #5668: Allow Admin to sort the Spaces in a custom order

* Enh #5668: Allow Admin to sort the Spaces in a custom order

* Sort order field ReadOnly and added defaultOrderBy()

* Removed required sort_order attribute in Space model

* Space admin grid more compact

* Space admin grid more compact

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-06 07:27:03 +00:00
Yuriy Bakhtin
a0408aa38f
Fix automatically login user after registration (#6294)
* Fix automatically login user after registration

* Update RegistrationController.php

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2023-05-05 17:32:03 +02:00
Yuriy Bakhtin
8861a580c4
Update style variable background-color-secondary (#6296) 2023-05-05 17:01:19 +02:00
Lucas Bartholemy
304f582b28 Updated Changelog 2023-05-04 20:23:40 +02:00
yuriimaz
860ef9b02b [humhub-internal] Fix #44: Mail Module Indicator Problem.
[mail] Fix #323: New Message Count in HTML Title not reset after Message was read.
2023-05-04 20:22:43 +02:00
yuriimaz
6fe42f6772
Fix #44: Mail Module Indicator Problem (#6292)
* [humhub-internal] Fix #44: Mail Module Indicator Problem.
[mail] Fix #323: New Message Count in HTML Title not reset after Message was read.

* Changed CHANGELOG-DEV.md
2023-05-04 18:22:14 +00:00
HumHub Translations
1048efa837 Enh: Updated Translations (translate.humhub.org) 2023-05-03 16:53:39 +00:00
HumHub Translations
c3cdb9da8f Merge branch 'develop' of github.com:humhub/humhub into develop 2023-05-03 16:53:32 +00:00