Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
Merged

2.4.18 #3586

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
b9ad45b
Comment out instead of delete
brianlovin Jul 4, 2018
f23db82
Whitespace
brianlovin Jul 4, 2018
19b8ac7
Fix routing
brianlovin Jul 4, 2018
a1c4f02
Merge pull request #3488 from withspectrum/temp-disable-autodeploy
brianlovin Jul 4, 2018
d47477c
Merge pull request #3472 from withspectrum/depfu/update/yarn/raven-js…
brianlovin Jul 4, 2018
b1a1c16
Update expo-server-sdk to version 2.4.0
depfu[bot] Jul 4, 2018
18092f9
Update draft-js-plugins-editor to version 2.1.1
depfu[bot] Jul 4, 2018
6e27ac7
Fix tests
brianlovin Jul 4, 2018
d5214eb
Merge pull request #3483 from withspectrum/me
mxstbr Jul 5, 2018
257d283
Merge pull request #3448 from withspectrum/fix-notifications-pagination
mxstbr Jul 5, 2018
b1467fb
Fix badge styling in firefox
mxstbr Jul 5, 2018
19924ef
Fix thread image uploads
mxstbr Jul 5, 2018
0db20af
Merge pull request #3491 from withspectrum/depfu/update/yarn/expo-ser…
mxstbr Jul 5, 2018
6e49e43
Merge pull request #3493 from withspectrum/depfu/update/yarn/draft-js…
mxstbr Jul 5, 2018
0de1969
Fix lifecycle methods for thread changing, rendering, editing, state,…
brianlovin Jul 5, 2018
9cb5a66
Merge pull request #3496 from withspectrum/fix-image-uplaods
brianlovin Jul 5, 2018
66d6137
Update draftjs-to-markdown to version 0.5.1
depfu[bot] Jul 5, 2018
6491830
Update eslint-plugin-standard to version 3.1.0
depfu[bot] Jul 5, 2018
f66e23d
Merge branch 'alpha' of github.com:withspectrum/spectrum into maybe-f…
brianlovin Jul 5, 2018
30becfd
Simplify our logic for what messages to load
brianlovin Jul 5, 2018
34169f4
Fix badge centering
brianlovin Jul 5, 2018
1abcf37
Add border to code
brianlovin Jul 5, 2018
39214e8
Fix non-liked reaction icon color
brianlovin Jul 5, 2018
bbb1a97
Merge alpha and fix conflicts
brianlovin Jul 5, 2018
3857256
Align input text to output text
brianlovin Jul 5, 2018
e37f3a4
Polish quote message styling
brianlovin Jul 5, 2018
6bf7d57
Sync message hash to url
brianlovin Jul 5, 2018
2e8e4e6
Make @mentions stand out in text
brianlovin Jul 5, 2018
df42d96
Fix badge layout
brianlovin Jul 5, 2018
a9d4b03
Badges fixes again
brianlovin Jul 5, 2018
75fb7cd
Fix quote name hover color
brianlovin Jul 5, 2018
3a0e977
Fix test snapshot for changed timestamp data shape
brianlovin Jul 5, 2018
a2afaaf
Clean up loading states
brianlovin Jul 5, 2018
31eb3a6
Fix quote message code margin
brianlovin Jul 5, 2018
88ebc3e
Add thread loading state back
brianlovin Jul 5, 2018
1fe15b2
Merge pull request #3498 from withspectrum/depfu/update/yarn/draftjs-…
brianlovin Jul 5, 2018
5e99a45
Merge pull request #3492 from withspectrum/depfu/update/yarn/eslint-p…
brianlovin Jul 5, 2018
db055ea
Update common-tags to version 1.8.0
depfu[bot] Jul 5, 2018
e6cf02a
Update apollo-engine to version 1.1.2
depfu[bot] Jul 6, 2018
0f02b4d
Revert image plugin version bump
brianlovin Jul 6, 2018
90422d7
Re-enable auto deploy from alpha
brianlovin Jul 6, 2018
db5c1b8
Merge pull request #3501 from withspectrum/depfu/update/yarn/apollo-e…
brianlovin Jul 6, 2018
dfa9db7
Merge pull request #3500 from withspectrum/depfu/update/yarn/common-t…
brianlovin Jul 6, 2018
a5588c6
Update algoliasearch to version 3.29.0
depfu[bot] Jul 6, 2018
e230638
Merge pull request #3502 from withspectrum/fix-thread-rendering
mxstbr Jul 6, 2018
37415d5
Update draft-js-focus-plugin to version 2.1.0
depfu[bot] Jul 6, 2018
94d8ace
Merge pull request #3504 from withspectrum/depfu/update/yarn/draft-js…
brianlovin Jul 6, 2018
604b4d1
Update bull to version 3.4.2
depfu[bot] Jul 6, 2018
e00c863
Merge branch 'alpha' of github.com:withspectrum/spectrum into message…
brianlovin Jul 6, 2018
30952c5
Add timestamps to messages, cleanup
brianlovin Jul 6, 2018
e802359
Merge branch 'alpha' of github.com:withspectrum/spectrum into maybe-f…
brianlovin Jul 6, 2018
fa48cd8
Slow progress trying to figure out how to scroll to messages
brianlovin Jul 6, 2018
d8cf33b
Improve contrast of message text
brianlovin Jul 6, 2018
3201362
Fix e2e test
brianlovin Jul 6, 2018
b006946
Fix notifications
brianlovin Jul 6, 2018
6ecde04
let the tests run
brianlovin Jul 7, 2018
28181b4
Fix message connection variables
brianlovin Jul 7, 2018
692c865
Fix typings for dm participants
brianlovin Jul 10, 2018
4b81d90
Refactor avatar component to be more explicit
brianlovin Jul 10, 2018
15a4aec
Add conditionalwrap component for conditional rendering
brianlovin Jul 10, 2018
57c24d2
Abstract out hover profile component and triggers
brianlovin Jul 10, 2018
a2fadce
Fix photo uploads to not user avatar components, flowtype
brianlovin Jul 10, 2018
dfab5ce
Add hover profiles to granular user profiles
brianlovin Jul 10, 2018
e800dbd
Add hover profiles to user, community, and channel list items
brianlovin Jul 10, 2018
63cddfd
Add hover profile to message byline, make timstamp clickable
brianlovin Jul 10, 2018
1d38796
Fix message selected states, better click handling for mobile
brianlovin Jul 10, 2018
d4ed39a
Refactor message selection context management
brianlovin Jul 10, 2018
15265b6
Fix broken reputation rendering on community list
brianlovin Jul 10, 2018
784add7
Type rep explainer modal
brianlovin Jul 10, 2018
7ae3ef3
Fix target blank eslint warning on channel profile
brianlovin Jul 10, 2018
46cdbcc
Update deprecated react 16.3 lifecycle method in thread profile compo…
brianlovin Jul 10, 2018
29ce562
Add hover profiles to community list items, eslint
brianlovin Jul 10, 2018
02496f0
Fix typings, avatars, and hover profiles on user profile components
brianlovin Jul 10, 2018
5462edc
Small fix to reaction styling in new messages
brianlovin Jul 10, 2018
eb86b83
Use new hover profile implementation in mention components
brianlovin Jul 10, 2018
9f7b2db
Fix reputation types and rendering if 0
brianlovin Jul 10, 2018
c194f86
Add new avatar components to settings view headers
brianlovin Jul 10, 2018
b55b2db
Implements new avatar api across the app
brianlovin Jul 10, 2018
1e38ea5
Implement more hover profiles
brianlovin Jul 10, 2018
d8f1a56
Small styling fix on inbox thread header
brianlovin Jul 10, 2018
8c87853
Fix types and lifecycle method deprecations in direct message components
brianlovin Jul 10, 2018
452d671
Fix photo upoad behaviors
brianlovin Jul 10, 2018
7fd9684
Fix cover photo input props
brianlovin Jul 10, 2018
8178f8e
Hide hover profile on user settings
brianlovin Jul 10, 2018
471442a
Fix clickable props in user avatars, fix home page avatar dom error
brianlovin Jul 10, 2018
51185a9
Fix thread detail styling and linking issues
brianlovin Jul 10, 2018
264b58d
Add thread content loading state
brianlovin Jul 10, 2018
98f7f89
Eslint
brianlovin Jul 10, 2018
73fb2ed
Add loading state to hover profiles on slow networks
brianlovin Jul 10, 2018
17c70ae
Add prefetching for faster hover profile renders
brianlovin Jul 10, 2018
6b286cf
Restyle hover cards, fix some description rendering across the board
brianlovin Jul 11, 2018
0e255c5
Adds background color to transparent profile photos
brianlovin Jul 11, 2018
e9c46b1
Less badge padding per @uberbryn's request
brianlovin Jul 11, 2018
c579e18
Small polish
brianlovin Jul 11, 2018
db2e3ff
Make channel join/leave buttons consistent
brianlovin Jul 11, 2018
580d2a1
Fix e2e test
brianlovin Jul 12, 2018
053c847
Hide tooltips on mobile to prevent weird pemanent hover state
brianlovin Jul 13, 2018
56c39bc
Clean up imports
brianlovin Jul 13, 2018
46734f9
Add outside click handler to message, small cleanups
brianlovin Jul 13, 2018
03077c0
Revert click handler propagation
brianlovin Jul 13, 2018
c0562df
Clean up selection event propagation
brianlovin Jul 13, 2018
0d6e40f
Fix mismatched src url with ssr
brianlovin Jul 13, 2018
f01ecdb
Switch to query param for selected message to work with ssr
brianlovin Jul 13, 2018
8578e1a
Prevent setstate errors on unmounted hover profiles
brianlovin Jul 13, 2018
3e0d59e
Upgrade query-string dep to fix flow
brianlovin Jul 13, 2018
568cafb
Support blockquotes in messages
brianlovin Jul 13, 2018
be8145b
Attempt to fix test failure
brianlovin Jul 14, 2018
dd41dc4
Use older version of query string
brianlovin Jul 14, 2018
6967c74
Tests, tests, tests
brianlovin Jul 14, 2018
5547a4c
Fix upgrade to pro upsell styling
brianlovin Jul 14, 2018
2c3a0c9
Eslint
brianlovin Jul 14, 2018
82dd926
Dont flowtype cypress
brianlovin Jul 14, 2018
0c33947
Revert "Slow progress trying to figure out how to scroll to messages"
brianlovin Jul 14, 2018
c7b5380
Merge pull request #3486 from withspectrum/maybe-fix-scroll-behavior
brianlovin Jul 14, 2018
2287e9b
Update test snapshot'
brianlovin Jul 14, 2018
25f348a
Merge pull request #3506 from withspectrum/depfu/update/yarn/bull-3.4.2
brianlovin Jul 14, 2018
411d5f8
Merge pull request #3503 from withspectrum/depfu/update/yarn/algolias…
brianlovin Jul 14, 2018
edb4e46
Update graphql-tools to version 3.0.5
depfu[bot] Jul 14, 2018
4f21cc2
Merge pull request #3245 from ryota-murakami/fix/eslint-warn
brianlovin Jul 14, 2018
00769d0
Merge pull request #3518 from withspectrum/support-message-blockquotes
brianlovin Jul 14, 2018
e962e22
Restyling thread like button to be more clear
brianlovin Jul 14, 2018
88f04cc
Merge pull request #3520 from withspectrum/depfu/update/yarn/graphql-…
brianlovin Jul 14, 2018
6573735
Merge alpha and fix conflicts
brianlovin Jul 14, 2018
6836c5e
Update babel-eslint to version 8.2.6
depfu[bot] Jul 14, 2018
a2ab232
Style and support blockquote messages in chat
brianlovin Jul 14, 2018
1835b9a
Fix dom nesting bug
brianlovin Jul 14, 2018
72ffb71
Update now-env to version 3.1.0
depfu[bot] Jul 14, 2018
bf56a12
Fix flow
brianlovin Jul 14, 2018
438d70c
Make community list item avatars not clickable
brianlovin Jul 14, 2018
ca0b54b
Fix several event propagation bugs in message selection
brianlovin Jul 14, 2018
fcfd0c2
Merge pull request #3521 from withspectrum/more-clear-like-button
brianlovin Jul 14, 2018
e31c9a1
merge alpha
brianlovin Jul 14, 2018
3473a28
Merge alpha and fix conflicts
brianlovin Jul 14, 2018
d2c04f0
Update body-parser to version 1.18.3
depfu[bot] Jul 14, 2018
d438ad5
Merge pull request #3524 from withspectrum/depfu/update/analytics/yar…
brianlovin Jul 14, 2018
0eaddb3
Merge pull request #3522 from withspectrum/depfu/update/yarn/babel-es…
brianlovin Jul 14, 2018
3e5fe03
Update raven to version 2.6.3
depfu[bot] Jul 14, 2018
6c649e3
Merge pull request #3525 from withspectrum/depfu/update/api/yarn/body…
brianlovin Jul 14, 2018
c79ee8a
Update compression to version 1.7.2
depfu[bot] Jul 14, 2018
4567e02
Merge pull request #3523 from withspectrum/depfu/update/analytics/yar…
brianlovin Jul 14, 2018
656158e
Update express to version 4.16.3
depfu[bot] Jul 14, 2018
416aace
Dramatically simplify img component with proper fallbacks and failure…
brianlovin Jul 14, 2018
adee305
Merge pull request #3526 from withspectrum/depfu/update/api/yarn/comp…
brianlovin Jul 14, 2018
0b111ff
Update helmet to version 3.12.1
depfu[bot] Jul 14, 2018
ebb3831
Update lodash to version 4.17.10
depfu[bot] Jul 14, 2018
b5a6435
Update rethinkdbdash to version 2.3.31
depfu[bot] Jul 14, 2018
99ffd5b
Update expo-server-sdk to version 2.4.0
depfu[bot] Jul 15, 2018
2b02cea
Update debug to version 2.6.9
depfu[bot] Jul 15, 2018
2da4ddf
Update lodash to version 4.17.10
depfu[bot] Jul 15, 2018
7369557
Update electron-log to version 2.2.16
depfu[bot] Jul 15, 2018
fefb76d
Update electron-updater to version 2.23.3
depfu[bot] Jul 15, 2018
41ab37f
Update debug to version 2.6.9
depfu[bot] Jul 15, 2018
18bbf6a
Update rethinkdbdash to version 2.3.31
depfu[bot] Jul 15, 2018
49759e7
More subtle loading state for image component
brianlovin Jul 15, 2018
b46a142
Change message selection behavior
brianlovin Jul 15, 2018
b4640f7
Update jsonwebtoken to version 8.3.0
depfu[bot] Jul 15, 2018
d6c2514
Update bull to version 3.4.2
depfu[bot] Jul 15, 2018
4ecfc70
Update now-env to version 3.1.0
depfu[bot] Jul 15, 2018
c2cb0e5
Update apollo-client to version 2.3.5
depfu[bot] Jul 15, 2018
a50b4ca
Update apollo-link-retry to version 2.2.4
depfu[bot] Jul 15, 2018
9481e52
Update react-apollo to version 2.1.9
depfu[bot] Jul 15, 2018
5d9cb8a
Update express to version 4.16.3
depfu[bot] Jul 15, 2018
8f2f6a6
Update shortid to version 2.2.12
depfu[bot] Jul 15, 2018
ed885b7
Update algoliasearch to version 3.29.0
depfu[bot] Jul 15, 2018
5ed758a
Update now-env to version 3.1.0
depfu[bot] Jul 15, 2018
cbb6d88
Update immutability-helper to version 2.7.1
depfu[bot] Jul 15, 2018
1566fd1
Fix message selection behavior on mobile, fix tests
brianlovin Jul 15, 2018
f047e31
Merge pull request #3555 from withspectrum/depfu/update/vulcan/yarn/n…
brianlovin Jul 15, 2018
86047d7
Merge pull request #3554 from withspectrum/depfu/update/vulcan/yarn/a…
brianlovin Jul 15, 2018
e5dc8e7
Merge pull request #3553 from withspectrum/depfu/update/pluto/yarn/sh…
brianlovin Jul 15, 2018
5c931cc
Merge pull request #3552 from withspectrum/depfu/update/pluto/yarn/ex…
brianlovin Jul 15, 2018
d9d1cfd
Merge pull request #3547 from withspectrum/depfu/update/mobile/yarn/r…
brianlovin Jul 15, 2018
27ee887
Merge pull request #3545 from withspectrum/depfu/update/mobile/yarn/a…
brianlovin Jul 15, 2018
78bf7a4
Update body-parser to version 1.18.3
depfu[bot] Jul 15, 2018
1d44537
Merge pull request #3546 from withspectrum/depfu/update/mobile/yarn/a…
brianlovin Jul 15, 2018
cb95680
Merge pull request #3544 from withspectrum/depfu/update/mercury/yarn/…
brianlovin Jul 15, 2018
0bc2642
Merge pull request #3540 from withspectrum/depfu/update/hermes/yarn/r…
brianlovin Jul 15, 2018
4ac68b1
Merge pull request #3536 from withspectrum/depfu/update/desktop/yarn/…
brianlovin Jul 15, 2018
a717c39
Merge pull request #3532 from withspectrum/depfu/update/athena/yarn/e…
brianlovin Jul 15, 2018
e9888b2
Merge pull request #3533 from withspectrum/depfu/update/chronos/yarn/…
brianlovin Jul 15, 2018
fe1a38d
Merge pull request #3534 from withspectrum/depfu/update/chronos/yarn/…
brianlovin Jul 15, 2018
735dea4
Merge pull request #3530 from withspectrum/depfu/update/athena/yarn/r…
brianlovin Jul 15, 2018
549320b
Merge pull request #3529 from withspectrum/depfu/update/api/yarn/loda…
brianlovin Jul 15, 2018
a58b632
Merge pull request #3528 from withspectrum/depfu/update/api/yarn/helm…
brianlovin Jul 15, 2018
f327994
Merge pull request #3527 from withspectrum/depfu/update/api/yarn/expr…
brianlovin Jul 15, 2018
c5eca3e
Merge pull request #3557 from withspectrum/depfu/update/api/yarn/immu…
brianlovin Jul 15, 2018
8d78f5d
Merge pull request #3543 from withspectrum/depfu/update/mercury/yarn/…
brianlovin Jul 15, 2018
888c3f9
Merge pull request #3541 from withspectrum/depfu/update/hermes/yarn/j…
brianlovin Jul 15, 2018
7f5715b
Merge pull request #3539 from withspectrum/depfu/update/hermes/yarn/d…
brianlovin Jul 15, 2018
aa07d64
Merge branch 'alpha' into depfu/update/desktop/yarn/electron-updater-…
brianlovin Jul 15, 2018
e913e9d
Merge pull request #3537 from withspectrum/depfu/update/desktop/yarn/…
brianlovin Jul 15, 2018
b2fa01a
Update draft-js to version 0.10.5
depfu[bot] Jul 15, 2018
7b0d974
Update draft-js to version 0.10.5
depfu[bot] Jul 15, 2018
bb20a8a
Update debug to version 2.6.9
depfu[bot] Jul 15, 2018
4d5956b
Update raven to version 2.6.3
depfu[bot] Jul 15, 2018
80f12f9
Update node-localstorage to version 1.3.1
depfu[bot] Jul 15, 2018
b11278d
Update offline-plugin to version 4.9.1
depfu[bot] Jul 16, 2018
75abf4f
Update react-app-rewire-styled-components to version 3.0.2
depfu[bot] Jul 16, 2018
7566f43
Update now-env to version 3.1.0
depfu[bot] Jul 16, 2018
04fb16c
Update now-env to version 3.1.0
depfu[bot] Jul 16, 2018
0db6ab2
Update nodemon to version 1.18.2
depfu[bot] Jul 16, 2018
46ce2bb
Update now-env to version 3.1.0
depfu[bot] Jul 16, 2018
0a06da3
Merge pull request #3565 from withspectrum/depfu/update/desktop/yarn/…
brianlovin Jul 16, 2018
59b09b5
Merge pull request #3558 from withspectrum/depfu/update/api/yarn/node…
brianlovin Jul 16, 2018
653d38e
Merge pull request #3559 from withspectrum/depfu/update/api/yarn/offl…
brianlovin Jul 16, 2018
f015607
Merge pull request #3560 from withspectrum/depfu/update/api/yarn/reac…
brianlovin Jul 16, 2018
2378d6c
Merge pull request #3561 from withspectrum/depfu/update/athena/yarn/n…
brianlovin Jul 16, 2018
936e188
Merge pull request #3563 from withspectrum/depfu/update/chronos/yarn/…
brianlovin Jul 16, 2018
89bbdcf
Merge pull request #3535 from withspectrum/depfu/update/chronos/yarn/…
brianlovin Jul 16, 2018
5ec3882
Merge pull request #3531 from withspectrum/depfu/update/athena/yarn/d…
brianlovin Jul 16, 2018
8ba9585
Merge pull request #3542 from withspectrum/depfu/update/mercury/yarn/…
brianlovin Jul 16, 2018
826e4a3
Merge pull request #3550 from withspectrum/depfu/update/pluto/yarn/bo…
brianlovin Jul 16, 2018
f27d007
Merge pull request #3556 from withspectrum/depfu/update/vulcan/yarn/r…
brianlovin Jul 16, 2018
fcdafc5
Update raven to version 2.6.3
depfu[bot] Jul 16, 2018
2cb24f0
Merge pull request #3566 from withspectrum/depfu/update/hermes/yarn/n…
brianlovin Jul 16, 2018
e1a7967
Update react-redux to version 5.0.7
depfu[bot] Jul 16, 2018
da7a596
Update shortid to version 2.2.12
depfu[bot] Jul 16, 2018
a2ac595
Update compression to version 1.7.3
depfu[bot] Jul 16, 2018
7277011
Update source-map-support to version 0.4.18
depfu[bot] Jul 16, 2018
1a20c08
Update validator to version 9.4.1
depfu[bot] Jul 16, 2018
16f5145
Update raven to version 2.6.3
depfu[bot] Jul 16, 2018
a5570ad
Update source-map-support to version 0.4.18
depfu[bot] Jul 16, 2018
3fea618
eslint: suppress array-callback-return warn
ryota-murakami Jul 16, 2018
071d974
Update raven to version 2.6.3
depfu[bot] Jul 16, 2018
41b5d0d
Update source-map-support to version 0.4.18
depfu[bot] Jul 16, 2018
a920c5c
Update raven to version 2.6.3
depfu[bot] Jul 16, 2018
048b630
Update source-map-support to version 0.4.18
depfu[bot] Jul 16, 2018
2b38ad3
Update json-stringify-pretty-compact to version 1.2.0
depfu[bot] Jul 16, 2018
bd97858
Update react-native-gesture-handler to version 1.0.6
depfu[bot] Jul 16, 2018
03ddeb2
Update react-native-picker-select to version 3.1.3
depfu[bot] Jul 16, 2018
b6dd92a
Merge pull request #3583 from withspectrum/depfu/update/mobile/yarn/r…
brianlovin Jul 16, 2018
4accde1
Merge pull request #3582 from withspectrum/depfu/update/mobile/yarn/r…
brianlovin Jul 16, 2018
c510735
Merge pull request #3581 from withspectrum/depfu/update/mercury/yarn/…
brianlovin Jul 16, 2018
9a84cc4
Merge pull request #3580 from withspectrum/depfu/update/mercury/yarn/…
brianlovin Jul 16, 2018
669ae48
Merge pull request #3579 from withspectrum/depfu/update/mercury/yarn/…
brianlovin Jul 16, 2018
2d1e1ec
Merge pull request #3578 from withspectrum/depfu/update/hermes/yarn/s…
brianlovin Jul 16, 2018
37ce9e2
Merge pull request #3577 from withspectrum/depfu/update/hermes/yarn/r…
brianlovin Jul 16, 2018
9d09a43
Merge pull request #3573 from withspectrum/depfu/update/chronos/yarn/…
brianlovin Jul 16, 2018
e76ab97
Merge pull request #3572 from withspectrum/depfu/update/chronos/yarn/…
brianlovin Jul 16, 2018
3abbc36
Merge pull request #3571 from withspectrum/depfu/update/athena/yarn/v…
brianlovin Jul 16, 2018
00c4cba
Merge pull request #3570 from withspectrum/depfu/update/athena/yarn/s…
brianlovin Jul 16, 2018
b1c304d
Merge pull request #3569 from withspectrum/depfu/update/api/yarn/comp…
brianlovin Jul 16, 2018
636b3bd
Merge pull request #3568 from withspectrum/depfu/update/api/yarn/shor…
brianlovin Jul 16, 2018
1d6c138
Merge pull request #3567 from withspectrum/depfu/update/api/yarn/reac…
brianlovin Jul 16, 2018
c0ffc78
Merge pull request #3562 from withspectrum/depfu/update/athena/yarn/r…
brianlovin Jul 16, 2018
37f343a
Merge pull request #3576 from ryota-murakami/eslint-searchCommunityMe…
brianlovin Jul 16, 2018
f94698d
Merge alpha fix conflicts
brianlovin Jul 16, 2018
d07c147
Merge pull request #3494 from withspectrum/messages-redesign
brianlovin Jul 16, 2018
075ccba
Merge branch 'alpha' of github.com:withspectrum/spectrum into 2.4.18
brianlovin Jul 16, 2018
8a1c308
2.4.18
brianlovin Jul 16, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"amplitude": "^3.5.0",
"bull": "3.3.10",
"node-env-file": "^0.1.8",
"now-env": "^3.0.1",
"raven": "^2.1.1",
"now-env": "^3.1.0",
"raven": "^2.6.3",
"rethinkdbdash": "^2.3.29",
"sha1": "^1.1.1",
"source-map-support": "^0.5.6",
Expand Down
12 changes: 6 additions & 6 deletions analytics/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ node-env-file@^0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/node-env-file/-/node-env-file-0.1.8.tgz#fccb7b050f735b5a33da9eb937cf6f1ab457fb69"

now-env@^3.0.1:
version "3.0.4"
resolved "https://registry.yarnpkg.com/now-env/-/now-env-3.0.4.tgz#f9ed88884bff8d208ad3eaf39cc3437dd1a591ad"
now-env@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/now-env/-/now-env-3.1.0.tgz#e0198b67279d387229cfd4b25de4c2fc7156943f"

object-keys@^1.0.8:
version "1.0.11"
Expand All @@ -302,9 +302,9 @@ qs@^6.5.1:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"

raven@^2.1.1:
version "2.6.0"
resolved "https://registry.yarnpkg.com/raven/-/raven-2.6.0.tgz#3806a82c9ee8cd3e75c3b7ea7bb1935aad092d0c"
raven@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/raven/-/raven-2.6.3.tgz#207475a12809277ef54eaceafe2597ff65262ab4"
dependencies:
cookie "0.3.1"
md5 "^2.2.1"
Expand Down
4 changes: 2 additions & 2 deletions api/migrations/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('path');
const fs = require('fs');
const debug = require('debug')('migrations');

const DEFAULT_CONFIG = {
driver: 'rethinkdbdash',
Expand All @@ -13,10 +14,9 @@ const RUN_IN_PROD = !!process.env.AWS_RETHINKDB_PASSWORD;

if (RUN_IN_PROD && process.argv[4] === 'down') {
throw new Error('Do not drop the production database!!!!!');
process.exit(1);
}

if (RUN_IN_PROD) console.log('Running migration in production...');
if (RUN_IN_PROD) debug('Running migration in production...');

module.exports = !RUN_IN_PROD
? DEFAULT_CONFIG
Expand Down
2 changes: 2 additions & 0 deletions api/migrations/seed/default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const defaultUsersCommunities = require('./usersCommunities');
const defaultUsersChannels = require('./usersChannels');
const defaultUsersSettings = require('./usersSettings')();
const defaultMessages = require('./messages');
const defaultReactions = require('./reactions');

module.exports = {
constants,
Expand All @@ -28,4 +29,5 @@ module.exports = {
defaultNotifications: [],
defaultCommunitySettings: [],
defaultChannelSettings: [],
defaultReactions,
};
13 changes: 13 additions & 0 deletions api/migrations/seed/default/reactions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// @flow
const constants = require('./constants');
const { DATE, MAX_ID } = constants;

module.exports = [
{
id: '1',
messageId: '4',
type: 'like',
senderId: MAX_ID,
timestamp: new Date(DATE + 4),
},
];
6 changes: 5 additions & 1 deletion api/mutations/message/addMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ export default requireAuth(async (_: any, args: Input, ctx: GraphQLContext) => {
}
if (
body.blocks.some(
({ type }) => !type || (type !== 'unstyled' && type !== 'code-block')
({ type }) =>
!type ||
(type !== 'unstyled' &&
type !== 'code-block' &&
type !== 'blockquote')
)
) {
trackQueue.add({
Expand Down
2 changes: 1 addition & 1 deletion api/mutations/thread/editThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default requireAuth(async (_: any, args: Input, ctx: GraphQLContext) => {
const body =
editedThread.content.body && JSON.parse(editedThread.content.body);
const imageKeys = Object.keys(body.entityMap).filter(
key => body.entityMap[key].type === 'image'
key => body.entityMap[key].type.toLowerCase() === 'image'
);
urls.forEach((url, index) => {
if (!body.entityMap[imageKeys[index]]) return;
Expand Down
6 changes: 2 additions & 4 deletions api/mutations/thread/publishThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,13 +438,11 @@ export default requireAuth(
// Replace the local image srcs with the remote image src
const body = dbThread.content.body && JSON.parse(dbThread.content.body);

// $FlowFixMe
if (!body) return dbThread;
const imageKeys = Object.keys(body.entityMap).filter(
// $FlowFixMe
key => body.entityMap[key].type === 'image'
key => body.entityMap[key].type.toLowerCase() === 'image'
);
urls.forEach((url, index) => {
// $FlowFixMe
if (!body.entityMap[imageKeys[index]]) return;
body.entityMap[imageKeys[index]].data.src = url;
});
Expand Down
24 changes: 12 additions & 12 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.5.2",
"backpack-core": "^0.4.1",
"body-parser": "^1.17.1",
"body-parser": "^1.18.3",
"bull": "3.3.10",
"casual": "^1.5.12",
"compression": "^1.7.1",
"compression": "^1.7.3",
"cookie-parser": "^1.4.3",
"cookie-session": "^2.0.0-beta.3",
"cors": "^2.8.3",
Expand All @@ -36,7 +36,7 @@
"draft-js-prism-plugin": "0.1.1",
"draftjs-to-markdown": "^0.4.2",
"emoji-regex": "^6.1.1",
"express": "^4.15.2",
"express": "^4.16.3",
"express-session": "^1.15.2",
"faker": "^4.1.0",
"find-with-regex": "^1.0.2",
Expand All @@ -49,13 +49,13 @@
"graphql-server-express": "1.3.0",
"graphql-subscriptions": "0.4.x",
"graphql-tools": "3.0.0",
"helmet": "^3.12.0",
"helmet": "^3.12.1",
"highlight.js": "^9.10.0",
"history": "^4.6.1",
"hoist-non-react-statics": "^2.3.1",
"hpp": "^0.2.2",
"imgix-core-js": "^1.0.6",
"immutability-helper": "^2.2.0",
"immutability-helper": "^2.7.1",
"isomorphic-fetch": "^2.2.1",
"iterall": "^1.2.2",
"jest": "^21.2.1",
Expand All @@ -64,15 +64,15 @@
"keygrip": "^1.0.2",
"linkify-it": "^2.0.3",
"localstorage-memory": "^1.0.2",
"lodash": "^4.17.4",
"lodash": "^4.17.10",
"lodash.intersection": "^4.4.0",
"longjohn": "^0.2.12",
"markdown-draft-js": "^0.6.3",
"moment": "^2.18.1",
"node-env-file": "^0.1.8",
"node-localstorage": "^1.3.0",
"node-localstorage": "^1.3.1",
"now-env": "^3.0.1",
"offline-plugin": "^4.8.4",
"offline-plugin": "^4.9.1",
"optics-agent": "^1.1.2",
"passport": "^0.3.2",
"passport-facebook": "^2.1.1",
Expand All @@ -82,18 +82,18 @@
"postmark": "^1.4.1",
"pre-commit": "^1.2.2",
"prismjs": "^1.8.1",
"query-string": "^5.0.0",
"query-string": "5.1.1",
"raven": "^2.0.2",
"raven-js": "^3.18.1",
"react": "^15.4.1",
"react-app-rewire-styled-components": "^3.0.0",
"react-app-rewire-styled-components": "^3.0.2",
"react-app-rewired": "^1.0.5",
"react-dom": "^15.4.1",
"react-helmet": "5.x",
"react-infinite-scroller-with-scroll-element": "^1.0.4",
"react-loadable": "5.2.2",
"react-modal": "^1.6.5",
"react-redux": "^5.0.2",
"react-redux": "^5.0.7",
"react-remarkable": "^1.1.1",
"react-router": "^4.0.0-beta.7",
"react-router-dom": "^4.0.0-beta.7",
Expand All @@ -112,7 +112,7 @@
"sanitize-filename": "^1.6.1",
"serialize-javascript": "^1.4.0",
"session-rethinkdb": "^2.0.0",
"shortid": "^2.2.8",
"shortid": "^2.2.12",
"slate": "^0.20.1",
"slate-markdown": "0.1.0",
"slugg": "^1.1.0",
Expand Down
1 change: 1 addition & 0 deletions api/queries/search/searchCommunityMembers.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default (args: Args, { loaders, user }: GraphQLContext) => {
if (searchFilter && !searchFilter.communityId) return [];
const userIds = content.hits.map(o => o.objectID);
const input = userIds.map(userId => {
/*eslint array-callback-return: "off"*/
if (!searchFilter || !searchFilter.communityId) return;
return [userId, searchFilter.communityId];
});
Expand Down
Loading