GitHub/WoltLab/WCF.git
4 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Tue, 23 Jun 2020 09:22:08 +0000 (11:22 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

4 years agoNew method PreparedStatement::fetchSingleObject()
Marcel Werk [Tue, 23 Jun 2020 09:21:59 +0000 (11:21 +0200)]
New method PreparedStatement::fetchSingleObject()

Closes #3373

4 years agoMerge pull request #3371 from WoltLab/notification-mail
Tim Düsterhus [Tue, 23 Jun 2020 09:15:59 +0000 (11:15 +0200)]
Merge pull request #3371 from WoltLab/notification-mail

Add NotificationEmailDeliveryBackgroundJob

4 years agoMerge branch '5.2'
Marcel Werk [Mon, 22 Jun 2020 22:03:40 +0000 (00:03 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Mon, 22 Jun 2020 22:03:16 +0000 (00:03 +0200)]
Merge branch '3.1' into 5.2

4 years agoMessage with the content "0" led to empty entries in recent activities
Marcel Werk [Mon, 22 Jun 2020 22:02:56 +0000 (00:02 +0200)]
Message with the content "0" led to empty entries in recent activities

4 years agoMerge branch '5.2'
joshuaruesweg [Mon, 22 Jun 2020 14:46:25 +0000 (16:46 +0200)]
Merge branch '5.2'

4 years agoFix broken HTML markup
joshuaruesweg [Mon, 22 Jun 2020 14:44:05 +0000 (16:44 +0200)]
Fix broken HTML markup
The video can be placed within normal text (inside `<p>` elements). `<div>` elements are not allowed within `<p>` elements. Because the class `.videoContainer` is already a block element (via CSS), we can easily change the element type to `<span>`, which is allowed inside of `<p>` elements.

4 years agoMake use of NotificationEmailDeliveryBackgroundJob
Tim Düsterhus [Mon, 22 Jun 2020 13:43:44 +0000 (15:43 +0200)]
Make use of NotificationEmailDeliveryBackgroundJob

Fixes #2885

4 years agoAdd NotificationEmailDeliveryBackgroundJob
Tim Düsterhus [Mon, 22 Jun 2020 13:43:31 +0000 (15:43 +0200)]
Add NotificationEmailDeliveryBackgroundJob

4 years agoMerge branch '5.2'
Tim Düsterhus [Mon, 22 Jun 2020 11:35:09 +0000 (13:35 +0200)]
Merge branch '5.2'

4 years agoMerge pull request #3367 from WoltLab/remotefile-openssl
Tim Düsterhus [Mon, 22 Jun 2020 11:29:51 +0000 (13:29 +0200)]
Merge pull request #3367 from WoltLab/remotefile-openssl

Stop RemoteFile from swallowing OpenSSL error details

4 years agoMerge pull request #3310 from WoltLab/external-lib-bump
Tim Düsterhus [Mon, 22 Jun 2020 10:00:50 +0000 (12:00 +0200)]
Merge pull request #3310 from WoltLab/external-lib-bump

External lib bump

4 years agoRevert "Update jQuery to 3.5.1"
Tim Düsterhus [Mon, 22 Jun 2020 10:00:21 +0000 (12:00 +0200)]
Revert "Update jQuery to 3.5.1"

This reverts commit d4ab9eb7e935dc217a33f97c80dd886d4789eb6e.

see: https://github.com/WoltLab/WCF/pull/3310#issuecomment-647416047

4 years agoUpdate prism to 1.20.0
Tim Düsterhus [Sat, 16 May 2020 11:30:38 +0000 (13:30 +0200)]
Update prism to 1.20.0

4 years agoUpdate pica to 5.1.0
Tim Düsterhus [Sat, 16 May 2020 11:23:48 +0000 (13:23 +0200)]
Update pica to 5.1.0

4 years agoUpdate jQuery to 3.5.1
Tim Düsterhus [Sat, 16 May 2020 11:20:17 +0000 (13:20 +0200)]
Update jQuery to 3.5.1

Closes #3159

4 years agoMerge pull request #3369 from WoltLab/codemirror-scrollOffset
Tim Düsterhus [Thu, 18 Jun 2020 10:03:22 +0000 (12:03 +0200)]
Merge pull request #3369 from WoltLab/codemirror-scrollOffset

Preserve Codemirror scroll position during server roundtrips

4 years agoDo not attempt to resize non-images in attachment upload
Tim Düsterhus [Tue, 16 Jun 2020 10:52:54 +0000 (12:52 +0200)]
Do not attempt to resize non-images in attachment upload

Fixes #3059

4 years agoRemoved outdated flash code
Marcel Werk [Mon, 15 Jun 2020 16:26:01 +0000 (18:26 +0200)]
Removed outdated flash code

4 years agoMerge branch '5.2'
Marcel Werk [Mon, 15 Jun 2020 16:25:16 +0000 (18:25 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Mon, 15 Jun 2020 16:25:01 +0000 (18:25 +0200)]
Merge branch '3.1' into 5.2

4 years agoMerge pull request #3368 from WoltLab/twitch-bbcode-fix
Marcel Werk [Mon, 15 Jun 2020 16:22:59 +0000 (18:22 +0200)]
Merge pull request #3368 from WoltLab/twitch-bbcode-fix

Fixed broken twitch bbcode

4 years agoApplied code suggestions
Marcel Werk [Mon, 15 Jun 2020 16:14:40 +0000 (18:14 +0200)]
Applied code suggestions

4 years agoPreserve the scroll position in styleAdd when saving
Tim Düsterhus [Mon, 15 Jun 2020 08:32:35 +0000 (10:32 +0200)]
Preserve the scroll position in styleAdd when saving

Closes #3266

4 years agoPreserve the scroll position in styleGlobalValues when saving
Tim Düsterhus [Mon, 15 Jun 2020 08:23:31 +0000 (10:23 +0200)]
Preserve the scroll position in styleGlobalValues when saving

Closes #3267

4 years agoAllow tracking codemirror's scroll offset within a dedicated input
Tim Düsterhus [Mon, 15 Jun 2020 08:23:09 +0000 (10:23 +0200)]
Allow tracking codemirror's scroll offset within a dedicated input

4 years agoMerge pull request #3366 from WoltLab/media-consent
Alexander Ebert [Sun, 14 Jun 2020 20:48:10 +0000 (22:48 +0200)]
Merge pull request #3366 from WoltLab/media-consent

Prompt the user for their approval before displaying external media

4 years agoImproved layout for interactive drop-down menus
Alexander Ebert [Sun, 14 Jun 2020 17:42:56 +0000 (19:42 +0200)]
Improved layout for interactive drop-down menus

Updated visuals for unread items that no longer relys on bold text. The paddings have been toned down to be more in line with other UI elements.

Closes #3329

4 years agoFixed broken twitch bbcode
Marcel Werk [Sun, 14 Jun 2020 16:32:26 +0000 (18:32 +0200)]
Fixed broken twitch bbcode

Embedding now requires the new 'parent' parameter

4 years agoAdd last user activity time condition for today's birthday box
Matthias Schmidt [Sat, 13 Jun 2020 11:40:08 +0000 (13:40 +0200)]
Add last user activity time condition for today's birthday box

Close #3249

4 years agoStop RemoteFile from swallowing OpenSSL error details
Tim Düsterhus [Sat, 13 Jun 2020 11:25:01 +0000 (13:25 +0200)]
Stop RemoteFile from swallowing OpenSSL error details

Fixes #3107

4 years agoMissing comments and code style adjustments
Alexander Ebert [Sat, 13 Jun 2020 10:16:20 +0000 (12:16 +0200)]
Missing comments and code style adjustments

4 years agoMerge branch 'master' into media-consent
Alexander Ebert [Fri, 12 Jun 2020 18:17:17 +0000 (20:17 +0200)]
Merge branch 'master' into media-consent

4 years agoPrompt the user for their approval before displaying external media
Alexander Ebert [Fri, 12 Jun 2020 18:14:39 +0000 (20:14 +0200)]
Prompt the user for their approval before displaying external media

4 years agoMerge branch '5.2'
joshuaruesweg [Thu, 11 Jun 2020 19:07:14 +0000 (21:07 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
joshuaruesweg [Thu, 11 Jun 2020 19:06:54 +0000 (21:06 +0200)]
Merge branch '3.1' into 5.2

4 years agoFix sitemaps added multiple times in index file
joshuaruesweg [Thu, 11 Jun 2020 19:06:06 +0000 (21:06 +0200)]
Fix sitemaps added multiple times in index file

4 years agoShow SystemException's description in AjaxRequest error dialog
Matthias Schmidt [Thu, 11 Jun 2020 14:15:24 +0000 (16:15 +0200)]
Show SystemException's description in AjaxRequest error dialog

Close #3365

4 years agoAdd permission to restrict hiding online status (#3363)
Matthias Schmidt [Thu, 11 Jun 2020 13:44:32 +0000 (15:44 +0200)]
Add permission to restrict hiding online status (#3363)

Close #3248

4 years agoMerge branch '5.2'
Marcel Werk [Wed, 10 Jun 2020 18:17:00 +0000 (20:17 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Wed, 10 Jun 2020 18:16:38 +0000 (20:16 +0200)]
Merge branch '3.1' into 5.2

4 years agoFixed bug with multiple comment widgets on a single page
Marcel Werk [Wed, 10 Jun 2020 18:10:23 +0000 (20:10 +0200)]
Fixed bug with multiple comment widgets on a single page

4 years agoMerge branch '5.2'
Alexander Ebert [Tue, 9 Jun 2020 12:45:30 +0000 (14:45 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Tue, 9 Jun 2020 12:09:20 +0000 (14:09 +0200)]
Merge branch '3.1' into 5.2

4 years agoTypo
Alexander Ebert [Tue, 9 Jun 2020 12:08:14 +0000 (14:08 +0200)]
Typo

4 years agoMerge pull request #3347 from WoltLab/bbcode-code-top-expander
Tim Düsterhus [Mon, 8 Jun 2020 15:58:47 +0000 (17:58 +0200)]
Merge pull request #3347 from WoltLab/bbcode-code-top-expander

Also show code collapse button at top of code box

4 years agoFixed unnecessary large margin
Marcel Werk [Mon, 8 Jun 2020 15:43:48 +0000 (17:43 +0200)]
Fixed unnecessary large margin

4 years agoMerge pull request #3362 from WoltLab/copy_all_user_groups
Alexander Ebert [Sun, 7 Jun 2020 22:37:30 +0000 (00:37 +0200)]
Merge pull request #3362 from WoltLab/copy_all_user_groups

Support copying all user groups

4 years agoAdd lifetime for modification log entries
Matthias Schmidt [Sun, 7 Jun 2020 12:19:57 +0000 (14:19 +0200)]
Add lifetime for modification log entries

Close #3243

4 years agoSupport copying all user groups
Matthias Schmidt [Sun, 7 Jun 2020 11:19:15 +0000 (13:19 +0200)]
Support copying all user groups

See #3238

4 years agoRemoved obsolete code
Marcel Werk [Sat, 6 Jun 2020 20:00:33 +0000 (22:00 +0200)]
Removed obsolete code

4 years agoAlphabetical sorting of cronjobs
Marcel Werk [Sat, 6 Jun 2020 20:00:16 +0000 (22:00 +0200)]
Alphabetical sorting of cronjobs

Closes #3361

4 years agoMerge pull request #3360 from WoltLab/cronjob-log-filter
Alexander Ebert [Sat, 6 Jun 2020 19:54:40 +0000 (21:54 +0200)]
Merge pull request #3360 from WoltLab/cronjob-log-filter

Filtering the cronjob log

4 years agoFiltering the cronjob log
Marcel Werk [Sat, 6 Jun 2020 17:52:58 +0000 (19:52 +0200)]
Filtering the cronjob log

Closes #3359

4 years agoLift limit on maximum number of special trophies
Marcel Werk [Sat, 6 Jun 2020 11:13:53 +0000 (13:13 +0200)]
Lift limit on maximum number of special trophies

Closes #3256

4 years agoImproved html code of the trophy lists
Marcel Werk [Sat, 6 Jun 2020 11:01:34 +0000 (13:01 +0200)]
Improved html code of the trophy lists

Closes #3276

4 years agoUse UserTemplatePlugin and getLink()
Matthias Schmidt [Sat, 6 Jun 2020 08:29:14 +0000 (10:29 +0200)]
Use UserTemplatePlugin and getLink()

See #3295
See #3322

4 years agoUpdate recent activities when the author of an article changes
Marcel Werk [Fri, 5 Jun 2020 11:20:54 +0000 (13:20 +0200)]
Update recent activities when the author of an article changes

Closes #3356

4 years agoMerge branch '5.2'
Marcel Werk [Fri, 5 Jun 2020 11:06:26 +0000 (13:06 +0200)]
Merge branch '5.2'

4 years agoRemoved obsolete code
Marcel Werk [Fri, 5 Jun 2020 11:06:12 +0000 (13:06 +0200)]
Removed obsolete code

4 years agoMerge branch '5.2'
Alexander Ebert [Fri, 5 Jun 2020 10:45:37 +0000 (12:45 +0200)]
Merge branch '5.2'

4 years agoIndirect variable overshadowing
Alexander Ebert [Fri, 5 Jun 2020 10:45:24 +0000 (12:45 +0200)]
Indirect variable overshadowing

4 years agoMerge pull request #3345 from WoltLab/related-articles
Alexander Ebert [Thu, 4 Jun 2020 22:29:12 +0000 (00:29 +0200)]
Merge pull request #3345 from WoltLab/related-articles

Take article age into account for related article list

4 years agoMerge pull request #3354 from WoltLab/alphabetical-user-group-sorting
Alexander Ebert [Thu, 4 Jun 2020 22:23:34 +0000 (00:23 +0200)]
Merge pull request #3354 from WoltLab/alphabetical-user-group-sorting

Alphabetical sorting of user groups

4 years agoMerge pull request #3349 from WoltLab/collapsible-sidebar
Alexander Ebert [Thu, 4 Jun 2020 22:22:08 +0000 (00:22 +0200)]
Merge pull request #3349 from WoltLab/collapsible-sidebar

Collapsible sidebar for larger devices (screen-md-down)

4 years agoMerge pull request #3340 from WoltLab/poll-isPublic-note
Alexander Ebert [Thu, 4 Jun 2020 22:21:06 +0000 (00:21 +0200)]
Merge pull request #3340 from WoltLab/poll-isPublic-note

Show note in pollVote.tpl if poll is public

4 years agoShow badge in trophy list (admin panel)
Marcel Werk [Thu, 4 Jun 2020 17:47:48 +0000 (19:47 +0200)]
Show badge in trophy list (admin panel)

Closes #3355

4 years agoAlphabetical sorting of user groups
Marcel Werk [Thu, 4 Jun 2020 17:24:12 +0000 (19:24 +0200)]
Alphabetical sorting of user groups

Closes #3353

4 years agoAdd proper mangament of missing language items (#3314)
Matthias Schmidt [Thu, 4 Jun 2020 12:52:00 +0000 (14:52 +0200)]
Add proper mangament of missing language items (#3314)

Close #2980

4 years agoCollapsible sidebar for larger devices (screen-md-down)
Marcel Werk [Wed, 3 Jun 2020 18:16:39 +0000 (20:16 +0200)]
Collapsible sidebar for larger devices (screen-md-down)

Closes #3348

4 years agoReset scrollTop to 0 before expanding in WoltLabSuite/Core/Bbcode/Collapsible
Tim Düsterhus [Wed, 3 Jun 2020 16:21:10 +0000 (18:21 +0200)]
Reset scrollTop to 0 before expanding in WoltLabSuite/Core/Bbcode/Collapsible

4 years agoMerge branch '5.2'
Alexander Ebert [Wed, 3 Jun 2020 16:19:36 +0000 (18:19 +0200)]
Merge branch '5.2'

4 years agoAdd fixed headline with toggleButton to codeMetaCode
Tim Düsterhus [Wed, 3 Jun 2020 16:19:03 +0000 (18:19 +0200)]
Add fixed headline with toggleButton to codeMetaCode

Resolves #3235

4 years agoAllow specifying a dedicated overflow container in WoltLabSuite/Core/Bbcode/Collapsible
Tim Düsterhus [Wed, 3 Jun 2020 16:18:33 +0000 (18:18 +0200)]
Allow specifying a dedicated overflow container in WoltLabSuite/Core/Bbcode/Collapsible

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Wed, 3 Jun 2020 16:18:12 +0000 (18:18 +0200)]
Merge branch '3.1' into 5.2

4 years agoTemplate event for reported user profiles
Alexander Ebert [Wed, 3 Jun 2020 16:18:01 +0000 (18:18 +0200)]
Template event for reported user profiles

4 years agoSupport icon based toggle buttons in WoltLabSuite/Core/Bbcode/Collapsible
Tim Düsterhus [Wed, 3 Jun 2020 15:47:06 +0000 (17:47 +0200)]
Support icon based toggle buttons in WoltLabSuite/Core/Bbcode/Collapsible

4 years agoSupport multiple toggle buttons in WoltLabSuite/Core/Bbcode/Collapsible
Tim Düsterhus [Wed, 3 Jun 2020 15:46:46 +0000 (17:46 +0200)]
Support multiple toggle buttons in WoltLabSuite/Core/Bbcode/Collapsible

4 years agoEnable the iOS workaround for misaligned carets for the desktop Safari
Alexander Ebert [Wed, 3 Jun 2020 11:42:45 +0000 (13:42 +0200)]
Enable the iOS workaround for misaligned carets for the desktop Safari

4 years agoMerge branch '5.2'
Tim Düsterhus [Wed, 3 Jun 2020 11:35:02 +0000 (13:35 +0200)]
Merge branch '5.2'

4 years agoMerge pull request #3346 from Krymonota/patch-11
Tim Düsterhus [Wed, 3 Jun 2020 11:34:07 +0000 (13:34 +0200)]
Merge pull request #3346 from Krymonota/patch-11

Add doubleval and floatval to enterprise functions

4 years agoAdd doubleval and floatval to enterprise functions
Niklas [Wed, 3 Jun 2020 11:32:34 +0000 (13:32 +0200)]
Add doubleval and floatval to enterprise functions

4 years agoTake article age into account for related article list
Tim Düsterhus [Wed, 3 Jun 2020 11:04:58 +0000 (13:04 +0200)]
Take article age into account for related article list

Instead of just ordering the related articles by the number of matching
tags the articles are now also ordered by their age as a tie-breaker,
referring more recent articles. Previously the order was undefined,
usually preferring older articles, as their rows appear earlier within
the `tag_to_object` table.

It was verified that the new query does not result in a significantly
worse query plan than the old one. The only difference is the addition
of 2 `eq_ref` joins, which is the best possible join type. However we
could get rid of a separate query to pull the articleIDs, because they
are readily available by the pure virtue of having to join the article
table to get the time.

Another possible solution would be ordering by `ABS(article.time - ?)`
with the currently viewed article's time in place of the question mark.
This would prefer articles written within a similar timeframe, without
resulting in a worse query plan within my tests.

Resolves #3285

4 years agoMerge branch '5.2'
Tim Düsterhus [Wed, 3 Jun 2020 10:20:20 +0000 (12:20 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Wed, 3 Jun 2020 10:19:54 +0000 (12:19 +0200)]
Merge branch '3.1' into 5.2

4 years agoMerge branch '3.0' into 3.1
Tim Düsterhus [Wed, 3 Jun 2020 10:19:11 +0000 (12:19 +0200)]
Merge branch '3.0' into 3.1

4 years agoAllow 'current' function in templates in enterprise mode
Peter Frühwirt [Wed, 3 Jun 2020 07:19:36 +0000 (09:19 +0200)]
Allow 'current' function in templates in enterprise mode

Resolves #3344

4 years agoMerge pull request #3341 from WoltLab/facebook-video-media
Tim Düsterhus [Tue, 2 Jun 2020 19:10:44 +0000 (21:10 +0200)]
Merge pull request #3341 from WoltLab/facebook-video-media

Add Facebook Video Media Provider

4 years agoMerge pull request #3342 from Krymonota/remove-obsolete-user-signature-properties
Tim Düsterhus [Tue, 2 Jun 2020 17:02:42 +0000 (19:02 +0200)]
Merge pull request #3342 from Krymonota/remove-obsolete-user-signature-properties

Remove obsolete signature properties documentation

4 years agoAllow changes to the ip address search engine regardless of active logging
Alexander Ebert [Tue, 2 Jun 2020 15:18:51 +0000 (17:18 +0200)]
Allow changes to the ip address search engine regardless of active logging

4 years agoIgnore double clicks on reaction buttons
Alexander Ebert [Tue, 2 Jun 2020 15:02:45 +0000 (17:02 +0200)]
Ignore double clicks on reaction buttons

4 years agoUse UserTemplatePlugin
Matthias Schmidt [Mon, 1 Jun 2020 13:05:21 +0000 (15:05 +0200)]
Use UserTemplatePlugin

See #3321

4 years agoMerge branch '5.2'
Marcel Werk [Mon, 1 Jun 2020 12:02:21 +0000 (14:02 +0200)]
Merge branch '5.2'

4 years agoRemoved double checking of permissions
Marcel Werk [Mon, 1 Jun 2020 12:02:01 +0000 (14:02 +0200)]
Removed double checking of permissions

4 years agoFix marking special trophies as special, if the user which awards the trophy has...
joshuaruesweg [Sun, 31 May 2020 18:09:28 +0000 (20:09 +0200)]
Fix marking special trophies as special, if the user which awards the trophy has the trophy awarded

4 years agoRemove obsolete signature properties documentation
Niklas (Krymonota) [Sat, 30 May 2020 17:31:46 +0000 (19:31 +0200)]
Remove obsolete signature properties documentation

See bc7adcda6be815367889eaa8cdecf851119009e4 and 291e9fe55c71023bdf3f18565be1c3ae098f77c6

4 years agoMerge branch '5.2'
Marcel Werk [Fri, 29 May 2020 18:53:35 +0000 (20:53 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Fri, 29 May 2020 18:49:55 +0000 (20:49 +0200)]
Merge branch '3.1' into 5.2

4 years agoImproved notifications for expiring paid subscriptions
Marcel Werk [Fri, 29 May 2020 18:49:30 +0000 (20:49 +0200)]
Improved notifications for expiring paid subscriptions