• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TYPO3-Headless / headless / 6668208320
73%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2023 02:03PM UTC
Jobs 1
Files 69
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Oct 2023 02:00PM UTC coverage: 63.721% (+0.7%) from 62.989%
6668208320

push

github

web-flow
[PoC][FEATURE] Introduce mixed mode for headless (#578)

* [FEATURE] Introduce mixed mode for headless

Patch introduces new way for checking if we are in headless mode, you can set not enabled, mixed mode (fluid & headless at the same time), or full headless mode.

To configure headless mode, please use site configuration flag, for example:
`
   'headless': 0|1|2
`
Legacy flag (true|false) is respected, but please migrate to integer notation

Possible options:
 0 (old: false) = headless disabled for site in TYPO3 instance
 1 (old: true) = headless fully enabled site in TYPO3 instance
 2 = headless in mixed mode (fluid & json API in one site in TYPO3 instance)

Values 0 (old: false) or 1 (old: true) inform extension to fully disable/enable headless for particular site.

To enable mixed mode for chosen site in TYPO3 you need to:
- In typoscript template for site, you have to load "Headless - Mixed mode JSON response" setup file instead of default headless one.
- set `headless` flag to value of `2` site configuration's file or configure flag via editor in Site's management backend

Mixed mode flag (value of `2`) inform EXT:headless extension to additionally check for `Accept` header with value `application/json` when processing request to the particular site in TYPO3 instance.

In case of request without `Accept` header or `Accept` with different value than `application/json` TYPO3 will respond with HTML content (standard TYPO3's response)
In case of request with header `Accept` match value of `application/json`, TYPO3 will respond with JSON response.

resolves #94 #578 #348

28 of 28 new or added lines in 7 files covered. (100.0%)

822 of 1290 relevant lines covered (63.72%)

2.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6668208320.1 27 Oct 2023 02:03PM UTC 0
63.72
GitHub Action Run
Source Files on build 6668208320
Detailed source file information is not available for this build.
  • Back to Repo
  • b6a16206 on github
  • Prev Build on master (#6380654379)
  • Next Build on master (#6690795010)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc