1
0
Fork 0
Commit graph

346 commits

Author SHA1 Message Date
b09ffa0697 Relocate system user creation 2020-11-18 05:33:17 +00:00
d7fa58d81c Ensure to never delete the "0" user 2020-11-18 05:24:04 +00:00
81a03b137b Test: only insert empty user 2020-11-18 05:04:17 +00:00
1e9d3342a3 Changed order of inserts 2020-11-18 00:13:39 +00:00
317921e51c Changed order 2020-11-17 23:45:16 +00:00
eaa58da25b New table "post-user" and more foreign keys 2020-11-17 22:33:44 +00:00
eb8caaa5e7 Restore the connection check 2020-11-07 11:44:39 +00:00
8906615b2c Test if PDO doesn't work on the tests 2020-11-07 10:27:22 +00:00
84924d1c05 Test the tes 2020-11-07 10:12:31 +00:00
d6a1a836f1 Simplified connection test 2020-11-07 09:58:20 +00:00
3a5cdecb62 New function to fetch the database driver 2020-11-07 09:02:02 +00:00
f405336680 Avoid duplicate item entries 2020-10-23 19:10:17 +00:00
d55ecb9288
Fix a lot of notices/warnings/deprecation notes in the test directory 2020-10-18 20:52:27 +02:00
ae6b380362
Merge pull request #9373 from nupplaphil/task/server_env
Introduce possibility for mapping $_SERVER variables to config-cache values
2020-10-08 15:00:31 -04:00
Philipp
2a464a156f
Update src/Database/Database.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-06 20:55:36 +02:00
d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
3587e89482
Introduce a "DatabaseException" class for fatal exceptions (used in testmode to throw an exception in case of DB errors) 2020-10-06 20:03:38 +02:00
f096b8c879
Merge pull request #9362 from annando/post-update-term
Postupdate: Check for existence of the "term" table
2020-10-05 06:35:47 +02:00
cb5a9ae286 Issue 9363: Display the latest post update version 2020-10-04 20:46:42 +00:00
36b06ee2a1 Postupdate: Check for existence of the "term" table 2020-10-04 19:20:18 +00:00
50b5483ee1 Ability to set the database version 2020-09-13 15:57:24 +00:00
90315e3434 Don't perform actions on empty conditions 2020-09-07 05:00:17 +00:00
4852458645 Simplify the code / check number of parameters in mergeConditions 2020-09-06 20:28:08 +00:00
44ee4a54b4 Replace "insert" with "replace" 2020-08-27 21:35:08 +00:00
dfea3ee3d6 Configuration if the database is opened with persistent connections 2020-08-27 10:59:14 +00:00
Michael Vogel
e715458005
Update src/Database/Database.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-08-26 22:45:00 +02:00
Michael Vogel
bc98f86afe
Update src/Database/DBA.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-08-26 22:44:51 +02:00
212e06b87b Added support for the "replace" database command 2020-08-26 20:16:57 +00:00
9a3d04dce2
Merge pull request #9047 from annando/no-item-delivery-data
The table "item-delivery-data" does not exist on newer systems
2020-08-22 13:17:49 +02:00
dcfde52e7f The table "item-delivery-data" does not exist on newer systems 2020-08-22 05:22:08 +00:00
16591077ac
Fix Database $_SERVER usage and remove old .travis files 2020-08-19 14:20:07 +02:00
24a82110fd Add common relationship methods to Model\ContactRelation
- Introduce DBA::mergeConditions method
- Replace GContact relationship method contents with Model\ContactRelation method calls
2020-08-03 13:34:10 -04:00
0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
afb882048e Generate callstack value from inside Profiler::saveTimestamp
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
Michael Vogel
9f1d1db1ee Database performance updates 2020-07-18 17:49:10 +02:00
b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
d5acd5f96a Add expected support for sort strings in select() parameters
- Fix unexpected behaviors with calls already using the sort strings
2020-07-01 22:54:14 -04:00
5cf5869b04 Add type hint to Database::insert
- Will escalate warning to fatal error in https://github.com/friendica/friendica/issues/8474#issuecomment-646802016
2020-06-24 09:36:34 -04:00
4dc68b32b5
Merge pull request #8772 from annando/post-update
Speed up post update for gsid
2020-06-14 14:57:10 -04:00
Michael Vogel
6b93a7e395 Speed up post update for gsid 2020-06-14 18:09:59 +02:00
8eeb7807d3 Replace remaining instances with "allowlist", "denylist" and "blocklist" 2020-06-07 11:24:56 -04:00
530ff51898 Rename system config value to db_log_index_denylist 2020-06-07 11:24:56 -04:00
7ac4a08e1b Additional "is null" check in post update / create the "vid" if needed 2020-05-31 15:48:31 +00:00
4d23de997a Updated postupdate function 2020-05-26 21:45:57 +00:00
95b4f35a12 Improved server detection / gsid introduced 2020-05-22 04:19:32 +00:00
ef3dc72dca Ensure unified order of 'verb' records 2020-05-19 05:51:58 +00:00
90b1355555
Merge pull request #8649 from annando/annando/issue8550
Issue 8550: New experimental database configurations
2020-05-17 09:11:30 -04:00
7ace1049bb Issue 8572: Ensure to log database errors 2020-05-17 10:56:19 +00:00
4d4678ceb6 New experimental database configurations 2020-05-17 09:03:56 +00:00
ecde6b0066 Issue 8635: Create foreign keys without constraint name 2020-05-16 20:57:04 +00:00