File dropdown not visible at the bottom of the page (#6647)

* File dropdown not visible at the bottom of the page

* Added CHANGELOG
This commit is contained in:
Marc Farré 2023-11-08 18:20:38 +01:00 committed by GitHub
parent 27f56c37f9
commit 04ace80394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 97 additions and 163 deletions

View File

@ -4,7 +4,7 @@ HumHub Changelog
1.15.1 (Unreleased)
--------------------------------
- Fix #6644: Fix push service
- Fix #6645: File dropdown not visible at the bottom of the page
1.15.0 (November 6, 2023)
--------------------------------
@ -22,7 +22,6 @@ Warning: HumHub now employs JavaScript nonces for enhanced security (CSP), which
- Fix #6634: Refresh cache after set a permission
- Fix #6638: Padding for logo image on login page
1.15.0-beta.2 (October 5, 2023)
-------------------------------
- Enh #6594: Add field `file.metadata`
@ -276,7 +275,6 @@ Warning: HumHub now employs JavaScript nonces for enhanced security (CSP), which
--------------------
- Fix #6195: Fix `ModuleManager` disabling logging when no modules set
1.13.2 (March 27, 2023)
-----------------------
- Fix #5965: Suppress log warning 'Invalid session auth key attempted for user'
@ -393,7 +391,6 @@ See also: HumHub 1.12 - [Release Notes](https://docs.humhub.org/docs/about/relea
- Enh #5809: Improve checkbox and radio styles on load page
- Fix #5807: SMTP Mail component not loading with empty `Port` config value
1.12.0-beta.1 (June 27, 2022)
-----------------------------
- Enh #5655: Possibility to archive and lock comments on global contents
@ -407,7 +404,7 @@ See also: HumHub 1.12 - [Release Notes](https://docs.humhub.org/docs/about/relea
- Enh #5752: Improved Display Name Subtitle Usage and Administration
- Enh #5757: Make sure `setupApproved` is always called when status changes
- Enh #5598: Added `cy` Welsh language
- Fix #5338: Content topic/visibility changes are re-indexed in search index
- Fix #5338: Content topic/visibility changes are re-indexed in search index
- Enh #5535: Invisible users
- Enh #5747: Switch Mailer Library to `Symfony Mailer`
- Fix #5766: Fix email markdown format
@ -417,13 +414,11 @@ See also: HumHub 1.12 - [Release Notes](https://docs.humhub.org/docs/about/relea
- Enh #5747: Switch Mailer Library to `Symfony Mailer`
- Fix #5765: Fix rendering content form on external modules
1.11.5 (Unreleased)
---------------------
- Fix #5806: Alignments for People filters with Select2 mode
- Fix #5813: Fix deprecated null value for hour param in `mktime()`
1.11.4 (July 6, 2022)
---------------------
This release also fixes a [security](https://github.com/humhub/humhub/security/advisories/GHSA-p7h3-73v7-959c) issue.
@ -447,7 +442,6 @@ An update is STRONGLY recommended.
- Fix #5773: Fix PHP 8 incompatibility with conversion false to array
- Fix #5775: Missing encoding of profile labels in profile field administration
1.11.2 (May 30, 2022)
---------------------
- Fix: #5652: Fix undefined UrlOembed provider pattern
@ -476,7 +470,6 @@ Warning: The minimum PHP version is now `PHP 7.4`!
- Fix: #5654: Added `laminas/laminas-zendframework-bridge` to legacy support `Zend\Http` usage in 3rd party modules
- Enh: Updated translations
1.11.0 (April 20, 2022)
-----------------------
@ -487,7 +480,6 @@ Warning: The minimum PHP version is now `PHP 7.4`!
- Fix #5637: Allow update setting "include beta updates" on modules page
- Fix #5648: Introduce new config value for min. required PHP version
1.11.0-beta.3 (April 13, 2022)
------------------------------
@ -505,7 +497,6 @@ Warning: The minimum PHP version is now `PHP 7.4`!
- Fix #5633: Fix tests NonceCest
- Fix #5635: Fix cached comments
1.11.0-beta.2 (March 18, 2022)
------------------------------
@ -560,7 +551,6 @@ Warning: The minimum PHP version is now `PHP 7.4`!
- Fix #5591: Fix people/space cards banner
- Enh #5575: Add content topics to search
1.10.4 (April 19, 2022)
-----------------------
@ -597,7 +587,6 @@ See also: [HumHub 1.10 - Release Notes](https://docs.humhub.org/docs/about/relea
- Enh #5461: Added Event after a new file content (new version) is stored
- Enh #5457: Use permalink comment in notifications
1.10.1 (November 26, 2021)
--------------------------
@ -607,7 +596,6 @@ See also: [HumHub 1.10 - Release Notes](https://docs.humhub.org/docs/about/relea
- Fix #5447: Comments disappeard
- Enh: Updated translations
1.10.0 (November 25, 2021)
---------------------------------
@ -628,7 +616,6 @@ See also: [HumHub 1.10 - Release Notes](https://docs.humhub.org/docs/about/relea
- Enh #5436: Better usage of UserPicker in Form Definition
- Fix #5441: No deletion of file variants in CLI tools
1.10.0-beta.2 (November 12, 2021)
---------------------------------
- Enh #5403: Confirmation before close a not saved modal form
@ -636,7 +623,6 @@ See also: [HumHub 1.10 - Release Notes](https://docs.humhub.org/docs/about/relea
- Fix #5402: Fix mentioning search in comment content
- Enh #5418: Allow to detach file from simple ActiveRecord
1.10.0-beta.1 (October 27, 2021)
--------------------------------
- Enh #4399: Direct deep links to comments and highlighting
@ -690,7 +676,6 @@ See also: [HumHub 1.10 - Release Notes](https://docs.humhub.org/docs/about/relea
- Fix #5372: Text shortening in Japanese broken - Fix truncating of multi-byte strings
- Fix #5398: Fix checking of foreign table index
1.9.2 (October 15, 2021)
------------------------
- Fix #5265: Fix logging filter "Error" when not entries
@ -703,7 +688,6 @@ See also: [HumHub 1.10 - Release Notes](https://docs.humhub.org/docs/about/relea
- Fix #5327: Fix update container tags by not original model
- Fix #5342: Fix mime type detection for extensions: dotx, xltx, potx
1.9.1 (August 30, 2021)
-----------------------
@ -726,7 +710,6 @@ See also: [HumHub 1.9 - Release Notes](https://docs.humhub.org/docs/about/releas
- Enh #5259: Protection of the logout action by POST method. (Thanks to @avjesadiya13 and @VishnuChebolu for disclosing the problem.)
- Fix #5262: Fix visibility of email requiring on backoffice add user form
1.9.0 (July 22, 2021)
---------------------
@ -741,7 +724,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #5009: Fix video thumbnail on Safari browser
- Fix #5182: Password field should not be required if user has no password
1.9.0-beta.2 (July 14, 2021)
----------------------------
@ -758,7 +740,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Enh #3824: Run acceptance tests with pretty URLs
- Enh #5169: Enable more than 50 groups to a user
1.9.0-beta.1 (June 15, 2021)
----------------------------
@ -766,7 +747,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #5071: Add CLI hint to PCTL Requirements Warning
1.9.0-beta.1 (June 15, 2021)
----------------------------
@ -817,7 +797,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Enh #5114: Added `EVENT_BEFORE_CHECKING_USER_STATUS` in `AuthController.php` to give the possibility to add an event before checking the user status
- Fix #5122: `RichText::output` produces `p` HTML element instead of `div`
1.8.3 (July 14, 2021)
----------------------
- Fix #29: Fix login form view on browser back button after footer link
@ -827,7 +806,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #5130: Don't require type for first param of the function ProsemirrorRichText::replaceLinkExtension()
- Fix #5155: Open basedir restriction error in with PHP 7.4.21/8.0.8
1.8.2 (April 26, 2021)
----------------------
- Fix #4959: Horizontal scrollbar for images
@ -850,7 +828,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #5015: Fix visibility of admin menu entries which are initialized with deprecated method
- Fix #5039: RichText converter for some string patterns in HTML format
1.8.1 (March 12, 2021)
----------------------
@ -865,7 +842,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4955: Fix convert emoji with sign "+"
- Fix #4956: Fix file hash column length
1.8.0 (March 1, 2021)
---------------------
@ -877,7 +853,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4918: Comment richtext gets focused when closing comment section
- Fix #4917: Hide user groups in directory without option "Show At Directory"
1.8.0-beta.2 (February 18, 2021)
--------------------------------
@ -894,7 +869,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4886: Improved styling of aligned richtext images
- Fix #4891: Typo 'charachters' in chooser message
1.8.0-beta.1 (February 4, 2021)
-------------------------------
@ -945,7 +919,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Enh #4686: Enhanced richtext extension API for convterting and post-processing
- Enh #4686: Added caching mechanism for richtext converter results
1.7.3 (February 26, 2021)
-------------------------
- Fix #4792: Guest access to user profile home page
@ -962,7 +935,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4921: Fix ambiguous column status
- Fix #4923: Replace denied characters with underscore in uploaded file names
1.7.2 (January 21, 2021)
------------------------
- Fix #4668: table-responsive tables do not overflow due to default word break style
@ -979,7 +951,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4768: Use only letters and digits from Space name for logo acronym (Thanks to @jrckmcsb)
- Fix #3617: Deny slashes in usernames
1.7.1 (November 27, 2020)
-------------------------
- Fix #4612: Dashboard wall stream entry displays user name in sub title in post style layout
@ -997,13 +968,11 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4596: Set `autocomplete="off"` on date picker fields
- Fix #4666: Richtext attachment of multiple files without title fails
1.7.0 (November 4, 2020)
------------------------
- Fix #4590: Page loader color contrast too low
- Fix #4599: File preview not visible if initialized in background
1.7.0-beta.2 (October 26, 2020)
-------------------------------
- Fix #4504: Fix `hasSidebar()` for empty sidebar
@ -1024,7 +993,6 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Fix #4559: Dont check platform php extensions by composer v2
- Fix #4581: Users see content of archived spaces on dashboard
1.7.0-beta.1 (October 16, 2020)
-------------------------------
- Fix #4327: Internationalization of user approval/decline message text
@ -1093,14 +1061,12 @@ Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Enh #4469: Added alias for file uploads folder
- Fix #4513: Make like counter clickable in first like
1.6.5 (Unreleased)
------------------
- Fix #4555: Default password validation error message missing translation and wrong min. characters
- Fix #4494: Empty "Add Modules" step on space creation when all modules are always enabled
1.6.4 (October 9, 2020)
-----------------------
@ -1115,7 +1081,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4385: Tour broken when profile start page is changed
- Fix #4430: Invalid notifications breaks notification overview
1.6.3 (September 9, 2020)
-----------------------
- Fix #4315: UserInvite (E-Mail Approval) not deleted when declining users
@ -1126,12 +1091,10 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4343: Autofocus of picker input in modal not working
- Fix #4323: TabbedForm validation switches to erroneous tab on every client form validation
1.6.2 (August 4, 2020)
-----------------------
- Fix #4305: 2nd level comment "Submit" button not visible
1.6.1 (August 3, 2020)
----------------------
- Fix #4282: Sub-comment richtext menu dropdown does not hover main comment section
@ -1139,7 +1102,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4287: Fixed Yii2 compatibility issue with MySQL 8+
- Fix #4303: Fixed syntax error in comment query
1.6.0 (July 29, 2020)
---------------------
- Fix #4256: MOV file support broken with wrong MIME Type
@ -1148,7 +1110,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4262: Additional hr in comment section
- Fix #4161: Number of "n more" likes is invalid
1.6.0-beta.1 (July 16, 2020)
----------------------------
- Enh: Improved performance of cli marketplace module updater
@ -1187,7 +1148,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Make profile content archivable
- Enh: Archived stream filter now only included archived content
1.5.3 (July 16, 2020)
---------------------
- Fix #4036: Profile images are not rotated correctly
@ -1198,7 +1158,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4140: Profile field hint is double encoded
- Fix #4166: Typo in LDAP settings form
1.5.2 (May 20, 2020)
--------------------
@ -1233,8 +1192,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4127: Richtext fullscreen mode within modal or login-container broken
- Fix #4116: Definitive user deletion doesn't work
1.5.1 (April 19, 2020)
----------------------
@ -1249,7 +1206,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #4023: Background flickering on firefox page transition
- Fix #4028: Image previews rendering in stream do not perform well.
1.5.0 (April 15, 2020)
----------------------
@ -1262,7 +1218,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Chg: Removed all style assets from CoreBundleAssets
- Fix #3991: Archive content triggers "New updates available" stream badge
1.5.0-beta.1 (April 6, 2020)
----------------------------
@ -1317,14 +1272,12 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3813: Too high memory consumption on Notification cleanup
- Chg: Updated richtext version to 1.0.22
1.4.5 (Unreleased)
------------------
- Fix #3945: Default object-src policy prevents loading pdf on safari
- Fix #3963: Richtext/Markdown links not highlighted by default
- Fix #3986: Cannot use yii\helpers\Html as Html because the name is already in use in `humhub\libs\ProfileBannerImage`
1.4.4 (March 24, 2020)
----------------------
- Fix #3908: `DateHelper::parseDateTime()` returns invalid date if given value is not parsable
@ -1339,7 +1292,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3906: Prevent emoji chooser focus when triggered by input rule
- Fix #3890: Richtext list menu item disappears
1.4.3 (March 4, 2020)
---------------------
- Fix #3887: CSS presentation issue for tables wider than the container and videos missing borders (areasas)
@ -1348,7 +1300,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3894: Pjax call does not does not release scroll body scroll lock when default swipe is active
- Fix #3897: Top menu dropdown on mobile does not update active state
1.4.2 (Februrary 27, 2020)
--------------------------
@ -1362,7 +1313,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Updated humhub richtext version to 1.0.20
- Fix #3883: Former & soft deleted LDAP user produces multiple warnings
1.4.1 (Februrary 17, 2020)
--------------------------
@ -1372,7 +1322,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3862: Profile field type checkbox list with multiple values broken
- Fix #3864: Some profile field translations broken
1.4.0 (February 4, 2020)
------------------------
@ -1414,7 +1363,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Added possibility to disable mail summary feature
- Fix #3848: Error page does not use theme
1.4.0-beta.2
------------
@ -1445,7 +1393,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Updated richtext version to 1.0.18 see (https://github.com/humhub/humhub-prosemirror/blob/master/docs/CHANGELOG.md)
- Enh: Added mobile swipe in order to show sidebar (needs to be activated `Administaration -> Settings -> Appearance`)
1.4.0-beta.1
------------
@ -1535,12 +1482,10 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #2605: User display name cropped in profile header
- Enh: Updated Yii to 2.0.30
1.3.21 (Unreleased)
-------------------
- Fix #3846: Timeline sort by "update" looses entries
1.3.20 (January 9, 2020)
------------------------
@ -1558,7 +1503,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3717: Account deletion incomplete if related to an identity provider
- Fix #3800: Birthday "Hide year in profile" inconsistent with LDAP
1.3.18 (November 22, 2019)
--------------------------
@ -1570,13 +1514,11 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix: Global content does not allow guest access
- Fix #3727 Bug with Bluebird and Firefox 71 breaking mentioning requests
1.3.17 (October 17, 2019)
--------------------------
- Fix #3690: Rollback from broken version 2.8.6 to 2.8.1 of bower-asset/clipboard.js
1.3.16 (October 17, 2019)
--------------------------
@ -1588,7 +1530,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3637: Allowed using apostrophe in filename (@githubjeka)
- Fix #3602: Trim function for username (@githubjeka)
1.3.15 (August 22, 2019)
-------------------------
@ -1603,7 +1544,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3625: If user is following a space of which he is also a member, it shows up twice under "my spaces"
- Fix #3626: SimpleStream reloads unexpected
1.3.14 (June 26, 2019)
------------------------
- Fix: LinkedIn API call to v1 deprecated use v2 (@Felli)
@ -1620,7 +1560,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3584: "Array to string conversion" on some LDAP attributes
- Fix #3437: Composer warning for bower-asset/jPlayer
1.3.13 (May 3, 2019)
----------------------
- Enh: Added HomeUrl support to ConsoleApplication
@ -1639,7 +1578,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #3534: Mark ID Attribute in LDAP settings as required
- Fix #3662: Group picker encode issue
1.3.12 (March 26, 2019)
---------------------------
- Enh: Use of new Richtext for About section
@ -1673,7 +1611,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix: Uploaded png preview files lose transparency
- Fix: Modal options `backdrop` and `keyboard` deactivation has no effect
1.3.10 (February 22, 2019)
---------------------------
- Fix: Removed ContentTag logging in search update
@ -1688,7 +1625,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix: Added "utf8mb4" character set support to database requirements
- Fix: Finnish language name in language dropdown
1.3.9 (February 13, 2019)
--------------------------
@ -1714,7 +1650,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Added new admin setting "Include captcha in registration form"
- Enh: Added contentTags to the search index
1.3.8 (December 10, 2018)
---------------------------
@ -1726,7 +1661,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix: Administration menu item visible after user impersonation
- Enh: Added PermissionManager findUsersByPermission feature
1.3.7 (October 23, 2018)
---------------------------
@ -1740,7 +1674,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix #2912: Deleting single stream item does not reload stream
- Fix: Updated blueimp/jQuery-File-Upload to 2.94.1
1.3.6 (October 11, 2018)
---------------------------
@ -1749,7 +1682,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Chng: Updated `humhub-prosemirror-richtext` to v1.0.12
- Fix #3322: Disabled users still receive emails notifications
1.3.5 (October 10, 2018)
---------------------------
@ -1773,13 +1705,11 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix widgetAction events case issue
- Added `humhub.modules.util.string.capitalizeFirstLetter` and `lowerCaseFirstLetter`
1.3.4 (September 25, 2018)
---------------------------
- Fix: Theme parent lookup cache causes installer crash
1.3.3 (September 24, 2018)
---------------------------
@ -1802,7 +1732,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Chng: Updated `humhub-prosemirror-richtext` to v1.0.10
- Fix: File handling in upgrade path between 1.0.x and 1.3.x
1.3.2 (September 4, 2018)
--------------------------
@ -1843,7 +1772,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Added `ui.richtext.prosemirror.config.link.validate` to intercept link input validation
- Chng: Updated `humhub.prosemirror` dependency to 1.0.9
1.3.1 (August 7, 2018)
-----------------------
@ -1855,7 +1783,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix: Improved handling of inconsistent notifications
- Fix: Vietnamese translation syntax error
1.3.0 (August 3, 2018)
-----------------------
@ -1869,7 +1796,6 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Enh: Added `AbstractRichTextEditor::layout` in order to change richtext style
- Enh: Added `block` type RichText for non focus menu style
1.3.0-beta.3 (July 30, 2018)
-----------------------------
@ -1887,13 +1813,12 @@ This release also brings a [security update](https://github.com/yiisoft/yii2/sec
- Fix: introduction tour not working
- Chng: Moved static js dependencies from `static/resources` into `static/js`
- Fix: Comment edit cancel edit context item not shown
- Fix #2700: Prevent GroupManager access to system admin group management
- Fix #2700: Prevent GroupManager access to system admin group management
- Enh: Styled user deletion view
- Fixed: Space and User Admin Filterbar padding
- Fix: Source serialization of Notification ActiveJob
- Enh: Added 'requireSource' & 'requireOriginator' flags in SocialActivities
1.3.0-beta.2 (July 18, 2018)
-----------------------------
@ -1941,7 +1866,6 @@ Please read the [Update Guide](http://docs.humhub.org/beta/admin-updating-130.ht
- Fix: File upload errors not handled by richtext
- Enh: Removed built and compressed assets from GitHub sources
1.3.0-beta.1 (July 4, 2018)
----------------------------
@ -2016,7 +1940,6 @@ Please read the [Update Guide](http://docs.humhub.org/beta/admin-updating-130.ht
- Chg: New Stream and Stream Filter API
- Enh: Added `topic` content filter concept with stream integration
1.2.8 (July 3, 2018)
--------------------
@ -2032,7 +1955,6 @@ Please read the [Update Guide](http://docs.humhub.org/beta/admin-updating-130.ht
- Fix #3176: Integrity checker removes modules default state
- Enh: Updated translations
1.2.7 (May 23, 2018)
--------------------
@ -2046,7 +1968,6 @@ Please read the [Update Guide](http://docs.humhub.org/beta/admin-updating-130.ht
- Fixed `User `namespace issue in `humhub\modules\user\components\BaseAccountController`
- Chg: Added footer menu to account menu on small display resolutions
1.2.6 (May 14, 2018)
-----------------------
@ -2060,7 +1981,6 @@ You can find a full list of the view changes here: https://github.com/humhub/hum
- Enh: Added HForm class events EVENT_AFTER_INIT and EVENT_BEFORE_RENDER
- Enh: Updated translations
1.2.5 (April 11, 2018)
-----------------------
@ -2247,7 +2167,7 @@ Important note for Git/Composer installations: http://www.yiiframework.com/news/
- Fix: `ActiveQueryContent:readable()` for guNest users missing join
- Enh: Added `ContentActiveRecord:managePermission` for changing the default write permission of ContentActiveRecord classes
- Enh: Moved all default `WallEntryControls` to `WallEntry:getContextMenu()` widget.
- Fix: Connect google OAuth under `Profile Settings -> Connected Accounts` throws invalid redirect uri.
- Fix: Connect google OAuth under `Profile Settings -> Connected Accounts` throws invalid redirect uri.
- Fix: Invite Users does not respect ManageUsers/ManageGroups permission
- Fix: Mail summaries sent in incorrect language
- Fix: Send button text on request space membership dialog
@ -2272,7 +2192,6 @@ Important note for Git/Composer installations: http://www.yiiframework.com/news/
- Fix #2631: Module configuration link shown for disabled modules
- Fix #2785 #2172: Added iconv PHP extension to the requirement check (leuprechtroman)
1.2.0 (April 16, 2017)
--------------------------------
- Fix: SVG file uploads broken (mime type: image/svg+xml)

View File

@ -545,6 +545,21 @@ humhub.module('file', function (module, require, $) {
upload.finish();
});
// Bootstrap 3 drop-down menu auto dropup according to screen position
// Must be removed when Humhub uses Bootstrap 4+
var dropdownButtonSelector = '.upload-buttons > .btn-group';
$(document).on("shown.bs.dropdown", dropdownButtonSelector, function () {
var $ul = $(this).children(".dropdown-menu");
var $button = $(this).children(".dropdown-toggle");
var ulOffset = $ul.offset();
var spaceUp = (ulOffset.top - $button.height() - $ul.height()) - $(window).scrollTop();
var spaceDown = $(window).scrollTop() + $(window).height() - (ulOffset.top + $ul.height());
if (spaceDown < 0 && (spaceUp >= 0 || spaceUp > spaceDown))
$(this).addClass("dropup");
}).on("hidden.bs.dropdown", dropdownButtonSelector, function () {
$(this).removeClass("dropup");
});
};
var upload = function (evt) {