Roland Häder
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
Roland Häder
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
Roland Häder
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
Roland Häder
7560dccc08
Added again more type-hints
2022-06-17 17:18:31 +02:00
Michael
b816ae4db5
Some more default avatars
2022-06-13 20:07:54 +00:00
Michael
70b9a8114d
Improve license comment
2022-06-13 10:30:21 +00:00
Michael
d9fb081db9
Using separate avatars for different peertube account types
2022-06-13 10:27:46 +00:00
Michael
c1a64b77c0
Improved license text
2022-06-13 10:03:34 +00:00
Michael
e0a0c57c44
Use platform specific default avatar pictures
2022-06-13 05:18:54 +00:00
Michael
540b3f892b
Issue 11557: Update all local contacts
2022-05-29 17:48:09 +00:00
Michael
0a43fe857c
Pass the "force" parameter to the avatar update
2022-05-27 05:36:07 +00:00
Michael
918c1eeb56
Check for phantom network
2022-05-25 11:46:58 +00:00
Michael
f5d69b3b6a
Ensure that the public contact exixts before adding a user contact
2022-05-25 11:43:29 +00:00
Michael
0b50dc363b
Caching of "noscrape"
2022-05-17 15:39:04 +00:00
Michael
73019284ce
Increase cache lifespan / clear cache upon changes
2022-05-17 12:32:25 +00:00
Michael
30b9af10ac
Fetch featured posts through a worker
2022-05-15 09:08:35 +00:00
Michael
3d7ecb4fde
Don't update the local avatar
2022-05-11 18:30:59 +00:00
Michael
47ee6fd009
Fix a warning because of an undefined array key
2022-05-11 16:01:37 +00:00
Michael
fae414fedd
Fix local avatar, improve speed for fetching cached photos
2022-05-10 18:18:24 +00:00
Michael
006b7a95f0
More avatar handling isolation
2022-05-09 06:57:47 +00:00
Michael
53d064c283
Avatar handling is moved to a separate class
2022-05-09 06:27:46 +00:00
Michael
e3692c0105
Replaced check with hardwired path
2022-05-09 04:26:00 +00:00
Michael
f220e26f00
Use new function to check for a local avatar cache file
2022-05-08 10:32:29 +00:00
Michael
805dc8e6bd
Fix config call
2022-05-08 09:34:30 +00:00
Michael
dd422a1e03
Fix contact field name
2022-05-08 08:57:41 +00:00
Michael
7b0187c4c5
Don't overwrite already replaced cache file paths
2022-05-08 08:53:18 +00:00
Michael
2d856f48b7
Use the default timeout
2022-05-08 05:51:18 +00:00
Michael
a31256412e
Cache contact avatars locally as files
2022-05-08 05:37:17 +00:00
Michael
19c1b31ab2
Only add valid values to the worker
2022-05-01 07:03:10 +00:00
Michael
d44641e58c
Fetch avatar by id
2022-04-29 07:30:13 +00:00
Michael
144c9f00f4
Fix: Show reshared posts on the contact page
2022-04-27 03:25:47 +00:00
Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Michael
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
Michael
69b7923df2
Use centralized function to fetch query results
2022-04-08 06:04:50 +00:00
Michael
6c8ea1d0d8
Updated messages.po / type added to query
2022-04-08 04:17:52 +00:00
Michael
75bc4eccb7
Display featured posts for contacts
2022-04-07 21:52:25 +00:00
Michael
ff70f74952
"accept" constants introduced and used
2022-03-28 10:33:06 +00:00
Hypolite Petovan
e6f745bcb1
Delete follow notification on unfollow
...
- Fix translation string typo
2022-03-14 07:58:39 -04:00
Hypolite Petovan
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
Hypolite Petovan
cddead2343
Move follow revoke protocol to worker task
...
- Switch to public contact for revoke_follow hook
2022-02-24 09:35:55 -05:00
Hypolite Petovan
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
Hypolite Petovan
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
Michael
e394143148
Private forums are now working via ActivityPub
2022-02-12 18:38:36 +00:00
Michael
9a764516d0
Use the "contact-type" instead of "forum" or "prv"
2022-02-09 06:52:16 +00:00
Michael
695d6ce461
Issue 10966: Ignore "only sharer" setting for forum accounts
2022-02-03 20:26:30 +00:00
Michael
4808713668
Don't cache local avatars
2022-02-01 20:22:40 +00:00
Michael
10bdaa0cfe
Always generate a random header if missing
2022-01-09 11:19:31 +00:00
Michael
df45a3b915
Remove unneeded code
2022-01-09 10:43:23 +00:00
Michael
bbda69a736
Don't store the default header in the contact table
2022-01-09 10:38:36 +00:00