Wykres commitów

160 Commity (ab347790a8fb92c5e1fe87ff3b8d00989fd0386d)

Autor SHA1 Wiadomość Data
Louis Chemineau ab347790a8 Use new Mastodon like API
Revert "Revert "Merge pull request #1581 from nextcloud/artonge/feat/use_new_api""

This reverts commit c4eef0b2d4.

Signed-off-by: Louis Chemineau <louis@chmn.me>

Adapt views to new timeline api

Signed-off-by: Louis Chemineau <louis@chmn.me>

Add types

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix type errors

Signed-off-by: Louis Chemineau <louis@chmn.me>

Adapte front-end to mastodon data format

+ Add typing
+ Modernize code

Signed-off-by: Louis Chemineau <louis@chmn.me>

Use new API for media attachments

+ Split Composer.vue into tinier composent
+ Use blurhash value of attachments

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix media attachment rendering in post component

Signed-off-by: Louis Chemineau <louis@chmn.me>

Use square container to display statuses attachments

Signed-off-by: Louis Chemineau <louis@chmn.me>

Add typing to timeline.js

And fix type errors

Signed-off-by: Louis Chemineau <louis@chmn.me>

Forward format to getStreamSelectSql for direct timeline

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix liked timeline

Signed-off-by: Louis Chemineau <louis@chmn.me>

Use new API for local and federated timelines

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix profile and avatar for local users

Signed-off-by: Louis Chemineau <louis@chmn.me>

Update babel config

Signed-off-by: Louis Chemineau <louis@chmn.me>

Improve typing in account.js

Signed-off-by: Louis Chemineau <louis@chmn.me>

Handle new notification format

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix follow button

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix condition of delete button for statuses

Signed-off-by: Louis Chemineau <louis@chmn.me>

Add relationship fetching

Signed-off-by: Louis Chemineau <louis@chmn.me>

Improve attachments viewer

Signed-off-by: Louis Chemineau <louis@chmn.me>

Correctly use twemoji

Signed-off-by: Louis Chemineau <louis@chmn.me>

Clean up composer

Signed-off-by: Louis Chemineau <louis@chmn.me>

Insert emoji on the last line instead of creating a new one

Signed-off-by: Louis Chemineau <louis@chmn.me>

Overall improvements in composer

Signed-off-by: Louis Chemineau <louis@chmn.me>

Clean up PreviewGridItem

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix fetching relationships

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix followers and following list

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix direct link to followers and following lists

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix notifications endpoint

Signed-off-by: Louis Chemineau <louis@chmn.me>

Handle different types of notifications

Signed-off-by: Louis Chemineau <louis@chmn.me>

Add formatted date as title for statuses

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix entryContent computed property

Signed-off-by: Louis Chemineau <louis@chmn.me>

Handle reblog

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix favourite type

Signed-off-by: Louis Chemineau <louis@chmn.me>

Load context of status for single post

Signed-off-by: Louis Chemineau <louis@chmn.me>

Use new format to set the uid in single post

Signed-off-by: Louis Chemineau <louis@chmn.me>

Fix display name property

Signed-off-by: Louis Chemineau <louis@chmn.me>

Hack to handle context of single post

Signed-off-by: Louis Chemineau <louis@chmn.me>

Use item id to fetch context

Signed-off-by: Louis Chemineau <louis@chmn.me>

Remove unsused variable

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-09 19:02:31 +01:00
Maxence Lange 96f4b87558 fix id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-09 14:37:07 -01:00
Maxence Lange 0850295666 sizeof instead
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-09 12:17:36 -01:00
Maxence Lange 17e383471e notification.status format
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-08 15:51:17 -01:00
Maxence Lange a8e7de151f add meta to attachments
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-07 14:30:22 -01:00
Maxence Lange 1c12b522e5 stream actions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-07 09:09:48 -01:00
Maxence Lange b193f383f0 fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-06 10:37:55 -01:00
Maxence Lange 0298fb6294 add media_attachments to api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-02-23 11:06:52 -01:00
Maxence Lange 6a4550b1f7 local acct is username
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-17 14:17:54 -01:00
Maxence Lange 1e05ef508d small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-12 12:43:17 -01:00
Maxence Lange cbcd62e3af retention
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-05 08:58:19 -01:00
Maxence Lange 0efe47743e fixing psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-04 22:38:31 -01:00
Maxence Lange 7ff583eb26 delete and move
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-06 23:14:18 -01:00
Maxence Lange 0ebc496d81 favourites and notifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-03 15:55:44 -01:00
Maxence Lange 17699ac911 fix digest, error on curl
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-24 09:27:40 -01:00
Carl Schwan 9061a6812e Embeed tools lib
And fix method signature for 25

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-20 09:41:40 +02:00
Carl Schwan 39f7243857 Fix not being able to post new messages
The flag for json_encode was wrongly positioned due to some issue with
the paranteses.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 19:20:00 +02:00
Carl Schwan 46df90a0fb Add psalm static analysis
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 17:40:33 +02:00
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
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 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 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 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 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 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