Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Michael
73f596cc46
Fixes duplicated transmissions and not working undo of like/dislike
2018-10-27 11:09:23 +00:00
Hypolite Petovan
ca9cad3491
Move hook-related methods from Core\Addon to Core\Hook
2018-10-22 16:50:54 -04:00
Michael
fea48fa85e
AP: Transmitting and receiving with non AP contacts
2018-10-20 07:53:45 +00:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Michael
b5d73f840c
AP fixes: LD-signature, wrong owner for completed thres, account removal
2018-10-09 05:04:24 +00:00
Michael
6b374c32a2
Improved AP distribution / Only process trusted content
2018-10-06 13:16:52 +00:00
Michael
f69c80b9e2
AP delivery is relocated to the top of the notifier
2018-10-06 03:16:38 +00:00
Michael
51dbffd396
Cache the AP delivery process
2018-10-05 21:00:40 +00:00
Michael
3ab837f3c7
Functionality is now split
2018-10-03 09:15:38 +00:00
Michael
6020605d5c
Account deletion could work now.
2018-10-01 19:22:13 +00:00
Michael
214407bdc8
Improve communication
2018-09-22 14:12:54 +00:00
Michael
4c224fbddd
Deliver everything to all receivers in the thread
2018-09-21 12:06:36 +00:00
Michael
59cd6611ec
Direkt delivery is done
2018-09-21 05:41:18 +00:00
Michael
f772ece86f
New delivery module for ap
2018-09-17 21:13:08 +00:00
Michael
e4d28629e4
First posting tests
2018-09-16 17:47:00 +00:00
Michael
61e2c7d20d
Added AP to many network conditions / enabling inbox processing
2018-09-14 16:51:32 +00:00
Michael
9ef1d827f3
Restore the behaviour to remove the remote contact upon termination
2018-09-05 05:02:06 +00:00
Michael
4fcae18289
Issue 5262: Comments to a forum post aren't distributed via push
2018-09-01 03:23:12 +00:00
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.
2018-08-11 22:40:44 +02:00
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::* ;-)
2018-07-24 22:53:46 -04:00
Hypolite Petovan
a6fb3568f9
Rename dbesc to DBA::escape
2018-07-23 15:30:54 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
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
2018-07-19 22:15:21 -04:00
Hypolite Petovan
820afa2284
Replace global $a with BaseObject::getApp()
2018-07-16 19:38:17 -04:00
Michael Vogel
d3a2ed85fe
Next item structure works ( #5380 )
...
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.
* New conversion routine that now covers every item
* Post update is now activated
* We now use a hash based upon RIPEMD-320 for content and activity
* The hash doesn't contain the plink anymore
* Legacy item fields are now "null"able
* New hash function for a server unique item hash
* Introduction of the legacy mode (usage of old item fields)
* Code simplification
* We don't need the "uri" fields anymore in item-activity and item-content
* Use the "created" and not the "received" date for the hash
* Avoiding several notices
* Some more warnings removed
* Improved uri-hash / Likes on Diaspora are now getting a creation date
* Corrected the post update version
* Ensure an unique uri-hash
* Don't delete orhaned item data at the moment
* Partly reworked, due to strange behaviour
* Some more parts reworked
* Using the uri currently seems to be more reliable
* Using the uri here as well
* Use the hash values again
* Grouped item fields in different categories
* Notices again
* use the gravity (we always should)
* Added hint for disabled post updates
* Notices ...
* Issue #5337 : Personal notes are displayed again
* Use the gravity again
2018-07-15 14:36:20 -04:00
Michael
4d35e228c4
More item abstraction / making remote deletion work again
2018-07-07 18:14:16 +00:00
Michael
d643e00d33
Standards and a new function to fetch content
2018-06-21 15:14:01 +00:00
Michael
23aa9dffa0
New item functions are now used in the delivery process as well
2018-06-17 21:35:33 +00:00
Michael
d7c477d0f4
Don't probe anymore, but ensure that we got good contact data
2018-06-03 08:36:05 +00:00
Michael
e9848d7b8f
End subscription for unreachable subscribers
2018-05-19 03:56:29 +00:00
Michael
61824119e4
Moved functionality in new model class
2018-05-17 23:30:49 +00:00
Michael
5a1e1c1ec9
Fix to OStatus delivery to be not so blocking to other tasks
2018-05-17 22:17:03 +00:00
Michael
b333c7ae2e
Bugfix: Only send a notifier when the item was really edited
2018-05-17 05:49:55 +00:00
Michael
1e0200884f
Fixed private messaging/relaying is controlled by the parent
2018-05-01 06:37:12 +00:00
Michael
edcf1466a7
Relay: Avoid sending relay posts to servers that already received content
2018-04-11 19:01:25 +00:00
Michael
08abf65f7b
Old database functions had been replaced in the workers
2018-04-09 21:34:23 +00:00
Michael
bfd057f148
Direct transfer without a relay is now possible
2018-03-28 04:24:38 +00:00
Hypolite Petovan
789561c7a2
Remove/Update references to include/html2*.php
2018-03-07 16:34:17 -05:00
Hypolite Petovan
9e3bae5caa
Remove references to include/bbcode.php
2018-02-14 22:01:14 -05:00
Hypolite Petovan
d419d07f73
[Scrutinizer] Fix undeclared variables in src/ (except Protocol/)
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$url_recipients` in Worker\Dellivery
2018-02-14 00:05:00 -05:00
Michael
4859a18ae4
Fixed wrong capitalation (or however this is written)
2018-02-06 23:17:18 +00:00
Michael
053cb31eea
Forgotten commented out text
2018-02-06 22:57:56 +00:00
Michael
47d165cb25
Hook calls can now be forked into a worker queue entry
2018-02-06 22:52:36 +00:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Michael
2d66242b4f
The delete function is now changed to the new function
2018-01-17 23:22:01 +00:00
Adam Magness
920a9b9b12
Remove requires
...
remove require_once statements
2018-01-15 20:16:14 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Michael
b638ed9e86
Corrected function name
2018-01-12 23:43:08 +00:00
Michael
3c027699a5
Receive participation messages and processes them
2018-01-12 20:52:43 +00:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Michael
0bcbe6034e
Like on uid=0 does work now
2017-12-27 22:21:40 +00:00
Michael
9acc2ffc24
Make it easier
2017-12-27 21:51:16 +00:00
Michael
fa8a09d977
Comments to public posts no get through
2017-12-19 23:12:37 +00:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Hypolite Petovan
4fe8dab08d
Remove include/group.php
2017-12-09 13:45:54 -05:00
Hypolite Petovan
abdecd2b2f
Use new Model methods for groups
2017-12-09 13:45:17 -05:00
Hypolite Petovan
a42595a30c
Move Object\Contact to Model\Contact
2017-12-07 23:56:12 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model"
2017-12-08 05:21:51 +01:00
Hypolite Petovan
18d93cddf6
Move Object\Contact to Model\Contact
2017-12-07 09:04:24 -05:00
Michael
6f7510550d
NETWORK_MAIL2 was never finished, so remove it as well
2017-12-03 09:19:58 +00:00
Adam Magness
2b121779a6
Salmon move to src
...
Salmon class, update function name and function calls. Some standards as well.
2017-12-02 09:32:45 -05:00
Adam Magness
f21feb975d
Require Cleanup
...
Remove instances of require_once for email.php
2017-12-01 14:57:13 -05:00
Hypolite Petovan
2196a0577b
Remove unused upubkey and uprvkey from queries
...
- Switched queries to new dba::* functions
2017-11-26 14:55:47 -05:00
Adam Magness
609a4de5d0
src Standards
...
This basically completes coding standards changes for the entire src directory, with the exception of App.php
2017-11-23 14:01:58 -05:00
Hypolite Petovan
898fe2db1e
Code cleanup
...
- Remove extraneous use statements
- Format require_once
2017-11-19 17:06:18 -05:00
Hypolite Petovan
5ee728972e
Remove include/Contact.php
...
- Remove all mentions to include/Contact.php
2017-11-19 17:05:21 -05:00
Hypolite Petovan
ec02af593d
Change called method names
...
- Add GlobalContact::getRandomUrl
- Rename Contact::getIdForURL
- Rename Diaspora::sendUnshare
- Remove unused parameter $self in Contact::terminateFriendship
2017-11-19 17:03:39 -05:00
Hypolite Petovan
b92fc24ff0
Add Contact Object
...
- Add Profile Object
- Add User Model
- Add use statements
2017-11-19 16:55:28 -05:00
Michael
8cd21269ff
The last of the big workers moved ... delivery and notifier
2017-11-19 18:59:55 +00:00