Commit Graph

234 Commits

Author SHA1 Message Date
Henry Jameson 7c074b8741 fix rgba css generation, add some tests to automatically verify that themes are
generated properly
2020-01-27 04:20:13 +02:00
Shpuld Shpuldson c4beac5f89 Merge branch 'develop' into feat/emoji-reactions 2020-01-26 15:59:59 +02:00
Shpuld Shpuldson a018ea622c change emoji reactions to use new format 2020-01-26 15:45:12 +02:00
Henry Jameson 2b36a62c56 fix tests, integrate depenentless sorting into toposort for easier testing and
better guarantees
2020-01-20 01:44:11 +02:00
Shpuld Shpludson 86380f0429 Optimize Notifications Rendering 2020-01-14 13:28:57 +00:00
Henry Jameson 21d9c87b34 fix tests 2020-01-12 23:05:32 +02:00
Henry Jameson 622c9d388e Refactoring, forgotten files 2020-01-12 03:44:06 +02:00
HJ 0eda60eeb4 Merge branch 'greentext-strikes-back' into 'develop'
⑨ Added greentext support ⑨

Closes #9

See merge request pleroma/pleroma-fe!994
2019-11-19 14:22:17 +00:00
kPherox a55486f8d7 Normalize profile fields 2019-11-19 14:15:41 +00:00
Henry Jameson bd2a682b83 tests + updates 2019-11-14 22:40:20 +02:00
Henry Jameson b66564a30d Merge remote-tracking branch 'upstream/develop' into settings-refactor
* upstream/develop: (89 commits)
  remove needless ref
  show preview popover when hover numbered replies
  refactor conditions
  do not make too many nested div
  add fetchStatus action
  refactor status loading logic
  split status preview popover into a separate component
  uninstall mobile-detect library
  listen both events
  minor css fix
  restrict distance at top side only
  set different trigger event in desktop and mobile by default
  fix eslint warnings
  fix popper go behind the top bar
  migrate Popper to v-popover
  fix popper go behind the top bar
  fix eslint warnings
  reset font-size to normal text size using rem
  use top placement by default
  hide status preview popper when hover popper content
  ...
2019-10-29 09:36:16 +02:00
Henry Jameson 0be86304d2 Fix tests, more replacing with mergedConfig 2019-10-06 23:28:30 +03:00
Henry Jameson a2923570c3 fix regex shortcode problem 2019-09-30 23:45:03 +03:00
kaniini 4369ce6f1b Merge branch 'hide-followers-follows-count' into 'develop'
Added a setting to hide follow/follower count from the user profile

See merge request pleroma/pleroma-fe!951
2019-09-26 22:20:01 +00:00
Henry Jameson 836cb817d1 fix tests 2019-09-25 20:54:07 +03:00
Henry Jameson 7b4cb38734 split spam mode into two separate options (one in settings page) 2019-09-23 20:36:49 +03:00
eugenijm aafb29c589 Added a setting to hide follow/follower count from the user profile 2019-09-23 16:19:21 +03:00
Henry Jameson db961af3c8 unit test for emoji input, for now covering only insertion mechanism 2019-09-15 16:01:57 +03:00
Henry Jameson 0d8b68632b Remove emoji zoom 2019-09-12 20:25:11 +03:00
Henry Jameson 9146bee7aa better hitbox for status emoji 2019-09-08 21:18:52 +03:00
taehoon 18a41e785e update unit test 2019-07-28 16:55:34 -04:00
taehoon d785ed5a05 rewrite unit tests 2019-07-25 23:34:56 -04:00
taehoon a443a5203e add more unit tests for elimination logic 2019-07-25 14:17:48 -04:00
taehoon 65ef039316 add unit test for elimination logic 2019-07-25 08:03:41 -04:00
Shpuld Shpludson 54b0f90133 Merge branch 'eslint-fix' into 'develop'
Fix shitton warning eslint gives

See merge request pleroma/pleroma-fe!871
2019-07-07 19:12:33 +00:00
Shpuld Shpludson c8794b2b84 Merge branch '580' into 'develop'
Fix backend version string parsing

Closes #580

See merge request pleroma/pleroma-fe!868
2019-07-07 10:30:45 +00:00
Eugenij 14ec12b4f6 Set hide_follows and hide_followers settings when parsing Mastodon format 2019-07-07 10:20:55 +00:00
Henry Jameson 020c6d1bcf all the manual fixes 2019-07-07 00:54:17 +03:00
HJ 8f53796420 Merge branch 'develop' into 'eslint-fix'
# Conflicts:
#   src/components/post_status_form/post_status_form.vue
2019-07-06 20:43:38 +00:00
taehoon c712754150 add unit tests 2019-07-05 13:38:52 -04:00
Henry Jameson 2c2b84d31d npm eslint --fix . 2019-07-05 10:02:14 +03:00
taehoon d8e210df4d update test for clearTimeline action 2019-07-02 15:07:18 -04:00
lain 0eed2ccca8 Feature/polls attempt 2 2019-06-18 20:28:31 +00:00
Henry Jameson 52475dbf23 Fix pipelines and clean up console output 2019-05-21 21:22:00 +03:00
Henry Jameson 3e68514981 fix tests 2019-04-28 20:46:01 +03:00
Henry Jameson e0247e21f6 Merge remote-tracking branch 'upstream/develop' into webpack-4-dart-sass
* upstream/develop: (126 commits)
  entity normalizer: hook up in_reply_to_account_acct
  add BBCode strings
  fix follow button not updating bug in follow-card
  refer searched user objects from the global user rep
  set max-width of textarea in settings page
  Remove space in the timeline setting copy
  user_card.vue: Fix .emoji to apply to img
  Update oc.json
  Update oc.json
  Update oc.json
  Update oc.json
  replace pencil with wrench icon
  rebuild fontello with wrench icon added
  fetch all friends using pagination
  stop fetching user relationship when user is unauthorized
  Revert "recover border between basic-user-card using list component"
  remove extra spacing
  code readability
  fix typos
  clean up
  ...
2019-04-27 12:26:17 +03:00
Henry Jameson fd171da0dc attempt at making it work 2019-04-13 18:28:50 +03:00
Henry Jameson 262760d258 revert unnecessary changes 2019-04-10 21:48:42 +03:00
Henry Jameson 9108737d55 Webpack 4, ESLint with Vue, Node-sass, updated dependencies overall. New linting. 2019-04-07 20:33:11 +03:00
dave 783cc00dd0 merge develop & resolve conflict 2019-03-29 10:11:28 -04:00
shpuld c50e64f8ee Add tests for gesture service, fix bug with perpendicular directions 2019-03-26 22:11:45 +02:00
dave 55d7bd6d4e Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into issue-436-mastoapi-notifications 2019-03-18 10:37:26 -04:00
Henry Jameson 30c0cafff1 Merge remote-tracking branch 'upstream/develop' into mastoapi/emojis
* upstream/develop: (34 commits)
  after store: fix setting postFormats field
  fix user-card avatar falling into permament failed state
  fix flake id users not fetching correctly
  fix console error
  afterStoreSetup: Move log in and theme load to afterStoreSetup.
  afterStoreSetup: Handle 404 cases.
  afterStoreSetup: Emoji and nodeinfo refactor.
  afterStoreSetup: refactor TOS and panel fetching, handle 404s.
  afterStoreSetup: refactor.
  Load persistedStated with async/await.
  whoops
  レインせんぱいにサンキュー
  fix embedded relationship card parsing
  actually use embedded relationship if it's present
  instead of filtering nulls, let's just not have them in the first place
  #434 - fix plain text issue
  Add floating post-status button on mobile
  Update user settings icon to pencil
  I18n: Update Czech translation
  user_card.vue: Copy over .status-content img styling
  ...
2019-03-17 13:32:56 +02:00
dave e5786f32a7 #436: merge develop 2019-03-15 11:28:33 -04:00
HJ 9364964b01 Merge branch 'mastoapi/user-stuff' into 'develop'
Transition to MastoAPI: user data

See merge request pleroma/pleroma-fe!655
2019-03-15 13:14:41 +00:00
dave 8ade93bb4d #436: update test 2019-03-14 22:36:11 -04:00
dave 06fda27511 #436: update unit testing 2019-03-14 08:06:40 -04:00
Henry Jameson 4efcda1b41 Added some tests 2019-03-11 22:41:08 +02:00
Henry Jameson 06d39b62a8 fixed tests, review fixes, now storing local users with downcase screen name for
better compatibility
2019-03-11 02:17:58 +02:00
shpuld 70d7ed3607 Make minId reset with minVisibleId to prevent gaps when showing new 2019-03-10 22:40:48 +02:00
Henry Jameson f3a9200b7c some test fixes, disabled one test for now since logic now is even more async in general 2019-03-09 02:47:20 +02:00
Henry Jameson 4f3a220487 Since BE doesn't support fetching user by screen name over MastoAPI we'll gonna
just fetching it over QvitterAPI real quick :DDDDDDDDD
2019-03-08 22:40:57 +02:00
Shpuld Shpludson 09736691ea Merge branch '420-redo-user-card-content' into 'develop'
Re-do UserCardContent Component CSS

Closes #420

See merge request pleroma/pleroma-fe!642
2019-03-07 16:38:45 +00:00
taehoon 7cb13df8ad Update tests 2019-03-05 14:13:22 -05:00
dave f5adb62e2e #392: update defaultState into a function 2019-02-28 14:27:47 -05:00
Edijs be77707381 Fix unit test 2019-02-10 19:32:01 -07:00
Edijs 7addd408a9 Typo 2019-02-10 12:06:13 -07:00
Edijs c0b833cb85 Added tag extractor method and spec 2019-02-07 14:46:10 -07:00
shpuld c7cffbb6c7 Merge branch 'develop' into feat/media-modal 2019-01-30 20:49:24 +02:00
shpuld 15603981f8 Capture clicks on statuses to hijack mention clicks, match mention href to user somehow 2019-01-30 19:24:47 +02:00
lambda fcd99ebc5b Merge branch 'fix/make-user-by-name-case-insensitive' into 'develop'
Make userByName case-insensitive

See merge request pleroma/pleroma-fe!489
2019-01-28 19:25:25 +00:00
shpuld a593c2cb8c Make userByName case-insensitive 2019-01-28 21:21:11 +02:00
shpuld ca78623b34 fix user tl clearing and give it a test 2019-01-28 20:15:00 +02:00
shpuld 51024a2c8a Merge branch 'develop' into feat/media-modal 2019-01-28 19:02:46 +02:00
shpuld 0ab828bb30 Merge develop and fix conflict 2019-01-26 17:50:41 +02:00
shpuld 3978aaef84 Redo everything in the MR 2019-01-26 17:45:03 +02:00
William Pitcock efad3ad0a5 attempt to fix tests 2019-01-26 13:51:07 +00:00
Henry Jameson d405bfe6de update test names 2019-01-22 19:58:59 +03:00
Henry Jameson 1e61c8140b tests for the tests god! bugfixes for bugfixes throne! 2019-01-17 20:44:37 +03:00
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 76cfb15b3c Merge branch 'feature/replace-panel-switcher' into 'develop'
Mobile side drawer

See merge request pleroma/pleroma-fe!443
2018-12-31 17:35:31 +00:00
Shpuld Shpludson fb8f774383 Fix profiles without statuses not loading 2018-12-31 01:57:22 +00:00
shpuld 16c7bd0199 merge develop, fix conflicts, fix logged out bug 2018-12-29 16:25:45 +02:00
shpuld 85c058e95c New routes, notifications, other impovements in side drwaer 2018-12-28 21:39:54 +02:00
Lambda f35dbaf064 Treat reserved users like external users in the frontend. 2018-12-26 14:50:48 +01:00
Lambda 24eba26c5b Restore old routes, enable user route as fallback. 2018-12-25 18:43:52 +01:00
Maxim Filippov 5f10c5e786 Fix user profile test 2018-12-17 02:45:40 +03:00
Maxim Filippov 2211c533dd Merge branch 'develop' into feature/new-user-routes 2018-12-17 02:39:37 +03:00
Maxim Filippov b524e73a65 Add local profile test 2018-12-17 01:53:21 +03:00
Maxim Filippov 828b1c78f9 Implement user_profile.spec.js 2018-12-15 06:16:44 +03:00
Maxim Filippov e4a34cc4d4 Use 'userProfileLink' to generate user-profile link 2018-12-13 19:57:11 +03:00
Maxim Filippov 24caa2cfcd Add generateProfileLink 2018-12-13 05:00:01 +03:00
Rinpatch fa7fbe05de Write a unit test for fileSizeFormatService 2018-12-12 20:41:12 +03:00
Maxim Filippov ae8f0f36d8 Use "~" as a route namespace symbol 2018-12-10 01:21:52 +03:00
Maxim Filippov e576f8cdad Typo in tests 2018-12-06 22:10:46 +03:00
Maxim Filippov 6532462b95 Move old routes to /p, use /nickname for user profiles 2018-12-06 22:09:54 +03:00
Maxim Filippov c3c75e0702 Remove dummy component 2018-12-06 22:09:54 +03: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
Shpuld Shpuldson e0e8965c08 update branch and fix merge conflicts 2017-06-15 23:25:19 +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 024230c7f4 Basic word position and completion service. 2017-03-15 16:22:36 +01: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 ee009f63dd Don't break status parsing when link class is missing. 2016-11-13 00:08:03 +01:00
Roger Braun 05733b6bc9 Remove attachment links, as we are already showing them. 2016-11-12 22:41:43 +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
Roger Braun 26d47c0f41 Remove example spec. 2016-11-07 18:03:48 +01:00
Roger Braun 191c02af1e Basic skeleton 2016-10-26 16:46:32 +02:00