GitHub/WoltLab/WCF.git
6 years agoMerge branch 'master' into next
Joshua Rüsweg [Thu, 23 Aug 2018 15:01:13 +0000 (17:01 +0200)]
Merge branch 'master' into next

6 years agoMerge branch '3.0'
Joshua Rüsweg [Thu, 23 Aug 2018 15:00:32 +0000 (17:00 +0200)]
Merge branch '3.0'

6 years agoFix setting monolingual i18n items with js
Joshua Rüsweg [Thu, 23 Aug 2018 14:58:44 +0000 (16:58 +0200)]
Fix setting monolingual i18n items with js

6 years agoAdd media provider for Twitter Tweets
Tim Düsterhus [Thu, 23 Aug 2018 14:37:22 +0000 (16:37 +0200)]
Add media provider for Twitter Tweets

Closes #2690

6 years agoTrim spaces from host, username and password in SmtpEmailTransport
Tim Düsterhus [Thu, 23 Aug 2018 13:57:59 +0000 (15:57 +0200)]
Trim spaces from host, username and password in SmtpEmailTransport

Fixes #2703

6 years agoAllow accessing the LoginForm when logged in
Tim Düsterhus [Thu, 23 Aug 2018 13:51:45 +0000 (15:51 +0200)]
Allow accessing the LoginForm when logged in

Instead of sending a 403 the redirect to the given URL or the homepage
is performed.

Closes #2675

6 years agoMerge branch 'next' of https://github.com/WoltLab/WCF into next
Marcel Werk [Thu, 23 Aug 2018 13:40:04 +0000 (15:40 +0200)]
Merge branch 'next' of https://github.com/WoltLab/WCF into next

6 years agoImproved a11y in message tab-menu
Marcel Werk [Thu, 23 Aug 2018 13:39:56 +0000 (15:39 +0200)]
Improved a11y in message tab-menu

See #2713

6 years agoFix position of bottom pagination in exceptionLogView
Tim Düsterhus [Thu, 23 Aug 2018 13:34:20 +0000 (15:34 +0200)]
Fix position of bottom pagination in exceptionLogView

see 537cac2ef50e410b4ee622f478d66c78dd15b673

6 years agoMerge branch 'master' into next
Tim Düsterhus [Thu, 23 Aug 2018 12:17:04 +0000 (14:17 +0200)]
Merge branch 'master' into next

6 years agoMerge tag '3.1.5' into next
Tim Düsterhus [Thu, 23 Aug 2018 12:16:59 +0000 (14:16 +0200)]
Merge tag '3.1.5' into next

6 years agoImprove error logging for failed validations
Joshua Rüsweg [Wed, 22 Aug 2018 09:44:31 +0000 (11:44 +0200)]
Improve error logging for failed validations
See #2743

6 years agoUse multiple promises instead of one to make it easier to validate data
Joshua Rüsweg [Wed, 22 Aug 2018 08:08:07 +0000 (10:08 +0200)]
Use multiple promises instead of one to make it easier to validate data
See #2743

6 years agoAdd promises support for MessageInlineEditor
Joshua Rüsweg [Tue, 21 Aug 2018 20:27:07 +0000 (22:27 +0200)]
Add promises support for MessageInlineEditor
See #2743
See #2742
See WoltLab/com.woltlab.wbb#280

6 years agoAdded labels for complementary <aside> tags
Marcel Werk [Mon, 20 Aug 2018 11:24:29 +0000 (13:24 +0200)]
Added labels for complementary <aside> tags

See #2713

6 years agoreduce usage of complementary <aside> tags
Marcel Werk [Mon, 20 Aug 2018 11:17:14 +0000 (13:17 +0200)]
reduce usage of complementary <aside> tags

See #2713

6 years agoMerge branch '3.0'
Joshua Rüsweg [Sun, 19 Aug 2018 13:40:40 +0000 (15:40 +0200)]
Merge branch '3.0'

6 years agoMerge branch 'Fabii547-patch-55' into 3.0
Joshua Rüsweg [Sun, 19 Aug 2018 13:33:03 +0000 (15:33 +0200)]
Merge branch 'Fabii547-patch-55' into 3.0

6 years agoFix UserProfileCommentResponseOwnerUserNotificationEvent::getLink()
Fabii547 [Sat, 18 Aug 2018 09:13:52 +0000 (11:13 +0200)]
Fix UserProfileCommentResponseOwnerUserNotificationEvent::getLink()

UserProfileCommentResponseOwnerUserNotificationEvent::getLink() now returns the correct link when using an event listener on fireEvent@wcf\system\user\notification\UserNotificationHandler

Fix usage of the RuntimeCacheBuilder

6 years agoPreparing the release 3.1.5 pl 1 3.1.5_pl_1
Alexander Ebert [Sat, 18 Aug 2018 17:48:30 +0000 (19:48 +0200)]
Preparing the release 3.1.5 pl 1

6 years agoMerge branch '3.0'
Alexander Ebert [Sat, 18 Aug 2018 17:48:21 +0000 (19:48 +0200)]
Merge branch '3.0'

6 years agoPreparing the release 3.0.17 pl 1 3.0.17_pl_1
Alexander Ebert [Sat, 18 Aug 2018 17:44:59 +0000 (19:44 +0200)]
Preparing the release 3.0.17 pl 1

6 years agoForce-reset all cronjobs to their default state
Alexander Ebert [Sat, 18 Aug 2018 17:39:31 +0000 (19:39 +0200)]
Force-reset all cronjobs to their default state

6 years agoMerge pull request #2741 from WoltLab/cronjobs
Alexander Ebert [Sat, 18 Aug 2018 17:35:49 +0000 (19:35 +0200)]
Merge pull request #2741 from WoltLab/cronjobs

Fix logic in CronjobScheduler

6 years agoUpdating minified JavaScript files
woltlab.com [Sat, 18 Aug 2018 17:24:09 +0000 (17:24 +0000)]
Updating minified JavaScript files

6 years agoMerge branch '3.0'
Alexander Ebert [Sat, 18 Aug 2018 17:16:48 +0000 (19:16 +0200)]
Merge branch '3.0'

6 years agoRemove failCount condition from CronjobScheduler::resetFailedCronjobs()
Tim Düsterhus [Sat, 18 Aug 2018 16:37:05 +0000 (18:37 +0200)]
Remove failCount condition from CronjobScheduler::resetFailedCronjobs()

It is redundant with the isDisabled condition and might cause issues.

6 years agoAdd logging when Cronjobs are being reset to READY
Tim Düsterhus [Sat, 18 Aug 2018 16:31:25 +0000 (18:31 +0200)]
Add logging when Cronjobs are being reset to READY

6 years agoFix logic in CronjobScheduler::resetFailedCronjobs()
Tim Düsterhus [Sat, 18 Aug 2018 16:16:19 +0000 (18:16 +0200)]
Fix logic in CronjobScheduler::resetFailedCronjobs()

This adds the missing check for `state <> READY` to the query.

Consider the following situation in a low traffic community. The
cronjob is assumed to be executed every five minutes.

0000 Cronjob is executed regularly (next = 0005, afterNext = 0010).
0012 A visitor triggers the cronjobs, afterNext is in the past, thus
     the cronjob is assumed to have failed (next = 0015,
                                            afterNext = 0020).
0027 A visitor triggers the cronjobs, afterNext is in the past, thus
     the cronjob is assumed to have failed (next = 0030,
                                            afterNext = 0035).
0039 A visitor triggers the cronjobs, afterNext is in the past, thus
     the cronjob is assumed to have failed (next = 0040,
                                            afterNext = 0045).
0100 A visitor triggers the cronjobs, afterNext is in the past, thus
     the cronjob is assumed to have failed. The cronjob now missed
     it's execution window for 3 times and is being disabled.

With this change the state is checked to not be READY, in this case
it should have been already processed in another request when
afterNextExec lies in the past:

If the state is EXECUTING then the cronjob is the actual cause of
failure, if the state is PENDING then the cronjob is innocent and
just happens to be a bystander.

6 years agoCatch any type of Exception in CronjobScheduler
Tim Düsterhus [Sat, 18 Aug 2018 16:05:58 +0000 (18:05 +0200)]
Catch any type of Exception in CronjobScheduler

6 years agoUpdating minified JavaScript files
woltlab.com [Sat, 18 Aug 2018 16:13:55 +0000 (16:13 +0000)]
Updating minified JavaScript files

6 years agoAvoid writing to `arguments` directly, strange optimization result
Alexander Ebert [Sat, 18 Aug 2018 16:11:34 +0000 (18:11 +0200)]
Avoid writing to `arguments` directly, strange optimization result

6 years agoFix calculation of afterNextExec in CronjobScheduler::resetFailedCronjobs()
Tim Düsterhus [Sat, 18 Aug 2018 16:04:37 +0000 (18:04 +0200)]
Fix calculation of afterNextExec in CronjobScheduler::resetFailedCronjobs()

see 7dabbb18927ec523716a2a874d4de116383d1f87

6 years agoFix some typos (#2740)
Jens Hausdorf [Sat, 18 Aug 2018 13:09:27 +0000 (15:09 +0200)]
Fix some typos (#2740)

6 years agofix typo (#2738)
Jens Hausdorf [Sat, 18 Aug 2018 07:47:49 +0000 (09:47 +0200)]
fix typo (#2738)

* fix typo

* fix typos

6 years agoAdd missing third parameter in `ISelectionFormField::options()`
Matthias Schmidt [Fri, 17 Aug 2018 13:46:39 +0000 (15:46 +0200)]
Add missing third parameter in `ISelectionFormField::options()`

See 855dba8af4282581bc76127c211f279e5dff5f71
See #2509

6 years agoFix unknown object type for article notifications
Joshua Rüsweg [Fri, 17 Aug 2018 12:03:41 +0000 (14:03 +0200)]
Fix unknown object type for article notifications
See #2649

6 years agoUpdated the release date 3.1.5
Alexander Ebert [Fri, 17 Aug 2018 11:19:04 +0000 (13:19 +0200)]
Updated the release date

6 years agoMerge branch '3.0'
Alexander Ebert [Fri, 17 Aug 2018 10:51:11 +0000 (12:51 +0200)]
Merge branch '3.0'

6 years agoPreparing the release 3.0.17 3.0.17
Alexander Ebert [Fri, 17 Aug 2018 09:52:11 +0000 (11:52 +0200)]
Preparing the release 3.0.17

6 years agoSoft-limit for the length of the open/close HTML tags
Alexander Ebert [Fri, 17 Aug 2018 09:14:41 +0000 (11:14 +0200)]
Soft-limit for the length of the open/close HTML tags

6 years agoTypos
Alexander Ebert [Fri, 17 Aug 2018 09:08:16 +0000 (11:08 +0200)]
Typos

6 years agoRemove superfluous whitespaces
Matthias Schmidt [Tue, 14 Aug 2018 18:06:11 +0000 (20:06 +0200)]
Remove superfluous whitespaces

See #2679

6 years agoAdd form to add custom phrases
Matthias Schmidt [Tue, 14 Aug 2018 17:59:03 +0000 (19:59 +0200)]
Add form to add custom phrases

Close #2679

6 years agoMake selection form field labels' treatment as language items optional
Matthias Schmidt [Tue, 14 Aug 2018 17:49:39 +0000 (19:49 +0200)]
Make selection form field labels' treatment as language items optional

See #2509

6 years agoAdd `VoidFormFieldDataProcessor`
Matthias Schmidt [Tue, 14 Aug 2018 17:48:33 +0000 (19:48 +0200)]
Add `VoidFormFieldDataProcessor`

See #2509

6 years agoAdd alternative object action name `AbstractFormBuilderForm`
Matthias Schmidt [Tue, 14 Aug 2018 17:46:06 +0000 (19:46 +0200)]
Add alternative object action name `AbstractFormBuilderForm`

… to support additional action names.

See #2509

6 years agoLoosen strict matching requirement for single selection form field
Matthias Schmidt [Tue, 14 Aug 2018 17:45:12 +0000 (19:45 +0200)]
Loosen strict matching requirement for single selection form field

See #2509

6 years agoUse explicit join type
Joshua Rüsweg [Tue, 14 Aug 2018 08:09:44 +0000 (10:09 +0200)]
Use explicit join type
See #2650

6 years agoRevert object type renaming
Joshua Rüsweg [Mon, 13 Aug 2018 14:24:28 +0000 (16:24 +0200)]
Revert object type renaming
See #2737

6 years agoAdd notifications for article comments
Joshua Rüsweg [Mon, 13 Aug 2018 14:23:29 +0000 (16:23 +0200)]
Add notifications for article comments
See #2649

6 years agoFixed typo
Marcel Werk [Mon, 13 Aug 2018 14:11:17 +0000 (16:11 +0200)]
Fixed typo

6 years agoAdd comment notifications for page comments
Joshua Rüsweg [Mon, 13 Aug 2018 10:23:21 +0000 (12:23 +0200)]
Add comment notifications for page comments
See #2650

6 years agoAllow commentResponseOwner events with multi recipient notifications
Joshua Rüsweg [Mon, 13 Aug 2018 08:43:01 +0000 (10:43 +0200)]
Allow commentResponseOwner events with multi recipient notifications
See #2737

6 years agoSwitch revoking and adding trophies to make level trophies possible
Joshua Rüsweg [Sun, 12 Aug 2018 17:53:04 +0000 (19:53 +0200)]
Switch revoking and adding trophies to make level trophies possible

6 years agoMerge branch 'master' into next
Joshua Rüsweg [Sun, 12 Aug 2018 12:31:44 +0000 (14:31 +0200)]
Merge branch 'master' into next

# Conflicts:
# wcfsetup/install/lang/de.xml

6 years agoMerge branch '3.0'
Joshua Rüsweg [Sun, 12 Aug 2018 12:24:56 +0000 (14:24 +0200)]
Merge branch '3.0'

# Conflicts:
# wcfsetup/install/files/lib/data/page/PageAction.class.php

6 years agoDelete page comments after deleting the page
Joshua Rüsweg [Sun, 12 Aug 2018 12:21:15 +0000 (14:21 +0200)]
Delete page comments after deleting the page

6 years agoReplace LikeHandler method with ReactionHandler method
Joshua Rüsweg [Sun, 12 Aug 2018 12:00:33 +0000 (14:00 +0200)]
Replace LikeHandler method with ReactionHandler method
See #2508

6 years agoAdd event in `DefaultUploadFileSaveStrategy::generateThumbnails()`
Matthias Schmidt [Sun, 12 Aug 2018 05:53:57 +0000 (07:53 +0200)]
Add event in `DefaultUploadFileSaveStrategy::generateThumbnails()`

Close #2621

6 years agoAdd media download counter
Matthias Schmidt [Sun, 12 Aug 2018 05:45:11 +0000 (07:45 +0200)]
Add media download counter

Close #2634

6 years agoAdd permission to restrict access to own media
Matthias Schmidt [Sat, 11 Aug 2018 18:07:44 +0000 (20:07 +0200)]
Add permission to restrict access to own media

Close #2673

6 years agoMerge branch '3.0'
Matthias Schmidt [Sat, 11 Aug 2018 13:53:13 +0000 (15:53 +0200)]
Merge branch '3.0'

6 years agoFix user option condition forms ignoring set default values
Matthias Schmidt [Sat, 11 Aug 2018 13:52:33 +0000 (15:52 +0200)]
Fix user option condition forms ignoring set default values

6 years agoPreparing the release 3.1.5
Alexander Ebert [Fri, 10 Aug 2018 14:22:56 +0000 (16:22 +0200)]
Preparing the release 3.1.5

6 years agoUpdating minified JavaScript files
woltlab.com [Fri, 10 Aug 2018 13:26:05 +0000 (13:26 +0000)]
Updating minified JavaScript files

6 years agoMerge branch '3.0'
Alexander Ebert [Fri, 10 Aug 2018 11:29:45 +0000 (13:29 +0200)]
Merge branch '3.0'

6 years agoUpdate the image when rotating by 180deg
Alexander Ebert [Fri, 10 Aug 2018 11:29:20 +0000 (13:29 +0200)]
Update the image when rotating by 180deg

Replaces 329f42e09c06cb7b69fb26cfc92beb6d3b435b74

6 years agoMerge branch '3.0'
Alexander Ebert [Fri, 10 Aug 2018 11:05:39 +0000 (13:05 +0200)]
Merge branch '3.0'

6 years agoUpdate the image when rotating by 180deg
Alexander Ebert [Fri, 10 Aug 2018 11:04:10 +0000 (13:04 +0200)]
Update the image when rotating by 180deg

6 years agoMinor phrasing improvements
Alexander Ebert [Fri, 10 Aug 2018 11:00:10 +0000 (13:00 +0200)]
Minor phrasing improvements

6 years agoMerge branch '3.0'
Alexander Ebert [Fri, 10 Aug 2018 10:56:05 +0000 (12:56 +0200)]
Merge branch '3.0'

6 years agoProper HTML processing for page rebuilds
Alexander Ebert [Fri, 10 Aug 2018 10:52:55 +0000 (12:52 +0200)]
Proper HTML processing for page rebuilds

6 years agoUpdating minified JavaScript files
woltlab.com [Fri, 10 Aug 2018 09:47:39 +0000 (09:47 +0000)]
Updating minified JavaScript files

6 years agoPrevent concurrent message submit requests
Alexander Ebert [Fri, 10 Aug 2018 09:40:12 +0000 (11:40 +0200)]
Prevent concurrent message submit requests

6 years agoAdd recent activity events for page comments
Joshua Rüsweg [Fri, 10 Aug 2018 09:37:10 +0000 (11:37 +0200)]
Add recent activity events for page comments
See #2674

6 years agoDo not import reactionTypes with unknown reactionTypeID
Joshua Rüsweg [Thu, 9 Aug 2018 11:39:17 +0000 (13:39 +0200)]
Do not import reactionTypes with unknown reactionTypeID
See #2508

6 years agoMake abstract like importer work with reaction types
Joshua Rüsweg [Thu, 9 Aug 2018 11:38:02 +0000 (13:38 +0200)]
Make abstract like importer work with reaction types
See #2508

6 years agoAdd reaction type importer
Joshua Rüsweg [Thu, 9 Aug 2018 11:37:22 +0000 (13:37 +0200)]
Add reaction type importer
See #2508

6 years agoUpdating minified JavaScript files
woltlab.com [Thu, 9 Aug 2018 11:22:11 +0000 (11:22 +0000)]
Updating minified JavaScript files

6 years agoUpdating minified JavaScript files
woltlab.com [Thu, 9 Aug 2018 11:15:37 +0000 (11:15 +0000)]
Updating minified JavaScript files

6 years agoFix missing reaction summary container
Joshua Rüsweg [Thu, 9 Aug 2018 11:13:10 +0000 (13:13 +0200)]
Fix missing reaction summary container
See #2508

6 years agoMerge branch '3.0'
Marcel Werk [Thu, 9 Aug 2018 10:22:14 +0000 (12:22 +0200)]
Merge branch '3.0'

6 years agoFixed broken indentation in multi-category condition
Marcel Werk [Thu, 9 Aug 2018 10:20:44 +0000 (12:20 +0200)]
Fixed broken indentation in multi-category condition

6 years agoAdd singleItem option for ReactionHandler
Joshua Rüsweg [Thu, 9 Aug 2018 09:49:01 +0000 (11:49 +0200)]
Add singleItem option for ReactionHandler
See #2508

6 years agoFix trophies are not shown, if the user option is not set
Joshua Rüsweg [Thu, 9 Aug 2018 08:07:08 +0000 (10:07 +0200)]
Fix trophies are not shown, if the user option is not set

6 years agoAdd exception chaining to DateFormField::saveValueFormat
Tim Düsterhus [Wed, 8 Aug 2018 11:44:17 +0000 (13:44 +0200)]
Add exception chaining to DateFormField::saveValueFormat

6 years agoMerge pull request #2732 from WoltLab/reactions
Joshua Rüsweg [Wed, 8 Aug 2018 10:59:22 +0000 (12:59 +0200)]
Merge pull request #2732 from WoltLab/reactions

Reaction System

6 years agoCache likeable objects to avoid multiple queries
Joshua Rüsweg [Wed, 8 Aug 2018 10:50:46 +0000 (12:50 +0200)]
Cache likeable objects to avoid multiple queries
See #2665

6 years agoMerge pull request #2734 from WoltLab/trophy
Joshua Rüsweg [Wed, 8 Aug 2018 08:42:42 +0000 (10:42 +0200)]
Merge pull request #2734 from WoltLab/trophy

Support for revokable trophies once the conditions are no longer fulfilled

6 years agoMerge branch 'next' of github.com:WoltLab/WCF into next
Matthias Schmidt [Wed, 8 Aug 2018 04:36:25 +0000 (06:36 +0200)]
Merge branch 'next' of github.com:WoltLab/WCF into next

6 years agoRefine documentation
Joshua Rüsweg [Tue, 7 Aug 2018 18:14:46 +0000 (20:14 +0200)]
Refine documentation
See #2665

6 years agoEnable/Disable element instead of hiding the whole element
Joshua Rüsweg [Tue, 7 Aug 2018 17:47:35 +0000 (19:47 +0200)]
Enable/Disable element instead of hiding the whole element
See #2665

6 years agoCopy explicit joins from pseudo user list
Joshua Rüsweg [Tue, 7 Aug 2018 13:16:12 +0000 (15:16 +0200)]
Copy explicit joins from pseudo user list
See #2665

6 years agoAdd support for revocable trophies
Joshua Rüsweg [Tue, 7 Aug 2018 13:12:54 +0000 (15:12 +0200)]
Add support for revocable trophies
See #2665

6 years agoUse internal functions to show/hide an element
Joshua Rüsweg [Tue, 7 Aug 2018 11:48:07 +0000 (13:48 +0200)]
Use internal functions to show/hide an element

6 years agoFix typo
Joshua Rüsweg [Tue, 7 Aug 2018 10:40:17 +0000 (12:40 +0200)]
Fix typo
See #2508

6 years agoMerge branch '3.0'
Alexander Ebert [Mon, 6 Aug 2018 15:26:47 +0000 (17:26 +0200)]
Merge branch '3.0'

6 years agoUse height/width attributes for compatibility
Alexander Ebert [Mon, 6 Aug 2018 15:26:18 +0000 (17:26 +0200)]
Use height/width attributes for compatibility

See #2555

6 years agoAdd width/height properties for default avatars (#2555)
Sascha Greuel [Sat, 19 May 2018 18:47:44 +0000 (20:47 +0200)]
Add width/height properties for default avatars (#2555)

* Added width/height properties for default avatars

Under certain circumstances, it is possible, that a browser strips the style tag on SVG images. This leads to a display of very tiny avatar images as shown below:

Since `width` and `height` are valid properties and respected by every browser, it's not the worst idea to include them.

* Removed redundant style attribute