Commit Graph

141 Commits

Author SHA1 Message Date
weishaoxiong
f95cecff0d fix:
Signed-off-by: weishaoxiong <weishaoxiong2@huawei.com>
2024-02-19 15:25:36 +08:00
weishaoxiong
5a791911b4 fix: add ndk&js interface
Signed-off-by: weishaoxiong <weishaoxiong2@huawei.com>
2024-02-05 09:47:34 +08:00
openharmony_ci
bc63ab6fea
!567 删除remotefileshare接口
Merge pull request !567 from lvyuanyuan/myfeature
2024-01-30 00:54:13 +00:00
openharmony_ci
524b625e30
!602 新增物理路径沙箱路径转换接口-支持备份路径
Merge pull request !602 from yangjingbo/backupSanboxPhy
2024-01-29 15:02:00 +00:00
yang-jingbo1985
c28c0de693 新增物理路径沙箱路径转换接口
Signed-off-by: yangjingbo10 <yangjingbo10@huawei.com>

Change-Id: I6ee31c70b1ca3275b376fb1adc13137f9f2e47df
2024-01-29 19:52:27 +08:00
lvyuanyuan
d30ec2b501 删除remotesharefile接口
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I1192f4c6ea0668eca8cc244569aa52f7cc9a63f0
2024-01-29 17:08:06 +08:00
openharmony_ci
99b387a9bc
!604 app_file_service适配sandbox_manager的uri权限管理
Merge pull request !604 from 崔瑞斌/sandbox_manager
2024-01-24 07:31:30 +00:00
openharmony_ci
3666d7cdf1
!574 修复文件夹授权
Merge pull request !574 from 刘昊天/fix_umount
2024-01-23 08:19:06 +00:00
cuiruibin
0d0506e9f0 适配sandbox_manager授权接口
Signed-off-by: cuiruibin <cuiruibin3@huawei.com>
2024-01-23 15:27:36 +08:00
liuhaotian
91bb178fed 修复文件夹授权问题
Signed-off-by: liuhaotian <liuhaotian15@huawei.com>
Change-Id: I13c59e00e3bb7d3d627d5970f3ae98ef41e1f63c
2024-01-19 17:37:14 +08:00
liuhaotian
54d971d26d fix remote file share
Signed-off-by: liuhaotian <liuhaotian15@huawei.com>
Change-Id: Iddce594195c6b05b6b6dff90cda25c4c3749d36a
2024-01-19 10:40:16 +08:00
cuiruibin
0900c92198 Merge branch 'master' of https://gitee.com/cui-ruibin/filemanagement_app_file_service 2024-01-19 10:33:19 +08:00
zhaogan
224ab5eb32 Issue: #I8P2FC
Description:解决沙箱应用包名被占用的安全问题
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No

Signed-off-by: zhaogan <zhaogan2@huawei.com>
2024-01-10 15:42:24 +08:00
openharmony_ci
9bcc28e69d
!540 fileuri补充继承的uri类的其它接口
Merge pull request !540 from lvyuanyuan/myfeature
2024-01-03 06:40:12 +00:00
lvyuanyuan
5f553fa84f fileuri完善接口
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I946385e265e51acfd054ca702c8d9cab9354567e
2024-01-03 09:15:07 +08:00
cuiruibin
818d43f3ce 删除GrantPermission接口以及相关参数
Signed-off-by: cuiruibin <cuiruibin3@huawei.com>
2023-12-28 14:04:09 +08:00
cuiruibin
f26fd69d5a Merge branch 'master' of https://gitee.com/cui-ruibin/filemanagement_app_file_service 2023-12-27 10:03:54 +08:00
LVB8189
402b1447bb modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-14 20:24:22 +08:00
lvyuanyuan
a1dba5b069 mod device_manager quato
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I8f361b43f27d638d877897e36d60dd8eca4bc0e3
2023-12-06 18:15:10 +08:00
cuiruibin
aa097437ee * 新增PC端Uri转应用沙箱路径
Signed-off-by: cuiruibin <cuiruibin3@huawei.com>
2023-12-05 15:07:01 +08:00
lvyuanyuan
5eaa92ee65 mod device manager quote
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ic1a064051a105a57dc75307ac2b9094365955941
2023-12-04 14:36:07 +08:00
openharmony_ci
6c82b0989e
!430 需求:pc文件授权
Merge pull request !430 from LVB8189/master
2023-12-02 14:49:12 +00:00
LVB8189
213ebd36a7 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-02 20:49:53 +08:00
LVB8189
cf319f3233 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-02 20:31:11 +08:00
LVB8189
2dda2855b7 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-02 20:28:08 +08:00
LVB8189
4b31fb4a93 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-02 16:42:06 +08:00
LVB8189
1eaeaa3c3b modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-02 16:27:33 +08:00
LVB8189
fd8a425147 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-02 11:06:40 +08:00
lvyuanyuan
d434a8c4c3 add dir share
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: If2cd8276008110613991efdab17cbf6eef12c1a2
2023-12-01 18:17:10 +08:00
LVB8189
fb5a56bfdb modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-12-01 10:33:41 +08:00
LVB8189
a318bc3c0d modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-30 19:13:33 +08:00
lvyuanyuan
14c90b84df add fileuri tdd and remove path print
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ieca003cc3034a5ca611845afe7feab588844727c
2023-11-28 14:06:39 +08:00
openharmony_ci
ed6517aa47
!387 添加Cfi新规范
Merge pull request !387 from xujintong/master
2023-11-25 14:36:12 +00:00
xujintong
65b3053a74 优化gn文件
Signed-off-by: xujintong <xujintong@huawei.com>
2023-11-23 16:48:47 +08:00
lvyuanyuan
3ffd81068e fileshare代码整改
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ibded03e615050eb45cfe7817d7943f381bcf5436
2023-11-22 17:57:07 +08:00
openharmony_ci
f96255a82d
!353 需求:获取目录GetFullDirectoryUri接口上库
Merge pull request !353 from LVB8189/master
2023-11-14 13:21:21 +00:00
LVB8189
d0a2650f8e modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-11 17:04:01 +08:00
liuhaotian
5638449f1b 文件分享适配 Broker Uri
Signed-off-by: liuhaotian <liuhaotian15@huawei.com>
Change-Id: I3175a633f55a1591d0b0a83ddd32fa9b30ea34ca
2023-11-08 16:03:40 +08:00
LVB8189
80293c07c1 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-06 17:23:27 +08:00
LVB8189
2978404979 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-06 16:37:57 +08:00
LVB8189
87683cc12a modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-05 18:56:06 +08:00
LVB8189
8ebb347537 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-03 18:34:23 +08:00
LVB8189
a86f5275d4 modify
Signed-off-by: LVB8189 <lvbai1@huawei.com>
2023-11-03 14:21:52 +08:00
openharmony_ci
66ec370217
!342 修复并发场景下文件授权接口导致文件变更的问题
Merge pull request !342 from 刘昊天/lht_fix_concurrency
2023-10-30 14:45:08 +00:00
liuhaotian
770ca36459 修复并发场景下文件授权接口导致文件变更的问题
Signed-off-by: liuhaotian <liuhaotian15@huawei.com>
Change-Id: I01dbc994af3701bfa9830bee06417a012500b415
2023-10-28 01:03:42 +00:00
lvyuanyuan
d82e34e7a7 跨设备粘贴文件失败问题修复
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ie0101188258812ddc265e4ff86ebfe177ef15ff3
2023-10-24 17:05:47 +08:00
lvyuanyuan
3443e73ac8 fileuri mod decode/encode
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I916dfab1cbd93f3ef04d6a44e8b36b2b973ebef6
2023-10-10 17:23:09 +08:00
lvyuanyuan
84bfbdbbd5 bug fix:share failed when userid = 0
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I4275d13cf76daad7fcc1f850a169dfdf7c03dfaa
2023-10-10 12:56:08 +08:00
liuhaotian
39419c31b8 支持应用间文件批量授权
Signed-off-by: liuhaotian <liuhaotian15@huawei.com>
Change-Id: Ia79cce1f55479742d1dc3362a3160ff8147635e7
2023-09-23 11:55:03 +00:00
wangpggg
ead2c2c0ae Optimize judgment conditions
Signed-off-by: wangpggg <wangpeng477@huawei.com>
2023-09-14 17:03:11 +08:00
zhangkaixiang
c0c2195e1b replace space to 040
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-09-05 12:19:00 +00:00
openharmony_ci
e514787df5
!284 跨设备同名文件问题解决
Merge pull request !284 from lvyuanyuan/myfeature
2023-08-30 12:38:42 +00:00
lvyuanyuan
facb241b39 解决跨设备分享同名文件问题
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Iefc8e203489d55a13e2b0e075dd6eb74eff88a31
2023-08-30 18:36:50 +08:00
openharmony_ci
3830c81213
!282 再次进行URI授权时不清理之前的权限
Merge pull request !282 from 张凯祥/revert_delete
2023-08-30 10:27:22 +00:00
openharmony_ci
1ec49507cc
!279 修复分享文件为软连接的问题
Merge pull request !279 from 张凯祥/fix_share_bug
2023-08-30 10:16:37 +00:00
zhangkaixiang
896f73d49b fix up symlink file bug while sharing file
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: Ie0dd9e2b8dd785d86af284b414d4f3069de40534
2023-08-30 07:16:00 +00:00
zhangkaixiang
b71a1e8911 don't delete link files next grant uri permission
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-08-30 05:30:05 +00:00
lvyuanyuan
8a164607ec 解决跨设备同一文件问题
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: If5a5c20dbd6faa842fea1e6237ff80496458fdaf
2023-08-29 21:09:06 +08:00
zhangkaixiang
f8e526b8b7 add sandbox helper native library
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I20df2b10a9ed26d86ab913ca4fb3fd2d76cf33f3
2023-08-19 21:28:32 +08:00
lvyuanyuan
bd6008fa23 fileshare增加路径校验
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I9bf18991edb639c295c76e2992d6e8060f6feba5
2023-08-17 08:09:26 +00:00
zhangkaixiang
4f06fb6435 return realPath when accessing realPath
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-08-15 12:12:23 +08:00
openharmony_ci
77080d6fa2
!256 修复file_share_json配置文件前缀匹配问题
Merge pull request !256 from 张凯祥/fix_file_share_json
2023-08-12 08:21:03 +00:00
zhangkaixiang
80e5b6a1d2 fix file share json bug
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-08-12 14:37:44 +08:00
lvyuanyuan
423a186aa6 告警清理
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ie5a3fb4bfdd6b1d49892c4cf53f3092b62f6c4d0
2023-08-10 03:14:29 +00:00
zhangkaixiang
9b8292b6ab grant uri for all
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: If63073e29e05f9d36fa0f478cbf2613a0bb5a92f
2023-08-08 23:28:30 +08:00
zhangkaixiang
1618552a99 adapt to FAF URI for file share
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I14556efc197cd5515605be72ab468295c31d6762
2023-08-01 21:08:08 +08:00
zhangkaixiang
2db272edfb add uri encode and decode interface
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I726b09d0c8efc4141e6e5a3d90ac72eff63541d4
2023-07-26 10:33:55 +08:00
zhangkaixiang
06383489be add sandbox_helper interface from common_func
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-07-21 14:25:22 +08:00
lvyuanyuan
b03f44f1d1 增加fileuri bundlename为空场景,以及fileuri testcase
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ia603efd15b076b4023057f4f0f64408fd4c16026
2023-07-18 08:11:15 +00:00
openharmony_ci
4902ab5e59
!196 fileUri接口实现
Merge pull request !196 from lvyuanyuan/myfeature
2023-07-18 02:12:36 +00:00
lvyuanyuan
5461b8b36a fileuri实现
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ibe837c7e757e1b6d8ebe8f26097c91d2441cfac9
2023-07-17 13:10:30 +00:00
zhangkaixiang
b59a79dfa2 delete exist shared file when sharing twice
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I829bfb0871cbec559a8defbd265a7c48b87dd224
2023-07-17 19:32:26 +08:00
zhangkaixiang
527fd7792a fix up the bundleName bug
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-07-13 20:08:45 +08:00
zhangkaixiang
ea363b0f9e close dir fd in ioctl
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: Ifed62e80db731caf1ff4f72d274e4eb60fdb470e
2023-07-12 12:19:24 +08:00
zhangkaixiang
e4a8c1a10f add interface GetDfsUriFromLocal
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I89e79a3b551e01baad57653999587c212512faca
2023-07-10 22:11:49 +08:00
zhangkaixiang
c042a670a3 add common function
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I485c3d6119308753dfc3c4d373e40c88b5a0e460
2023-07-09 17:31:57 +08:00
zhangkaixiang
1b06a48d05 adapt to sandbox app share file
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
Change-Id: I7132fb1fbc63ded09401ed6cc94c89eab90cb8e3
2023-06-29 22:24:39 +08:00
y30045862
dd30d07d1c 移除不需要使用的组件
Signed-off-by: yangjingbo10 <yangjingbo10@huawei.com>

Change-Id: I79e6592c86e380242bbca0971140ff7c76869f8b
2023-06-28 19:11:55 +08:00
zhangkaixiang
e762fad363 fix up the security error for share path
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-06-20 16:58:58 +08:00
zhangkaixiang
24ecff450f support dlp application to share file
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-06-17 22:25:13 +08:00
lvyuanyuan
88a98c585e 静态扫描问题修改
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: Ia986e0ad18769542b7634e2b7b4ad48cab7ef688
2023-05-29 12:50:19 +00:00
openharmony_ci
7709556c5c
!131 告警清理
Merge pull request !131 from lvyuanyuan/myfeature
2023-05-24 01:13:17 +00:00
openharmony_ci
0dba5fd202
!132 【文件分享】修复文件分享删除时删除整个目录的bug
Merge pull request !132 from 张凯祥/zkx_fix_file_share
2023-05-23 14:45:43 +00:00
zhangkaixiang
2320990e19 fix up file share error
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-05-23 21:45:41 +08:00
张文迪
e613451d77 dlopen interface
Signed-off-by: 张文迪 <zhangwendi3@huawei.com>
2023-05-23 19:07:39 +08:00
lvyuanyuan
a1008520ef 告警清理
Signed-off-by: lvyuanyuan <lvyuanyuan7@huawei.com>
Change-Id: I8e6cde1b27c64de8b217e246535deb8ac6db4f63
2023-05-23 02:32:38 +00:00
zhangkaixiang
ef2a955d85 handle fuse dir special
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-05-14 00:22:17 +08:00
zhangkaixiang
e43df6748a support fuse and distributedfiles dir to share
Signed-off-by: zhangkaixiang <zhangkaixiang5@huawei.com>
2023-05-12 14:31:47 +08:00
zkx
fac9b6d597 remove warn
Signed-off-by: zkx <zhangkaixiang5@huawei.com>
2023-04-13 14:55:42 +08:00
zhangkaixiang5
719e0bb6b9 Update GetBundleInfoForSelf Interface
Signed-off-by: zhangkaixiang5 <zhangkaixiang5@huawei.com>
2023-03-17 15:06:53 +08:00
zhangkaixiang5@huawei.com
d2dc5b17db Add CreateShareFile and DeleteShareFile Interface. Update IsMediaUri and GetBundleName Function.
Signed-off-by: zhangkaixiang5@huawei.com <zhangkaixiang5@huawei.com>
2023-02-13 17:26:28 +08:00