Shailesh Pandit
2d17dd30e9
For uploaded files use local files for ML Sync
...
Extract out ML work manager and sync job from worker
Start and stop ML Sync job on app start, login and logout
2021-12-12 23:12:18 +05:30
Shailesh Pandit
470f9fb931
Move machine learning types to types folder
2021-12-08 12:43:51 +05:30
Shailesh Pandit
4d89e7df96
Revert comented ffmpeg code
...
As not required after common upload types are extracted out
2021-12-08 12:22:12 +05:30
Shailesh Pandit
d65de21be5
Merge branch 'upload-types-refactor' into machine-learning
2021-12-08 11:59:07 +05:30
Shailesh Pandit
d5199acc43
Extract common types in upload service to upload types
...
Required for not including code required for upload service in other parts just requiring common types
e.g. ffmpegService is included in machine learning web worker while including downloadManager service
2021-12-08 11:53:34 +05:30
Shailesh Pandit
28b77bcf0a
Merge branch 'master' into machine-learning
2021-12-07 18:41:29 +05:30
Abhinav
9dfd2e4ba7
Merge branch 'master' into export-v2
2021-12-07 18:25:44 +05:30
Abhinav
2e92784569
add missing await to save saveMetadataFile
2021-12-07 18:17:46 +05:30
Abhinav
ba1fb670e8
add old sanitizer to get oldname for migration
2021-12-07 18:15:12 +05:30
Abhinav
f13549b2bf
null safety
2021-12-07 18:15:12 +05:30
Abhinav
85d06fc528
fix bugs
2021-12-07 18:15:12 +05:30
Abhinav
27d9d703c7
renamed exported Collection if collection name changed
2021-12-07 16:23:56 +05:30
Abhinav
5257a91864
fix addCollectionExportedRecord calls
2021-12-07 16:02:55 +05:30
Abhinav
6074200b67
better local errors
2021-12-07 15:41:50 +05:30
Abhinav
55b2de1a53
fix collection folder creation
2021-12-07 15:41:38 +05:30
Abhinav
cf09858fb7
only export user personal files
2021-12-07 14:24:28 +05:30
Abhinav
3dd90ba538
fix getUniqueFileSaveName , by providing collectionPath too for checking if file already exists at the fileSavePath
2021-12-07 14:16:37 +05:30
Abhinav
c3e7578019
Merge branch 'master' into fix-queue-processing-order
2021-12-07 13:19:26 +05:30
Abhinav
e925663dba
make internal function private
2021-12-07 13:19:10 +05:30
Abhinav
1476e68e3c
use queueProcessor to make update sequential
2021-12-07 13:14:21 +05:30
Abhinav
710ffd202b
add missing await for saveFileToDisk
2021-12-07 12:56:50 +05:30
Abhinav
2424767e79
null safe variable
2021-12-07 12:54:11 +05:30
Abhinav
42817eb8d2
better function name
2021-12-07 12:53:32 +05:30
Abhinav
8be93db2db
use exists electron API to remove the need of in memory used fileName and collectionName maps
2021-12-07 11:53:48 +05:30
Abhinav
7b739ae003
add suggested observatory header
2021-12-03 20:38:03 +05:30
Abhinav
7df09a17ea
cleanup
2021-12-03 20:20:56 +05:30
Abhinav
20d65749c9
remove unneccasry packages
2021-12-03 20:20:01 +05:30
Abhinav
061320914b
remove unneccesary changes
2021-12-03 20:18:40 +05:30
Abhinav
f9c91cd1e2
dont need HtmlWebpackPlugin and force enable SubresourceIntegrityPlugin
2021-12-03 19:33:33 +05:30
Abhinav
82a15ef66d
run only for non server webpack
2021-12-03 19:01:53 +05:30
Abhinav
28dd87b35b
add html webpack plugin
2021-12-03 18:21:18 +05:30
Abhinav
e2e47d717d
add sub-resource integrity
2021-12-03 17:50:04 +05:30
Abhinav
5df92125f5
add unsafe eval to allow heif.js new Function() call
2021-12-03 17:23:16 +05:30
Abhinav
949dd07821
activate content scurity policy
2021-12-03 14:41:03 +05:30
Abhinav
5931bf87d0
add data: protocol for connect-src and remove require trusted for script
2021-12-03 14:40:12 +05:30
abhinavkgrd
3b157731a8
Merge pull request #260 from ente-io/batch-edit-243
...
Enable batch edit of creation-time for 243
2021-12-03 12:16:41 +05:30
Vishnu Mohandas
79046cc694
Enable batch edit of creation-time for 243
2021-12-03 10:08:54 +05:30
Abhinav
5854a94c13
added testing headers
2021-12-02 17:08:05 +05:30
Abhinav
8ce1ae707a
add back next-secure-header for local use
2021-12-02 16:13:13 +05:30
Abhinav
59b3745dbd
add unsafe inline to style-src
...
no good solution to implement nonce and hash exists current
https://github.com/styled-components/styled-components/issues/2363
https://github.com/vercel/next.js/issues/18557#issuecomment-768205738
2021-12-02 15:28:17 +05:30
Abhinav
7969d20a76
test
2021-12-02 14:54:07 +05:30
Abhinav
e7bed748c4
fix report-uri
2021-12-02 14:49:11 +05:30
Abhinav
e5b9ad70e8
remove script hash
2021-12-02 14:47:25 +05:30
Abhinav
a8ad8b22ff
add missing report to and reporturi to
2021-12-02 14:47:00 +05:30
Abhinav
4b032058d7
move all directive except script-src to header
2021-12-02 14:33:36 +05:30
Abhinav
14094d1ad0
added unsafe inline as fallback to hash for script-src
2021-12-02 13:25:18 +05:30
Abhinav
25ef3a8a44
make content security active
2021-12-02 13:12:07 +05:30
Abhinav
d88e64b2c4
add mode block to xss protection
2021-12-02 13:02:38 +05:30
Abhinav
d51335b630
better formatted csp
2021-12-02 12:57:44 +05:30
Abhinav
e02347486f
remove headers as its not passed to exported app
2021-12-02 12:57:07 +05:30