Philipp
0f91d1cbde
Introduce ConfigFileManager for config files
2023-01-03 14:22:02 +01:00
Hypolite Petovan
a744b8b56f
Replace direct database calls and anonymous arrays by repository calls and entity objects
2023-01-01 18:50:21 -05:00
Michael
360614d2cf
Merge remote-tracking branch 'upstream/develop' into inbox-gsid
2023-01-01 15:25:28 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
6bc9754b24
Add the server id for all Diaspora contacts
2023-01-01 10:52:22 +00:00
Michael
06403f1546
License updated
2023-01-01 07:52:28 +00:00
Michael
12d37835b4
Set "archive" status
2023-01-01 00:18:01 +00:00
Michael
e21db0fe6d
The inbox-status can now be archived for a whole server
2022-12-31 23:42:00 +00:00
Philipp
f96aec18cc
Fixup maintenance mode
2022-12-29 23:38:14 +01:00
Philipp
925c30280c
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-29 22:12:02 +01:00
Philipp
10f8631cd9
Replace PostUpdate key-value config entries with key-value pair entries
2022-12-29 21:53:56 +01:00
Philipp
b0cc0f0d7b
Add load(true) for ViewDefinitions as well
2022-12-16 22:05:32 +01:00
Philipp
1c789d487b
Include DBA definitions from Hooks again
2022-12-16 21:59:32 +01:00
Hypolite Petovan
818cdf83ca
[Database version 1500] Remove obsolete table fcontact
2022-12-05 00:00:50 -05:00
Hypolite Petovan
ce69026964
[Database version 1499] Create new paradigm classes for Diaspora Contact
...
- Switch table fcontact for dcontact in views
2022-12-05 00:00:50 -05:00
Hypolite Petovan
0ec7238da4
Fix null value passed to string functions deprecation notices
...
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513
2022-11-25 08:13:05 -05:00
Marek Bachmann
18f0d3d31e
removed double blank
2022-11-25 01:03:34 +01:00
Marek Bachmann
f4e2c7a11d
corrected typos in DocBlocks
2022-11-25 00:59:24 +01:00
Hypolite Petovan
2a4985cd46
Fix database connection with sockets
...
- Reformat Database\Database.php file
- Reformat and fix spelling in static/defaults.config.php file
2022-11-19 19:15:43 -05:00
Michael
deccea0228
More functions moved to content class
2022-10-27 05:44:44 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
Michael
6f68679375
The EOL constant is removed
2022-10-18 12:29:50 +00:00
Philipp
497fc4e432
Move Monolog to Addons
2022-10-17 22:22:00 +02:00
Roland Häder
da66730e4f
Rewrite:
...
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:
From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````
To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael
4552d36373
Issue 11975: Don't call the postupdate if the table is missing
2022-10-08 14:42:11 +00:00
Michael
bca9069b22
Add the uri-id if missing
2022-09-24 21:53:27 +00:00
Michael
79b64cc44f
Detect and remove contact duplicates
2022-09-16 05:00:06 +00:00
Michael
0121c2845a
Test stuff removed
2022-09-06 22:56:56 +00:00
Michael
d7212cbbbc
Function only needn't to be public
2022-09-06 20:47:18 +00:00
Michael
ec8377a8c7
Issue 11893: Postupdate to fix wrong parents
2022-09-06 20:00:06 +00:00
Michael
2173fb38e0
Issue 11853/11867: Fix reshare of public posts
2022-08-27 21:22:49 +00:00
Hypolite Petovan
e445975c20
Use DBA::quoteIdentifier in Database::escapeFields
2022-07-28 05:37:22 -04:00
Michael
86105635ca
Improved message handling / new activity relay handling
2022-07-27 17:39:00 +00:00
Philipp
d74e57ef2c
include suggested changes
2022-07-13 00:23:12 +02:00
Philipp
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Roland Häder
e33f5612ab
Changes:
...
- added some type-hints
- added some documentation
- changed some double-quotes to single
2022-06-27 15:16:18 +02:00
Roland Häder
e10dd20036
Made @TODO more clear?
2022-06-25 17:58:27 +02:00
Roland Häder
804b759df1
Changes:
...
- let's get rid of that `Database::exists()` is being misused for checking table existence
- reformatted array
2022-06-25 16:48:37 +02:00
Roland Häder
f689faca99
Changed double-quotes to single
2022-06-25 16:48:36 +02:00
Roland Häder
202857ba7d
No need to log $tid here
2022-06-23 17:30:17 +02:00
Hypolite Petovan
7295138f8d
Remove type-hint inconsistent with expected return value in Database->getVariable
2022-06-22 07:47:15 -04:00
Roland Häder
80c8ec17c2
Fixed documentation
2022-06-21 18:43:25 +02:00
Roland Häder
0332a57bfd
Rewrote to suggestions from @MrPetovan (I tried to maintain the old way of
...
['scheme' => 'table'] with my version).
2022-06-21 18:13:01 +02:00
Roland Häder
1080a840f5
Changes:
...
- Database->$driver can no longer be NULL, an empty string is fine anyway
2022-06-21 13:47:39 +02:00
Roland Häder
945cd1a2c2
Fixed:
...
- since $table can be now schema.table, this needs being taken care off
- maybe this foreach(explode()) is a bit an overkill as only 1 or 2 entries
can be found in it
2022-06-21 13:47:39 +02:00
Roland Häder
0d81a08e3c
WIP: Properly some fixes? Also why is DROP VIEW IF EXISTS is being killed?
2022-06-21 13:47:39 +02:00
Roland Häder
44a9ec9b17
Rewrite:
...
- avoid having array|string for $table to have a "string" type-hint for $table
- you now have to do it for yourself by giving 'schema.table' as parameter
2022-06-21 13:47:38 +02:00
Roland Häder
f62c28008a
Removed comment
2022-06-21 13:47:38 +02:00
Roland Häder
cefffde691
Changes:
...
- added type-hints
- added some missing documentation
2022-06-21 13:47:37 +02:00
Hypolite Petovan
d2ca812647
Merge pull request #11660 from Quix0r/fixes/more-type-hints-003
...
More type-hints - Batch 003
2022-06-20 21:53:17 -04:00