Matthias Schmidt [Sat, 13 Jan 2018 17:37:17 +0000 (18:37 +0100)]
Add concept of form node availability for form builder
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 17:35:32 +0000 (18:35 +0100)]
Fix JavaScript variable name
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 17:32:13 +0000 (18:32 +0100)]
Disable encoding for single selection option
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 17:03:49 +0000 (18:03 +0100)]
Fix typos in parameter documentation
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 16:58:46 +0000 (17:58 +0100)]
Fix form field dependency-related issues
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 16:24:50 +0000 (17:24 +0100)]
Add language item support of selection form field options
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 16:18:13 +0000 (17:18 +0100)]
Throw missing exceptions for form field dependencies
See #2509
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
Matthias Schmidt [Sat, 13 Jan 2018 09:53:32 +0000 (10:53 +0100)]
Remove debug message and fix comment
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 07:17:28 +0000 (08:17 +0100)]
Merge branch 'master' into formBuilder
Matthias Schmidt [Sat, 13 Jan 2018 07:16:06 +0000 (08:16 +0100)]
Remove superflous semicolon in `DefaultFormFieldDataProcessor::getData()`
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 07:15:40 +0000 (08:15 +0100)]
Add missing documentation for `DefaultFormFieldDataProcessor::getData()`
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 07:05:22 +0000 (08:05 +0100)]
Add form field dependency implementation (WIP)
See #2509
Matthias Schmidt [Sat, 13 Jan 2018 06:48:13 +0000 (07:48 +0100)]
Fix non-i18n text fields
See #2509
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
Matthias Schmidt [Thu, 11 Jan 2018 17:39:59 +0000 (18:39 +0100)]
Fix import order
See #2509
Matthias Schmidt [Thu, 11 Jan 2018 17:27:32 +0000 (18:27 +0100)]
Add single selection form field
See #2509
Matthias Schmidt [Thu, 11 Jan 2018 16:25:07 +0000 (17:25 +0100)]
Add `formError` CSS class for erroneous fields
See #2509
Matthias Schmidt [Thu, 11 Jan 2018 16:02:48 +0000 (17:02 +0100)]
Merge branch 'master' into formBuilder
Alexander Ebert [Thu, 11 Jan 2018 13:18:01 +0000 (14:18 +0100)]
Clear the option cache on core upgrade completion
Alexander Ebert [Thu, 11 Jan 2018 13:13:17 +0000 (14:13 +0100)]
Changed execution order to avoid conflicts
Alexander Ebert [Thu, 11 Jan 2018 13:10:43 +0000 (14:10 +0100)]
Flush style cache on core upgrade completion
Alexander Ebert [Thu, 11 Jan 2018 13:05:44 +0000 (14:05 +0100)]
Fixed style pip
Alexander Ebert [Thu, 11 Jan 2018 13:02:42 +0000 (14:02 +0100)]
Fixed pip execution order
Alexander Ebert [Thu, 11 Jan 2018 13:00:37 +0000 (14:00 +0100)]
Fixed update query
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.
Alexander Ebert [Wed, 10 Jan 2018 11:12:17 +0000 (12:12 +0100)]
Experimental upgrade path 3.0.11+ => 3.1
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
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.
Alexander Ebert [Tue, 9 Jan 2018 10:25:45 +0000 (11:25 +0100)]
Drop-downs in comment responses are sometimes cut off
Alexander Ebert [Sun, 7 Jan 2018 19:54:07 +0000 (20:54 +0100)]
Preparing internal release 3.1.0 RC 1
woltlab.com [Sun, 7 Jan 2018 18:11:13 +0000 (19:11 +0100)]
Updating minified JavaScript files
Jens Hausdorf [Sun, 7 Jan 2018 12:18:38 +0000 (13:18 +0100)]
use no cookie version of youtube in YouTubeBBCodeMediaProvider
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
Jens Hausdorf [Fri, 5 Jan 2018 18:30:49 +0000 (19:30 +0100)]
code cleanup in user registration
Alexander Ebert [Fri, 5 Jan 2018 15:43:03 +0000 (16:43 +0100)]
Hide breadcrumbs that do not expose a visible label
Alexander Ebert [Fri, 5 Jan 2018 13:48:09 +0000 (14:48 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Thu, 4 Jan 2018 18:58:01 +0000 (19:58 +0100)]
Work-around for backspacing into 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
Alexander Ebert [Thu, 4 Jan 2018 13:36:45 +0000 (14:36 +0100)]
Backspacing multiple paragraphs didn't trigger a code sync
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.
Joshua Rüsweg [Wed, 3 Jan 2018 15:26:07 +0000 (16:26 +0100)]
Add missing throws tag
Joshua Rüsweg [Wed, 3 Jan 2018 15:02:44 +0000 (16:02 +0100)]
Add trophy conditions for user bulk processing
Joshua Rüsweg [Wed, 3 Jan 2018 15:00:10 +0000 (16:00 +0100)]
Fix conditionobject for trophyPoints condition
Matthias Schmidt [Wed, 3 Jan 2018 13:17:46 +0000 (14:17 +0100)]
Merge branch 'master' into formBuilder
Matthias Schmidt [Wed, 3 Jan 2018 13:17:38 +0000 (14:17 +0100)]
Fix import order
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 12:13:20 +0000 (13:13 +0100)]
Add text form field
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 12:12:35 +0000 (13:12 +0100)]
Add `I18nHandler::unregister()`
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 12:12:02 +0000 (13:12 +0100)]
Add `TI18nFormField`
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 12:11:35 +0000 (13:11 +0100)]
Add more methods to `II18nFormField`
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 11:54:57 +0000 (12:54 +0100)]
Rebuild test form after retrieving data
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 11:51:17 +0000 (12:51 +0100)]
Add `IFormDocument::build()` and `IFormNode::populate()`
See #2509
Matthias Schmidt [Wed, 3 Jan 2018 08:54:59 +0000 (09:54 +0100)]
Disallow overwriting node ids
Alexander Ebert [Tue, 2 Jan 2018 15:30:47 +0000 (16:30 +0100)]
Renamed "Profilbild" -> "Titelbild"
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
Alexander Ebert [Tue, 2 Jan 2018 14:48:16 +0000 (15:48 +0100)]
URLs without a seperate label could end up being empty
Alexander Ebert [Tue, 2 Jan 2018 14:29:55 +0000 (15:29 +0100)]
Manual backport of a future HTMLPurifier change for PHP 7.2
Alexander Ebert [Tue, 2 Jan 2018 13:42:32 +0000 (14:42 +0100)]
IDN support in HTMLPurifier using the PEAR Net_IDNA2 module
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.
Alexander Ebert [Tue, 2 Jan 2018 12:06:25 +0000 (13:06 +0100)]
Better fallback for language mismatches during page import
Alexander Ebert [Tue, 2 Jan 2018 12:05:50 +0000 (13:05 +0100)]
Removed debug code
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
Alexander Ebert [Tue, 2 Jan 2018 11:49:01 +0000 (12:49 +0100)]
Work-around for orphaned pages
Alexander Ebert [Tue, 2 Jan 2018 11:12:45 +0000 (12:12 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Tue, 2 Jan 2018 11:12:24 +0000 (12:12 +0100)]
Execute up to 5 jobs per background queue invocation
Alexander Ebert [Mon, 1 Jan 2018 16:11:10 +0000 (17:11 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/3.0'
Alexander Ebert [Mon, 1 Jan 2018 15:02:34 +0000 (16:02 +0100)]
Scroll to dialog top on page change
Alexander Ebert [Mon, 1 Jan 2018 10:14:09 +0000 (11:14 +0100)]
Work-around for an issue with dispatchEvent in Firefox
Matthias Schmidt [Mon, 1 Jan 2018 08:38:10 +0000 (09:38 +0100)]
Print post data on form builder test page
See #2509
Matthias Schmidt [Mon, 1 Jan 2018 08:37:37 +0000 (09:37 +0100)]
Add `IFormNode::getHtmlVariables()`
See #2509
Matthias Schmidt [Mon, 1 Jan 2018 08:22:56 +0000 (09:22 +0100)]
Fix `TFormParentNode::insertBefore()`
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 17:56:06 +0000 (18:56 +0100)]
Merge branch 'master' into formBuilder
Matthias Schmidt [Sun, 31 Dec 2017 17:54:48 +0000 (18:54 +0100)]
Add integer form field
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 17:54:09 +0000 (18:54 +0100)]
Fix import order
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 17:46:45 +0000 (18:46 +0100)]
Add interface and trait for form fields supporting suffixes
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 17:39:57 +0000 (18:39 +0100)]
Fix parameter documentation in `IPlaceholderFormField`
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 17:37:15 +0000 (18:37 +0100)]
Fix code style issues
See #2509
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
Matthias Schmidt [Sun, 31 Dec 2017 17:01:39 +0000 (18:01 +0100)]
Fix typo in method descriptions
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 16:58:58 +0000 (17:58 +0100)]
Update `IFormNode::validate()`
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 16:46:00 +0000 (17:46 +0100)]
Fix typo in CustomFormFieldDataProcessor comment
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 16:44:43 +0000 (17:44 +0100)]
Add custom form field data processor
See #2509
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
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
Matthias Schmidt [Sun, 31 Dec 2017 16:24:33 +0000 (17:24 +0100)]
Remove obsolete code from `TFormParentNode::hasValidationErrors()`
See #2509
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
Matthias Schmidt [Sun, 31 Dec 2017 16:05:45 +0000 (17:05 +0100)]
Add interface and trait for form fields supporting placeholders
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 15:58:36 +0000 (16:58 +0100)]
Fix typo in parameter description
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:54:29 +0000 (14:54 +0100)]
Fix FormFieldValidator callback validation in PHP 5
Matthias Schmidt [Sun, 31 Dec 2017 13:38:21 +0000 (14:38 +0100)]
Add testing form for new form builder API
Matthias Schmidt [Sun, 31 Dec 2017 13:35:58 +0000 (14:35 +0100)]
Fix BooleanFormField::readValue()
Matthias Schmidt [Sun, 31 Dec 2017 13:28:34 +0000 (14:28 +0100)]
Fix iterating over form parent nodes
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:14:00 +0000 (14:14 +0100)]
Add missing newlines at end of file
Matthias Schmidt [Sun, 31 Dec 2017 13:03:41 +0000 (14:03 +0100)]
Add boolean form field
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:01:11 +0000 (14:01 +0100)]
Add helper templates for form fields
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:00:53 +0000 (14:00 +0100)]
Add abstract form field implementation
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:00:34 +0000 (14:00 +0100)]
Add form document implementation
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:00:16 +0000 (14:00 +0100)]
Add form data handler implementation
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 13:00:00 +0000 (14:00 +0100)]
Add form field validator implementation
See #2509
Matthias Schmidt [Sun, 31 Dec 2017 12:59:39 +0000 (13:59 +0100)]
Add form field validation error implementation
See #2509