d6d97f60 | 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 |
7f803aa8 | 07-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix data access for lookup types |
387ee210 | 06-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Pass current time instead of 0 to fetch data of latest page revision |
d4897163 | 06-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix revision handling in output (struct data for a page) |
a14cf85d | 02-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Use current time explicitly when fetching data for the latest revision of a page |
03307831 | 02-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Remove redundant serial code
There is actually very little need to split the handling of lookup (not page specific) and serial (page bound) data, because row ids are globally unique and never shared
Remove redundant serial code
There is actually very little need to split the handling of lookup (not page specific) and serial (page bound) data, because row ids are globally unique and never shared between those two types.
show more ...
|
efe74305 | 31-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix multi columns
Use the correct column for joining tables depending on data type. This is an initial "it works" implementation and should be revised and done more carefully. |
69f7ec8f | 30-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Using page revisions in inline editor guarantees that correct data access is initialized |
6fd73b4b | 25-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Inline editors are mostly adapted to new data access |
86a40c1e | 25-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Save empty page ids as strings, not NULL
pid is part of primary key and so must not be NULL. Otherwise the unique constraint does not work, SQLite effectively treats every NULL as unique. |
10575566 | 23-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Some fixme cleanups |
b9d35ff2 | 18-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Rudimentary handling of serial data
Serial data is bound to a page but does not affect versioning |
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 ...
|
3851b2fb | 16-Jan-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Enable using page struct data in dw2pdf templates |
c285142a | 13-Aug-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Register an additional hook for bureaucracy plugin |
2a09b9b1 | 08-May-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Revert "fixes #337"
This reverts commit eaab469c00cfe321e34b8028f8f0004daa52b91e.
Commit introduced warnings.
The attempt is no longer needed after the renderer filter has been updated in bdefb930
Revert "fixes #337"
This reverts commit eaab469c00cfe321e34b8028f8f0004daa52b91e.
Commit introduced warnings.
The attempt is no longer needed after the renderer filter has been updated in bdefb930abae6d653aa258a13b39db107380fb3e
show more ...
|
e46eaffd | 30-Apr-2019 |
Szymon Olewniczak <solewniczak@rid.pl> |
Becouse there are plugins that extends the Lookup type, we should check if the column is Lookup or one of its descendants. |
f0ee60b9 | 16-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Fix saved lookup row not being displayed
This fixes a bug that was introduced in ff2afc7c7bdf9f04b6bc2917af42ff865757c54d
When saving the lookup we need the id of the row we just saved to create
Fix saved lookup row not being displayed
This fixes a bug that was introduced in ff2afc7c7bdf9f04b6bc2917af42ff865757c54d
When saving the lookup we need the id of the row we just saved to create the response to the original ajax request.
Closes #398
show more ...
|
f2f92f4e | 16-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
♻️ Rename methods to camel case |
6d49455c | 16-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Remove unnecessary guard
Files should only define classes or run code |
cdbf54b4 | 16-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Autofix whitespace |
df8d9fff | 07-Jul-2018 |
Michael Große <mic.grosse@googlemail.com> |
Prevent PHP7 warning and check if countable first |
ff2afc7c | 22-May-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: Move saving of lookup row to helper method
This should make saving lookup data easier, both for tests and external plugins |
9007da58 | 24-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
Fix PHP notices |