1
1
Fork 0
Commit graph

494 commits

Author SHA1 Message Date
e9af4b5bb9
Shorter code, thanks to @annando pointing this out 2022-06-16 13:29:30 +02:00
65da5246ca
Fixed possibble "Trying to access array offset on value of type bool" E_NOTICE
Signed-off-by: Roland Häder <roland@mxchange.org>
2022-06-16 10:07:41 +02:00
e46354a522 New command to merge duplicated contacts 2022-06-01 22:11:03 +00:00
f1630ebb05 Add relocate console command 2022-05-29 13:13:59 -04:00
7d09ce86c4 Move relocation feature in its separate class
- Create Database->replaceInTableFields method
2022-05-29 12:11:18 -04:00
0b10806ce3 Fix the problem that the post update never stopped on larger systems 2022-03-16 22:00:34 -04:00
419fe67c6c
Merge pull request #11265 from k-alin/6606-k-alin-mysql-unix-socket
Enable MySQL unix socket connection
2022-02-25 10:36:43 -05:00
k-alin
e4cfd4a7c3
Update src/Database/Database.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-02-25 16:09:54 +01:00
k-alin
33c4fbf2a6
Update src/Database/Database.php
Correct indent

Co-authored-by: Philipp <admin+Github@philipp.info>
2022-02-25 12:09:54 +01:00
k-alin
470be2b5e4
Update src/Database/Database.php
Correct indent

Co-authored-by: Philipp <admin+Github@philipp.info>
2022-02-25 12:09:30 +01:00
k-alin
335be6f032
Update src/Database/Database.php
Correct indent

Co-authored-by: Philipp <admin+Github@philipp.info>
2022-02-25 12:09:12 +01:00
2321c7a55b Updated messages.po 2022-02-20 20:47:08 +00:00
k-alin
ff439272b9 mysql connection via socket if location of mysqld.sock was specified 2022-02-20 17:45:51 +01:00
k-alin
50580fd04c
Merge branch 'friendica:develop' into 6606-k-alin-mysql-unix-socket 2022-02-20 17:27:03 +01:00
c867581530 Store the receivers of a post in the tags 2022-02-19 13:31:49 +00:00
k-alin
31ff583c5e mysql connection via unix sockets (mysqli + PDO) 2022-02-14 23:18:41 +01:00
14f0a1a1ed Don't throw an exception when the database query fails 2022-02-08 21:28:42 +00:00
a46b21590d use "ANY_VALUE" instead of "MAX" 2022-01-18 06:59:02 +00:00
615c6ca696 Issue 10935: Improved "GROUP BY" handling 2022-01-18 06:35:18 +00:00
Balázs Úr
733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
92fe3d9213 Issue 11120: Delete tables in the correct order 2021-12-26 05:08:59 +00:00
5350e0852d
Add hostname to Process entity 2021-11-06 20:21:01 +01:00
516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
24734b05fe Cast object parameters to string in Database\Database
- This makes string casting in Depository->save unnecessary
2021-10-03 15:35:47 -04:00
Michael Vogel
3d97149007
Merge pull request #10722 from MrPetovan/task/refactor-notifications
Move notify, notifications and introduction notifications to new paradigm
2021-10-03 14:13:28 +02:00
9961943b73 Code Style: Replace "AS" with "as" 2021-10-03 10:34:41 +00:00
dae5703e5c Improve accuracy of accepted parameter types in phpDoc of Database->fetch
- Suppresses an unwarranted type error raised by static analyzers
2021-10-02 18:15:43 -04:00
e4b8536c75 Removing MySQL workaround 2021-09-26 18:30:44 +00:00
f26226229a Issue 10768: Avoid MySQL problems when upgrading both index and structure 2021-09-26 17:13:26 +00:00
c00da77c67
Add feedback 2021-09-18 12:55:17 +02:00
6893e2c3f7
Add feedback / revert fix for $item['post-type'] 2021-09-18 12:51:09 +02:00
462f76352e
Add feedback :-) 2021-09-18 12:51:09 +02:00
89a085a12c
Check DBA::count() result 2021-09-18 12:51:08 +02:00
7ee88c3457 Improve documentation of $old_fields possible values in DBA::update and Database->update 2021-09-05 14:54:50 -04:00
c89533a70b Support for stacked profiler analysis 2021-07-27 04:57:29 +00:00
c1f849c389 Unneeded legacy DFRN table removed 2021-07-22 07:11:26 +00:00
6668066099 The legacy OAuth server is removed 2021-07-20 17:41:04 +00:00
3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
d267ba999c We now use the new account-user-view (and fixed the function name) 2021-07-11 09:39:34 +00:00
b46b88cc10 Fix fatal error 2021-07-10 21:08:55 +00:00
161fa4a795 Post update: Set "uri-id" in the contact tables 2021-07-10 01:41:26 +00:00
2b95a7e7cd Merge branch 'stable' into develop 2021-07-04 20:52:22 +02:00
ae5f57233e Issue 10392: Avoid "Friendica can't display this page at the moment" 2021-06-16 13:23:07 +00:00
7106106f11 Formatted index list 2021-06-14 12:15:10 +00:00
96f07c7288 Indexes and foreign keys added 2021-06-14 08:53:37 +00:00
fd30df7300 Pad the header 2021-06-14 05:58:51 +00:00
4095e6c9be Pad the lengths of the columns 2021-06-14 05:33:47 +00:00
a827f948c8 Reversed "null" 2021-06-14 05:14:09 +00:00
31db9dbef7 Added default value "NULL" 2021-06-14 05:08:01 +00:00
bb5e6d248b Added sort order 2021-06-13 20:56:14 +00:00
84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
Simon Rupf
8b841ccc51 Reduce batch size for photo processing to reduce memory usage 2021-06-12 20:40:17 +02:00
4d4544ada3 Separate the char from the binary handling 2021-05-24 20:07:39 +00:00
da8d5f5015 Issue 9926: Limit the length of data to store in the apcontact table 2021-05-24 19:44:24 +00:00
4f5d2e7d36 Avoid empty basepath when loading database structure 2021-04-19 19:42:57 +00:00
f70650f824 Further unused tables to be dropped 2021-04-07 12:10:54 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
2072fb1eed Avoid foreign key violations when deleting unused tables 2021-03-24 19:47:55 +00:00
f24deebc7f
Merge pull request #9981 from annando/issue-9977
Issue 9977: Check for existance of the "item" table on postupdate
2021-03-04 10:21:06 +01:00
bd7e5b69c1 Issue 9975: Remove unused views 2021-03-04 00:02:34 +00:00
b029e78212 Issue 9977: Check for the existance of the "item" table on postupdate 2021-03-04 00:00:24 +00:00
99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
10f7280bbc Fetch a given number of posts 2021-02-21 07:46:58 +00:00
c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
1afc076831 Set the post update version 2021-02-15 22:22:34 +00:00
896e58347d Post update function to set the "external-id" 2021-02-14 21:57:02 +00:00
36357e790e "id" is now post-user-id 2021-02-14 18:33:15 +00:00
ab5a447bc2 The "thread" table isn't used anymore 2021-02-08 07:48:36 +00:00
8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +00:00
e561cad844 "participation" is removed since it is unused 2021-02-02 06:28:51 +00:00
5a2c5da81d Added "user-item" table to the list of removable tables 2021-02-02 06:10:10 +00:00
df24c0daeb User-Item table is replaced 2021-02-02 05:45:57 +00:00
c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
90f1175cf5 Setting "maintenance" for pre and post updates 2021-01-30 07:50:20 +00:00
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
81ffe38f2e The highest post update version number is 1385 2021-01-07 22:12:53 +00:00
7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
c8476f6838
Merge pull request #9687 from annando/drop-unused
Drop unused friendica tables
2020-12-20 19:11:45 -05:00
6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
d755bbae8f Remove unneeded configutation 2020-12-20 08:56:32 +00:00
92679de225 Remove orphaned avatar photo entries 2020-12-19 22:07:08 +00:00
99b200868b Normalize return value in Database->fetch
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-741857058
2020-12-10 06:12:10 -05:00
bd4dc10588 Ensure that the database.sql contains "if exists" 2020-12-02 08:50:45 +00:00
Michael Vogel
eb48a36061
Update src/Database/View.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-29 21:59:24 +01:00
7e6a9bd893 Ensure that a view is a view and not a table 2020-11-29 19:06:43 +00:00
bd9f36622e Cast field data when ATTR_EMULATE_PREPARES is enabled 2020-11-27 11:24:31 +00:00
23bc725ce9 Fix: Only echo on verbose 2020-11-23 19:47:30 +00:00
61ff99c410 Command line option to check initial values 2020-11-23 18:58:18 +00:00
303aaa00ca Mode switch for insert 2020-11-19 19:34:48 +00:00
3af5f6b8ee Some more foreign keys added 2020-11-19 06:26:30 +00:00
f36ecdf6bf Replacing deprecated log calls 2020-11-18 09:14:12 +00:00
4f7d42a0d3 Fixed copy&paste error 2020-11-18 05:55:15 +00:00
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