GitHub/WoltLab/WCF.git
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 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

5 years agoSupport for static search option presets
Alexander Ebert [Mon, 4 Feb 2019 15:27:24 +0000 (16:27 +0100)]
Support for static search option presets

5 years agoConvert bogus newlines in pasted text in Firefox
Alexander Ebert [Mon, 4 Feb 2019 12:10:54 +0000 (13:10 +0100)]
Convert bogus newlines in pasted text in Firefox

5 years agoImprove documentation
Joshua Rüsweg [Sun, 3 Feb 2019 20:25:50 +0000 (21:25 +0100)]
Improve documentation
See #2825

5 years agoThrow exception if allowSvgImage is called w/o imageOnly flag is set
Joshua Rüsweg [Sun, 3 Feb 2019 18:43:33 +0000 (19:43 +0100)]
Throw exception if allowSvgImage is called w/o imageOnly flag is set
See #2825

5 years agoMove saveImage action in ReactionTypeAction
Joshua Rüsweg [Sun, 3 Feb 2019 18:35:57 +0000 (19:35 +0100)]
Move saveImage action in ReactionTypeAction
See #2825

5 years agoAdd data handler for upload form fields
Joshua Rüsweg [Sun, 3 Feb 2019 18:22:11 +0000 (19:22 +0100)]
Add data handler for upload form fields
See #2825

5 years agoUpdate version number in dev setup config filename
Matthias Schmidt [Sun, 3 Feb 2019 17:26:02 +0000 (18:26 +0100)]
Update version number in dev setup config filename

5 years agoAdd support for (location-specific) variables in ads
Matthias Schmidt [Sun, 3 Feb 2019 17:04:39 +0000 (18:04 +0100)]
Add support for (location-specific) variables in ads

Close #2843

5 years agoFix typo in German language item
Matthias Schmidt [Sun, 3 Feb 2019 15:02:59 +0000 (16:02 +0100)]
Fix typo in German language item

See 988fc118d188eab587b5c3d13d026aa0c1e8b02f
See #2683

5 years agoMake devtools project list sortable
Matthias Schmidt [Sun, 3 Feb 2019 14:22:58 +0000 (15:22 +0100)]
Make devtools project list sortable

Close #2842

5 years agoSupport new style api version 5.2 in database table
Matthias Schmidt [Sun, 3 Feb 2019 14:10:13 +0000 (15:10 +0100)]
Support new style api version 5.2 in database table

See e8defa3037865db369cbedd14df57dfadc516b95

5 years agoGeneric placeholder for document data attributes
Alexander Ebert [Sat, 2 Feb 2019 22:11:35 +0000 (23:11 +0100)]
Generic placeholder for document data attributes

5 years agoReset button for the members list filter
Alexander Ebert [Sat, 2 Feb 2019 20:05:21 +0000 (21:05 +0100)]
Reset button for the members list filter

5 years agoMerge branch 'master' into next
Alexander Ebert [Sat, 2 Feb 2019 11:39:37 +0000 (12:39 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Alexander Ebert [Sat, 2 Feb 2019 11:37:11 +0000 (12:37 +0100)]
Merge branch '3.0'

5 years agoInvalid escape sequence for code blocks
Alexander Ebert [Sat, 2 Feb 2019 11:36:47 +0000 (12:36 +0100)]
Invalid escape sequence for code blocks

5 years agoSuport for nesting of blocks on format
Alexander Ebert [Sat, 2 Feb 2019 11:06:39 +0000 (12:06 +0100)]
Suport for nesting of blocks on format

5 years agoExperimental support for lists inside quotes/spoilers
Alexander Ebert [Sat, 2 Feb 2019 00:07:06 +0000 (01:07 +0100)]
Experimental support for lists inside quotes/spoilers

5 years agoRemoved the delay when handling input blur
Alexander Ebert [Fri, 1 Feb 2019 23:35:29 +0000 (00:35 +0100)]
Removed the delay when handling input blur

The timeout was required due to a duplication issue caused by the parallel handling of the click event on a suggestion and the blur event as a side effect of the click.

Original change: c75b69cc51639120091243b9c808243a8f747d10

5 years agoDecrease ACP search frequency and ignore control characters
Alexander Ebert [Fri, 1 Feb 2019 17:35:12 +0000 (18:35 +0100)]
Decrease ACP search frequency and ignore control characters

The search still yields quite a few requests, but this is fine considering that it is (a) limited to the admin panel and (b) having faster results is a worthy trade off.

5 years agoPrevent adding/editing of images from blocked sources
Alexander Ebert [Fri, 1 Feb 2019 16:14:38 +0000 (17:14 +0100)]
Prevent adding/editing of images from blocked sources

5 years agoMerge branch 'master' into next
Matthias Schmidt [Fri, 1 Feb 2019 14:34:33 +0000 (15:34 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Matthias Schmidt [Fri, 1 Feb 2019 14:34:24 +0000 (15:34 +0100)]
Merge branch '3.0'

5 years agoAllow to filter by just one day in UserRegistrationDateIntervalCondition
Matthias Schmidt [Fri, 1 Feb 2019 14:34:11 +0000 (15:34 +0100)]
Allow to filter by just one day in UserRegistrationDateIntervalCondition

Previously, setting "more than 1 day, but less than 2 days" was not possible.

5 years agoFix typos
Matthias Schmidt [Fri, 1 Feb 2019 14:01:49 +0000 (15:01 +0100)]
Fix typos

See #2825

Co-Authored-By: joshuaruesweg <josh@wcflabs.de>
5 years agoProper placement of the external link icon for floated images with links
Alexander Ebert [Fri, 1 Feb 2019 11:03:21 +0000 (12:03 +0100)]
Proper placement of the external link icon for floated images with links

5 years agoSupport elements other than `<div>` for video containers
Alexander Ebert [Fri, 1 Feb 2019 09:48:16 +0000 (10:48 +0100)]
Support elements other than `<div>` for video containers

5 years agoCentralized method to handle active page overlays
Alexander Ebert [Thu, 31 Jan 2019 18:18:13 +0000 (19:18 +0100)]
Centralized method to handle active page overlays

5 years agoImplicitly submit the selected label if its the only form element
Alexander Ebert [Thu, 31 Jan 2019 17:44:44 +0000 (18:44 +0100)]
Implicitly submit the selected label if its the only form element

5 years agoFix pressing enter triggers trophy badge handler
Joshua Rüsweg [Thu, 31 Jan 2019 15:53:03 +0000 (16:53 +0100)]
Fix pressing enter triggers trophy badge handler
Fixes #2818

5 years agoSuggest the app directory when installing through the ACP
Alexander Ebert [Thu, 31 Jan 2019 15:50:40 +0000 (16:50 +0100)]
Suggest the app directory when installing through the ACP

5 years agoCheck file extension for image uploads
Joshua Rüsweg [Thu, 31 Jan 2019 15:28:30 +0000 (16:28 +0100)]
Check file extension for image uploads
See #2825

5 years agoRemove superfluous exists check
Joshua Rüsweg [Thu, 31 Jan 2019 14:34:33 +0000 (15:34 +0100)]
Remove superfluous exists check
See #2825

5 years agoUse normal for-loop instead of for (… in …)
Joshua Rüsweg [Thu, 31 Jan 2019 14:27:43 +0000 (15:27 +0100)]
Use normal for-loop instead of for (… in …)
See #2825

5 years agoSimplify code
Joshua Rüsweg [Thu, 31 Jan 2019 14:23:29 +0000 (15:23 +0100)]
Simplify code
See #2825

5 years agoFix code style
Joshua Rüsweg [Thu, 31 Jan 2019 14:10:33 +0000 (15:10 +0100)]
Fix code style
See #2825

5 years agoRemove legacy code
Joshua Rüsweg [Thu, 31 Jan 2019 14:01:58 +0000 (15:01 +0100)]
Remove legacy code
See #2825

5 years agoMove language initialization to the top
Joshua Rüsweg [Thu, 31 Jan 2019 13:58:52 +0000 (14:58 +0100)]
Move language initialization to the top

5 years agoAdd upload form field to ReactionType(Add|Edit)Form
Joshua Rüsweg [Thu, 31 Jan 2019 13:20:25 +0000 (14:20 +0100)]
Add upload form field to ReactionType(Add|Edit)Form
See #2825
See #2508

5 years agoAdd method removeFileByObject
Joshua Rüsweg [Thu, 31 Jan 2019 13:19:09 +0000 (14:19 +0100)]
Add method removeFileByObject
See #2825

5 years agoBetter detection of non-http protocols
Alexander Ebert [Thu, 31 Jan 2019 12:06:57 +0000 (13:06 +0100)]
Better detection of non-http protocols

5 years agoAdd function to get removed files
Joshua Rüsweg [Thu, 31 Jan 2019 11:54:14 +0000 (12:54 +0100)]
Add function to get removed files
See #2825

5 years agoSupport tables in the code formatter
Alexander Ebert [Thu, 31 Jan 2019 11:14:30 +0000 (12:14 +0100)]
Support tables in the code formatter

5 years agoReplaced fixed color values with variables / Style API version 5.2
Alexander Ebert [Wed, 30 Jan 2019 17:25:05 +0000 (18:25 +0100)]
Replaced fixed color values with variables / Style API version 5.2

5 years agoPrevent rendering of unmatched mentions
Alexander Ebert [Wed, 30 Jan 2019 16:56:33 +0000 (17:56 +0100)]
Prevent rendering of unmatched mentions

5 years agoPreserve element attributes on rename
Alexander Ebert [Wed, 30 Jan 2019 12:51:24 +0000 (13:51 +0100)]
Preserve element attributes on rename

5 years agoMove the options in the mobile menu to the top level
Alexander Ebert [Wed, 30 Jan 2019 12:09:40 +0000 (13:09 +0100)]
Move the options in the mobile menu to the top level

5 years agoMinor improvements to the system check
Alexander Ebert [Wed, 30 Jan 2019 12:09:07 +0000 (13:09 +0100)]
Minor improvements to the system check

5 years agoPrevent the rule generator from being triggered on form submit via keyboard
Alexander Ebert [Tue, 29 Jan 2019 20:34:53 +0000 (21:34 +0100)]
Prevent the rule generator from being triggered on form submit via keyboard

See #2817

5 years agoUpdate SystemCheckPage.class.php
Alexander Ebert [Tue, 29 Jan 2019 19:06:36 +0000 (20:06 +0100)]
Update SystemCheckPage.class.php

5 years agoImplemented a basic system check
Alexander Ebert [Tue, 29 Jan 2019 18:14:00 +0000 (19:14 +0100)]
Implemented a basic system check

See #2811

The original issue was going much further, but during development it showed that it overlapped way too much with the existing validation methods.

5 years agoFix usage of unknown class
Joshua Rüsweg [Mon, 28 Jan 2019 18:45:36 +0000 (19:45 +0100)]
Fix usage of unknown class

5 years agoFix typo in property documentation
Matthias Schmidt [Mon, 28 Jan 2019 17:32:20 +0000 (18:32 +0100)]
Fix typo in property documentation

See #2509

5 years agoFix form builder-related issues with PIP GUI
Matthias Schmidt [Mon, 28 Jan 2019 17:31:38 +0000 (18:31 +0100)]
Fix form builder-related issues with PIP GUI

See #2545

5 years agoFix saving page with parent via PIP
Matthias Schmidt [Mon, 28 Jan 2019 17:30:37 +0000 (18:30 +0100)]
Fix saving page with parent via PIP

See #2545

5 years agoAdd support for uploads in the acp
Joshua Rüsweg [Mon, 28 Jan 2019 17:00:25 +0000 (18:00 +0100)]
Add support for uploads in the acp
See #2825

5 years agoFix displaying of single image files
Joshua Rüsweg [Mon, 28 Jan 2019 16:57:17 +0000 (17:57 +0100)]
Fix displaying of single image files
See #2825

5 years agoFix typo
Joshua Rüsweg [Mon, 28 Jan 2019 15:59:29 +0000 (16:59 +0100)]
Fix typo
See #2825

5 years agoMerge branch 'next' into unified_file_upload
Joshua Rüsweg [Mon, 28 Jan 2019 15:39:37 +0000 (16:39 +0100)]
Merge branch 'next' into unified_file_upload

5 years agoCleanup form in the `saved` method
Joshua Rüsweg [Mon, 28 Jan 2019 15:34:46 +0000 (16:34 +0100)]
Cleanup form in the `saved` method
See #2509

5 years agoAdd support for svg images
Joshua Rüsweg [Mon, 28 Jan 2019 15:31:39 +0000 (16:31 +0100)]
Add support for svg images
See #2825

5 years agoDon't close datepicker (with time) after selecting the day
Marcel Werk [Mon, 28 Jan 2019 15:28:23 +0000 (16:28 +0100)]
Don't close datepicker (with time) after selecting the day

Closes #2839

5 years agoFix `like` return value of `LikeHandler::like()`
Matthias Schmidt [Sun, 27 Jan 2019 14:50:45 +0000 (15:50 +0100)]
Fix `like` return value of `LikeHandler::like()`

See #2508
See 6077024256f9a325daa8b58173c764e62fad24d9

5 years agoMerge branch 'master' into next
Matthias Schmidt [Sun, 27 Jan 2019 14:12:00 +0000 (15:12 +0100)]
Merge branch 'master' into next