text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```unknown /* @flow * @generated by TsFlower */ import type { TypedNavigator as $tsflower_import_type$_$_40_react_2d_navigation_2f_native$TypedNavigator } from '@react-navigation/native'; import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react'; import { type DefaultNavigatorOpt...
/content/code_sandbox/types/@react-navigation/material-top-tabs/lib/typescript/src/navigators/createMaterialTopTabNavigator.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
257
```unknown /* @flow * @generated by TsFlower */ import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react'; import { type TabNavigationState, type ParamListBase } from '@react-navigation/native'; import { type MaterialTopTabDescriptorMap, type MaterialTopTabNavigationConfig, t...
/content/code_sandbox/types/@react-navigation/material-top-tabs/lib/typescript/src/views/MaterialTopTabView.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
170
```unknown /* @flow * @generated by TsFlower */ import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react'; import { type MaterialTopTabBarProps } from '../types'; declare export default function TabBarTop( props: MaterialTopTabBarProps, ): $tsflower_subst$React$JSX$Element; ```
/content/code_sandbox/types/@react-navigation/material-top-tabs/lib/typescript/src/views/MaterialTopTabBar.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
86
```unknown /* @flow * @generated */ export * from './lib/typescript/src/index.js.flow'; ```
/content/code_sandbox/types/@react-navigation/native/index.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
22
```unknown /* @flow * @generated by TsFlower */ declare export default function useLinkTo(): (path: string) => void; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useLinkTo.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
30
```unknown /* @flow * @generated by TsFlower */ import type { Partial } from 'tsflower/subst/lib'; import type { ReactNode, ComponentProps } from 'tsflower/subst/react'; import type { StyleProp as $tsflower_subst$RN$StyleProp, ViewStyle as $tsflower_subst$RN$ViewStyle, TextStyle as $tsflower_subst$RN$TextStyle...
/content/code_sandbox/types/@react-navigation/material-top-tabs/lib/typescript/src/types.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
978
```unknown /* @flow * @generated by TsFlower */ import type { ReactNode as $tsflower_subst$React$ReactNode, RefAttributes as $tsflower_subst$React$RefAttributes, } from 'tsflower/subst/react'; import * as TsReact from 'tsflower/subst/react'; import * as React from 'react'; import { type NavigationContainerProps,...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/NavigationContainer.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
256
```unknown /* @flow * @generated by TsFlower */ import type { Context as $tsflower_subst$React$Context } from 'tsflower/subst/react'; import * as React from 'react'; import { type LinkingOptions } from './types'; declare var LinkingContext: $tsflower_subst$React$Context<{ options: LinkingOptions | void, ... }>; expor...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/LinkingContext.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
89
```unknown /* @flow * @generated by TsFlower */ import type { RefObject as $tsflower_subst$React$RefObject } from 'tsflower/subst/react'; import * as React from 'react'; import { type NavigationContainerRef } from '@react-navigation/core'; declare export default function useBackButton( ref: $tsflower_subst$React$Re...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useBackButton.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
89
```unknown /* @flow * @generated by TsFlower */ import type { Context as $tsflower_subst$React$Context } from 'tsflower/subst/react'; import * as React from 'react'; export type ServerContextType = { location?: { pathname: string, search: string, ... }, ... }; declare var ServerContext: $tsflower_...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/ServerContext.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
99
```unknown /* @flow * @generated by TsFlower */ import type { MouseEvent as $tsflower_subst$React$MouseEvent } from 'tsflower/subst/react'; import type { GestureResponderEvent as $tsflower_subst$RN$GestureResponderEvent } from 'tsflower/subst/react-native'; import * as React from 'react'; import 'react-native'; impor...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useLinkProps.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
184
```unknown /* @flow * @generated by TsFlower */ declare export default function useLinkBuilder(): ( name: string, params?: { ... } | void, ) => string | void; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useLinkBuilder.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
43
```unknown /* @flow * @generated by TsFlower */ export * from '@react-navigation/core'; export { default as NavigationContainer } from './NavigationContainer'; export { default as useBackButton } from './useBackButton'; export { default as useScrollToTop } from './useScrollToTop'; export { default as DefaultTheme } f...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/index.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
206
```unknown /* @flow * @generated by TsFlower */ import type { PromiseLike } from 'tsflower/subst/lib'; declare export default function useThenable<T>(create: () => PromiseLike<T>): [boolean, T | void]; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useThenable.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
52
```unknown /* @flow * @generated by TsFlower */ import type { RefObject as $tsflower_subst$React$RefObject } from 'tsflower/subst/react'; import * as React from 'react'; import { type NavigationContainerRef } from '@react-navigation/core'; import { type DocumentTitleOptions } from './types'; declare export default f...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useDocumentTitle.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
106
```unknown /* @flow * @generated by TsFlower */ import type { PartialState as $tsflower_import_type$_$_40_react_2d_navigation_2f_core$PartialState } from '@react-navigation/core'; import type { PartialRoute as $tsflower_import_type$_$_40_react_2d_navigation_2f_core$PartialRoute } from '@react-navigation/core'; import...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useLinking.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
497
```unknown /* @flow * @generated by TsFlower */ import type { ForwardRefExoticComponent as $tsflower_subst$React$ForwardRefExoticComponent, ReactNode as $tsflower_subst$React$ReactNode, RefAttributes as $tsflower_subst$React$RefAttributes, } from 'tsflower/subst/react'; import * as React from 'react'; import {...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/ServerContainer.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
173
```unknown /* @flow * @generated by TsFlower */ import type { ReactNode as $tsflower_subst$React$ReactNode, RefObject as $tsflower_subst$React$RefObject, } from 'tsflower/subst/react'; import * as React from 'react'; type ScrollOptions = { y?: number, animated?: boolean, ... }; type ScrollableView = | ...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useScrollToTop.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
226
```unknown /* @flow * @generated by TsFlower */ import type { MouseEvent as $tsflower_subst$React$MouseEvent, ReactNode as $tsflower_subst$React$ReactNode, CElement as $tsflower_subst$React$CElement, } from 'tsflower/subst/react'; import type { GestureResponderEvent as $tsflower_subst$RN$GestureResponderEven...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/Link.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
293
```unknown /* @flow * @generated by TsFlower */ declare export default function extractPathFromURL(prefixes: string[], url: string): string | void; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/extractPathFromURL.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
35
```unknown /* @flow * @generated by TsFlower */ declare export default function useDocumentTitle(): void; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useDocumentTitle.native.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
24
```unknown /* @flow * @generated by TsFlower */ import type { PartialState as $tsflower_import_type$_$_40_react_2d_navigation_2f_core$PartialState } from '@react-navigation/core'; import type { PartialRoute as $tsflower_import_type$_$_40_react_2d_navigation_2f_core$PartialRoute } from '@react-navigation/core'; import...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/useLinking.native.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
497
```unknown /* @flow * @generated by TsFlower */ import { type Theme } from '../types'; declare var DarkTheme: Theme; export default DarkTheme; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/theming/DarkTheme.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
35
```unknown /* @flow * @generated by TsFlower */ import { typeof getStateFromPath as getStateFromPathDefault, typeof getPathFromState as getPathFromStateDefault, typeof getActionFromState as getActionFromStateDefault, type PathConfigMap, type Route, } from '@react-navigation/core'; export type Theme = { d...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/types.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
302
```unknown /* @flow * @generated by TsFlower */ import { type Theme } from '../types'; declare var DefaultTheme: Theme; export default DefaultTheme; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/theming/DefaultTheme.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
35
```unknown /* @flow * @generated by TsFlower */ import type { ReactNode as $tsflower_subst$React$ReactNode, JSX$Element as $tsflower_subst$React$JSX$Element, } from 'tsflower/subst/react'; import * as React from 'react'; import { type Theme } from '../types'; type Props = { value: Theme, children: $tsflower...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/theming/ThemeProvider.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
126
```unknown /* @flow * @generated by TsFlower */ import type { Context as $tsflower_subst$React$Context } from 'tsflower/subst/react'; import * as React from 'react'; import { type Theme } from '../types'; declare var ThemeContext: $tsflower_subst$React$Context<Theme>; export default ThemeContext; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/theming/ThemeContext.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
76
```unknown /* @flow * @generated by TsFlower */ import type { Theme as $tsflower_import_type$_$_2e__2e_$Theme } from '..'; declare export default function useTheme(): $tsflower_import_type$_$_2e__2e_$Theme; ```
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/theming/useTheme.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
59
```unknown /* @flow * @generated */ export * from './build/WebBrowser.js.flow'; ```
/content/code_sandbox/types/expo-web-browser/index.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
20
```unknown /* @flow * @generated by TsFlower */ declare var _default: { document: { title: string, ... }, location: URL, history: { +state: any, pushState(state: any, _: string, path: string): void, replaceState(state: any, _: string, path: string): void, go(n: number): void, back(): void, ...
/content/code_sandbox/types/@react-navigation/native/lib/typescript/src/__mocks__/window.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
147
```unknown /* @flow * @generated by TsFlower */ export type RedirectEvent = { url: string, ... }; export type WebBrowserWindowFeatures = { [key: string]: number | boolean | string }; export type WebBrowserOpenOptions = { toolbarColor?: string, browserPackage?: string, enableBarCollapsing?: boolean, s...
/content/code_sandbox/types/expo-web-browser/build/WebBrowser.types.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
773
```unknown /* @flow * @generated by TsFlower */ import { type WebBrowserAuthSessionResult as WebBrowserAuthSessionResult_, type WebBrowserCompleteAuthSessionOptions as WebBrowserCompleteAuthSessionOptions_, type WebBrowserCompleteAuthSessionResult as WebBrowserCompleteAuthSessionResult_, type WebBrows...
/content/code_sandbox/types/expo-web-browser/build/WebBrowser.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
611
```unknown /* @flow * @generated by TsFlower */ import type { ProxyNativeModule as $tsflower_import_type$_$expo_2d_modules_2d_core$ProxyNativeModule, } from "expo-modules-core"; declare var _default: $tsflower_import_type$_$expo_2d_modules_2d_core$ProxyNativeModule; export default _default; ```
/content/code_sandbox/types/expo-web-browser/build/ExpoWebBrowser.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
81
```unknown /* @flow * @generated */ export * from './lib/typescript/index.js.flow'; ```
/content/code_sandbox/types/react-native-image-picker/index.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
21
```unknown /* @flow * @generated by TsFlower */ import type { ImagePickerResponse as $tsflower_import_type$_$_2e__2f_types$ImagePickerResponse } from './types'; import { type CameraOptions, type ImageLibraryOptions, type Callback } from './types'; export * from './types'; declare export function launchCamera( optio...
/content/code_sandbox/types/react-native-image-picker/lib/typescript/index.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
143
```unknown /* @flow * @generated by TsFlower */ import { type TurboModule } from 'react-native/Libraries/TurboModule/RCTExport'; export interface Spec extends TurboModule { launchCamera(options: Object, callback: () => void): void; launchImageLibrary(options: Object, callback: () => void): void; } declare var _...
/content/code_sandbox/types/react-native-image-picker/lib/typescript/platforms/NativeImagePicker.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
87
```unknown /* @flow * @generated by TsFlower */ import { type CameraOptions, type ImageLibraryOptions, type Callback, type ImagePickerResponse, } from '../types'; declare export function camera( options: CameraOptions, callback?: Callback, ): Promise<ImagePickerResponse>; declare export function imageLib...
/content/code_sandbox/types/react-native-image-picker/lib/typescript/platforms/native.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
88
```unknown /* @flow * @generated by TsFlower */ export type Callback = (response: ImagePickerResponse) => any; export interface OptionsCommon { mediaType: MediaType; maxWidth?: number; maxHeight?: number; quality?: PhotoQuality; videoQuality?: AndroidVideoOptions | iOSVideoOptions; includeBase64?: boolea...
/content/code_sandbox/types/react-native-image-picker/lib/typescript/types.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
416
```unknown /* @flow * @generated by TsFlower */ import { type ImageLibraryOptions, type Callback, type ImagePickerResponse } from '../types'; declare export function camera( options?: ImageLibraryOptions, callback?: Callback, ): Promise<ImagePickerResponse>; declare export function imageLibrary( options?: Image...
/content/code_sandbox/types/react-native-image-picker/lib/typescript/platforms/web.js.flow
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
80
```batchfile @rem @rem @rem @rem path_to_url @rem @rem Unless required by applicable law or agreed to in writing, software @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @rem @if "%DEBUG%" == "" @echo off @rem #########################################################################...
/content/code_sandbox/android/gradlew.bat
batchfile
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
590
```ini # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # path_to_url # Specifies the JVM arguments used for the daemon process. # ...
/content/code_sandbox/android/gradle.properties
ini
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
378
```ini # How to upgrade Gradle: # $ tools/gradle wrapper --distribution-type=all --gradle-version=NEW_VERSION # $ tools/gradle wrapper --distribution-type=all --gradle-version=NEW_VERSION # (Yep, run the same command twice. The first updates this file so we use # the new Gradle; the second updates the wrapper's j...
/content/code_sandbox/android/gradle/wrapper/gradle-wrapper.properties
ini
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
158
```qmake # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more detail...
/content/code_sandbox/android/app/proguard-rules.pro
qmake
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
576
```unknown #!/bin/sh # # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # ############################################################################## # # Gradle start up script for POSIX gener...
/content/code_sandbox/android/gradlew
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
1,929
```gradle import org.apache.tools.ant.taskdefs.condition.Os import java.nio.file.Paths /** * Build and merge static webview assets. * * This is largely the job of `$ROOT/tools/build-webview`, a script external to * Gradle, as there is significant overlap between the iOS and Android build * processes. See comments...
/content/code_sandbox/android/app/webviewAssets.gradle
gradle
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
991
```xml <manifest xmlns:android="path_to_url" xmlns:tools="path_to_url" package="com.zulipmobile"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.VIBRATE" /> ...
/content/code_sandbox/android/app/src/main/AndroidManifest.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
1,121
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <!-- These are used for receiving notifications through the Zulip notification bouncer service: path_to_url They represent public identifiers for that service as an application registered with the relevant Google service. They're derive...
/content/code_sandbox/android/app/src/main/res/values/firebase.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
157
```xml <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/primaryColor</item> <item name="colorPrimaryDark">@color/primaryColorDark</item> </style> <...
/content/code_sandbox/android/app/src/main/res/values/styles.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
76
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <color name="primaryColor">#ffffff</color> <color name="primaryColorDark">#d7ccc8</color> <!-- This should agree with `BRAND_COLOR` in the JS code. --> <color name="brandColor">#6492fe</color> </resources> ```
/content/code_sandbox/android/app/src/main/res/values/color.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
82
```xml <resources> <string name="app_name">Zulip</string> <string name="notification_channel_name">Messages</string> <string name="no_browser_found">No Browser Found</string> <plurals name="numConversations"> <item quantity="one">%d conversation</item> <item quantity="other">%d conversat...
/content/code_sandbox/android/app/src/main/res/values/strings.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
169
```kotlin package com.zulipmobile.notifications import com.google.common.truth.Expect import org.junit.Rule import org.junit.Test import org.junit.jupiter.api.assertThrows import java.net.URL open class FcmMessageTestBase { // This lets a single test method report multiple failures. // See upstream docs: ...
/content/code_sandbox/android/app/src/test/java/com/zulipmobile/notifications/FcmMessageTest.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
3,550
```xml <?xml version="1.0" encoding="utf-8"?> <network-security-config> <!-- For reference on this file's semantics: path_to_url#FileFormat --> <base-config> <!-- If the user has configured additional CAs on the device, trust those too. This can be useful for an internal Zulip s...
/content/code_sandbox/android/app/src/main/res/xml/network_security_config.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
297
```xml <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="path_to_url"> <translate android:fromXDelta="0" android:toXDelta="100%p" android:duration="@android:integer/config_mediumAnimTime"/> </set> ```
/content/code_sandbox/android/app/src/main/res/anim/slide_out_right.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
66
```xml <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="path_to_url"> <translate android:fromXDelta="0" android:toXDelta="-100%p" android:duration="@android:integer/config_mediumAnimTime"/> </set> ```
/content/code_sandbox/android/app/src/main/res/anim/slide_out_left.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
66
```xml <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="path_to_url"> <translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="@android:integer/config_mediumAnimTime"/> </set> ```
/content/code_sandbox/android/app/src/main/res/anim/slide_in_right.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
66
```xml <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="path_to_url"> <translate android:fromXDelta="-100%p" android:toXDelta="0" android:duration="@android:integer/config_mediumAnimTime"/> </set> ```
/content/code_sandbox/android/app/src/main/res/anim/slide_in_left.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
66
```java package com.zulipmobile; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java.util.List; class ZulipNativePackage implements Reac...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/ZulipNativePackage.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
196
```kotlin package com.zulipmobile import android.util.Log import io.sentry.Sentry import io.sentry.SentryLevel /** * Zulip-specific logging helpers. * * These mirror part of the interface of `android.util.Log`, but they log * to Sentry as well as to the device console. * * We basically always want to use these ...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/ZLog.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
287
```kotlin package com.zulipmobile import android.util.Base64 import com.facebook.react.bridge.Promise import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule import com.facebook.react.bridge.ReactMethod import java.io.ByteArrayOutputStream import java.io.IOE...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/TextCompression.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
697
```kotlin package com.zulipmobile; import android.content.ComponentName import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity /// The activity for when a user shares to Zulip from another app. /// /// This is a tiny shim activity, which forwards the user on to our /// ...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/ShareToZulipActivity.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
144
```java package com.zulipmobile; import android.content.Context; import android.content.Intent; import android.content.pm.ResolveInfo; import androidx.annotation.NonNull; import java.util.List; /** * Contains helper methods for custom tabs. */ class CustomTabsHelper { private static final String SERVICE_ACTIO...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/CustomTabsHelper.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
155
```kotlin package com.zulipmobile import io.sentry.Sentry import io.sentry.SentryLevel /** * A home for things that ought to be static extensions of `Sentry`. * * Extending Java classes with static members isn't currently a feature * available in Kotlin: * path_to_url * so this is our substitute. */ class Se...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/SentryUtils.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
142
```kotlin package com.zulipmobile import android.content.Intent import android.net.Uri import androidx.core.content.FileProvider import com.facebook.react.bridge.Promise import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule import com.facebook.react.bridge...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/ShareFileAndroid.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
363
```java package com.zulipmobile; import android.content.Intent; import android.content.pm.ResolveInfo; import android.net.Uri; import android.widget.Toast; import androidx.browser.customtabs.CustomTabsIntent; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJav...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/CustomTabsAndroid.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
368
```java package com.zulipmobile; import android.util.Base64; import com.facebook.react.bridge.Callback; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import java.security.SecureRandom; import java.uti...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/RNSecureRandom.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
258
```kotlin package com.zulipmobile import com.facebook.react.ReactActivity import com.facebook.react.ReactApplication import com.facebook.react.ReactInstanceManager import com.facebook.react.ReactNativeHost import com.facebook.react.bridge.ReactContext import com.facebook.react.common.LifecycleState import com.facebook...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/ReactExtensions.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
641
```java package com.zulipmobile; import android.content.Intent; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; /** * Close all custom tabs. */ public class CloseAllCustomTabsAndroid extends ReactCo...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/CloseAllCustomTabsAndroid.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
170
```java package com.zulipmobile; import android.app.Application; import android.content.Context; import android.content.res.Configuration; import androidx.annotation.NonNull; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; import com.fa...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/MainApplication.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
717
```kotlin package com.zulipmobile import android.content.Intent import android.os.Build import android.os.Bundle import android.webkit.WebView import com.facebook.react.ReactActivity import com.facebook.react.ReactActivityDelegate import com.zulipmobile.notifications.maybeHandleViewNotif import com.zulipmobile.sharing...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/MainActivity.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
631
```kotlin package com.zulipmobile.sharing import com.facebook.react.bridge.* internal class SharingModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) { override fun getName(): String { return "Sharing" } @ReactMethod fun readInitialSharedContent(...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/sharing/SharingModule.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
106
```kotlin package com.zulipmobile.sharing import com.facebook.react.ReactPackage import com.facebook.react.bridge.NativeModule import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.ViewManager class SharingPackage : ReactPackage { override fun createViewManagers(reactContext...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/sharing/SharingPackage.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
112
```kotlin package com.zulipmobile.notifications import com.facebook.react.ReactApplication import com.google.firebase.messaging.FirebaseMessagingService import com.google.firebase.messaging.RemoteMessage class FcmListenerService : FirebaseMessagingService() { override fun onMessageReceived(message: RemoteMessage)...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/FcmListenerService.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
127
```kotlin @file:JvmName("SharingHelper") package com.zulipmobile.sharing import android.content.ContentResolver import android.content.Intent import android.net.Uri import android.provider.OpenableColumns import android.util.Log import com.facebook.react.bridge.Arguments import com.facebook.react.bridge.ReactContext ...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/sharing/SharingHelper.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
868
```kotlin @file:JvmName("NotifyReact") package com.zulipmobile.notifications import android.content.Intent import android.os.Bundle import android.util.Log import com.facebook.react.bridge.Arguments import com.facebook.react.bridge.ReactContext import com.zulipmobile.* /** * Methods for telling React about a notifi...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/NotifyReact.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
484
```kotlin package com.zulipmobile.notifications import com.google.firebase.iid.FirebaseInstanceId import com.google.firebase.iid.InstanceIdResult import android.os.Bundle import android.util.Log import androidx.core.app.NotificationManagerCompat import com.facebook.react.bridge.* import com.google.android.gms.common.C...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/NotificationsModule.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
652
```kotlin package com.zulipmobile.notifications import com.facebook.react.ReactPackage import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.NativeModule import com.facebook.react.uimanager.ViewManager import java.util.ArrayList class NotificationsPackage : ReactPackage { overr...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/NotificationsPackage.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
115
```kotlin package com.zulipmobile.notifications import java.net.MalformedURLException import java.net.URL import java.util.* /** * An identity belonging to this user in some Zulip org/realm. */ data class Identity( /// The server's `EXTERNAL_HOST` setting. This is a hostname, /// or a colon-separated hostn...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/FcmMessage.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
2,214
```kotlin @file:JvmName("NotificationUiManager") package com.zulipmobile.notifications import android.app.Notification import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.BitmapFacto...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/NotificationUiManager.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
4,014
```xml <manifest xmlns:android="path_to_url" xmlns:tools="path_to_url"> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <application android:usesCleartextTraffic="true" tools:remove="android:networkSecurityConfig" tools:ignore="GoogleAppIndexingWarning" ...
/content/code_sandbox/android/app/src/debug/AndroidManifest.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
115
```xml <resources> <string name="app_name">Zulip (debug)</string> </resources> ```
/content/code_sandbox/android/app/src/debug/res/values/strings.xml
xml
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
23
```java /** * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.zulipmobile; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; import com.facebook.flipper.android.utils.FlipperUtils; ...
/content/code_sandbox/android/app/src/debug/java/com/zulipmobile/ReactNativeFlipper.java
java
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
593
```unknown Format: path_to_url Upstream-Name: Zulip Upstream-Contact: Zulip Development Discussion <zulip-devel@googlegroups.com> Source: path_to_url Comment: Unless otherwise noted, the Zulip software is distributed under the Apache parties under other free and open source licenses. Those works are redistributed un...
/content/code_sandbox/docs/THIRDPARTY
unknown
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
605
```kotlin @file:JvmName("NotificationChannelManager") package com.zulipmobile.notifications import android.app.NotificationChannel import android.app.NotificationManager import android.content.ContentResolver import android.content.ContentUris import android.content.ContentValues import android.content.Context import...
/content/code_sandbox/android/app/src/main/java/com/zulipmobile/notifications/NotificationChannelManager.kt
kotlin
2016-05-08T05:41:48
2024-08-15T07:25:47
zulip-mobile
zulip/zulip-mobile
1,274
2,322
```javascript import resolve from "@rollup/plugin-node-resolve"; import commonjs from "@rollup/plugin-commonjs"; import babel from "rollup-plugin-babel"; import { terser } from "rollup-plugin-terser"; import sass from "rollup-plugin-sass"; import serve from "rollup-plugin-serve"; import livereload from "rollup-plugin-l...
/content/code_sandbox/rollup.config.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
450
```yaml exclude: - README.md ```
/content/code_sandbox/_config.yml
yaml
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
8
```css .tribute-container { position: absolute; top: 0; left: 0; height: auto; overflow: auto; display: block; z-index: 999999; } .tribute-container ul { margin: 0; margin-top: 2px; padding: 0; list-style: none; background: #efefef; } .tribute-container li { padding: 5px 5px; cursor: pointer...
/content/code_sandbox/tribute.css
css
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
161
```xml // Type definitions for TributeJS v5.1.3 // Project: path_to_url // Definitions by: Jordan Humphreys <path_to_url export type TributeItem<T extends {}> = { index: number; original: T; score: number; string: string; }; export type TributeSearchOpts = { pre: string; post: string; skip: boolean; }; ...
/content/code_sandbox/tributejs.d.ts
xml
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
741
```javascript // Karma configuration // path_to_url // Generated on 2016-02-05 using // generator-karma 1.0.1 process.env.CHROME_BIN = require("puppeteer").executablePath(); module.exports = function(config) { "use strict"; config.set({ // enable / disable watching file and executing tests whenever any file c...
/content/code_sandbox/test/karma.conf.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
666
```javascript export const attachTribute = function(collectionObject, inputElementId) { let tribute = new Tribute(collectionObject); tribute.attach(document.getElementById(inputElementId)); return tribute; } export const detachTribute = function(tribute, inputElementId) { tribute.detach(document.getElementById...
/content/code_sandbox/test/spec/utils/tribute-helpers.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
66
```javascript export const createDomElement = function(element = 'text') { let elementToCreate = 'input'; if (element === 'contenteditable') { elementToCreate = 'div'; } let wrapperDiv = document.createElement('div'); wrapperDiv.id = 'tribute-wrapper-div'; let input = document.createElement(elementToCre...
/content/code_sandbox/test/spec/utils/dom-helpers.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
293
```javascript // insert characters in a textarea or text input field // special characters are enclosed in {}; use {{} for the { character itself // documentation: path_to_url // Version: 4 // MIT license: // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated...
/content/code_sandbox/test/libs/jquery.sendkeys.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
580
```javascript "use strict"; import bigList from "./utils/bigList.json"; import { clearDom, createDomElement, fillIn, simulateMouseClick } from "./utils/dom-helpers"; import { attachTribute, detachTribute } from "./utils/tribute-helpers"; describe("Tribute instantiation", function() { it("should not error ...
/content/code_sandbox/test/spec/test.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
5,267
```javascript // Cross-broswer implementation of text ranges and selections // documentation: path_to_url // Version: 2.6 // MIT license: // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software wi...
/content/code_sandbox/test/libs/bililiteRange.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
7,962
```css .tribute-container { position: absolute; top: 0; left: 0; height: auto; overflow: auto; display: block; z-index: 999999; } .tribute-container ul { margin: 0; margin-top: 2px; padding: 0; list-style: none; background: #efefef; } .tribute-container li { padding: 5px 5px; cursor: pointer...
/content/code_sandbox/example/tribute.css
css
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
161
```html <!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>ZURB Tribute | Demo</title> <link rel="stylesheet" href="css/foundation.min...
/content/code_sandbox/example/index.html
html
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
2,934
```javascript (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.Tribute = factory()); }(this, (function () { 'use strict'; function _classCallC...
/content/code_sandbox/example/tribute.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
14,008
```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <link rel="shortcut icon" type="image/x-icon" href="path_to_url" /> <link rel="mask-icon" type="" href="path_to_url" color="#111" /> <title>CodePen - Tribute Debug Template</title> <li...
/content/code_sandbox/example/bootstrap.html
html
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
669
```css ```
/content/code_sandbox/example/css/foundation.min.css
css
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
1
```scss .tribute-container { position: absolute; top: 0; left: 0; height: auto; overflow: auto; display: block; z-index: 999999; ul { margin: 0; margin-top: 2px; padding: 0; list-style: none; background: #efefef; } li { padding: 5px 5px; cursor: pointer; &.highligh...
/content/code_sandbox/src/tribute.scss
scss
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
156
```javascript if (!Array.prototype.find) { Object.defineProperty(Array.prototype, 'find', { value: function(predicate) { // 1. Let O be ? ToObject(this value). if (this == null) { throw TypeError('"this" is null or not defined'); } var o = Object(this); // 2. Let len be ? T...
/content/code_sandbox/src/utils.js
javascript
2016-01-19T00:54:39
2024-08-14T11:30:58
tribute
zurb/tribute
2,017
461