GitHub/WoltLab/WCF.git
8 days agoRemove `WCF.ImageViewer` from `.buildOrder` fancybox
Cyperghost [Tue, 12 Nov 2024 10:37:42 +0000 (11:37 +0100)]
Remove `WCF.ImageViewer` from `.buildOrder`

8 days agoGroup images of a message together and not all from one page
Cyperghost [Tue, 12 Nov 2024 10:35:23 +0000 (11:35 +0100)]
Group images of a message together and not all from one page

9 days agoMerge remote-tracking branch 'origin/6.2' into fancybox
Cyperghost [Tue, 12 Nov 2024 08:53:16 +0000 (09:53 +0100)]
Merge remote-tracking branch 'origin/6.2' into fancybox

# Conflicts:
# package-lock.json
# package.json

9 days agoUse a different name for attachments that belong to a form so that they are not group...
Cyperghost [Tue, 12 Nov 2024 08:42:36 +0000 (09:42 +0100)]
Use a different name for attachments that belong to a form so that they are not grouped together with those from the content

9 days agoSupport `.jsImageViewer` for backwards compatibility.
Cyperghost [Tue, 12 Nov 2024 08:40:05 +0000 (09:40 +0100)]
Support `.jsImageViewer` for backwards compatibility.

9 days agoUpdate com.woltlab.wcf/templates/shared_imageViewer.tpl
Olaf Braun [Tue, 12 Nov 2024 08:10:46 +0000 (09:10 +0100)]
Update com.woltlab.wcf/templates/shared_imageViewer.tpl

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
12 days agoAlso use the correct path for the emojis in the ACP
Cyperghost [Fri, 8 Nov 2024 12:24:04 +0000 (13:24 +0100)]
Also use the correct path for the emojis in the ACP

2 weeks agoFixes the problem that the user's time zone is not used
Cyperghost [Tue, 5 Nov 2024 09:27:06 +0000 (10:27 +0100)]
Fixes the problem that the user's time zone is not used
See https://github.com/WoltLab/WCF/pull/6042#discussion_r1828441438

2 weeks agoMerge pull request #6041 from WoltLab/upload-field-extension-validation
Olaf Braun [Thu, 31 Oct 2024 12:13:39 +0000 (13:13 +0100)]
Merge pull request #6041 from WoltLab/upload-field-extension-validation

Validate file extensions in `UploadFormField`

3 weeks agoMerge pull request #6042 from WoltLab/deprecate-dateutil-format
Olaf Braun [Thu, 31 Oct 2024 07:58:10 +0000 (08:58 +0100)]
Merge pull request #6042 from WoltLab/deprecate-dateutil-format

Deprecate dateutil format

3 weeks agoDirectly pass filename
Cyperghost [Thu, 31 Oct 2024 07:30:17 +0000 (08:30 +0100)]
Directly pass filename
Use early continue
Fix file extension check

3 weeks agoAdd php doc to `DateFormField::getDateTimeFormatter()`
Cyperghost [Wed, 30 Oct 2024 08:05:07 +0000 (09:05 +0100)]
Add php doc to `DateFormField::getDateTimeFormatter()`

3 weeks agoUse `\IntlDateFormatter` to format the datetime object
Cyperghost [Wed, 30 Oct 2024 07:57:23 +0000 (08:57 +0100)]
Use `\IntlDateFormatter` to format the datetime object

3 weeks agoRemove the unused functions `CLIUtil::formatTime()` and `CLIUtil::formatDate()`.
Cyperghost [Wed, 30 Oct 2024 07:49:01 +0000 (08:49 +0100)]
Remove the unused functions `CLIUtil::formatTime()` and `CLIUtil::formatDate()`.

3 weeks agoMerge pull request #6026 from WoltLab/emoji-picker-v2
Olaf Braun [Tue, 29 Oct 2024 13:42:58 +0000 (14:42 +0100)]
Merge pull request #6026 from WoltLab/emoji-picker-v2

Emoji picker

3 weeks agoNo longer use `DateUtil::format()` to format the date.
Cyperghost [Tue, 29 Oct 2024 13:35:24 +0000 (14:35 +0100)]
No longer use `DateUtil::format()` to format the date.

3 weeks agoUse `\DateTime::format()` instead of `DateUtil::format()`
Cyperghost [Tue, 29 Oct 2024 13:17:21 +0000 (14:17 +0100)]
Use `\DateTime::format()` instead of `DateUtil::format()`

3 weeks agoUse `\IntlDateFormatter` to format the date
Cyperghost [Tue, 29 Oct 2024 13:16:06 +0000 (14:16 +0100)]
Use `\IntlDateFormatter` to format the date

3 weeks agoUse `DateTime::format()` instead of `DateUtil::format()`
Cyperghost [Tue, 29 Oct 2024 11:53:05 +0000 (12:53 +0100)]
Use `DateTime::format()` instead of `DateUtil::format()`

3 weeks agoMark `DateUtil::format()` as deprecated
Cyperghost [Tue, 29 Oct 2024 11:39:59 +0000 (12:39 +0100)]
Mark `DateUtil::format()` as deprecated

3 weeks agoValidate file extensions in `UploadFormField`
Cyperghost [Tue, 29 Oct 2024 09:45:13 +0000 (10:45 +0100)]
Validate file extensions in `UploadFormField`

3 weeks agoImport editor type for `*.svg`
Cyperghost [Mon, 28 Oct 2024 14:31:53 +0000 (15:31 +0100)]
Import editor type for `*.svg`

3 weeks agoUpdate module `@woltlab/editor`
Cyperghost [Mon, 28 Oct 2024 13:36:05 +0000 (14:36 +0100)]
Update module `@woltlab/editor`

3 weeks agoAdd module comment doc
Cyperghost [Mon, 28 Oct 2024 13:06:04 +0000 (14:06 +0100)]
Add module comment doc

3 weeks agoAdd a comment that this file is auto-generated
Cyperghost [Mon, 28 Oct 2024 12:57:44 +0000 (13:57 +0100)]
Add a comment that this file is auto-generated

3 weeks agoMerge pull request #6036 from WoltLab/google-maps-advanced-markers
Olaf Braun [Mon, 28 Oct 2024 09:18:16 +0000 (10:18 +0100)]
Merge pull request #6036 from WoltLab/google-maps-advanced-markers

Google maps advanced markers

3 weeks agoMerge pull request #6037 from WoltLab/password-strength-meter
Olaf Braun [Mon, 28 Oct 2024 09:01:17 +0000 (10:01 +0100)]
Merge pull request #6037 from WoltLab/password-strength-meter

Add strength meter support to `PasswordFormField`

3 weeks agoUpdate wcfsetup/install/files/lib/system/form/builder/field/PasswordFormField.class.php
Olaf Braun [Mon, 28 Oct 2024 08:33:55 +0000 (09:33 +0100)]
Update wcfsetup/install/files/lib/system/form/builder/field/PasswordFormField.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 weeks agoAdd strength meter support to `PasswordFormField`
Cyperghost [Thu, 24 Oct 2024 11:43:40 +0000 (13:43 +0200)]
Add strength meter support to `PasswordFormField`

3 weeks agoChange type of `InitialMarkerPosition`
Cyperghost [Thu, 24 Oct 2024 11:11:16 +0000 (13:11 +0200)]
Change type of `InitialMarkerPosition`

3 weeks ago`draggable` is deprecated and `gestureHandling` should be used.
Cyperghost [Thu, 24 Oct 2024 10:58:42 +0000 (12:58 +0200)]
`draggable` is deprecated and `gestureHandling` should be used.

3 weeks agoWhen using `AdvancedMarkerElement`, `mapId` is required.
Cyperghost [Thu, 24 Oct 2024 10:57:29 +0000 (12:57 +0200)]
When using `AdvancedMarkerElement`, `mapId` is required.

3 weeks agoLoad marker library
Cyperghost [Thu, 24 Oct 2024 10:56:39 +0000 (12:56 +0200)]
Load marker library

3 weeks agoUse `google.maps.Marker` instead of `google.maps.marker.AdvancedMarkerElement`
Cyperghost [Thu, 24 Oct 2024 10:22:55 +0000 (12:22 +0200)]
Use `google.maps.Marker` instead of `google.maps.marker.AdvancedMarkerElement`

3 weeks agoUpgrade `@googlemaps/markerclusterer` to `2.3.2`
Cyperghost [Thu, 24 Oct 2024 10:20:16 +0000 (12:20 +0200)]
Upgrade `@googlemaps/markerclusterer` to `2.3.2`

3 weeks agoDon't use `Database::prepare()` in exporter
Cyperghost [Thu, 24 Oct 2024 09:55:27 +0000 (11:55 +0200)]
Don't use `Database::prepare()` in exporter

3 weeks agoMerge pull request #6033 from WoltLab/database-prepare-statement
Olaf Braun [Thu, 24 Oct 2024 09:28:44 +0000 (11:28 +0200)]
Merge pull request #6033 from WoltLab/database-prepare-statement

No longer use `Database::prepareStatement()`

4 weeks agoIt is not necessary to use `Database::prepare()` as no table is replaced. For example...
Cyperghost [Thu, 24 Oct 2024 07:50:24 +0000 (09:50 +0200)]
It is not necessary to use `Database::prepare()` as no table is replaced. For example, if a database is called `wcf1`, this may cause problems if `WCF_N != 1`.

4 weeks agoIt is not necessary to use `Database::prepare()` as no table is replaced.
Cyperghost [Thu, 24 Oct 2024 07:50:04 +0000 (09:50 +0200)]
It is not necessary to use `Database::prepare()` as no table is replaced.

4 weeks agoAdd since information
Cyperghost [Thu, 24 Oct 2024 07:45:56 +0000 (09:45 +0200)]
Add since information

4 weeks agoInsert fancybox in the section to check whether the file is up to date
Cyperghost [Thu, 24 Oct 2024 07:14:08 +0000 (09:14 +0200)]
Insert fancybox in the section to check whether the file is up to date

4 weeks agoAdd a function that creates a new fancybox with given content, using the default...
Cyperghost [Wed, 23 Oct 2024 11:36:31 +0000 (13:36 +0200)]
Add a function that creates a new fancybox with given content, using the default config.

4 weeks agoRemove unused language variables `wcf.imageViewer.*`
Cyperghost [Wed, 23 Oct 2024 11:32:46 +0000 (13:32 +0200)]
Remove unused language variables `wcf.imageViewer.*`

4 weeks agoManual calling of `[data-fancybox=“attachments”]` is not necessary, FancyBox groups...
Cyperghost [Wed, 23 Oct 2024 11:08:38 +0000 (13:08 +0200)]
Manual calling of `[data-fancybox=“attachments”]` is not necessary, FancyBox groups automatically

4 weeks agoUse `data-caption` instead of `title`
Cyperghost [Wed, 23 Oct 2024 11:07:22 +0000 (13:07 +0200)]
Use `data-caption` instead of `title`

4 weeks agoRemove japanese locale
Cyperghost [Wed, 23 Oct 2024 10:46:53 +0000 (12:46 +0200)]
Remove japanese locale

4 weeks agoFix typo
Cyperghost [Wed, 23 Oct 2024 10:43:54 +0000 (12:43 +0200)]
Fix typo

4 weeks agoUse `shared_imageViewer` instead of `imageViewer` template
Cyperghost [Wed, 23 Oct 2024 08:27:32 +0000 (10:27 +0200)]
Use `shared_imageViewer` instead of `imageViewer` template

4 weeks agoRemove using of `jsImageViewer` class and set `data-fancybox`
Cyperghost [Wed, 23 Oct 2024 08:08:42 +0000 (10:08 +0200)]
Remove using of `jsImageViewer` class and set `data-fancybox`

4 weeks agoMove `fancybox.css` to the correct style folder
Cyperghost [Wed, 23 Oct 2024 08:00:56 +0000 (10:00 +0200)]
Move `fancybox.css` to the correct style folder

4 weeks agoRemove unused `imageViewer.scss`
Cyperghost [Wed, 23 Oct 2024 08:00:05 +0000 (10:00 +0200)]
Remove unused `imageViewer.scss`

4 weeks agoMove ImageViewer setup to global Boostrap script
Cyperghost [Wed, 23 Oct 2024 07:59:31 +0000 (09:59 +0200)]
Move ImageViewer setup to global Boostrap script

4 weeks agoMove template `imageViewer` to shared templates
Cyperghost [Wed, 23 Oct 2024 07:54:47 +0000 (09:54 +0200)]
Move template `imageViewer` to shared templates

4 weeks agoLoad localization for fancybox
Cyperghost [Wed, 23 Oct 2024 07:37:59 +0000 (09:37 +0200)]
Load localization for fancybox

4 weeks agoRemove WCF.ImageViewer.js
Cyperghost [Wed, 23 Oct 2024 07:37:27 +0000 (09:37 +0200)]
Remove WCF.ImageViewer.js

4 weeks agoRun `tsc`
Cyperghost [Wed, 23 Oct 2024 06:49:07 +0000 (08:49 +0200)]
Run `tsc`

4 weeks agoMark `IImageViewerAction` as deprecated
Cyperghost [Wed, 23 Oct 2024 06:48:59 +0000 (08:48 +0200)]
Mark `IImageViewerAction` as deprecated

4 weeks agoMerge branch 'refs/heads/6.2' into fancybox
Cyperghost [Wed, 23 Oct 2024 06:38:37 +0000 (08:38 +0200)]
Merge branch 'refs/heads/6.2' into fancybox

# Conflicts:
# package-lock.json
# package.json

4 weeks agoRevert incorrect changes on DatabaseObject
Cyperghost [Wed, 23 Oct 2024 06:28:38 +0000 (08:28 +0200)]
Revert incorrect changes on DatabaseObject

4 weeks agoRemove wrong imports.
Olaf Braun [Tue, 22 Oct 2024 15:16:33 +0000 (17:16 +0200)]
Remove wrong imports.

4 weeks agoRemove an unnecessary space
Cyperghost [Tue, 22 Oct 2024 09:30:18 +0000 (11:30 +0200)]
Remove an unnecessary space

4 weeks agoRevert changes on spider update script
Cyperghost [Tue, 22 Oct 2024 09:29:36 +0000 (11:29 +0200)]
Revert changes on spider update script

4 weeks agoIn `ApplicationCacheBuilder` and `ApplicationHandler::insertRealDatabaseTableNames...
Cyperghost [Tue, 22 Oct 2024 07:51:27 +0000 (09:51 +0200)]
In `ApplicationCacheBuilder` and `ApplicationHandler::insertRealDatabaseTableNames()`, `Database::prepare()` mustn't be used

4 weeks agoRun `php-cs-fixer`
Cyperghost [Tue, 22 Oct 2024 07:05:26 +0000 (09:05 +0200)]
Run `php-cs-fixer`

4 weeks agoRemove old `woltlab-core-emoji-picker.js` file
Cyperghost [Mon, 21 Oct 2024 11:25:09 +0000 (13:25 +0200)]
Remove old `woltlab-core-emoji-picker.js` file

4 weeks agoCan't extends custom elements
Cyperghost [Fri, 18 Oct 2024 12:15:41 +0000 (14:15 +0200)]
Can't extends custom elements

4 weeks agoMove `getDataSource` to Localization.ts
Cyperghost [Fri, 18 Oct 2024 11:33:16 +0000 (13:33 +0200)]
Move `getDataSource` to Localization.ts

4 weeks agoRemove emoji data `da.json`
Cyperghost [Fri, 18 Oct 2024 11:11:27 +0000 (13:11 +0200)]
Remove emoji data `da.json`

4 weeks agoCheck if the smiley module disabled
Cyperghost [Fri, 18 Oct 2024 10:52:00 +0000 (12:52 +0200)]
Check if the smiley module disabled

4 weeks agoDisable Smiley module by default
Cyperghost [Fri, 18 Oct 2024 10:51:48 +0000 (12:51 +0200)]
Disable Smiley module by default

4 weeks agoAdd new const `DATABASE_FOR_AUTO_COMPLETE` for autocomplete
Cyperghost [Fri, 18 Oct 2024 10:48:54 +0000 (12:48 +0200)]
Add new const `DATABASE_FOR_AUTO_COMPLETE` for autocomplete
Load emoji from the emoji picker database and add them to smiley autocomplete

4 weeks agoAdd Emoji button to toolbar
Cyperghost [Fri, 18 Oct 2024 10:13:19 +0000 (12:13 +0200)]
Add Emoji button to toolbar

4 weeks agoUse `prepare()` instand of `prepareStatement()`
Cyperghost [Fri, 18 Oct 2024 09:38:20 +0000 (11:38 +0200)]
Use `prepare()` instand of `prepareStatement()`
Don't use `WCF_N` anymore

4 weeks agoMark `Database::prepareStatement()` as deprecated
Cyperghost [Fri, 18 Oct 2024 09:19:00 +0000 (11:19 +0200)]
Mark `Database::prepareStatement()` as deprecated
Implement `Database::prepareUnmanaged()`

4 weeks agoAdd `prettier-ignore` to the auto generated `Localization.ts`
Cyperghost [Fri, 18 Oct 2024 09:13:21 +0000 (11:13 +0200)]
Add `prettier-ignore` to the auto generated `Localization.ts`

4 weeks agoAdd a webpack script to generate an emoji picker bundle
Cyperghost [Fri, 18 Oct 2024 09:04:11 +0000 (11:04 +0200)]
Add a webpack script to generate an emoji picker bundle

4 weeks agoAdd pt and ru to the Localization.ts
Cyperghost [Fri, 18 Oct 2024 07:15:21 +0000 (09:15 +0200)]
Add pt and ru to the Localization.ts

4 weeks agoUse `getLocalizationData()`
Cyperghost [Thu, 17 Oct 2024 12:32:26 +0000 (14:32 +0200)]
Use `getLocalizationData()`

4 weeks agoAdd script to generate emoji picker localization
Cyperghost [Thu, 17 Oct 2024 12:27:09 +0000 (14:27 +0200)]
Add script to generate emoji picker localization
Add `woltlab-core-emoji-picker` element

4 weeks agoAdd script to store emoji data
Cyperghost [Thu, 17 Oct 2024 10:24:07 +0000 (12:24 +0200)]
Add script to store emoji data

4 weeks agoImport npm dependencies for emoji picker
Cyperghost [Thu, 17 Oct 2024 10:05:10 +0000 (12:05 +0200)]
Import npm dependencies for emoji picker

5 weeks agoMerge branch 'master' into 6.1
Alexander Ebert [Tue, 15 Oct 2024 14:09:41 +0000 (16:09 +0200)]
Merge branch 'master' into 6.1

5 weeks agoMerge branch '6.0'
Alexander Ebert [Tue, 15 Oct 2024 14:09:32 +0000 (16:09 +0200)]
Merge branch '6.0'

5 weeks agoUpdate the target branch for d.t.s
Alexander Ebert [Tue, 15 Oct 2024 14:09:16 +0000 (16:09 +0200)]
Update the target branch for d.t.s

5 weeks agoMerge pull request #6022 from WoltLab/abstract-comment-manager
Marcel Werk [Tue, 15 Oct 2024 13:02:40 +0000 (15:02 +0200)]
Merge pull request #6022 from WoltLab/abstract-comment-manager

`AbstractCommentManager` no longer inherits from `SingletonFactory`

5 weeks agoMerge branch '6.0'
Alexander Ebert [Tue, 15 Oct 2024 09:51:12 +0000 (11:51 +0200)]
Merge branch '6.0'

5 weeks ago`AbstractCommentManager` no longer inherits from `SingletonFactory`
Marcel Werk [Mon, 14 Oct 2024 13:55:07 +0000 (15:55 +0200)]
`AbstractCommentManager` no longer inherits from `SingletonFactory`

The dependency on `SingletonFactory` offers no added value, as the comment manager is not accessed directly and it is only instantiated once per object type in `ObjectType::getProcessor()`. At the same time, however, the dependency on `SingleFactory` prevents a `CommentManager` implementation from being used in different/multiple object types.

ref https://github.com/WoltLab/WCF/blob/master/wcfsetup/install/files/lib/data/object/type/ObjectType.class.php#L109

5 weeks agoRelease 6.0.18 6.0.18
Alexander Ebert [Mon, 14 Oct 2024 13:36:00 +0000 (15:36 +0200)]
Release 6.0.18

5 weeks agoFix the clean up of legacy overrides
Alexander Ebert [Mon, 14 Oct 2024 12:32:56 +0000 (14:32 +0200)]
Fix the clean up of legacy overrides

5 weeks agoMerge branch '5.5' into 6.0
Alexander Ebert [Mon, 14 Oct 2024 12:32:37 +0000 (14:32 +0200)]
Merge branch '5.5' into 6.0

5 weeks agoUse a per-version upgrade override
Alexander Ebert [Mon, 14 Oct 2024 12:30:54 +0000 (14:30 +0200)]
Use a per-version upgrade override

See https://www.woltlab.com/community/thread/308245-pr%C3%BCfung-auf-systemkompatibilit%C3%A4t-fehlerhaft-bei-upgrade-5-4-6-0/

5 weeks agoEnable the upgrade from 6.0 → 6.1
Alexander Ebert [Mon, 14 Oct 2024 12:26:27 +0000 (14:26 +0200)]
Enable the upgrade from 6.0 → 6.1

5 weeks agoUpdating minified JavaScript files
WoltLab [Mon, 14 Oct 2024 12:18:43 +0000 (12:18 +0000)]
Updating minified JavaScript files

5 weeks agoMerge branch '6.0'
Cyperghost [Mon, 14 Oct 2024 09:05:28 +0000 (11:05 +0200)]
Merge branch '6.0'

5 weeks agoMerge branch '5.5' into 6.0
Cyperghost [Mon, 14 Oct 2024 09:04:53 +0000 (11:04 +0200)]
Merge branch '5.5' into 6.0

5 weeks agoFixes the problem that after calling `DatePicker.setDate()` changing the time has...
Cyperghost [Mon, 14 Oct 2024 09:03:23 +0000 (11:03 +0200)]
Fixes the problem that after calling `DatePicker.setDate()` changing the time has no effect

See https://www.woltlab.com/community/thread/308863-datepicker-setdate-nicht-vollständig/

5 weeks agoRemove obsolete code
Marcel Werk [Fri, 11 Oct 2024 09:33:49 +0000 (11:33 +0200)]
Remove obsolete code

5 weeks agoRelease 6.1.0 RC 1 6.1.0_RC_1
Alexander Ebert [Thu, 10 Oct 2024 15:43:54 +0000 (17:43 +0200)]
Release 6.1.0 RC 1

5 weeks agoUpdating minified JavaScript files
WoltLab [Thu, 10 Oct 2024 14:31:43 +0000 (14:31 +0000)]
Updating minified JavaScript files

6 weeks agoFix the icon being duplicated when notices are inserted again
Alexander Ebert [Thu, 10 Oct 2024 08:48:19 +0000 (10:48 +0200)]
Fix the icon being duplicated when notices are inserted again

See https://www.woltlab.com/community/thread/308432-overflow-bei-leerem-benutzerprofil/
Closes #6005