GitHub/WoltLab/WCF.git
4 years agoMerge branch '5.2'
joshuaruesweg [Sat, 22 Aug 2020 14:31:49 +0000 (16:31 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1'
joshuaruesweg [Sat, 22 Aug 2020 14:29:45 +0000 (16:29 +0200)]
Merge branch '3.1'

4 years agoRemove fullscreen mode in template diff
joshuaruesweg [Sat, 22 Aug 2020 14:26:44 +0000 (16:26 +0200)]
Remove fullscreen mode in template diff
The fullscreen mode does not have any advantage at this point because the diff is also displayed with a height of 700px (just like without fullscreen mode).

4 years agoMerge branch '5.2'
Alexander Ebert [Sat, 22 Aug 2020 13:37:01 +0000 (15:37 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Sat, 22 Aug 2020 13:36:25 +0000 (15:36 +0200)]
Merge branch '3.1' into 5.2

4 years agoImproved visuals of the fullscreen template comparison
Alexander Ebert [Sat, 22 Aug 2020 13:35:42 +0000 (15:35 +0200)]
Improved visuals of the fullscreen template comparison

Fixes #3473

4 years agoMerge branch '3.1' into 5.2
joshuaruesweg [Sat, 22 Aug 2020 12:22:50 +0000 (14:22 +0200)]
Merge branch '3.1' into 5.2

4 years agoFix trophy icon size in badges on groupedUserTrophyList
joshuaruesweg [Sat, 22 Aug 2020 12:22:21 +0000 (14:22 +0200)]
Fix trophy icon size in badges on groupedUserTrophyList

4 years agoMerge branch '5.2'
Alexander Ebert [Sat, 22 Aug 2020 11:11:32 +0000 (13:11 +0200)]
Merge branch '5.2'

4 years agoDuplicate `<br>` inserted on paste
Alexander Ebert [Sat, 22 Aug 2020 11:11:15 +0000 (13:11 +0200)]
Duplicate `<br>` inserted on paste

Fixes #3454

4 years agoWorkaround for custom elements being chopped up by outdenting an empty `li`
Alexander Ebert [Sat, 22 Aug 2020 00:14:17 +0000 (02:14 +0200)]
Workaround for custom elements being chopped up by outdenting an empty `li`

Reproducible test case:
```
<woltlab-spoiler>
  <ul>
    <li>Test</li>
    <li>T</li> <!-- Backspace this item -->
  </ul>
</woltlab-spoiler>
```

4 years agoMerge branch '5.2'
Alexander Ebert [Fri, 21 Aug 2020 22:14:56 +0000 (00:14 +0200)]
Merge branch '5.2'

4 years agoWorkaround for Safari when removing the text formatting with a collapsed selection
Alexander Ebert [Fri, 21 Aug 2020 22:14:40 +0000 (00:14 +0200)]
Workaround for Safari when removing the text formatting with a collapsed selection

4 years agoMerge branch '5.2'
Marcel Werk [Fri, 21 Aug 2020 15:44:43 +0000 (17:44 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Fri, 21 Aug 2020 15:44:30 +0000 (17:44 +0200)]
Merge branch '3.1' into 5.2

4 years agoAdjusted appearance of the "sign in with google" button
Marcel Werk [Fri, 21 Aug 2020 15:42:29 +0000 (17:42 +0200)]
Adjusted appearance of the "sign in with google" button

4 years agoMerge branch '5.2'
Alexander Ebert [Fri, 21 Aug 2020 11:43:37 +0000 (13:43 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Fri, 21 Aug 2020 11:43:23 +0000 (13:43 +0200)]
Merge branch '3.1' into 5.2

4 years agoReopened dialogs were hidden behind new dialogs
Alexander Ebert [Fri, 21 Aug 2020 11:43:04 +0000 (13:43 +0200)]
Reopened dialogs were hidden behind new dialogs

4 years agoMerge branch '5.2'
Alexander Ebert [Fri, 21 Aug 2020 11:29:48 +0000 (13:29 +0200)]
Merge branch '5.2'

4 years agoIncorrect blacklisting of `register_activation_method`
Alexander Ebert [Fri, 21 Aug 2020 11:24:46 +0000 (13:24 +0200)]
Incorrect blacklisting of `register_activation_method`

4 years agoUpdating minified JavaScript files
woltlab.com [Fri, 21 Aug 2020 09:26:59 +0000 (09:26 +0000)]
Updating minified JavaScript files

4 years agoThe implementation for JS bundles for other repositories was outdated
Alexander Ebert [Fri, 21 Aug 2020 09:25:00 +0000 (11:25 +0200)]
The implementation for JS bundles for other repositories was outdated

See #3520

4 years agoUpdate the number of votes in a poll after voting
Alexander Ebert [Thu, 20 Aug 2020 22:50:53 +0000 (00:50 +0200)]
Update the number of votes in a poll after voting

4 years agoMerge branch '5.2'
Alexander Ebert [Thu, 20 Aug 2020 22:28:41 +0000 (00:28 +0200)]
Merge branch '5.2'

4 years agoPrevent the focus being trapped if the user intentionally clicks outside
Alexander Ebert [Thu, 20 Aug 2020 22:28:22 +0000 (00:28 +0200)]
Prevent the focus being trapped if the user intentionally clicks outside

Clicking on a link or button outside of the overlay caused the browser to close the drop-down and shift the focus on the menu element.

4 years agoUpdating minified JavaScript files
woltlab.com [Thu, 20 Aug 2020 16:18:22 +0000 (16:18 +0000)]
Updating minified JavaScript files

4 years agouglifyjs.minify expects the code and not a path
Alexander Ebert [Thu, 20 Aug 2020 16:13:45 +0000 (18:13 +0200)]
uglifyjs.minify expects the code and not a path

For whatever reason that this has worked in the past, in node 14+ the behavior appears to have been changed.

The `cascade` option is not mentioned in the list of valid options and since error message were implicitly suppressed, this went by unnoticed.

Fixes #3520

4 years agoMerge branch '5.2'
Alexander Ebert [Thu, 20 Aug 2020 09:52:57 +0000 (11:52 +0200)]
Merge branch '5.2'

4 years agoMerge pull request #3525 from WoltLab/rich-metacode-in-quick-reply
Alexander Ebert [Thu, 20 Aug 2020 09:52:30 +0000 (11:52 +0200)]
Merge pull request #3525 from WoltLab/rich-metacode-in-quick-reply

Prevent rich metacode being dysfunctional in new messages

4 years agoMerge branch '5.2'
Alexander Ebert [Wed, 19 Aug 2020 22:50:46 +0000 (00:50 +0200)]
Merge branch '5.2'

4 years agoMerge pull request #3523 from WoltLab/dropdown-scrollbar-large-tablets-fix
Alexander Ebert [Wed, 19 Aug 2020 22:50:13 +0000 (00:50 +0200)]
Merge pull request #3523 from WoltLab/dropdown-scrollbar-large-tablets-fix

Fix the scrollbar for dropdowns on large tablets

4 years agoPrevent rich metacode being dysfunctional in messages just created by replying
Alexander Ebert [Wed, 19 Aug 2020 17:26:11 +0000 (19:26 +0200)]
Prevent rich metacode being dysfunctional in messages just created by replying

The `isset` strategy does not work properly, because in some cases the HTML is evaluated before being placed in the final template, causing the variable to be set already.

This changes modifies the behavior to always attempt to initialize the JavaScript, but made changes to ensure that each subsequent call is idempotent.

4 years agoAdd missing word in exception message
Matthias Schmidt [Wed, 19 Aug 2020 16:38:35 +0000 (18:38 +0200)]
Add missing word in exception message

See 709b412bf72084e48d408787d8455f9876fcdaed

4 years agoFix the scrollbar for dropdowns on large tablets
joshuaruesweg [Wed, 19 Aug 2020 13:32:27 +0000 (15:32 +0200)]
Fix the scrollbar for dropdowns on large tablets
Because tablets are not the platform "desktop", the scrollbar is not shown for tablets, even though they are rendered with desktop view.
Fixes #3522

4 years agoMerge branch '5.2'
Alexander Ebert [Wed, 19 Aug 2020 08:41:18 +0000 (10:41 +0200)]
Merge branch '5.2'

4 years agoDisable the search for updates buttons while active
Alexander Ebert [Wed, 19 Aug 2020 08:40:47 +0000 (10:40 +0200)]
Disable the search for updates buttons while active

4 years agoMerge pull request #3519 from WoltLab/reactions-smartphone-optimization
Alexander Ebert [Wed, 19 Aug 2020 08:00:20 +0000 (10:00 +0200)]
Merge pull request #3519 from WoltLab/reactions-smartphone-optimization

Overflow handling for reaction popovers on smartphones

4 years agoReset the scroll position for popovers aligned to the bottom
Alexander Ebert [Wed, 19 Aug 2020 08:00:02 +0000 (10:00 +0200)]
Reset the scroll position for popovers aligned to the bottom

4 years agoMerge branch '5.2' into master
Tim Düsterhus [Wed, 19 Aug 2020 07:51:42 +0000 (09:51 +0200)]
Merge branch '5.2' into master

4 years agoMerge pull request #3514 from WoltLab/form-link-to-created-item
Marcel Werk [Tue, 18 Aug 2020 18:22:33 +0000 (20:22 +0200)]
Merge pull request #3514 from WoltLab/form-link-to-created-item

Forms: Provide a link to edit an item that was just created

4 years agoChanged appearance of the edit link
Marcel Werk [Tue, 18 Aug 2020 18:21:51 +0000 (20:21 +0200)]
Changed appearance of the edit link

4 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Tue, 18 Aug 2020 18:12:35 +0000 (20:12 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF

4 years agoUse of explicit font weight `600` instead of `bold`
Alexander Ebert [Tue, 18 Aug 2020 17:54:44 +0000 (19:54 +0200)]
Use of explicit font weight `600` instead of `bold`

4 years agoToggling preview button is only possible before building form
Matthias Schmidt [Tue, 18 Aug 2020 17:35:29 +0000 (19:35 +0200)]
Toggling preview button is only possible before building form

See #3513

4 years agoMerge pull request #3521 from Krymonota/patch-13
Joshua Rüsweg [Tue, 18 Aug 2020 17:22:02 +0000 (19:22 +0200)]
Merge pull request #3521 from Krymonota/patch-13

Remove redundant `implements IWorker`

4 years agoRemove redundant `implements IWorker`
Niklas [Tue, 18 Aug 2020 17:14:12 +0000 (19:14 +0200)]
Remove redundant `implements IWorker`

4 years agoIncorrect scroll position and reaction order
Alexander Ebert [Tue, 18 Aug 2020 15:57:10 +0000 (17:57 +0200)]
Incorrect scroll position and reaction order

4 years agoCompute the overflow indicators when displaying the popover
Alexander Ebert [Tue, 18 Aug 2020 15:02:24 +0000 (17:02 +0200)]
Compute the overflow indicators when displaying the popover

4 years agoCSS incorrectly applied for non smartphones sizes
Alexander Ebert [Tue, 18 Aug 2020 14:58:06 +0000 (16:58 +0200)]
CSS incorrectly applied for non smartphones sizes

4 years agoCleaned up the dependencies
Alexander Ebert [Tue, 18 Aug 2020 14:56:29 +0000 (16:56 +0200)]
Cleaned up the dependencies

4 years agoAdded new template 'formNotice'
Marcel Werk [Tue, 18 Aug 2020 13:43:37 +0000 (15:43 +0200)]
Added new template 'formNotice'

4 years agoFixed double call of executeAction()
Marcel Werk [Tue, 18 Aug 2020 13:39:11 +0000 (15:39 +0200)]
Fixed double call of executeAction()

4 years agoFix deprecation warnings in form builder in PHP 8
Matthias Schmidt [Sat, 15 Aug 2020 12:46:51 +0000 (14:46 +0200)]
Fix deprecation warnings in form builder in PHP 8

Close #3489

4 years agoOverflow handling for reaction popovers on smartphones
Alexander Ebert [Mon, 17 Aug 2020 16:54:40 +0000 (18:54 +0200)]
Overflow handling for reaction popovers on smartphones

Closes #3518

4 years agoAllow disabling preview button in WYSIWYG form container
ilou [Mon, 17 Aug 2020 16:44:31 +0000 (18:44 +0200)]
Allow disabling preview button in WYSIWYG form container

4 years agoMerge branch 'master' into form-link-to-created-item
Marcel Werk [Mon, 17 Aug 2020 16:05:15 +0000 (18:05 +0200)]
Merge branch 'master' into form-link-to-created-item

4 years agoUse of LinkHandler::getControllerLink() instead of LinkHandler::getLink()
Marcel Werk [Mon, 17 Aug 2020 16:03:54 +0000 (18:03 +0200)]
Use of LinkHandler::getControllerLink() instead of LinkHandler::getLink()

4 years agoMerge pull request #3517 from WoltLab/zxcvbn-bundle
Tim Düsterhus [Mon, 17 Aug 2020 15:21:17 +0000 (17:21 +0200)]
Merge pull request #3517 from WoltLab/zxcvbn-bundle

Load zxcvbn on demand

4 years agoMerge pull request #3516 from WoltLab/retain-dimensions-aspect-ratio
Tim Düsterhus [Mon, 17 Aug 2020 15:20:45 +0000 (17:20 +0200)]
Merge pull request #3516 from WoltLab/retain-dimensions-aspect-ratio

Improve phrasing for *_retain_dimensions phrases

4 years agoMerge pull request #3476 from WoltLab/failsafe-scss
Joshua Rüsweg [Mon, 17 Aug 2020 14:24:29 +0000 (16:24 +0200)]
Merge pull request #3476 from WoltLab/failsafe-scss

Failsafe Style SCSS

4 years agoFix comment
joshuaruesweg [Mon, 17 Aug 2020 14:13:25 +0000 (16:13 +0200)]
Fix comment

4 years agoFix image path on editing styles
joshuaruesweg [Mon, 17 Aug 2020 13:50:25 +0000 (15:50 +0200)]
Fix image path on editing styles

4 years agoRemove 3.1.* update instructions
Tim Düsterhus [Mon, 17 Aug 2020 13:34:27 +0000 (15:34 +0200)]
Remove 3.1.* update instructions

This cleans up package.xml. The 3.1.* instructions are not required for master / 5.3.

4 years agoRemove unused div from PasswordStrength.js
Tim Düsterhus [Mon, 17 Aug 2020 13:13:59 +0000 (15:13 +0200)]
Remove unused div from PasswordStrength.js

4 years agoLoad zxcvbn on demand
Tim Düsterhus [Mon, 17 Aug 2020 13:12:14 +0000 (15:12 +0200)]
Load zxcvbn on demand

Resolves #3515

4 years agoImprove phrasing for *_retain_dimensions phrases
Tim Düsterhus [Mon, 17 Aug 2020 13:00:07 +0000 (15:00 +0200)]
Improve phrasing for *_retain_dimensions phrases

- de: s/Bildformat/Seitenverhältnis/
- en: s/Dimensions/Aspect Ratio/
- en: Use Title Case

Resolves #3510

4 years agoUpdating minified JavaScript files
woltlab.com [Mon, 17 Aug 2020 10:29:28 +0000 (10:29 +0000)]
Updating minified JavaScript files

4 years agoForms: Provide a link to edit an item that was just created
Marcel Werk [Sun, 16 Aug 2020 13:36:46 +0000 (15:36 +0200)]
Forms: Provide a link to edit an item that was just created

Closes #3289

4 years agoClose the notification drop-down after clicking a link
Alexander Ebert [Sat, 15 Aug 2020 18:04:03 +0000 (20:04 +0200)]
Close the notification drop-down after clicking a link

This prevents the drop-down from staying open if the link is _effectively_ a no-op that does not cause a navigation, such as when the link target is the current page.

4 years agoMerge branch '5.2'
Alexander Ebert [Sat, 15 Aug 2020 17:37:20 +0000 (19:37 +0200)]
Merge branch '5.2'

4 years agoPrefer longer group names for mentions
Alexander Ebert [Sat, 15 Aug 2020 17:35:58 +0000 (19:35 +0200)]
Prefer longer group names for mentions

4 years agoAdded a unique key to `wcf1_user.username`
Marcel Werk [Sat, 15 Aug 2020 14:16:03 +0000 (16:16 +0200)]
Added a unique key to `wcf1_user.username`

Closes #3494

4 years agoIncrease upload limits to more reasonable values
Marcel Werk [Sat, 15 Aug 2020 14:12:03 +0000 (16:12 +0200)]
Increase upload limits to more reasonable values

Closes #3457

4 years agoFix indentation
joshuaruesweg [Fri, 14 Aug 2020 14:35:26 +0000 (16:35 +0200)]
Fix indentation

4 years agoFix cleanup
joshuaruesweg [Fri, 14 Aug 2020 14:29:11 +0000 (16:29 +0200)]
Fix cleanup

4 years agoGenerate CSS on saving custom CSS
joshuaruesweg [Fri, 14 Aug 2020 13:13:00 +0000 (15:13 +0200)]
Generate CSS on saving custom CSS

4 years agoMerge pull request #3511 from WoltLab/worker-thread-error-handling
Joshua Rüsweg [Fri, 14 Aug 2020 13:42:59 +0000 (15:42 +0200)]
Merge pull request #3511 from WoltLab/worker-thread-error-handling

Add proper error handling to WorkerCLICommand with --threads > 1

4 years agoMerge branch '5.2' into master
Tim Düsterhus [Fri, 14 Aug 2020 10:28:02 +0000 (12:28 +0200)]
Merge branch '5.2' into master

4 years agoSkip display-name of Mailbox if display-name == addr-spec
Tim Düsterhus [Fri, 14 Aug 2020 10:22:16 +0000 (12:22 +0200)]
Skip display-name of Mailbox if display-name == addr-spec

If the human readable $name of a Mailbox matches the $address then leave
out the $name within the header representation and specify a bare email
address. The name is redundant in cases like this and this might lead to
negative spam scoring.

4 years agoAdd proper error handling to WorkerCLICommand with --threads > 1
Tim Düsterhus [Fri, 14 Aug 2020 09:39:29 +0000 (11:39 +0200)]
Add proper error handling to WorkerCLICommand with --threads > 1

Fixes #3507

4 years agoConvert `<small>` into `font-size`
Alexander Ebert [Thu, 13 Aug 2020 21:39:37 +0000 (23:39 +0200)]
Convert `<small>` into `font-size`

4 years agoAllow the `dropover` to bubble from the editor
Alexander Ebert [Thu, 13 Aug 2020 18:26:47 +0000 (20:26 +0200)]
Allow the `dropover` to bubble from the editor

Enables proper drag & drop when running in fullscreen mode.

Fixes #3509

4 years agoMerge pull request #3508 from WoltLab/update-default-style
Tim Düsterhus [Thu, 13 Aug 2020 13:54:09 +0000 (15:54 +0200)]
Merge pull request #3508 from WoltLab/update-default-style

Update defaultStyle/ and defaultStyle.tar

4 years agoUpdate defaultStyle/ and defaultStyle.tar
Tim Düsterhus [Thu, 13 Aug 2020 11:48:16 +0000 (13:48 +0200)]
Update defaultStyle/ and defaultStyle.tar

The files have been created by exporting the style from the ACP for the
current git master.

Resolves #3459

4 years agoMerge branch '5.2'
Alexander Ebert [Thu, 13 Aug 2020 11:31:56 +0000 (13:31 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Thu, 13 Aug 2020 11:31:37 +0000 (13:31 +0200)]
Merge branch '3.1' into 5.2

4 years agoMerge pull request #3500 from Krymonota/patch-12
Alexander Ebert [Thu, 13 Aug 2020 11:31:16 +0000 (13:31 +0200)]
Merge pull request #3500 from Krymonota/patch-12

Add missing phrases to English 3rd party register language items

4 years agoMerge pull request #3483 from WoltLab/page-action-buttons-overhaul
Alexander Ebert [Thu, 13 Aug 2020 11:29:36 +0000 (13:29 +0200)]
Merge pull request #3483 from WoltLab/page-action-buttons-overhaul

Overhauled the page action buttons' behavior

4 years agoMerge branch '5.2'
joshuaruesweg [Thu, 13 Aug 2020 07:46:00 +0000 (09:46 +0200)]
Merge branch '5.2'

4 years agoFix resizing images in Safari
joshuaruesweg [Thu, 13 Aug 2020 07:44:48 +0000 (09:44 +0200)]
Fix resizing images in Safari
Fixes #3506

4 years agoMerge pull request #3505 from WoltLab/create-thumbnail-leak
Tim Düsterhus [Thu, 13 Aug 2020 07:07:10 +0000 (09:07 +0200)]
Merge pull request #3505 from WoltLab/create-thumbnail-leak

Clear thumbnail handles as soon as possible

4 years agoMerge branch '5.2'
Marcel Werk [Wed, 12 Aug 2020 16:23:53 +0000 (18:23 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Wed, 12 Aug 2020 16:22:56 +0000 (18:22 +0200)]
Merge branch '3.1' into 5.2

4 years agoPrevent username overflow in the message sidebar
Marcel Werk [Wed, 12 Aug 2020 16:22:37 +0000 (18:22 +0200)]
Prevent username overflow in the message sidebar

4 years agoMerge branch '5.2'
Marcel Werk [Wed, 12 Aug 2020 15:52:11 +0000 (17:52 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Wed, 12 Aug 2020 15:51:54 +0000 (17:51 +0200)]
Merge branch '3.1' into 5.2

4 years agoPrevent changes to the showOrder setting of system boxes during an update
Marcel Werk [Wed, 12 Aug 2020 15:51:25 +0000 (17:51 +0200)]
Prevent changes to the showOrder setting of system boxes during an update

4 years agoMerge branch '5.2'
Marcel Werk [Wed, 12 Aug 2020 15:47:36 +0000 (17:47 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Wed, 12 Aug 2020 15:47:22 +0000 (17:47 +0200)]
Merge branch '3.1' into 5.2