History log of /plugin/struct/helper/db.php (Results 1 – 23 of 23)
Revision Date Author Comments
# cdd16494 18-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

New SQLite function to decode struct JSON


# 5e29103a 11-Dec-2023 annda <annda@users.noreply.github.com>

�� Automatic code style fixes


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

�� Automatic code style fixes


# cfefffa4 21-Jul-2023 Andreas Gohr <andi@splitbrain.org>

do not say sqlite is missing if it fails to init


# 7d0142f5 19-Jul-2023 Andreas Gohr <andi@splitbrain.org>

reintroduce init method

Some plugins (structpublish) overwrite it in their own class.


# 91c655b4 17-Jul-2023 Andreas Gohr <andi@splitbrain.org>

streamline database loading

This removes the init() method in the helper and handles all database
initialization in getDB(), lazyloading it only when accessed.

If an exception happens during the in

streamline database loading

This removes the init() method in the helper and handles all database
initialization in getDB(), lazyloading it only when accessed.

If an exception happens during the initialization it is logged before
signaling the no sqlite cause.

show more ...


# 4183cc11 14-Jun-2023 Andreas Gohr <andi@splitbrain.org>

adjust method call for getting PDO access


# 79b29326 24-May-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Use new \dokuwiki\plugin\sqlite\SQLiteDB class for DB access


# 00624072 28-Sep-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Replace boolean with integer in queries

Better sqlite compatibility


# 322ec97b 24-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Add event to allow other plugins to supply custom sqlite functions


# bb8d98c4 08-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Dummy IS_PUBLISHER check with test


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

Manual coding style fixes

Method and variable visibility, camel case method names. Some exclusions due to inheritance


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

Automatic coding style fixes


# 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 ...


# 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


# aeca15ad 11-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Reinitialize db if $conf['meta'] changed


# 8fefbb59 18-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

register a JSON function in sqlite

This way types could select multiple columns into a single return value.

It probably makes sense to register a similar function as a AGGREGATE
function as well.


# 0fe33e72 11-Feb-2016 Andreas Gohr <andi@splitbrain.org>

use one multivalue table per schema


# 15929be2 09-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

first go at data searching


# 1c502704 17-Dec-2015 Andreas Gohr <andi@splitbrain.org>

a very first basic version of the schema editor works


# 083afc55 17-Dec-2015 Andreas Gohr <andi@splitbrain.org>

a first go at the overall structure. far from complete


# 549a0837 17-Dec-2015 Andreas Gohr <andi@splitbrain.org>

initial wizard generated structure