Carl Schwan
9e20993c4d
Php cs:fix
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 13:35:51 +02:00
Carl Schwan
be80ca5d0f
Update to php 7.4 type hinting
...
Using rector
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 13:02:31 +02:00
Carl Schwan
b4006e7ac2
Make wellknow work with new infra
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 21:44:44 +02:00
Maxence Lange
45a1f2138c
Merge pull request #1138 from mnd/activitystream-vocabulary
...
Support all Actor types from Activity Vocabulary
2020-12-02 22:28:07 -01:00
Nikolai Merinov
3722af564b
Support all Actor types from Activity Vocabulary
...
Support all types from https://www.w3.org/TR/2017/REC-activitystreams-vocabulary-20170523/
Signed-off-by: Nikolai Merinov <nikolai.merinov@member.fsf.org>
2020-11-23 01:52:04 -05:00
Robin Appelman
d045973449
add reblog content to mastadon api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-21 17:55:00 +02:00
Robin Appelman
dc5d89fe5c
expose isLocal trough api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:50:26 +02:00
Robin Appelman
dd9ed2f972
set reblogged and favorited in mastadon api
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Robin Appelman
cd86386bff
use the correct value for `account.acct`
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Robin Appelman
173b768038
preserve html in content
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Robin Appelman
2fb4f95f39
fix unfollow
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-14 13:23:32 +02:00
Maxence Lange
de67f15f6d
display avatar
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-13 16:51:56 -01:00
Maxence Lange
888d993141
using IWebfingerManager
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-23 11:41:28 -01:00
Maxence Lange
cb601b9b18
Merge pull request #1028 from nextcloud/html-whitespace
...
preserve some of the whitespace from html tags
2020-09-21 15:03:48 -01:00
Robin Appelman
ce1484f1b0
preserve some of the whitespace from html tags
...
without the "html whitespace" a hashtag posted after a url will be seen as part of the link by linkify, and then mangled by the hashtagmangler and break the url.
additionally this keeps the appearance of the post closer to the original
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-18 19:27:44 +02:00
Maxence Lange
638838cd50
single table/model for all exchange
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-18 10:55:47 -01:00
Maxence Lange
c827dd3ef2
better navigation
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-03 17:49:55 -01:00
Maxence Lange
3cc446aa9d
fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-03 00:57:07 -01:00
Maxence Lange
cf8a326c2d
avatar on post
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-02 12:07:57 -01:00
Maxence Lange
875203b75a
adding a numeric id to actors and stream for some 3rdclient
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-02 01:59:06 -01:00
Maxence Lange
8e7cf73e85
more endpoints
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-01 13:14:19 -01:00
Maxence Lange
8965acea03
oauth, first throw
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-28 01:36:19 -01:00
Maxence Lange
e986ca6a4f
proof of concept
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-25 02:06:43 -01:00
Maxence Lange
db9a804de0
fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-22 01:51:40 -01:00
Maxence Lange
0da568f56b
fix mention based on content
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-22 01:41:38 -01:00
Maxence Lange
58f22f961d
remote testing
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-01 00:12:01 -01:00
Maxence Lange
09a6aac937
new database
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-12 11:35:49 -01:00
Maxence Lange
55abe1ab21
add viewerLink during import of Person
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:14:12 -01:00
Maxence Lange
4776346318
Merge pull request #760 from nextcloud/feature/noid/sql-optimization-2
...
sql optimization on stream_action
2019-09-27 15:26:58 +02:00
Maxence Lange
f3ce5967c9
add viewer check on single post
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 15:03:25 +02:00
Maxence Lange
d9700dc2da
new sql structure + write requests
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 07:26:20 +02:00
Maxence Lange
ea34bc6e70
cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:07:24 +02:00
Maxence Lange
b1c50f91f6
better queries parser, add endpoint for replies
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:06:47 +02:00
Maxence Lange
00f57cf75e
Merge pull request #752 from nextcloud/bugfix/737/optimize-stream
...
SQL optimization (part 1)
2019-09-24 13:34:48 +02:00
Maxence Lange
961da41c47
timeline home sql optimization
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-23 12:34:21 +02:00
Maxence Lange
f24442a1fb
fixing/cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-17 12:23:43 +02:00
Maxence Lange
a2cd51b560
new table and migration of recipients
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 20:34:55 +02:00
Maxence Lange
fc496e1ab7
+subtype
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 17:29:10 +02:00
Maxence Lange
9084c5ac55
import subtype
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-16 17:08:07 +02:00
Maxence Lange
00d88d8ab9
cache uploaded images
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-26 09:45:13 +02:00
Maxence Lange
dab2b22415
details result
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 20:49:27 -01:00
Maxence Lange
3292520f2d
some renaming
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 18:34:38 -01:00
Maxence Lange
135bb96694
update if on the right timeline
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-15 12:56:29 -01:00
Maxence Lange
3b2942f3ee
gotObject -> hasObject
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-15 10:36:37 -01:00
Maxence Lange
b1c864e17a
streamdetails & pushservice
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-12 10:00:40 -01:00
Maxence Lange
708fef7c66
renaming NoteService -> StreamService
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-12 09:57:25 -01:00
Maxence Lange
e2fd1c7a7e
fixing an issue during import from remote instance
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-26 14:10:48 -01:00
Maxence Lange
0b84625c92
Merge pull request #626 from StCyr/stCyr_showAttachments
...
show post attachments
2019-07-21 09:57:56 -01:00
Cyrille Bollu
83738c0fe7
Adds a test on the toArray field in ACore's isPUblic function.
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-18 10:01:02 +02:00
Maxence Lange
f41c7efdbe
2 sizes available
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-17 20:34:28 -01:00
Maxence Lange
310c218232
code cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 14:00:05 -01:00
Maxence Lange
57291f5b1d
like/unlike post
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
post like
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
better managing between save/delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
delete undoAction
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-08 13:42:16 -01:00
Maxence Lange
06a2eb7629
notifications on like
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-28 18:36:24 -01:00
Maxence Lange
9411cf6046
Service as Actor
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-24 23:04:05 -01:00
Maxence Lange
e85bb3495c
fixing signature check
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 10:21:15 -01:00
Maxence Lange
a1221cacf6
new announce system
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
gotActor->hasActor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
retrieve Person if missing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix async
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
avoid async duplicate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-20 22:59:40 -01:00
Maxence Lange
37dd4f763e
more loggin
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-12 16:34:56 -01:00
Maxence Lange
b8d1546be7
Merge pull request #546 from nextcloud/boosts
...
display boosted posts with an according indication
2019-05-29 22:44:02 -01:00
Maxence Lange
dad67f6de0
Action on Cached Items
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 19:56:42 -01:00
Maxence Lange
8b9845787b
do not import SocialAppNotification from outside.
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 16:47:29 -01:00
Maxence Lange
13a03ee457
parse as Note if asked
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 16:47:09 -01:00
Maxence Lange
37f4d17815
default values in action
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cached version of the post contains action.values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fixing default values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-29 13:15:18 -01:00
Maxence Lange
ecdf7e6cf6
+filterHiddenOnTimeline()
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 16:33:21 -01:00
Maxence Lange
cd4878ab02
small bugfixes during the follow process
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 13:33:35 -01:00
Maxence Lange
77af4db6b4
allow non-https
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 13:20:02 -01:00
Maxence Lange
ec822a440b
cleaning code
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 09:19:45 -01:00
Maxence Lange
88a0d72740
fixing
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 18:44:12 -01:00
Maxence Lange
8174167e48
cleaning and renaming
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 13:32:31 -01:00
Maxence Lange
76997d0cd5
cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 08:33:45 -01:00
Maxence Lange
9854c65e0a
cleaning/merging to master
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-06 07:29:07 -01:00
Maxence Lange
27a4785650
managing Notifications in the notification steam
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 20:54:14 -01:00
Maxence Lange
0f714cfda1
cleaning Actions
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange
b4d773940c
Returns if a post is boosted, and allow unboost
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange
d25e5a680a
store actor of the Announce
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:30:39 -01:00
Maxence Lange
1bd6e3f44f
fixing & cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 16:25:08 -01:00
Maxence Lange
a6ad99eed1
Merge branch 'master' into feature/noid/attachments
2019-03-05 14:11:16 -01:00
Maxence Lange
d565151374
Merge pull request #374 from nextcloud/feature/noid/announce
...
[huge] Announce object and caching during incoming request
2019-03-05 08:16:00 -01:00
Maxence Lange
c200b083f0
Generating cache of context documents
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-23 21:27:29 -01:00
Maxence Lange
9ac8eb965b
boost creation
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-22 23:04:00 -01:00
Maxence Lange
8a92d5680a
Merge branch 'master' into feature/noid/announce
2019-02-21 08:38:04 -01:00
Maxence Lange
4dbb6f68cd
call uuid() froom TStringTools;
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-12 10:43:16 -01:00
Maxence Lange
20b8e0a51a
remove '#' from remote Notes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:25:20 -01:00
Maxence Lange
47fa5d08f3
save hashtags and get from database
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange
cb7583c68c
validate tags (mention and hashtags) on incoming request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange
01ed889984
adding hashtags on post creation
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange
823773fbbe
object returned in the stream
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-26 10:57:07 -01:00
Maxence Lange
4b3e206ec1
cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-26 10:13:57 -01:00
Maxence Lange
2af702bbb5
fixing some field when generating the Announce in DB
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-25 10:54:22 -01:00
Maxence Lange
0285c7cdbe
Note and Announce should extends Model/Stream
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-24 10:50:03 -01:00
Maxence Lange
accf7e424d
implementing caching for incoming request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-24 10:50:03 -01:00
Maxence Lange
fd2ef9e6ce
cleaning and renaming upsteam request caching
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-24 10:50:03 -01:00
Maxence Lange
d685af4008
Follow moved from Activity -> Object
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-24 10:50:03 -01:00
Maxence Lange
4b66908033
Stream object
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-24 10:50:03 -01:00
Maxence Lange
2081e9b3a5
Model and Interface: Announce
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-24 10:50:03 -01:00
Maxence Lange
1486e6454a
Merge pull request #340 from nextcloud/feature/333/refresh-detail-cache-on-new-follows
...
Refresh some Actor details in cache on Follow events
2019-01-20 21:35:24 -01:00
Maxence Lange
ed6833d7af
rewrite and return attachments
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange
145d748b03
saving document throw interface
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange
524c7aa141
save/update
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange
059711f28a
add attachment and parent_id field
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange
4a6c8f12af
cache Actor on followed/unfollowed + following/unfollowing
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:06:20 -01:00