502 Commits

Author SHA1 Message Date
Yuriy Bakhtin
7993120486
Remove "regular" style of checkbox and radio (#5821)
* Remove "regular" style of checkbox and radio

* Update CHANGELOG-DEV.md (#5821)

* Fix checkbox style on oembed confirmation

* Fix test

* Fix test

* Fix checkbox style on widget "ContentVisibilitySelect"

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-11-10 14:28:55 +01:00
Yuriy Bakhtin
b548233701
Layout for wall create content form menu (#5827)
* Layout for wall create content form menu

* Activate current content form menu

* Display menu only on Post creating form

* Improve content form menu

* API for content form menu

* Clean up code

* API for content form menu

* Use icon from Content record for wall entry create menu

* Improve code on load create wall entry form

* New property ContentActiveRecord::$createPermission

* Display create form wall entry menu only with defined property "createRoute"

* Improve creating a content from wall stream

* Update using of permission for create new post

* Rename property to WallCreateContentForm->displayContentTabs

* Initialize widgets after load content form from menu

* Fix reset content form after submit

* Display a create content menu tab only of enabled module

* Update CHANGELOG.md (#5827)

* Fix click action of create content menu

* New method for register assets of create content menu item

* Use default sort order for create content menu item

* Change a sort order of the Post create menu item

* Remove unused function registerCreateContentMenuAssets()

* Display top sorted content form on wall stream

* Removed unused import

* Code comment

* Fix @since version

* Rename action of create form

* Widget WallCreateContentFormFooter

* Improve visibility of menu and form of create wall entry

* Style for create wall entry tabs on mobile screen

* Fix menu visibility of create wall entry

* Fix visibility of errors on create a wall entry

* Create WallCreateContentFormContainer

* Refactored `ContentContainerModule:getContentClasses()` method signature

* Fixed changed content name

* Minore changes

* Fixed Tests with new CreatePermission

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2022-11-08 22:02:27 +01:00
Yuriy Bakhtin
bc0bed2ccd
Fix content width in mobile view (#5824)
* Fix content width in mobile view

* Fix test
2022-08-02 14:04:52 +02:00
Yuriy Bakhtin
0ab96deb05
Improve checkbox and radio styles on load page (#5815)
* Improve checkbox and radio styles on load page

* Change methods visibility

* Improve checkbox and radio styles on load page (for not ActiveField)

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-07-27 15:59:17 +02:00
Lucas Bartholemy
a193855d1a Merge branch 'master' into develop 2022-07-19 19:35:28 +02:00
Yuriy Bakhtin
ce5fe0c40b
Fix alignments for people filters with select2 feature (#5806)
* Fix alignments for people filters with select2 feature

* Hide clear icon from people picker filters
2022-07-19 19:31:09 +02:00
Lucas Bartholemy
abd740e1e1 Merge branch 'master' into develop 2022-07-06 14:42:41 +02:00
Yuriy Bakhtin
e924bb0302
Fix filter for select2 fields on "People" page (#5799)
* Fix filter for select2 fields on "People" page

* Update CHANGELOG.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-07-06 11:15:31 +02:00
Lucas Bartholemy
accd26193e Merge branch 'master' into develop 2022-07-06 10:25:55 +02:00
Yuriy Bakhtin
5868e48c02
Don't hide icon "remove item" on picker (master) (#5796)
* Don't hide icon "close" on picker

* Update CHANGELOG.md (#5780)
2022-07-06 10:22:21 +02:00
Lucas Bartholemy
c910321ebc
Added Wall Entry Margin Right (#5769)
* Added Wall Entry Margin Right

* Update CHANGELOG_DEV.md
2022-06-22 18:04:29 +02:00
Lucas Bartholemy
2f675a87fe Merge branch 'master' into develop 2022-06-16 14:18:38 +02:00
Yuriy Bakhtin
9736bdeea5
Fix context menu position on the right window side (#5760)
* Fix context menu position on the right window side

* Update CHANGELOG.md (#5760)

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-06-15 11:21:39 +02:00
Lucas Bartholemy
a949a7f8fb Merge branch 'master' into develop 2022-06-03 08:00:36 +02:00
Yuriy Bakhtin
e10f7854c0
New event to append rules for active record (#5645)
* New event to append rules for active record

* Implement new post validation on focus field

* Revert "Implement new post validation on focus field"

This reverts commit 395917537cbfabb61e6950286ba09a60b3691e51.

* Validate post creating on focus event by AJAX

* Validate new post message on blur event by ajax request

* Fix creating of new Post

* Validate new post message on focus event by ajax request

* Skip rule "required" for post message on AJAX validation

* Move code to new module "Interaction limits"

* Clear code for creating of new post

* Remove a not used action

* Improve new comment form for event triggers

* Update CHANGELOG_DEV.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-06-02 16:26:31 +02:00
Yuriy Bakhtin
d855bd9004
Fix confirmation window for buttons (#5719) 2022-05-25 17:40:45 +02:00
Yuriy Bakhtin
ae9be0df62
Fix input size for placeholder length in picker field (#5712)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-05-23 10:29:31 +02:00
Marc Farré
0a1e41add1
Update form.less (#5703)
Example to understand why `.regular-radio.disabled` cannot exists.
```html
<div class="radio regular-radio-container">
    <label>
        <input type="radio" name="ModuleSettings[setting1]" value="1" disabled="" class="regular-radio">
        Text
        <div class="regular-radio-button disabled"></div>
    </label>
</div>
```
2022-05-16 17:35:30 +02:00
Yuriy Bakhtin
f3462ed605
Use primary colors in marketplace (#5690)
* Use primary colors in marketplace

* Update CHANGELOG.md (#5690)

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-05-12 10:56:43 +02:00
s-tyshchenko
cb907c6e02
Autocomplete Input Widget (#5548)
* Autocomplete Input Widget

- added text autocomplete as profile field type
- autocomplete when searching for people

* Fix

* Update BasePicker.php

* Removed Autocomplete

* Update DirectoryFilters.php

* Removed AutocompleteInputWidget

* Fix

* Fix

* Update CHANGELOG_DEV.md

* Check Profile Field

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2022-03-18 13:33:24 +01:00
s-tyshchenko
b95f7b480e
In a button, data-action-cancel-text doesn't work (#5586)
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-03-15 20:17:44 +01:00
Yuriy Bakhtin
673da3b941
Fix people/space cards banner (#5591)
* Fix people/space cards banner

* Update CHANGELOG_DEV.php

* Fix space modules list
2022-03-13 12:38:52 +01:00
s-tyshchenko
89b0410349
Mobile navigation: width detection problem (#5587) 2022-03-07 00:34:17 +01:00
Yuriy Bakhtin
c47d9f219d
Fix long words in comment form (#5581)
* Fix long words in comment form

* Update CHANGELOG_DEV.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-03-02 18:59:07 +01:00
s-tyshchenko
84f53987fa
Modal: Close Icon Optimization (#5566)
* Modal: Close Icon optimization

* Update theme.css

* Revert "Update theme.css"

This reverts commit 63718fd7e14714d8e4e6598ce285fe6bb4925033.

* Revert "Modal: Close Icon optimization"

This reverts commit e143f86c5e8f82a845c8c2c0e45bdac07127cbca.

* Modal: Close Icon optimization

* Update modal.less

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-02-23 15:25:01 +01:00
s-tyshchenko
20c238a5ba
Tooltip: improving readability (#5577) 2022-02-23 11:54:13 +01:00
Yuriy Bakhtin
877066b9fc
Improve comment buttons style (#5562)
* Improve comment buttons style

* Improve post buttons style on edit mode

* Fix hidden comment form on reply with errors

* FileHandler buttons for comment

* FileHandler buttons for post edit form

* Fix tests
2022-02-17 12:04:51 +01:00
s-tyshchenko
28eb3ac89e
Statistic input loading problem (#5539)
* Update statistic.php

* Update CHANGELOD_DEV.md

* Update statistic.php

* Update humhub.ui.codemirror.js

* Update NoncewCest.php

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-02-11 12:05:50 +01:00
Yuriy Bakhtin
af12a33d9d
Rework modules section (#5476)
* Rework modules section

* Rework modules section

* Filter modules

* Menu controls for module cards

* Display only modules

* Filter online modules by category

* Filter installed modules by category

* Filter modules by tags

* Display module status

* Reorder tags on module filters

* Display HumHub update info on modules list

* Menu controls on online modules

* Display available updates for modules

* Remove not used code of old module views

* Link to settings from modules page

* Redesign modules for user and space

* Fix user modules layout on fluid themes

* Animate module updating

* Button to update all modules

* Update style for modules list on space creating

* Fixed errors without available Marketplace module

* Sort enabled modules before disabled

* Use MarketplaceModule::$enabled on init modules list

* Update method getEnabledMarketplaceModule()

* Use MarketplaceModule::$enabled on init modules list

* Move module online info methods into separate behavior

* Update code of modules list

* Rename 'humhub.directory.js' to 'humhub.cards.js'

* Factorize online module data loading

* Move purchase licence key to new modules layout

* Align center update info

* Fix filter modules

* Fix filter modules by tags "Installed"/"Not Installed"

* Update styles of modules settings icon

* New online module status "isPartner"

* Keep single active filter tag on modules list

* Hide the not installed deprecated modules

* Update layout of module status label

* Space above filter "Tags"

* Detect module status "Professional Edition" as top priority

* Hide installed or not installed modules on single filter tag

* Update styles for upgrade humhub info on modules list

* Tooltip for button "Professional Edition"

* Fix "Buy" link

* Restyle no modules results

* Update no modules results

* Minor changes

* Changed Updater link

Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-02-03 23:16:37 +01:00
s-tyshchenko
d1a387137c
oEmbed for Facebook, Instagram and Twitter (#5510)
* oEmbed for FB, Inst and Twitter

- Support of oEmbed for Twitter, Facebook and Instagram
- Redesigned of oEmbed settings pages
- Added dynamic endpoint parameters inputs

* Migration and tests

- Migration: keep oEmbed providers already defined by users
- Adapted unit tests

* Access token required

- If an Access Token param is used in the Endpoint URL and is empty, we indicate that the configuration is incomplete
- Adapted Unit Tests
2022-01-31 17:32:00 +01:00
Yuriy Bakhtin
3894b250a6
Display confirmation message before display embedded content (#5490)
* Display confirmation message before display embedded content

* Fix confirmation of embedded content

* Optimize loading of embedded content

* New setting "Show Oembed content only after consent"

* Small fix

* Change wording

* Fix wording
2022-01-19 19:05:09 +01:00
Yuriy Bakhtin
603dafa42b
Fix confirmation for unsaved form changes (#5451) 2021-11-30 14:15:55 +01:00
Yuriy Bakhtin
73dfa058cf
Fix confirmation before close a form with unsaved changes on modal wi… (#5450)
* Fix confirmation before close a form with unsaved changes on modal window

* Update CHANGELOG.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-11-30 10:52:49 +01:00
Yuriy Bakhtin
e691de1117
Fix checkbox style (#5445)
* Fix checkbox style

* Update CHANGELOG.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-11-26 14:44:05 +01:00
Yuriy Bakhtin
0c35305ee2
Confirmation before close a not saved modal form (#5403)
* Confirmation before close a not saved modal form

* Update CHANGELOG.md
2021-10-28 14:35:28 +02:00
Yuriy Bakhtin
927ebf46d8
Change styles for spaces directory (#5365)
* Change styles for spaces directory

* Use primary color for space archived status on directory

* Change styles for spaces directory
2021-10-19 15:57:47 +02:00
Soundwave2142
2b7c9f09e8
#4945 Collapsible-fields are now accessible by keyboard (#5353)
* #4945 Collapsible-fields are now accessible by keyboard

* #4945 checkboxes now focusable via tab

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-10-17 16:19:12 +02:00
Yuriy Bakhtin
0a6728772b
Filter archived spaces on directory (#5349)
* Filter archived spaces on directory

* Update CHANGELOG.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-10-15 11:15:21 +02:00
Yuriy Bakhtin
81ca33a6e9
Allow to manage blocked users (#5309)
* Allow to manage blocked users

* Restrict access on container controllers for blocked users

* TODO point for blocked user from anonymous

* Cache blocked user Ids in container settings

* Exclude blocked used from streams and activites

* Hide blocked comments

* Change comment view from blocked user

* Change wording

* Allow to enabled user blocking in administration panel

* Disable notifications from blocked users

* Exclude blocked users from mentioning list

* Test users blocking

* Enable users blocking by default

* Refactor container settings method

* Fix tests of blocking users

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-10-07 11:16:35 +02:00
Yuriy Bakhtin
73dd4f8f1b
Fix js error on pjax open "Directory" page (#5331)
* Fix js error on pjax open "Directory" page

* Update CHANGELOG.md
2021-10-07 10:56:30 +02:00
Yuriy Bakhtin
f9d8c317b3
Deep comment link to select and mark comment in content (#5168)
* Deep comment link to select and mark comment in content

* Update CHANGELOG_DEV.md

* Use warning color for selected comment

* Permalink for comments

* Display comment permalink in modal window

* Small change for comment permalink title

* Remove container name from comment permalink

* Convert comment controls to menu widgets

* Small changes

* Use MenuLinks instead of custom widgets

* Fix encoding

* Fix opening modal window with comment permalink

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
2021-10-04 18:48:34 +02:00
Yuriy Bakhtin
d1ac039729
Fix autoload People/Spaces on scroll down (#5321) 2021-09-30 15:50:36 +02:00
Lucas Bartholemy
7b2109e154 Merge branch 'master' into develop 2021-09-30 11:03:57 +02:00
Lucas Bartholemy
11faf87c44 Enh #4399: Changed default @warning color to 2021-09-28 14:50:51 +02:00
Yuriy Bakhtin
974d5fb7b0
Fix main layout width (#5292)
* Fix main layout width

* Update CHANGELOG.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-09-27 11:26:30 +02:00
Yuriy Bakhtin
c33abac4d3
Allow to add new item on ui selector (#5269)
* Allow to add new item on ui selector

* Create CHANGELOG.md
2021-09-02 16:28:19 +02:00
Yuriy Bakhtin
536990ec03
Allow additional toggler for elements with context menu (#5239)
* Allow additional toggler for elements with context menu

* Update CHANGELOG_DEV.md

* Update CHANGELOG.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-08-11 17:36:20 +02:00
Yuriy Bakhtin
56033c592c
Confirm leave page for Post & Comment forms (#5214)
* Confirm leave page for Post & Comment forms

* Fix confirmation changes when form is submitted only by button click action

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-07-30 23:12:19 +02:00
Yuriy Bakhtin
bb14db9c69
People / Spaces: Endless Scrolling (#5211) 2021-07-30 14:06:56 +02:00
Yuriy Bakhtin
8043eb3e81
Fix closing the action confirmation modal window on top close icon (#5176)
* Fix closing the action confirmation modal window on top close icon

* Update CHANGELOG_DEV.md

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2021-07-19 11:08:58 +02:00