Wykres commitów

26 Commity (5eb3e4d87ca2d4a0d1d881ac79ba1f689ba6e822)

Autor SHA1 Wiadomość Data
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