Commit graph

98 commits

Author SHA1 Message Date
Penta0308
69119ee70d fix: syntax error in dba_pdo.php 2024-07-26 02:06:28 +00:00
Mike Macgirvin
33e034f7d4 silence phpstorm's false positive error messages on db intervals 2024-04-05 07:22:06 +11:00
Mike Macgirvin
6c29d57a4c refactor datetime part1 2024-03-10 13:40:50 +11:00
Mike Macgirvin
dbd76f879b typo 2024-03-09 17:23:15 +11:00
Mike Macgirvin
4d1289ef15 minor test enhancements 2024-03-09 16:28:05 +11:00
Mike Macgirvin
706636b02a Remove host checking on database install. 2024-02-08 05:22:14 +11:00
Mike Macgirvin
f1b06ed260 Revert "wip"
This reverts commit 79dc88fd67.
2023-07-09 12:49:41 +10:00
Mike Macgirvin
79dc88fd67 wip 2023-07-09 12:46:34 +10:00
Mike Macgirvin
bec231c4ef Use a low-level typecast in pdo driver to fix a number of potential type-exception issues. 2022-08-24 12:51:01 -07:00
Mike Macgirvin
e0fd00718a don't log duplicate primary key errors to dbfail.out 2022-06-23 19:41:11 -07:00
nobody
48e1ae73ea Move technical tools to /dev as submodules 2022-05-03 03:41:08 -07:00
nobody
3d6523772c postgres: get rid of binary fields. 2022-02-28 13:17:27 -08:00
nobody
a8e96322f0 it's done 2022-02-15 20:08:28 -08:00
nobody
4dd986a2db This checkin is surely broken, but I need to commit it because it represents a fair bit of work. 2022-02-12 00:50:48 -08:00
nobody
6051e88096 use 4-byte utf-8 comms channel instead of 3 or whatever it used to be. 2022-02-08 15:35:15 -08:00
nobody
d46dd6aeb8 psr12 rewrites, continued 2021-12-03 14:01:39 +11:00
nobody
f602a393a5 psr12 updates 2021-12-03 10:02:31 +11:00
nobody
389b2e5b17 initial psr12 conversion 2021-12-03 09:33:36 +11:00
nobody
d69589e17e scripted replace of 'array()' with '[]' 2021-03-14 22:10:44 -07:00
nobody
d59916e9a1 server_name issue 2021-01-25 13:56:45 -08:00
zotlabs
1d5f1dd844 debugging 2019-10-21 22:46:53 -07:00
zotlabs
9678e44c4a typo 2019-04-29 22:34:50 -07:00
zotlabs
529dcc9987 extract list of indexes from a table for verification functions 2019-04-29 22:32:32 -07:00
zotlabs
9bbad0db91 minor updates 2019-04-26 15:15:15 -07:00
zotlabs
cd200ee706 The channel import page seems to have missed the big theme cleanup of the last couple of years. 2018-05-01 19:38:32 -07:00
zotlabs
518db97962 never mind. dbg(1) now gives you the basic debug result and dbg(2) gives you the verbose debug option with all the results. 2018-04-14 16:56:30 -07:00
zotlabs
fdf5799857 allow dbg(2) to only return the canonical SQL used in the query and the number of results, but not log every single result. Maybe we should use 1 for this and 2 for the full results, but I didn't really want to change the way people do things today. If anybody has a strong opinion about doing this, go ahead and change it and send a note to the developer forum. 2018-04-14 16:47:51 -07:00
Klaus Weidenbach
4bf0c9e36a Add tests for non existent tables.
Prevent PHP warnings "Undefined variable" in dba_pdo::q();
2018-01-28 23:02:46 +01:00
Klaus Weidenbach
509844fd7e 🔥 Cleanup old database related files.
Remove non used database drivers, remove unused methods.
Improve documentation.
2018-01-28 23:02:15 +01:00
Mario Vavti
a86b260f73 query optimisations for notifications - use a specific index only 2018-01-28 12:09:47 +01:00
Klaus Weidenbach
8a60bb4619 Change dsn port handling in dba_pdo. 2018-01-18 23:46:49 +01:00
zotlabs
2d119c81a4 turn platform name and std_version into config variables 2017-07-13 20:18:19 -07:00
zotlabs
6c771f84ce remove unused page_widgets.php include and provide a general function for loading sql from file to use in the cdav migration 2017-06-22 22:43:08 -07:00
zotlabs
3a00140797 remove php version checks for older ( < 5.4) code incompatibilities 2017-05-23 21:20:40 -07:00
zotlabs
1c8c7479b8 Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-05-22 03:51:58 -07:00
Mario Vavti
a44c908147 silence php warning during install 2017-05-17 11:24:27 +02:00
zotlabs
33ff7bf968 provide platform specific install script 2017-03-31 10:27:28 +02:00
zotlabs
5c63f7dd58 provide platform specific install script 2017-03-25 14:19:32 -07:00
zotlabs
6f3493bb3c db issues 2017-03-12 15:50:47 -07:00
zotlabs
6cf17c7bcc use array_shift - it's cleaner 2016-12-15 16:41:01 -08:00
zotlabs
83a4999dbe issue #606, postgres binary data handling under PDO and HHVM when passed null 2016-11-30 19:45:46 -08:00
zotlabs
793047919d missed this from the earlier checkin 2016-11-29 02:57:29 -08:00
zotlabs
3b6248cb64 dba_pdo: return false on q() DB error like the old driver did 2016-11-17 15:15:34 -08:00
zotlabs
b5c72611b4 change log string on pdo log messages 2016-10-27 15:21:40 -07:00
zotlabs
88a68b941f put all dns checking into one function, allow it to be ignored 2016-10-25 18:27:32 -07:00
zotlabs
084b41fc2c first cut at edit activities 2016-10-25 16:21:56 -07:00
zotlabs
7b713e2576 pdo - fetch assoc only 2016-10-25 16:15:39 -07:00
zotlabs
25982f0475 set port if non-zero (instead of non-null) 2016-10-24 18:55:11 -07:00
zotlabs
20194bed42 this seems to work, but there are unanswered questions and is still undergoing investigation. It appears that the data stored with os_content = 1 is not being escaped in all circumstances or the scaled image data is being escaped twice. 2016-10-23 21:27:10 -07:00
zotlabs
39f0707201 fetch bytea as stream 2016-10-23 17:53:34 -07:00