Commit Graph

43 Commits

Author SHA1 Message Date
Henry Jameson a2ef716f3b consistency in tests too 2019-01-17 19:27:57 +03:00
Henry Jameson 5251de317d Merge branch 'switch-to-string-ids' into favorites
with some changes/merge conflicts resolution

* switch-to-string-ids:
  fixx?????
  fix notifications?
  fix lint
  fix tests, removed one unused function, fix real problem that tests helped to surface
  added some more explicit to string conversion since BE seem to be sending numbers and it could cause an issue.
  Remove all explicit and implicit conversions of statusId to number, changed explicit ones so that they convert them to string
2019-01-17 19:16:45 +03:00
Henry Jameson d7bd294666 migrated some tests to normalizer, fixed some potential bug, fixed tests to use
normalized naming instead of raw qvitter api objects. needs more tests tho.
2019-01-15 18:39:24 +03:00
Henry Jameson b18e27c6d4 fix tests, removed one unused function, fix real problem that tests helped to
surface
2019-01-11 03:38:23 +03:00
Shpuld Shpludson fb8f774383 Fix profiles without statuses not loading 2018-12-31 01:57:22 +00:00
Henry Jameson 42584b1a34 fixup! fixup! Added logic to process reply to favorite request and update likes counter accordingly. Should fix some of cases of doubled likes and likes counter not decrementing. 2018-08-30 16:52:38 +03:00
Henry Jameson 4589466917 fixup! Added logic to process reply to favorite request and update likes counter accordingly. Should fix some of cases of doubled likes and likes counter not decrementing. 2018-08-30 16:34:24 +03:00
Henry Jameson cc473df314 changed the only surviving and important test to accommodate for new notifications flow. 2018-08-16 14:46:05 +03:00
Henry Jameson 3afe65352b removed notification-relevant test because the functionality they are testing do
not exist anymore. Gotta write more tho...
2018-08-16 14:07:06 +03:00
Henry Jameson 63650aec29 Added support for qvitter api fetching of notifications 2018-08-12 14:14:34 +03:00
Roger Braun 38653e1ea0 Fix specs. 2018-04-26 20:30:35 +02:00
eal 04a3a44195 Add tests for follow notifications. 2017-08-25 14:07:31 +03:00
Roger Braun e663420260 Fix notification deletion. 2017-06-13 12:01:47 +02:00
Roger Braun 72de959221 Remove notifications for deleted messages. 2017-06-06 15:54:08 +02:00
Roger Braun bde1241843 eslint fixes. 2017-03-08 17:58:49 +01:00
Roger Braun e892fffda7 Correctly calculate the newStatusesCount.
Fixes a bug when viewing an updating twkn while logged in.
2017-02-16 12:51:24 +01:00
Roger Braun 66ef9f1328 Add users muting. 2017-02-13 23:22:32 +01:00
Roger Braun c1d0b04105 Make minVisibleId actually dependent on visible statuses. 2017-01-01 18:10:25 +01:00
Roger Braun 026ab7c1df Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma-fe into develop 2016-12-05 20:49:58 +01:00
Jiayi Zheng 75fdc72e22 Implements feature status delete
Fixes issue #4
2016-12-04 18:30:00 +01:00
Roger Braun 58ac8f51a2 Treat mentions more like a timeline. 2016-12-03 12:43:21 +01:00
Roger Braun 25ecac846f Add users repository in users module. 2016-11-30 18:29:44 +01:00
Roger Braun 9681bb7bfd Add noIdUpdate option for addNewStatuses action.
This fixes #11.
2016-11-28 21:25:36 +01:00
Roger Braun c726aa8a7f Fix specs. 2016-11-28 18:04:31 +01:00
Roger Braun e0a108fcab Move specs around. 2016-11-28 14:49:42 +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 1d8c813135 Better handling of favorites. 2016-11-25 16:56:08 +01:00
Roger Braun a5f523922c Make timelineless status adding possible. 2016-11-24 18:15:34 +01:00
Roger Braun 05f9e68dab Fixes for deletion. 2016-11-19 13:08:44 +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 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 4fcb60487c Do more mutation-y status reducing. 2016-11-17 18:31:26 +01: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
Roger Braun 5e348dc149 Add RT status adding specs. 2016-11-13 17:59:35 +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 cc7f7a29cf Better retweet handling.
Fixes problems with liking + likes count.
2016-11-07 18:36:11 +01:00
Roger Braun 8199c8e45d Add specs for statuses module. 2016-11-07 18:05:04 +01:00