GitHub/WoltLab/WCF.git
4 years agoAdd Facebook Video Media Provider
Tim Düsterhus [Fri, 29 May 2020 14:49:44 +0000 (16:49 +0200)]
Add Facebook Video Media Provider

The resulting HTML intentionally does not use an `<a>` element for the
fallback link, because it will prevent the SDK from embedding the video.

The SDK generally acts as a blackbox with regard to video embeds, the only
thing we can do is asking it nicely to re-parse the DOM for new stuff to
embed and hope for the best. Specifically embedding doesn't work for newly
posted contents that are loaded via Ajax. Not even if the re-scan is
scheduled for the next run of the event loop by using `setTimeout` with a
delay of `0`. For whatever reason there might be.

Resolves #3242

4 years agoAdd `class="externalURL" rel="nofollow ugc"` to Twitter embed fallback
Tim Düsterhus [Fri, 29 May 2020 14:19:00 +0000 (16:19 +0200)]
Add `class="externalURL" rel="nofollow ugc"` to Twitter embed fallback

see #3309
see #3339

4 years agoMerge branch '5.2'
Alexander Ebert [Tue, 26 May 2020 22:05:41 +0000 (00:05 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Tue, 26 May 2020 22:02:59 +0000 (00:02 +0200)]
Merge branch '3.1' into 5.2

4 years agoMerge pull request #3337 from Krymonota/patch-10
Alexander Ebert [Tue, 26 May 2020 21:59:58 +0000 (23:59 +0200)]
Merge pull request #3337 from Krymonota/patch-10

Log invalid receiver email in PayPal callback

4 years agoMerge branch '5.2'
Tim Düsterhus [Tue, 26 May 2020 19:04:19 +0000 (21:04 +0200)]
Merge branch '5.2'

4 years agoGuard ENTERPRISE_MODE_DOMAIN_OVERRIDE functionality against PHP_SAPI !== 'cli'
Tim Düsterhus [Tue, 26 May 2020 11:29:41 +0000 (13:29 +0200)]
Guard ENTERPRISE_MODE_DOMAIN_OVERRIDE functionality against PHP_SAPI !== 'cli'

4 years agoImprove error message in UserFunctionTemplatePlugin
Matthias Schmidt [Tue, 26 May 2020 14:39:45 +0000 (16:39 +0200)]
Improve error message in UserFunctionTemplatePlugin

See #3321

4 years agoUse `UserProfile` objects for newest members
Matthias Schmidt [Tue, 26 May 2020 14:39:24 +0000 (16:39 +0200)]
Use `UserProfile` objects for newest members

See #3321

4 years agoMerge branch '5.2'
Marcel Werk [Tue, 26 May 2020 10:33:13 +0000 (12:33 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Tue, 26 May 2020 10:33:01 +0000 (12:33 +0200)]
Merge branch '3.1' into 5.2

4 years agoFixed issue caused by an invalid default value for date user options
Marcel Werk [Tue, 26 May 2020 10:32:45 +0000 (12:32 +0200)]
Fixed issue caused by an invalid default value for date user options

4 years agoMerge branch '5.2'
joshuaruesweg [Tue, 26 May 2020 09:31:45 +0000 (11:31 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
joshuaruesweg [Tue, 26 May 2020 09:31:29 +0000 (11:31 +0200)]
Merge branch '3.1' into 5.2

4 years agoRemove font-size from trophy images
joshuaruesweg [Tue, 26 May 2020 09:29:07 +0000 (11:29 +0200)]
Remove font-size from trophy images

4 years agoAdd missing long class for user trophy description
joshuaruesweg [Tue, 26 May 2020 09:10:37 +0000 (11:10 +0200)]
Add missing long class for user trophy description

4 years agoMerge branch '5.2'
joshuaruesweg [Tue, 26 May 2020 09:06:31 +0000 (11:06 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
joshuaruesweg [Tue, 26 May 2020 09:06:10 +0000 (11:06 +0200)]
Merge branch '3.1' into 5.2

4 years agoFix symlink issue during synchronisation of file pip
joshuaruesweg [Tue, 26 May 2020 09:01:11 +0000 (11:01 +0200)]
Fix symlink issue during synchronisation of file pip

4 years agoSupport for mentions of user groups containing more than one space
Alexander Ebert [Mon, 25 May 2020 19:24:09 +0000 (21:24 +0200)]
Support for mentions of user groups containing more than one space

4 years agoLog invalid receiver email in PayPal callback
Niklas (Krymonota) [Mon, 25 May 2020 15:43:08 +0000 (17:43 +0200)]
Log invalid receiver email in PayPal callback

This adjustment should make it easier for administrators to identify the cause of this exception.

4 years agoMerge branch '5.2'
Tim Düsterhus [Mon, 25 May 2020 11:49:40 +0000 (13:49 +0200)]
Merge branch '5.2'

4 years agoMerge branch 'register3rdPartyEvent' into 5.2
Tim Düsterhus [Mon, 25 May 2020 11:49:34 +0000 (13:49 +0200)]
Merge branch 'register3rdPartyEvent' into 5.2

4 years agoEvent added for changing variable $registerVia3rdParty in wcf\form\RegisterForm
Peter Lohse [Fri, 31 Jan 2020 12:42:29 +0000 (13:42 +0100)]
Event added for changing variable $registerVia3rdParty in wcf\form\RegisterForm

Closes #3143

[Tim: Made the changes requested in #3143]

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Sun, 24 May 2020 19:38:45 +0000 (21:38 +0200)]
Merge branch '3.1' into 5.2

4 years agoIncorrect import in PHP 5.5
Alexander Ebert [Sun, 24 May 2020 19:38:15 +0000 (21:38 +0200)]
Incorrect import in PHP 5.5

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Sun, 24 May 2020 19:31:01 +0000 (21:31 +0200)]
Merge branch '3.1' into 5.2

4 years agoIgnore tainted apps for the landing page
Alexander Ebert [Sun, 24 May 2020 19:26:59 +0000 (21:26 +0200)]
Ignore tainted apps for the landing page

See #3332

4 years agoMerge branch '5.2'
Marcel Werk [Sun, 24 May 2020 18:32:00 +0000 (20:32 +0200)]
Merge branch '5.2'

4 years agoRemoved duplicate data-attributes
Marcel Werk [Sun, 24 May 2020 18:31:47 +0000 (20:31 +0200)]
Removed duplicate data-attributes

4 years agoRemove accidentally commited code in template
Matthias Schmidt [Sun, 24 May 2020 16:15:17 +0000 (18:15 +0200)]
Remove accidentally commited code in template

See b1c1494f7045914521fb93e941dd7178053d3f39

4 years agoRemove all references to MODULE_ATTACHMENT
Matthias Schmidt [Sun, 24 May 2020 14:07:29 +0000 (16:07 +0200)]
Remove all references to MODULE_ATTACHMENT

Close  #3333

4 years agoRemove MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING
Matthias Schmidt [Sun, 24 May 2020 13:26:15 +0000 (15:26 +0200)]
Remove MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING

Close #3330

4 years agoEase rendering individual labels
Matthias Schmidt [Sun, 24 May 2020 11:50:31 +0000 (13:50 +0200)]
Ease rendering individual labels

Close #3331

4 years agoMake popover trigger element available in load callback
Matthias Schmidt [Sun, 24 May 2020 10:45:53 +0000 (12:45 +0200)]
Make popover trigger element available in load callback

See #3318

4 years agoBackport of CVE-2019-11358
Alexander Ebert [Sat, 23 May 2020 20:27:00 +0000 (22:27 +0200)]
Backport of CVE-2019-11358

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Sat, 23 May 2020 20:13:31 +0000 (22:13 +0200)]
Merge branch '3.1' into 5.2

4 years agoBackport of CVE-2019-11358
Alexander Ebert [Sat, 23 May 2020 20:12:44 +0000 (22:12 +0200)]
Backport of CVE-2019-11358

4 years agoMerge branch '3.0' into 3.1
Alexander Ebert [Sat, 23 May 2020 20:11:16 +0000 (22:11 +0200)]
Merge branch '3.0' into 3.1

4 years agoBackport of CVE-2019-11358
Alexander Ebert [Sat, 23 May 2020 20:10:54 +0000 (22:10 +0200)]
Backport of CVE-2019-11358

See #3159

4 years agoAdd missing strong element in notification language items
Matthias Schmidt [Sat, 23 May 2020 17:56:44 +0000 (19:56 +0200)]
Add missing strong element in notification language items

4 years agoMerge branch '5.2'
Marcel Werk [Sat, 23 May 2020 17:49:57 +0000 (19:49 +0200)]
Merge branch '5.2'

4 years agowcf.user.notification.articleComment.responseOwner.message.stacked wrong variable
Marcel Werk [Sat, 23 May 2020 17:46:16 +0000 (19:46 +0200)]
wcf.user.notification.articleComment.responseOwner.message.stacked wrong variable

Closes #3327

4 years agoMerge branch '5.2'
Marcel Werk [Sat, 23 May 2020 17:40:29 +0000 (19:40 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Sat, 23 May 2020 17:39:18 +0000 (19:39 +0200)]
Merge branch '3.1' into 5.2

4 years agoFixed wrong cli command
Marcel Werk [Sat, 23 May 2020 17:37:45 +0000 (19:37 +0200)]
Fixed wrong cli command

4 years agoMerge branch '5.2'
Marcel Werk [Sat, 23 May 2020 17:35:22 +0000 (19:35 +0200)]
Merge branch '5.2'

4 years agoReplying to own page comment causes a notification
Marcel Werk [Sat, 23 May 2020 17:35:08 +0000 (19:35 +0200)]
Replying to own page comment causes a notification

Closes #3259

4 years agoRemove links in user notifications messages (#3328)
Matthias Schmidt [Sat, 23 May 2020 14:36:01 +0000 (16:36 +0200)]
Remove links in user notifications messages (#3328)

* Remove links in user notifications messages

See #3326

* Remove unnecessary conditions

* Remove additional links in user notifications messages

4 years agoMerge branch '5.2'
Tim Düsterhus [Sat, 23 May 2020 14:23:20 +0000 (16:23 +0200)]
Merge branch '5.2'

4 years agoMerge branch 'Krymonota-remove-user-mail-form'
Tim Düsterhus [Sat, 23 May 2020 14:22:13 +0000 (16:22 +0200)]
Merge branch 'Krymonota-remove-user-mail-form'

4 years agoAdd dummy update instructions for the 5.2 -> 5.3 upgrade
Tim Düsterhus [Sat, 23 May 2020 14:20:05 +0000 (16:20 +0200)]
Add dummy update instructions for the 5.2 -> 5.3 upgrade

For now these add a comment reminding the engineer in charge of the update
instructions to actually delete the MailForm that was removed in response
to issue #3032 and PR #3151.

4 years agoRemove \wcf\form\MailForm
Niklas (Krymonota) [Thu, 6 Feb 2020 22:23:14 +0000 (23:23 +0100)]
Remove \wcf\form\MailForm

Resolves #3032
Closes #3151

[Tim: Squashed the initial pull request and rewrote the commit message]

4 years agoMerge pull request #3218 from Krymonota/patch-4
Alexander Ebert [Sat, 23 May 2020 14:01:59 +0000 (16:01 +0200)]
Merge pull request #3218 from Krymonota/patch-4

Add contentItemMetaIcons template event

4 years agoMerge pull request #3184 from Fabii547/patch-72
Marcel Werk [Sat, 23 May 2020 12:27:29 +0000 (14:27 +0200)]
Merge pull request #3184 from Fabii547/patch-72

Use indented template group select list in `StyleAddForm`

4 years agoMerge pull request #3217 from Sanafan/updated_spiders
Marcel Werk [Sat, 23 May 2020 12:21:51 +0000 (14:21 +0200)]
Merge pull request #3217 from Sanafan/updated_spiders

Updated spiders

4 years agoAdd resuable language item for author list in notifications
Matthias Schmidt [Sat, 23 May 2020 09:51:14 +0000 (11:51 +0200)]
Add resuable language item for author list in notifications

See #3324

4 years agoAdd more template events to pageAdd.tpl
Matthias Schmidt [Sat, 23 May 2020 06:08:18 +0000 (08:08 +0200)]
Add more template events to pageAdd.tpl

Close #3268

4 years agoMove reporter to top of moderation report page
Matthias Schmidt [Sat, 23 May 2020 05:59:57 +0000 (07:59 +0200)]
Move reporter to top of moderation report page

Close #3284

4 years agoRemove unused imports
Matthias Schmidt [Sat, 23 May 2020 05:48:34 +0000 (07:48 +0200)]
Remove unused imports

4 years agoUse user profiles in TCommentResponseUserActivityEvent
Matthias Schmidt [Fri, 22 May 2020 14:25:33 +0000 (16:25 +0200)]
Use user profiles in TCommentResponseUserActivityEvent

4 years agoFix regular expression in AnchorFunctionTemplatePlugin
Matthias Schmidt [Fri, 22 May 2020 12:56:11 +0000 (14:56 +0200)]
Fix regular expression in AnchorFunctionTemplatePlugin

4 years agoAdd UserTemplatePlugin (#3322)
Matthias Schmidt [Fri, 22 May 2020 12:55:27 +0000 (14:55 +0200)]
Add UserTemplatePlugin (#3322)

* Add UserTemplatePlugin

Close #3321

* Change name of user online marking in language items

* Apply suggestions from code review

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 years agoHide empty user option categories in user menu (#3294)
Matthias Schmidt [Fri, 22 May 2020 11:35:15 +0000 (13:35 +0200)]
Hide empty user option categories in user menu (#3294)

* Hide empty user option categories in user menu

Close #3280

* Fix typo in documentation

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 years agoPrevent infinite loop for nested language items (#3299)
Matthias Schmidt [Fri, 22 May 2020 11:34:43 +0000 (13:34 +0200)]
Prevent infinite loop for nested language items (#3299)

* Prevent infinite loop for nested language items

Close #3163

* Improve exception message in Language::loadCategory()

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 years agoMerge branch '5.2'
Tim Düsterhus [Thu, 21 May 2020 23:51:20 +0000 (01:51 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Thu, 21 May 2020 23:51:06 +0000 (01:51 +0200)]
Merge branch '3.1' into 5.2

4 years agoMerge branch 'Krymonota-fix-en-interval-full-past-insentence' into 3.1
Tim Düsterhus [Thu, 21 May 2020 23:50:19 +0000 (01:50 +0200)]
Merge branch 'Krymonota-fix-en-interval-full-past-insentence' into 3.1

4 years agoRemove unnecessary conditions in wcf.date.interval.full.past.inSentence
Niklas [Thu, 21 May 2020 23:37:54 +0000 (01:37 +0200)]
Remove unnecessary conditions in wcf.date.interval.full.past.inSentence

4 years agoFix day in wcf.date.interval.full.past.inSentence
Niklas [Fri, 24 Jan 2020 16:30:31 +0000 (17:30 +0100)]
Fix day in wcf.date.interval.full.past.inSentence

e. g. "day, an hour and 49 minutes ago" -> "a day, an hour and 49 minutes ago"

Closes #3142

4 years agoMark required fields in output when using form builder (#3296)
Matthias Schmidt [Thu, 21 May 2020 18:18:38 +0000 (20:18 +0200)]
Mark required fields in output when using form builder (#3296)

Close #3265

4 years agoMerge pull request #3300 from Fabii547/patch-73
Alexander Ebert [Thu, 21 May 2020 17:59:44 +0000 (19:59 +0200)]
Merge pull request #3300 from Fabii547/patch-73

Fix typo in iOS platform detection

4 years agoShorten code to render reaction inline lists (in language items)
Matthias Schmidt [Thu, 21 May 2020 13:57:00 +0000 (15:57 +0200)]
Shorten code to render reaction inline lists (in language items)

See #3320

4 years agoFix stacking of article reactions
Matthias Schmidt [Thu, 21 May 2020 13:55:58 +0000 (15:55 +0200)]
Fix stacking of article reactions

See #3269

4 years agoShorten code to render individual reactions (in language items)
Matthias Schmidt [Thu, 21 May 2020 13:18:13 +0000 (15:18 +0200)]
Shorten code to render individual reactions (in language items)

See #3320

4 years agoChange TagCloudBoxController to an abstract class
Matthias Schmidt [Thu, 21 May 2020 11:37:24 +0000 (13:37 +0200)]
Change TagCloudBoxController to an abstract class

Close #3319

4 years agoSupport decorated `IPopoverObject` in anchor template plugin
Matthias Schmidt [Thu, 21 May 2020 11:04:25 +0000 (13:04 +0200)]
Support decorated `IPopoverObject` in anchor template plugin

See #3318

4 years agoAdd popover-related interfaces and popover support for `{anchor}`
Matthias Schmidt [Thu, 21 May 2020 10:53:39 +0000 (12:53 +0200)]
Add popover-related interfaces and popover support for `{anchor}`

Close #3318

4 years agoMerge pull request #3317 from WoltLab/abstract-event-listener
Alexander Ebert [Wed, 20 May 2020 18:30:36 +0000 (20:30 +0200)]
Merge pull request #3317 from WoltLab/abstract-event-listener

Dynamic event listener with extra support for DBOActions

4 years agoMerge branch '5.2'
Marcel Werk [Wed, 20 May 2020 18:13:58 +0000 (20:13 +0200)]
Merge branch '5.2'

4 years agoClose dialog button could not be pressed via enter key
Marcel Werk [Wed, 20 May 2020 18:13:38 +0000 (20:13 +0200)]
Close dialog button could not be pressed via enter key

4 years agoIncorrect class documentation
Alexander Ebert [Wed, 20 May 2020 17:55:35 +0000 (19:55 +0200)]
Incorrect class documentation

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
4 years agoDynamic event listener with extra support for DBOActions
Alexander Ebert [Wed, 20 May 2020 17:04:00 +0000 (19:04 +0200)]
Dynamic event listener with extra support for DBOActions

4 years agoMerge branch '5.2'
Tim Düsterhus [Wed, 20 May 2020 13:10:33 +0000 (15:10 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Wed, 20 May 2020 13:09:48 +0000 (15:09 +0200)]
Merge branch '3.1' into 5.2

4 years agoImplement StringUtil::getRandomID() using PasswordUtil::getRandomPassword()
Tim Düsterhus [Wed, 20 May 2020 13:05:54 +0000 (15:05 +0200)]
Implement StringUtil::getRandomID() using PasswordUtil::getRandomPassword()

see 2ca6835c56fd478b8a685bcf2be72245a8231c37
Closes #3262

4 years agoUse ILinkableObject::getLink() whenever possible in PHP code
Matthias Schmidt [Tue, 19 May 2020 15:28:28 +0000 (17:28 +0200)]
Use ILinkableObject::getLink() whenever possible in PHP code

See  #3295

4 years agoMerge branch '5.2'
Marcel Werk [Mon, 18 May 2020 20:52:57 +0000 (22:52 +0200)]
Merge branch '5.2'

4 years agoFixed wrong documentation
Marcel Werk [Mon, 18 May 2020 20:52:45 +0000 (22:52 +0200)]
Fixed wrong documentation

4 years agoAdd fallback link to Twitter media provider (#3309)
Tim Düsterhus [Mon, 18 May 2020 15:22:09 +0000 (17:22 +0200)]
Add fallback link to Twitter media provider (#3309)

* Add fallback link to Twitter media provider

Closes #3308

* Fix TwitterEmbed error for invalid Tweet IDs

* Add TwitterEmbed#embedAll

* Fix typo in TwitterEmbed#embedTweet comment

* Fix code style in TwitterEmbed.js

Co-authored-by: Matthias Schmidt <gravatronics@live.com>
Co-authored-by: Matthias Schmidt <gravatronics@live.com>
4 years agoFix column classes in menuList template (#3313)
Niklas [Sun, 17 May 2020 15:16:39 +0000 (17:16 +0200)]
Fix column classes in menuList template (#3313)

4 years agoFix column classes in boxList template (#3312)
Niklas [Sun, 17 May 2020 15:15:46 +0000 (17:15 +0200)]
Fix column classes in boxList template (#3312)

* Fix ID column name in boxList.tpl

* Add missing columnID class

4 years agoMerge branch '5.2'
joshuaruesweg [Sun, 17 May 2020 14:18:36 +0000 (16:18 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
joshuaruesweg [Sun, 17 May 2020 14:18:05 +0000 (16:18 +0200)]
Merge branch '3.1' into 5.2

4 years agoMerge pull request #3306 from WoltLab/editorconfig
Joshua Rüsweg [Sun, 17 May 2020 14:17:10 +0000 (16:17 +0200)]
Merge pull request #3306 from WoltLab/editorconfig

Add .editorconfig file

4 years agoAdd and use TCommentResponseUserActivityEvent
Matthias Schmidt [Sun, 17 May 2020 11:49:21 +0000 (13:49 +0200)]
Add and use TCommentResponseUserActivityEvent

Close  #3311

4 years agoAdd DatabaseObjectList::getSingleObject() (#3298)
Matthias Schmidt [Sun, 17 May 2020 11:03:27 +0000 (13:03 +0200)]
Add DatabaseObjectList::getSingleObject() (#3298)

Close #3183

4 years agoUpdate TLS versions in RemoteFile::setTLS()
Tim Düsterhus [Sat, 16 May 2020 10:33:05 +0000 (12:33 +0200)]
Update TLS versions in RemoteFile::setTLS()

Closes #3307

4 years agoMerge branch 'exception-verb'
Tim Düsterhus [Sat, 16 May 2020 10:24:20 +0000 (12:24 +0200)]
Merge branch 'exception-verb'

4 years agoShow HTTP Verb in Exception Log
Tim Düsterhus [Sat, 16 May 2020 10:21:50 +0000 (12:21 +0200)]
Show HTTP Verb in Exception Log

Closes #3211