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

5 years agoShow likes when loading comment (responses) via permalink
Matthias Schmidt [Sun, 27 Jan 2019 14:10:30 +0000 (15:10 +0100)]
Show likes when loading comment (responses) via permalink

Close  #2836

5 years agoAllow media links generated in the ACP to point to the frontend
Matthias Schmidt [Sun, 27 Jan 2019 12:06:35 +0000 (13:06 +0100)]
Allow media links generated in the ACP to point to the frontend

5 years agoAdd missing since tags
Matthias Schmidt [Sun, 27 Jan 2019 11:30:19 +0000 (12:30 +0100)]
Add missing since tags

See #2223
See #2231

5 years agoMark comment (response) notifications as read when loaded via AJAX
Matthias Schmidt [Sun, 27 Jan 2019 11:26:10 +0000 (12:26 +0100)]
Mark comment (response) notifications as read when loaded via AJAX

Close #2835

5 years agoAdd methods to mark comment-related notifications as read
Matthias Schmidt [Sun, 27 Jan 2019 11:04:28 +0000 (12:04 +0100)]
Add methods to mark comment-related notifications as read

(And store the ids of the liked comment/comment respones as the base object id for like notifications.)

5 years agoFix variable name in comment response list template
Matthias Schmidt [Sun, 27 Jan 2019 07:31:59 +0000 (08:31 +0100)]
Fix variable name in comment response list template

See #2508
See 1167800d804f5833cee0ff82764869a6e23d27bd

5 years agoFixed mobile style issue
Marcel Werk [Fri, 25 Jan 2019 12:27:54 +0000 (13:27 +0100)]
Fixed mobile style issue

5 years agoMerge branch 'master' into next
Matthias Schmidt [Thu, 24 Jan 2019 17:31:55 +0000 (18:31 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Matthias Schmidt [Thu, 24 Jan 2019 17:29:06 +0000 (18:29 +0100)]
Merge branch '3.0'

5 years agoFix typo in German language item
Matthias Schmidt [Thu, 24 Jan 2019 17:28:47 +0000 (18:28 +0100)]
Fix typo in German language item

5 years agoFix exception when reading value of field without immutability support
Matthias Schmidt [Thu, 24 Jan 2019 17:24:07 +0000 (18:24 +0100)]
Fix exception when reading value of field without immutability support

See #2509
See aa6f853584182980c1c7d12891b689317e458b8b

5 years agoPrevent errors caused by unknown media objects
Alexander Ebert [Tue, 22 Jan 2019 17:01:28 +0000 (18:01 +0100)]
Prevent errors caused by unknown media objects

5 years agoMerge branch '3.0'
Alexander Ebert [Tue, 22 Jan 2019 11:18:53 +0000 (12:18 +0100)]
Merge branch '3.0'

5 years agoRemove superfluous `<br>` inserted by Firefox
Alexander Ebert [Tue, 22 Jan 2019 11:12:05 +0000 (12:12 +0100)]
Remove superfluous `<br>` inserted by Firefox

5 years agoAdd method to set a custom image link
Joshua Rüsweg [Sun, 20 Jan 2019 21:50:27 +0000 (22:50 +0100)]
Add method to set a custom image link
See #2825

5 years agoSet object property to null
Joshua Rüsweg [Sun, 20 Jan 2019 21:37:01 +0000 (22:37 +0100)]
Set object property to null
See #2825

5 years agoUse max width
Joshua Rüsweg [Sun, 20 Jan 2019 19:35:02 +0000 (20:35 +0100)]
Use max width
See #2825

5 years agoUnregister field, after destroy the form
Joshua Rüsweg [Sun, 20 Jan 2019 18:59:54 +0000 (19:59 +0100)]
Unregister field, after destroy the form
See #2825

5 years agoRemove errors on upload
Joshua Rüsweg [Sun, 20 Jan 2019 18:38:21 +0000 (19:38 +0100)]
Remove errors on upload
See #2825

5 years agoRemove unique file errors
Joshua Rüsweg [Sun, 20 Jan 2019 17:23:50 +0000 (18:23 +0100)]
Remove unique file errors
See #2825

5 years agoFix typo in method names
Joshua Rüsweg [Sun, 20 Jan 2019 17:16:43 +0000 (18:16 +0100)]
Fix typo in method names
See #2825

5 years agoUnify table icon size
Matthias Schmidt [Sun, 20 Jan 2019 15:52:27 +0000 (16:52 +0100)]
Unify table icon size

Close #2832

5 years agoImprove wording of English language item
Matthias Schmidt [Sun, 20 Jan 2019 15:48:24 +0000 (16:48 +0100)]
Improve wording of English language item

See #2797

5 years agoAdd permission check for notifiction test page
Matthias Schmidt [Sun, 20 Jan 2019 15:41:30 +0000 (16:41 +0100)]
Add permission check for notifiction test page

The same permission as for the other devtool pages is used.

5 years agoAdd support for HTML in category descriptions
Matthias Schmidt [Sun, 20 Jan 2019 15:20:47 +0000 (16:20 +0100)]
Add support for HTML in category descriptions

Close #2833

5 years agoFix WCFSetup due to undefined option constant
Matthias Schmidt [Sun, 20 Jan 2019 09:14:13 +0000 (10:14 +0100)]
Fix WCFSetup due to undefined option constant

See b5158645d503bd1d8c484001f8a41f7a52449c5f

5 years agoSimplify getValue method
Joshua Rüsweg [Sat, 19 Jan 2019 17:14:40 +0000 (18:14 +0100)]
Simplify getValue method
See #2826

5 years agoExpose ENABLE_PRODUCTION_DEBUG_MODE to JavaScript in ACP
Tim Düsterhus [Sat, 19 Jan 2019 12:12:36 +0000 (13:12 +0100)]
Expose ENABLE_PRODUCTION_DEBUG_MODE to JavaScript in ACP

see 11084ada183f7172736d790d1129725654e7f82e

5 years agoAdd missing object id
Joshua Rüsweg [Fri, 18 Jan 2019 17:17:01 +0000 (18:17 +0100)]
Add missing object id
See #2651

5 years agoUse video player for video attachments
Matthias Schmidt [Fri, 18 Jan 2019 17:15:22 +0000 (18:15 +0100)]
Use video player for video attachments

Close #2802

5 years agoMerge branch '3.0'
Marcel Werk [Fri, 18 Jan 2019 17:05:02 +0000 (18:05 +0100)]
Merge branch '3.0'

5 years agoFixed validation of article categories
Marcel Werk [Fri, 18 Jan 2019 17:04:09 +0000 (18:04 +0100)]
Fixed validation of article categories

5 years agoMerge branch '3.0'
Marcel Werk [Fri, 18 Jan 2019 16:56:00 +0000 (17:56 +0100)]
Merge branch '3.0'

5 years agoUpdated description for paypal address
Marcel Werk [Fri, 18 Jan 2019 16:54:56 +0000 (17:54 +0100)]
Updated description for paypal address

5 years agoMerge branch '3.0'
Marcel Werk [Fri, 18 Jan 2019 16:51:10 +0000 (17:51 +0100)]
Merge branch '3.0'

5 years agoUpdated cookie policy
Marcel Werk [Fri, 18 Jan 2019 16:48:59 +0000 (17:48 +0100)]
Updated cookie policy

5 years agoMerge branch 'master' into next
Marcel Werk [Fri, 18 Jan 2019 16:38:50 +0000 (17:38 +0100)]
Merge branch 'master' into next

5 years agoMerge branch '3.0'
Marcel Werk [Fri, 18 Jan 2019 16:36:45 +0000 (17:36 +0100)]
Merge branch '3.0'

5 years agoMerge branch '3.0' into next
Marcel Werk [Fri, 18 Jan 2019 16:35:40 +0000 (17:35 +0100)]
Merge branch '3.0' into next

5 years agoUpdated privacy policy
Marcel Werk [Fri, 18 Jan 2019 16:34:57 +0000 (17:34 +0100)]
Updated privacy policy

* Updated Goolge's address

5 years agoFixed small design issue
Marcel Werk [Fri, 18 Jan 2019 16:31:06 +0000 (17:31 +0100)]
Fixed small design issue

5 years agoFixed missing language variable
Marcel Werk [Fri, 18 Jan 2019 16:25:16 +0000 (17:25 +0100)]
Fixed missing language variable

5 years agoAdded notification for new user registrations
Marcel Werk [Fri, 18 Jan 2019 16:20:08 +0000 (17:20 +0100)]
Added notification for new user registrations

Closes #2803

5 years agoRestrict the mentioning of groups using a permission
Alexander Ebert [Thu, 17 Jan 2019 15:31:48 +0000 (16:31 +0100)]
Restrict the mentioning of groups using a permission

See #2804

5 years agoSupport mentions of user groups
Alexander Ebert [Wed, 16 Jan 2019 22:00:11 +0000 (23:00 +0100)]
Support mentions of user groups

See #2804

5 years agoMerge pull request #2756 from WoltLab/old-to-new-mail
Tim Düsterhus [Wed, 16 Jan 2019 14:26:17 +0000 (15:26 +0100)]
Merge pull request #2756 from WoltLab/old-to-new-mail

Map \wcf\system\mail\Mail to \wcf\system\email\Email

5 years agoAdd `value` method
Joshua Rüsweg [Tue, 15 Jan 2019 22:35:50 +0000 (23:35 +0100)]
Add `value` method
See #2825

5 years agoUse random id instead of sha1 for uniqueFileId
Joshua Rüsweg [Tue, 15 Jan 2019 21:54:13 +0000 (22:54 +0100)]
Use random id instead of sha1 for uniqueFileId
See #2825

5 years agoReturn files, newFiles and removedFiles in getValue()
Joshua Rüsweg [Tue, 15 Jan 2019 21:32:18 +0000 (22:32 +0100)]
Return files, newFiles and removedFiles in getValue()
See #2825

5 years agoAdd basic UploadFormField
Joshua Rüsweg [Tue, 15 Jan 2019 21:16:32 +0000 (22:16 +0100)]
Add basic UploadFormField
See #2825

5 years agoAdd support `null` for maxFiles
Joshua Rüsweg [Mon, 14 Jan 2019 21:32:58 +0000 (22:32 +0100)]
Add support `null` for maxFiles
See #2825

5 years agoRewrite template to fit the FormBuilder system
Joshua Rüsweg [Mon, 14 Jan 2019 19:47:56 +0000 (20:47 +0100)]
Rewrite template to fit the FormBuilder system
See #2825

5 years agoMerge remote-tracking branch 'origin/next' into next
Tim Düsterhus [Sun, 13 Jan 2019 14:38:02 +0000 (15:38 +0100)]
Merge remote-tracking branch 'origin/next' into next

5 years agoMerge branch 'master' into next
Tim Düsterhus [Sun, 13 Jan 2019 14:37:38 +0000 (15:37 +0100)]
Merge branch 'master' into next

5 years agoFix Tar extraction of empty files and ignore symlinks
Tim Düsterhus [Sun, 13 Jan 2019 14:28:47 +0000 (15:28 +0100)]
Fix Tar extraction of empty files and ignore symlinks

Fixes #2794
see #1310

5 years agoReplace backticks with single quotes
Matthias Schmidt [Sun, 13 Jan 2019 12:23:23 +0000 (13:23 +0100)]
Replace backticks with single quotes

See #2509
See b1a577cf0dff4766984334bd07a3e8c88ca4144f

5 years agoAdd missing newline at end of file
Matthias Schmidt [Sun, 13 Jan 2019 10:01:34 +0000 (11:01 +0100)]
Add missing newline at end of file

See #2509
See aa6f853584182980c1c7d12891b689317e458b8b

5 years agoMove form field immutability to separate interface
Matthias Schmidt [Sun, 13 Jan 2019 09:54:16 +0000 (10:54 +0100)]
Move form field immutability to separate interface

And add immutability support for some additional fields.

See #2509

5 years agoSupport disabling all checkboxes created by `{htmlCheckboxes}`
Matthias Schmidt [Sun, 13 Jan 2019 09:43:57 +0000 (10:43 +0100)]
Support disabling all checkboxes created by `{htmlCheckboxes}`

5 years agoAdd support for disabled item lists
Matthias Schmidt [Sun, 13 Jan 2019 09:20:08 +0000 (10:20 +0100)]
Add support for disabled item lists

5 years agoExplicitly support disabled date picker fields
Matthias Schmidt [Sun, 13 Jan 2019 09:07:23 +0000 (10:07 +0100)]
Explicitly support disabled date picker fields

Such fields should use the same internal input elements and use the same format for the displayed date but have no UI elements to change or remove the set date.

5 years agoFix internal value format after setting value of date form field
Matthias Schmidt [Sun, 13 Jan 2019 09:05:29 +0000 (10:05 +0100)]
Fix internal value format after setting value of date form field

See #2509

5 years agoAdd better upload error handling if debug is enabled
Matthias Schmidt [Sun, 13 Jan 2019 08:13:04 +0000 (09:13 +0100)]
Add better upload error handling if debug is enabled

Close #2712

5 years agoMerge branch 'master' into next
Alexander Ebert [Sat, 12 Jan 2019 22:59:21 +0000 (23:59 +0100)]
Merge branch 'master' into next

5 years agoImproved behavior of sortable options
Alexander Ebert [Sat, 12 Jan 2019 22:44:03 +0000 (23:44 +0100)]
Improved behavior of sortable options

5 years agoSupport for some pasted styles
Alexander Ebert [Sat, 12 Jan 2019 19:43:23 +0000 (20:43 +0100)]
Support for some pasted styles

5 years agoHousekeeping
Alexander Ebert [Sat, 12 Jan 2019 17:35:03 +0000 (18:35 +0100)]
Housekeeping

5 years agoFix format of API version-related English language items
Matthias Schmidt [Sat, 12 Jan 2019 09:08:24 +0000 (10:08 +0100)]
Fix format of API version-related English language items

5 years agoFix code style issues in template
Joshua Rüsweg [Fri, 11 Jan 2019 23:08:02 +0000 (00:08 +0100)]
Fix code style issues in template
See #2825

5 years agoRemove unused imports
Joshua Rüsweg [Fri, 11 Jan 2019 23:05:10 +0000 (00:05 +0100)]
Remove unused imports
See #2826