| aeb8444c | 01-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Consolidate table access classes |
| 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. |
| 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 |
| 2e0e9347 | 09-Nov-2019 |
Szymon Olewniczak <solewniczak@rid.pl> |
The pull request: #464 causes a fatal error when the "$this->column" is false which may happen when the column is not defined. This commit fixes that. |
| 5275870b | 05-Sep-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Make field ids more unique
On some systems the timestamp-based field ids were not unique. In addition to being invalid HTML, this broke e.g. date pickers. Might explain and solve #375 |
| 70bded85 | 27-Aug-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Display human readable labels in error messages |
| 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. |
| 609bd281 | 03-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Fix fatal error if no sqlite adapter is available
If the sqlite plugin is installed and active, but no sqlite is available to the php binary (e.g. if the extension is not installed or not enabled
Fix fatal error if no sqlite adapter is available
If the sqlite plugin is installed and active, but no sqlite is available to the php binary (e.g. if the extension is not installed or not enabled) then that would cause a fatal error, because getAdapter returns null and that case and trying to access getName on null doesn't work.
Closes #440
show more ...
|
| 987ccc7f | 10-Jan-2018 |
Szymon Olewniczak <solewniczak@rid.pl> |
use multi input in bureaucracy forms
this commit fixes a bug that causes an error when submitting bureaucracy form with struct multi input.
additionally it fixes one minor bug that causes struct lo
use multi input in bureaucracy forms
this commit fixes a bug that causes an error when submitting bureaucracy form with struct multi input.
additionally it fixes one minor bug that causes struct lookup fields loosing their selected values when a bureaucracy form was send with an error.
works only with: https://github.com/splitbrain/dokuwiki-plugin-bureaucracy/pull/226
show more ...
|
| 6d71ffef | 09-Jan-2018 |
Szymon Olewniczak <solewniczak@rid.pl> |
fix: proper error handling |
| 131fd507 | 09-Jan-2018 |
Szymon Olewniczak <solewniczak@rid.pl> |
fix: to proper handle placeholders in default values for struct fields, we must validate them only on submit |
| b193f1ee | 08-Jan-2018 |
Szymon Olewniczak <solewniczak@rid.pl> |
"struct_lookup" action for bureaucracy
Action allows create struct lookup entries using bureaucracy form. Syntax: <form> action struct_lookup ... </form>
<form> can contain any number of st
"struct_lookup" action for bureaucracy
Action allows create struct lookup entries using bureaucracy form. Syntax: <form> action struct_lookup ... </form>
<form> can contain any number of struct_field or struct_schema. Data will be saved to respective lookup schemas.
show more ...
|
| 0db0cd8a | 07-Dec-2017 |
Szymon Olewniczak <solewniczak@rid.pl> |
feature: hidden fields in bueraucracy form from struct fields
This commit adds extra syntax which allow us to add struct fields to bureaucracy forms as hidden fields:
struct_fieldhidden "products
feature: hidden fields in bueraucracy form from struct fields
This commit adds extra syntax which allow us to add struct fields to bureaucracy forms as hidden fields:
struct_fieldhidden "products.product" "=value"
This only make sense with #354
show more ...
|
| 89be912b | 07-Dec-2017 |
Szymon Olewniczak <solewniczak@rid.pl> |
fix: struct_field in bureaucracy form now supports a default value
Before that we cannot use bureaucracy default values for struct_field ("=default value" syntax). Now it's possible. |
| ee983135 | 02-Jun-2017 |
Michael Große <grosse@cosmocode.de> |
Fix multiple inputs in one label: it's invalid
Multiple inputs within a single label in invalid HTML. This bug can not only occur in multi-fields but also in plugin-provided single fields which m
Fix multiple inputs in one label: it's invalid
Multiple inputs within a single label in invalid HTML. This bug can not only occur in multi-fields but also in plugin-provided single fields which may contain multiple input-fields which are then only combined by javascript.
Thus, we provide an id which every type can assign to the edit-field best suited. For multi-types this is usually the new-input-template.
Fixes #292
show more ...
|
| 7cbcfbdb | 07-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
better handling of failing sqlite plugin init. fixes #200 |
| 0e72ef50 | 10-Oct-2016 |
Andreas Gohr <gohr@cosmocode.de> |
renamed JSON to STRUCT_JSON. fixes #157 |
| 93ca6f4f | 23-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
more Validator refactoring |
| 26d59c4a | 15-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Return false if schema doesn't exist
This way neither the JSON has to be created nor has it to be decoded in order to understand that the schema doesn't exist |
| 57920350 | 15-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Leave error handling of helper methods to the caller |
| c4ce7499 | 12-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Add docblocks, better names and exception handling |
| 78bff02f | 12-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Set the user explicitly during import
If left unset, it will default to the currently logged-in user |
| aeca15ad | 11-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Reinitialize db if $conf['meta'] changed |
| fa7b96aa | 10-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Save user on schema change and more imexport tools |
| b25bb9fe | 10-Aug-2016 |
Michael Grosse <grosse@cosmocode.de> |
Reevaluate page assignments when replacing them |