author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
129,187
01.04.2020 15:42:13
14,400
a9c9027c7e7e588a4e48d566ef270d89349e042b
[native] Don't crash if ComposeThread parentThread invalidated
[ { "change_type": "MODIFY", "old_path": "native/chat/compose-thread.react.js", "new_path": "native/chat/compose-thread.react.js", "diff": "@@ -70,7 +70,7 @@ type NavProp = NavigationScreenProp<{|\n...NavigationLeafRoute,\nparams: {|\nthreadType?: ThreadType,\n- parentThreadID?: string,\n+ parentThrea...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Don't crash if ComposeThread parentThread invalidated
129,187
01.04.2020 18:16:22
14,400
20643d8afe703011bb49ef44b7e6e8e8411cd8ac
Fix up ThreadChanges type
[ { "change_type": "MODIFY", "old_path": "lib/types/thread-types.js", "new_path": "lib/types/thread-types.js", "diff": "@@ -283,18 +283,14 @@ export type LeaveThreadPayload = {|\nthreadID: string,\n|};\n-export type ThreadChanges = {\n- type?: ?ThreadType,\n- name?: ?string,\n- description?: ?string,\...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Fix up ThreadChanges type
129,187
01.04.2020 19:05:34
14,400
4f290919fa401dd007205c566184b1ee59c4bfef
[lib] Still show thread creation message even if the parent is secret
[ { "change_type": "MODIFY", "old_path": "lib/shared/message-utils.js", "new_path": "lib/shared/message-utils.js", "diff": "@@ -233,9 +233,6 @@ function createMessageInfo(\nlet parentThreadInfo = null;\nif (initialParentThreadID) {\nparentThreadInfo = threadInfos[initialParentThreadID];\n- if (!parent...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Still show thread creation message even if the parent is secret
129,187
01.04.2020 19:07:25
14,400
91e2edeb1a23c9273d47635fee983437845e46cf
[native] CLEAR_INVALIDATED_THREADS -> CLEAR_THREADS
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-router.js", "new_path": "native/chat/chat-router.js", "diff": "@@ -29,15 +29,15 @@ type ReplaceWithThreadAction = {|\n+type: 'REPLACE_WITH_THREAD',\n+threadInfo: ThreadInfo,\n|};\n-type ClearInvalidatedThreadsAction = {|\n- +type: 'CLEAR_INVAL...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] CLEAR_INVALIDATED_THREADS -> CLEAR_THREADS
129,187
01.04.2020 19:08:32
14,400
83b9afc92867cc2ab9d76431e247609467b3b9cb
[native] Allow ThreadEntity to handle missing thread
[ { "change_type": "MODIFY", "old_path": "native/chat/robotext-message.react.js", "new_path": "native/chat/robotext-message.react.js", "diff": "@@ -16,6 +16,7 @@ import * as React from 'react';\nimport { Text, TouchableWithoutFeedback, View } from 'react-native';\nimport PropTypes from 'prop-types';\n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Allow ThreadEntity to handle missing thread
129,187
01.04.2020 19:09:42
14,400
b878fbeff00235a181ea293444b7c6822a0e21d0
[server] updatesForCurrentSession: "return" for thread leave/delete
[ { "change_type": "MODIFY", "old_path": "server/src/deleters/thread-deleters.js", "new_path": "server/src/deleters/thread-deleters.js", "diff": "@@ -114,7 +114,7 @@ async function deleteThread(\n}\nconst [{ viewerUpdates }] = await Promise.all([\n- createUpdates(updateDatas, { viewer }),\n+ createUpd...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] updatesForCurrentSession: "return" for thread leave/delete
129,187
01.04.2020 19:10:30
14,400
96899ecb1a6771368efde2e2d45965c0f0c017ef
Don't treat user-driven leave/delete thread as invalidation
[ { "change_type": "MODIFY", "old_path": "lib/shared/thread-utils.js", "new_path": "lib/shared/thread-utils.js", "diff": "@@ -251,6 +251,19 @@ function memberIsAdmin(memberInfo: RelativeMemberInfo, threadInfo: ThreadInfo) {\nreturn role && !role.isDefault && role.name === 'Admins';\n}\n+function ident...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Don't treat user-driven leave/delete thread as invalidation
129,187
01.04.2020 19:17:01
14,400
9194a346f2544e44469b55ab858aef05bd8967f5
[native] Kill popChatScreensForThreadID
[ { "change_type": "MODIFY", "old_path": "native/navigation/nav-reducer.js", "new_path": "native/navigation/nav-reducer.js", "diff": "// @flow\n-import type { RawThreadInfo, LeaveThreadPayload } from 'lib/types/thread-types';\n+import type { RawThreadInfo } from 'lib/types/thread-types';\nimport type ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Kill popChatScreensForThreadID
129,187
01.04.2020 19:21:23
14,400
fe74bda4316f2fe475b037e754915b4fbe5351f4
[native] Move sessionInvalidationAlert to redux-setup.js
[ { "change_type": "MODIFY", "old_path": "native/navigation/nav-reducer.js", "new_path": "native/navigation/nav-reducer.js", "diff": "@@ -7,15 +7,12 @@ import type {\nNavigationStateRoute,\n} from 'react-navigation';\nimport type { AppState } from '../redux/redux-setup';\n-import type { SetSessionPayl...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Move sessionInvalidationAlert to redux-setup.js
129,187
01.04.2020 21:14:18
14,400
06a1bdeb79eb9593fa4c2d52fb55c9fa5ce32c28
[native] Handle thread creation through ChatRouter
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-router.js", "new_path": "native/chat/chat-router.js", "diff": "@@ -15,6 +15,7 @@ import {\nimport {\nChatThreadListRouteName,\nMessageListRouteName,\n+ ComposeThreadRouteName,\n} from '../navigation/route-names';\nimport {\nremoveScreensFromSt...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Handle thread creation through ChatRouter
129,187
01.04.2020 22:46:01
14,400
c01b013ba23a4d2a9d28e9620a20ff17b3d63cf6
[native] Move deeplinkings support to LinkingHandler
[ { "change_type": "ADD", "old_path": null, "new_path": "native/navigation/linking-handler.react.js", "diff": "+// @flow\n+\n+import type { NavAction } from './navigation-context';\n+\n+import * as React from 'react';\n+import { Linking } from 'react-native';\n+import { NavigationActions } from 'react...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Move deeplinkings support to LinkingHandler
129,187
01.04.2020 22:53:43
14,400
ba489649b71885024320721f126b3e49c694b1f7
[native] Get rid of nav-reducer.js
[ { "change_type": "DELETE", "old_path": "native/navigation/nav-reducer.js", "new_path": null, "diff": "-// @flow\n-\n-import type { AppState } from '../redux/redux-setup';\n-import type { NavInfo } from './default-state';\n-\n-import { useScreens } from 'react-native-screens';\n-\n-import RootNavigat...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of nav-reducer.js
129,187
02.04.2020 11:36:27
14,400
d9be4b84aca50b10a2a9e779d000e594fd751b19
[native] ThreadScreenTracker
[ { "change_type": "MODIFY", "old_path": "native/navigation/nav-selectors.js", "new_path": "native/navigation/nav-selectors.js", "diff": "@@ -200,12 +200,13 @@ const activeThreadSelector: (\nactiveThread(navigationState, threadRoutes),\n);\n+const messageListRouteNames = [MessageListRouteName];\nconst...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] ThreadScreenTracker
129,187
02.04.2020 11:43:19
14,400
252444fb34da23c81b98f4ce48beb095f396bcc7
[native] Use React.memo for all navigation handler hooks
[ { "change_type": "MODIFY", "old_path": "native/navigation/navigation-handler.react.js", "new_path": "native/navigation/navigation-handler.react.js", "diff": "@@ -10,7 +10,7 @@ import { useIsAppLoggedIn } from './nav-selectors';\nimport LinkingHandler from './linking-handler.react';\nimport ThreadScr...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use React.memo for all navigation handler hooks
129,187
02.04.2020 14:03:48
14,400
6e9d7864bb451a2db7ebc65299aeed2e7f02fe49
[native] Use global nav context in fixUnreadActiveThread
[ { "change_type": "MODIFY", "old_path": "native/redux/redux-setup.js", "new_path": "native/redux/redux-setup.js", "diff": "@@ -83,6 +83,7 @@ import {\n} from '../utils/url-utils';\nimport reactotron from '../reactotron';\nimport reduceDrafts from '../reducers/draft-reducer';\n+import { getGlobalNavCo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use global nav context in fixUnreadActiveThread
129,187
02.04.2020 15:23:27
14,400
6b50aa9804b271c35425be07da626b0974b00d4b
[native] Use global NavContext for displayActionResultModal
[ { "change_type": "MODIFY", "old_path": "native/navigation/action-result-modal.js", "new_path": "native/navigation/action-result-modal.js", "diff": "// @flow\nimport { NavigationActions } from 'react-navigation';\n+import invariant from 'invariant';\n-import { dispatch } from '../redux/redux-setup';\...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use global NavContext for displayActionResultModal
129,187
03.04.2020 12:22:56
14,400
05e0b1d0088c7b53edc09bba435a8eb27ecb34c8
[native] Add presentedFrom nav param to all modals
[ { "change_type": "MODIFY", "old_path": "native/calendar/calendar.react.js", "new_path": "native/calendar/calendar.react.js", "diff": "@@ -168,6 +168,9 @@ class Calendar extends React.PureComponent<Props, State> {\nstatic propTypes = {\nnavigation: PropTypes.shape({\nnavigate: PropTypes.func.isRequir...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Add presentedFrom nav param to all modals
129,187
03.04.2020 11:38:56
14,400
bd8cbc2f5fc3529435dc3f75802082a14b7651ed
[native] Set isTransitioning correctly on custom routers
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-router.js", "new_path": "native/chat/chat-router.js", "diff": "@@ -62,17 +62,18 @@ function ChatRouter(\nif (!lastState) {\nreturn lastState;\n}\n- const lastActiveKey = lastState.routes[lastState.index].key;\nconst newState = removeScreensFro...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Set isTransitioning correctly on custom routers
129,187
03.04.2020 12:27:03
14,400
908f44b5aa2b4b03ca7d47e180e8ab38743e391b
[native] Specify preserveFocus on actions that clear chat screens
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-router.js", "new_path": "native/chat/chat-router.js", "diff": "@@ -25,6 +25,7 @@ import {\ntype ClearScreensAction = {|\n+type: 'CLEAR_SCREENS',\n+routeNames: $ReadOnlyArray<string>,\n+ +preserveFocus?: boolean,\n|};\ntype ReplaceWithThreadAct...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Specify preserveFocus on actions that clear chat screens
129,187
03.04.2020 12:28:53
14,400
96ee45a1cb9797713c5dd850aa41cf25d45183b0
[native] Dismiss modals when their presenting screens are removed
[ { "change_type": "ADD", "old_path": null, "new_path": "native/navigation/modal-pruner.react.js", "diff": "+// @flow\n+\n+import type { NavContextType } from './navigation-context';\n+import type { NavigationState, NavigationRoute } from 'react-navigation';\n+\n+import * as React from 'react';\n+impo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Dismiss modals when their presenting screens are removed
129,187
03.04.2020 15:59:43
14,400
d96bab06043ab694ec21aad04e10d516082566f1
Allow ActionLogger to handle non-Redux actions
[ { "change_type": "MODIFY", "old_path": "lib/reducers/entry-reducer.js", "new_path": "lib/reducers/entry-reducer.js", "diff": "@@ -73,7 +73,7 @@ import {\n} from '../shared/entry-utils';\nimport { threadInFilterList } from '../shared/thread-utils';\nimport { getConfig } from '../utils/config';\n-impo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Allow ActionLogger to handle non-Redux actions
129,187
03.04.2020 16:59:08
14,400
43219bcaedbbc16842003a5998586d34070259f2
[native] Remove Redux integration for React Navigation
[ { "change_type": "MODIFY", "old_path": "native/navigation/default-state.js", "new_path": "native/navigation/default-state.js", "diff": "@@ -16,12 +16,9 @@ import {\nCalendarRouteName,\n} from './route-names';\n-export type NavInfo = {|\n- ...$Exact<BaseNavInfo>,\n- navigationState: NavigationState,\...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Remove Redux integration for React Navigation
129,187
03.04.2020 18:05:12
14,400
1067b6fac9f9a9b98d5f45d389a76df4bfb0f5bb
[server] Use most recent navState in preloadedState for importable error report download
[ { "change_type": "MODIFY", "old_path": "server/src/fetchers/report-fetchers.js", "new_path": "server/src/fetchers/report-fetchers.js", "diff": "// @flow\nimport type { Viewer } from '../session/viewer';\n-import type {\n- FetchErrorReportInfosResponse,\n- FetchErrorReportInfosRequest,\n- ReduxToolsI...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Use most recent navState in preloadedState for importable error report download
129,187
03.04.2020 18:08:27
14,400
f4d249f89cee808a1029e2f9036cddd0ec84bb8d
[native] NavFromReduxHandler
[ { "change_type": "ADD", "old_path": null, "new_path": "native/navigation/nav-from-redux-handler.react.js", "diff": "+// @flow\n+\n+import * as React from 'react';\n+import { useSelector } from 'react-redux';\n+\n+import { NavContext } from './navigation-context';\n+\n+const NavFromReduxHandler = Rea...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] NavFromReduxHandler
129,187
03.04.2020 22:32:25
14,400
b3de89d46b940807f3683b914c1e20fb580d019b
[native] native/navigation/action-types.js
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-router.js", "new_path": "native/chat/chat-router.js", "diff": "@@ -21,6 +21,12 @@ import {\nremoveScreensFromStack,\ngetThreadIDFromRoute,\n} from '../utils/navigation-utils';\n+import {\n+ clearScreensActionType,\n+ replaceWithThreadActionTyp...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] native/navigation/action-types.js
129,187
03.04.2020 23:02:11
14,400
60eb3a39f20df07ab40a469663df27386b4e777c
Custom Redux dev tools integration for native
[ { "change_type": "MODIFY", "old_path": "lib/utils/action-logger.js", "new_path": "lib/utils/action-logger.js", "diff": "@@ -14,12 +14,15 @@ const uninterestingActionTypes = new Set([\n]);\nconst maxActionSummaryLength = 500;\n+type Subscriber = (action: Object, state: Object) => void;\n+\nclass Acti...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Custom Redux dev tools integration for native
129,187
04.04.2020 14:23:35
14,400
218dab84f54c926dffd4cff223cb1ce7b5f1e502
[native] Don't set NavContext until ReactNav initializes
[ { "change_type": "MODIFY", "old_path": "native/calendar/calendar.react.js", "new_path": "native/calendar/calendar.react.js", "diff": "@@ -1172,7 +1172,7 @@ export default connectNav((context: ?NavContextType) => ({\nactiveTabSelector(context) || activeThreadPickerSelector(context),\nthreadPickerOpen...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Don't set NavContext until ReactNav initializes
129,187
04.04.2020 15:07:07
14,400
d56dd34b21831d859a29c24ba8d5a8d172b4fe72
[native] Always showPrompt in LoggedOutModal
[ { "change_type": "MODIFY", "old_path": "native/account/logged-out-modal.react.js", "new_path": "native/account/logged-out-modal.react.js", "diff": "@@ -210,7 +210,7 @@ class LoggedOutModal extends React.PureComponent<Props, State> {\ncomponentDidMount() {\nthis.mounted = true;\nif (this.props.rehydr...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Always showPrompt in LoggedOutModal
129,187
04.04.2020 15:13:37
14,400
3dc8a8a98d980d0ef9190cd6730ad143bd19b18d
[native] Use default ReactNav back-button handling logic for Android Move gating logic to `RootRouter`
[ { "change_type": "MODIFY", "old_path": "native/account/verification-modal.react.js", "new_path": "native/account/verification-modal.react.js", "diff": "@@ -21,7 +21,6 @@ import {\nText,\nView,\nStyleSheet,\n- BackHandler,\nActivityIndicator,\nAnimated,\nPlatform,\n@@ -64,7 +63,11 @@ import {\ntype V...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use default ReactNav back-button handling logic for Android Move gating logic to `RootRouter`
129,187
04.04.2020 15:18:43
14,400
7274e4e7c1267ceebe1d433ae32e6f6ba028b94f
[native] More SplashScreen.hide call to AppNavigator Don't do it until ReactNav is loaded
[ { "change_type": "MODIFY", "old_path": "native/navigation/app-navigator.react.js", "new_path": "native/navigation/app-navigator.react.js", "diff": "@@ -7,6 +7,8 @@ import * as React from 'react';\nimport { createBottomTabNavigator } from 'react-navigation-tabs';\nimport hoistNonReactStatics from 'ho...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] More SplashScreen.hide call to AppNavigator Don't do it until ReactNav is loaded
129,187
04.04.2020 16:49:44
14,400
cb31ad8b0bee01cdaa2ef4c5c08407799fc28eac
[native] Persist nav state in dev environment
[ { "change_type": "MODIFY", "old_path": "native/root.react.js", "new_path": "native/root.react.js", "diff": "@@ -23,6 +23,7 @@ import {\ncreateAppContainer,\nNavigationActions,\n} from 'react-navigation';\n+import AsyncStorage from '@react-native-community/async-storage';\nimport { connect } from 'li...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Persist nav state in dev environment
129,187
04.04.2020 18:17:48
14,400
82777d4c4dfbdc1dc3067a1a89f6ebffd2e698ef
Wait until dataLoaded to log in
[ { "change_type": "ADD", "old_path": null, "new_path": "lib/reducers/data-loaded-reducer.js", "diff": "+// @flow\n+\n+import type { BaseAction } from '../types/redux-types';\n+import {\n+ logOutActionTypes,\n+ deleteAccountActionTypes,\n+ logInActionTypes,\n+ registerActionTypes,\n+ resetPasswordActi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Wait until dataLoaded to log in
129,187
04.04.2020 19:16:54
14,400
61360a1dfb87a9539ffb692a2e82ae5695a265e3
[native] Immediately clear thread screens when leaving or deleting a thread
[ { "change_type": "MODIFY", "old_path": "native/chat/settings/delete-thread.react.js", "new_path": "native/chat/settings/delete-thread.react.js", "diff": "@@ -237,9 +237,13 @@ class DeleteThread extends React.PureComponent<Props, State> {\n};\nasync deleteThread() {\n+ const threadInfo = DeleteThread...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Immediately clear thread screens when leaving or deleting a thread
129,187
05.04.2020 11:01:03
14,400
194013c06454dd8fbe07e7b3f19df3311a616c3c
[native] Fix up ChatInputBar height resizing
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-bar.react.js", "new_path": "native/chat/chat-input-bar.react.js", "diff": "@@ -99,7 +99,6 @@ type Props = {|\n|};\ntype State = {|\ntext: string,\n- height: number,\nbuttonsExpanded: boolean,\n|};\nclass ChatInputBar extends React.PureCo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix up ChatInputBar height resizing
129,187
05.04.2020 15:30:32
14,400
9725058a1ebf6c392c3b67e33a020a38e2fad017
[native] Fix VerificationModal navigation
[ { "change_type": "MODIFY", "old_path": "native/account/verification-modal.react.js", "new_path": "native/account/verification-modal.react.js", "diff": "@@ -239,6 +239,8 @@ class VerificationModal extends React.PureComponent<Props, State> {\n// Wait a couple seconds before letting the SUCCESS action ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Fix VerificationModal navigation
129,187
06.04.2020 12:00:07
14,400
979691cb424b0f2a570c0de436b2ff69493cc899
[native] codeVersion -> 45
[ { "change_type": "MODIFY", "old_path": "native/android/app/build.gradle", "new_path": "native/android/app/build.gradle", "diff": "@@ -131,8 +131,8 @@ android {\napplicationId \"org.squadcal\"\nminSdkVersion rootProject.ext.minSdkVersion\ntargetSdkVersion rootProject.ext.targetSdkVersion\n- versionCo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] codeVersion -> 45
129,187
06.04.2020 14:07:29
14,400
5d4ab8a923a7b654e18f63c35c7125ee040a961b
[server] Fix partial HTML broken by Prettier
[ { "change_type": "MODIFY", "old_path": "server/src/responders/website-responders.js", "new_path": "server/src/responders/website-responders.js", "diff": "@@ -223,6 +223,7 @@ async function websiteResponder(\nconst { jsURL, fontsURL, cssInclude } = await assetInfoPromise;\n+ // prettier-ignore\nres.w...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Fix partial HTML broken by Prettier
129,187
06.04.2020 20:02:48
14,400
adc778c681ff4cc0b16a322b037cf71d66893b8a
[lib] Extend server socket timeout from 15s to 2min
[ { "change_type": "MODIFY", "old_path": "lib/shared/timeouts.js", "new_path": "lib/shared/timeouts.js", "diff": "@@ -23,6 +23,6 @@ export const clientRequestSocketTimeout = 5000; // in milliseconds\nexport const fetchJSONTimeout = 10000; // in milliseconds\n// The server expects to get a request at l...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Extend server socket timeout from 15s to 2min
129,187
06.04.2020 20:15:39
14,400
e3b781c5c7a4e3b415517ab7bf127fbff20b37e9
[native] Use assets-library:// scheme on iOS
[ { "change_type": "MODIFY", "old_path": "native/media/media-gallery-keyboard.react.js", "new_path": "native/media/media-gallery-keyboard.react.js", "diff": "@@ -249,9 +249,10 @@ class MediaGalleryKeyboard extends React.PureComponent<Props, State> {\nplayableDuration !== null &&\nplayableDuration !== ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use assets-library:// scheme on iOS
129,187
06.04.2020 22:06:08
14,400
4b55f1cb8b3e306a17656acc11e72fdc928e5f12
[lib] Allow custom UploadBlob function
[ { "change_type": "MODIFY", "old_path": "lib/actions/upload-actions.js", "new_path": "lib/actions/upload-actions.js", "diff": "import type { FetchJSON } from '../utils/fetch-json';\nimport type { UploadMultimediaResult } from '../types/media-types';\n+import type { UploadBlob } from '../utils/upload-...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Allow custom UploadBlob function
129,187
07.04.2020 01:11:41
14,400
ac56bea4463788ee4b2960df22322e21edbce5a3
Use react-native-background-upload to upload multimedia on native
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-state-container.react.js", "new_path": "native/chat/chat-input-state-container.react.js", "diff": "@@ -27,12 +27,17 @@ import {\ntype MediaMissionReportCreationRequest,\nreportTypes,\n} from 'lib/types/report-types';\n+import type {\n+ F...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Use react-native-background-upload to upload multimedia on native
129,187
07.04.2020 02:39:39
14,400
774192ea2b1e0b8c6395071c2eb614333c36d17c
[native] ChatInputStateContainer -> InputStateContainer
[ { "change_type": "MODIFY", "old_path": "native/chat/chat-input-bar.react.js", "new_path": "native/chat/chat-input-bar.react.js", "diff": "@@ -27,10 +27,10 @@ import {\nmessageListNavPropType,\n} from './message-list-types';\nimport {\n- type ChatInputState,\n- chatInputStatePropType,\n- withChatInpu...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] ChatInputStateContainer -> InputStateContainer
129,187
07.04.2020 02:54:33
14,400
9620108148449ab3671ad3211ae47f1dc38e68ce
[native] Don't send reports while uploads are in progress
[ { "change_type": "MODIFY", "old_path": "native/input/input-state-container.react.js", "new_path": "native/input/input-state-container.react.js", "diff": "@@ -284,9 +284,23 @@ class InputStateContainer extends React.PureComponent<Props, State> {\nretryMultimediaMessage: this.retryMultimediaMessage,\n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Don't send reports while uploads are in progress
129,187
07.04.2020 03:28:51
14,400
00485b1137c2c17c157df763089313a21e73bd84
New endpoint for multi-report creation
[ { "change_type": "MODIFY", "old_path": "lib/actions/report-actions.js", "new_path": "lib/actions/report-actions.js", "diff": "@@ -20,6 +20,24 @@ async function sendReport(\nreturn { id: response.id };\n}\n+const sendReportsActionTypes = Object.freeze({\n+ started: 'SEND_REPORTS_STARTED',\n+ success:...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
New endpoint for multi-report creation
129,187
07.04.2020 03:37:28
14,400
b64512fb0d3d46ccf4ab376a8ff6ae5dcb178364
[lib] Use new multi-report creation endpoint in ReportHandler
[ { "change_type": "MODIFY", "old_path": "lib/socket/report-handler.react.js", "new_path": "lib/socket/report-handler.react.js", "diff": "import {\ntype ClientReportCreationRequest,\n- type ReportCreationResponse,\ntype ClearDeliveredReportsPayload,\nqueuedClientReportCreationRequestPropType,\n} from ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[lib] Use new multi-report creation endpoint in ReportHandler
129,187
07.04.2020 03:58:46
14,400
54876a495aa2a5523f6e6a8211e166271378fcbc
[native] inputState.uploadInProgress should return true while message creation is ongoing
[ { "change_type": "MODIFY", "old_path": "native/input/input-state-container.react.js", "new_path": "native/input/input-state-container.react.js", "diff": "@@ -54,6 +54,10 @@ import {\nimport { createMediaMessageInfo } from 'lib/shared/message-utils';\nimport { queueReportsActionType } from 'lib/actio...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] inputState.uploadInProgress should return true while message creation is ongoing
129,187
08.04.2020 21:21:24
14,400
c4a0f11c3bd70d4f5e0c509f5d0b977bcb3dbf29
[native] Don't require loadingInfo in all conforming actions `sendMultimediaMessageActionTypes.started` is dispatched outside of `dispatchActionPromise` on native
[ { "change_type": "MODIFY", "old_path": "lib/reducers/loading-reducer.js", "new_path": "lib/reducers/loading-reducer.js", "diff": "@@ -5,7 +5,6 @@ import type { LoadingStatus } from '../types/loading-types';\nimport type { ActionTypes } from '../utils/action-utils';\nimport _omit from 'lodash/fp/omit...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Don't require loadingInfo in all conforming actions `sendMultimediaMessageActionTypes.started` is dispatched outside of `dispatchActionPromise` on native
129,187
08.04.2020 21:22:09
14,400
08807cc50d362a8f4c6878e32a3d9c622e93c0ed
[native] Get react-native-background-upload working on Android
[ { "change_type": "MODIFY", "old_path": "native/android/app/src/main/AndroidManifest.xml", "new_path": "native/android/app/src/main/AndroidManifest.xml", "diff": "<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />\n<uses-permission android:name=\"android.permission.WRITE_EX...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get react-native-background-upload working on Android
129,187
09.04.2020 02:33:46
14,400
820628487d1940f55da6441e3d42ca75828004a4
[native] Remove react-native-segmented-control-tab Seems to have gone unused for a while...
[ { "change_type": "DELETE", "old_path": "native/flow-typed/npm/react-native-segmented-control-tab_vx.x.x.js", "new_path": null, "diff": "-// flow-typed signature: 7ae325fb9e807e29c60788704807b171\n-// flow-typed version: <<STUB>>/react-native-segmented-control-tab_v^3.2.1/flow_v0.98.0\n-\n-/**\n- * T...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Remove react-native-segmented-control-tab Seems to have gone unused for a while...
129,187
08.04.2020 14:58:46
14,400
ffc959bf21f1fdd8f9d8d1b58d48e88101b0ace9
[native] RN0.61 upgrade: update .gitignore
[ { "change_type": "MODIFY", "old_path": "native/.gitignore", "new_path": "native/.gitignore", "diff": "@@ -20,7 +20,6 @@ DerivedData\n*.hmap\n*.ipa\n*.xcuserstate\n-project.xcworkspace\n# Android/IntelliJ\n#\n@@ -36,12 +35,6 @@ node_modules/\nnpm-debug.log\nyarn-error.log\n-# BUCK\n-buck-out/\n-\\.bu...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] RN0.61 upgrade: update .gitignore
129,187
09.04.2020 22:38:51
14,400
3a3a03abe8a9992e7909ca58db5430bc00c555f3
[native] RN0.61 upgrade: Metro packager config
[ { "change_type": "DELETE", "old_path": "native/flow-typed/npm/get-yarn-workspaces_vx.x.x.js", "new_path": null, "diff": "-// flow-typed signature: fb36214500abd1ceaa89d07676f5c610\n-// flow-typed version: <<STUB>>/get-yarn-workspaces_v^1.0.2/flow_v0.98.0\n-\n-/**\n- * This is an autogenerated libdef...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] RN0.61 upgrade: Metro packager config
129,187
09.04.2020 22:45:16
14,400
01e313c38fdd0e6842624cfb65b3266648db39fb
[native] RN0.61 upgrade: iOS native build
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile", "new_path": "native/ios/Podfile", "diff": "@@ -3,9 +3,14 @@ require_relative '../../node_modules/@react-native-community/cli-platform-ios/na\ntarget 'SquadCal' do\n# Pods for SquadCal\n+ pod 'FBLazyVector', :path => \"../node_modules/react...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] RN0.61 upgrade: iOS native build
129,187
09.04.2020 22:45:49
14,400
2a53f390228807f9a8391c9f773ad3579a2e2a28
[native] RN0.61 upgrade: Android native build
[ { "change_type": "MODIFY", "old_path": "native/android/app/build.gradle", "new_path": "native/android/app/build.gradle", "diff": "@@ -173,15 +173,6 @@ android {\n}\n}\n-\n- packagingOptions {\n- pickFirst '**/armeabi-v7a/libc++_shared.so'\n- pickFirst '**/x86/libc++_shared.so'\n- pickFirst '**/arm64...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] RN0.61 upgrade: Android native build
129,187
09.04.2020 22:47:26
14,400
a58b8aaf5e3c33eee145a7b1a69d63258b3abdb6
RN0.61 upgrade: update Flow & native/.flowconfig
[ { "change_type": "MODIFY", "old_path": "lib/package.json", "new_path": "lib/package.json", "diff": "\"clean\": \"rm -rf node_modules/\"\n},\n\"devDependencies\": {\n- \"flow-bin\": \"^0.98.0\"\n+ \"flow-bin\": \"^0.105.0\"\n},\n\"dependencies\": {\n\"dateformat\": \"^3.0.3\",\n" }, { "change...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
RN0.61 upgrade: update Flow & native/.flowconfig
129,187
09.04.2020 23:49:45
14,400
b61af31eb79624461471e458e7184bf0daca6828
[native] RN0.61 upgrade: use_frameworks in Podfile See for more context
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile", "new_path": "native/ios/Podfile", "diff": "@@ -43,4 +43,5 @@ target 'SquadCal' do\n:commit => 'ba96cf1203f6ea749b7c3f4e921b15d577536253'\nuse_native_modules!\n+ use_frameworks!\nend\n" }, { "change_type": "DELETE", "old_path": ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] RN0.61 upgrade: use_frameworks in Podfile See 54b3a62cab58156aff5a099f4ae711ccfd1a26df for more context
129,187
10.04.2020 00:04:14
14,400
6af93f6f10f9c56be375078764a93ec43b5f262d
[native] RN0.61 upgrade: set up react-native-vector-icons for use_frameworks
[ { "change_type": "MODIFY", "old_path": "native/root.react.js", "new_path": "native/root.react.js", "diff": "@@ -52,6 +52,7 @@ import { RootContext, type RootContextType } from './root-context';\nimport NavigationHandler from './navigation/navigation-handler.react';\nimport { defaultNavigationState }...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] RN0.61 upgrade: set up react-native-vector-icons for use_frameworks
129,187
10.04.2020 00:08:55
14,400
eada262a6db3354171e1f046c02aed0ee9d0dc6a
[native] codeVersion -> 46 Build to test RN0.61
[ { "change_type": "MODIFY", "old_path": "native/android/app/build.gradle", "new_path": "native/android/app/build.gradle", "diff": "@@ -131,8 +131,8 @@ android {\napplicationId \"org.squadcal\"\nminSdkVersion rootProject.ext.minSdkVersion\ntargetSdkVersion rootProject.ext.targetSdkVersion\n- versionCo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] codeVersion -> 46 Build to test RN0.61
129,187
10.04.2020 01:16:22
14,400
f10564d2e1286e35ff2c9ecc9a07285f395e01e2
[native] codeVersion -> 47 Last build had a major regression, this is the real one to test RN0.61
[ { "change_type": "MODIFY", "old_path": "native/android/app/build.gradle", "new_path": "native/android/app/build.gradle", "diff": "@@ -131,8 +131,8 @@ android {\napplicationId \"org.squadcal\"\nminSdkVersion rootProject.ext.minSdkVersion\ntargetSdkVersion rootProject.ext.targetSdkVersion\n- versionCo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] codeVersion -> 47 Last build had a major regression, this is the real one to test RN0.61
129,187
10.04.2020 14:42:41
14,400
7bda5df87920149fd78a1ba6a4b68d11ff6e05d3
Clean up react-native-background-upload patch
[ { "change_type": "MODIFY", "old_path": "patches/react-native-background-upload+5.6.0.patch", "new_path": "patches/react-native-background-upload+5.6.0.patch", "diff": "-diff --git a/node_modules/react-native-background-upload/android/.build.gradle.swp b/node_modules/react-native-background-upload/an...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Clean up react-native-background-upload patch
129,187
10.04.2020 18:17:19
14,400
b44b915ddda1f5d40b8cf71605cde745d7d29121
[native] Get rid of extra viewProps to Message components
[ { "change_type": "MODIFY", "old_path": "native/chat/composed-message.react.js", "new_path": "native/chat/composed-message.react.js", "diff": "@@ -27,7 +27,6 @@ type Props = {|\n// Redux state\ncomposedMessageMaxWidth: number,\ncolors: Colors,\n- ...React.ElementProps<typeof View>,\n|};\nclass Compos...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of extra viewProps to Message components
129,187
10.04.2020 18:53:16
14,400
9a46bf07588722a9e23dc43fdaf89f71577935f2
[native] Get rid of RoundedMessageContainer It was needlessly increasing native draw stack depth and styles could be inlined
[ { "change_type": "MODIFY", "old_path": "native/chat/inner-text-message.react.js", "new_path": "native/chat/inner-text-message.react.js", "diff": "@@ -14,7 +14,11 @@ import { colorIsDark } from 'lib/shared/thread-utils';\nimport { onlyEmojiRegex } from 'lib/shared/emojis';\nimport { connect } from 'l...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of RoundedMessageContainer It was needlessly increasing native draw stack depth and styles could be inlined
129,187
07.04.2020 15:41:18
14,400
bc204dd0221fa6e649e87dc44626e4c715722d9f
[native] react-native-unimodules
[ { "change_type": "MODIFY", "old_path": "native/.gitignore", "new_path": "native/.gitignore", "diff": "@@ -51,3 +51,6 @@ yarn-error.log\n# CocoaPods\n/ios/Pods/\n+\n+# unimodules\n+**/generated/BasePackageList.java\n" }, { "change_type": "MODIFY", "old_path": "native/android/app/build.gra...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] react-native-unimodules
129,187
07.04.2020 16:29:24
14,400
054b413fec49781d613958d6f53d51f986ca896c
[native] expo-media-library
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile.lock", "new_path": "native/ios/Podfile.lock", "diff": "@@ -13,6 +13,10 @@ PODS:\n- React-Core\n- UMCore\n- UMImageLoaderInterface\n+ - EXMediaLibrary (8.1.0):\n+ - UMCore\n+ - UMFileSystemInterface\n+ - UMPermissionsInterface\n- EXPermission...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] expo-media-library
129,187
12.04.2020 18:57:13
14,400
e48542bda08479f1273164ef338ce1749e741bd9
[native] Patch expo-media-library on Android Fix orientation detection and don't require write permissions when browsing medial library
[ { "change_type": "MODIFY", "old_path": "patches/expo-media-library+8.1.0.patch", "new_path": "patches/expo-media-library+8.1.0.patch", "diff": "+diff --git a/node_modules/expo-media-library/android/src/main/java/expo/modules/medialibrary/GetAssets.java b/node_modules/expo-media-library/android/src/m...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Patch expo-media-library on Android Fix orientation detection and don't require write permissions when browsing medial library
129,187
12.04.2020 18:57:54
14,400
f506ccfda2f4dd5467a8bc4388e3e2edc307107a
[native] Use expo-media-library instead of in MediaGalleryKeyboard
[ { "change_type": "MODIFY", "old_path": "native/media/media-gallery-keyboard.react.js", "new_path": "native/media/media-gallery-keyboard.react.js", "diff": "@@ -21,15 +21,11 @@ import {\nimport { KeyboardRegistry } from 'react-native-keyboard-input';\nimport invariant from 'invariant';\nimport { Prov...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use expo-media-library instead of @react-native-community/cameraroll in MediaGalleryKeyboard
129,187
12.04.2020 19:14:51
14,400
f5fcb3dfaae113fd7c68aa10d477715d0fe33811
[native] Use expo-media-library instead of in saveImageIOS
[ { "change_type": "MODIFY", "old_path": "native/media/save-image.js", "new_path": "native/media/save-image.js", "diff": "import { Platform, PermissionsAndroid } from 'react-native';\nimport filesystem from 'react-native-fs';\n-// eslint-disable-next-line import/default\n-import CameraRoll from '@reac...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use expo-media-library instead of @react-native-community/cameraroll in saveImageIOS
129,187
12.04.2020 19:16:48
14,400
9b5c446d28f7322e012d3e6b20bd4cda068e0701
[native] Get rid of
[ { "change_type": "DELETE", "old_path": "native/flow-typed/npm/@react-native-community/cameraroll_vx.x.x.js", "new_path": null, "diff": "-// flow-typed signature: c814c9111a92314da2a7e685c7e61c29\n-// flow-typed version: <<STUB>>/@react-native-community/cameraroll_v^1.0.5/flow_v0.98.0\n-\n-/**\n- * T...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of @react-native-community/cameraroll
129,187
12.04.2020 23:04:00
14,400
da4d50a01f7ad306997be3df235f172a3f4355d3
[native] Get rid of use_frameworks!
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile", "new_path": "native/ios/Podfile", "diff": "@@ -44,6 +44,5 @@ target 'SquadCal' do\n:commit => 'ba96cf1203f6ea749b7c3f4e921b15d577536253'\nuse_native_modules!\n- use_frameworks!\nuse_unimodules!(modules_paths: ['../..'])\nend\n" }, { ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of use_frameworks!
129,187
12.04.2020 23:07:23
14,400
341bf73c60d8da5ebbdd2b26e9371663dc7113f3
[native] Delete tvOS scheme
[ { "change_type": "DELETE", "old_path": "native/ios/SquadCal.xcodeproj/xcshareddata/xcschemes/SquadCal-tvOS.xcscheme", "new_path": null, "diff": "-<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n-<Scheme\n- LastUpgradeVersion = \"1140\"\n- version = \"1.3\">\n- <BuildAction\n- parallelizeBuildables = \"N...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Delete tvOS scheme
129,187
13.04.2020 15:58:15
14,400
5d45a7f44b51738d8385d1b47372d2f31792ee04
[native] Reintroduce See
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile.lock", "new_path": "native/ios/Podfile.lock", "diff": "@@ -225,6 +225,8 @@ PODS:\n- React\n- react-native-camera/RN (3.8.0):\n- React\n+ - react-native-cameraroll (1.5.2):\n+ - React\n- react-native-ffmpeg/min-lts (0.4.0):\n- mobile-ffmpeg-m...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Reintroduce @react-native-community/cameraroll See https://github.com/expo/expo/issues/7826
129,187
13.04.2020 12:02:40
14,400
2011fb114178d25f8eaab3645ad62e12ed888309
[native] Reintrodude getCompatibleMediaURI in MediaGalleryKeyboard We should continue doing this just in case `expo-media-library` starts returning the `ph://` URLs, since uploading those URLs triggers undesired image preprocessing ahead of upload on iOS
[ { "change_type": "MODIFY", "old_path": "native/media/media-gallery-keyboard.react.js", "new_path": "native/media/media-gallery-keyboard.react.js", "diff": "@@ -192,14 +192,6 @@ class MediaGalleryKeyboard extends React.PureComponent<Props, State> {\n}\n}\n- static compatibleURI(uri: string, filename:...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Reintrodude getCompatibleMediaURI in MediaGalleryKeyboard We should continue doing this just in case `expo-media-library` starts returning the `ph://` URLs, since uploading those URLs triggers undesired image preprocessing ahead of upload on iOS
129,187
13.04.2020 12:05:15
14,400
5b7e754f6d97caf57d2391d1b91aea2a4b4b4fdd
Include mediaNativeID in MediaLibrarySelection
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -108,12 +108,14 @@ export type MediaLibrarySelection =\ndimensions: Dimensions,\nfilename: string,\nuri: string,\n+ mediaNativeID: string,\n|}\n| {|\nstep: 'video_library',\ndimensi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Include mediaNativeID in MediaLibrarySelection
129,187
13.04.2020 17:30:42
14,400
bfcc95f0d0981e828b49f27e27ffb5baa4c894f4
[native] expo-image-manipulator
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile.lock", "new_path": "native/ios/Podfile.lock", "diff": "@@ -13,6 +13,10 @@ PODS:\n- React-Core\n- UMCore\n- UMImageLoaderInterface\n+ - EXImageManipulator (8.1.0):\n+ - UMCore\n+ - UMFileSystemInterface\n+ - UMImageLoaderInterface\n- EXMediaL...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] expo-image-manipulator
129,187
13.04.2020 18:09:13
14,400
a691c44bfb175092e0ca2e102bff6f87800276d1
[native] Don't fetch exif info twice in expo-media-library on Android side
[ { "change_type": "MODIFY", "old_path": "patches/expo-media-library+8.1.0.patch", "new_path": "patches/expo-media-library+8.1.0.patch", "diff": "@@ -94,7 +94,7 @@ index bfe25f3..edde485 100644\nPermissions permissionsManager = mModuleRegistry.getModule(Permissions.class);\nif (permissionsManager == n...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Don't fetch exif info twice in expo-media-library on Android side
129,187
13.04.2020 18:09:55
14,400
1787f289fea32fef69d41ce5344d657dd3090c05
[native] Use expo-image-manipulator instead of ImageResizer
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -163,14 +163,19 @@ export type MediaMissionStep =\nsize: ?number,\n|}\n| {|\n- step: 'photo_resize_transcode',\n+ step: 'exif_fetch',\nsuccess: boolean,\ntime: number, // ms\n+ orie...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use expo-image-manipulator instead of ImageResizer
129,187
13.04.2020 18:10:54
14,400
848859185ab5cc1d04c00fdfc23a053819ca5a3d
[native] ImageManipulator automatically rotates/flips images based on exif data
[ { "change_type": "MODIFY", "old_path": "native/utils/media-utils.js", "new_path": "native/utils/media-utils.js", "diff": "@@ -268,20 +268,8 @@ async function convertMedia(\ntime: Date.now() - exifFetchStart,\norientation,\n});\n- if (\n- orientation === 2 ||\n- orientation === 4 ||\n- orientation ==...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] ImageManipulator automatically rotates/flips images based on exif data
129,187
13.04.2020 18:14:37
14,400
244c27acdfae316ffbd67ff78e3bbb2bd4a8f986
[native] Get rid of react-native-image-resizer
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile.lock", "new_path": "native/ios/Podfile.lock", "diff": "@@ -234,8 +234,6 @@ PODS:\n- react-native-ffmpeg/min-lts (0.4.0):\n- mobile-ffmpeg-min (= 4.2.2.LTS)\n- React\n- - react-native-image-resizer (1.0.1):\n- - React\n- react-native-in-app-m...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of react-native-image-resizer
129,187
13.04.2020 18:23:36
14,400
180e604bdf8a3c6c3a9ea6fa1cf0d307b517f7c8
[native] Hide YellowBox warning about ForceTouchGestureHandler caused by react-native-in-app-message
[ { "change_type": "MODIFY", "old_path": "native/push/push-handler.react.js", "new_path": "native/push/push-handler.react.js", "diff": "@@ -83,6 +83,7 @@ import { replaceWithThreadActionType } from '../navigation/action-types';\nYellowBox.ignoreWarnings([\n'Require cycle: ../node_modules/react-native-...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Hide YellowBox warning about ForceTouchGestureHandler caused by react-native-in-app-message
129,187
14.04.2020 19:08:24
14,400
033939ef3ffa0c738ba72cc61fdde3b31e6619a6
[server] Use dimensions from client if provided when saving uploads
[ { "change_type": "MODIFY", "old_path": "server/src/creators/upload-creator.js", "new_path": "server/src/creators/upload-creator.js", "diff": "// @flow\n-import type { MediaType, UploadMultimediaResult } from 'lib/types/media-types';\n+import type {\n+ MediaType,\n+ UploadMultimediaResult,\n+ Dimensi...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[server] Use dimensions from client if provided when saving uploads
129,187
14.04.2020 23:44:03
14,400
bf45a0a6bfa6010bf9090e13e26b6e53fbccbc00
Client sends Dimensions on media upload
[ { "change_type": "MODIFY", "old_path": "lib/actions/upload-actions.js", "new_path": "lib/actions/upload-actions.js", "diff": "// @flow\nimport type { FetchJSON } from '../utils/fetch-json';\n-import type { UploadMultimediaResult } from '../types/media-types';\n+import type { UploadMultimediaResult, ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Client sends Dimensions on media upload
129,187
15.04.2020 11:29:00
14,400
1b8f72ec2b2abd7966630390d61869f8920bea5a
[native] Get rid of react-native-mov-to-mp4 Apparently has the potential to significantly upscale videos. Produces results that are more than 10x larger than `ffmpeg`, and is only slightly faster
[ { "change_type": "MODIFY", "old_path": "native/ios/Podfile.lock", "new_path": "native/ios/Podfile.lock", "diff": "@@ -236,8 +236,6 @@ PODS:\n- React\n- react-native-in-app-message (1.0.2):\n- React\n- - react-native-mov-to-mp4 (0.2.2):\n- - React\n- react-native-netinfo (4.4.0):\n- React\n- react-na...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Get rid of react-native-mov-to-mp4 Apparently has the potential to significantly upscale videos. Produces results that are more than 10x larger than `ffmpeg`, and is only slightly faster
129,187
15.04.2020 16:57:44
14,400
e7ee5c7aa13eda7d1673dd24c23e16aed983e0dd
Catch exceptions in native checkVideoCodec
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -96,6 +96,7 @@ export type UploadDeletionRequest = {|\nexport type VideoProbeMediaMissionStep = {|\nstep: 'video_probe',\nsuccess: boolean,\n+ exceptionMessage: ?string,\ntime: numb...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Catch exceptions in native checkVideoCodec
129,187
15.04.2020 17:15:00
14,400
2332746270e2f6094c554ce198cab9cbecfab806
Record when MediaMission begins on native
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -110,6 +110,9 @@ export type MediaLibrarySelection =\nfilename: string,\nuri: string,\nmediaNativeID: string,\n+ selectTime: number, // ms timestamp\n+ sendTime: number, // ms times...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Record when MediaMission begins on native
129,187
15.04.2020 17:32:35
14,400
14bcc747bd2e5b4efef4c678086990045ebced60
Record userTime and totalTime in MediaMission
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -233,7 +233,7 @@ export type MediaMissionStep =\n| {|\nstep: 'upload',\nsuccess: boolean,\n- time: number,\n+ time: number, // ms\n|}\n| {|\nstep: 'processing_exception',\n@@ -284,1...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Record userTime and totalTime in MediaMission
129,187
15.04.2020 17:42:17
14,400
7fef7a8b0537d05b477d7bbd6354219932000203
Record exceptions from native uploadFile in MediaMission
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -227,18 +227,20 @@ export type MediaMissionStep =\n| {|\nstep: 'dispose_uploaded_local_file',\nsuccess: boolean,\n+ exceptionMessage: ?string,\ntime: number, // ms\npath: string,\n|...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Record exceptions from native uploadFile in MediaMission
129,187
15.04.2020 19:39:14
14,400
530fa1cd98df70ae2f242eb16cd76ace48c342f5
[native] Convert all images we can't handle
[ { "change_type": "MODIFY", "old_path": "native/media/image-utils.js", "new_path": "native/media/image-utils.js", "diff": "@@ -32,8 +32,10 @@ async function processImage(\nconst { fileSize, orientation } = input;\n- const needsProcessing = orientation && orientation > 1;\n- const needsCompression = m...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Convert all images we can't handle
129,187
15.04.2020 19:42:14
14,400
e9c364957e87470f02f908b7e31dbe1cdd5ec50d
Extract readableFilename from fileInfoFromData
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -222,7 +222,6 @@ export type MediaMissionStep =\nuri: string,\ndetectedMIME: ?string,\ndetectedMediaType: ?string,\n- newName: ?string,\n|}\n| {|\nstep: 'dispose_uploaded_local_file...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Extract readableFilename from fileInfoFromData
129,187
15.04.2020 20:01:28
14,400
eb5254d50ec4f6fb3c93ae95b4cde79250b62283
Rework native blob data analysis on media upload
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -103,6 +103,16 @@ export type VideoProbeMediaMissionStep = {|\ncodec: ?string,\n|};\n+export type BlobDataAnalysisMediaMissionStep = {|\n+ step: 'blob_data_analysis',\n+ success: bo...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Rework native blob data analysis on media upload
129,187
15.04.2020 20:18:02
14,400
29a83c4a6f04eb5f0976c4649154018b07e8a8d5
[native] Compare final blob MIME to reported MIME if final_blob_check specified
[ { "change_type": "MODIFY", "old_path": "native/media/media-utils.js", "new_path": "native/media/media-utils.js", "diff": "@@ -263,17 +263,15 @@ async function processMedia(\nblobResponse = blobResult;\n}\nif (blobResponse) {\n- if (blobResponse.reportedMIME) {\n- mime = blobResponse.reportedMIME;\n+...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Compare final blob MIME to reported MIME if final_blob_check specified
129,187
15.04.2020 20:21:24
14,400
2d7fe51a022a25e152d4b1e1d2a59f23ea9625cf
[native] Do extra checks during media upload in dev mode or if isStaff
[ { "change_type": "MODIFY", "old_path": "native/input/input-state-container.react.js", "new_path": "native/input/input-state-container.react.js", "diff": "@@ -61,6 +61,7 @@ import {\ncombineLoadingStatuses,\n} from 'lib/selectors/loading-selectors';\nimport { pathFromURI } from 'lib/utils/file-utils'...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Do extra checks during media upload in dev mode or if isStaff
129,187
15.04.2020 20:43:24
14,400
88514565630e8632d544c6a01aa6b636592c7c21
[native] Reduce JPEG compression factor
[ { "change_type": "MODIFY", "old_path": "native/media/image-utils.js", "new_path": "native/media/image-utils.js", "diff": "@@ -58,7 +58,7 @@ async function processImage(\nmime === 'image/png'\n? ImageManipulator.SaveFormat.PNG\n: ImageManipulator.SaveFormat.JPEG;\n- const compress = needsCompression ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Reduce JPEG compression factor
129,187
15.04.2020 21:09:31
14,400
e2ed1e7d20c627b675164e58f8dba6b3be6d1be4
[native] Ask for camera roll permissions on iOS `@react-native-community/cameraroll` did this automatically, but we need to do it with `expo-media-library`
[ { "change_type": "MODIFY", "old_path": "native/media/media-gallery-keyboard.react.js", "new_path": "native/media/media-gallery-keyboard.react.js", "diff": "@@ -198,12 +198,10 @@ class MediaGalleryKeyboard extends React.PureComponent<Props, State> {\n}\nthis.fetchingPhotos = true;\ntry {\n- if (Platf...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Ask for camera roll permissions on iOS `@react-native-community/cameraroll` did this automatically, but we need to do it with `expo-media-library`
129,187
15.04.2020 21:18:25
14,400
1d29ee87092814fc5309c1d6bdd177b797d38c19
[native] Don't fetch asset info if unnecessary
[ { "change_type": "MODIFY", "old_path": "native/media/file-utils.js", "new_path": "native/media/file-utils.js", "diff": "import type {\nMediaMissionStep,\nMediaMissionFailure,\n+ MediaType,\n} from 'lib/types/media-types';\nimport { Platform } from 'react-native';\n@@ -105,6 +106,7 @@ type FetchFileI...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Don't fetch asset info if unnecessary
129,187
15.04.2020 21:30:06
14,400
a5ec02294090f009655e95422504aaa186b1dee1
Make sure ffmpeg reports an mp4 on native
[ { "change_type": "MODIFY", "old_path": "lib/types/media-types.js", "new_path": "lib/types/media-types.js", "diff": "@@ -101,6 +101,7 @@ export type VideoProbeMediaMissionStep = {|\npath: string,\next: ?string,\ncodec: ?string,\n+ format: ?string,\n|};\nexport type BlobDataAnalysisMediaMissionStep = ...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
Make sure ffmpeg reports an mp4 on native
129,187
15.04.2020 21:39:10
14,400
30dce69b80d9a7bf0f1d02fdf3bba953c978ab3b
[native] Kill initialBlobCheck We can only do this for photos anyways since iOS videos need the `localURI` or else they treat it like a photo
[ { "change_type": "MODIFY", "old_path": "native/input/input-state-container.react.js", "new_path": "native/input/input-state-container.react.js", "diff": "@@ -632,7 +632,6 @@ class InputStateContainer extends React.PureComponent<Props, State> {\nconst { viewerID } = this.props;\nif (__DEV__ || (viewe...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Kill initialBlobCheck We can only do this for photos anyways since iOS videos need the `localURI` or else they treat it like a photo
129,187
15.04.2020 21:50:44
14,400
68000e1d5b66cfddd274acfeb4dd6473f5cc7ac7
[native] Add a final file size check to the MediaMission report
[ { "change_type": "MODIFY", "old_path": "native/input/input-state-container.react.js", "new_path": "native/input/input-state-container.react.js", "diff": "@@ -69,6 +69,7 @@ import {\n} from './input-state';\nimport { processMedia } from '../media/media-utils';\nimport { displayActionResultModal } fro...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Add a final file size check to the MediaMission report
129,187
16.04.2020 19:26:39
14,400
e8962932f6df2805b8d31fc35a09f46a3c1d023b
blob-utils.js for native
[ { "change_type": "MODIFY", "old_path": "lib/utils/file-utils.js", "new_path": "lib/utils/file-utils.js", "diff": "@@ -22,11 +22,11 @@ const mimeTypesToExtensions = Object.freeze({\n'video/quicktime': 'mp4',\n});\n-type FileInfo = {|\n+export type FileDataInfo = {|\nmime: ?string,\nmediaType: ?MediaT...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
blob-utils.js for native
129,187
16.04.2020 19:37:48
14,400
2f9705c15c3f12220a6f0fe2797199fe2f7b547e
[native] Convert media-library URLs before saving on iOS
[ { "change_type": "MODIFY", "old_path": "native/media/media-utils.js", "new_path": "native/media/media-utils.js", "diff": "@@ -266,4 +266,23 @@ function getCompatibleMediaURI(uri: string, ext: ?string): string {\n);\n}\n-export { processMedia, getDimensions, getCompatibleMediaURI };\n+const mediaLibr...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Convert media-library URLs before saving on iOS
129,187
16.04.2020 20:15:08
14,400
74c86e74c7de2c4acd13bc1b63b986beb524c8e7
[native] Name downloaded files based on md5 hash
[ { "change_type": "MODIFY", "old_path": "native/media/save-image.js", "new_path": "native/media/save-image.js", "diff": "@@ -4,6 +4,7 @@ import { Platform, PermissionsAndroid } from 'react-native';\nimport filesystem from 'react-native-fs';\nimport invariant from 'invariant';\nimport * as MediaLibrar...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Name downloaded files based on md5 hash
129,187
16.04.2020 20:38:48
14,400
273e14878851460f59f52235754850425e40fc7f
[native] Use MIME type from blob instead of parsing magic numbers in saveImage
[ { "change_type": "MODIFY", "old_path": "native/media/save-image.js", "new_path": "native/media/save-image.js", "diff": "@@ -112,13 +112,17 @@ async function saveImageIOS(mediaInfo: SaveImageInfo) {\nasync function saveToDisk(uri: string, directory: string) {\nconst response = await fetch(uri);\ncons...
JavaScript
BSD 3-Clause New or Revised License
comme2e/comm
[native] Use MIME type from blob instead of parsing magic numbers in saveImage