GitHub/WoltLab/WCF.git
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 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 agoFixed typo
Marcel Werk [Mon, 13 Aug 2018 14:11:17 +0000 (16:11 +0200)]
Fixed typo

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 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 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 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 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 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

6 years agoIncorrect usage of `continue`
Alexander Ebert [Mon, 6 Aug 2018 15:14:38 +0000 (17:14 +0200)]
Incorrect usage of `continue`

Fixes #2730

6 years agoMerge branch '3.0'
Alexander Ebert [Mon, 6 Aug 2018 11:50:40 +0000 (13:50 +0200)]
Merge branch '3.0'

6 years agoConvert <br> inside <pre> into plain newline characters
Alexander Ebert [Mon, 6 Aug 2018 11:38:25 +0000 (13:38 +0200)]
Convert <br> inside <pre> into plain newline characters

6 years agoLogo was 1px too wide
Alexander Ebert [Mon, 6 Aug 2018 11:25:15 +0000 (13:25 +0200)]
Logo was 1px too wide

6 years agoConverting multiple code blocks let to discarded newlines
Alexander Ebert [Wed, 13 Jun 2018 10:23:46 +0000 (12:23 +0200)]
Converting multiple code blocks let to discarded newlines

The XPath expression matched the global scope, eventually removing the newlines inside previously converted code blocks.

6 years agoMerge branch '3.0'
Marcel Werk [Mon, 6 Aug 2018 09:09:40 +0000 (11:09 +0200)]
Merge branch '3.0'

6 years agoDisallow search for updates when benchmark is enabled
Marcel Werk [Mon, 6 Aug 2018 09:08:11 +0000 (11:08 +0200)]
Disallow search for updates when benchmark is enabled

6 years agoFixed typo
Marcel Werk [Mon, 6 Aug 2018 08:12:30 +0000 (10:12 +0200)]
Fixed typo

6 years agoFixed typo
Marcel Werk [Mon, 6 Aug 2018 08:05:18 +0000 (10:05 +0200)]
Fixed typo

6 years agoMerge branch '3.0'
Marcel Werk [Wed, 1 Aug 2018 14:30:53 +0000 (16:30 +0200)]
Merge branch '3.0'

6 years agoFixed missing permission check
Marcel Werk [Wed, 1 Aug 2018 14:29:42 +0000 (16:29 +0200)]
Fixed missing permission check

6 years agoMerge branch '3.0'
Tim Düsterhus [Mon, 30 Jul 2018 21:39:30 +0000 (23:39 +0200)]
Merge branch '3.0'

6 years agoAdd support for infinite memory limit in ExceptionLogViewPage
Tim Düsterhus [Mon, 30 Jul 2018 21:38:35 +0000 (23:38 +0200)]
Add support for infinite memory limit in ExceptionLogViewPage

6 years agoReset previously failed cronjobs before executing them (#2726)
Alexander Ebert [Mon, 30 Jul 2018 13:34:36 +0000 (15:34 +0200)]
Reset previously failed cronjobs before executing them (#2726)

* Reset previously failed cronjobs before executing them

* Missing method call to reset the failed cronjobs

6 years agoFixed typo
Marcel Werk [Mon, 30 Jul 2018 08:55:41 +0000 (10:55 +0200)]
Fixed typo

6 years agoMerge branch '3.0'
Tim Düsterhus [Sat, 28 Jul 2018 16:32:40 +0000 (18:32 +0200)]
Merge branch '3.0'

6 years agoProperly bind media insert button to <li> instead of FA icon
Tim Düsterhus [Sat, 28 Jul 2018 16:31:59 +0000 (18:31 +0200)]
Properly bind media insert button to <li> instead of FA icon

6 years agoFix informal version of German language items
Matthias Schmidt [Sat, 28 Jul 2018 04:26:07 +0000 (06:26 +0200)]
Fix informal version of German language items

6 years agoMerge branch '3.0'
Matthias Schmidt [Sat, 28 Jul 2018 04:24:14 +0000 (06:24 +0200)]
Merge branch '3.0'

6 years agoFix wording in German language item
Matthias Schmidt [Sat, 28 Jul 2018 04:24:00 +0000 (06:24 +0200)]
Fix wording in German language item

6 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Tue, 24 Jul 2018 09:44:39 +0000 (11:44 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF

6 years agoDenying external sources with the image proxy set to insecure only did not work
Alexander Ebert [Tue, 24 Jul 2018 09:44:00 +0000 (11:44 +0200)]
Denying external sources with the image proxy set to insecure only did not work

6 years agoMerge branch '3.0'
Marcel Werk [Tue, 24 Jul 2018 09:06:41 +0000 (11:06 +0200)]
Merge branch '3.0'

6 years agoFixed wrong form field id
Marcel Werk [Tue, 24 Jul 2018 09:06:00 +0000 (11:06 +0200)]
Fixed wrong form field id

6 years agoWork-around for backspacing empty lines in Firefox
Alexander Ebert [Mon, 23 Jul 2018 14:00:11 +0000 (16:00 +0200)]
Work-around for backspacing empty lines in Firefox

6 years agoMerge branch '3.0'
Alexander Ebert [Mon, 23 Jul 2018 11:48:46 +0000 (13:48 +0200)]
Merge branch '3.0'

6 years ago`Element.scrollTo()` is not standardized
Alexander Ebert [Mon, 23 Jul 2018 11:29:58 +0000 (13:29 +0200)]
`Element.scrollTo()` is not standardized

6 years agoMerge branch '3.0'
Alexander Ebert [Mon, 16 Jul 2018 11:58:51 +0000 (13:58 +0200)]
Merge branch '3.0'

6 years agoIncorrect comparison of bbcode restrictions
Alexander Ebert [Fri, 8 Jun 2018 12:08:12 +0000 (14:08 +0200)]
Incorrect comparison of bbcode restrictions

6 years agoComparison for `never` values for boolean options
Alexander Ebert [Fri, 8 Jun 2018 12:00:03 +0000 (14:00 +0200)]
Comparison for `never` values for boolean options

6 years agoImproved mobile support for dailymotion videos
Marcel Werk [Thu, 12 Jul 2018 10:21:05 +0000 (12:21 +0200)]
Improved mobile support for dailymotion videos

6 years agoMerge branch '3.0'
Alexander Ebert [Tue, 10 Jul 2018 17:15:06 +0000 (19:15 +0200)]
Merge branch '3.0'

6 years agoRecognition of unicode mentions, guard against invalid usernames
Alexander Ebert [Tue, 10 Jul 2018 17:00:31 +0000 (19:00 +0200)]
Recognition of unicode mentions, guard against invalid usernames

6 years agoMerge remote-tracking branch 'refs/remotes/origin/3.0'
Marcel Werk [Mon, 9 Jul 2018 13:45:24 +0000 (15:45 +0200)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'

# Conflicts:

# wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeImg.class.php

6 years agoImproved detection of internal URLs (IMG bbcode)
Marcel Werk [Mon, 9 Jul 2018 13:34:06 +0000 (15:34 +0200)]
Improved detection of internal URLs (IMG bbcode)

6 years agoMerge branch '2.1' into 3.0
Marcel Werk [Mon, 9 Jul 2018 13:32:02 +0000 (15:32 +0200)]
Merge branch '2.1' into 3.0

6 years agoImproved detection of internal URLs (IMG bbcode)
Marcel Werk [Mon, 9 Jul 2018 12:25:16 +0000 (14:25 +0200)]
Improved detection of internal URLs (IMG bbcode)

6 years agoFix trophies could not be awarded correctly under certain circumstances
Joshua Rüsweg [Thu, 5 Jul 2018 12:49:49 +0000 (14:49 +0200)]
Fix trophies could not be awarded correctly under certain circumstances

6 years agoUpdating the release date 3.1.4
Alexander Ebert [Wed, 4 Jul 2018 09:22:24 +0000 (11:22 +0200)]
Updating the release date

6 years agoUpdating minified JavaScript files
woltlab.com [Mon, 2 Jul 2018 12:22:59 +0000 (14:22 +0200)]
Updating minified JavaScript files

6 years agoAdded support for the `steam://` protocol, unified schema processing
Alexander Ebert [Mon, 2 Jul 2018 12:20:35 +0000 (14:20 +0200)]
Added support for the `steam://` protocol, unified schema processing

6 years agoThe own user profile should be always accessible
Alexander Ebert [Mon, 2 Jul 2018 12:03:49 +0000 (14:03 +0200)]
The own user profile should be always accessible

6 years agoUser rank images on mobile devices were misplaced
Alexander Ebert [Mon, 2 Jul 2018 11:57:45 +0000 (13:57 +0200)]
User rank images on mobile devices were misplaced

6 years agoMerge branch '3.0'
Alexander Ebert [Mon, 2 Jul 2018 11:40:02 +0000 (13:40 +0200)]
Merge branch '3.0'

6 years agoPreparing the release 3.0.16 3.0.16
Alexander Ebert [Mon, 2 Jul 2018 11:01:10 +0000 (13:01 +0200)]
Preparing the release 3.0.16

6 years agoMerge branch '2.1' into 3.0
Alexander Ebert [Mon, 2 Jul 2018 10:51:18 +0000 (12:51 +0200)]
Merge branch '2.1' into 3.0

6 years agoPreparing the release 2.1.23 2.1.23
Alexander Ebert [Mon, 2 Jul 2018 10:41:19 +0000 (12:41 +0200)]
Preparing the release 2.1.23

6 years agoUpdating minified JavaScript files
woltlab.com [Mon, 2 Jul 2018 10:09:43 +0000 (12:09 +0200)]
Updating minified JavaScript files

6 years agoUpdating minified JavaScript files
woltlab.com [Mon, 2 Jul 2018 10:03:22 +0000 (12:03 +0200)]
Updating minified JavaScript files

6 years agoImproved the newline handling inside table cells
Alexander Ebert [Mon, 2 Jul 2018 09:32:58 +0000 (11:32 +0200)]
Improved the newline handling inside table cells

6 years agoMerge branch '3.0'
Alexander Ebert [Sun, 1 Jul 2018 13:08:23 +0000 (15:08 +0200)]
Merge branch '3.0'

6 years agoClose the cursor before executing the next query
Alexander Ebert [Sun, 1 Jul 2018 13:06:25 +0000 (15:06 +0200)]
Close the cursor before executing the next query

6 years agoMerge branch '3.0'
Tim Düsterhus [Sat, 30 Jun 2018 20:30:08 +0000 (22:30 +0200)]
Merge branch '3.0'

6 years agoMerge branch '2.1' into 3.0
Tim Düsterhus [Sat, 30 Jun 2018 20:29:56 +0000 (22:29 +0200)]
Merge branch '2.1' into 3.0

6 years agoBackport: Work-around libmagic failing for 1-byte files
Alexander Ebert [Tue, 2 Jan 2018 12:59:31 +0000 (13:59 +0100)]
Backport: Work-around libmagic failing for 1-byte files

Causes the error message "finfo::file(): Failed identify data 0:(null)"
in older libmagic/PHP versions, mostly in the ancient PHP 5.x tree.

This backports commit 07673afaf082ab28d8be4db5cb64fcda457e1562.

6 years agoUpdate path from 3.1.3 pl 1
Alexander Ebert [Sat, 30 Jun 2018 11:30:50 +0000 (13:30 +0200)]
Update path from 3.1.3 pl 1