Project

General

Profile

Feature #11035

QFQ without Typo3

Added by Marc Egger 2 months ago. Updated 4 days ago.

Status:
Priorize
Priority:
Normal
Assignee:
Target version:
Start date:
18.08.2020
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

Provide an optional way of rendering QFQ reports without Typo3.

Especially useful for selenium tests.

Use a template engine like Twig or PhpCake or plain PHP.

Possible hurdles:
- Config
- Typo3 Variables
- User management
- Page ID and Link

Associated revisions

Revision 4abb17bd (diff)
Added by Marc Egger 2 months ago

Refs #11035 qfq runs without T3, but paths not right usw. A lot to do.

Revision cb051f41 (diff)
Added by Marc Egger 2 months ago

Refs #11035 replace all paths from Constans.php with Path:: functions

Revision 65501a4c (diff)
Added by Marc Egger 2 months ago

Refs #11035 move all path constants into Path.php

Revision 611d0131 (diff)
Added by Marc Egger 2 months ago

Refs #11035 use Path:: for paths that are defined in config. Except for Log & absolute paths... they need more work.

Revision c0afbe31 (diff)
Added by Marc Egger 2 months ago

Refs #11035 rename Path:: functions and constants from {a}relTo{b} to {b}to{a}.

Revision e658bbf8 (diff)
Added by Marc Egger 2 months ago

Refs #11035 change path to CWD when API is called.

Revision 426aa27e (diff)
Added by Marc Egger 2 months ago

Refs #11035 Replace config.qfq.php with qfq.json. find project path by searching for config.

Revision 4e5cfa1a (diff)
Added by Marc Egger about 2 months ago

Refs #11035 Config.php: rewrite read_config()

Revision 8e1f4824 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 Config.php: extract typo3 part of readConfig()

Revision 0173273a (diff)
Added by Marc Egger about 2 months ago

Refs #11035 read project path from qfq.project.path.php

Revision 045b4ed5 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 small change

Revision 03729ec6 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 remove SYSTEM from path constants

Revision b2563c47 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 move path setting into try statements

Revision cf4c7b56 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 subpress exceptions when rendering inline editor in Exception

Revision b71577ab (diff)
Added by Marc Egger about 2 months ago

Refs #11035 replace log paths from store with ones from PATH::

Revision 606a14e8 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 remove my own filename sanitization function

Revision d5b53418 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 fix bug if ttContent has empty header. Introduced in last commit.

Revision 0aa47d34 (diff)
Added by Marc Egger about 2 months ago

Refs #11035 AbstractException.php: also catch Errors during report editor rendering

Revision 64db22fa (diff)
Added by Marc Egger about 2 months ago

Refs #11035 get selenium running locally and start to clean up

Revision ad6beb6c (diff)
Added by Marc Egger about 2 months ago

Refs #11035 clean up selenium tests

Revision eec4b39e (diff)
Added by Marc Egger about 2 months ago

Refs #11035 Database.php: small fix

Revision a7984d17 (diff)
Added by Marc Egger about 1 month ago

Refs #11035 fix Form Pills and Exception Font Color CSS

History

#1 Updated by Marc Egger 2 months ago

  • Description updated (diff)

#2 Updated by Marc Egger 2 months ago

  • Status changed from New to Priorize

#3 Updated by Marc Egger 2 months ago

  • Status changed from Priorize to In Progress

#4 Updated by Marc Egger 2 months ago

Currently there are two places for QFQ config:

(DB) Database Credentials: typo3conf/config.qfq.php
(OTHER) Everything else: typo3conf/LocalConfiguration.php

The following is a proposal for the file structure and qfq configuration location for new projects with and without Typo3:

new with Typo3

.
├── form
├── report
├── resource
│   └── thumbnail
├── log
├── app (served by apache)
│   ├── index.php
│   └── typo3conf
│       ├── LocalConfiguration.php (OTHER > has higher prio than qfq.config.json)
│       └── ext
│           └── qfq
└── qfq.json (DB) + (OTHER)

The root folder may be named freely. It is called "qfqProject" internally.

new without Typo3

.
├── form
├── report
├── resource
│   └── thumbnail
├── log
├── app (served by apache)
│   ├── index.php
│   └── qfq
└── qfq.json (DB) + (OTHER)

For existing projects an upgrade to the new QFQ version will produce the following file structure:

old with form/report as file

.
├── fileadmin
│   └── protected
│       └── qfqProject
│           ├── form
│           ├── report
│           ├── resource
│           │   └── thumbnail
│           ├── log
│           └── qfq.json (DB) + (OTHER)
├── index.php
└── typo3conf
    ├── LocalConfiguration.php (OTHER > has higher prio than qfq.config.json)
    └── ext
        └── qfq

#5 Updated by Marc Egger 4 days ago

  • Status changed from In Progress to Priorize

Also available in: Atom PDF