GitHub/WoltLab/WCF.git
6 years agoDisable encoding for single selection option
Matthias Schmidt [Sat, 13 Jan 2018 17:32:13 +0000 (18:32 +0100)]
Disable encoding for single selection option

See #2509

6 years agoFix typos in parameter documentation
Matthias Schmidt [Sat, 13 Jan 2018 17:03:49 +0000 (18:03 +0100)]
Fix typos in parameter documentation

See #2509

6 years agoFix form field dependency-related issues
Matthias Schmidt [Sat, 13 Jan 2018 16:58:46 +0000 (17:58 +0100)]
Fix form field dependency-related issues

See #2509

6 years agoAdd language item support of selection form field options
Matthias Schmidt [Sat, 13 Jan 2018 16:24:50 +0000 (17:24 +0100)]
Add language item support of selection form field options

See #2509

6 years agoThrow missing exceptions for form field dependencies
Matthias Schmidt [Sat, 13 Jan 2018 16:18:13 +0000 (17:18 +0100)]
Throw missing exceptions for form field dependencies

See #2509

6 years agoUpdate form field dependency implementation with visibility propagation
Matthias Schmidt [Sat, 13 Jan 2018 11:35:42 +0000 (12:35 +0100)]
Update form field dependency implementation with visibility propagation

If a container contains no visible/available form fields, it will also
be invisible/unavailable.

See #2509

6 years agoRemove debug message and fix comment
Matthias Schmidt [Sat, 13 Jan 2018 09:53:32 +0000 (10:53 +0100)]
Remove debug message and fix comment

See #2509

6 years agoMerge branch 'master' into formBuilder
Matthias Schmidt [Sat, 13 Jan 2018 07:17:28 +0000 (08:17 +0100)]
Merge branch 'master' into formBuilder

6 years agoRemove superflous semicolon in `DefaultFormFieldDataProcessor::getData()`
Matthias Schmidt [Sat, 13 Jan 2018 07:16:06 +0000 (08:16 +0100)]
Remove superflous semicolon in `DefaultFormFieldDataProcessor::getData()`

See #2509

6 years agoAdd missing documentation for `DefaultFormFieldDataProcessor::getData()`
Matthias Schmidt [Sat, 13 Jan 2018 07:15:40 +0000 (08:15 +0100)]
Add missing documentation for `DefaultFormFieldDataProcessor::getData()`

See #2509

6 years agoAdd form field dependency implementation (WIP)
Matthias Schmidt [Sat, 13 Jan 2018 07:05:22 +0000 (08:05 +0100)]
Add form field dependency implementation (WIP)

See #2509

6 years agoFix non-i18n text fields
Matthias Schmidt [Sat, 13 Jan 2018 06:48:13 +0000 (07:48 +0100)]
Fix non-i18n text fields

See #2509

6 years agoExtract form field header and footer into separate template files
Matthias Schmidt [Thu, 11 Jan 2018 19:34:01 +0000 (20:34 +0100)]
Extract form field header and footer into separate template files

For most form field types, the initial and final code is the same so
that moving it into separate files reduces duplicate code.

See #2509

6 years agoFix import order
Matthias Schmidt [Thu, 11 Jan 2018 17:39:59 +0000 (18:39 +0100)]
Fix import order

See #2509

6 years agoAdd single selection form field
Matthias Schmidt [Thu, 11 Jan 2018 17:27:32 +0000 (18:27 +0100)]
Add single selection form field

See #2509

6 years agoAdd `formError` CSS class for erroneous fields
Matthias Schmidt [Thu, 11 Jan 2018 16:25:07 +0000 (17:25 +0100)]
Add `formError` CSS class for erroneous fields

See #2509

6 years agoMerge branch 'master' into formBuilder
Matthias Schmidt [Thu, 11 Jan 2018 16:02:48 +0000 (17:02 +0100)]
Merge branch 'master' into formBuilder

6 years agoClear the option cache on core upgrade completion
Alexander Ebert [Thu, 11 Jan 2018 13:18:01 +0000 (14:18 +0100)]
Clear the option cache on core upgrade completion

6 years agoChanged execution order to avoid conflicts
Alexander Ebert [Thu, 11 Jan 2018 13:13:17 +0000 (14:13 +0100)]
Changed execution order to avoid conflicts

6 years agoFlush style cache on core upgrade completion
Alexander Ebert [Thu, 11 Jan 2018 13:10:43 +0000 (14:10 +0100)]
Flush style cache on core upgrade completion

6 years agoFixed style pip
Alexander Ebert [Thu, 11 Jan 2018 13:05:44 +0000 (14:05 +0100)]
Fixed style pip

6 years agoFixed pip execution order
Alexander Ebert [Thu, 11 Jan 2018 13:02:42 +0000 (14:02 +0100)]
Fixed pip execution order

6 years agoFixed update query
Alexander Ebert [Thu, 11 Jan 2018 13:00:37 +0000 (14:00 +0100)]
Fixed update query

6 years agoSet the default value for the search engine visibility for non-system pages.
Alexander Ebert [Wed, 10 Jan 2018 17:13:18 +0000 (18:13 +0100)]
Set the default value for the search engine visibility for non-system pages.

Closes #2482

This sets the default value, the `page.xml` runs shortly afterwards to
set the actual values, making this merely a safe-guard for
backwards-compatibility.

6 years agoExperimental upgrade path 3.0.11+ => 3.1
Alexander Ebert [Wed, 10 Jan 2018 11:12:17 +0000 (12:12 +0100)]
Experimental upgrade path 3.0.11+ => 3.1

6 years agoMerge pull request #2512 from jens1o/patch-4
Alexander Ebert [Wed, 10 Jan 2018 15:18:10 +0000 (16:18 +0100)]
Merge pull request #2512 from jens1o/patch-4

use no cookie version of youtube in YouTubeBBCodeMediaProvider

6 years agoParse smiley codes only once during the request lifetime
Alexander Ebert [Tue, 9 Jan 2018 10:30:09 +0000 (11:30 +0100)]
Parse smiley codes only once during the request lifetime

The parsed smilies are already semi-immutable during the request
lifetime and especially the ordering by lenght via `mb_strlen()` is an
expensive operation. Using a static runtime cache improves the
performance when rebuilding messages in bulk, reducing the time by up to
40%.

We should backport this to 3.0 once it has proven to be stable,
especially changing the `$smilies` property into a static variable can
break derived classes.

6 years agoDrop-downs in comment responses are sometimes cut off
Alexander Ebert [Tue, 9 Jan 2018 10:25:45 +0000 (11:25 +0100)]
Drop-downs in comment responses are sometimes cut off

6 years agoPreparing internal release 3.1.0 RC 1
Alexander Ebert [Sun, 7 Jan 2018 19:54:07 +0000 (20:54 +0100)]
Preparing internal release 3.1.0 RC 1

6 years agoUpdating minified JavaScript files
woltlab.com [Sun, 7 Jan 2018 18:11:13 +0000 (19:11 +0100)]
Updating minified JavaScript files

6 years agouse no cookie version of youtube in YouTubeBBCodeMediaProvider
Jens Hausdorf [Sun, 7 Jan 2018 12:18:38 +0000 (13:18 +0100)]
use no cookie version of youtube in YouTubeBBCodeMediaProvider

6 years agoMerge pull request #2511 from jens1o/patch-4
Alexander Ebert [Sat, 6 Jan 2018 09:45:18 +0000 (10:45 +0100)]
Merge pull request #2511 from jens1o/patch-4

code cleanup in user registration

6 years agocode cleanup in user registration
Jens Hausdorf [Fri, 5 Jan 2018 18:30:49 +0000 (19:30 +0100)]
code cleanup in user registration

6 years agoHide breadcrumbs that do not expose a visible label
Alexander Ebert [Fri, 5 Jan 2018 15:43:03 +0000 (16:43 +0100)]
Hide breadcrumbs that do not expose a visible label

6 years agoMerge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Fri, 5 Jan 2018 13:48:09 +0000 (14:48 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'

6 years agoWork-around for backspacing into a list in Firefox
Alexander Ebert [Thu, 4 Jan 2018 18:58:01 +0000 (19:58 +0100)]
Work-around for backspacing into a list in Firefox

6 years agoRemove bogus `<br>` when outdenting a list in Firefox
Alexander Ebert [Thu, 4 Jan 2018 16:40:02 +0000 (17:40 +0100)]
Remove bogus `<br>` when outdenting a list in Firefox

6 years agoBackspacing multiple paragraphs didn't trigger a code sync
Alexander Ebert [Thu, 4 Jan 2018 13:36:45 +0000 (14:36 +0100)]
Backspacing multiple paragraphs didn't trigger a code sync

6 years agoPrevent outdated sitemap index file
Joshua Rüsweg [Wed, 3 Jan 2018 16:32:14 +0000 (17:32 +0100)]
Prevent outdated sitemap index file

If we have no active sitemap objects, the sitemap index file were not updated and has an outdated value.

6 years agoAdd missing throws tag
Joshua Rüsweg [Wed, 3 Jan 2018 15:26:07 +0000 (16:26 +0100)]
Add missing throws tag

6 years agoAdd trophy conditions for user bulk processing
Joshua Rüsweg [Wed, 3 Jan 2018 15:02:44 +0000 (16:02 +0100)]
Add trophy conditions for user bulk processing

6 years agoFix conditionobject for trophyPoints condition
Joshua Rüsweg [Wed, 3 Jan 2018 15:00:10 +0000 (16:00 +0100)]
Fix conditionobject for trophyPoints condition

6 years agoMerge branch 'master' into formBuilder
Matthias Schmidt [Wed, 3 Jan 2018 13:17:46 +0000 (14:17 +0100)]
Merge branch 'master' into formBuilder

6 years agoFix import order
Matthias Schmidt [Wed, 3 Jan 2018 13:17:38 +0000 (14:17 +0100)]
Fix import order

See #2509

6 years agoAdd text form field
Matthias Schmidt [Wed, 3 Jan 2018 12:13:20 +0000 (13:13 +0100)]
Add text form field

See #2509

6 years agoAdd `I18nHandler::unregister()`
Matthias Schmidt [Wed, 3 Jan 2018 12:12:35 +0000 (13:12 +0100)]
Add `I18nHandler::unregister()`

See #2509

6 years agoAdd `TI18nFormField`
Matthias Schmidt [Wed, 3 Jan 2018 12:12:02 +0000 (13:12 +0100)]
Add `TI18nFormField`

See #2509

6 years agoAdd more methods to `II18nFormField`
Matthias Schmidt [Wed, 3 Jan 2018 12:11:35 +0000 (13:11 +0100)]
Add more methods to `II18nFormField`

See #2509

6 years agoRebuild test form after retrieving data
Matthias Schmidt [Wed, 3 Jan 2018 11:54:57 +0000 (12:54 +0100)]
Rebuild test form after retrieving data

See #2509

6 years agoAdd `IFormDocument::build()` and `IFormNode::populate()`
Matthias Schmidt [Wed, 3 Jan 2018 11:51:17 +0000 (12:51 +0100)]
Add `IFormDocument::build()` and `IFormNode::populate()`

See #2509

6 years agoDisallow overwriting node ids
Matthias Schmidt [Wed, 3 Jan 2018 08:54:59 +0000 (09:54 +0100)]
Disallow overwriting node ids

6 years agoRenamed "Profilbild" -> "Titelbild"
Alexander Ebert [Tue, 2 Jan 2018 15:30:47 +0000 (16:30 +0100)]
Renamed "Profilbild" -> "Titelbild"

6 years agoMerge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Tue, 2 Jan 2018 15:07:58 +0000 (16:07 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'

# Conflicts:
# wcfsetup/install/files/lib/system/api/composer.json
# wcfsetup/install/files/lib/system/api/composer.lock

6 years agoURLs without a seperate label could end up being empty
Alexander Ebert [Tue, 2 Jan 2018 14:48:16 +0000 (15:48 +0100)]
URLs without a seperate label could end up being empty

6 years agoManual backport of a future HTMLPurifier change for PHP 7.2
Alexander Ebert [Tue, 2 Jan 2018 14:29:55 +0000 (15:29 +0100)]
Manual backport of a future HTMLPurifier change for PHP 7.2

6 years agoIDN support in HTMLPurifier using the PEAR Net_IDNA2 module
Alexander Ebert [Tue, 2 Jan 2018 13:42:32 +0000 (14:42 +0100)]
IDN support in HTMLPurifier using the PEAR Net_IDNA2 module

6 years agoWork-around libmagic failing for 1-byte files
Alexander Ebert [Tue, 2 Jan 2018 12:59:31 +0000 (13:59 +0100)]
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.

6 years agoBetter fallback for language mismatches during page import
Alexander Ebert [Tue, 2 Jan 2018 12:06:25 +0000 (13:06 +0100)]
Better fallback for language mismatches during page import

6 years agoRemoved debug code
Alexander Ebert [Tue, 2 Jan 2018 12:05:50 +0000 (13:05 +0100)]
Removed debug code

6 years agoMerge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Tue, 2 Jan 2018 11:58:14 +0000 (12:58 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'

# Conflicts:
# wcfsetup/install/files/acp/templates/pageList.tpl

6 years agoWork-around for orphaned pages
Alexander Ebert [Tue, 2 Jan 2018 11:49:01 +0000 (12:49 +0100)]
Work-around for orphaned pages

6 years agoMerge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Tue, 2 Jan 2018 11:12:45 +0000 (12:12 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'

6 years agoExecute up to 5 jobs per background queue invocation
Alexander Ebert [Tue, 2 Jan 2018 11:12:24 +0000 (12:12 +0100)]
Execute up to 5 jobs per background queue invocation

6 years agoMerge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Mon, 1 Jan 2018 16:11:10 +0000 (17:11 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'

6 years agoScroll to dialog top on page change
Alexander Ebert [Mon, 1 Jan 2018 15:02:34 +0000 (16:02 +0100)]
Scroll to dialog top on page change

6 years agoWork-around for an issue with dispatchEvent in Firefox
Alexander Ebert [Mon, 1 Jan 2018 10:14:09 +0000 (11:14 +0100)]
Work-around for an issue with dispatchEvent in Firefox

6 years agoPrint post data on form builder test page
Matthias Schmidt [Mon, 1 Jan 2018 08:38:10 +0000 (09:38 +0100)]
Print post data on form builder test page

See #2509

6 years agoAdd `IFormNode::getHtmlVariables()`
Matthias Schmidt [Mon, 1 Jan 2018 08:37:37 +0000 (09:37 +0100)]
Add `IFormNode::getHtmlVariables()`

See #2509

6 years agoFix `TFormParentNode::insertBefore()`
Matthias Schmidt [Mon, 1 Jan 2018 08:22:56 +0000 (09:22 +0100)]
Fix `TFormParentNode::insertBefore()`

See #2509

6 years agoMerge branch 'master' into formBuilder
Matthias Schmidt [Sun, 31 Dec 2017 17:56:06 +0000 (18:56 +0100)]
Merge branch 'master' into formBuilder

6 years agoAdd integer form field
Matthias Schmidt [Sun, 31 Dec 2017 17:54:48 +0000 (18:54 +0100)]
Add integer form field

See #2509

6 years agoFix import order
Matthias Schmidt [Sun, 31 Dec 2017 17:54:09 +0000 (18:54 +0100)]
Fix import order

See #2509

6 years agoAdd interface and trait for form fields supporting suffixes
Matthias Schmidt [Sun, 31 Dec 2017 17:46:45 +0000 (18:46 +0100)]
Add interface and trait for form fields supporting suffixes

See #2509

6 years agoFix parameter documentation in `IPlaceholderFormField`
Matthias Schmidt [Sun, 31 Dec 2017 17:39:57 +0000 (18:39 +0100)]
Fix parameter documentation in `IPlaceholderFormField`

See #2509

6 years agoFix code style issues
Matthias Schmidt [Sun, 31 Dec 2017 17:37:15 +0000 (18:37 +0100)]
Fix code style issues

See #2509

6 years agoAdd interfaces and traits for form fields supporting minimum/maximum values
Matthias Schmidt [Sun, 31 Dec 2017 17:14:34 +0000 (18:14 +0100)]
Add interfaces and traits for form fields supporting minimum/maximum values

See #2509

6 years agoFix typo in method descriptions
Matthias Schmidt [Sun, 31 Dec 2017 17:01:39 +0000 (18:01 +0100)]
Fix typo in method descriptions

See #2509

6 years agoUpdate `IFormNode::validate()`
Matthias Schmidt [Sun, 31 Dec 2017 16:58:58 +0000 (17:58 +0100)]
Update `IFormNode::validate()`

See #2509

6 years agoFix typo in CustomFormFieldDataProcessor comment
Matthias Schmidt [Sun, 31 Dec 2017 16:46:00 +0000 (17:46 +0100)]
Fix typo in CustomFormFieldDataProcessor comment

See #2509

6 years agoAdd custom form field data processor
Matthias Schmidt [Sun, 31 Dec 2017 16:44:43 +0000 (17:44 +0100)]
Add custom form field data processor

See #2509

6 years agoEnsure form field maximum and minimum length do not contradict each other
Matthias Schmidt [Sun, 31 Dec 2017 16:37:37 +0000 (17:37 +0100)]
Ensure form field maximum and minimum length do not contradict each other

See #2509

6 years agoAdd interface and trait for form fields supporting minimum lengths
Matthias Schmidt [Sun, 31 Dec 2017 16:30:23 +0000 (17:30 +0100)]
Add interface and trait for form fields supporting minimum lengths

See #2509

6 years agoRemove obsolete code from `TFormParentNode::hasValidationErrors()`
Matthias Schmidt [Sun, 31 Dec 2017 16:24:33 +0000 (17:24 +0100)]
Remove obsolete code from `TFormParentNode::hasValidationErrors()`

See #2509

6 years agoAdd interface and trait for form fields supporting maximum lengths
Matthias Schmidt [Sun, 31 Dec 2017 16:23:59 +0000 (17:23 +0100)]
Add interface and trait for form fields supporting maximum lengths

See #2509

6 years agoAdd interface and trait for form fields supporting placeholders
Matthias Schmidt [Sun, 31 Dec 2017 16:05:45 +0000 (17:05 +0100)]
Add interface and trait for form fields supporting placeholders

See #2509

6 years agoFix typo in parameter description
Matthias Schmidt [Sun, 31 Dec 2017 15:58:36 +0000 (16:58 +0100)]
Fix typo in parameter description

See #2509

6 years agoFix FormFieldValidator callback validation in PHP 5
Matthias Schmidt [Sun, 31 Dec 2017 13:54:29 +0000 (14:54 +0100)]
Fix FormFieldValidator callback validation in PHP 5

6 years agoAdd testing form for new form builder API
Matthias Schmidt [Sun, 31 Dec 2017 13:38:21 +0000 (14:38 +0100)]
Add testing form for new form builder API

6 years agoFix BooleanFormField::readValue()
Matthias Schmidt [Sun, 31 Dec 2017 13:35:58 +0000 (14:35 +0100)]
Fix BooleanFormField::readValue()

6 years agoFix iterating over form parent nodes
Matthias Schmidt [Sun, 31 Dec 2017 13:28:34 +0000 (14:28 +0100)]
Fix iterating over form parent nodes

See #2509

6 years agoAdd missing newlines at end of file
Matthias Schmidt [Sun, 31 Dec 2017 13:14:00 +0000 (14:14 +0100)]
Add missing newlines at end of file

6 years agoAdd boolean form field
Matthias Schmidt [Sun, 31 Dec 2017 13:03:41 +0000 (14:03 +0100)]
Add boolean form field

See #2509

6 years agoAdd helper templates for form fields
Matthias Schmidt [Sun, 31 Dec 2017 13:01:11 +0000 (14:01 +0100)]
Add helper templates for form fields

See #2509

6 years agoAdd abstract form field implementation
Matthias Schmidt [Sun, 31 Dec 2017 13:00:53 +0000 (14:00 +0100)]
Add abstract form field implementation

See #2509

6 years agoAdd form document implementation
Matthias Schmidt [Sun, 31 Dec 2017 13:00:34 +0000 (14:00 +0100)]
Add form document implementation

See #2509

6 years agoAdd form data handler implementation
Matthias Schmidt [Sun, 31 Dec 2017 13:00:16 +0000 (14:00 +0100)]
Add form data handler implementation

See #2509

6 years agoAdd form field validator implementation
Matthias Schmidt [Sun, 31 Dec 2017 13:00:00 +0000 (14:00 +0100)]
Add form field validator implementation

See #2509

6 years agoAdd form field validation error implementation
Matthias Schmidt [Sun, 31 Dec 2017 12:59:39 +0000 (13:59 +0100)]
Add form field validation error implementation

See #2509

6 years agoAdd default form field data processor
Matthias Schmidt [Sun, 31 Dec 2017 12:59:20 +0000 (13:59 +0100)]
Add default form field data processor

See #2509

6 years agoAdd default and tab form container implementations
Matthias Schmidt [Sun, 31 Dec 2017 12:58:51 +0000 (13:58 +0100)]
Add default and tab form container implementations

See #2509