Wykres commitów

73 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 fae487e942 status context api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-09 11:21:02 -01:00
Maxence Lange 9cbfa96f40 follow new api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-08 00:17:37 -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 fa27422740 get status api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-17 08:22:48 -01:00
Maxence Lange 0974fff12c account statuses
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-16 15:19:26 -01:00
Maxence Lange 0b2f66b210
minor fix
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-07 09:45:17 -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 33080573fc cs:fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-21 19:03:59 -01:00
Maxence Lange b32fa07f9c status creation from mastodon client
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-21 15:48:58 -01:00
Maxence Lange b1a8d2b52a
Merge pull request #1531 from nextcloud/enh/noid/timelineoptions-on-direct
new direct timeline
2022-11-21 14:52:12 -01:00
Carl Schwan 1adf04fcc1 Fix cs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 10:22:42 +01:00
Maxence Lange 1d0543b473 new direct timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-18 19:13:09 -01:00
Maxence Lange 9cb3b7e886 remove 'chunk'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-18 10:05:32 -01:00
Maxence Lange a9d73b77b4 fix min_id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-04 12:46:32 -01:00
Maxence Lange 05e41274a0 cs:fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-03 11:13:41 -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 de8879f856 Make social app compatible with 24
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 15:56:20 +02:00
Robin Appelman 8c070ee248 add public timeline for mastodon api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-22 15:01:37 +02:00
Maxence Lange 9edfc83a8f cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-13 23:51:41 +02:00
Maxence Lange 931c1d8ba8 using hasViewer()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-10-11 23:34:31 -01:00
Robin Appelman 1f7b24d0f2 show all activity when viewing your own profile, not just public activity
some more fine grained checks should be added later but this at least prevents 'you haven't tooted yet' from showing when you have tooted

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-09 16:13:08 +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 8e7cf73e85 more endpoints
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-01 13:14: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 85780ffbbc first throw of chunked table
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-31 12:21:59 -01:00
Maxence Lange 7862780eaf details on fail
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-27 20:02:09 -01:00
Maxence Lange b91f94b32e filter displayed Post based on viewer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-27 19:39:03 -01:00
Maxence Lange 745810e2b0 database & requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-17 12:41:58 -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 a2d94040fa better index of streams
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-08 18:52:36 -01:00
Maxence Lange 1b6b79927b remove old code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:54:03 -01:00
Maxence Lange 1130d7ffbd migrate data to a specific table
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:54:03 -01:00
Maxence Lange 6ba6d86fa7 quick optimisation of the timeline tag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-03 10:54:03 -01:00
Maxence Lange 85d07abebe cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-02 13:57:29 -01:00
Maxence Lange 9a554f72be filter DM
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 18:39:44 +02:00
Maxence Lange 741a49f09b fixing and cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-30 18:28:59 +02:00
Maxence Lange fbe4ea9012 rewrite sql to use ExtendedQueryBuilder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-29 17:41:47 +02:00
Maxence Lange 7f02c662f6 migration to ExtendedQueryBuilder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-29 13:44:06 +02: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 e32f4fa234 rewrite sql for 'timeline liked'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-27 07:53:05 +02:00
Maxence Lange 06d12a24dd fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:37:32 +02:00