GitHub/WoltLab/WCF.git
5 years agoMerge branch 'master' into next
Tim Düsterhus [Tue, 26 Feb 2019 15:06:24 +0000 (16:06 +0100)]
Merge branch 'master' into next

5 years agoFix redirect in Message/Reply#_insertMessage if the new URL is the current
Tim Düsterhus [Tue, 26 Feb 2019 15:04:02 +0000 (16:04 +0100)]
Fix redirect in Message/Reply#_insertMessage if the new URL is the current

This might happen if the AJAX request intentionally returns the URL to
an existing content (e.g. to prevent duplicate content or when performing
automated merges).

5 years agoFix undefined variable in `Devtools\Project\Instructions.js` (#2855)
Fabii547 [Mon, 25 Feb 2019 17:52:18 +0000 (18:52 +0100)]
Fix undefined variable in `Devtools\Project\Instructions.js` (#2855)

5 years agoAdd more places where automatic user group assignment is checked
Matthias Schmidt [Mon, 25 Feb 2019 17:49:49 +0000 (18:49 +0100)]
Add more places where automatic user group assignment is checked

See #2809

5 years agoChange when form builder tree structured is validated
Matthias Schmidt [Sun, 24 Feb 2019 16:58:26 +0000 (17:58 +0100)]
Change when form builder tree structured is validated

Instead of directly validating children when they are added, they are now validated when the form is built. At this point in time, the complete form tree is established allowing for a greater varity of validations.

See #2509

5 years agoAdd flag to signal that form interacts via AJAX requests
Matthias Schmidt [Sun, 24 Feb 2019 16:14:21 +0000 (17:14 +0100)]
Add flag to signal that form interacts via AJAX requests

See #2509

5 years agoSuppress warning about undefined field
Matthias Schmidt [Sun, 24 Feb 2019 16:04:43 +0000 (17:04 +0100)]
Suppress warning about undefined field

See #2509

5 years agoRemove obsolete imports
Matthias Schmidt [Sun, 24 Feb 2019 16:04:16 +0000 (17:04 +0100)]
Remove obsolete imports

See #2509

5 years agoMerge branch 'next' of github.com:WoltLab/WCF into next
Matthias Schmidt [Sun, 24 Feb 2019 15:58:25 +0000 (16:58 +0100)]
Merge branch 'next' of github.com:WoltLab/WCF into next

5 years agoMerge branch '3.0'
Tim Düsterhus [Sun, 24 Feb 2019 15:58:10 +0000 (16:58 +0100)]
Merge branch '3.0'

5 years agoSplit tags at comma in TagEngine::addObjectTags()
Tim Düsterhus [Sun, 24 Feb 2019 15:47:14 +0000 (16:47 +0100)]
Split tags at comma in TagEngine::addObjectTags()

On Android detecting key codes is unreliable, which causes the
tag[] field to contain values with a comma.

This adds the missing server side “validation” that the tags actually
cannot contain commas by splitting them.

5 years agoRemove leading double underscores from form builder property names
Matthias Schmidt [Sun, 24 Feb 2019 15:56:47 +0000 (16:56 +0100)]
Remove leading double underscores from form builder property names

See #2509

5 years agoMerge branch 'next' of https://github.com/WoltLab/WCF into next
Marcel Werk [Sun, 24 Feb 2019 15:52:26 +0000 (16:52 +0100)]
Merge branch 'next' of https://github.com/WoltLab/WCF into next

5 years agoSimplify updating of the activity points per event
Marcel Werk [Sun, 24 Feb 2019 15:52:03 +0000 (16:52 +0100)]
Simplify updating of the activity points per event

Closes #2854

5 years agoMerge branch 'next' of github.com:WoltLab/WCF into next
Matthias Schmidt [Sun, 24 Feb 2019 15:31:28 +0000 (16:31 +0100)]
Merge branch 'next' of github.com:WoltLab/WCF into next

5 years agoFix double semicolon
Matthias Schmidt [Sun, 24 Feb 2019 15:31:18 +0000 (16:31 +0100)]
Fix double semicolon

See 28d9ce543741bc4aca3f3e52a5c61cee28db0b46

5 years agoPrevent changing the field type of profile fields
Marcel Werk [Sun, 24 Feb 2019 15:27:31 +0000 (16:27 +0100)]
Prevent changing the field type of profile fields

Closes #2853

5 years agoAdd option to remove tab menu container's link anchors
Matthias Schmidt [Sun, 24 Feb 2019 13:41:22 +0000 (14:41 +0100)]
Add option to remove tab menu container's link anchors

See #2509
See #2852

5 years agoOnly add form field label element if label exists
Matthias Schmidt [Sun, 24 Feb 2019 13:38:25 +0000 (14:38 +0100)]
Only add form field label element if label exists

See #2509

5 years agoFix separator of multiple form CSS classes
Matthias Schmidt [Sun, 24 Feb 2019 13:37:42 +0000 (14:37 +0100)]
Fix separator of multiple form CSS classes

See #2509

5 years agoSet form container classes via PHP API
Matthias Schmidt [Sun, 24 Feb 2019 13:36:18 +0000 (14:36 +0100)]
Set form container classes via PHP API

This way, the default classes can also be removed again

See #2509

5 years agoImprove exception message
Matthias Schmidt [Sun, 24 Feb 2019 13:34:15 +0000 (14:34 +0100)]
Improve exception message

See #2509

5 years agoAdd loadValuesFromObject support for form containers
Matthias Schmidt [Sun, 24 Feb 2019 13:31:08 +0000 (14:31 +0100)]
Add loadValuesFromObject support for form containers

See #2509

5 years agoAdd proper nullable support for date form field
Matthias Schmidt [Sun, 24 Feb 2019 13:29:43 +0000 (14:29 +0100)]
Add proper nullable support for date form field

See #2509

5 years agoAdd default id to tag form field
Matthias Schmidt [Sun, 24 Feb 2019 13:29:23 +0000 (14:29 +0100)]
Add default id to tag form field

See #2509

5 years agoAdd default id and default label to username form field
Matthias Schmidt [Sun, 24 Feb 2019 13:29:07 +0000 (14:29 +0100)]
Add default id and default label to username form field

See #2509

5 years agoAdd PollManager method to create poll based on external data
Matthias Schmidt [Sun, 24 Feb 2019 13:28:36 +0000 (14:28 +0100)]
Add PollManager method to create poll based on external data

See #2852

5 years agoAdd getters (and one setter) to AttachmentHandler class
Matthias Schmidt [Sun, 24 Feb 2019 13:26:55 +0000 (14:26 +0100)]
Add getters (and one setter) to AttachmentHandler class

See  #2852

5 years agoUse LinkHandler::getControllerLink() in AbstractFormBuilderForm
Matthias Schmidt [Sun, 24 Feb 2019 13:25:51 +0000 (14:25 +0100)]
Use LinkHandler::getControllerLink() in AbstractFormBuilderForm

See #2509

5 years agoSmall phrase improvements
Marcel Werk [Fri, 22 Feb 2019 16:45:46 +0000 (17:45 +0100)]
Small phrase improvements

5 years agoMerge branch 'master' into next
Tim Düsterhus [Fri, 22 Feb 2019 00:16:02 +0000 (01:16 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Tim Düsterhus [Fri, 22 Feb 2019 00:15:43 +0000 (01:15 +0100)]
Merge branch '3.0'

5 years agoMerge branch 'master' into next
Tim Düsterhus [Fri, 22 Feb 2019 00:15:29 +0000 (01:15 +0100)]
Merge branch 'master' into next

5 years agoMerge remote-tracking branch 'origin/3.0'
Tim Düsterhus [Fri, 22 Feb 2019 00:14:01 +0000 (01:14 +0100)]
Merge remote-tracking branch 'origin/3.0'

5 years agoVerify that queries are allowed in RedisCacheSource::__construct()
Tim Düsterhus [Thu, 21 Feb 2019 23:59:36 +0000 (00:59 +0100)]
Verify that queries are allowed in RedisCacheSource::__construct()

Missing authentication only becomes visible when sending the first
real query, but the safety fallback to disk cache only secures the
constructor. Attempt to `GET cache:_flush` to make sure to receive
the `NOAUTH Authentication required` in the constructor instead of
bricking the page.

5 years agoInject additional fields to FormBuilderForm::save()
Joshua Rüsweg [Thu, 21 Feb 2019 13:50:37 +0000 (14:50 +0100)]
Inject additional fields to FormBuilderForm::save()

5 years agoMerge branch 'master' into next
Alexander Ebert [Sat, 16 Feb 2019 18:02:06 +0000 (19:02 +0100)]
Merge branch 'master' into next

5 years agoAdd missing use statement
Matthias Schmidt [Sat, 16 Feb 2019 11:21:56 +0000 (12:21 +0100)]
Add missing use statement

See 40bed660f5daa1addf76ff41975fcead1f14073f

5 years agoUpdate copyright
Matthias Schmidt [Fri, 15 Feb 2019 16:21:27 +0000 (17:21 +0100)]
Update copyright

5 years agoAdd proper dl support for innerInfo elements
Matthias Schmidt [Fri, 15 Feb 2019 13:43:05 +0000 (14:43 +0100)]
Add proper dl support for innerInfo elements

See #2601

5 years agoPrevent page jump when opening icon dialog for icon form field
Matthias Schmidt [Fri, 15 Feb 2019 08:29:47 +0000 (09:29 +0100)]
Prevent page jump when opening icon dialog for icon form field

See #2545

5 years agoAdd LabelHandler::replaceLabels()
Matthias Schmidt [Fri, 15 Feb 2019 08:06:32 +0000 (09:06 +0100)]
Add LabelHandler::replaceLabels()

5 years agoUpdate support from 2.1.24 pl 2
Alexander Ebert [Thu, 14 Feb 2019 20:21:53 +0000 (21:21 +0100)]
Update support from 2.1.24 pl 2

5 years agoPreparing the release 3.1.8 pl 1 3.1.8_pl_1
Alexander Ebert [Thu, 14 Feb 2019 19:07:08 +0000 (20:07 +0100)]
Preparing the release 3.1.8 pl 1

5 years agoUpdating minified JavaScript files
woltlab.com [Thu, 14 Feb 2019 18:56:36 +0000 (18:56 +0000)]
Updating minified JavaScript files

5 years agoMerge branch '3.0'
Alexander Ebert [Thu, 14 Feb 2019 18:53:59 +0000 (19:53 +0100)]
Merge branch '3.0'

5 years agoFix bug in SVG detection in ImageUtil::isImage 3.0.20_pl_1
Joshua Rüsweg [Thu, 14 Feb 2019 17:48:24 +0000 (18:48 +0100)]
Fix bug in SVG detection in ImageUtil::isImage

5 years agoUpdating minified JavaScript files
woltlab.com [Thu, 14 Feb 2019 17:41:57 +0000 (17:41 +0000)]
Updating minified JavaScript files

5 years agoMerge branch '3.0'
Alexander Ebert [Thu, 14 Feb 2019 17:37:35 +0000 (18:37 +0100)]
Merge branch '3.0'

5 years agoPreparing the release 3.0.20 pl 1
Alexander Ebert [Thu, 14 Feb 2019 17:33:04 +0000 (18:33 +0100)]
Preparing the release 3.0.20 pl 1

5 years agoMerge branch '2.1' into 3.0
Alexander Ebert [Thu, 14 Feb 2019 17:32:48 +0000 (18:32 +0100)]
Merge branch '2.1' into 3.0

5 years agoPreparing the release 2.1.24 pl 2 2.1.24_pl_2
Alexander Ebert [Thu, 14 Feb 2019 17:11:39 +0000 (18:11 +0100)]
Preparing the release 2.1.24 pl 2

5 years agoFix saving of box and page contents via PIP GUI
Matthias Schmidt [Wed, 13 Feb 2019 17:47:20 +0000 (18:47 +0100)]
Fix saving of box and page contents via PIP GUI

See #2545

5 years agoFix saving non-system box via PIP GUI
Matthias Schmidt [Wed, 13 Feb 2019 17:46:55 +0000 (18:46 +0100)]
Fix saving non-system box via PIP GUI

See #2545

5 years agoFix saving page without parent via PIP GUI
Matthias Schmidt [Wed, 13 Feb 2019 17:41:44 +0000 (18:41 +0100)]
Fix saving page without parent via PIP GUI

See #2545

5 years agoMerge branch 'next' of github.com:WoltLab/WCF into next
Matthias Schmidt [Wed, 13 Feb 2019 17:26:35 +0000 (18:26 +0100)]
Merge branch 'next' of github.com:WoltLab/WCF into next

5 years agoMerge branch 'master' into next
Tim Düsterhus [Wed, 13 Feb 2019 15:26:16 +0000 (16:26 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Tim Düsterhus [Wed, 13 Feb 2019 15:25:25 +0000 (16:25 +0100)]
Merge branch '3.0'

5 years agoMerge branch '2.1' into 3.0
Tim Düsterhus [Wed, 13 Feb 2019 15:24:23 +0000 (16:24 +0100)]
Merge branch '2.1' into 3.0

5 years agoFix connecting to Google account in AccountManagementForm
Tim Düsterhus [Wed, 13 Feb 2019 15:22:51 +0000 (16:22 +0100)]
Fix connecting to Google account in AccountManagementForm

This fixes a regression of fc416885faf258d31e2d02e24dcbaff0c44aa8f7.

5 years agoUpdate Codemirror to version 5.43.0
Tim Düsterhus [Wed, 13 Feb 2019 14:31:24 +0000 (15:31 +0100)]
Update Codemirror to version 5.43.0

Closes #2672

5 years agoAdd DebugFolderEmailTransport
Tim Düsterhus [Tue, 12 Feb 2019 18:41:49 +0000 (19:41 +0100)]
Add DebugFolderEmailTransport

5 years agoAdd missing cache resets when using PIP GUI
Matthias Schmidt [Mon, 11 Feb 2019 17:57:35 +0000 (18:57 +0100)]
Add missing cache resets when using PIP GUI

See #2545

5 years agoMerge pull request #2826 from WoltLab/unified_file_upload
Joshua Rüsweg [Mon, 11 Feb 2019 11:11:26 +0000 (12:11 +0100)]
Merge pull request #2826 from WoltLab/unified_file_upload

WIP: Unified file upload

5 years agoUpdate sql_mode to use with MySQL
Tim Düsterhus [Mon, 11 Feb 2019 11:01:06 +0000 (12:01 +0100)]
Update sql_mode to use with MySQL

Add:
- NO_ZERO_IN_DATE
- ERROR_FOR_DIVISION_BY_ZERO
- NO_ENGINE_SUBSTITUTION

Closes #2827

5 years agoFix background queue repetition logic in JavaScript (#2837)
Tim Düsterhus [Mon, 11 Feb 2019 10:58:01 +0000 (11:58 +0100)]
Fix background queue repetition logic in JavaScript (#2837)

This regressed in 5c319dfd1f75676bc98feadc377e201301e837c5.

5 years agoFix exception order when multiple pages exist
Matthias Schmidt [Sun, 10 Feb 2019 15:24:21 +0000 (16:24 +0100)]
Fix exception order when multiple pages exist

See #2831
See ba3e3b615f5210c280575ed72c0230529f78ae86

5 years agoAdd page filter for ads at global location
Matthias Schmidt [Sat, 9 Feb 2019 14:35:58 +0000 (15:35 +0100)]
Add page filter for ads at global location

Close #2653

5 years agoUse `TDatabaseObjectToggle` more often (#2846)
Fabii547 [Sat, 9 Feb 2019 10:19:21 +0000 (11:19 +0100)]
Use `TDatabaseObjectToggle` more often (#2846)

5 years agoShow latest exceptions first on exception log page
Matthias Schmidt [Sat, 9 Feb 2019 10:06:19 +0000 (11:06 +0100)]
Show latest exceptions first on exception log page

See  #2831

5 years agoFix reloading exception log page losing filter parameters
Matthias Schmidt [Sat, 9 Feb 2019 10:01:56 +0000 (11:01 +0100)]
Fix reloading exception log page losing filter parameters

Close #2830

5 years agoAdd support for container-bound share button url
Matthias Schmidt [Thu, 7 Feb 2019 18:13:24 +0000 (19:13 +0100)]
Add support for container-bound share button url

… to support share buttons for different objects on the same page.

See #2845

5 years agoAdd share button support in message share content dialog
Matthias Schmidt [Thu, 7 Feb 2019 18:11:52 +0000 (19:11 +0100)]
Add share button support in message share content dialog

Close #2845

5 years agoMerge branch 'master' into next
Matthias Schmidt [Thu, 7 Feb 2019 17:32:16 +0000 (18:32 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0' 3.1.8
Matthias Schmidt [Thu, 7 Feb 2019 17:28:59 +0000 (18:28 +0100)]
Merge branch '3.0'

5 years agoFix sorting ads and notices if they span multiple pages
Matthias Schmidt [Thu, 7 Feb 2019 17:25:35 +0000 (18:25 +0100)]
Fix sorting ads and notices if they span multiple pages

5 years agoPreparing the release 3.0.20 3.0.20
Alexander Ebert [Thu, 7 Feb 2019 11:54:06 +0000 (12:54 +0100)]
Preparing the release 3.0.20

5 years agoUpdating minified JavaScript files
woltlab.com [Thu, 7 Feb 2019 11:15:32 +0000 (11:15 +0000)]
Updating minified JavaScript files

5 years agoMerge branch '2.1' into 3.0
Alexander Ebert [Thu, 7 Feb 2019 11:13:36 +0000 (12:13 +0100)]
Merge branch '2.1' into 3.0

5 years agoPreparing the release 2.1.24 pl 1 2.1.24_pl_1
Alexander Ebert [Thu, 7 Feb 2019 11:12:03 +0000 (12:12 +0100)]
Preparing the release 2.1.24 pl 1

5 years agoPreparing the release 3.1.8
Alexander Ebert [Thu, 7 Feb 2019 10:54:03 +0000 (11:54 +0100)]
Preparing the release 3.1.8

5 years agoSimplify loadValueFromObject method
Joshua Rüsweg [Thu, 7 Feb 2019 10:32:02 +0000 (11:32 +0100)]
Simplify loadValueFromObject method
See #2825

5 years agoUpdating minified JavaScript files
woltlab.com [Thu, 7 Feb 2019 10:22:30 +0000 (10:22 +0000)]
Updating minified JavaScript files

5 years agoMerge branch 'master' into next
Joshua Rüsweg [Wed, 6 Feb 2019 12:29:43 +0000 (13:29 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Joshua Rüsweg [Wed, 6 Feb 2019 12:27:26 +0000 (13:27 +0100)]
Merge branch '3.0'

5 years agoAdd smiley image check for 2x images
Joshua Rüsweg [Wed, 6 Feb 2019 12:26:52 +0000 (13:26 +0100)]
Add smiley image check for 2x images

5 years agoValidate uploaded trophy images whether their are an image
Joshua Rüsweg [Wed, 6 Feb 2019 12:14:21 +0000 (13:14 +0100)]
Validate uploaded trophy images whether their are an image

5 years agoMerge branch '3.0'
Joshua Rüsweg [Wed, 6 Feb 2019 11:44:21 +0000 (12:44 +0100)]
Merge branch '3.0'

5 years agoUse short array syntax
Joshua Rüsweg [Wed, 6 Feb 2019 11:44:01 +0000 (12:44 +0100)]
Use short array syntax

5 years agoMerge branch '2.1' into 3.0
Joshua Rüsweg [Wed, 6 Feb 2019 11:43:20 +0000 (12:43 +0100)]
Merge branch '2.1' into 3.0

5 years agoValidate uploaded smileys whether the images are valid
Joshua Rüsweg [Wed, 6 Feb 2019 10:53:30 +0000 (11:53 +0100)]
Validate uploaded smileys whether the images are valid

5 years agoAdd method to validate uploaded images
Joshua Rüsweg [Wed, 6 Feb 2019 10:53:16 +0000 (11:53 +0100)]
Add method to validate uploaded images

5 years agoMerge branch 'master' into next
Matthias Schmidt [Tue, 5 Feb 2019 18:00:55 +0000 (19:00 +0100)]
Merge branch 'master' into next

5 years agoDo not ignore `.gitignore` and `.htaccess` files in DevtoolsPip
Matthias Schmidt [Tue, 5 Feb 2019 18:00:39 +0000 (19:00 +0100)]
Do not ignore `.gitignore` and `.htaccess` files in DevtoolsPip

When syncing files, ignoring these files can cause directories not be created even though the code expects them to exist.

5 years agoFix bogus prefix
Joshua Rüsweg [Tue, 5 Feb 2019 13:28:09 +0000 (14:28 +0100)]
Fix bogus prefix
See #2825

5 years agoSimplify ReactionType(Add|Edit)Form
Joshua Rüsweg [Tue, 5 Feb 2019 11:33:21 +0000 (12:33 +0100)]
Simplify ReactionType(Add|Edit)Form
See #2825

5 years agoAdd method to determine UploadFiles by DBO
Joshua Rüsweg [Tue, 5 Feb 2019 11:29:10 +0000 (12:29 +0100)]
Add method to determine UploadFiles by DBO
See #2825

5 years agoSet form data only if the form is not submitted
Joshua Rüsweg [Tue, 5 Feb 2019 11:26:31 +0000 (12:26 +0100)]
Set form data only if the form is not submitted
See #2825
See #2509

5 years agoAdd static function to check, whether a given file is an image
Joshua Rüsweg [Tue, 5 Feb 2019 10:59:50 +0000 (11:59 +0100)]
Add static function to check, whether a given file is an image
See #2825

5 years agoDisabling the occupation and hobbies profile field did not hide them from the profiel...
Alexander Ebert [Mon, 4 Feb 2019 16:40:10 +0000 (17:40 +0100)]
Disabling the occupation and hobbies profile field did not hide them from the profiel preview