llj
11a0f4fd2a
[file view] removed 'share' ( #2435 )
2018-10-10 13:51:09 +08:00
zheng xie
7beb852811
Merge pull request #2431 from haiwen/oos-cache
...
add more log when set cache value for OOS
2018-10-09 14:21:58 +08:00
lian
d424848be7
add more log when set cache value for OOS
2018-10-09 14:03:58 +08:00
llj
a0e62bfacb
[system admin] statistic: modified text for 'Storage' ( #2426 )
2018-10-08 17:01:10 +08:00
lian
2569768471
update shared repos api ( #2424 )
...
add 'encrypted' field
2018-10-08 13:49:53 +08:00
zheng xie
0fd0399c36
Merge pull request #2423 from haiwen/6.3-fix_restframework
...
Upgrade rest_framework to 3.3.3 to fix html render error in web api
2018-10-08 11:17:35 +08:00
zhengxie
ddcd19a4a6
Upgrade rest_framework to 3.3.3 to fix html render error in web api
...
ref: https://forum.seafile.com/t/6-3-6-pro-api-broken-user-feedback-as-i-go/7356/5
2018-10-08 10:58:50 +08:00
zheng xie
834ee91033
Merge pull request #2404 from haiwen/6.3-traffic_stats
...
6.3 traffic stats
2018-09-30 11:45:21 +08:00
zhengxie
b6abdd6132
[sys] Update traffic admin and user_traffic_over_limit func
2018-09-30 11:31:22 +08:00
llj
0620273992
[system admin] user/org monthly traffic: modification
...
Conflicts:
seahub/templates/sysadmin/sys_trafficadmin.html
2018-09-28 14:04:36 +08:00
zhengxie
d9dd62e4b2
[sysadmin] refactor traffic stats
2018-09-28 14:04:36 +08:00
zhengxie
604af74579
Update zh_CN lang
2018-09-28 14:03:49 +08:00
zhengxie
1cdb57e6f9
Remove cache check during init which will cause cache errors after restart
2018-09-28 11:28:44 +08:00
zhengxie
9164b3df36
Fix tests
2018-09-27 17:07:23 +08:00
zhengxie
7de83202f8
Fix download link empty username in statistic
2018-09-27 12:06:22 +08:00
llj
4d97d37a6c
[file view] office file: added 'open via client' ( #2376 )
2018-09-25 13:33:43 +08:00
lian
daad7c33e1
update lock file ( #2396 )
...
user has rw permission can unlock file locked by OnlineLock
2018-09-25 13:32:49 +08:00
llj
28cc3762b0
Shared with me ( #2393 )
...
* update api of shared with me
return 'group_name' field if current library is a group owned library
* add api for delete shared in group owned repo
* [shared with me] modification for 'group owned repo'
2018-09-21 15:43:16 +08:00
lian
c51da1c832
update api of shared with me ( #2383 )
...
* update api of shared with me
return 'group_name' field if current library is a group owned library
* add api for delete shared in group owned repo
2018-09-21 15:42:59 +08:00
lian
577e814ae7
fix bug of folder share link
2018-09-21 15:21:15 +08:00
lian
07d243d927
update view shared file/folder ( #2391 )
...
use SHARE_LINK_LOGIN_REQUIRED to control both preview and edit share link
2018-09-20 16:44:49 +08:00
lian
3eaa8e0b61
update role permission ( #2390 )
...
set custom(not default and guest) role's permission to False
if not configured in seahub_settings.py
2018-09-20 16:42:29 +08:00
zhengxie
9db3957030
[ajax] Fix upload link token
2018-09-19 16:09:23 +08:00
zheng xie
60bcb153df
Merge pull request #2382 from haiwen/copy-dirent
...
update ajax multi copy dirents
2018-09-19 14:32:33 +08:00
lian
50ec9f7bdc
update ajax multi copy dirents
...
fix bug when copy directory its subdirectory
2018-09-19 14:25:58 +08:00
lian
f2ec69c043
Merge pull request #2374 from haiwen/6.3-admin-rename-lib
...
admin-rename-lib
2018-09-19 14:12:13 +08:00
llj
3fa4a88a96
[invitation] delete: modification ( #2379 )
2018-09-19 10:08:51 +08:00
zhengxie
4227689c9d
[locales] Update
2018-09-17 15:14:59 +08:00
zhengxie
e39bf2267b
[locale] Update strings
2018-09-17 13:42:19 +08:00
zheng xie
f4f72e7321
Merge pull request #2378 from haiwen/deleted-repo-expire
...
update common user's deleted libraries page
2018-09-17 13:09:55 +08:00
lian
9dd9941430
update common user's deleted libraries page
...
show expire days according to seafile.conf configuration
2018-09-17 12:37:21 +08:00
zhengxie
c4538e716f
[tests] Fix shibboleth middleware
2018-09-15 16:37:20 +08:00
zhengxie
a45e6b5cdd
[shibboleth] Only apply middleware to certain url
2018-09-15 16:13:07 +08:00
wangjianhui
06c9fb65cc
admin-rename-lib
2018-09-15 13:21:40 +08:00
zhengxie
70ff50b30f
[shibboleth] Fix multiple emails sending issue.
...
issue: https://forum.seafile.com/t/seahub-not-sending-mail-invitations/7150/6
2018-09-15 11:32:06 +08:00
llj
ffce0e0778
[system admin, org admin] file access/update, permission: modified ui ( #2370 )
2018-09-15 08:14:15 +08:00
lian
8d196077bf
update can_preview_file func
...
use PREVIEW_FILEEXT.keys() instead of FILEEXT_TYPE_MAP
2018-09-14 18:38:50 +08:00
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
lian
122254905d
Share link auth ( #2358 )
...
* rm view_raw_shared_file
* add SHARE_LINK_LOGIN_REQUIRE setting
to force user login when view preview file/folder share link
2018-09-14 12:05:46 +08:00
zheng xie
f1e98549e5
Merge pull request #2365 from haiwen/6.3-fix_tests
...
[tests] Fix tests
2018-09-13 11:26:05 +08:00
zhengxie
1548fb1ee5
[tests] Fix tests
2018-09-12 18:26:49 +08:00
llj
b14ddfeb31
Traffic fe ( #2363 )
...
* Refactor seafevents msg and add traffic stats API
Squashed commit of the following:
commit 85fe5369f711e1514762d93008f9ebb3c5d49041
Author: zhengxie <xiez1989@gmail.com >
Date: Mon Aug 6 15:48:55 2018 +0800
Add '-link' to access_token op type when generate download/upload link
commit 1817833fc3374f54030e16f3a1283ff6f34ddbf5
Author: zhengxie <xiez1989@gmail.com >
Date: Mon Aug 6 15:28:38 2018 +0800
Refactor file/dir events
1. Remove traffic related msg
2. Rename seahub.stats to seahub.audit for audit related msg
* Fix share link zip task traffic owner
* [admin api] Add org traffic
* [system admin] statistic: added 'traffic', fixed 'storage'
* [system admin] statistic: added 3 more charts for 'traffic', and modified the top nav
* [system admin] statistic: added 'traffic' for org; added a traffic nav, improved chart dot title
2018-09-12 17:41:59 +08:00
llj
e19a147154
[dir view] getMore: fixup for some cases
2018-09-12 17:05:58 +08:00
zheng xie
e14c5a93ff
Merge pull request #2355 from haiwen/get-related-users
...
update get releated users by repo
2018-09-12 16:56:57 +08:00
shanshuirenjia
e0e5d4fec9
wiki optimized ( #2348 )
2018-09-12 11:50:41 +08:00
llj
76489d2ca4
[system/org admin] rm 'email' for group member; modified 'Info' icon for org admin side nav
2018-09-11 15:16:02 +08:00
lian
2006447849
update get releated users by repo
2018-09-10 15:22:47 +08:00
zhengxie
bbd10c13da
Fix duplicated file_share_id error when create file share link in org mode
2018-09-10 14:32:04 +08:00
guopengda
394e25ed4a
new clean ( #2230 )
...
* new clean
* Refactor code
2018-09-10 13:56:10 +08:00
C_Q
6e873ef029
[wiki] redirect dir page ( #2352 )
2018-09-07 22:25:13 +08:00