History log of /plugin/sqlite/helper.php (Results 1 – 25 of 75)
Revision Date Author Comments
# e062c247 05-Mar-2024 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


# 14fe8e27 25-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

More style fixes


# a7a40fb2 25-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic code style fixes


# 10cb854a 13-Jun-2023 Andreas Gohr <andi@splitbrain.org>

renamed getDB to getPdo

This is clearer in what to expect as a return value


# 1973f122 05-Apr-2023 Szymon Olewniczak <szyolewn@pg.edu.pl>

provides backward compatibility for table and column names as query parameters


# 54f742cc 22-Mar-2023 Szymon Olewniczak <szyolewn@pg.edu.pl>

fix calls to non existing method pdo()


# 6917135c 22-Mar-2023 Szymon Olewniczak <szyolewn@pg.edu.pl>

fixes two compatibility issues:
1. reset $data cache on new query
2. if the second argument passed to query() is array, treat it as $args


# 801b921e 21-Mar-2023 Szymon Olewniczak <szyolewn@pg.edu.pl>

backwards compatibility fixes


# d0a5ba7a 18-Mar-2023 Andreas Gohr <andi@splitbrain.org>

fix helper tests

This ensures that the helper is working as intended for backwards
compatibility. New tests for the new class still have to be added.


# 3a56750b 15-Mar-2023 Andreas Gohr <andi@splitbrain.org>

admin interface cleanup

Query saving has been moved to its own class


# 8da7d805 15-Mar-2023 Andreas Gohr <andi@splitbrain.org>

first go at refactoring

The goal is to completely deprecate the helper plugin in favor of
instantiating SQLiteDB


# 45d45758 29-May-2022 Gerrit Uitslag <klapinklapin@gmail.com>

Mention the plugin name

It is unclear which plugin shows this message.


# 85bd98de 12-Aug-2021 Anna Dabrowska <dabrowska@cosmocode.de>

PHP fix

Don't try to access non-existing offset


# 46a8f523 17-Jan-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Fix missing OR REPLACE in storeEntry() helper method

Fixes #62


# 29c278b1 09-Apr-2020 Andreas Gohr <andi@splitbrain.org>

made string access compatible with PHP 7.4

curly braces access to strings is deprecated. square braces are the way
to go


# c6859a99 21-Nov-2017 Szymon Olewniczak <solewniczak@rid.pl>

current version can be "0", so me must use identical comprasion operator


# fd4bcce9 15-Nov-2016 Andreas Gohr <gohr@cosmocode.de>

Added event on migration

This new event allows plugins to act when a database migration is
executed. This makes it possible to do more complex migrations that
require more than just SQL.

The BEFORE

Added event on migration

This new event allows plugins to act when a database migration is
executed. This makes it possible to do more complex migrations that
require more than just SQL.

The BEFORE event is executed before the migration file is applied. The
default action is to apply that file and increase the dbversion field in
the opts table. When an event prevents the default, the proper result
has to be set! When the result is true, the dbversion is increased and
any additional migrations are run. When the result is false, the
migration process is aborted.

The AFTER event is only triggered after the migration file has been
applied or the BEFORE event set a truish result. At the AFTER time, the
dbversion has already been increased.

show more ...


# 7bc9cf83 08-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

register CLEANID and RESOLVEPAGE as SQL functions


# 029a3e39 11-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

added regular expression support


# 2849947f 23-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

added PAGEEXISTS sql statement


# 430d876a 09-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

no longer use PHP4 style constructor


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

convenient record storing function


# 6c7ee3f2 17-Dec-2015 Andreas Gohr <andi@splitbrain.org>

some more help with debugging


# a2a82480 16-Oct-2015 Andreas Gohr <andi@splitbrain.org>

fixed doc blocks

use variadic parameter docs instead of @internal


# 4b4b2db0 28-Jul-2014 Gerrit Uitslag <klapinklapin@gmail.com>

Improve PHPDocs and error handling


123