Wykres commitów

309 Commity (a0cdc37b9eb16ab8bbe0ce0f5df5a25ccae72151)

Autor SHA1 Wiadomość Data
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
Jonas Sulzer a727183fe2 📦 NEW: show user block for {actor} is following you
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-09-10 09:15:21 +02:00
Maxence Lange 5f374f9b9e
Merge pull request #712 from StCyr/stcyr-fix708
Fixes Composer's weird behavior when hashtag or mention is last element in post
2019-09-09 13:41:22 -01:00
Maxence Lange c21cb5e2ba fixing imports
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-09 13:16:40 -01:00
Maxence Lange 121d3866c1 eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-09-09 11:06:12 -01:00
Cyrille Bollu f85cfae459 updates vue-contenteditable when vue-tribute replaces a mention or hashtag.
fixes https://github.com/nextcloud/social/issues/708

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-09-09 11:06:12 -01:00
Jonas Sulzer f848000925
🐛 FIX: linting errors
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-09-08 18:42:46 +02:00
Cyrille Bollu 7f112d2bb0 - Draws a border around miniatures in Composer
- Made miniatures a little bit smaller

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-27 15:27:29 +02:00
Cyrille Bollu d0b2aa39e9 Adds an imagemap to the close badge of miniatures in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-27 15:13:55 +02:00
Cyrille Bollu 7453d5dd6e Merge branch 'stCyr_uploadPostAttachments' of https://github.com/StCyr/social into stCyr_uploadPostAttachments 2019-08-27 12:07:32 +02:00
Cyrille Bollu decebd853d Changes Composer's upload icon tooltip to "upload document"
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-27 12:06:37 +02:00
Cyrille Bollu d9696ac74f Better positioned upload icon in Composer.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-27 12:06:12 +02:00
Cyrille Bollu a8ae148231 Nice upload button in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-27 11:55:04 +02:00
Maxence Lange 8ef030c108 eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-26 15:58:54 -01:00
Cyrille Bollu b44d4e6636 Draws a 'close' badge on the miniatures in the Composer.
The badge isn't functional yet and too big.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 16:40:30 +02:00
Cyrille Bollu a39e731977 Adds filename to miniatures of non-image documents.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 16:17:02 +02:00
Cyrille Bollu 8e28e75e96 Draws generic icon when uploaded document is not an image in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 12:55:22 +02:00
Cyrille Bollu 2e56fef2fd Attachments can now be removed in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 11:04:53 +02:00
Cyrille Bollu a00090254c Resets postAttachements and miniatures variables after a toot is posted
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 09:48:07 +02:00
Maxence Lange 82e87b8aff eslint + canvas.toDataUrl()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
eslint

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-26 09:45:13 +02:00
Cyrille Bollu a7b84cfeb0 Adds attachments to the data sent to the server when posting a toot.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 09:45:13 +02:00
Cyrille Bollu f0fb14e29c Adds an upload button.
Not yet perfectly layed out though

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 09:45:13 +02:00
Cyrille Bollu 26e8755438 PoC: Upload images in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 09:45:13 +02:00
Cyrille Bollu 36fb838476 Adds a div to the Composer to show post attachments.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-26 09:45:13 +02:00
Maxence Lange afe2f7732f
Merge pull request #692 from StCyr/StCyr_fix690
Better layout of the profile views on small screen
2019-08-22 14:24:39 -01:00
Maxence Lange 704a964bd5
Merge branch 'master' into feature/noid/push 2019-08-22 12:46:49 -01:00
Maxence Lange 1efbd581ec renaming to Nextcloud Push
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-22 11:04:25 -01:00
Cyrille Bollu ae1028f7c0 Better layout of the followers/following list.
Can't get them to layout with a width of 50% though (ie: 2 accounts per line) ;-(

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-22 10:06:02 +02:00
Cyrille Bollu abb87325e6 Wraps profile-info-sections (posts/following/followers) when space is short
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-22 09:24:32 +02:00
Cyrille Bollu ee41671e72 Fixes style not been applied to emoji in profile timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-20 10:53:19 +02: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 c09fff65f9 fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-15 20:55:27 -01:00
Maxence Lange 135bb96694 update if on the right timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-15 12:56:29 -01:00
Maxence Lange 576f7fb905 revert noMatchTemplate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-03 17:24:40 -01:00
Maxence Lange cb9be8bbb6 -noMatchTemplate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-08-02 01:20:49 -01:00
Cyrille Bollu 889eaa9115 Merge branch 'stCyr_fixHashtags' of https://github.com/StCyr/social into stCyr_fixHashtags 2019-08-01 15:44:08 +02:00
Cyrille Bollu 68d5048aaf Give 'undefined' to tributejs when user hasn't typed any text as hashtag yet.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 15:40:25 +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 e08c50ff9a Removes unecessary refs in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 14:19:26 +02:00
Cyrille Bollu 9f19f71aa4 Better regular expression to identify hashtags in Composer
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 13:59:20 +02:00
Cyrille Bollu b5b929472d Don't show the noMatchTemplate menu when the user didn't enter any hashtag yet.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 13:15:54 +02:00
Cyrille Bollu e880ceedac Makes composer's tribute able to add unknown hashtags
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 13:08:13 +02:00
Cyrille Bollu e15f56895a Composer uses the next tags/search route to search for existing hashtags in the DB
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 12:03:10 +02:00
Cyrille Bollu 93241d3b8e Adds a noMatchTemplate function to vue-tribute so that unknown hashtags
can be added.

Not functional yet.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-08-01 10:53:07 +02:00
Cyrille Bollu 10ac856110 Adds a very basic config to vue-tribute to also support hashtags.
The part of the config that supports hashtags is not yet functional.
But at least it doesn't break the part supporting mentions.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-30 15:54:30 +02: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
Maxence Lange cc857c43c0 syntax
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-25 09:38:07 -01:00
Cyrille Bollu 0ae9051f2e Automaticaly removes posts from the liked timeline when they are unliked
Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-22 11:53:09 +02:00
Cyrille Bollu f6a775ea53 Adds a empty page to the liked timeline
Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
2019-07-22 11:39:57 +02:00
Maxence Lange e376768c34
Merge pull request #643 from StCyr/stCyr_fix640
St cyr fix640
2019-07-21 17:49:15 -01:00
Maxence Lange 201196a7d7 eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-20 19:26:51 -01:00
Cyrille Bollu 672a7f672f Resizes images when viewing attachments
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-20 22:15:37 +02:00
Cyrille Bollu 5bcf85fbde Shows attachment's modal viewer with size 'large' rather than 'full'
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-20 18:59:13 +02:00
Cyrille Bollu febb64c897 Adds a menu entry for a liked timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-20 18:47:38 +02:00
Maxence Lange eadc04fc61 set type to props
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-20 15:44:08 -01:00
Maxence Lange fff29cd492 smaller resize + lint errors
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-20 15:34:02 -01:00
Cyrille Bollu d6b424bb81 Implements a modal slideshow viewer for post's attachemnts.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-19 17:11:49 +02:00
Cyrille Bollu e9a63421a7 Adds an attachment viewer using nextcloud-vue's modal component.
Slideshow functionality doesn't work yet though.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-19 15:43:28 +02:00
Cyrille Bollu 3be4a067f6 Uses vue-masonry-css to display post attachments in a masonry style
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-19 13:21: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 e4515688de Corrected typo in a debug message
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2019-07-10 17:40:21 +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
Maxence Lange 5ec02bf5f2
Merge pull request #531 from nextcloud/feature/noid/notifications
new notification timeline
2019-07-04 10:53:56 -01:00
Maxence Lange 106e70f39d comment notification timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-04 10:52:50 -01:00
Maxence Lange dce161e62e manage notification on unboost/unlike
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-03 14:46:09 -01:00
Maxence Lange 9d27b85c88 cleaning noDuplicateBoost as not necessary anymore
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-01 09:26:33 -01:00
Jonas Sulzer b532d2d6aa
👌 IMPROVE: generically replace all keys in notification summary
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-06-28 09:29:01 +02:00
Jonas Sulzer deff21f189
🐛 FIX: displaying of Notes and Announces in normal Timelines
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-06-28 09:27:17 +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
Jonas Sulzer 11061e1965
🐛 FIX: displaying of exact alias maches
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-06-26 18:18:52 +02:00
Maxence Lange 6d820876ab new notification timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-26 07:08:13 -01:00
Jonas Sulzer e2b9ed22e5
👌 IMPROVE: don't display Announce if original Note is already present in stream
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-30 01:32:41 +02:00
Jonas Sulzer 8e7d1f7d7e
👌 IMPROVE: add padding between boost icon and text
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-30 00:57:58 +02:00
Jonas Sulzer d7baae9735
🐛 FIX: eslint && normal boost (parentAnnounce check)
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-29 23:58:16 +02:00
Jonas Sulzer c5f9828788
🐛 FIX: correctly toggle boosted state when boosting an Announce
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-29 23:35:30 +02:00
Jonas Sulzer 2714c14e09
🐛 FIX: don't error when boosting on an Announce whereof the original Note isn't in the stream as well
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-29 19:51:16 +02:00
Jonas Sulzer 99b7b37e57
🐛 FIX: lint && design
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-29 16:54:00 +02:00
Jonas Sulzer f117996654
🐛 FIX: also toggle boosted state on the chached object inside of the Announce
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-28 16:08:09 +02:00
Jonas Sulzer bc634c42a8
📦 NEW: display boosted posts with an according indication
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-28 13:03:14 +02:00
Julius Härtl f9e35642cd Catch undefined message in announcements
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-06 20:31:11 -01:00
Julius Härtl 3d45ecfbcc Use mutation to change vuex store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-06 20:31:11 -01:00
Jonas Sulzer 369e741f56
🐛 FIX: syntax
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-03 20:05:05 +02:00
Jonas Sulzer 75102c41cb 👌 IMPROVE: remove unused icon && add myself as author to timeline.js
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-03 16:31:15 -01:00
Jonas Sulzer 9ecd060527 👌 IMPROVE: use blue icon with full opacity to indicate boosted state
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-05-03 16:31:15 -01:00