Louis
e019eb10cc
Merge pull request #1572 from nextcloud/artonge/fix/user_entry
...
Improve rendering of user entry in user lists
2023-01-12 13:50:54 +01:00
Louis
c0b8bf771c
Merge pull request #1571 from nextcloud/artonge/fix/correctly_store_followers_in_store
...
Fixes on user profile
2023-01-12 13:44:55 +01:00
Louis Chemineau
e790f086bb
Improve rendering of user entry in user lists
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-12 12:25:21 +01:00
Louis Chemineau
7b6aedf6e4
Improve follow button style in user profile
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-11 18:05:42 +01:00
Louis Chemineau
47c7383bd5
Add link to instance in user's profile
...
+ Properly space section in user profile
+ Translate string
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-11 18:05:20 +01:00
Louis Chemineau
0332ca2b31
Correctly store followers in the store
...
This fix follower list in UI
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-11 12:46:34 +01:00
Louis Chemineau
76389fce86
Revert removal of MessageContent
...
Fix https://github.com/nextcloud/social/issues/1561
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-10 14:45:38 +01:00
Louis Chemineau
74308c64ff
Fix cypress workflow
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-04 17:54:47 +01:00
Louis Chemineau
cd2e56d80c
Import and use needed linkify packages
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-04 10:56:57 +01:00
Carl Schwan
58ca865523
Fix csrf error
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 17:12:18 +01:00
Carl Schwan
fb266f056d
Implement UI
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 14:53:49 +01:00
Carl Schwan
7ed9099cee
Also use content for federated posts
...
Otherwise we use an object in vue richtext
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-03 22:26:23 +01:00
Carl Schwan
ce9c6c05d6
Fix lint issues
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-02 13:30:28 +01:00
Carl Schwan
89472dc5ad
Reformat some code
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-02 12:49:30 +01:00
Carl Schwan
fae005454f
Fix notification
...
Port to vue components
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-28 15:32:17 +02:00
Carl Schwan
0d6fa6dde5
Port follow button to ncbutton
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 15:47:14 +02: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
fe78b4c198
Minor changes in the frontend
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 13:49:47 +02:00
Carl Schwan
b751689289
Follow up dashboard dark theme
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 16:32:07 +02:00
Carl Schwan
c683f9135a
Port to new Dashboard api
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 16:10:36 +02:00
Julien Veyssier
c2524c6707
fix eslint errors
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-14 14:46:57 +02:00
Julien Veyssier
0915e4e101
add dashboard widget, only handling internal 'Follow' subtypes for the moment
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-14 14:46:44 +02:00
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
1786f1f446
Make composer sticky again
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:43:00 +02:00
Carl Schwan
e037394a50
Make uploading files work
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:37:18 +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
4230925233
Fix layout
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-13 16:16:37 +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
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
Carl Schwan
4ecb9e0142
Merge pull request #1443 from nextcloud/fix/button-style
...
Fix button style in composer
2022-07-11 14:47:51 +02:00
Carl Schwan
114b25df0f
Fix button style in composer
...
and cleanup a bit the code
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-11 14:08:07 +02:00
Carl Schwan
641efd7933
Update sidebar icons to use material icons
...
- This fix some icon being missing due to change in server
- Remove deprecated usage of icon by icon name
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-11 13:04:32 +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
Carl Schwan
9c8a5f62ae
Replace Emoji picker by the new one
...
This old one completely ddosed my machine because it generated thousands
of requests to fetch the images/emojis
This also port some things to the nc vue components as a side effect.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-11 23:08:20 +02:00
Carl Schwan
3f0b3bcac0
Merge pull request #1362 from CommanderRoot/refactor/rm-deprecated-substr
...
Replace deprecated String.prototype.substr()
2022-04-15 20:20:50 +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
Valdnet
2d05dbd1a3
l10n: Correct spelling
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-11-23 10:57:59 +01:00
Valdnet
ae322feeb4
l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-11-23 08:35:38 +01:00
rakekniven
7f978836b1
Merge pull request #1248 from nextcloud/Valdnet-patch-2
...
l10n: Unify spelling
2021-09-15 14:36:31 +02:00
Valdnet
57afcc27ce
l10n: One more word change
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-15 13:32:44 +02:00
Valdnet
f366bd7417
l10n: Correct word
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-15 13:24:20 +02:00
Valdnet
d04bb5aa3d
l10n: Extract a space from translation
2021-09-13 19:13:28 +02:00
Valdnet
ca79e1e10f
l10n: Unify spelling
...
Spelling unification in Nextcloud applications.
2021-04-12 13:54:09 +02:00
Valdnet
2c21d3e514
l10n: Unify spelling
...
Spelling unification in Nextcloud applications.
2021-04-12 10:33:34 +02:00
Maxence Lange
381c5105aa
Merge pull request #1068 from nextcloud/profile-numbers-inline
...
show profile numbers inline instead of next to the name and avatar
2020-12-02 22:22:04 -01:00
Valdnet
c21925c616
l10n: Cloud name with a capital letter
2020-10-24 18:21:56 +02:00
Robin Appelman
0b536bd831
show profile numbers inline instead of next to the name and avatar
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-22 14:38:55 +02:00
Maxence Lange
37fa478048
Merge pull request #748 from nextcloud/timeline-to-grid
...
👌 IMPROVE: move timeline to css grid layout and restructure code
2020-10-19 10:04:15 -01:00
Robin Appelman
ef8c6f81fc
fix js
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-16 14:06:04 +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
Robin Appelman
4f127bd298
fix boosted layout
...
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
638b79ca25
remove empty content after a post has been added
...
Fixes #1070
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-15 15:21:01 +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
591a89ba8e
FIX: Uses proper API when showing a resized image to an un-authenticated user.
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:55:21 +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
a75cb8ca85
FIX: updated Profile.vue to use computed properties rather than methods for the account mixins
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:54:16 +02:00
Cyrille Bollu
1e378654dc
Adds doc to some mixins
...
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
d8792993d4
IMPROVEMENT: In single-post timeline, automaticaly hide the composer when
...
clicking its close ('x') icon.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:53:40 +02:00
Cyrille Bollu
265c2686a2
DOC: Updated serverData mixin doc
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:53:40 +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
b352892a3f
FIX: Automatically adds the original post's author to the list of
...
recipients when composing a reply.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:51:41 +02:00
Cyrille Bollu
4394435990
FIX: Uses the accountInfo() mixin in FollowButton
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:51:41 +02:00
Cyrille Bollu
5a5d9ce3aa
DOC: Adds documentation to serverData mixins
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:51:41 +02:00
Cyrille Bollu
3421661ee9
MISC: Adds a getAllAccounts() getter
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:51:41 +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
Cyrille Bollu
11f129a30c
REFACTORING: Adds account-related mixins to avoid code duplication
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:51:39 +02:00
Cyrille Bollu
b5e374f3a3
FIX: Changes empty content message for single-post timelines.
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2020-10-13 23:50:27 +02:00
Robin Appelman
6158665a33
use prefered username as fallback if no account name is provided
...
instead of falling back directly to the full account id (@userid@example.com) use the prefered username if available
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-12 17:48:36 +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
d41a216c49
link at mentions to external profile page
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +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
5eb3e4d87c
lint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
5adc6e0004
generate router-link for mention and hashtag links
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:55 +02:00
Robin Appelman
6e57649ce5
emojify message content
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-08 18:36:53 +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
Jan C. Borchardt
c593c989a5
Fix documentation link going to outdated version
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-08 15:05:18 +02:00
Robin Appelman
952ffb94a6
render profile page for ostatus follow url
...
when initiating a follow from a remote mastadon instance, the user gets directed to 'apps/social/ostatus/follow/?uri=' which is currently broken.
this changes it to render the regular profile page for that link, allowing the user to follow the profile.
I'm not sure what the previous behavior was before things got broken
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-18 19:25:13 +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
Curtis Parfitt-Ford
a3c1a4ca0f
Standard hover background colour
...
Signed-off-by: Curtis Parfitt-Ford <curtis@mashedkeyboard.me>
2020-08-24 17:51:13 +01:00
Curtis Parfitt-Ford
8546a5ac5a
Dark timeline entries for the dark Nextcloud theme
...
Signed-off-by: Curtis Parfitt-Ford <curtis@mashedkeyboard.me>
2020-08-23 00:08:58 +01:00
Maxence Lange
db9a804de0
fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-22 01:51:40 -01:00
Maxence Lange
600dc4a008
vue issues
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-25 21:06:15 -01:00
Maxence Lange
ad633a712c
eslint issue
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-23 12:57:18 -01: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
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
Cyrille Bollu
540118b34d
Fixes a bug in notification summary's ellipsing
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 09:16:03 +02:00
Cyrille Bollu
fb789ead94
removes an un-necessary comma when ellipsing notifications
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 09:16:03 +02:00
Cyrille Bollu
30930e7a89
Ellipses actors' list when its big when displaying a notification
...
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-10 09:16:03 +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
Jonas Sulzer
050b66277d
📦 NEW: show notifications timeline with icon in navigation
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-09-10 09:15:21 +02:00
Jonas Sulzer
0d42d2d0c6
📦 NEW: display a post block for like and boost notifications
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-09-10 09:15:21 +02:00
Jonas Sulzer
24a2e12b17
👌 IMPROVE: correctly display all keys in summary (like account/s etc)
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-09-10 09:15:21 +02:00