Wykres commitów

268 Commity (f95a8c57c410e3bca961c0687d7ac861c6fa0aee)

Autor SHA1 Wiadomość Data
Maxence Lange f699ec39b4 generate local copy of document
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-14 16:03:50 -01:00
Maxence Lange fc786859f1 import as local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-13 10:11:16 -01:00
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 c3f41243a8
Merge pull request #1635 from nextcloud/fix/noid/status-format
notification.status format
2023-03-08 16:08:33 -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 b39fb7f90f add relationships api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-08 13:42:19 -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 0298fb6294 add media_attachments to api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-02-23 11:06:52 -01:00
Louis Chemineau d6f086a22a Fix sending hashtags and mentions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-19 15:11:05 +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 74f1a6f70d
Merge branch 'master' into enh/noid/account-statuses
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-16 15:47:29 -01:00
Maxence Lange 0974fff12c account statuses
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-16 15:19:26 -01:00
Louis Chemineau 0b1f7b7853 Use new timeline API
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-16 14:57:42 +01:00
Louis Chemineau 7750b0c9ca Check webfinger after having created the user
On first run, the user does not exist, so the webfinger check fails.
This makes sure that the user exists before doing the webfinger check

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-12 16:31:24 +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 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
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 72be817000
Merge pull request #1521 from nextcloud/enh/noid/authorize-deny-popup
confirmation popup
2022-11-21 15:31:44 -01:00
Carl Schwan fb266f056d Implement UI
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 14:53:49 +01:00
Maxence Lange cbb54b6dfa confirmation popup
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-08 10:40:20 -01:00
Maxence Lange a23c032b01 nodeinfo rootUrl
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-08 10:20:54 -01:00
Maxence Lange 62a8215325 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-03 13:23:07 -01:00
Carl Schwan 22216186d9 Implement getting list of followers
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:22:21 +02:00
Carl Schwan e3e60b44ff Fix static analysis
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 13:56:08 +02:00
Carl Schwan cb07ab075e Fix composer cs
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:43:45 +02:00
Carl Schwan e037394a50 Make uploading files work
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:37:18 +02:00
Max 8405a1193a
fix: coding standards
Prevent CI failures like https://github.com/nextcloud/social/runs/7711238464?check_suite_focus=true

Signed-off-by: Max <max@nextcloud.com>
2022-08-07 20:19:42 +02:00
Max bd17e38756
fix: php-cs
Signed-off-by: Max <max@nextcloud.com>
2022-08-07 11:00:30 +02:00
Carl Schwan cc38526f97 Fix networking issues
Otherwise webfinger requests are not executed correctly

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-12 13:55:15 +02:00
Carl Schwan 5a36e2474e Improve upload UI
- Remove a dependency
- Cleanup the code
- Improve the usability
- Allow to add a description to an image

The backend is unfortunately not yet working but that need some DB work
blocked by another pull requests

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-11 18:20:55 +02: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 637924a13f Port away from private OC::$server->get
And fix a few psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-11 18:22:54 +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
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
Maxence Lange 279d43638c
Merge pull request #1090 from nextcloud/mastadon-api-fixes
Mastadon api fixes
2020-12-02 20:50:41 -01:00
Maxence Lange 6866088431 using TNC20Request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-30 23:58:32 -01:00
Robin Appelman f8e55b158c allow setting min and max id in timeline request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-19 18:25:06 +02:00
Maxence Lange 261b7c7003
Merge pull request #1027 from nextcloud/ostatus-follow
render profile page for ostatus follow url
2020-09-22 21:15:07 -01:00
Maxence Lange 88cd3e9259
Merge pull request #985 from nextcloud/feature/noid/compat-with-clients
[wip] Oauth for 3rdparty clients
2020-09-21 14:47:31 -01:00
Maxence Lange f5bd9ca6f0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-09-21 09:54:03 -01:00
Robin Appelman 952ffb94a6 render profile page for ostatus follow url
when initiating a follow from a remote mastadon instance, the user gets directed to 'apps/social/ostatus/follow/?uri=' which is currently broken.

this changes it to render the regular profile page for that link, allowing the user to follow the profile.

I'm not sure what the previous behavior was before things got broken

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-18 19:25:13 +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