mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-15 08:16:13 +01:00
Commit graph

1101 commits

Author SHA1 Message Date
Łukasz Uznański
a62d9ae58d
Fix to copypaste check for gitlab ci (#180) 2020-12-01 23:39:46 +01:00
Oliver Klee
2344557abc
[CLEANUP] Autoformat all files (#175)
This will reduce unrelated autoformatting changes in other commits
(and it also makes the code more readable).
2020-12-01 23:12:34 +01:00
Oliver Klee
0d09a2f0ac
[CLEANUP] Adapt the TypoScript lint settings to the .editorconfig settings (#179)
Like in the Core, TypoScript needs to be indented with 2 spaces, not
4 spaces.

Also reformat the TypoScript files accordingly.
2020-12-01 03:01:54 +01:00
Oliver Klee
373c7965b4
[CLEANUP] Adopt .editorconfig settings from the TYPO3 core (#176)
Also drop redundancies and sort the entries.
2020-11-29 21:15:29 +01:00
Łukasz Uznański
dee89c5266
[TASK] Prepare documentation rendering (#157)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-29 18:28:34 +01:00
Oliver Klee
e92bd668a0
[FEATURE] Adopt the stylelint configuration from the TYPO3 Core (#177) 2020-11-29 17:44:58 +01:00
Oliver Klee
c239eaf1c4
[CLEANUP] Sort the lines in the .gitignore and .gitattributes (#178) 2020-11-29 17:34:28 +01:00
Oliver Klee
1d81f981f9
[BUGFIX] Fix cache keys for the Composer cache in GitHub Actions (#174)
The key must not be split across multiple lines.
2020-11-29 15:04:50 +01:00
Oliver Klee
f9aac63ae7
[BUGFIX] Explicitly set the Ubuntu version for GitHub Actions (#162)
This fixes a warning when running the CI build.

As the functional tests currently do not run with the Ubuntu 20.04
runner, we need to keep using 18.04.

Also explicitly require the `mysqli` PHP extension.
2020-11-27 01:41:24 +01:00
Oliver Klee
a9026832d6
[CLEANUP] Explicitly set the Ubuntu version for most CI steps (#172) 2020-11-24 20:36:29 +01:00
Oliver Klee
b4936ebb6a
[BUGFIX] Fix the CI build with the lowest dependencies (#170)
- fix a syntax error in the `ci.yml`
- also update/downgrade transitive dependencies
- add a conflict with broken versions of typo3/class-alias-loader
- use a Composer-2-compatible version of `helhum/typo3-composer-setup`
- start running the unit and functional tests with the lowest
  dependencies on GitHub Actions

Fixes #50
2020-11-24 02:14:15 +01:00
Oliver Klee
bc21852ba0
[CLEANUP] Consistently quote all CI step names for GitHub actions (#168) 2020-11-24 02:08:42 +01:00
Oliver Klee
898819d468
[TASK] Explicitly use Composer 2 on GitHub actions (#169) 2020-11-24 02:07:55 +01:00
Oliver Klee
606775161f
[FEATURE] Add a configuration for XML files to the .editorconfig (#166)
Fixes #163
2020-11-24 02:06:45 +01:00
Oliver Klee
a8e78e39b3
[TASK] Stop displaying a progress bar during composer require (#167)
Progress bars do not make sense when the output is logged
(like on GitHub actions).
2020-11-24 02:02:32 +01:00
Oliver Klee
b38ed0fa7b
[BUGFIX] Stop treating *.ts files as TypoScript in the .editorconfig (#165)
`*.ts` are TypeScript files, not TypoScript files.
2020-11-24 02:01:21 +01:00
Oliver Klee
1dde5c6556
[CLEANUP] Polish the comments in .editorconfig (#164) 2020-11-24 01:50:33 +01:00
Łukasz Uznański
ddecb3009f
[FEATURE] Add phpcpd (#149)
Resolves: #129
2020-11-21 18:21:09 +01:00
Oliver Klee
091e00e478
[FEATURE] Also run the CI build once a week (#160)
This will allow us to catch problems with dependencies or
the build environment, i.e., problems that are not related
to changes in our code base.
2020-11-21 17:58:35 +01:00
Łukasz Uznański
3366e63eff
[TASK] Add feature list (#148)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-18 12:59:48 +01:00
Łukasz Uznański
3177d45497
[BUGFIX] Fix to GitLab regression (#158)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-16 22:31:35 +01:00
Łukasz Uznański
283ef5e9eb
Migrate secret detection in gitlab ci (#156)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-04 18:08:50 +01:00
Oliver Klee
6d50a29034
[TASK] Smoothen the way to Composer 2 (#152)
- drop the `--no-suggest` option that was deprecated in Composer 2
- output the Composer version to make debugging problems easier
2020-10-31 19:18:59 +01:00
Łukasz Uznański
4dc98a081a
[TASK] Add one command to do sniffers and fixers (#147)
Resolves: #116

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-10-31 15:24:18 +01:00
Łukasz Uznański
d4ec80de29
[FEATURE] Add frontend linting (#120)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-31 15:04:44 +01:00
Oliver Klee
ab7e5c45f5
[BUGFIX] Drop a surplus hyphen in the CI step definitions (#153) 2020-10-31 12:38:41 +01:00
Oliver Klee
b74d84b5e6
[BUGFIX] Fix a typo in a CI status badge alt text (#151) 2020-10-31 12:32:28 +01:00
Łukasz Uznański
3f0e697c1b
[TASK] Add more files to php sniffing and fixing (#123)
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-14 11:42:00 +02:00
Łukasz Uznański
2052efda26
[TASK] Sniff and codestyle fix to php in configuration dir (#122)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-10-14 11:06:07 +02:00
Oliver Klee
79a6018501
[BUGFIX] Always use the configuration file for php-cs-fixer (#119)
Fixes #114
2020-10-11 15:17:18 +02:00
Oliver Klee
14c3a513c1
[BUGFIX] Only show the default branch status in the CI badge (#118)
We only want to see whether the build for the current default branch
is successful, not the status of any other branches or PRs.

Also make the alt text for the badge more specific as we now have
two CI builds (GitHub and GitLab).
2020-10-11 15:17:07 +02:00
Oliver Klee
3cc4abb092
[TASK] Switch the default branch from master to main (#117)
Also update URLs to other repositories that also have done
the switch.
2020-10-10 14:02:59 +02:00
Łukasz Uznański
0338647e34
[TASK] Remove security checker (#111)
Resolves: #110
2020-10-07 14:10:44 +02:00
Łukasz Uznański
38641babb1
[TASK] Rename dist files (#112)
Resolves: #68
2020-10-07 14:03:20 +02:00
Łukasz Uznański
09335d7e70
[TASK] Add gitlab ci badge (#108)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-10-04 15:46:37 +02:00
Łukasz Uznański
a0794a8f53
[TASK] Add gitattributes (#107)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-23 13:50:47 +02:00
Łukasz Uznański
ac59a7ffd2
[TASK] Add test stage to gitlab CI (#103)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-22 23:16:08 +02:00
Łukasz Uznański
c8d2cf9849
[TASK] Rework gitlab ci dependencies (#109)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-22 22:29:38 +02:00
Łukasz Uznański
367066ca97
[TASK] Move gitlab pipeline to directory (#100)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-12 18:15:53 +02:00
Łukasz Uznański
f812769c15
[TASK] Add lint stage in gitlab ci (#82) 2020-09-05 12:37:50 +02:00
Łukasz Uznański
11e27d01ae
[TASK] Use official xmlns in templates (#98) 2020-09-05 12:29:57 +02:00
Łukasz Uznański
e7a46364e0
[TASK] Fix find command for json and yaml lint (#92)
Resolves: #91

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-04 20:43:33 +02:00
Łukasz Uznański
b76acbd734
[TASK] Remove install-extension-dummy from composer.json (#93)
Resolves: #90

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-04 20:40:17 +02:00
Łukasz Uznański
c495b03267
[TASK] Download xliff schema during CI instead of keeping it in repository (#95)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-04 20:39:06 +02:00
Łukasz Uznański
78c45b1341
[TASK] Reduce GitHub actions builds (#86)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-25 17:06:41 +02:00
Łukasz Uznański
30bc3a0152
[FEATURE] Add code quality stage (#88)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 15:41:48 +02:00
Łukasz Uznański
c288c91a08
[TASK] Add gitlab autochecks (#87)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 13:51:20 +02:00
Łukasz Uznański
ee7e76e18f
[TASK] Add PHP YAML lint instead of GitHub action (#84)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 13:49:10 +02:00
Łukasz Uznański
dc3f774966
[FEATURE] Add security check (#78)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 11:49:53 +02:00
Łukasz Uznański
e10161203e
[TASK] Run dynamic tests only if PHP lint succeds (#85)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-08-05 11:40:46 +02:00