Carl Schwan
2afd3fdfaa
Use vue-richtext to render link preview
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 14:11:42 +02:00
Carl Schwan
b423ac536c
Fix issue with dark theme
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 10:31:07 +02:00
Carl Schwan
fff26baedf
Embedd timeline in profile page
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-13 15:51:00 +02:00
Carl Schwan
ee2fbc470a
Improve a bit usage of nc components
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 18:13:43 +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
5fd9376255
Fix inverted like button
...
Use outline when not liked, and filled and red with liked
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-12 14:28:25 +02:00
Carl Schwan
486ff4a952
Improve posts rendering
...
- Hover effect like talk
- Fix the buttons and make better use of material icons
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-21 16:25:13 +02:00
Robin Appelman
6e7cb67c93
fix alignment for posts without boosts
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-16 14:06:04 +02:00
Jonas Sulzer
ea53553e91
👌 IMPROVE: move timeline to css grid layout and restructure code
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2020-10-16 14:06:04 +02: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
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
Robin Appelman
2ef6613857
migrate away from depricated OC.generateUrl
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-12 17:03:49 +02:00
Robin Appelman
2966545f3e
fix rendering of local messages
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
34ec87cd4f
render messages based on the source html
...
instead of first stripping, and then repopulating html.
this makes it possible to do proper manipulation on mention and hashtag links
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:35:56 +02:00
Jonas Sulzer
e4194be71b
👌 IMPROVE: update nextcloud npm dependencies to the new @nextcloud namespace versions && update the AppNavigation to the work with the new component
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2020-06-19 13:47:03 -01:00
Cyrille Bollu
240cbabeb1
Allows long URL's in post messages to be wrapped so as to not overflow
...
their parent element.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-11-08 14:38:09 +01:00
Jonas Sulzer
5303d2692b
🐛 FIX: line breaks not handled correctly
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-10-03 21:54:49 +02:00
Cyrille Bollu
9fac5aea32
Do not show post action buttons when non-authenticated
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-19 10:05:34 +02:00
Cyrille Bollu
42645328c1
Don't display post's actions in the notifications timeline
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 13:34:56 +02:00
Cyrille Bollu
33ba9440b9
Fixes the wrong account info used for creating an author's profile link in the
...
notification timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 13:22:52 +02:00
Cyrille Bollu
461292237b
Displays correct avatars in the notifications timeline
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 13:14:43 +02:00
Cyrille Bollu
f80d9c6b4d
Displays "actor is following you" notifications in the same way as
...
"actor boosted/liked your post" notifications in the Notifications
timeline.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 09:16:03 +02:00
Maxence Lange
c21cb5e2ba
fixing imports
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-09 13:16:40 -01:00
Cyrille Bollu
1dd3363836
Better layout of TimelinePost component: Moves post's timestamp above
...
its message and attachments so that its message has more horizontal space.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-19 15:46:36 +02:00
Maxence Lange
1923b345a7
eslint
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-01 12:07:16 -01:00
Cyrille Bollu
9dc9eb4223
Identifies hashtags of a toot based on what's found in the DB rather
...
than using hashtag-regex, or (worse) linkifyjs.
The question is: Why are hashtags found stored in lowercase in the DB?
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-29 16:04:42 +02:00
Maxence Lange
baf8aa54e0
eslint
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-26 14:11:00 -01:00
Cyrille Bollu
b35dd395a5
Creates a mangleHashtags() function in TimelinePost.vue
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-26 16:04:21 +02:00
Cyrille Bollu
18862db660
Uses hashtag-regex to rewrite hashtag's href rather than linkifyjs.
...
Reason: linkifyjs doesn't support non-latin characters. So "#Framasphère"
is identified as "#Framasph" for example.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-26 15:35:20 +02:00
Cyrille Bollu
ad7c3770a3
Shows attachments with a hooper carousel
...
Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-15 17:31:38 +02:00
Cyrille Bollu
4ae052c6a0
Fixes some lint warnings/errors.
...
Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-15 15:13:35 +02:00
Cyrille Bollu
d025569f5e
Fixes the PostAttachment component: It now works.
...
Note: This requires adding NoCSRFRequired in NavigationController'
documentGet() function. It doesn't seem to raise any risk though.
Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-15 14:40:21 +02:00
Cyrille Bollu
c8d98a421a
Creates a PostAttachment component an makes TimeLinePost use it.
...
The PostAttachment can atm only display images.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-15 14:40:21 +02:00
Cyrille Bollu
894eeb161b
Adds a div to show post's attachments (if any)
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-15 14:40:21 +02:00
Cyrille Bollu
adace1855c
Merge branch 'master' into StCyr_fix617
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-10 18:43:57 +02:00
Cyrille Bollu
9253af78ac
Fixes the overlap of the tooltip and the popover menu in TimeLinePost
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-10 17:41:59 +02:00
Cyrille Bollu
1481a51e16
- Should fix the issue that post couldn't be unliked
...
- Fixes a typo in a comment
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-10 17:40:12 +02:00
Cyrille Bollu
27afa18436
Creates a 'like' button.
...
The following problems remain:
1- Once a post has been liked (the star icon turned yellow), it is impossible
to unlike it (the star stays yellow, no matter what)
2- Communication with backend doesn't work; 'got 'failed to like post'
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-10 17:39:49 +02:00
Jonas Sulzer
2174d828e2
📦 NEW: restructuring and basic displaying of '{account} followed you'
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-06-27 18:25:51 +02:00