Commit graph

121 commits

Author SHA1 Message Date
60a1932a71
Support TYPO3 12.2 (#102)
Adjust tests to still work with TYPO3 commit
1fd78d5daa489a487df0682a38a1a1ecc5d0f3d0.
2023-02-07 12:39:48 +01:00
c14cba6b53
Add PHP 8.2 support (#101) 2023-01-08 15:34:37 +01:00
171312502c
Remove configuration files (#100)
dependency checker got removed long ago.
Add further files to export-ignore. This prevents those files from
distribution when installed via composer or downloaded as zip.
2023-01-08 15:28:01 +01:00
9f24518a0b
Support TYPO3 v12.1 (#96)
* Support TYPO3 v12.0

All dependencies are compatible now.
We can update to support v12.0.

This commit will shift TYPO3 support from 10 and 11 to 11 and 12.
See Changelog entry.

Update dev dependencies to our latest best practice.
Auto migrate code base to follow CGL and use PHP 7.4.
2022-12-07 13:37:19 +01:00
89c4ad0ec0
Bump GitHub Actions checkout to v3 (#98)
As v2 uses old NodeJS which is deprecated.
This change removes warnings from GitHub Actions.
2022-10-24 10:02:38 +02:00
1dbdaac9c6
Support PHP 8.1 (#95) 2022-09-21 13:21:45 +02:00
aad222d197
Remove composer from CI tools when not necessary (#93)
Just a small clean up
2022-09-21 13:15:51 +02:00
208928e0e9
Prevent unnecessary files from distribution (#92)
Use .gitattributes to tell git what to ignore during exports.
This will prevent GitHub from adding those files to an archive.

Composer will use the GitHub archive as distribution while downloading.

This prevents none necessary files on production systems. This also
reduces file size of archive and should save disk space and other
resources.
2022-09-21 13:13:39 +02:00
50300d5cb2 Fix wrong example in changelog for upcoming v1.3.0 2022-09-20 09:56:01 +02:00
f0bb1d03a8 Fix broken recordview introduced with last commit
Relates: #86
2022-09-16 15:03:47 +02:00
39529be49a Allow to use expressions with PHP 8.x
Introduce new traverse function taken from TYPO3 TypoScript conditions.

Relates: #86
2022-09-16 14:45:54 +02:00
5b4a379978 Add strict_types and move namespace definition
To follow my new conventions.
2022-09-16 14:11:58 +02:00
bcd94f9826 Release 1.2.0 2022-08-05 21:42:57 +02:00
Kay Strobach
8b4a7206ee [FEATURE] Ignore UptimeRobot and Pingdom requests for statistics 2022-08-05 21:17:56 +02:00
e1f3613bb2 Trigger CI on pull_request
Foreign contributions did not trigger the CI.
This change will trigger CI also on foreign contributions (PRs).
2022-08-05 21:11:42 +02:00
3b0fb209c2 Do not create error in Symfony Expression Language on missing User Agent 2022-04-14 10:32:04 +02:00
7f63ae8262 Satisfy phpstan for now 2022-04-14 10:26:07 +02:00
d1819ee528 Ignore newly reported phpstan issues from new doctrine version 2022-02-02 13:28:02 +01:00
6cef293298 Fix broken performance of list module
TYPO3 queries information of translations.
The fix adds database indices which are also applied for tt_content
by TYPO3 itself.
This fixes slow loading times of the list module.
2022-02-02 13:28:02 +01:00
c1a23aa538 Allow installation of composer-require-checker again
Require compatible version, no need to be to fancy.
The given version is compatible with same set of combinations.
We still ignore 7.3 as there is no compatible setup.
2022-01-06 08:36:28 +01:00
b7adf27475 Fix new PHPStan issues 2022-01-06 08:36:28 +01:00
2efe65c5b2 Support composer 2.2 new allow-plugins configuration
In order to install all necessary composer plugins which we already
trust.
2022-01-06 08:36:28 +01:00
456c86b492 Update PHPStan
PHPStan was released with first stable public version 1.x.
The version is updated together with extensions.

The new version finds new issues which are solved right away to not
break CI.
2022-01-06 08:10:02 +01:00
e55f1da281 Raise from TYPO3 11.4 to 11.5 2021-11-25 09:35:47 +01:00
17a844b857 Fix GitHub Actions CI
Set COMPOSER_TOKEN in each step, as this broke some when.
Also disable "coverage", to improve speed, inspired from EXT:tea.
Use "include" to remove duplicate jobs with different versions, inspired
from EXT:tea.
Remove caches as they were not properly configured. Maybe add them later
inspired from EXT:tea?!
2021-11-25 09:16:56 +01:00
5ca8721abb Ensure downgrade works in CI
Merge multiple composer steps into one to circumvent mixed up state.
Otherwise some versions might be locked, preventing downgrades.
Also should save bandwidth and time by only installing dependencies once.
2021-09-17 09:36:59 +02:00
85eab43131 Fix composer Could not authenticate against github.com on CI
See:
    * https://github.com/shivammathur/setup-php#composer-github-oauth
    * https://docs.github.com/en/actions/reference/authentication-in-a-workflow
2021-09-17 09:36:59 +02:00
337f0b1098 Use custom fork of typo3/testing-framework for now
This includes a bug fix to allow execution of functional tests.
The fix is already open as PR in the upstream repo.
2021-09-17 09:36:59 +02:00
8103025899 Support TYPO3 11.4 2021-09-17 09:36:59 +02:00
73e2ec0214 Add functional tests regarding actual frontend request tracking
Ensures pageview and recordview are tracked as expected.

Relates: #46
2021-08-16 11:18:32 +02:00
721b6e5a31 Support PHP 7.3
- Extend CI to test everything against PHP 7.3
- Update composer to allow installation with PHP 7.3
- Remove dependency checker, install loosely within CI to get compatible
  version with actual PHP version.
- Adjust CI to use PHP compatible MySQL versions.

Relates: #69
2021-08-11 12:15:57 +02:00
0d1366f386 Update sponsoring information 2021-08-03 12:49:52 +02:00
67c2d22f15 Fix performance issue of PageviewsPerDay widget
Issue a single query with native group by instead of x queries.

Resolves: #63
2021-08-03 12:04:55 +02:00
9624847b9a Raise version for extension manager
The next version will be 1.1.2, which already exists in changelog.
This needs to be reflected by ext_emconf.php.
2021-08-03 10:44:17 +02:00
e2a23c6455 Improve performance of widgets with large datasets
Provide database index for widgets which is used by widget queries to
fetch data way faster, e.g. 0.1 instead of > 5 seconds in one concrete
project.

Relates: #63
2021-08-03 10:41:01 +02:00
f3b4ae3c3b Raise from TYPO3 11.2 to 11.3
Only support latest public release of current TYPO3 dev releases.
2021-08-03 10:27:12 +02:00
50741e6531 Release 1.1.1
Add changelog entry.
Raise version number.
2021-06-02 06:53:02 +02:00
92e7795752 Mark extension as stable within extension manager
This extension is already stable.
It is used since a year in multiple production systems.
Don't provide a bad feeling to integrators and users.
2021-06-02 06:47:45 +02:00
ad97b6597f Add missing changelog for 1.1.0 2021-06-02 06:44:16 +02:00
9a4f71bce4 Allow copy of pages
Pages can not be copied by administrators as DataHandler will copy all
pages, including tx_tracking_* tables.
Those are not allowed on tables which will result in error messages.

A test is added to simulate the action and ensure it doesn't fail with
errors.

Results: #52
2021-06-02 06:25:27 +02:00
1c669f52c7 Remove --no-suggest from CI
This is no longer supported by composer V2.
2021-05-24 23:06:34 +02:00
adb73eeffc Switch to ECS for coding style
This allows configuration via PHP.
It also combines code sniffer and php cs fixer.

Used commands:

composer remove --dev squizlabs/php_codesniffer
composer req --dev symplify/easy-coding-standard
./vendor/bin/ecs --fix
2021-05-24 22:11:46 +02:00
165b110e01 Always use TestCase of testing framework
That way the framework can add extra logic like cleanup.
We don't have to worry about such things.
2021-05-19 22:39:22 +02:00
b6d1189f4d Add necessary transOrigPointerField
This is required by list module, As we define a languageField.
Might be a bug, but BackendUtility::translationCount() will fail if 2nd
field is missing.

Fixed in current TYPO3 master and therefore with v11.3,
see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69180
2021-05-19 22:21:17 +02:00
3c10aa6d10 Support TYPO3 v11.2 and PHP 8.0 beside current v10.4 and 7.4. 2021-05-19 22:21:17 +02:00
a6a170b61e Increase version number for extension manager 2021-01-07 10:11:47 +01:00
3c996aca19 Add changelog and contributions 2021-01-07 10:00:38 +01:00
dfa75fb436 Fix broken CI due to unwanted PHP update
Force specific PHP version for all necessary CI steps.
2021-01-07 09:55:24 +01:00
eb3d14a784 Fix statement regarding production usage 2020-12-01 11:40:23 +01:00
443e042d82 Remove security checker
It will report old TYPO3 versions which we support, but don't require.
Therefore it does not provide a benefit but breaks builds.
The package is intended for projects, not libraries.
2020-12-01 11:23:23 +01:00