Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nt/video n background upload #2795

Merged
merged 119 commits into from Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
ba3e2f0
added upload package
noumantahir Sep 28, 2023
8d55a0f
test integration of background upload
noumantahir Sep 28, 2023
221c5a6
Merge branch 'development' into nt/video-n-background-upload
noumantahir Oct 11, 2023
bede7d2
replacing placeholder after upload
noumantahir Oct 11, 2023
763b4cb
Merge remote-tracking branch 'origin/development' into nt/video-n-bac…
noumantahir Oct 13, 2023
7db5bd7
setup better dev environment for better testing media uploads
noumantahir Oct 13, 2023
2873267
intgrated upload service with uploads mutation
noumantahir Oct 13, 2023
22837b6
Merge branch 'development' into nt/video-n-background-upload
noumantahir Oct 18, 2023
ec6858b
spk api draft
noumantahir Oct 18, 2023
6c02c4e
working three speak auth and memo decode
noumantahir Oct 19, 2023
4b57f35
updated 3 spk video type
noumantahir Oct 19, 2023
972c960
Merge remote-tracking branch 'origin/development' into nt/video-n-bac…
noumantahir Oct 19, 2023
a66aadc
insert video toolbar button
noumantahir Oct 19, 2023
c829a64
converting speak video to ecency media item object
noumantahir Oct 19, 2023
b0be1d3
converting speak video to ecency media item object
noumantahir Oct 19, 2023
b345777
added query to track video uploads
noumantahir Oct 19, 2023
c18f0ff
support for video and images mode in gallery modal
noumantahir Oct 19, 2023
197d0e7
united media query, inserting video id
noumantahir Oct 19, 2023
dcfae84
successfylly insert both videos and images using single media modal
noumantahir Oct 19, 2023
bac822c
switching between video and image modes with single tap
noumantahir Oct 19, 2023
b092649
Merge remote-tracking branch 'upstream/development' into nt/video-n-b…
noumantahir Oct 20, 2023
2ec7bad
generating speak vidoe url in converter
noumantahir Oct 20, 2023
3ae24d2
inserting formatted video link in editor
noumantahir Oct 20, 2023
c92c8a9
Merge branch 'development' into nt/video-n-background-upload
noumantahir Oct 26, 2023
2cf9387
support for extracting meta for speak video
noumantahir Oct 26, 2023
d45d223
react query devtools integration
noumantahir Nov 1, 2023
95eaf7c
speakData in mediaItem support
noumantahir Nov 1, 2023
877fbf7
following web format for inserting speak video
noumantahir Nov 1, 2023
9ae3873
Merge remote-tracking branch 'origin/development' into nt/video-n-bac…
noumantahir Nov 2, 2023
2dcbc54
added post description field in post options modal
aliseyalvi Sep 29, 2023
d9abcac
* added description field in meta
aliseyalvi Oct 1, 2023
46f2c11
added placeholder for short description input
aliseyalvi Oct 28, 2023
a98ee63
removed extra space from thumbnails list bottom
aliseyalvi Oct 28, 2023
c82c2e1
get description from postBodySummary if description is not present
aliseyalvi Oct 28, 2023
d21c7ce
set post body description on saving draft
aliseyalvi Oct 28, 2023
7cacc4b
removed console log
aliseyalvi Oct 28, 2023
c3bcb44
lint rules update
noumantahir Nov 2, 2023
c4fca1e
initial lint --no-verify
noumantahir Nov 2, 2023
df1d6cb
using Number.isNan
noumantahir Nov 2, 2023
3b57e8a
using ** operation instead of math.pow
noumantahir Nov 2, 2023
ffdb1cc
using **
noumantahir Nov 2, 2023
229780e
post parser lint error fixes
noumantahir Nov 2, 2023
066504e
hive uri, wallet, migration error fixes
noumantahir Nov 2, 2023
dcf4b52
no empty function
noumantahir Nov 2, 2023
ee26dbc
organise imports
noumantahir Nov 2, 2023
5d79229
empty function body fixes
noumantahir Nov 2, 2023
081ef12
introduced swap calculator to avoid namespace HiveMarket usage
noumantahir Nov 2, 2023
17f14dc
reduced errors below 200
noumantahir Nov 2, 2023
0b94245
mime-type fix
noumantahir Nov 2, 2023
427d4a8
lint errors below 150
noumantahir Nov 2, 2023
ca95d5e
lint errors less than 80
noumantahir Nov 2, 2023
bcfb97d
update react-codegen deployment target
noumantahir Nov 2, 2023
aab3c40
lint errors down to 20
noumantahir Nov 3, 2023
9ced387
all lint errors resolved
noumantahir Nov 3, 2023
5f947e8
put back pre-commit hook
noumantahir Nov 3, 2023
ff61484
update lint:fix command
noumantahir Nov 3, 2023
90a82b0
import clean up
noumantahir Nov 3, 2023
773bd4c
lint fix
noumantahir Nov 14, 2023
51b45af
cross compatible drafts with speak video items
noumantahir Nov 14, 2023
946b9c1
added todo tags
noumantahir Nov 14, 2023
b7238dc
lint
noumantahir Nov 14, 2023
6116ab7
refractored editor queries
noumantahir Nov 15, 2023
6505624
building speak urls before publishing content
noumantahir Nov 15, 2023
09be4de
adding unpublished meta to new post submission
noumantahir Nov 15, 2023
ccd7d99
rendering video status
noumantahir Nov 15, 2023
3139a00
added multiple unpublished video fail safe
noumantahir Nov 15, 2023
0300772
updated counter for inserted videos and images
noumantahir Nov 15, 2023
585c61e
remove test alert
noumantahir Nov 15, 2023
6e60a61
added beneficiary todo
noumantahir Nov 15, 2023
b25035c
setting beneficiaries for ubpublished video, added redundency during …
noumantahir Nov 16, 2023
f6e990f
lint
noumantahir Nov 16, 2023
cd7db57
removed test alert
noumantahir Nov 16, 2023
e453dea
hide unpublished videos for edits and replies
noumantahir Nov 16, 2023
f4de28c
added barebone speak uploader modal view
noumantahir Nov 17, 2023
9a2f4f7
lint
noumantahir Nov 17, 2023
61271e2
first video selection to upload simple post
noumantahir Nov 17, 2023
8272fc2
using tus client to upload video and thumb
noumantahir Nov 17, 2023
5f140f6
lint
noumantahir Nov 17, 2023
88871cc
preivew video and pulling vid thumbhnail
noumantahir Nov 17, 2023
e32d4ea
Merge branch 'development' into nt/video-n-background-upload
noumantahir Nov 20, 2023
381def7
lint
noumantahir Nov 20, 2023
117dc95
updatede speak api calls to use speakApi instance
noumantahir Nov 20, 2023
dbe5353
post merge xcode project update
noumantahir Nov 20, 2023
c1cfb81
updating query cache after video upload
noumantahir Nov 20, 2023
f00d275
refetching fresh speak videos every second if even one of item is und…
noumantahir Nov 20, 2023
41d9c6e
fixed bug with metadata extractor
noumantahir Nov 21, 2023
ff67120
fixed bug with metadata extractor
noumantahir Nov 21, 2023
c0fc899
returning video meta reference
noumantahir Nov 21, 2023
881526c
better handling submit post for video publishing
noumantahir Nov 21, 2023
8da223e
fixed image upload issue
noumantahir Nov 21, 2023
5d0b208
updated video select buttons flow
noumantahir Nov 21, 2023
334e229
fixed uploading flag update bug
noumantahir Nov 21, 2023
0e5771b
improved thumb selection flow
noumantahir Nov 21, 2023
2c3d42e
patched packages tus-client and create-thumbnail fixing android build…
noumantahir Nov 21, 2023
eae0ca7
lint
noumantahir Nov 21, 2023
9b811ba
android path isue fix
noumantahir Nov 21, 2023
e3e751e
extracting filename from file path
noumantahir Nov 21, 2023
635acb1
updated video icons
noumantahir Nov 22, 2023
2bc389a
updated encoding beneficiaries display approach
noumantahir Nov 22, 2023
12c5f86
refined encoding benef merging before release
noumantahir Nov 22, 2023
5055bae
letting thumb selection in post options modal
noumantahir Nov 22, 2023
7fe90a0
saving video thumb url to draft and publish/edit post data
noumantahir Nov 22, 2023
a594308
lint
noumantahir Nov 23, 2023
dd043b5
avoid inserting videos being processed
noumantahir Nov 25, 2023
cdf82b7
updated two en us entries
noumantahir Nov 27, 2023
0148913
android ui fixes for video
noumantahir Nov 27, 2023
894514a
removed test code
noumantahir Nov 27, 2023
6f4faaa
showing uplaod prgress while uplaoding video
noumantahir Nov 27, 2023
6523a13
added spk uploader translations
noumantahir Nov 27, 2023
ff53935
fine tune speak upload modal
noumantahir Nov 28, 2023
c8b89b3
remove test code
noumantahir Nov 28, 2023
b797f7e
removed delete video support
noumantahir Dec 7, 2023
fe44841
restrict scehduel video publishing
noumantahir Dec 7, 2023
3c3d0f5
video scheduling alert update
noumantahir Dec 7, 2023
3270534
update video info support on pubilsh
noumantahir Dec 7, 2023
15a78e2
video delete query and api entries added
noumantahir Dec 8, 2023
f4b912c
support for uploads delete
noumantahir Dec 8, 2023
bddd179
mutating videos data on delete
noumantahir Dec 11, 2023
468f41c
lint
noumantahir Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Expand Up @@ -12,5 +12,6 @@
},
"workbench.colorCustomizations": {
"editorUnnecessaryCode.border": "#dd7aab"
}
},
"java.compile.nullAnalysis.mode": "automatic"
}
6 changes: 3 additions & 3 deletions android/.settings/org.eclipse.buildship.core.prefs
@@ -1,11 +1,11 @@
arguments=--init-script /var/folders/b6/ssclzcc529ld6mllp97qvcg80000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/b6/ssclzcc529ld6mllp97qvcg80000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
auto.sync=false
arguments=--init-script /var/folders/4n/09fh21tj1nz5pqqzh5ky5tb80000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/4n/09fh21tj1nz5pqqzh5ky5tb80000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
auto.sync=true
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home
java.home=/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home
jvm.arguments=
offline.mode=false
override.workspace.settings=true
Expand Down
2 changes: 1 addition & 1 deletion android/app/.classpath
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-12/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
3 changes: 3 additions & 0 deletions android/app/proguard-rules.pro
Expand Up @@ -14,3 +14,6 @@

# -keep class com.swmansion.reanimated.** { *; }
# -keep class com.facebook.react.turbomodule.** { *; }

# config for rn background upload
-keep class net.gotev.uploadservice.** { *; }
22 changes: 22 additions & 0 deletions ios/Podfile.lock
Expand Up @@ -445,6 +445,8 @@ PODS:
- glog
- react-native-background-timer (2.4.1):
- React-Core
- react-native-background-upload (6.6.0):
- React
- react-native-camera (4.2.1):
- React-Core
- react-native-camera/RCT (= 4.2.1)
Expand All @@ -459,6 +461,8 @@ PODS:
- react-native-config/App (= 1.5.1)
- react-native-config/App (1.5.1):
- React-Core
- react-native-create-thumbnail (1.6.4):
- React-Core
- react-native-date-picker (4.2.9):
- React-Core
- react-native-fingerprint-scanner (6.0.0):
Expand Down Expand Up @@ -651,6 +655,9 @@ PODS:
- React-RCTImage
- RNSVG (12.5.1):
- React-Core
- RNTusClient (1.1.0):
- React-Core
- TUSKit (~> 1.4.2)
- RNVectorIcons (6.7.0):
- React
- SDWebImage (5.11.1):
Expand All @@ -665,6 +672,7 @@ PODS:
- TOCropViewController (2.6.1)
- toolbar-android (0.2.1):
- React
- TUSKit (1.4.2)
- Yoga (1.14.0)
- YogaKit (1.18.1):
- Yoga (~> 1.14)
Expand Down Expand Up @@ -726,9 +734,11 @@ DEPENDENCIES:
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- react-native-background-timer (from `../node_modules/react-native-background-timer`)
- react-native-background-upload (from `../node_modules/react-native-background-upload`)
- react-native-camera (from `../node_modules/react-native-camera`)
- "react-native-cameraroll (from `../node_modules/@react-native-community/cameraroll`)"
- react-native-config (from `../node_modules/react-native-config`)
- react-native-create-thumbnail (from `../node_modules/react-native-create-thumbnail`)
- react-native-date-picker (from `../node_modules/react-native-date-picker`)
- react-native-fingerprint-scanner (from `../node_modules/react-native-fingerprint-scanner`)
- react-native-flipper (from `../node_modules/react-native-flipper`)
Expand Down Expand Up @@ -777,6 +787,7 @@ DEPENDENCIES:
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
- RNSVG (from `../node_modules/react-native-svg`)
- RNTusClient (from `../node_modules/react-native-tus-client`)
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
- TcpSockets (from `../node_modules/react-native-tcp`)
- "toolbar-android (from `../node_modules/@react-native-community/toolbar-android`)"
Expand Down Expand Up @@ -816,6 +827,7 @@ SPEC REPOS:
- SDWebImageWebPCoder
- SocketRocket
- TOCropViewController
- TUSKit
- YogaKit

EXTERNAL SOURCES:
Expand Down Expand Up @@ -879,12 +891,16 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/logger"
react-native-background-timer:
:path: "../node_modules/react-native-background-timer"
react-native-background-upload:
:path: "../node_modules/react-native-background-upload"
react-native-camera:
:path: "../node_modules/react-native-camera"
react-native-cameraroll:
:path: "../node_modules/@react-native-community/cameraroll"
react-native-config:
:path: "../node_modules/react-native-config"
react-native-create-thumbnail:
:path: "../node_modules/react-native-create-thumbnail"
react-native-date-picker:
:path: "../node_modules/react-native-date-picker"
react-native-fingerprint-scanner:
Expand Down Expand Up @@ -981,6 +997,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-screens"
RNSVG:
:path: "../node_modules/react-native-svg"
RNTusClient:
:path: "../node_modules/react-native-tus-client"
RNVectorIcons:
:path: "../node_modules/react-native-vector-icons"
TcpSockets:
Expand Down Expand Up @@ -1049,9 +1067,11 @@ SPEC CHECKSUMS:
React-jsinspector: 1c34fea1868136ecde647bc11fae9266d4143693
React-logger: e9f407f9fdf3f3ce7749ae6f88affe63e8446019
react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
react-native-background-upload: 7c608537f87106c93530a3a19a853afd55466823
react-native-camera: 3eae183c1d111103963f3dd913b65d01aef8110f
react-native-cameraroll: e2917a5e62da9f10c3d525e157e25e694d2d6dfa
react-native-config: 86038147314e2e6d10ea9972022aa171e6b1d4d8
react-native-create-thumbnail: e022bcdcba8a0b4529a50d3fa1a832ec921be39d
react-native-date-picker: c063a8967058c58a02d7d0e1d655f0453576fb0d
react-native-fingerprint-scanner: ac6656f18c8e45a7459302b84da41a44ad96dbbe
react-native-flipper: c33a4995958ef12a2b2f8290d63bed7adeed7634
Expand Down Expand Up @@ -1100,13 +1120,15 @@ SPEC CHECKSUMS:
RNReanimated: 6668b0587bebd4b15dd849b99e5a9c70fc12ed95
RNScreens: 4830eb40e0793b38849965cd27f4f3a7d7bc65c1
RNSVG: d7d7bc8229af3842c9cfc3a723c815a52cdd1105
RNTusClient: b90393226531c118c4716a2b71128e3b9d9c77ee
RNVectorIcons: 368d6d8b8301224e5ffb6254191f4f8876c2be0d
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
TcpSockets: 4ef55305239923b343ed0a378b1fac188b1373b0
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
toolbar-android: 2a73856e98b750d7e71ce4644d3f41cc98211719
TUSKit: 4bcc2fe13e1b4d6c3bfbaca57d64e64c1be31201
Yoga: 92d086bb705a41cc588599b51db726ba7b1d341c
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

Expand Down
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -82,7 +82,7 @@
"domain-browser": "^1.1.1",
"events": "^1.0.0",
"hive-uri": "^0.2.5",
"hivesigner": "^3.2.7",
"hivesigner": "^3.3.4",
"https-browserify": "~0.0.0",
"intl": "^1.2.5",
"jsc-android": "^241213.1.0",
Expand All @@ -104,10 +104,12 @@
"react-native-animatable": "^1.3.3",
"react-native-autoheight-webview": "^1.5.8",
"react-native-background-timer": "^2.4.1",
"react-native-background-upload": "^6.6.0",
"react-native-bootsplash": "^4.3.2",
"react-native-camera": "^4.2.1",
"react-native-chart-kit": "^6.11.0",
"react-native-config": "^1.5.1",
"react-native-create-thumbnail": "^1.6.4",
"react-native-crypto": "^2.2.0",
"react-native-date-picker": "^4.2.0",
"react-native-device-info": "^10.7.0",
Expand Down Expand Up @@ -154,6 +156,7 @@
"react-native-svg": "^12.1.1",
"react-native-swiper": "^1.6.0-rc.3",
"react-native-tcp": "^4.0.0",
"react-native-tus-client": "^1.1.0",
"react-native-udp": "^4.1.4",
"react-native-unique-id": "^2.0.0",
"react-native-vector-icons": "^6.6.0",
Expand Down Expand Up @@ -212,6 +215,7 @@
"prettier": "^2.0.2",
"prettier-eslint": "^9.0.1",
"react-native-codegen": "^0.0.13",
"react-query-native-devtools": "^4.0.0",
"react-test-renderer": "18.1.0",
"reactotron-react-native": "^5.0.3",
"reactotron-redux": "^3.1.3",
Expand Down