Wykres commitów

309 Commity (a0cdc37b9eb16ab8bbe0ce0f5df5a25ccae72151)

Autor SHA1 Wiadomość Data
Maxence Lange 05134a1c38
Merge pull request #787 from StCyr/bugfix/776/do-not-show-followbutton
FIX: do not show follow button when viewer is same as viewed
2019-10-04 19:02:04 -01:00
Maxence Lange d82cb4906b
Merge pull request #785 from StCyr/bugfix/noid/do-not-post-on-enter
FIX: Hitting 'Enter' without the shift key pressed should not post the message
2019-10-04 18:56:55 -01:00
Cyrille Bollu d055a2efcf Allows ctrl+enter to also post a message (in addition to shift+enter)
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-04 16:23:11 +02:00
Cyrille Bollu c82befe38b FIX: Uses only local part of account's uid when an un-authenticated user clicks
on a profile's follow button.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-04 15:08:03 +02:00
Cyrille Bollu 5b948b76e6 FIX: Do not show follow button when viewer's account is the same as viewed one.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-04 15:07:24 +02:00
Maxence Lange 7ac1be6545 eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-04 10:40:05 -01:00
Cyrille Bollu a1d2489332 Uses the 'he' library to decode HTML entities form composer's content.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-04 09:59:52 +02: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 18f1def34e FIX: Hitting 'Enter' without the shift key pressed should not post
the message

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-03 21:43:48 +02:00
Maxence Lange 17cc13d273
Merge pull request #777 from StCyr/bugfix/769/duplicate-results-on-new-mention
Remove old code that creates twin entries
2019-10-02 15:32:02 -01:00
Maxence Lange c0d71b7e09
Merge pull request #774 from StCyr/bugfix/773/search_with_#
FIX: Removes heading '#' from the search terms as search won't work
2019-10-02 15:11:46 -01:00
Cyrille Bollu 02b1ffe7ab FIX: decode search term before displaying it on screen.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-02 17:17:20 +02:00
Cyrille Bollu d1f84b78e8 FIX: Do not store current user in followers/following lists.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-02 17:06:02 +02:00
Maxence Lange 1d960fa4f1 eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-10-02 13:40:09 -01:00
Cyrille Bollu 1138191342 FIX: Removes obsolete code that creates twin entries in composer's tribute component.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-02 16:35:00 +02:00
Cyrille Bollu eca50cd168 FIX: Encode search terms before creating the search URL
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-02 16:04:29 +02:00
Cyrille Bollu b2f836631c FIX: Changes text on profile page when viewed by another user.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-02 15:42:49 +02:00
Cyrille Bollu 0ad91d78eb FIX: Change the empty content's text on profile pages when they are
accessed by a public (non-authenticated) user.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-10-02 11:23:33 +02:00
Cyrille Bollu 4462403af6 FIX: Corrects the remaining value of the composer's post that may
still be there while considering the composer empty.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-26 15:33:06 +02:00
Maxence Lange e0e26d9a49
Merge pull request #746 from nextcloud/bugfix/745/social-address-on-local-account
check social address during local actor
2019-09-26 12:32:49 +02:00
Cyrille Bollu 0e67827a48 FIX: Removes a superfluous '@' in a message's 'to' array.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-26 09:45:22 +02:00
Cyrille Bollu ddccc7cba1 Automaticaly validates the last mention of a post when the user directly
clicks on the "post" button without validating the mention first.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:47:21 +02:00
Cyrille Bollu 503c404445 IMPROVEMENT: In composer, when writing a mention or hashtag, makes the
spacebar acts as the enter and tab keys.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:47:21 +02:00
Cyrille Bollu fe3f3e39a3 Makes sure there are valid recipients when posting to a direct message
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:47:21 +02:00
Cyrille Bollu 94e366c259 Workaround an issue in Composer when deleting the post's content and
it can't remove the last 'br'.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:47:21 +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 6d6fa8a527 Proper URL for the single-post timeline
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
Cyrille Bollu 9920fb13fe Clicking on an external post or announce opens the corresponding
post in another window

Also, implements nextcloud-logger in TimelineEntry.vue

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu 9b51fc5834 Do not call the single post timeline when clicking on a link, a post's attachment,
or a post's author name.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Maxence Lange a4de752d9c eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-25 14:07:24 +02:00
Cyrille Bollu c3d605f3ef Uses proper endpoint to get a single post's content.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu bf5b4483b7 fixes bugs in single-post timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu f167062477 lint fixes
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu 4fd2473dda Adapts timeline.js's fetchTimeline for the single-post timeline.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu 3ef6790240 Makes TimelineEntry clickable, displays single-post timeline.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu eb83711ddf Adapts Timeline view for the single-post view.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu 5e45fcaf8d Adds a routes for the single-post timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:07:24 +02:00
Cyrille Bollu de841d1826 Trying to create a new timeline for showing a single post's context (replies and partens)
using Maxence's new endpoints (eg: 'apps/social/local/v1/post/replies?id=').

It doesn't work yet though.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:06:47 +02:00
Cyrille Bollu 115a8f87db Prevents a timeline entry's modal to show in certain cases.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:06:47 +02:00
Cyrille Bollu c3eb2f8f2a Show modal with v-if rather than v-show to workaround an issue with
that component.

See https://github.com/nextcloud/nextcloud-vue/issues/497

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:06:47 +02:00
Cyrille Bollu 6ba7c765d2 Makes timeline entries clickable.
When clicked they will show a modal component to display the toot in a
single page.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-25 14:06:47 +02:00
Cyrille Bollu 2f7683a0ae FIX: Show the account avatar when displaying a user profile to an unauthenticated user.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-19 10:45:44 +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 128438e705 Profiles view is now able to load an account whose domain part is
a host-meta of the real domain.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-17 17:10:08 +02:00
Cyrille Bollu 66419f061f fixes the "empty content" message of various route
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 14:47:17 +02:00
Cyrille Bollu 399888f88f Adds an error message when notifications are found
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 14:19:09 +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