Commit Graph

825 Commits

Author SHA1 Message Date
Roger Braun
2f7e5c8770 Always show action buttons below user content. 2016-11-28 16:10:03 +01:00
Roger Braun
6fad01339c Add some cheap transition anymation. 2016-11-28 14:35:21 +01:00
Roger Braun
c9604eec9d Fetch conversation again on route change.
This might happen when you visit other convos via the notifications bar.
2016-11-28 13:36:19 +01:00
Roger Braun
1190b439b3 The heading is already bold. 2016-11-27 20:19:53 +01:00
Roger Braun
0cbd145a5a Add some icons to notifications. 2016-11-27 20:00:44 +01:00
Roger Braun
e8c85434b7 Add basic notification support. 2016-11-27 19:44:56 +01:00
Roger Braun
e1c5030311 Add notification on mention. 2016-11-27 19:11:05 +01:00
Roger Braun
51988e75b6 Add repeat notifications. 2016-11-27 18:57:33 +01:00
Roger Braun
ff93d1edee Parse mastodon favorites. 2016-11-27 18:54:17 +01:00
Roger Braun
4228f49e7b Open external status links in new window. 2016-11-27 15:17:11 +01:00
Roger Braun
6c2941dba0 Basic mention support.
I still have to think about how to integrate them in the state system...
2016-11-26 21:09:41 +01:00
Roger Braun
8cd1c690ca Hide timeline if user isn't logged in. 2016-11-26 19:29:01 +01:00
Roger Braun
56dc34977e remove apiService from users module 2016-11-26 19:12:09 +01:00
Roger Braun
215e51f764 Move some interactions to the backendInteractor
The idea is that all interactions should move there, so components
don't have to pass around credentials all the time.
2016-11-26 18:57:08 +01:00
Roger Braun
b812adf0ba Move submitDisable into data.
It's not a prop, these are only for passing data, not for local data.
2016-11-26 12:38:33 +01:00
dtluna
cb940a8742 Merge branch 'develop' into 'feature/attachment-form-improvements'
# Conflicts:
#   src/components/attachment/attachment.js
2016-11-25 21:02:53 -05:00
dtluna
01edb7dbe4 Add remove attachment button 2016-11-26 05:00:06 +03:00
dtluna
6f0c73c30a Added previews for videos and audios 2016-11-26 03:19:25 +03:00
dtluna
4f8d476a2b Add fileTypeService 2016-11-25 20:21:25 +03:00
Roger Braun
1be1d7563c Greentext. 2016-11-25 17:34:59 +01:00
Roger Braun
b515586485 Show link to status source url. 2016-11-25 17:34:41 +01:00
Roger Braun
5986afbb20 Re-indent style. 2016-11-25 17:20:06 +01:00
Roger Braun
1d8c813135 Better handling of favorites. 2016-11-25 16:56:08 +01:00
Roger Braun
08393b8580 Fix word wrapping on Firefox.
Also, move some css around.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1136818 for the word
wrapping stuff.
2016-11-25 13:42:33 +01:00
dtluna
96b4997492 Disable the submit button while uploading attachment 2016-11-25 01:07:21 +03:00
Roger Braun
c8d25eab61 Image CSS fix for Firefox. 2016-11-24 20:49:30 +01:00
Roger Braun
b645f1d0ba Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma-fe into develop 2016-11-24 18:38:36 +01:00
Roger Braun
4f0155c5eb Timeline status adding fixes.
Don't show new statuses immediately if we already have something in there.
2016-11-24 18:31:18 +01:00
Roger Braun
ce0071d6e0 Remember positions on scroll. 2016-11-24 18:24:35 +01:00
Roger Braun
2341a3692a Add link to conversation in status. 2016-11-24 18:19:01 +01:00
Roger Braun
e245074ef7 Add status / conversation component.
And wire it up.
2016-11-24 18:17:09 +01:00
Roger Braun
18c11e405a Add status and conversation fetching to apiService. 2016-11-24 18:16:20 +01:00
Roger Braun
a5f523922c Make timelineless status adding possible. 2016-11-24 18:15:34 +01:00
Roger Braun
81c6f6e21f Remove example component. 2016-11-24 18:14:54 +01:00
dtluna
93be453037 Set cursor to hand when hovering over buttons 2016-11-23 01:58:25 +03:00
dtluna
3210283ae2 Add audio player 2016-11-22 21:45:18 +03:00
Roger Braun
fd4cd6d687 Prepare apiService for base url. 2016-11-22 15:45:40 +01:00
Roger Braun
2147807fa0 Add image height css back in.
Without it, Chrome stretches the image...
2016-11-22 15:44:45 +01:00
Roger Braun
38749e6c4a Remove commented out old api service. 2016-11-22 15:15:43 +01:00
Roger Braun
362b6200c5 Merge branch 'master' of ssh.gitgud.io:lambadalambda/pleroma-fe 2016-11-22 11:29:52 +01:00
Roger Braun
281c71b191 Move addNewStatuses code around. 2016-11-21 16:33:08 +01:00
Roger Braun
05f9e68dab Fixes for deletion. 2016-11-19 13:08:44 +01:00
Roger Braun
47ddf8c3fb Small status reducer changes. 2016-11-19 12:39:10 +01:00
Roger Braun
de25c46670 addNewStatuses: mutation -> action
This is to add the current user.
2016-11-18 22:56:20 +01:00
Roger Braun
e7637e4196 Add first notification.
This adds a favorite notification.
2016-11-18 22:55:04 +01:00
Roger Braun
4cef86f2a8 Add status deletion.
Kind of wonky. Would be better if we used the AS endpoints.
2016-11-18 22:25:42 +01:00
Roger Braun
11dd084835 Merge branch 'status_reducer_rewrite' 2016-11-18 20:13:12 +01:00
Roger Braun
9171b382fe Complete rewrite of status adding code.
This now uses nearly only mutation, to take advantage
of vue's mutation tracking.
2016-11-18 19:48:02 +01:00
Roger Braun
8723c35d43 A bit more advanced status merging. 2016-11-18 16:05:04 +01:00
Roger Braun
7e17600ee9 Small css fix, don't parse html for now. 2016-11-18 00:43:36 +01:00
Roger Braun
4fcb60487c Do more mutation-y status reducing. 2016-11-17 18:31:26 +01:00
Roger Braun
d10a58f26a Some reducer changes for statuses. 2016-11-15 10:35:16 +01:00
Roger Braun
d4284686fa Merge branch 'master' of ssh.gitgud.io:lambadalambda/pleroma-fe into feature/retweet 2016-11-14 21:11:27 +01:00
lambadalambda
a9d65a488f Merge branch 'feature/image-upload-improvements' into 'master'
Feature/image upload improvements

See merge request !2
2016-11-14 15:11:05 -05:00
Roger Braun
aeb8868b82 prepareStatus: created_at_parsed. 2016-11-13 22:54:49 +01:00
Roger Braun
59647798b9 prepareStatus: nsfw tag parsing. 2016-11-13 22:40:33 +01:00
Roger Braun
5888697c0d Better maxId calculation. 2016-11-13 22:19:14 +01:00
Alexander Gitter
7d3a6e77e4 Show spinner while uploading file 2016-11-13 18:26:10 +01:00
Jiayi Zheng
53fed694df Refactor css
Apply different styles to reply, retweet and favorite buttons
2016-11-13 17:52:20 +01:00
Jiayi Zheng
11125abeeb Implement retweet action 2016-11-13 17:09:16 +01:00
Jiayi Zheng
242ae8e91b Add retweet button component
Expand API service for retweet
2016-11-13 16:42:56 +01:00
Roger Braun
ee009f63dd Don't break status parsing when link class is missing. 2016-11-13 00:08:03 +01:00
Roger Braun
43eb9c022d Fix compilation error. 2016-11-12 23:18:27 +01:00
Roger Braun
05733b6bc9 Remove attachment links, as we are already showing them. 2016-11-12 22:41:43 +01:00
Roger Braun
c9ab70db8e Login form, post status form, status css fixes. 2016-11-12 21:31:41 +01:00
Roger Braun
f0f5d8c913 CSS fixes for attachments in status posts. 2016-11-12 21:05:01 +01:00
Roger Braun
4d6d916395 Some CSS fixes. 2016-11-12 20:57:54 +01:00
Roger Braun
f8a3afc9d1 Don't put statuses we received from retweets into timelines.
They should be in allStatuses to keep only one reference, but they
should not get into the timeline, or it will mess up old status
fetching, because they have a very low id.
2016-11-07 22:09:34 +01:00
Roger Braun
79b2243f6c Simplify nsfw setting. 2016-11-07 18:47:38 +01:00
Roger Braun
cc7f7a29cf Better retweet handling.
Fixes problems with liking + likes count.
2016-11-07 18:36:11 +01:00
Roger Braun
78db0db637 Restructure status module for easier testing. 2016-11-07 18:04:00 +01:00
Roger Braun
15c20e6032 Unify App.vue. 2016-11-07 18:03:36 +01:00
Roger Braun
66a936ea50 Add user links. 2016-11-07 16:42:29 +01:00
Roger Braun
f529c36a9c Force recreation of img node. 2016-11-07 16:23:54 +01:00
Roger Braun
d59f2985bd Attachment styling fixes. 2016-11-07 15:23:10 +01:00
Roger Braun
93eb6671c6 Linting fixes. 2016-11-07 15:04:27 +01:00
Roger Braun
d65112a625 Fix poststatusform attachment markup. 2016-11-07 15:04:02 +01:00
Roger Braun
cf972e968c Merge branch 'master' of ssh.gitgud.io:lambadalambda/pleroma-fe 2016-11-07 11:56:14 +01:00
Roger Braun
83e7add2c7 Add TWKN timeline. 2016-11-06 21:46:01 +01:00
Roger Braun
7fcd36e2c1 Don't show actions when not logged in. 2016-11-06 20:45:26 +01:00
Roger Braun
b6ac99fdf0 Use history routing. 2016-11-06 20:26:07 +01:00
Roger Braun
1ae5223742 Add NavPanel to app. 2016-11-06 20:11:23 +01:00
Roger Braun
c9e235f889 Load timeline once on creation. 2016-11-06 20:11:00 +01:00
Roger Braun
3bb2e91dbf Return empty auth header when we don't have a user. 2016-11-06 20:10:45 +01:00
Roger Braun
7c2018108d Remove fake public statuses. 2016-11-06 20:10:33 +01:00
Roger Braun
521c815251 Add NavPanel. 2016-11-06 20:10:20 +01:00
Roger Braun
e21a60096c Add media upload to PostStatusForm. 2016-11-06 19:30:35 +01:00
Roger Braun
7e2e2d3ec3 Add media upload to StatusPosterService. 2016-11-06 19:30:20 +01:00
Roger Braun
f86f0ef7f0 Add media upload to API Service. 2016-11-06 19:29:41 +01:00
Roger Braun
86749f759d Remove superfluous css. 2016-11-06 19:28:48 +01:00
Roger Braun
a73916dd7f Add MediaUpload component. 2016-11-06 19:28:37 +01:00
Roger Braun
a5edcef24d Remove temp data. 2016-11-06 17:48:56 +01:00
Roger Braun
e1103f04a4 Add fetching of older statuses. 2016-11-06 17:44:05 +01:00
Roger Braun
1a94217222 Fix app height. 2016-11-06 17:43:43 +01:00
Roger Braun
15800bab57 Add mp4 to attachments. 2016-11-06 17:43:31 +01:00
Roger Braun
2917f4ab44 Fix background css (partly). 2016-11-05 11:01:17 +01:00
Roger Braun
82d023609b Merge branch 'master' of ssh.gitgud.io:lambadalambda/pleroma-fe 2016-11-05 10:55:15 +01:00
Roger Braun
acc439f266 Attachment CSS fixes. 2016-11-04 12:55:09 +01:00
Roger Braun
572aceb7e7 Hide after posting. 2016-11-03 17:35:49 +01:00
Roger Braun
2c999ce5a2 CSS fixes... 2016-11-03 17:28:44 +01:00
Roger Braun
9ff8bf4c14 Make mention strings work. 2016-11-03 17:17:32 +01:00
Roger Braun
7e2c52b12c Add replies. 2016-11-03 16:59:27 +01:00
Roger Braun
78538da82f Track status lists by id. 2016-11-03 16:59:06 +01:00
Roger Braun
1ef6cac272 Attachment styling fixes. 2016-11-03 16:58:50 +01:00
Roger Braun
17d7617a0c Add background image. 2016-11-03 16:58:32 +01:00
Roger Braun
72877b5c06 CSS fixes. 2016-11-02 18:38:30 +01:00
Roger Braun
88d960b9f6 Make created_at_parsed reactive. 2016-10-31 10:20:02 +01:00
Roger Braun
7980558461 Basic status posting. 2016-10-30 16:54:44 +01:00
Roger Braun
8630f91a13 Add favorite-button. 2016-10-30 16:12:35 +01:00
Roger Braun
b96b5eb327 Remove skeleton logo. 2016-10-30 16:12:21 +01:00
Roger Braun
a7ce51b4b0 Go to friends timeline on login. 2016-10-30 14:25:18 +01:00
Roger Braun
500b704c0f Fix up nsfw and some styling. 2016-10-29 01:38:41 +02:00
Roger Braun
5f69014575 Basic attachments, some retweet fixes. 2016-10-28 18:08:03 +02:00
Roger Braun
7b92ca6f94 Update timestamps after fetch. 2016-10-28 15:59:49 +02:00
Roger Braun
eab256a7e5 New status showing. 2016-10-28 15:40:13 +02:00
Roger Braun
534f2e8195 Basic statuses. 2016-10-28 15:19:42 +02:00
Roger Braun
f8d6fe41f0 Start fetching. 2016-10-28 14:26:51 +02:00
Roger Braun
7ce6bbcf30 Fix user panel bg image. 2016-10-28 14:26:23 +02:00
Roger Braun
e14e3e5ef5 Use users module. 2016-10-27 18:03:25 +02:00
Roger Braun
945ea5e69f Update modules. 2016-10-27 18:03:14 +02:00
Roger Braun
51c0b6dfd3 Add LoginForm. 2016-10-27 18:02:41 +02:00
Roger Braun
a7ea9c5195 Add UserPanel. 2016-10-27 18:02:28 +02:00
Roger Braun
7ba40ff7e2 Remove hello component from app. 2016-10-27 18:01:48 +02:00
Roger Braun
4c2764c747 . 2016-10-26 19:03:55 +02:00
Roger Braun
191c02af1e Basic skeleton 2016-10-26 16:46:32 +02:00