08abf65f7b
Old database functions had been replaced in the workers
2018-04-09 21:34:23 +00:00
a75858f02c
Don't queue relay posts
2018-04-08 09:46:47 +00:00
3e6507441e
Queue: Better handling of return values of transmissions
2018-04-04 19:03:05 +00:00
e7fb8c04dd
Don't always queue messages
2018-04-03 12:27:22 +00:00
1a2c771f24
DFRN: Improvements to delivery. Logging and marking as not reachable
2018-04-03 12:18:05 +00:00
bfd057f148
Direct transfer without a relay is now possible
2018-03-28 04:24:38 +00:00
Hypolite Petovan
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
d98c6819e7
$contact isn't called by reference anymore
2018-03-14 20:53:03 +00:00
7db0b850cb
Avoid an error in OnePoll when the contact was "null".
2018-03-14 19:47:14 +00:00
Hypolite Petovan
789561c7a2
Remove/Update references to include/html2*.php
2018-03-07 16:34:17 -05:00
2f121aa828
When deleting, don't send the parent via DFRN
2018-03-01 20:44:44 +00:00
82bd26edb9
The item class had been improved (e.g. database calls)
2018-02-21 21:08:37 +00:00
0062fede79
Issue 1312: Improve account expiry
2018-02-18 22:19:20 +00: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
2a762868e9
Some clean up for the worker, arrays are now supported as parameter
2018-02-11 16:18:39 +00:00
d70a20a466
We now incrementally calculate the queue delivery time
2018-02-08 18:39:48 +00:00
8ea572ebd1
Added a config value to ignore server checks
2018-02-08 13:09:09 +00:00
0093f863fd
Don't add already queued items from Diaspora to the queue again
2018-02-08 11:26:24 +00:00
4859a18ae4
Fixed wrong capitalation (or however this is written)
2018-02-06 23:17:18 +00:00
053cb31eea
Forgotten commented out text
2018-02-06 22:57:56 +00:00
47d165cb25
Hook calls can now be forked into a worker queue entry
2018-02-06 22:52:36 +00:00
e609de2957
Many item calls are now isolated in a single function
2018-02-06 12:40:22 +00:00
Michael Vogel
fa95911fdb
Merge pull request #4393 from MrPetovan/task/3878-move-include-tags-to-src
...
Move include/tags to src/
2018-02-05 18:11:29 +01:00
Hypolite Petovan
2a486903d1
Remove references to include/tags.php
2018-02-03 23:59:31 -05:00
Hypolite Petovan
507bea0e9f
Copy functions from include/tags to src
...
- Create Content\Widget\TagCloud
- Populate Worker\TagUpdate::execute
- Add Content\Widget::tagCloud
- Add Model\Term::insertFromItemId and Model\Term::insertFromItemUri
2018-02-03 23:51:40 -05:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
cea80c78e4
Replace remaining functions in include/datetime by Temporal methods
...
- Fix uses statements
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
b854905150
Move ATOM_TIME to Temporal::ATOM
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan
997b058743
Add missing use for Model\Item in Worker\Delivery
2018-01-30 21:14:44 -05:00
9cbc4a7355
Basic forum support for Diaspora
2018-01-30 06:22:09 +00:00
6871481a78
Moved "limitBodySize"
2018-01-28 17:36:37 +00:00
7b27dda784
Most functions now moved from include/items.php
2018-01-28 11:18:08 +00:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
ca76e49c23
Move remaining functions
...
update remaining function calls
2018-01-27 08:25:54 -05:00
Adam Magness
a32ba32ff4
Move post_url
...
move post_url function
2018-01-26 23:24:23 -05:00
Adam Magness
2f9642392d
Move z_fetch_url
...
move z_fetch_url method
2018-01-26 23:18:38 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Adam Magness
1c7fd310d2
Create PostUpdate class
...
create new class and update call from worker
2018-01-25 11:29:43 -05:00
3ace5d0d1d
Some functions had been moved away from include/items.php
2018-01-24 20:27:32 +00:00
Adam Magness
07d306aa37
Finish t() for src
...
Update t() calls in src folder
2018-01-22 18:03:26 -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
034d46196f
"last-child" is not used anymore
2018-01-18 06:54:44 +00:00
2d66242b4f
The delete function is now changed to the new function
2018-01-17 23:22:01 +00:00
c4d3ab6878
Transfer all item shadow functions to the item class
2018-01-16 22:23:19 +00:00
Adam Magness
5d8f798ef7
Fix class name issue
...
use Model\Queue as QueueModel and update function calls.
2018-01-16 08:49:08 -05:00
Adam Magness
920a9b9b12
Remove requires
...
remove require_once statements
2018-01-15 20:16:14 -05:00
Adam Magness
33ac7a529f
Update functions and calls
...
update function names and calls
2018-01-15 20:12:07 -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
b638ed9e86
Corrected function name
2018-01-12 23:43:08 +00:00
3c027699a5
Receive participation messages and processes them
2018-01-12 20:52:43 +00:00
Hypolite Petovan
5fc4927764
Improve dba::selectFirst calls
...
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05: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
Adam Magness
c81e83c500
Review changes
...
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
2018-01-09 11:23:26 -05:00
Adam Magness
a59ab5552e
Includes and calls
...
Remove includes and update function calls
2018-01-09 09:59:52 -05:00
0c9a9b6f0c
Commenting to (nearly) every Friendica contact is now possible
2018-01-04 19:48:56 +00:00
Adam Magness
71534a1475
Review update
...
Rename function and add new function.
2018-01-03 22:36:15 -05:00
Adam Magness
e37640c44c
Move Photos to xrc
...
Move photos from include to Model\Photo class
2018-01-03 21:01:41 -05:00
Hypolite Petovan
c2e29f2685
Add type parameter to OStatus::feed
...
- Removed unused parameter $a
- Added $nocache parameter
- Updated usages
2017-12-30 00:19:16 -05:00
0bcbe6034e
Like on uid=0 does work now
2017-12-27 22:21:40 +00:00
9acc2ffc24
Make it easier
2017-12-27 21:51:16 +00:00
fa8a09d977
Comments to public posts no get through
2017-12-19 23:12:37 +00:00
52a799574d
OnePoll: We now force an update check all the time
2017-12-18 12:51:29 +00:00
Hypolite Petovan
872190dcb0
Fix missing variable in Worker\Directory
...
- Remove fixed comment in PortableContact
2017-12-17 16:25:32 -05:00
Hypolite Petovan
df02238659
Centralize owner data fetch
2017-12-17 16:22:39 -05:00
Hypolite Petovan
5926cd534a
Add FIXME for unrecoverable missing variables
2017-12-17 15:35:38 -05:00
Hypolite Petovan
2978b1eef0
Fix undefined variable/wrong parameter count/unknown functions
2017-12-17 15:33:45 -05:00
Hypolite Petovan
916236ce2f
Fix docblocks types
2017-12-17 15:27:50 -05: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
bc58e8d3be
Rename Model\GlobalContact to Model\GContact
2017-12-07 23:57:56 -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
cd84bf8963
Rename Model\GlobalContact to Model\GContact
2017-12-07 09:09:28 -05:00
Hypolite Petovan
18d93cddf6
Move Object\Contact to Model\Contact
2017-12-07 09:04:24 -05:00
Adam Magness
71911a6989
Use default value
...
use the default value parameter correctly!
2017-12-06 15:25:36 -05:00
Adam Magness
cadfef63c4
Update false evaluations
...
=== false and !== false to is_null where appropriate.
2017-12-06 14:57:06 -05:00
7099a54b3d
Cut and paste is always fun
2017-12-06 16:50:52 +00:00
4bf425de5d
Merge remote-tracking branch 'upstream/develop' into dbclean
2017-12-06 16:49:55 +00:00
f1f222c633
Removed unused code
2017-12-06 14:30:07 +00:00
ad5c263dbf
Reduced "dbclean" calls
2017-12-06 14:23:38 +00:00
418365b30e
DBClean now runs as long as there are entries to be deleted
2017-12-06 14:22:03 +00:00
9ffde01fc1
DBClean now works with the conversation table as well
2017-12-05 21:30:38 +00:00
115d71e841
One tab too much
2017-12-05 09:34:43 +00:00
5f9e87ea5a
Some cleanup for archiving/unarchiving contacts
2017-12-05 07:08:20 +00:00
Michael Vogel
2685c9bb1c
Merge pull request #4003 from MrPetovan/task/3942-move-user-to-src
...
Migrate password hashing Part 2: Move include/user to src
2017-12-04 10:32:45 +01:00
ad8c290c2b
Improved vitality check for followers, feeds and OStatus contacts
2017-12-04 06:54:08 +00:00
Hypolite Petovan
27212c7f39
Update function calls to use Model\User and Object\Contact
2017-12-03 22:29:06 -05:00
Hypolite Petovan
4395c20679
Fix formatting and add documentation
...
- mod/register
- mod/regmod
- Model/User
- Worker/CronJobs
2017-12-03 22:15:31 -05:00
f988ed5d15
Merge remote-tracking branch 'upstream/develop' into onepoll
2017-12-03 13:45:48 +00:00
6f7510550d
NETWORK_MAIL2 was never finished, so remove it as well
2017-12-03 09:19:58 +00:00
cd55c742e8
Check Diaspora contacts, don't poll unreachable contacts too often
2017-12-03 08:59:24 +00:00
adf802474b
Zot was never really supported, so it is now removed completely
2017-12-02 21:57:39 +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
9a4e741d1a
Review Changes
...
renamed some functions and adjusted corresponding calls.
2017-12-01 21:05:06 -05:00
Adam Magness
f21feb975d
Require Cleanup
...
Remove instances of require_once for email.php
2017-12-01 14:57:13 -05:00
Adam Magness
6008e3df11
Email to src
...
Create Email class and update/rename functions and function calls.
2017-12-01 14:41:27 -05:00
Hypolite Petovan
16fb014547
Hotfix missing use dba
2017-11-27 14:03:47 -05:00
Hypolite Petovan
ced1063a10
Improved dba calls
...
- Removed intval calls
- Used boolean values for params when relevant
2017-11-27 08:17:56 -05:00
Hypolite Petovan
456dfbe486
Forgotten change in src/Worker/Queue.php
2017-11-26 14:56:50 -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
Hypolite Petovan
90a8ae2cb8
Fix formatting
...
- include/auth.php
- include/oauth.php
- include/user.php
- mod/removeme.php
- src/Worker/Queue.php
2017-11-26 14:18:45 -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
7c3fd2adb5
Some more replaced old database functions
2017-11-22 07:21:19 +00:00
0877cf862c
Queue and GProbe should now be executed
2017-11-20 21:30:57 +00:00
Hypolite Petovan
b85c94a60d
Merge branch 'develop' into issue/3878-move-Contact-to-src
2017-11-19 18:09:14 -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
920160cb28
The poller is now the worker
2017-11-19 21:47:21 +00:00
183999ee08
No german compound wording :-)
2017-11-19 19:47:04 +00:00
8cd21269ff
The last of the big workers moved ... delivery and notifier
2017-11-19 18:59:55 +00:00
5108115fc1
Now PubSubPublish moved as well
2017-11-19 17:36:20 +00:00
2de457489f
"CreateShadowentry" and "ProfileUpdate" now moved as well
2017-11-19 16:59:37 +00:00
98686e9091
Queue.php is now moved as well
2017-11-19 16:35:45 +00:00
501514bd54
expire and gprobe now moved as well
2017-11-19 16:25:13 +00:00
3616ff886e
Corrected class name
2017-11-19 00:14:20 +00:00
02e4cf2a02
Missing variable
2017-11-18 23:46:16 +00:00
1f28cbd2c6
And now DiscoverPoCo.php
2017-11-18 11:02:46 +00:00
925d2d2383
Directory moved
2017-11-18 07:59:30 +00:00
2515d02e6d
SpoolPost moved
2017-11-18 07:44:38 +00:00
28315ee9dd
Missing namespace
2017-11-18 07:33:44 +00:00
13f899542d
dbupdate now moved as well
2017-11-18 07:31:33 +00:00
04cc9bb4de
CronJobs moved as well
2017-11-18 06:22:41 +00:00
f2e792662f
DBClean moved as well
2017-11-18 05:45:44 +00:00
911093580b
Missing dba
2017-11-18 05:12:57 +00:00
3687ef2f8c
Another worker process moved
2017-11-17 22:16:34 +00:00
0aee6d383a
Now there are four more ...
2017-11-15 21:12:33 +00:00
33e98d6264
Moved some workers in their new habitat
2017-11-15 20:59:42 +00:00
Adam Magness
259f91caa9
PortableContact created
...
Create PortableContact and remove socgraph, update references, and calls
2017-11-15 10:53:16 -05:00
Adam Magness
47db624105
GlobalContact created
...
Moved DirSearch and GlobalContact related functions to Friendica\Model namespace
2017-11-15 09:47:49 -05:00
405753d1c3
cron.php is reworked, other worker files had been moved temporarily
2017-11-14 21:50:16 +00:00
42a89b101b
CronHooks now works again.
2017-11-12 21:32:10 +00:00
476facde61
Onepoll moved as well
2017-11-12 18:50:35 +00:00
521e213e7a
I will never understand git ...
2017-11-12 07:26:04 +00:00
1aa8f56662
The cronhooks are now changed
2017-11-12 07:24:49 +00:00