Commit graph

2737 commits

Author SHA1 Message Date
Michael
4daae255d8 Performance: Avoid queries where there is no media or category 2022-05-16 17:06:58 +00:00
Michael
62a1cf257e Improved poll texts for different conditions 2022-05-16 06:04:46 +00:00
Michael
2dc9b4eda2 Vote text changed 2022-05-16 05:31:53 +00:00
Michael
a63caefe3d Polls are now displayed 2022-05-16 04:55:15 +00:00
Hypolite Petovan
4829c240e9
Merge pull request #11516 from annando/issue-11472
Issue 11472: Store the "edit" history
2022-05-15 20:24:59 -04:00
Michael
2c511b8a23 Check the edit date before storing history 2022-05-15 21:15:31 +00:00
Michael
440b6d7956 Issue 11504: Abstract has to be plaintext 2022-05-15 21:04:01 +00:00
Michael
d77b043d9c Fixing tests 2022-05-15 20:26:14 +00:00
Michael
324cce7a19 Issue 11472: Store the "edit" history 2022-05-15 20:21:56 +00:00
Michael
30b9af10ac Fetch featured posts through a worker 2022-05-15 09:08:35 +00:00
Michael
a8839517fe Fix workerqueue entries with wrong priority 2022-05-14 06:36:43 +00:00
Michael
fab5ba39ff Failed post deliveries are now deleted via cron 2022-05-13 18:48:13 +00:00
Michael
a662245c74 We now store the receivers as well 2022-05-13 05:52:05 +00:00
Michael
b0b67f1fde Remove failing posts 2022-05-12 12:43:49 +00:00
Michael
a943dbb420 Introducing the "failed" counter 2022-05-12 06:54:58 +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
7c3173a0ae Avoid endless loop when storing posts 2022-05-10 06:07:26 +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
67c3a20c4f Issue 11440: Hashtags are now generated again 2022-05-06 17:03:51 +00:00
Michael
4d359b7de1 Move the plink functionality to the right function 2022-05-05 07:57:52 +00:00
Michael
10b453bfc2 Deprecated function removed 2022-05-04 07:49:37 +00:00
Michael
60532ee7e4 Fill the item cache when storing item 2022-05-04 06:17:34 +00:00
Michael
f6218427a4 Use the uri-id to fetch the contact 2022-05-03 21:51:56 +00:00
Michael
40aa67f8be Bulk transmission for AP posts 2022-05-02 05:15:27 +00:00
Michael
19c1b31ab2 Only add valid values to the worker 2022-05-01 07:03:10 +00:00
Michael
1f43332a1d Only fetch category when it exists 2022-04-30 06:57:22 +00:00
Michael
a2452b33eb Add missing fields to collection 2022-04-29 10:13:23 +00:00
Michael
d3de2497bc Use gsid for the network name 2022-04-29 07:47:24 +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
83e311decb Standards 2022-04-25 13:49:17 +00:00
Michael
990eea2c4e We now store uncommon endpoints 2022-04-25 13:45:03 +00:00
Michael
069a008ca4 Removed unused tag entries 2022-04-24 15:27:20 +00:00
Michael
4af6e730d3 Use different collections 2022-04-23 12:32:29 +00:00
Michael
0a3c5cc40c Add the function documentation 2022-04-23 11:43:30 +00:00
Michael
060597f619 Store the tag type for the post targets 2022-04-23 11:39:19 +00:00
Michael
9b646dad97 API: We can now display polls 2022-04-22 19:24:22 +00:00
Michael
8d25094719 Fix test 2022-04-20 06:33:14 +00:00
Michael
834844573b We can now store incoming questions 2022-04-20 06:28:02 +00:00
Michael
0380a3e216 Fix: The language detection only searched for farsi 2022-04-19 06:16:44 +00:00
Michael
0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
Michael
30e5ef928a Avoid wrong server type detection / Owncast added 2022-04-12 05:34:34 +00:00
Michael
62367923e0 Fix several notices 2022-04-11 18:57:30 +00:00
Hypolite Petovan
3842f02b02
Merge pull request #11402 from annando/featured-endpoint
We now offer an endpoint for featured posts
2022-04-11 11:17:56 -04:00
Michael
d7df0825db We now offer an endpoint for featured posts 2022-04-08 21:25:31 +00:00
Hypolite Petovan
4eecf733e1
Merge pull request #11389 from nupplaphil/feat/http_client_arg
Introduce explicit HttpClient "Accept" parameter
2022-04-08 15:05:40 -04:00
Philipp
3033f79529
head fixings 2022-04-08 20:48:57 +02:00
Philipp
8e2cc678dc
head fixings 2022-04-08 20:41:25 +02: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
65071ffc9e Issue 11393: Fix failing preview 2022-04-06 16:26:51 +00:00
Michael
5a3fe900f0 Fix test 2022-04-06 15:32:14 +00:00
Michael
a1dd299eb3 Preparations for "featured" posts 2022-04-06 13:34:11 +00:00
Michael
c0b3c527d6 Added processing of incoming block notices 2022-04-05 19:14:29 +00:00
Michael
61abc6377d Preparation for "Featured" collection added 2022-04-04 23:07:44 +00:00
Philipp
04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
Michael
029daef997 Only use and accept valid http links as links to an external resource 2022-04-03 07:21:36 +00:00
Philipp
e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
Philipp
73c3b21665
Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
Michael
2ca51f752d Use appropriate "accept" values 2022-03-30 14:39:53 +00:00
Michael
28e3eee91b Add "Accept" to "head" 2022-03-29 13:34:54 +00:00
Michael
1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
Michael
ff70f74952 "accept" constants introduced and used 2022-03-28 10:33:06 +00:00
Michael
91905bea89 Don't create empty announce notifications 2022-03-19 17:53:41 +00:00
Michael
0aa229489f Improved function description 2022-03-18 07:24:45 -04:00
Michael
040abc7743 Use a nicer GUID style format 2022-03-18 07:24:44 -04:00
Hypolite Petovan
7b9e62198e Suppress a couple MemcachedException
- Replace URL by uri-id in apcontact
- Replace date with a space and nurl by nick and Zulu time in mod/poco
2022-03-15 10:54:00 -04: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
Michael
12d7c99f46 Don't send notifications for activities caused by the community contact 2022-03-13 05:44:29 +00:00
Michael
073a6afaaf Reduce amount of notifications by communities 2022-03-12 04:20:19 +00:00
Michael
5eb647585d Issue 11315: Fix for all receivers in "to" 2022-03-11 20:39:03 +00:00
Michael
2f97d61a09 Estimate active server users when not provided by the system 2022-03-10 21:50:00 +00:00
Michael
903bc9b679 Improved support for Mastodon style content warnings 2022-03-06 11:49:55 +00: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
Hypolite Petovan
1d779c6193 Ensure the private message recipient is valid in Mail::send
- Arbitrary input could be used to circumvent most restrictions regarding recipients (except contact relationship)
2022-02-23 21:30:18 -05:00
Hypolite Petovan
c86cc83524
Merge pull request #11260 from mkljczk/develop
API: add list members editing
2022-02-20 09:45:25 -05:00
marcin mikołajczak
0209892631 Apply suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-20 14:10:57 +01:00
Michael
311c1fdd81 Avoid warning and notice 2022-02-20 05:14:36 +00:00
marcin mikołajczak
9c6f6bcb95 API: add list members editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-19 23:22:54 +01:00
Michael
c867581530 Store the receivers of a post in the tags 2022-02-19 13:31:49 +00:00
Hypolite Petovan
c03ff7833b
Merge pull request #11253 from annando/forum3
More rework to make private communities working
2022-02-18 12:19:57 -05:00
Tobias Diekershoff
4c7d3a6371
Merge pull request #11255 from MrPetovan/task/11245-thread-completion-like
Relax comparison with pconfig system.accept_only_sharer value
2022-02-18 17:09:42 +01:00
Hypolite Petovan
c376081d0d Relax comparison with pconfig system.accept_only_sharer value
- DI::pConfig()->get returns a string value, not an integer
- Removed superfluous default values now that we aren't doing strict type checking
2022-02-18 09:32:30 -05:00
Michael
39724d5079 Add the mentions 2022-02-18 09:12:33 +00:00