Wykres commitów

355 Commity (ce156129e702ffe6b392f5db88f9082cbe750f13)

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