Nextcloud Social App
 
 
 
 
 
 
Go to file
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
.github chore(CI): Update master php testing versions and workflow templates 2023-01-16 17:10:56 +01:00
.reuse add dep5 file 2022-05-16 16:56:37 +02:00
.tx [tx-robot] Update transifex configuration 2022-10-01 02:57:27 +00:00
appinfo add relationships api 2023-03-08 13:42:19 -01:00
context add default context object, in case cache is empty and website is down 2019-02-24 20:55:35 -01:00
css Use new Mastodon like API 2023-03-09 19:02:31 +01:00
cypress Fix cypress workflow 2023-01-04 17:54:47 +01:00
docs Updates doc about compatibility of various iOS apps 2020-10-26 15:28:28 +01:00
img optimize image 2022-09-14 14:46:57 +02:00
l10n Fix(l10n): 🔠 Update translations from Transifex 2023-03-08 03:27:09 +00:00
lib Use new Mastodon like API 2023-03-09 19:02:31 +01:00
src Use new Mastodon like API 2023-03-09 19:02:31 +01:00
templates Implement UI 2022-11-21 14:53:49 +01:00
tests fixing psalm 2023-01-04 22:38:31 -01:00
.babelrc.js Use new Mastodon like API 2023-03-09 19:02:31 +01:00
.eslintrc.js Add workflow for es and style lint 2023-01-16 10:57:30 +01:00
.gitignore manage multiple well-known services 2022-11-03 11:06:53 -01:00
.nextcloudignore Add packaing script 2022-11-03 22:26:23 +01:00
.php-cs-fixer.dist.php Php cs:fix 2022-04-15 13:35:51 +02:00
CHANGELOG.md 0.4.2 2020-12-07 09:25:40 -01:00
COPYING Vue example app 2018-08-26 11:35:53 +02:00
Makefile 0.6.0-beta1 2023-01-24 13:23:23 -01:00
README.md Update readme with up to date information 2022-10-27 13:52:00 +02:00
babel.config.js Update nc vue components to v7 2022-09-12 17:18:06 +02:00
composer.json add media_attachments to api 2023-02-23 11:06:52 -01:00
composer.lock add media_attachments to api 2023-02-23 11:06:52 -01:00
cypress.config.js Fix cypress workflow 2023-01-04 17:54:47 +01:00
package-lock.json Use new Mastodon like API 2023-03-09 19:02:31 +01:00
package.json Use new Mastodon like API 2023-03-09 19:02:31 +01:00
psalm.xml Fix psalm 2022-11-21 10:26:34 +01:00
stylelint.config.js Add stylelint 2023-01-16 11:02:05 +01:00
webpack.common.js Use new Mastodon like API 2023-03-09 19:02:31 +01:00

README.md

Nextcloud Social

🎉 Nextcloud becomes part of the federated social networks!

For more information about about our motivation and goals, read the announcement blog.

The app is in beta stage, so its time for you to get involved! 👩‍💻

For a roadmap, see our development milestones - feel free to pick up any of the tasks which are not yet in progress!

Emojis

Please follow this guide to enable the Emojis in the Social app.

Reset app

If you want to reset all Social app data e.g. to change the domain used for Social, you can use occ social:reset (For how to use occ commands see documentation: using the occ command).

Development setup

  1. ☁ Clone the app into the apps folder of your Nextcloud: git clone https://github.com/nextcloud/social.git
  2. 👩‍💻 Run make dev-setup to install the dependencies
  3. 🏗 To build the Javascript whenever you make changes, run make build-js
  4. Enable the app through the app management of your Nextcloud
  5. 🎉 Partytime! Help fix some issues and review pull requests 👍