Wykres commitów

23 Commity (4d056fe998e227da2e3f486679e2f2d39cb1ce34)

Autor SHA1 Wiadomość Data
Louis Chemineau 738204123c Scroll status into view on reply
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-22 19:45:53 +01:00
Louis Chemineau 14ab49b5c6 Remove profile info in single post
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-22 19:45:53 +01:00
Louis Chemineau 0b4307a270 Scroll main post into view in single posts
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-22 19:14:26 +01:00
Louis Chemineau ea7015ef4f Fix getting post from parents timeline
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-22 18:50:20 +01:00
Louis Chemineau 19b3465ee1 Improve rendering of single post
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-22 18:16:40 +01:00
Louis Chemineau abed6af7f5 Show ancestors on single post timeline
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-22 16:00:08 +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
Louis Chemineau bb9ab48fae Add stylelint
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-16 11:02:05 +01:00
Carl Schwan db3cb63810 Let's not support oci yet
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:07:12 +02:00
Carl Schwan 184de87c86
Update nc vue components to v7
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 17:18:06 +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
Tobias Speicher 11f437135a
Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-24 16:17:46 +01:00
Robin Appelman 1b52eb4860 dont increase main post font size for now since it messes up the ui a bit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-13 23:55:31 +02:00
Cyrille Bollu 615d80c444 ENHANCEMENT: single post should only be triggered on a click on the 'date' and not the full post
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:54:16 +02:00
Cyrille Bollu 54302fff68 IMPROVE: Display main post with a bigger font in SinglePostTimeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:54:16 +02:00
Cyrille Bollu f0970a19d8 FIX: Uses computed properties rather than methods for the account mixins.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:54:14 +02:00
Cyrille Bollu 9467e267e0 ENHANCEMENT: Adds a composer to the single post timeline.
This composer is hidden by default and will only show when
  some authenticated user clicks on the 'reply' icon of a post.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:53:37 +02:00
Cyrille Bollu 13fdd63efb FIX: In single post timeline, do not load TimelineList component when
there are no answers.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:53:01 +02:00
Cyrille Bollu 8f6aa483b4 FIX: Properly adds replies to timeline for single-post timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:52:59 +02:00
Cyrille Bollu f57f0c5093 ENHANCEMENT: Adds profile info to single post timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:51:41 +02:00
Jonas Sulzer ff9224e4ad
👌 IMPROVE: use vue Content components and transmit serverData over initialState
- use vue components `Content` and `AppContent` with it's respective styling
  to be independent from server styling
- use OCP\IInitialStateService and @nextcloud/initial-state to transmit the serverData
  instead of using a hidden span element and jsonEncode/Decode
  this is needed to use the `Content` component, so the vue instance can be mounted to
  #content directly (otherwise server styling for #content interfers with the vue styling)
- also improves some general styling (mostly widths and margins/paddings)

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2020-09-02 10:05:22 +02:00
Cyrille Bollu 7a92cf1574 Single post timeline can be displayed to non logged in users.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:11:10 +02:00
Cyrille Bollu 15b7336751 New, working, TimelineSinglePost view
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:11:10 +02:00