Commit graph

131 commits

Author SHA1 Message Date
38a2be296a Migrate test fixtures to PHP Data Sets
That will ease maintenance.
XML is no longer supported by TYPO3 Testing Framework.

Resolves: #109
2023-05-11 15:16:43 +02:00
bbeeea7f5c Make sql within tests on CI more robust 2023-05-11 09:52:18 +02:00
507176bd23 Allow execution of cs-fixer with PHP 8.2 2023-05-11 09:19:40 +02:00
feeb7d4235 Migrate to php-cs-fixer 2023-04-27 11:12:10 +02:00
a0d577e89f Remove leftovers of rector 2023-04-27 11:12:10 +02:00
d604014297 Streamline composer.json 2023-04-27 11:12:10 +02:00
ed4e8a1c20
Add shell.nix for easier local development (#107) 2023-04-26 17:23:03 +02:00
20070cf531
Ignore "Uptime-Kuma" checker by default (#106)
Resolves: #105
2023-04-26 17:14:56 +02:00
cd9cb3f2a8
Support TYPO3 v12.4 LTS (#104) 2023-04-25 09:32:33 +02:00
6f71db0abd
Support TYPO3 v12.3 (#103) 2023-04-03 09:55:26 +02:00
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