Archived
1
0
Commit Graph

60 Commits

Author SHA1 Message Date
mbirth 8ecebf8940 Fix typo. Also added isUtf8mb4Ready() to DbAbstract. 2022-02-13 00:10:19 +01:00
mbirth d6ebe7a46f Fix missing utf8mb4-check. 2022-02-12 23:58:17 +01:00
mbirth d5318922b9 Turn database drivers into classes. Keep db.inc.php as a Shim. 2022-02-12 23:27:14 +01:00
onli 38354fcad5 Remove unused mysql (instead of mysqli) database layer 2021-05-02 10:12:13 +02:00
onli 2a5d0e3ad4 Fix: mysqli was always picked as db after installation 2021-05-02 09:50:58 +02:00
onli 90dd334327 PHP 8 compatibility fixes for the installer 2021-05-02 09:50:58 +02:00
onli 7e48e041a2 Remove unused laminas db backend (#757)
* Remove unused laminas db backend

* Remove laminas-db from composer.json

* Remove bundled-libs/laminas
2021-04-27 21:50:34 +02:00
onli 7f3d7e4017 php8 compat: Don't redefine SQL_CHARSET_INIT 2021-04-19 17:19:44 +02:00
onli 0def9e991f MySQL: Set charse tto ut8mb4, needed for some versions (#394) 2020-05-28 11:59:12 +02:00
onli de29be7287 Drop unused is_utf8 variable 2020-03-28 13:37:12 +01:00
onli b718cf7726 Only set mysqli_set_charset when covnersion is enabled
This restores the behaviour from before the move to utf8mb4 and should help legacy blogs not having charset issues, that went from latin1 to utf8 to now utf8mb4
2020-03-28 13:31:49 +01:00
onli c6800d5fc3 minor: explain serendipity_utf8mb4_ready in doccomment 2020-03-22 23:20:08 +01:00
onli 3ac81b91ca Reworked version and function requirement for utf8mb4 (#394) 2020-03-22 23:13:15 +01:00
onli 8b27a56209 Raise mysql requirements for utf8mb4 to 5.7/10.0.2
utf8mb4 did not work on a test server with large prefix (=not 3000 byte index limit, only 1000) on Depian 9/mariadb 10.1.44, because the row format was not barracuda (by default?)
2020-03-22 20:44:11 +01:00
onli b15a453165 Use InnoDB and utf8mb4 on current mysql databases
For new installations only so far
2020-03-22 13:15:32 +01:00
klemens 5a95db314a spelling fixes 2017-04-06 22:26:07 +02:00
Ian d78724b4c9 remove $Id$ 2016-04-25 12:13:18 +02:00
Ian 90eed2d001 typos and minors 2015-12-01 12:12:01 +01:00
Ian 8b8dcfd968 minors 2015-08-15 16:44:45 +02:00
Ian e6cab58414 change SET NAMES to mysqli_set_charset and fix a bug in 2cd condition 2015-07-09 12:33:31 +02:00
Ian c6031dc1dc remove $Ids$ 2015-07-03 17:18:23 +02:00
Ian 12325943a1 silence Constant SQL_CHARSET_INIT already defined notices 2015-01-11 15:27:30 +01:00
Ian efe2303b23 extend 8da4c647a8
in blogger a strange editor was used to write the file
2014-11-24 14:30:49 +01:00
Ian 8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
Garvin Hicking 4d17c0ae02 Added SQLite3 OO layer, old one did not work for PHP 5.4+
PDO SQlite3 is preferrable though
2014-11-24 11:48:16 +01:00
onli 92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug (#236)
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
Garvin Hicking b606b91272 Proper SQLite PDO filenames in shared installations (Issue #214)
References #214
2014-09-09 13:17:34 +02:00
onli 7b21150c10 Autoincrement for sqlite3 (#180) 2014-06-09 21:56:43 +02:00
onli 5b2f73f74b zenddb-layer (inactive) 2013-08-18 12:48:47 +02:00
Ian bfc333624d upport db fix 2013-07-26 20:49:38 +02:00
Garvin Hicking e72aa19280 upport 2013-07-23 09:34:12 +02:00
onli a654b13a9a Complete include_once usage, romove constants 2013-06-22 12:32:54 +02:00
Garvin Hicking 5ec7481030 Port of patch #16 to 2.0 2013-05-06 09:47:19 +02:00
Garvin Hicking 53ea38aa3c Port from master 2013-01-21 10:06:09 +01:00
Matthias Mees 87a68af4c3 More redundant br elements fixed. 2012-12-03 15:39:31 +01:00
Anatoliy Belsky f574fe1a87 Support port config for postgres db connection
Upport from master
2012-11-28 08:39:10 +01:00
Garvin Hicking b62c6072ed mysql, use myisam 2012-04-10 22:35:40 +02:00
onli a490e1e7a5 pdo was missing a global on db_begin/end_transaction() 2012-02-05 19:00:56 +01:00
Garvin Hicking 70b1288890 improve code docs 2011-01-08 22:31:20 +00:00
Garvin Hicking bf39c311a3 sqlite both/assoc/num fix 2011-01-07 10:41:06 +00:00
Garvin Hicking aba04f43b4 * PDO-SQLite patches by nth 2010-10-12 12:38:13 +00:00
Garvin Hicking 53159f390f * Use "Longtext" instead of "text" for new installations on blog entry
body and extended body inside database tables. (garvinhicking)
2010-01-14 09:21:07 +00:00
Garvin Hicking c401b02abe * Added expermiantel PDO::SQLite transport, by nth 2009-11-28 12:27:42 +00:00
Garvin Hicking 275589423a * More PHP 5.3.0 compat (split()). 2009-08-25 19:39:17 +00:00
Garvin Hicking ee102b4402 * Removed "static" db layer typelist to prevent accidental over-
writes of referenced return values (garvinhicking)
2009-07-27 09:52:13 +00:00
Garvin Hicking e6701ee288 fix for constant use 2008-08-29 07:10:31 +00:00
Garvin Hicking c94805232a SQLite should use its own dir for shared installations 2008-08-25 08:49:56 +00:00
Garvin Hicking c2b48eb7a3 update 2008-03-25 14:04:06 +00:00
Garvin Hicking 6ea572211b Patch by hanno boeck 2008-03-25 12:39:55 +00:00
Garvin Hicking 4a295192a4 Fix typo 2007-10-12 09:15:58 +00:00