Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2 years ago
Michael
02a72ef04f
Simplify the call
2 years ago
Michael
649228cd3d
More detailled HTTP error explanations
2 years ago
Michael
83489b36c4
Using the standard function to return http errors
2 years ago
Adam Magness
218f0734be
Rename removeTags to escapeTags
rename function and update calls.
2 years ago
Adam Magness
5276c28a78
link_compare calls
implement compareLink function.
2 years ago
Adam Magness
a0f65ca7a1
notags calls
implement removeTags function
2 years ago
Adam Magness
50da89d861
Logger Levels
update logger levels in calls
2 years ago
Adam Magness
14fde5dc9b
Log function
implement log() function.
2 years ago
Hypolite Petovan
ed52b5d0a9
Remove reference to deleted include/security in mod/pubsub
2 years ago
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2 years ago
Roland Häder
37253656e3
Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace ( #5490 )
* Rewrite:
- moved all CONTACT_* constants from boot.php to Contact class
* CR request:
- renamed Contact::CONTACT_IS_* -> Contact::* ;-)
2 years ago
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2 years ago
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2 years ago
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2 years ago
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2 years ago
Michael
f17f61df38
Fix indentation
3 years ago
Michael
aff99b32fd
Improved logging
3 years ago
Michael
bc84852682
Added logging
3 years ago
Michael
c20a42c889
Completely reformatted and restructured code, using dba functions now.
3 years ago
Michael
4d3b1ae918
We don't need the contact-id anymore
3 years ago
Michael
32ee4ca4b1
OStatus: Fixed communication issues with deleted contacts
3 years ago
Adam Magness
4ca68c7af0
Class file relocations
Issue #3878
3 years ago
Adam Magness
9e99066fd7
Class file relocations
Issue #3878
3 years ago
Michael
2293757a36
Just some empty lines
3 years ago
Hypolite Petovan
20043914e6
Move App to src
- Add `use Friendica\App;` wherever needed
3 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
3 years ago
Roland Häder
0cd241bcbe
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Hypolite Petovan
a7ce601580
Normalize App parameter declaration (mod folder, 3 out of 3)
4 years ago
Roland Häder
4dce3d8224
changed to this:
---------------------
function bla (App &$a) {
$a->bla = 'stuff';
}
---------------------
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
98b7270295
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
abff6372dd
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
fb676335db
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael Vogel
20d7d18379
Bugfix: The "keywords" field in the gcontact table wasn't set correctly
5 years ago
fabrixxm
b202e02fbf
Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802
.
5 years ago
Andrej Stieben
db949bb802
Updated modules to allow for partial overrides without errors
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
5 years ago
Michael Vogel
389738b1c1
Bugfix: pubsub tend to unsubscribe subscriptions in the past
5 years ago
Michael Vogel
5f3d584716
Code beautification and some more logging data - no changes in the functionality.
7 years ago
Michael Vogel
6b8585d48d
Database stuff. New table "thread". Changing "left join" to "inner join", removing "limit 1" at update and delete.
7 years ago
Fabrixxm
0a1697d13a
add pubsubhubbub support to feed contacts
7 years ago
zottel
7de5c7ebe1
Changes to make contacts delete all content from the user when a user is deleted.
NOTE: I didn't add "AND account_removed = 0" to facebook.php because I don't
have a clone of the addons repository. Please someone do that for me. Thanks.
Please check carefully. I tested locally on my server, but not with other
servers.
8 years ago
friendica
ea4515aca9
more logging on pubsub callbacks
8 years ago
friendica
8aa2552372
add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit)
9 years ago
Friendika
7b648e6da8
performance enhancements
9 years ago
Friendika
07b09300a9
improve feed import performance
9 years ago
Friendika
2aef98f71d
cripple account when expired
9 years ago
Friendika
0883a614a2
don't accept pubsub from diaspora
9 years ago
Friendika
48ffa880f0
cleanup
9 years ago
Friendika
d5fdd4287d
event sharing, cont.
9 years ago