b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files
2022-10-20 22:14:50 +02:00
940619325d
Add SessionUsers class including tests
2022-10-20 20:27:34 +02:00
ee1acba9eb
old boot.php functions replaced in /src
2022-10-19 07:56:25 -04:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
6f68679375
The EOL constant is removed
2022-10-18 12:29:50 +00:00
018858934b
The priority is now a class constant
2022-10-17 05:49:55 +00:00
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
9e74a1bd06
Contact array can be empty in Model\Contact::getAvatarPath
...
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1274195844
2022-10-11 08:26:00 -04:00
0d3aa681b4
The quote functionality is simplified
2022-10-09 21:16:36 +00:00
c65f78e579
Only display reshared thread starting posts
2022-09-28 09:48:48 +00:00
6ca725e5b6
Check for network key existence before calling Probe::isProbable in Model\Contact
...
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1253225607
2022-09-24 10:18:41 -04:00
36668dfdb1
Merge remote-tracking branch 'upstream/2022.09-rc' into duplicates
2022-09-21 03:46:25 +00:00
Michael Vogel
e5c24f33f0
The fcontact table is now updated in the background to improve performance
2022-09-18 15:40:44 +02:00
79b64cc44f
Detect and remove contact duplicates
2022-09-16 05:00:06 +00:00
6eb9dff807
Pagecache for frequently fetched pages
2022-09-06 06:04:41 +00:00
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
dd8279afc2
Some more protection against database errors
2022-08-25 18:47:07 +00:00
a4f1df68e4
Improved contact-id detection
2022-08-18 07:48:39 +00:00
5c5ae00370
Improved performance when updating contacts
2022-08-13 09:01:48 +00:00
4a885a13a6
Remove poke feature
2022-08-09 14:55:55 -04:00
f2eec66240
Hopefully fixes loops during message processing
2022-08-03 03:38:03 +00:00
1210e235fb
Extracted as variable to have 2 more array fields moved to array initialization.
2022-07-29 17:20:09 +02:00
676ca36c52
Changes:
...
- reformatted arrays
2022-07-29 17:20:07 +02:00
f8ed028013
Changed back to $cdata
.
2022-07-29 12:41:08 +02:00
eaed3945d1
Changed:
...
- used `$this->getRequestValue($request, 'foo', <bar>)` instead of `$request['foo'] ?? <bar>`
- fixed wrong variable naming
- changed double-quotes to single
- see https://github.com/friendica/friendica/issues/11631#issuecomment-1196410497
2022-07-29 00:38:46 +02:00
2ddf37f32d
Emergency fixes to fix a bunch of fatal errors
2022-07-17 11:47:12 +00:00
a392a22eee
Changes:
...
- added some type-hints
- fixed some documentation (void is lately returned, not null)
- added some documentation
2022-06-27 15:16:17 +02:00
8e19998191
Fixes:
...
- more "bool expected but null returned" errors
2022-06-27 13:49:53 +02:00
88870d18be
Changes:
...
- added some type-hints
- added documentation
2022-06-25 16:48:36 +02:00
39675fe683
Space for the rescue. ;-)
2022-06-25 16:48:35 +02:00
f12cc9648e
Changes:
...
- added some type-hints
- changed some double-quotes to single
2022-06-25 16:48:35 +02:00
adb4aea6ad
Changes:
...
- added some type-hints
- replaced most double-quotes (only Diaspora.php, later more) with single
- added some documentation
- normalized indenting in Diaspora.php (I hope I got all?)
2022-06-18 05:03:10 +02:00
e484b6d6dc
Continued:
...
- added more type-hints
- added some documentation
- Contact::getAccountType() should only process string, not null
2022-06-17 17:18:31 +02:00
33768ea1c6
Some fixes:
...
- $gsid's default value cannot sadly be 0, it now must be null to allow some
code work
- added some more type-hints
- documented a bit more
2022-06-17 17:18:31 +02:00
7560dccc08
Added again more type-hints
2022-06-17 17:18:31 +02:00
b816ae4db5
Some more default avatars
2022-06-13 20:07:54 +00:00
70b9a8114d
Improve license comment
2022-06-13 10:30:21 +00:00
d9fb081db9
Using separate avatars for different peertube account types
2022-06-13 10:27:46 +00:00
c1a64b77c0
Improved license text
2022-06-13 10:03:34 +00:00
e0a0c57c44
Use platform specific default avatar pictures
2022-06-13 05:18:54 +00:00
540b3f892b
Issue 11557: Update all local contacts
2022-05-29 17:48:09 +00:00
0a43fe857c
Pass the "force" parameter to the avatar update
2022-05-27 05:36:07 +00:00
918c1eeb56
Check for phantom network
2022-05-25 11:46:58 +00:00
f5d69b3b6a
Ensure that the public contact exixts before adding a user contact
2022-05-25 11:43:29 +00:00
0b50dc363b
Caching of "noscrape"
2022-05-17 15:39:04 +00:00
73019284ce
Increase cache lifespan / clear cache upon changes
2022-05-17 12:32:25 +00:00
30b9af10ac
Fetch featured posts through a worker
2022-05-15 09:08:35 +00:00
3d7ecb4fde
Don't update the local avatar
2022-05-11 18:30:59 +00:00
47ee6fd009
Fix a warning because of an undefined array key
2022-05-11 16:01:37 +00:00
fae414fedd
Fix local avatar, improve speed for fetching cached photos
2022-05-10 18:18:24 +00:00
006b7a95f0
More avatar handling isolation
2022-05-09 06:57:47 +00:00
53d064c283
Avatar handling is moved to a separate class
2022-05-09 06:27:46 +00:00
e3692c0105
Replaced check with hardwired path
2022-05-09 04:26:00 +00:00
f220e26f00
Use new function to check for a local avatar cache file
2022-05-08 10:32:29 +00:00
805dc8e6bd
Fix config call
2022-05-08 09:34:30 +00:00
dd422a1e03
Fix contact field name
2022-05-08 08:57:41 +00:00
7b0187c4c5
Don't overwrite already replaced cache file paths
2022-05-08 08:53:18 +00:00
2d856f48b7
Use the default timeout
2022-05-08 05:51:18 +00:00
a31256412e
Cache contact avatars locally as files
2022-05-08 05:37:17 +00:00
19c1b31ab2
Only add valid values to the worker
2022-05-01 07:03:10 +00:00
d44641e58c
Fetch avatar by id
2022-04-29 07:30:13 +00:00
144c9f00f4
Fix: Show reshared posts on the contact page
2022-04-27 03:25:47 +00:00
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
d7df0825db
We now offer an endpoint for featured posts
2022-04-08 21:25:31 +00:00
Michael Vogel
b2b8b23ed6
Update src/Model/Contact.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-04-08 13:59:43 +02:00
69b7923df2
Use centralized function to fetch query results
2022-04-08 06:04:50 +00:00
6c8ea1d0d8
Updated messages.po / type added to query
2022-04-08 04:17:52 +00:00
75bc4eccb7
Display featured posts for contacts
2022-04-07 21:52:25 +00:00
ff70f74952
"accept" constants introduced and used
2022-03-28 10:33:06 +00:00
e6f745bcb1
Delete follow notification on unfollow
...
- Fix translation string typo
2022-03-14 07:58:39 -04:00
deafdcde95
Use public contact ID in Model\Post\UserNotification::insertNotification
...
- Add localRelationship dependency to Notification factory
- Remove dependencies from Factory\Notification->getMessageFromNotification method
2022-03-14 07:56:20 -04:00
cddead2343
Move follow revoke protocol to worker task
...
- Switch to public contact for revoke_follow hook
2022-02-24 09:35:55 -05:00
6a1f9a7fa3
Move unfollow protocol to worker task
...
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
52f5d924b7
Replace remaining instances of DBA::update('contact') with Contact::update()
...
- This was breaking the synchronisation between the contact and user-contact tables
2022-02-24 09:35:54 -05:00
e394143148
Private forums are now working via ActivityPub
2022-02-12 18:38:36 +00:00
9a764516d0
Use the "contact-type" instead of "forum" or "prv"
2022-02-09 06:52:16 +00:00
695d6ce461
Issue 10966: Ignore "only sharer" setting for forum accounts
2022-02-03 20:26:30 +00:00
4808713668
Don't cache local avatars
2022-02-01 20:22:40 +00:00
10bdaa0cfe
Always generate a random header if missing
2022-01-09 11:19:31 +00:00
df45a3b915
Remove unneeded code
2022-01-09 10:43:23 +00:00
bbda69a736
Don't store the default header in the contact table
2022-01-09 10:38:36 +00:00
618903fef7
Only update the contact when the header changed
2022-01-09 05:49:11 +00:00
cfd63f5682
Use randon pictures for networks that don't support banners
2022-01-09 05:24:35 +00:00
8147073c47
Added license information
2022-01-09 03:29:16 +00:00
59358077c7
First support for user headers
2022-01-08 22:43:11 +00: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
ce174cad91
More often update Diaspora contacts
2021-12-30 22:40:52 +00:00
29be22ee6a
Display interaction data for Diaspora accounts
2021-12-30 22:11:52 +00:00
84e7f65d52
Move sending follow message to remote server to Protocol class
2021-11-21 18:59:36 -05:00
d011f747ff
Remove unused parameter $network in Model\User::getDefaultGroup
2021-11-21 18:59:36 -05:00
eb1b2256a0
Removed and replaced deprecated functionalities
2021-11-07 14:00:47 +00:00
87673fd0c5
Merge remote-tracking branch 'upstream/develop' into logging
2021-10-25 18:56:29 +00:00
8185c591d8
New option to activate/deactivate contact avatar cache
2021-10-23 17:18:30 +00:00
a497bd3a3d
Merge remote-tracking branch 'upstream/develop' into logging
2021-10-22 06:06:39 +00:00
82c2a30c59
Fix wrong array access to Entity object
...
- Address https://github.com/friendica/friendica/issues/10756#issuecomment-949051839
2021-10-21 18:58:18 -04:00
7d7d310cc4
Replace almost every Introduction places
2021-10-21 21:49:21 +02:00
f6faae5bb1
Replace deprecated log
calls
2021-10-20 18:53:52 +00:00
353cd66b26
Merge pull request #10900 from annando/notify
...
`enotify.php` is removed and its functions were transferred
2021-10-19 22:22:41 -04:00
2f1f6f6fb2
Replace "notification" call with new function, removing enotify.php
2021-10-19 19:45:36 +00:00