GitHub/WoltLab/WCF.git
4 years agoAdd missing PHPDoc tags to StyleAddForm / Style
Tim Düsterhus [Fri, 24 Jul 2020 09:22:25 +0000 (11:22 +0200)]
Add missing PHPDoc tags to StyleAddForm / Style

4 years agoDRY up handling of existing favicon in StyleEditForm
Tim Düsterhus [Fri, 24 Jul 2020 09:19:48 +0000 (11:19 +0200)]
DRY up handling of existing favicon in StyleEditForm

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 years agoFix code style in StyleAddForm
Tim Düsterhus [Fri, 24 Jul 2020 09:18:15 +0000 (11:18 +0200)]
Fix code style in StyleAddForm

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 years agoFix copy and paste mistake deleting cover photos on Favicon update
Tim Düsterhus [Thu, 23 Jul 2020 12:13:37 +0000 (14:13 +0200)]
Fix copy and paste mistake deleting cover photos on Favicon update

4 years agoMerge branch 'master' into style-cleanup
Tim Düsterhus [Thu, 23 Jul 2020 12:09:59 +0000 (14:09 +0200)]
Merge branch 'master' into style-cleanup

4 years agoMerge pull request #3448 from WoltLab/local-google-font
Tim Düsterhus [Thu, 23 Jul 2020 11:59:54 +0000 (13:59 +0200)]
Merge pull request #3448 from WoltLab/local-google-font

Serve Google Fonts locally

4 years agoFix possible response truncation in HTTPRequest on Windows
Tim Düsterhus [Thu, 23 Jul 2020 11:59:01 +0000 (13:59 +0200)]
Fix possible response truncation in HTTPRequest on Windows

4 years agoFix truncated FontManager downloads on Windows
Tim Düsterhus [Thu, 23 Jul 2020 11:47:50 +0000 (13:47 +0200)]
Fix truncated FontManager downloads on Windows

4 years agoMerge branch '5.2'
Marcel Werk [Thu, 23 Jul 2020 10:31:26 +0000 (12:31 +0200)]
Merge branch '5.2'

4 years agoInvalid suffix value caused an error when rendering the form
Marcel Werk [Thu, 23 Jul 2020 10:30:53 +0000 (12:30 +0200)]
Invalid suffix value caused an error when rendering the form

4 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Thu, 23 Jul 2020 09:42:27 +0000 (11:42 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

4 years agoTypo
Marcel Werk [Thu, 23 Jul 2020 09:42:25 +0000 (11:42 +0200)]
Typo

4 years agoFix Style Import
Tim Düsterhus [Thu, 23 Jul 2020 09:35:19 +0000 (11:35 +0200)]
Fix Style Import

4 years agoFix export of style preview images
Tim Düsterhus [Thu, 23 Jul 2020 09:27:41 +0000 (11:27 +0200)]
Fix export of style preview images

4 years agoDRY up upload list list definitions in StyleAddForm
Tim Düsterhus [Thu, 23 Jul 2020 08:48:52 +0000 (10:48 +0200)]
DRY up upload list list definitions in StyleAddForm

4 years agoDRY up StyleAddForm::rebuildUploadFields()
Tim Düsterhus [Thu, 23 Jul 2020 08:46:36 +0000 (10:46 +0200)]
DRY up StyleAddForm::rebuildUploadFields()

4 years agoRemove obsolete `use` statements in Style DBOs
Tim Düsterhus [Wed, 22 Jul 2020 14:14:19 +0000 (16:14 +0200)]
Remove obsolete `use` statements in Style DBOs

4 years agoRemove obsolete manual removal of style_variable_values
Tim Düsterhus [Wed, 22 Jul 2020 14:11:43 +0000 (16:11 +0200)]
Remove obsolete manual removal of style_variable_values

The FOREIGN KEY handles that.

4 years agoRemove obsolete call to removed method
Tim Düsterhus [Wed, 22 Jul 2020 14:10:44 +0000 (16:10 +0200)]
Remove obsolete call to removed method

4 years agoAlways export all style images / assets
Tim Düsterhus [Wed, 22 Jul 2020 14:10:01 +0000 (16:10 +0200)]
Always export all style images / assets

4 years agoAdjust StyleAction::copy()
Tim Düsterhus [Wed, 22 Jul 2020 13:53:20 +0000 (15:53 +0200)]
Adjust StyleAction::copy()

4 years agoUse modern UploadHandler to update style favicon
Tim Düsterhus [Wed, 22 Jul 2020 13:03:58 +0000 (15:03 +0200)]
Use modern UploadHandler to update style favicon

4 years agoMerge pull request #3455 from WoltLab/refresh-package-database-performance
Alexander Ebert [Tue, 21 Jul 2020 15:58:15 +0000 (17:58 +0200)]
Merge pull request #3455 from WoltLab/refresh-package-database-performance

Performance improvements of the search for packages

4 years agoUse modern UploadHandler to update style coverPhoto
Tim Düsterhus [Tue, 21 Jul 2020 13:29:56 +0000 (15:29 +0200)]
Use modern UploadHandler to update style coverPhoto

4 years agoRemove imagePath option from StyleAddForm
Tim Düsterhus [Tue, 21 Jul 2020 10:24:16 +0000 (12:24 +0200)]
Remove imagePath option from StyleAddForm

4 years agoRemove legacy style logo uploader
Tim Düsterhus [Tue, 21 Jul 2020 10:17:11 +0000 (12:17 +0200)]
Remove legacy style logo uploader

4 years agoRemove legacy style preview uploader
Tim Düsterhus [Tue, 21 Jul 2020 10:16:02 +0000 (12:16 +0200)]
Remove legacy style preview uploader

4 years agoUse modern UploadHandler to update style logos
Tim Düsterhus [Tue, 21 Jul 2020 10:05:39 +0000 (12:05 +0200)]
Use modern UploadHandler to update style logos

4 years agoProcess deletions before uploads in StyleAddForm
Tim Düsterhus [Tue, 21 Jul 2020 10:04:34 +0000 (12:04 +0200)]
Process deletions before uploads in StyleAddForm

4 years agoTrigger change event when a file is being uploaded / deleted for uploadFormField
Tim Düsterhus [Tue, 21 Jul 2020 10:03:19 +0000 (12:03 +0200)]
Trigger change event when a file is being uploaded / deleted for uploadFormField

4 years agoUse modern UploadHandler to upload style preview images
Tim Düsterhus [Tue, 21 Jul 2020 09:23:04 +0000 (11:23 +0200)]
Use modern UploadHandler to upload style preview images

4 years agoCreate asset path when creating a style
Tim Düsterhus [Mon, 20 Jul 2020 12:48:04 +0000 (14:48 +0200)]
Create asset path when creating a style

4 years agoAdd Style::getAssetPath()
Tim Düsterhus [Mon, 20 Jul 2020 12:47:54 +0000 (14:47 +0200)]
Add Style::getAssetPath()

4 years agoAdded the option to override the id when replacing links with bbcodes
Marcel Werk [Mon, 20 Jul 2020 21:49:17 +0000 (23:49 +0200)]
Added the option to override the id when replacing links with bbcodes

4 years agoPrevent the hashtag from being added to the url
Alexander Ebert [Mon, 20 Jul 2020 21:04:34 +0000 (23:04 +0200)]
Prevent the hashtag from being added to the url

4 years agoImproved the performance by using bulk operations
Alexander Ebert [Mon, 20 Jul 2020 16:22:15 +0000 (18:22 +0200)]
Improved the performance by using bulk operations

`DatabaseObjectEditor::create()` returns the id of the created object, forcing the database to sync the new row before returning the result.

Inserting them in bulk and querying the ids afterwards is more efficient, by allowing the database to flush data in bulk.

4 years agoMerge branch '5.2'
Alexander Ebert [Sun, 19 Jul 2020 16:04:53 +0000 (18:04 +0200)]
Merge branch '5.2'

4 years agoApproved `uniqid` for the use when running in enterprise mode
Alexander Ebert [Sun, 19 Jul 2020 16:04:42 +0000 (18:04 +0200)]
Approved `uniqid` for the use when running in enterprise mode

4 years agoFixed issue when editing articles without tags
Marcel Werk [Sun, 19 Jul 2020 15:27:51 +0000 (17:27 +0200)]
Fixed issue when editing articles without tags

4 years agoRemoved the rebuild script for 5.3
Alexander Ebert [Sat, 18 Jul 2020 13:31:37 +0000 (15:31 +0200)]
Removed the rebuild script for 5.3

The script will have already been executed in 3.1/5.2 before 5.3 is released.

4 years agoMerge branch '5.2'
Alexander Ebert [Sat, 18 Jul 2020 13:30:59 +0000 (15:30 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Sat, 18 Jul 2020 13:30:10 +0000 (15:30 +0200)]
Merge branch '3.1' into 5.2

4 years agoMoved the remark on the cleanup script
Alexander Ebert [Sat, 18 Jul 2020 13:29:14 +0000 (15:29 +0200)]
Moved the remark on the cleanup script

4 years agoMerge pull request #3450 from WoltLab/cms-embedded-object-remove
Alexander Ebert [Sat, 18 Jul 2020 13:28:13 +0000 (15:28 +0200)]
Merge pull request #3450 from WoltLab/cms-embedded-object-remove

Removed embedded object references when deleting articles / pages

4 years agoForce wsm images to be placed outside of inline elements
Alexander Ebert [Sat, 18 Jul 2020 13:26:50 +0000 (15:26 +0200)]
Force wsm images to be placed outside of inline elements

Fixes #3410

4 years agoUnwanted font size change
Alexander Ebert [Fri, 17 Jul 2020 17:54:52 +0000 (19:54 +0200)]
Unwanted font size change

The font size didn't work in earlier versions due to a bug in the SCSS parser. Removing these code parts restores the intended visuals.

See #3452

4 years agoMerge branch 'master' into local-google-font
Tim Düsterhus [Fri, 17 Jul 2020 15:14:32 +0000 (17:14 +0200)]
Merge branch 'master' into local-google-font

4 years agoMerge pull request #3447 from WoltLab/guzzle
Tim Düsterhus [Fri, 17 Jul 2020 15:01:40 +0000 (17:01 +0200)]
Merge pull request #3447 from WoltLab/guzzle

Add GuzzleHttp

4 years agoAdd missing trailing commas
Tim Düsterhus [Fri, 17 Jul 2020 14:49:14 +0000 (16:49 +0200)]
Add missing trailing commas

Co-authored-by: Matthias Schmidt <gravatronics@live.com>
4 years agoPrevent gaps in the page action buttons
Alexander Ebert [Fri, 17 Jul 2020 12:24:15 +0000 (14:24 +0200)]
Prevent gaps in the page action buttons

Fixes #3402

4 years agoAdd update_com.woltlab.wcf_embeddedObjectOrphans.php
Tim Düsterhus [Fri, 17 Jul 2020 12:12:28 +0000 (14:12 +0200)]
Add update_com.woltlab.wcf_embeddedObjectOrphans.php

4 years agoAdd note about deletion of orphaned embedded objects
Tim Düsterhus [Fri, 17 Jul 2020 09:36:44 +0000 (11:36 +0200)]
Add note about deletion of orphaned embedded objects

see #3429

4 years agoRemove embedded object references when deleting pages
Tim Düsterhus [Fri, 17 Jul 2020 09:32:27 +0000 (11:32 +0200)]
Remove embedded object references when deleting pages

see #3429

4 years agoRemove embedded object references when deleting articles
Tim Düsterhus [Fri, 17 Jul 2020 09:25:24 +0000 (11:25 +0200)]
Remove embedded object references when deleting articles

see #3429

4 years agoCombined login and registration in the mobile menu
Marcel Werk [Thu, 16 Jul 2020 21:40:04 +0000 (23:40 +0200)]
Combined login and registration in the mobile menu

Closes #3225

4 years agoMerge pull request #3445 from WoltLab/sitemap-failsafe-storage
Joshua Rüsweg [Thu, 16 Jul 2020 12:18:11 +0000 (14:18 +0200)]
Merge pull request #3445 from WoltLab/sitemap-failsafe-storage

Save changes to the sitemap objects in the registry

4 years agoMerge branch '5.2'
Tim Düsterhus [Thu, 16 Jul 2020 09:27:06 +0000 (11:27 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Thu, 16 Jul 2020 09:26:21 +0000 (11:26 +0200)]
Merge branch '3.1' into 5.2

4 years agoFix PHP 5.5 compatibility
Tim Düsterhus [Thu, 16 Jul 2020 09:25:48 +0000 (11:25 +0200)]
Fix PHP 5.5 compatibility

4 years agoFix copy and paste bug
Tim Düsterhus [Thu, 16 Jul 2020 09:24:05 +0000 (11:24 +0200)]
Fix copy and paste bug

see 3cd8f5f63c1327c1534a4e24908b3e49d4074871

4 years agoMerge branch '5.2'
Tim Düsterhus [Thu, 16 Jul 2020 08:43:07 +0000 (10:43 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Thu, 16 Jul 2020 08:42:45 +0000 (10:42 +0200)]
Merge branch '3.1' into 5.2

4 years agoProperly update page search index when editing
Tim Düsterhus [Thu, 16 Jul 2020 08:41:09 +0000 (10:41 +0200)]
Properly update page search index when editing

see #3430

4 years agoProperly update article search index when editing
Tim Düsterhus [Thu, 16 Jul 2020 08:40:38 +0000 (10:40 +0200)]
Properly update article search index when editing

see #3430

4 years agoMerge pull request #3420 from TitusKirch/patch-1
Alexander Ebert [Wed, 15 Jul 2020 14:35:55 +0000 (16:35 +0200)]
Merge pull request #3420 from TitusKirch/patch-1

Set display from browser to standalone

4 years agoIncrease max-age to 14 days in getFont.php
Tim Düsterhus [Wed, 15 Jul 2020 11:43:51 +0000 (13:43 +0200)]
Increase max-age to 14 days in getFont.php

4 years agoStrip directories from filename in getFont.php
Tim Düsterhus [Wed, 15 Jul 2020 11:42:29 +0000 (13:42 +0200)]
Strip directories from filename in getFont.php

4 years agoImprove phrasing for local Google Fonts
Tim Düsterhus [Wed, 15 Jul 2020 11:44:52 +0000 (13:44 +0200)]
Improve phrasing for local Google Fonts

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 years agoDownload Google Fonts on style import
Tim Düsterhus [Wed, 15 Jul 2020 09:38:07 +0000 (11:38 +0200)]
Download Google Fonts on style import

see #3394

4 years agoServe Google Fonts locally
Tim Düsterhus [Wed, 15 Jul 2020 09:29:44 +0000 (11:29 +0200)]
Serve Google Fonts locally

see #3394

4 years agoDownload Google Font in StyleAddForm
Tim Düsterhus [Wed, 15 Jul 2020 09:28:31 +0000 (11:28 +0200)]
Download Google Font in StyleAddForm

see #3394

4 years agoAdd FontManager
Tim Düsterhus [Wed, 15 Jul 2020 09:24:12 +0000 (11:24 +0200)]
Add FontManager

see #3394

4 years agoReduce getFont cache duration to one day
Tim Düsterhus [Tue, 14 Jul 2020 15:27:24 +0000 (17:27 +0200)]
Reduce getFont cache duration to one day

4 years agoAdd support for font families to getFont.php
Tim Düsterhus [Tue, 14 Jul 2020 15:26:48 +0000 (17:26 +0200)]
Add support for font families to getFont.php

4 years agoAdd font/families/ placeholder directory
Tim Düsterhus [Tue, 14 Jul 2020 15:26:37 +0000 (17:26 +0200)]
Add font/families/ placeholder directory

4 years agoSet default user-agent for Guzzle
Tim Düsterhus [Wed, 15 Jul 2020 10:06:32 +0000 (12:06 +0200)]
Set default user-agent for Guzzle

4 years agoRemove unnecessary pass by reference
joshuaruesweg [Wed, 15 Jul 2020 08:42:08 +0000 (10:42 +0200)]
Remove unnecessary pass by reference

4 years agoRegister sitemap values in the registry during update
joshuaruesweg [Wed, 15 Jul 2020 08:39:49 +0000 (10:39 +0200)]
Register sitemap values in the registry during update

4 years agoMerge branch '5.2'
Marcel Werk [Tue, 14 Jul 2020 17:10:05 +0000 (19:10 +0200)]
Merge branch '5.2'

4 years agoMerge branch '3.1' into 5.2
Marcel Werk [Tue, 14 Jul 2020 17:09:42 +0000 (19:09 +0200)]
Merge branch '3.1' into 5.2

4 years agoImproved detection of the links to twitch's clips
Marcel Werk [Tue, 14 Jul 2020 17:09:26 +0000 (19:09 +0200)]
Improved detection of the links to twitch's clips

4 years agoMake HttpFactory::$defaultClient static
Tim Düsterhus [Tue, 14 Jul 2020 14:31:30 +0000 (16:31 +0200)]
Make HttpFactory::$defaultClient static

4 years agoReimplement \wcf\util\HTTPRequest using Guzzle
Tim Düsterhus [Tue, 14 Jul 2020 13:09:45 +0000 (15:09 +0200)]
Reimplement \wcf\util\HTTPRequest using Guzzle

4 years agoAdd HttpFactory
Tim Düsterhus [Tue, 14 Jul 2020 13:09:11 +0000 (15:09 +0200)]
Add HttpFactory

4 years agoAdd guzzlehttp/guzzle as requirement
Tim Düsterhus [Tue, 14 Jul 2020 10:32:05 +0000 (12:32 +0200)]
Add guzzlehttp/guzzle as requirement

4 years agoMake Travis run PHP 7.4 + 7.0
Tim Düsterhus [Tue, 14 Jul 2020 13:56:32 +0000 (15:56 +0200)]
Make Travis run PHP 7.4 + 7.0

4 years agoMerge branch '5.2'
Matthias Schmidt [Tue, 14 Jul 2020 13:33:23 +0000 (15:33 +0200)]
Merge branch '5.2'

4 years agoFix VoidFormDataProcessor for `null` values
Matthias Schmidt [Tue, 14 Jul 2020 13:31:19 +0000 (15:31 +0200)]
Fix VoidFormDataProcessor for `null` values

4 years agoRelease 5.2.8 5.2.8
Alexander Ebert [Mon, 13 Jul 2020 11:14:17 +0000 (13:14 +0200)]
Release 5.2.8

4 years agoUpdating minified JavaScript files
woltlab.com [Mon, 13 Jul 2020 11:06:11 +0000 (11:06 +0000)]
Updating minified JavaScript files

4 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Mon, 13 Jul 2020 10:59:40 +0000 (12:59 +0200)]
Merge branch '3.1' into 5.2

4 years agoRelease 3.1.16 3.1.16
Alexander Ebert [Mon, 13 Jul 2020 10:59:02 +0000 (12:59 +0200)]
Release 3.1.16

4 years agoMerge pull request #3437 from WoltLab/paid-subscription-permission
Alexander Ebert [Sat, 11 Jul 2020 18:39:40 +0000 (20:39 +0200)]
Merge pull request #3437 from WoltLab/paid-subscription-permission

Add user.profile.payment.canBuyPaidSubscription permission

4 years agoMerge pull request #3442 from WoltLab/tar-performance
Alexander Ebert [Sat, 11 Jul 2020 17:59:51 +0000 (19:59 +0200)]
Merge pull request #3442 from WoltLab/tar-performance

Make Tar::extractToString() much faster

4 years agoMerge pull request #3444 from WoltLab/attachment-sync-instances
Alexander Ebert [Sat, 11 Jul 2020 17:22:33 +0000 (19:22 +0200)]
Merge pull request #3444 from WoltLab/attachment-sync-instances

Synchronize attachments across instances

4 years agoSuperfluous whitespace
Alexander Ebert [Sat, 11 Jul 2020 17:22:01 +0000 (19:22 +0200)]
Superfluous whitespace

4 years agoAdd missing documentation
joshuaruesweg [Sat, 11 Jul 2020 09:32:09 +0000 (11:32 +0200)]
Add missing documentation

4 years agoSave changes to the sitemap objects in the registry
joshuaruesweg [Sat, 11 Jul 2020 09:29:37 +0000 (11:29 +0200)]
Save changes to the sitemap objects in the registry
Since changes to the sitemap are saved directly in the object type, there is the problem that when you update the WCF, these changes are potentially overwritten again. This commit fixes this problem by saving changes in the registry.
Fixes #3376

4 years agoSimplify code by not checking for the "enable thunbnails" option
Alexander Ebert [Fri, 10 Jul 2020 20:53:04 +0000 (22:53 +0200)]
Simplify code by not checking for the "enable thunbnails" option

4 years agoForce enable `ATTACHMENT_ENABLE_THUMBNAILS`
Alexander Ebert [Fri, 10 Jul 2020 20:47:40 +0000 (22:47 +0200)]
Force enable `ATTACHMENT_ENABLE_THUMBNAILS`