History log of /plugin/struct/syntax/table.php (Results 1 – 25 of 54)
Revision Date Author Comments
# 67f70d54 18-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Revert "Lazy search execution"

This reverts commit 95a8e37d986b141b2caee5b396741b93cd31c0e6.


# 95a8e37d 18-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Lazy search execution

Move search out of aggregation constructors. It should only be executed
before actual rendering, not e.g. on metadata run


# 7234bfb1 13-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


# 039b05b8 09-Aug-2023 Andreas Gohr <andi@splitbrain.org>

add check for proper class hiearchy in table syntax

Plugins extend this class, but may not inherit from Aggregation, yet.
A proper error should be shown.


# 299ca8cc 19-Jul-2023 Andreas Gohr <andi@splitbrain.org>

make it easier to adjust/extend the search queries

Syntax components can overwrite getSearchConfig() and implement their
own SearchConfig that then can overwrite runSQLBuilder() to access the
underl

make it easier to adjust/extend the search queries

Syntax components can overwrite getSearchConfig() and implement their
own SearchConfig that then can overwrite runSQLBuilder() to access the
underlying QueryBuilder

show more ...


# af0ce8d2 26-Jun-2023 Andreas Gohr <andi@splitbrain.org>

added classes config parameter

This allows users to set custom CSS classes on aggregations potentially
restyling them differently for different use cases.

This makes startScope and finishScope part

added classes config parameter

This allows users to set custom CSS classes on aggregations potentially
restyling them differently for different use cases.

This makes startScope and finishScope part of the public API of the
Aggregation class. It should no longer be called within render() but is
instead called outside.

This might potentially break plugins implementing their own
aggregations. Needs to be checked

show more ...


# ce44c639 26-Jun-2023 Andreas Gohr <andi@splitbrain.org>

Add indexing support

Using the index keyword, lists can now have an alphabetical Index at the
top level.


# d90aa848 22-Jun-2023 Andreas Gohr <andi@splitbrain.org>

some streamlining for the aggregation classes

Have an abstract base class for aggregations to ensure proper
signatures, reuse more code from the table syntax


# 659863b4 27-Sep-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Fix code style


# 25ed0c0d 26-Aug-2022 Andreas Gohr <andi@splitbrain.org>

avoid a couple of PHP8 warnings


# 0549dcc5 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


# 30bf61e6 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

Apply aggregation type specific filters in render phase

The different aggregation types add their own filters to ensure that the
appropriate data is selected. This used to happen in handle() but thi

Apply aggregation type specific filters in render phase

The different aggregation types add their own filters to ensure that the
appropriate data is selected. This used to happen in handle() but this
meant that theses filters were only ever updated when the syntax of the
page they are used in is updated.

Since we refer to getID() to filter serial schemas based on the global
ID to enable their use in includes, we can not have that in the handle
stage, otherwise output is always filtered for the include ID.

show more ...


# ca94dee6 08-Apr-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Fix caching of struct aggregations

Remove a renderer check inappropriate for table views


# 34ea6e10 16-Feb-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Eliminate warnings in PHP 8


# 83de40a8 17-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Remove remnants of obsolete $idColumn parameter


# c797933d 13-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Remove default filter that limited aggregation tables to page data


# 61356325 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic coding style fixes


# d400a5f0 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Fix permission check in page aggregations


# 0ceefd5c 11-Mar-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Start unifying schema types

Schemas per se are type agnostic, isLookup property is removed. Data is stored and accessed differently based on how it is entered and retrieved.

The crucial change is i

Start unifying schema types

Schemas per se are type agnostic, isLookup property is removed. Data is stored and accessed differently based on how it is entered and retrieved.

The crucial change is introduction of the composite key of pid and rid. Previous page data utilizes rid = 0 to differentiate itself. Other types, notably lookup, have autoincrementing rid.

Database migration is not implemented yet.

show more ...


# 06fee43a 21-Nov-2016 Michael Grosse <grosse@cosmocode.de>

feat: Enable usage in sidebars etc.

By replacing $ID with $INFO['id'] the entries now work in sidebars and
especially in the new footers (see SPR-699) as expected.

Tested:
* Sorting
* Dynamic filte

feat: Enable usage in sidebars etc.

By replacing $ID with $INFO['id'] the entries now work in sidebars and
especially in the new footers (see SPR-699) as expected.

Tested:
* Sorting
* Dynamic filters
* $STRUCT.tablename.field$ placeholder
* $ID placeholders

SPR-348

show more ...


# 6ce83f43 02-Nov-2016 Andreas Gohr <gohr@cosmocode.de>

disable pagination on CSV export


# 3f2a8309 11-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

cleaned up lookup syntax

This syntax is used to load the full editor for a lookup table. It
inherits most functionality from the table syntax but uses a different
output class and will always select

cleaned up lookup syntax

This syntax is used to load the full editor for a lookup table. It
inherits most functionality from the table syntax but uses a different
output class and will always select all columns.

show more ...


# ba4522e6 11-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

Schema existence is now checked in Search

this avoids instantiating the schema twice


# f25d10fd 16-Jun-2016 Michael Grosse <grosse@cosmocode.de>

Utilize StructException's translation handling


# b2c109bd 16-Jun-2016 Michael Grosse <grosse@cosmocode.de>

Use existing exception instead of new msg handling


123