lian
c1d8b9024b
Preview edit file ( #2369 )
...
* Revert "update share link permission (#2328 )"
This reverts commit 6313e54dd7
.
* update share link related UI
Download link(s) to Share link(s)
* update file api
add 'can_preview' and 'can_edit' fields
* update view file page
'invalid extension' to 'File preview unsupported'
* update share popup
1. send file detail request to check if can preview/edit file
2. show or hide share link permission according to api response
3. add tests for can_preview/edit_file func
* use FILEEXT_TYPE_MAP to check if can preview file
2018-09-14 18:13:25 +08:00
shanshuirenjia
b8662376a1
repair menu bug for floder bug ( #2335 )
2018-09-04 16:19:56 +08:00
lian
6313e54dd7
update share link permission ( #2328 )
...
1, download Link -> Share link
2, add can_preview field for file when ajax list lib dir
3, hide preview-only permission if a file can not preview
2018-09-01 16:07:01 +08:00
lian
c8b51b7bfc
update logic of show folder share icon
...
if current user has 'is_admin' library permssion, show folder share icon
2018-08-24 17:54:42 +08:00
llj
1b0e3e1264
[dir view] enable 'copy file/dir to current folder'
2018-08-21 16:58:49 +08:00
llj
d7510c0773
[group repo list, dir view] modification after 'enable users to share personal libraries to departments'
2018-08-10 16:45:20 +08:00
llj
f096ccdf3d
[group owned repo] enable dir private share for sub folders
2018-08-08 15:37:11 +08:00
llj
bc7184f75b
[folder perm] fixup for 'path'
2018-08-07 12:22:36 +08:00
lian
85d2812ca6
Merge pull request #2247 from haiwen/document-bug
...
repair editor menu style for different device
2018-08-01 18:32:07 +08:00
llj
151857e92d
[ajax] fixup for error msg ( #2183 )
2018-07-31 18:15:44 +08:00
shanshuirenjia
998ca7d675
repair the code style
2018-07-31 16:59:46 +08:00
杨顺强
12fb7a18f0
first : modify the editor to be resposed for pc and mobile;
...
second: change the editor menu style for different device;
2018-07-31 15:40:00 +08:00
cainiao222
1cf9becf2c
fix smart-link
2018-07-17 18:54:59 +08:00
cainiao222
349ea9368c
frontend add smart-link
2018-07-11 17:44:32 +08:00
zMingGit
e387c92b99
can set sub-path permission with admin ( #1962 )
...
* can set sub-path permission with admin
* fixup after rebase
2018-05-18 13:46:43 +08:00
llj
b0df96a948
[user panel] group owned library: enable group admin to set folder perm
2018-05-18 12:12:01 +08:00
llj
88478dee1d
[upgrade jquery] modifications, & cleaned up code & files
2018-02-05 16:47:56 +08:00
zhengxie
d37144ef75
Merge branch '6.2'
...
Conflicts:
seahub/templates/base.html
static/scripts/app/views/dir.js
static/scripts/common.js
2017-12-28 15:47:18 +08:00
lian
2fe5db8c76
update lock feature
...
Don't allow delete/rename/move a file when it is locked
2017-12-27 15:03:47 +08:00
llj
07dea7eca4
new design
2017-12-05 17:53:45 +08:00
llj
946002b5c6
[dir view] file comment: fix
2017-10-13 18:00:37 +08:00
llj
b55446551b
[dir view] added 'file comment'
2017-09-26 10:35:16 +08:00
llj
33266638ef
[share] share repo with 'admin' perm: modification
2017-08-30 17:59:14 +08:00
llj
8be017e917
[dirent details] add 'tags'
2017-07-12 10:47:52 +08:00
llj
3905f7b3ef
[dirent details] improvement
2017-07-05 12:17:11 +08:00
llj
5d48dac96c
[dirent details] improvement; show more info for folders
2017-07-04 17:49:36 +08:00
llj
76d58cb025
[dir view] added 'details' for dirent
2017-07-04 14:28:40 +08:00
llj
ce749810e4
[dir view] fix for 'dirent share/del'
2017-06-30 14:33:10 +08:00
llj
a65499610c
[dir view] move dir/file via drag & drop: modification, to remove the effect on 'upload file/folder via drag & drop', and other 'drag & drop'
2017-05-06 15:17:31 +08:00
llj
dbc8d1b041
[dir view] rename: fix
2017-04-22 16:30:58 +08:00
llj
390424fe30
[dir view] enable 'select text' when rename
2017-04-22 15:47:25 +08:00
zhengxie
e6e6e82b82
Merge branch '6.0'
...
Conflicts:
seahub/api2/endpoints/file.py
seahub/urls.py
static/scripts/app/views/share.js
2017-04-17 16:21:22 +08:00
lian
534272ecd2
add name check at front end by js
2017-04-14 14:03:25 +08:00
zhengxie
1b11350f80
Merge branch '6.0'
...
Conflicts:
seahub/templates/sysadmin/sysadmin_backbone.html
seahub/urls.py
seahub/views/sysadmin.py
static/scripts/app/views/dir.js
2017-03-27 13:53:35 +08:00
llj
acc1ebb6eb
[dir view] bugfix for 'magnificPopup' & 'grid-item download'
2017-02-25 17:36:07 +08:00
llj
8f54c031e4
[dir view] fix for 'move via drag & drop'
2017-02-20 17:40:36 +08:00
zhengxie
d82df5fb52
Merge branch '6.0'
...
Conflicts:
media/js/base.js
seahub/api2/views.py
seahub/views/ajax.py
tests/api/test_repo_user_folder_perm.py
2017-02-17 17:11:33 +08:00
llj
01fb83c9b2
[mobile] added 'updateDirOpBarUI'
2017-01-12 11:39:21 +08:00
llj
fd4df3792c
[dir view] modification
2017-01-07 17:55:16 +08:00
lian
77fa8c0c7a
update zip download dir
2017-01-07 14:18:57 +08:00
llj
90a5552a9d
[my libs, dir view] improvement: enlarge clickable area, and etc.
2017-01-04 17:19:57 +08:00
llj
2d7f5339c3
[mobile] dir view: redesigned it
2017-01-04 17:19:57 +08:00
llj
4d4762b1af
[dir view] drag & drop: modified highlight effect
2017-01-04 13:51:38 +08:00
llj
0075764bae
[dir view] drag & drop: highlight the dir item
2017-01-03 18:39:14 +08:00
llj
a076a934f9
[dir view] added 'move dirents by drag & drop'
2016-11-18 12:21:11 +08:00
lian
f20b90da1f
update condition check when display share icon for guest user
2016-11-15 16:16:12 +08:00
lian
04f6b71441
Not allowed to set folder perm if repo not shared out
2016-10-18 13:34:36 +08:00
Daniel Pan
34640eb3e5
Merge pull request #1374 from haiwen/magnificPopup
...
Magnific popup
2016-10-17 15:13:53 +08:00
llj
82f3622a29
[dir view] rewrote 'view image file with magnificPopup'
2016-10-13 17:53:31 +08:00
lian
c24f871a7c
not allow user set folder perm in virtual repo
2016-10-10 15:23:01 +08:00