agora-appbuilder-core 2.2.0 → 2.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +7 -1
- package/package.json +4 -3
- package/template/Gulpfile.js +306 -87
- package/template/_gitignore +4 -1
- package/template/_package-lock.json +32186 -3078
- package/template/agora-rn-uikit/src/AgoraUIKit.tsx +23 -20
- package/template/agora-rn-uikit/src/Contexts/LocalUserContext.tsx +13 -8
- package/template/agora-rn-uikit/src/Contexts/PropsContext.tsx +25 -9
- package/template/agora-rn-uikit/src/Contexts/RenderContext.tsx +10 -0
- package/template/agora-rn-uikit/src/Contexts/RtcContext.tsx +11 -5
- package/template/agora-rn-uikit/src/Controls/BtnTemplate.tsx +6 -2
- package/template/agora-rn-uikit/src/Controls/ImageIcon.tsx +1 -1
- package/template/agora-rn-uikit/src/Controls/Local/EndCall.tsx +6 -2
- package/template/agora-rn-uikit/src/Controls/Local/LocalAudioMute.tsx +2 -2
- package/template/agora-rn-uikit/src/Controls/Local/LocalVideoMute.tsx +2 -2
- package/template/agora-rn-uikit/src/Controls/Local/SwitchCamera.tsx +6 -2
- package/template/agora-rn-uikit/src/Controls/LocalControls.tsx +11 -6
- package/template/agora-rn-uikit/src/Controls/Remote/RemoteAudioMute.tsx +10 -6
- package/template/agora-rn-uikit/src/Controls/Remote/RemoteSwap.tsx +7 -6
- package/template/agora-rn-uikit/src/Controls/Remote/RemoteVideoMute.tsx +6 -5
- package/template/agora-rn-uikit/src/Controls/RemoteControls.tsx +3 -3
- package/template/agora-rn-uikit/src/Reducer/LocalMuteAudio.ts +16 -13
- package/template/agora-rn-uikit/src/Reducer/LocalMuteVideo.ts +16 -13
- package/template/agora-rn-uikit/src/Reducer/RemoteAudioStateChanged.ts +13 -13
- package/template/agora-rn-uikit/src/Reducer/RemoteVideoStateChanged.ts +16 -13
- package/template/agora-rn-uikit/src/Reducer/UpdateDualStreamMode.ts +28 -31
- package/template/agora-rn-uikit/src/Reducer/UserJoined.ts +48 -35
- package/template/agora-rn-uikit/src/Reducer/UserMuteRemoteAudio.ts +11 -13
- package/template/agora-rn-uikit/src/Reducer/UserMuteRemoteVideo.ts +11 -13
- package/template/agora-rn-uikit/src/Reducer/UserOffline.ts +18 -15
- package/template/agora-rn-uikit/src/Rtc/Create.tsx +14 -2
- package/template/agora-rn-uikit/src/Rtc/Join.tsx +19 -3
- package/template/agora-rn-uikit/src/RtcConfigure.tsx +161 -44
- package/template/agora-rn-uikit/src/Utils/useLocalUid.ts +8 -0
- package/template/agora-rn-uikit/src/Views/MaxVideoView.native.tsx +8 -6
- package/template/agora-rn-uikit/src/Views/MaxVideoView.tsx +8 -6
- package/template/agora-rn-uikit/src/Views/MinVideoView.tsx +18 -9
- package/template/agora-rn-uikit/src/index.ts +12 -12
- package/template/babel.config.js +17 -1
- package/template/bridge/rtc/webNg/RtcEngine.ts +34 -28
- package/template/bridge/rtc/webNg/SurfaceView.tsx +3 -2
- package/template/bridge/rtc/webNg/Types.ts +14 -0
- package/template/bridge/rtc/webNg/index.ts +5 -2
- package/template/bridge/rtm/web/index.ts +13 -7
- package/template/electron-builder.js +3 -2
- package/template/esbuild.rsdk.go +226 -0
- package/template/{src/subComponents/LayoutEnum.tsx → esbuildConfigTransform.js} +1 -5
- package/template/fpe-api/components.ts +42 -0
- package/template/fpe-api/context.ts +45 -0
- package/template/fpe-api/fpeEvents.ts +9 -0
- package/template/fpe-api/index.ts +21 -0
- package/template/fpe-api/install.ts +128 -0
- package/template/fpe-api/typeDefinition.ts +143 -0
- package/template/fpe-api/useFpe.tsx +35 -0
- package/template/fpe-api/utils.ts +62 -0
- package/template/fpe-implementation/createHook.ts +33 -0
- package/template/fpe-implementation/dummyFpe.ts +17 -0
- package/template/fpe-implementation/index.ts +1 -0
- package/template/fpe-todo.txt +14 -0
- package/template/fpe.config.js +29 -0
- package/template/global.d.ts +4 -0
- package/template/index.rsdk.tsx +27 -0
- package/template/index.wsdk.tsx +27 -0
- package/template/package.json +28 -12
- package/template/react-native-toast-message/src/index.js +9 -10
- package/template/react-native-toast-message/src/index.wsdk.js +419 -0
- package/template/src/App.tsx +97 -65
- package/template/src/AppWrapper.tsx +79 -0
- package/template/src/SDKAppWrapper.tsx +67 -0
- package/template/src/atoms/PrimaryButton.tsx +14 -8
- package/template/src/atoms/TextInput.tsx +13 -5
- package/template/src/components/Chat.tsx +171 -139
- package/template/src/components/ChatContext.ts +14 -22
- package/template/src/components/ColorConfigure.tsx +2 -2
- package/template/src/components/Controls.native.tsx +72 -62
- package/template/src/components/Controls.tsx +90 -69
- package/template/src/components/DeviceConfigure.tsx +1 -1
- package/template/src/components/DeviceContext.tsx +14 -7
- package/template/src/components/GraphQLProvider.tsx +9 -2
- package/template/src/components/GridVideo.tsx +20 -159
- package/template/src/components/HostControlView.tsx +54 -15
- package/template/src/components/Navbar.tsx +408 -157
- package/template/src/components/NetworkQualityContext.tsx +29 -22
- package/template/src/components/ParticipantsView.tsx +91 -115
- package/template/src/components/PinnedVideo.tsx +41 -188
- package/template/src/components/Precall.native.tsx +131 -97
- package/template/src/components/Precall.tsx +193 -158
- package/template/src/components/RTMConfigure.tsx +328 -416
- package/template/src/components/Router.sdk.ts +20 -0
- package/template/src/components/SessionContext.tsx +6 -3
- package/template/src/components/Settings.native.tsx +3 -0
- package/template/src/components/Settings.tsx +65 -31
- package/template/src/components/SettingsView.tsx +14 -8
- package/template/src/components/Share.tsx +188 -220
- package/template/src/components/StorageContext.tsx +5 -5
- package/template/src/components/StoreToken.tsx +5 -1
- package/template/src/components/chat-messages/useChatMessages.tsx +208 -0
- package/template/src/components/chat-notification/useChatNotification.tsx +78 -0
- package/template/src/components/chat-ui/useChatUIControl.tsx +66 -0
- package/template/src/components/common/Error.tsx +54 -0
- package/template/src/components/common/Logo.tsx +35 -0
- package/template/src/components/common/index.tsx +8 -0
- package/template/src/components/contexts/LiveStreamDataContext.tsx +79 -0
- package/template/src/components/contexts/ScreenShareContext.tsx +47 -0
- package/template/src/components/contexts/WhiteboardContext.tsx +59 -0
- package/template/src/components/dimension/DimensionContext.ts +27 -0
- package/template/src/components/dimension/DimensionProvider.tsx +34 -0
- package/template/src/components/livestream/LiveStreamContext.tsx +293 -272
- package/template/src/components/livestream/Types.ts +26 -7
- package/template/src/components/livestream/index.ts +13 -2
- package/template/src/components/livestream/views/LiveStreamControls.tsx +5 -1
- package/template/src/components/meeting-info/useMeetingInfo.tsx +63 -0
- package/template/src/components/meeting-info/useSetMeetingInfo.tsx +38 -0
- package/template/src/components/participants/AllAudienceParticipants.tsx +26 -21
- package/template/src/components/participants/AllHostParticipants.tsx +41 -53
- package/template/src/components/participants/MeParticipant.tsx +9 -10
- package/template/src/components/participants/ParticipantName.tsx +2 -1
- package/template/src/components/participants/RemoteParticipants.tsx +3 -3
- package/template/src/components/precall/LocalMute.native.tsx +91 -0
- package/template/src/components/precall/LocalMute.tsx +90 -0
- package/template/src/components/precall/VideoPreview.native.tsx +35 -0
- package/template/src/components/precall/VideoPreview.tsx +33 -0
- package/template/src/components/precall/index.tsx +28 -0
- package/template/src/components/precall/joinCallBtn.native.tsx +69 -0
- package/template/src/components/precall/joinCallBtn.tsx +91 -0
- package/template/src/components/precall/meetingTitle.tsx +26 -0
- package/template/src/components/precall/selectDevice.tsx +46 -0
- package/template/src/components/precall/textInput.tsx +43 -0
- package/template/src/components/precall/usePreCall.tsx +41 -0
- package/template/src/components/styles.ts +20 -3
- package/template/src/components/useShareLink.tsx +239 -0
- package/template/src/components/useWakeLock.tsx +3 -3
- package/template/src/custom-events/CustomEvents.ts +221 -0
- package/template/src/custom-events/index.tsx +4 -0
- package/template/src/custom-events/types.ts +51 -0
- package/template/src/language/default-labels/commonLabels.ts +21 -0
- package/template/src/language/default-labels/createScreenLabels.ts +22 -0
- package/template/src/language/default-labels/index.ts +38 -0
- package/template/src/language/default-labels/joinScreenLabels.ts +13 -0
- package/template/src/language/default-labels/precallScreenLabels.ts +33 -0
- package/template/src/language/default-labels/shareLinkScreenLabels.ts +44 -0
- package/template/src/language/default-labels/videoCallScreenLabels.ts +189 -0
- package/template/src/language/i18nTypes.ts +10 -0
- package/template/src/language/index.ts +18 -0
- package/template/src/language/useLanguage.tsx +92 -0
- package/template/src/pages/Authenticate.tsx +21 -15
- package/template/src/pages/Create.tsx +176 -159
- package/template/src/pages/Join.tsx +44 -32
- package/template/src/pages/VideoCall.tsx +134 -406
- package/template/src/pages/create/useCreate.tsx +37 -0
- package/template/src/pages/video-call/CustomLayout.ts +17 -0
- package/template/src/pages/video-call/CustomUserContextHolder.tsx +12 -0
- package/template/src/pages/video-call/DefaultLayouts.ts +65 -0
- package/template/src/pages/video-call/NameWithMicStatus.tsx +62 -0
- package/template/src/pages/video-call/RenderComponent.tsx +52 -0
- package/template/src/pages/video-call/VideoCallScreen.tsx +191 -0
- package/template/src/pages/video-call/VideoComponent.tsx +34 -0
- package/template/src/pages/video-call/VideoRenderer.tsx +86 -0
- package/template/src/pages/video-call/index.ts +20 -0
- package/template/src/rtm/RTMEngine.ts +58 -0
- package/template/src/rtm/utils.ts +44 -0
- package/template/src/rtm-events/EventUtils.ts +267 -0
- package/template/src/rtm-events/EventsQueue.ts +38 -0
- package/template/src/rtm-events/constants.ts +40 -0
- package/template/src/rtm-events/index.tsx +8 -0
- package/template/src/rtm-events/types.ts +7 -0
- package/template/src/subComponents/ChatBubble.tsx +18 -11
- package/template/src/subComponents/ChatContainer.tsx +79 -30
- package/template/src/subComponents/ChatInput.tsx +146 -70
- package/template/src/subComponents/CopyJoinInfo.tsx +52 -67
- package/template/src/subComponents/Error.tsx +35 -24
- package/template/src/subComponents/LanguageSelector.tsx +85 -0
- package/template/src/subComponents/LayoutIconDropdown.native.tsx +163 -0
- package/template/src/subComponents/LayoutIconDropdown.tsx +198 -0
- package/template/src/subComponents/LocalAudioMute.tsx +52 -30
- package/template/src/subComponents/LocalEndCall.tsx +52 -0
- package/template/src/subComponents/LocalSwitchCamera.tsx +61 -0
- package/template/src/subComponents/LocalVideoMute.tsx +48 -30
- package/template/src/subComponents/LogoutButton.tsx +20 -5
- package/template/src/subComponents/NetworkQualityPill.tsx +43 -13
- package/template/src/subComponents/OpenInNativeButton.tsx +3 -2
- package/template/src/subComponents/Recording.tsx +46 -138
- package/template/src/subComponents/RemoteAudioMute.tsx +30 -34
- package/template/src/subComponents/RemoteEndCall.tsx +18 -7
- package/template/src/subComponents/RemoteVideoMute.tsx +17 -9
- package/template/src/subComponents/ScreenShareNotice.tsx +40 -40
- package/template/src/subComponents/SelectDevice.tsx +88 -45
- package/template/src/subComponents/SelectOAuth.tsx +30 -6
- package/template/src/subComponents/SidePanelButtons.ts +39 -0
- package/template/src/subComponents/TextWithTooltip.native.tsx +2 -1
- package/template/src/subComponents/TextWithTooltip.tsx +15 -20
- package/template/src/subComponents/chat/ChatParticipants.tsx +31 -32
- package/template/src/subComponents/livestream/ApprovedLiveStreamControlsView.tsx +7 -3
- package/template/src/subComponents/livestream/CurrentLiveStreamRequestsView.tsx +32 -18
- package/template/src/subComponents/livestream/controls/LocalRaiseHand.tsx +22 -8
- package/template/src/subComponents/livestream/controls/RemoteLiveStreamApprovedRequestRecall.tsx +12 -7
- package/template/src/subComponents/livestream/controls/RemoteLiveStreamRequestApprove.tsx +24 -27
- package/template/src/subComponents/livestream/controls/RemoteLiveStreamRequestReject.tsx +23 -26
- package/template/src/subComponents/livestream/index.ts +10 -2
- package/template/src/subComponents/recording/useRecording.tsx +209 -0
- package/template/src/subComponents/recording/useRecordingLayoutQuery.tsx +64 -0
- package/template/src/subComponents/screenshare/ScreenshareButton.native.tsx +18 -0
- package/template/src/subComponents/screenshare/ScreenshareButton.tsx +61 -31
- package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +57 -52
- package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +102 -143
- package/template/src/subComponents/screenshare/useScreenshare.tsx +29 -0
- package/template/src/subComponents/toastConfig.tsx +25 -20
- package/template/src/utils/IsAttendeeUser.ts +34 -0
- package/template/src/utils/SdkEvents.ts +68 -0
- package/template/src/utils/common.tsx +40 -0
- package/template/src/utils/eventEmitter.ts +29 -0
- package/template/src/utils/getMeetingInvite.ts +30 -0
- package/template/src/utils/index.tsx +11 -2
- package/template/src/utils/isAudioEnabled.ts +29 -0
- package/template/src/utils/isHostUser.ts +33 -0
- package/template/src/utils/isMobileOrTablet.native.ts +5 -0
- package/template/src/utils/{mobileWebTest.tsx → isMobileOrTablet.ts} +5 -2
- package/template/src/utils/isPSTNUser.ts +30 -0
- package/template/src/utils/isSDK.sdk.ts +5 -0
- package/template/src/utils/isSDK.ts +5 -0
- package/template/src/utils/isScreenShareUser.ts +31 -0
- package/template/src/utils/isVideoEnabled.ts +29 -0
- package/template/src/utils/useButtonTemplate.tsx +43 -0
- package/template/src/utils/useCreateMeeting.ts +74 -0
- package/template/src/utils/useGetLiveStreamingRequests.ts +24 -0
- package/template/src/utils/useGetMeetingPhrase.ts +68 -0
- package/template/src/utils/useGetName.ts +20 -0
- package/template/src/{subComponents/screenshare/ScreenshareContext.tsx → utils/useGroupMessages.ts} +10 -7
- package/template/src/utils/useJoinMeeting.ts +120 -0
- package/template/src/utils/useLayout.tsx +40 -0
- package/template/src/utils/useLiveStreamingUids.ts +26 -0
- package/template/src/utils/useMutePSTN.ts +43 -0
- package/template/src/utils/useMuteToggleLocal.ts +109 -0
- package/template/src/utils/useNavParams.ts +6 -0
- package/template/src/utils/useNavigateTo.ts +8 -0
- package/template/src/utils/usePrivateMessages.ts +33 -0
- package/template/src/utils/useRemoteEndCall.ts +27 -0
- package/template/src/utils/useRemoteMute.ts +64 -0
- package/template/src/utils/useSendControlMessage.ts +51 -0
- package/template/src/utils/useSendMessage.ts +40 -0
- package/template/src/utils/useSetName.ts +20 -0
- package/template/src/utils/useSetUnreadMessageCount.ts +43 -0
- package/template/src/utils/useSidePanel.tsx +41 -0
- package/template/src/utils/useString.ts +61 -0
- package/template/src/utils/useUnreadMessageCount.ts +50 -0
- package/template/src/utils/useUserList.ts +26 -0
- package/template/tsconfig.json +4 -4
- package/template/tsconfig_fpeApi.json +103 -0
- package/template/tsconfig_rsdk_index.json +105 -0
- package/template/tsconfig_wsdk_index.json +104 -0
- package/template/webpack.commons.js +40 -16
- package/template/webpack.main.config.js +2 -1
- package/template/webpack.renderer.config.js +1 -1
- package/template/webpack.rsdk.config.js +33 -0
- package/template/webpack.ts.config.js +89 -0
- package/template/webpack.web.config.js +8 -1
- package/template/webpack.wsdk.config.js +34 -0
- package/template/agora-rn-uikit/.git/HEAD +0 -1
- package/template/agora-rn-uikit/.git/config +0 -16
- package/template/agora-rn-uikit/.git/description +0 -1
- package/template/agora-rn-uikit/.git/hooks/applypatch-msg.sample +0 -15
- package/template/agora-rn-uikit/.git/hooks/commit-msg.sample +0 -24
- package/template/agora-rn-uikit/.git/hooks/fsmonitor-watchman.sample +0 -173
- package/template/agora-rn-uikit/.git/hooks/post-update.sample +0 -8
- package/template/agora-rn-uikit/.git/hooks/pre-applypatch.sample +0 -14
- package/template/agora-rn-uikit/.git/hooks/pre-commit.sample +0 -49
- package/template/agora-rn-uikit/.git/hooks/pre-merge-commit.sample +0 -13
- package/template/agora-rn-uikit/.git/hooks/pre-push.sample +0 -53
- package/template/agora-rn-uikit/.git/hooks/pre-rebase.sample +0 -169
- package/template/agora-rn-uikit/.git/hooks/pre-receive.sample +0 -24
- package/template/agora-rn-uikit/.git/hooks/prepare-commit-msg.sample +0 -42
- package/template/agora-rn-uikit/.git/hooks/push-to-checkout.sample +0 -78
- package/template/agora-rn-uikit/.git/hooks/update.sample +0 -128
- package/template/agora-rn-uikit/.git/index +0 -0
- package/template/agora-rn-uikit/.git/info/exclude +0 -6
- package/template/agora-rn-uikit/.git/logs/HEAD +0 -2
- package/template/agora-rn-uikit/.git/logs/refs/heads/ab-dev-auto +0 -1
- package/template/agora-rn-uikit/.git/logs/refs/heads/master +0 -1
- package/template/agora-rn-uikit/.git/logs/refs/remotes/origin/HEAD +0 -1
- package/template/agora-rn-uikit/.git/objects/pack/pack-0061d00cd98162a329a32b537488a35d0abeb069.idx +0 -0
- package/template/agora-rn-uikit/.git/objects/pack/pack-0061d00cd98162a329a32b537488a35d0abeb069.pack +0 -0
- package/template/agora-rn-uikit/.git/packed-refs +0 -24
- package/template/agora-rn-uikit/.git/refs/heads/ab-dev-auto +0 -1
- package/template/agora-rn-uikit/.git/refs/heads/master +0 -1
- package/template/agora-rn-uikit/.git/refs/remotes/origin/HEAD +0 -1
- package/template/agora-rn-uikit/.gitignore +0 -63
- package/template/agora-rn-uikit/package-lock.json +0 -7612
- package/template/agora-rn-uikit/src/Contexts/MaxUidContext.tsx +0 -7
- package/template/agora-rn-uikit/src/Contexts/MinUidContext.tsx +0 -8
- package/template/package-lock.json +0 -22923
- package/template/react-native-toast-message/.gitignore +0 -5
- package/template/react-native-toast-message/.npmignore +0 -5
- package/template/react-native-toast-message/package-lock.json +0 -10553
- package/template/src/.DS_Store +0 -0
- package/template/src/components/participants/context/ParticipantContext.tsx +0 -97
- package/template/src/subComponents/.DS_Store +0 -0
- package/template/src/subComponents/ScreenshareButton.tsx +0 -257
- package/template/src/subComponents/SwitchCamera.tsx +0 -35
- package/template/src/utils/hasBrandLogo.tsx +0 -3
- package/template/src/utils/mobileWebTest.native.tsx +0 -5
- package/template/src/utils/shouldAuthenticate.tsx +0 -7
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
# An example hook script to update a checked-out tree on a git push.
|
|
4
|
-
#
|
|
5
|
-
# This hook is invoked by git-receive-pack(1) when it reacts to git
|
|
6
|
-
# push and updates reference(s) in its repository, and when the push
|
|
7
|
-
# tries to update the branch that is currently checked out and the
|
|
8
|
-
# receive.denyCurrentBranch configuration variable is set to
|
|
9
|
-
# updateInstead.
|
|
10
|
-
#
|
|
11
|
-
# By default, such a push is refused if the working tree and the index
|
|
12
|
-
# of the remote repository has any difference from the currently
|
|
13
|
-
# checked out commit; when both the working tree and the index match
|
|
14
|
-
# the current commit, they are updated to match the newly pushed tip
|
|
15
|
-
# of the branch. This hook is to be used to override the default
|
|
16
|
-
# behaviour; however the code below reimplements the default behaviour
|
|
17
|
-
# as a starting point for convenient modification.
|
|
18
|
-
#
|
|
19
|
-
# The hook receives the commit with which the tip of the current
|
|
20
|
-
# branch is going to be updated:
|
|
21
|
-
commit=$1
|
|
22
|
-
|
|
23
|
-
# It can exit with a non-zero status to refuse the push (when it does
|
|
24
|
-
# so, it must not modify the index or the working tree).
|
|
25
|
-
die () {
|
|
26
|
-
echo >&2 "$*"
|
|
27
|
-
exit 1
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
# Or it can make any necessary changes to the working tree and to the
|
|
31
|
-
# index to bring them to the desired state when the tip of the current
|
|
32
|
-
# branch is updated to the new commit, and exit with a zero status.
|
|
33
|
-
#
|
|
34
|
-
# For example, the hook can simply run git read-tree -u -m HEAD "$1"
|
|
35
|
-
# in order to emulate git fetch that is run in the reverse direction
|
|
36
|
-
# with git push, as the two-tree form of git read-tree -u -m is
|
|
37
|
-
# essentially the same as git switch or git checkout that switches
|
|
38
|
-
# branches while keeping the local changes in the working tree that do
|
|
39
|
-
# not interfere with the difference between the branches.
|
|
40
|
-
|
|
41
|
-
# The below is a more-or-less exact translation to shell of the C code
|
|
42
|
-
# for the default behaviour for git's push-to-checkout hook defined in
|
|
43
|
-
# the push_to_deploy() function in builtin/receive-pack.c.
|
|
44
|
-
#
|
|
45
|
-
# Note that the hook will be executed from the repository directory,
|
|
46
|
-
# not from the working tree, so if you want to perform operations on
|
|
47
|
-
# the working tree, you will have to adapt your code accordingly, e.g.
|
|
48
|
-
# by adding "cd .." or using relative paths.
|
|
49
|
-
|
|
50
|
-
if ! git update-index -q --ignore-submodules --refresh
|
|
51
|
-
then
|
|
52
|
-
die "Up-to-date check failed"
|
|
53
|
-
fi
|
|
54
|
-
|
|
55
|
-
if ! git diff-files --quiet --ignore-submodules --
|
|
56
|
-
then
|
|
57
|
-
die "Working directory has unstaged changes"
|
|
58
|
-
fi
|
|
59
|
-
|
|
60
|
-
# This is a rough translation of:
|
|
61
|
-
#
|
|
62
|
-
# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
|
|
63
|
-
if git cat-file -e HEAD 2>/dev/null
|
|
64
|
-
then
|
|
65
|
-
head=HEAD
|
|
66
|
-
else
|
|
67
|
-
head=$(git hash-object -t tree --stdin </dev/null)
|
|
68
|
-
fi
|
|
69
|
-
|
|
70
|
-
if ! git diff-index --quiet --cached --ignore-submodules $head --
|
|
71
|
-
then
|
|
72
|
-
die "Working directory has staged changes"
|
|
73
|
-
fi
|
|
74
|
-
|
|
75
|
-
if ! git read-tree -u -m "$commit"
|
|
76
|
-
then
|
|
77
|
-
die "Could not update working tree to new HEAD"
|
|
78
|
-
fi
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
# An example hook script to block unannotated tags from entering.
|
|
4
|
-
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
|
|
5
|
-
#
|
|
6
|
-
# To enable this hook, rename this file to "update".
|
|
7
|
-
#
|
|
8
|
-
# Config
|
|
9
|
-
# ------
|
|
10
|
-
# hooks.allowunannotated
|
|
11
|
-
# This boolean sets whether unannotated tags will be allowed into the
|
|
12
|
-
# repository. By default they won't be.
|
|
13
|
-
# hooks.allowdeletetag
|
|
14
|
-
# This boolean sets whether deleting tags will be allowed in the
|
|
15
|
-
# repository. By default they won't be.
|
|
16
|
-
# hooks.allowmodifytag
|
|
17
|
-
# This boolean sets whether a tag may be modified after creation. By default
|
|
18
|
-
# it won't be.
|
|
19
|
-
# hooks.allowdeletebranch
|
|
20
|
-
# This boolean sets whether deleting branches will be allowed in the
|
|
21
|
-
# repository. By default they won't be.
|
|
22
|
-
# hooks.denycreatebranch
|
|
23
|
-
# This boolean sets whether remotely creating branches will be denied
|
|
24
|
-
# in the repository. By default this is allowed.
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
# --- Command line
|
|
28
|
-
refname="$1"
|
|
29
|
-
oldrev="$2"
|
|
30
|
-
newrev="$3"
|
|
31
|
-
|
|
32
|
-
# --- Safety check
|
|
33
|
-
if [ -z "$GIT_DIR" ]; then
|
|
34
|
-
echo "Don't run this script from the command line." >&2
|
|
35
|
-
echo " (if you want, you could supply GIT_DIR then run" >&2
|
|
36
|
-
echo " $0 <ref> <oldrev> <newrev>)" >&2
|
|
37
|
-
exit 1
|
|
38
|
-
fi
|
|
39
|
-
|
|
40
|
-
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
|
|
41
|
-
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
|
|
42
|
-
exit 1
|
|
43
|
-
fi
|
|
44
|
-
|
|
45
|
-
# --- Config
|
|
46
|
-
allowunannotated=$(git config --type=bool hooks.allowunannotated)
|
|
47
|
-
allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
|
|
48
|
-
denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
|
|
49
|
-
allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
|
|
50
|
-
allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
|
|
51
|
-
|
|
52
|
-
# check for no description
|
|
53
|
-
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
|
|
54
|
-
case "$projectdesc" in
|
|
55
|
-
"Unnamed repository"* | "")
|
|
56
|
-
echo "*** Project description file hasn't been set" >&2
|
|
57
|
-
exit 1
|
|
58
|
-
;;
|
|
59
|
-
esac
|
|
60
|
-
|
|
61
|
-
# --- Check types
|
|
62
|
-
# if $newrev is 0000...0000, it's a commit to delete a ref.
|
|
63
|
-
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
|
|
64
|
-
if [ "$newrev" = "$zero" ]; then
|
|
65
|
-
newrev_type=delete
|
|
66
|
-
else
|
|
67
|
-
newrev_type=$(git cat-file -t $newrev)
|
|
68
|
-
fi
|
|
69
|
-
|
|
70
|
-
case "$refname","$newrev_type" in
|
|
71
|
-
refs/tags/*,commit)
|
|
72
|
-
# un-annotated tag
|
|
73
|
-
short_refname=${refname##refs/tags/}
|
|
74
|
-
if [ "$allowunannotated" != "true" ]; then
|
|
75
|
-
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
|
|
76
|
-
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
|
|
77
|
-
exit 1
|
|
78
|
-
fi
|
|
79
|
-
;;
|
|
80
|
-
refs/tags/*,delete)
|
|
81
|
-
# delete tag
|
|
82
|
-
if [ "$allowdeletetag" != "true" ]; then
|
|
83
|
-
echo "*** Deleting a tag is not allowed in this repository" >&2
|
|
84
|
-
exit 1
|
|
85
|
-
fi
|
|
86
|
-
;;
|
|
87
|
-
refs/tags/*,tag)
|
|
88
|
-
# annotated tag
|
|
89
|
-
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
|
|
90
|
-
then
|
|
91
|
-
echo "*** Tag '$refname' already exists." >&2
|
|
92
|
-
echo "*** Modifying a tag is not allowed in this repository." >&2
|
|
93
|
-
exit 1
|
|
94
|
-
fi
|
|
95
|
-
;;
|
|
96
|
-
refs/heads/*,commit)
|
|
97
|
-
# branch
|
|
98
|
-
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
|
|
99
|
-
echo "*** Creating a branch is not allowed in this repository" >&2
|
|
100
|
-
exit 1
|
|
101
|
-
fi
|
|
102
|
-
;;
|
|
103
|
-
refs/heads/*,delete)
|
|
104
|
-
# delete branch
|
|
105
|
-
if [ "$allowdeletebranch" != "true" ]; then
|
|
106
|
-
echo "*** Deleting a branch is not allowed in this repository" >&2
|
|
107
|
-
exit 1
|
|
108
|
-
fi
|
|
109
|
-
;;
|
|
110
|
-
refs/remotes/*,commit)
|
|
111
|
-
# tracking branch
|
|
112
|
-
;;
|
|
113
|
-
refs/remotes/*,delete)
|
|
114
|
-
# delete tracking branch
|
|
115
|
-
if [ "$allowdeletebranch" != "true" ]; then
|
|
116
|
-
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
|
|
117
|
-
exit 1
|
|
118
|
-
fi
|
|
119
|
-
;;
|
|
120
|
-
*)
|
|
121
|
-
# Anything else (is there anything else?)
|
|
122
|
-
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
|
|
123
|
-
exit 1
|
|
124
|
-
;;
|
|
125
|
-
esac
|
|
126
|
-
|
|
127
|
-
# --- Finished
|
|
128
|
-
exit 0
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com> 1657173940 +0530 clone: from https://github.com/AgoraIO-Community/ReactNative-UIKit
|
|
2
|
-
d3828abad4998b3ae014de717a63d8a20b15762a f27948778f3d89af8ae9f1e8d881682f6103c9be nitte93 <nitte.tiwari1993@gmail.com> 1657173941 +0530 checkout: moving from master to ab-dev-auto
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 f27948778f3d89af8ae9f1e8d881682f6103c9be nitte93 <nitte.tiwari1993@gmail.com> 1657173941 +0530 branch: Created from refs/remotes/origin/ab-dev-auto
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com> 1657173940 +0530 clone: from https://github.com/AgoraIO-Community/ReactNative-UIKit
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com> 1657173940 +0530 clone: from https://github.com/AgoraIO-Community/ReactNative-UIKit
|
package/template/agora-rn-uikit/.git/objects/pack/pack-0061d00cd98162a329a32b537488a35d0abeb069.idx
DELETED
|
Binary file
|
package/template/agora-rn-uikit/.git/objects/pack/pack-0061d00cd98162a329a32b537488a35d0abeb069.pack
DELETED
|
Binary file
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# pack-refs with: peeled fully-peeled sorted
|
|
2
|
-
f27948778f3d89af8ae9f1e8d881682f6103c9be refs/remotes/origin/ab-dev-auto
|
|
3
|
-
fd59daf4876e4eb142856957f9450ef5175f4e0f refs/remotes/origin/app-builder
|
|
4
|
-
c60cde905c722aeaf8f25aeed2910a7b4d532cfa refs/remotes/origin/app-builder-dev
|
|
5
|
-
83064dc5031b9a88a170c6b91ee725ad072eadb1 refs/remotes/origin/bugfix/camera-green-light-on-precall
|
|
6
|
-
493c31b131d7babd62613fd522d22e66d1556560 refs/remotes/origin/bugfix/fix-types-rtcprops
|
|
7
|
-
b2020fb3e8c0b39d1d39dfcf019849914bca467f refs/remotes/origin/bugfix/togglerole-should-be-children
|
|
8
|
-
5d4f38ae0a89b20275e2497a4e8f43b0ca2830e4 refs/remotes/origin/dev
|
|
9
|
-
4ec093e51924049e37d247d867a5482a9376a8cf refs/remotes/origin/docs
|
|
10
|
-
002960cf34f06ffd3e905e6de9865460f02bd910 refs/remotes/origin/feat/icon-tint
|
|
11
|
-
82207f40106655312beafed4cfa790ac7c0f5471 refs/remotes/origin/feature/custom_layout
|
|
12
|
-
ce7c971ae62c8fd92d180fa2fb7e5600b4a0a300 refs/remotes/origin/feature/fpe-internationlization
|
|
13
|
-
55b1e6f710a1fc38b49480a8cc6cd374264486cf refs/remotes/origin/feature/fpe_changes
|
|
14
|
-
ce7c971ae62c8fd92d180fa2fb7e5600b4a0a300 refs/remotes/origin/feature/life_cycle_events
|
|
15
|
-
7c60e844f617d9c0faf6aa968fdf16b16d0e59ce refs/remotes/origin/feature/ui-kit/raise-hand
|
|
16
|
-
2a6955df4af514b6a8d83ce9423a97594ac3789b refs/remotes/origin/geo_fencing_config
|
|
17
|
-
d3828abad4998b3ae014de717a63d8a20b15762a refs/remotes/origin/master
|
|
18
|
-
b8c591fa4ece61d69d49d2d40120664803bff25b refs/remotes/origin/merge-refactor
|
|
19
|
-
2295420e38a5ab0fe094a36855ad8d360bd4f7fd refs/remotes/origin/merge-refactor-master
|
|
20
|
-
01ad019ae514b6502b64a30b357a20af49b8c8a5 refs/remotes/origin/refactor
|
|
21
|
-
612364439bef5545d47070e9fc33c1fd14c30a76 refs/remotes/origin/release/uikit/blocker-fixes
|
|
22
|
-
ac8929fda04db3663a7c1eb9c71ca6a97728f0eb refs/remotes/origin/v2-legacy
|
|
23
|
-
d772da16c7f1299a7fc8427098aa1a63b9a79081 refs/remotes/origin/video-placeholder
|
|
24
|
-
95c82fdc763067c560fafa23d70cd29f8eecd98a refs/tags/v4.0.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f27948778f3d89af8ae9f1e8d881682f6103c9be
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d3828abad4998b3ae014de717a63d8a20b15762a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ref: refs/remotes/origin/master
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# OSX
|
|
2
|
-
#
|
|
3
|
-
.DS_Store
|
|
4
|
-
|
|
5
|
-
# Xcode
|
|
6
|
-
#
|
|
7
|
-
build/
|
|
8
|
-
*.pbxuser
|
|
9
|
-
!default.pbxuser
|
|
10
|
-
*.mode1v3
|
|
11
|
-
!default.mode1v3
|
|
12
|
-
*.mode2v3
|
|
13
|
-
!default.mode2v3
|
|
14
|
-
*.perspectivev3
|
|
15
|
-
!default.perspectivev3
|
|
16
|
-
xcuserdata
|
|
17
|
-
*.xccheckout
|
|
18
|
-
*.moved-aside
|
|
19
|
-
DerivedData
|
|
20
|
-
*.hmap
|
|
21
|
-
*.ipa
|
|
22
|
-
*.xcuserstate
|
|
23
|
-
|
|
24
|
-
# Android/IntelliJ
|
|
25
|
-
#
|
|
26
|
-
build/
|
|
27
|
-
.idea
|
|
28
|
-
.gradle
|
|
29
|
-
local.properties
|
|
30
|
-
*.iml
|
|
31
|
-
|
|
32
|
-
# Visual Studio Code
|
|
33
|
-
#
|
|
34
|
-
.vscode/
|
|
35
|
-
|
|
36
|
-
# node.js
|
|
37
|
-
#
|
|
38
|
-
node_modules/
|
|
39
|
-
npm-debug.log
|
|
40
|
-
yarn-error.log
|
|
41
|
-
|
|
42
|
-
# BUCK
|
|
43
|
-
buck-out/
|
|
44
|
-
\.buckd/
|
|
45
|
-
*.keystore
|
|
46
|
-
!debug.keystore
|
|
47
|
-
|
|
48
|
-
# fastlane
|
|
49
|
-
#
|
|
50
|
-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
|
51
|
-
# screenshots whenever they are needed.
|
|
52
|
-
# For more information about the recommended setup visit:
|
|
53
|
-
# https://docs.fastlane.tools/best-practices/source-control/
|
|
54
|
-
|
|
55
|
-
*/fastlane/report.xml
|
|
56
|
-
*/fastlane/Preview.html
|
|
57
|
-
*/fastlane/screenshots
|
|
58
|
-
|
|
59
|
-
# Bundle artifact
|
|
60
|
-
*.jsbundle
|
|
61
|
-
|
|
62
|
-
# CocoaPods
|
|
63
|
-
/ios/Pods/
|