1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-30 22:34:53 +00:00
Commit Graph

1232 Commits

Author SHA1 Message Date
sniper-py
106f29be06 Repo invitation (#4264)
* add fake url

* add SharedRepoInvitation model

* add indexes

* rm indexes

* update Manager

* add SharedRepoInvitations

* add is_repo_admin

* add try

* fix path

* update

* add  SharedRepoInvitation

* add share in signup

* rm InvitePeople icon

* add inviter_name

* add share invite dialog

* add shared_queryset.delete

* fix spell

* rename to RepoShare

* rename to RepoShare in py

* add handleKeyDown

* update error msg

* add unittest

* fix

* add logger
2019-11-18 17:55:17 +08:00
llj
4e1d766f74 [system admin] fixup for 'input space' (#4270) 2019-11-18 17:26:28 +08:00
llj
b6162d8393 [system admin] modifications (#4266)
* cleaned up the code, removed multiple *-op-menu.js files,
added a common component op-menu.js
* make the 'vertical dots' icon's clickable area be 24*24
* institution member: added confirm to 'set admin'
* improved code
2019-11-18 10:30:35 +08:00
杨顺强
9926e2870c repair code bug, Compatible with previous versions (#4265)
* repair code bug, Compatible with previous versions

* repair bug
2019-11-16 19:21:15 +08:00
plt
dae4d91b09 Merge branch '7.0' 2019-11-16 10:50:11 +08:00
llj
b4aa1b2f38 added pagination for 'system admin - orgs' & improved paginator (#4260) 2019-11-15 18:00:20 +08:00
sniper-py
98a7f03b13 fix path (#4257) 2019-11-15 15:03:53 +08:00
llj
dfa8deb1fa [system admin] users: fixup for 'add user' (#4254) 2019-11-15 06:58:19 +08:00
Leo
803c15730d sysadmin reconstruct terms and conditions pages (#4231)
* sysadmin reconstruct terms and conditions pages

* update seafile-js version

* add term content dialog

* optimized code struct

* fix redirect logic after add term

* optimized code

* optimized code

* update seafile-editor version
2019-11-12 21:59:55 +08:00
Michael An
a6c36c24c3 Change share dialog (#4245)
* fix share dialog dropdown memu style

* fix some warnings
2019-11-12 14:43:33 +08:00
杨顺强
af78fab2df repair reupload bug (#4241)
* repair reupload bug

* repair code bug
2019-11-09 16:26:25 +08:00
llj
5f6ecc42c3 improved component commit-details.js (#4236) 2019-11-07 15:24:19 +08:00
Alex Happy
b60d0e6170 ADD: generate repo-api-token for department (#4233) 2019-11-07 14:10:37 +08:00
杨顺强
a381f9c79d repair get link bug (#4220) 2019-11-05 18:15:14 +08:00
sniper-py
37b743fe3a Illegal report by react (#3415)
* illegal report

1, add illegal report at shared file page
2, list all illegal reports at admin page

* add ENABLE_SHARE_LINK_REPORT_ILLEGAL setting

* UserRateThrottle -> AnonRateThrottle

* use to_python_boolean

* frontend by React

* remove illegal report dialog in shared dir view

* add migrations dir

* add illegal_reports migrations

* rename illegal to abuse in api

* rename illegal to abuse in test

* rename illegal to abuse in share file view

* rename illegal to abuse in react

* rename illegal to abuse in Backbone

* add enableShareLinkReportAbuse in templates

* add ReportAbuse

* update ReportAbuse

* update ReportAbuse urls

* update ReportAbuse api-js

* sysadmin_react_app.html

* sysadmin.py

* fix

* fix

* fix

* can not abuse own file

* Contact Information is required.

* fix review

* remove repo icon
2019-11-05 17:46:06 +08:00
Alex Happy
c9c43c5791 MOD: copy follow token in repo-api-token frontend (#4219) 2019-11-04 17:37:27 +08:00
Alex Happy
b15b1bdffc ADD: repo-api-tokens GET POST PUT and access via-repo-token/dir and v… (#4136)
* ADD: repo-api-tokens GET POST PUT and access via-repo-token/dir and via-repo-token/upload-link by repo-api-token

* MOD: POST /via-api-token/dir logic

* MOD: check app and token when POST /repo-api-tokens

* MOD: use seafile_api.get_dir_id_by_path in via_repo_token for list dirs
2019-11-04 15:47:20 +08:00
Leo
9801ddc51d sysadmin reconstruct institutions pages (#4213)
* sysadmin reconstruct institutions pages

* optimize code

* optimize seafile js api name sysAdminAddInstitutionUserBatch

* update seafile-js
2019-11-04 13:00:29 +08:00
llj
ad5b070c9f [system admin] users: rewrote user pages & 'ldap users' page (#4216) 2019-11-02 17:02:26 +08:00
sniper-py
0640623846 fix path (#4204) 2019-10-30 14:38:50 +08:00
Leo
852fe1b8ee sysadmin reconstruct user page (#4030)
* sysadmin reconstruct user page

* [system admin] users: refactored it
2019-10-28 10:29:20 +08:00
Leo
7dafe5a0e7 sysadmin reconstruct logs page (#4171)
* sysadmin reconstruct logs page

* modify date check logic in logs export excel

* close dialog after download excel
2019-10-22 19:49:30 +08:00
plt
7841694f70 Fix merge 2019-10-21 17:12:05 +08:00
plt
2ced0bda04 Merge branch '7.0' 2019-10-21 16:44:49 +08:00
Leo
07059239d1 sysadmin reconstrcut orgs frontend (#4074)
* sysadmin reconstruct orgs page

* [system admin] orgs: refactored it
2019-10-21 09:45:00 +08:00
Leo
58a2bff06e sysadmin reconstruct department pages (#4156)
* sysadmin reconstruct department pages

* optimize code
2019-10-19 11:57:58 +08:00
Leo
36a734d9b4 sysadmin reconstruct links page (#4153)
* sysadmin reconstruct links page

* optimize code

* optimize code
2019-10-19 11:21:49 +08:00
huaiyinfeilong
63c65c1615 The aria-label of the notification element should be localized strings. (#4152) 2019-10-15 16:51:19 +08:00
Leo
6df11d6402 sysadmin reconstruct groups page (#4036)
* sysadmin reconstruct groups page

* [system admin] groups: fixup & improvement

* [system admin] groups: fixup & improvement
2019-10-15 13:41:41 +08:00
Leo
1790940bc8 delete user permission 'can_use_wiki' (#4148) 2019-10-15 10:15:04 +08:00
Leo
5b789c4300 corrent logic for check generate share link, and share link permissions (#4121) 2019-10-12 14:54:25 +08:00
Leo
4455b24557 sysadmin reconstruct notification page (#4089)
* sysadmin reconstruct notification page

* [system admin] notifications: fixup & improvement

* [system admin] notifications: fixup for urls.py
2019-10-11 17:42:12 +08:00
杨顺强
e94d71316b add dtable_web settings (#4131) 2019-10-08 17:28:15 +08:00
plt
7f49eab2c7 Merge branch '7.0' 2019-09-27 21:04:20 +08:00
Alex Happy
c34969ce4b ADD: dtable-share-link-ui & GET DELETE apis about dtable-share-link (#4117)
* ADD: dtable-share-link-ui
ADD: GET DELETE apis about dtable-share-link

* ADD: dtable_from_link_view & dtable_file_link_view_react.html

* MOD: some error_msgs and rename dtable_share_link_view and move dtable_share_link_view's url to dtable's urls

* FIX: dtableShareLinks' is_expired
2019-09-27 15:56:31 +08:00
Leo
d0e28c0365 sysadmin reconstruct repo page (#3980) 2019-09-24 12:18:53 +08:00
sniper-py
28e692d918 Dtable api token (#4098) 2019-09-21 14:37:51 +08:00
杨顺强
a1e5e9db8a update dtable module (#4097)
* update dtable module

* optimized code

* optimized code
2019-09-19 15:47:03 +08:00
llj
69645a77c9 added the link to institution admin panel (#4090) 2019-09-17 12:11:45 +08:00
Leo
d52949da9c custom nav item (#4071)
* custom nav item

* optimize code

* optimize code
2019-09-11 13:39:49 +08:00
plt
c38e86d8a5 Merge branch '7.0' 2019-09-11 12:45:41 +08:00
杨顺强
0232b5cfb5 repair mutiple download bug (#4069) 2019-09-09 13:46:28 +08:00
plt
648b07049f Merge branch '7.0' 2019-09-04 14:39:54 +08:00
llj
5c7c13c478 [dir view] updated 'top operation list' for current active dirent (#4046)
* [dir view] updated 'top operation list' for current active dirent

* added `getDirentOperationList` to utils.js
* improved code

* [dir view] added operations for current active dirent; bugfix &
improvement

* [utils] rewrote 'get dirent operation list' & bugfix
2019-09-04 14:21:57 +08:00
plt
2592f5189f Merge branch '7.0' 2019-08-30 18:13:22 +08:00
llj
64583c8eb9 [dir view] list view: added support for mobile (#4037) 2019-08-30 18:10:48 +08:00
plt
50da0104cd Merge branch '7.0' 2019-08-30 10:05:01 +08:00
llj
d1b3bbc5af [dir view] redesigned 'tip for new file', supported mobile (#4034) 2019-08-29 20:19:38 +08:00
llj
49f5e1e3a0 [dir view] added 'sort' for mobile (#4032) 2019-08-29 15:28:54 +08:00
plt
627791b463 Merge branch '7.0' 2019-08-29 10:32:17 +08:00
llj
84735b6eaa [dir view] designed top toolbar for mobile (#4029) 2019-08-28 18:30:19 +08:00
llj
752aa3001c [side nav] sort group list (#4027) 2019-08-28 12:16:56 +08:00
llj
c487805b59 [shared file view] fixup for download url (#4026) 2019-08-28 11:23:15 +08:00
Leo
298880cf89 sysadmin recontruct devices page (#3925) 2019-08-27 21:48:01 +08:00
llj
7aa426935f [share dialog] share link: improved 'permission' (#4018) 2019-08-27 12:04:03 +08:00
Michael An
f53815baf9 add title in published repo folder item (#4020) 2019-08-26 10:54:27 +08:00
plt
47f52bcd90 Merge branch '7.0' 2019-08-25 13:25:37 +08:00
llj
9996db6f5f [misc] modification for mobile (#4016) 2019-08-22 20:23:08 +08:00
杨顺强
2b9257acf9 repair upload file which size is 0 bug (#4015) 2019-08-22 16:59:44 +08:00
plt
51e161b23b Merge branch '7.0' 2019-08-21 21:12:18 +08:00
zxj96
37cce9dd7c Update dtable UI (#4009)
* Dtable list page refactoring

* fix code

* fix bug

* fix style

* repair click range

* style

* optimization code

* style

* optimization code

* optimization code

* Variable name

* No Tables replace No tables
2019-08-21 20:44:47 +08:00
llj
3e65a3a313 [share admin] upload links: added support for mobile; improvement (#4011)
* and improved 'share links'
2019-08-21 16:36:55 +08:00
plt
253a303e44 Merge branch '7.0' 2019-08-21 11:39:19 +08:00
llj
2e1fc1110f [share admin] share links: added support for mobile; bugfix & improvement (#4004)
* and bugfix for 'generate share link'
2019-08-20 12:00:58 +08:00
plt
758ec07818 Merge branch '7.0' 2019-08-17 10:04:09 +08:00
杨顺强
d3b7904ee3 improve retry method to support resumable upload file (#3993) 2019-08-16 17:12:47 +08:00
plt
1464b86bd6 Merge branch '7.0' 2019-08-15 14:56:48 +08:00
杨顺强
68d3a57e7d Improve upload module 2 (#3984)
* optimized upload file

* improve upload

* revert code

* optimized code

* optimized code

* optimized code

* optimized code

* update resumablejs version
2019-08-15 14:52:08 +08:00
plt
5f04037de3 Merge branch '7.0' 2019-08-15 07:45:40 +08:00
llj
04e10f3a4c [invitations] modification for mobile (#3973) 2019-08-14 15:29:31 +08:00
llj
8839207207 [share admin] libraries: added support for mobile (#3981)
* and 'bugfix & improvement'
2019-08-14 15:10:58 +08:00
plt
10512c3647 Merge branch '7.0' 2019-08-14 13:36:49 +08:00
Michael An
8dc7c950a3 change tooltip (#3977) 2019-08-13 10:42:21 +08:00
plt
441b88b6f1 Merge branch '7.0' 2019-08-12 17:28:08 +08:00
zxj96
a05963b9bf Fix is a library type is a bug that occurs (#3969)
* Fix is a library type is a bug that occurs

* Click to appear internal-link

* add loading
2019-08-12 14:04:14 +08:00
Leo
34144b5e84 modiyi non standard org admin seafile js api name (#3970) 2019-08-12 11:00:45 +08:00
杨顺强
7e9459a608 repair firefox-ie upload bug (#3967)
* repair firefox-ie upload bug

* repair code bug
2019-08-09 17:04:48 +08:00
llj
29b5aa0184 [multi storage backends] offer 'storage backend' options in 'repo (#3960)
create' dialog

* fixup for 'my libraries - create repo'
2019-08-08 13:08:13 +08:00
plt
28d5c266b3 Merge branch '7.0' 2019-08-07 21:07:49 +08:00
王健辉
eb39b99e22 fix delete tagged file (#3957) 2019-08-07 15:29:02 +08:00
Michael An
213559ec9c Fix bug (#3956)
* fix txt view participants

* fix detail panel bug
2019-08-07 09:18:54 +08:00
sniper-py
c462709b4f Revoke invitation (#3899) 2019-08-05 20:46:59 +08:00
zxj96
c7933c7f63 Add internal links to the dir (#3947)
* Add internal links to the dir

* Indent style
2019-08-05 17:31:15 +08:00
llj
affa4f8d12 [org admin] group: rewrote it with react (#3942) 2019-08-02 20:58:36 +08:00
杨顺强
067b17b013 improve upload interactive (#3941)
* improve upload interactive

* improve code
2019-08-02 20:53:39 +08:00
Michael An
d62a5584b7 change published wiki tree (#3940) 2019-08-02 20:48:58 +08:00
Michael An
1c6fa019d0 change org department function name (#3938)
* change org depatrment function name

* change name

* change name
2019-08-01 18:40:26 +08:00
llj
1f78ae8ac5 [org admin] user: rewrote it with react (#3936) 2019-08-01 15:32:56 +08:00
zxj96
8941ff329a Solve the problem of having a dot in the dir name (#3930) 2019-07-30 17:03:16 +08:00
plt
1891e4a6f5 Merge branch '7.0' 2019-07-30 13:58:11 +08:00
Michael An
cb3cea2cb9 Change editor participant (#3924)
* add API

* change style

t# interactive rebase in progress; onto 01448aa67
2019-07-27 16:33:18 +08:00
Michael An
ec87c48002 Change participants UI and API (#3889)
* change tooltip ID

* change dialog API

* change mention style

* change comment panel API

change detail panel API

* change Tooltip

* change mention color

update seafile-api

change comment content click
2019-07-26 16:51:47 +08:00
zxj96
e50d408782 add files thumbnail (#3903) 2019-07-26 14:55:09 +08:00
llj
20fac9afc7 [publish a library] fixup (#3920) 2019-07-26 11:39:46 +08:00
plt
6128e92b03 Merge branch '7.0' 2019-07-25 15:08:23 +08:00
Michael An
2fba71bf1e Update published-repo and wechat-department catalogue style and interaction (#3912)
* change published-index-viewer btn

* change click same link node

* change weixin work department style

* change name
2019-07-25 12:00:24 +08:00
Michael An
e9ea1e56ba Add participant @ (#3907)
* add related users

add react mention

* detail panel @ participant

* update seafile api

* change catch error
2019-07-24 21:04:47 +08:00
Michael An
6f2c6ae16d update file path style (#3896) 2019-07-23 15:53:25 +08:00
plt
844ebb7f06 Merge branch '7.0' 2019-07-22 20:39:11 +08:00
llj
b63d4d64d8 [published libraries] mobile: redesign (#3891) 2019-07-22 20:26:08 +08:00
zxj96
9844081d79 Add internal-link to share-dialog (#3862)
* Add internal-link to share-dialog

* fix code
2019-07-22 18:29:59 +08:00
plt
af74f8b30b Merge branch '7.0' 2019-07-22 17:09:10 +08:00
Michael An
fc56ae5cec Add comment and participant (#3882)
* update handle error

* comment and add participant

* update nextProps
2019-07-22 16:34:25 +08:00
Michael An
2598cd433e add participants in file comment and detail panel (#3880) 2019-07-20 09:51:19 +08:00
Michael An
3f4d9b9eb0 change wiki style (#3878)
* change wiki style

* fix warnings
2019-07-19 23:50:22 +08:00
杨顺强
7ed33d9fd2 add-blocksize-settings (#3877) 2019-07-19 11:57:22 +08:00
llj
168c0992a7 [shared with all, group, groups] mobile: improvement (#3874)
* added component libs-mobile-thead.js
2019-07-18 20:21:50 +08:00
llj
c84984c5cb [shared with me] mobile: improvement (#3861) 2019-07-18 08:27:48 +08:00
llj
320cc48c60 [shared file view] added modification for 'preview only' (#3867) 2019-07-18 08:27:48 +08:00
Michael An
42d043d3ea change published repo style and comment (#3865) 2019-07-18 08:27:48 +08:00
llj
cfc5f71417 [shared with me] mobile: improvement (#3861) 2019-07-17 17:37:39 +08:00
llj
694900e82b [shared file view] added modification for 'preview only' (#3867) 2019-07-17 17:34:22 +08:00
Michael An
accb814d22 change published repo style and comment (#3865) 2019-07-17 14:54:12 +08:00
plt
7d6ce77bda Merge branch '7.0' 2019-07-17 09:28:53 +08:00
Michael An
99785665fc change detail panel (#3856) 2019-07-16 16:21:20 +08:00
杨顺强
0fc368648a repair download link bug (#3858) 2019-07-16 15:47:20 +08:00
杨顺强
6fb0b0c811 repair download link bug (#3857) 2019-07-16 15:40:23 +08:00
sniper-py
d6bba483be Import work weixin dep (#3803)
* dropdown import work weixin department

* API import work weixin department

* admin check group name conflict

* work weixin department batch import

* work weixin department import update return msg

* work weixin department import not support batch

* react work weixin department import

* add IsProVersion work weixin department import

* change style

* check group name conflict
2019-07-16 15:16:22 +08:00
plt
f3b6f1351c Merge branch '7.0' 2019-07-16 14:58:55 +08:00
杨顺强
593345d39d improve search-api error handler (#3855)
* improve search-api error handler

* optimized code
2019-07-16 14:49:56 +08:00
plt
f491073d66 Merge branch '7.0' 2019-07-16 10:15:31 +08:00
杨顺强
04e791f14c Improve response catch module (#3848)
* add err hanlder for dialog ajax request

* add error handler for component ajax request

* repair code bug

* repair code bug

* add handler for page ajax module
2019-07-16 10:01:09 +08:00
llj
957979254b [my libs] mobile: improvement (#3839)
* [my libs] mobile: improvement

* modified 'more' icon
* modified background layer of op menu
* added 'star/unstar' to the op menu

* [my libs] mobile: redesigned 'sort'
2019-07-16 07:55:55 +08:00
plt
ee9424b26d Merge branch '7.0' 2019-07-15 14:53:57 +08:00
Michael An
09abcfa5e0 change file path max-height (#3814) 2019-07-15 14:42:18 +08:00
plt
d75f613c2d Merge branch '7.0' 2019-07-11 16:34:21 +08:00
杨顺强
5c0d93bea9 Media query improve (#3836)
* repair response bug

* revert modify
2019-07-10 21:51:30 +08:00
zxj96
d1923e4850 Markdown previewer location (#3833)
* Change the position in the markdown preview page

* modify func name

* optimization code
2019-07-10 15:53:47 +08:00
llj
514302a7b2 [file view] rewrote it (#3820)
* [file view] rewrote it

* fixup for tiff/tif/psd file view
* handled tiff/tif/psd history/trash file view

* [file view] rewrote it for xmind file

* [file view] rewrote it for 'Unknown' files
2019-07-10 15:04:00 +08:00
zxj96
cb683d1e91 repair save-share-file-dialog bug (#3826)
* repair save-share-file-dialog bug

* repair click bug

* Remove extra code
2019-07-10 14:33:28 +08:00
Michael An
cfcb72a255 Published repo style (#3832)
* fix FF style

* change anonymous user search
2019-07-10 11:46:02 +08:00
plt
389ba23a54 Merge branch '7.0' 2019-07-10 10:55:34 +08:00
llj
e34ed91e4e [share dialog] bugfix for 'Add auto expiration' in Share Link (#3824)
* [share dialog] bugfix for 'Add auto expiration' in Share Link

* [share dialog] modified 'Share Link'
2019-07-09 11:06:49 +08:00
Michael An
03d17520c8 fix wiki-markdown-viewer (#3825) 2019-07-09 10:14:59 +08:00
plt
6cb4d38788 Merge branch '7.0' 2019-07-08 18:27:48 +08:00
王健辉
79c7989214 modify api name (#3822) 2019-07-08 18:04:56 +08:00
王健辉
53a79ed706 public repo search (#3817)
* public repo search

* remove print code

* add permission check
2019-07-08 16:47:04 +08:00
杨顺强
d207be56bc update upload link&add safair support (#3812)
* update upload link&add safair support

* update seafile-js version
2019-07-08 13:16:01 +08:00
LeoSirius
e19696e63c add check condition to send file info api 2019-07-05 15:35:54 +08:00
Daniel Pan
b64c38bad7
Merge pull request #3782 from haiwen/7.0-upload-links-expire-days
add expire days to upload link
2019-07-05 15:02:46 +08:00
Daniel Pan
06add71507
Merge pull request #3795 from haiwen/7.0-group-member-leave-group
group member leave group
2019-07-05 15:01:41 +08:00
LeoSirius
70a5f74788 optimize code 2019-07-05 11:05:26 +08:00
Daniel Pan
4a98e7d5ab
Merge pull request #3807 from haiwen/resumable-upload-improve
Resumable upload improve
2019-07-04 22:08:31 +08:00
shanshuirenjia
7211ac3ab3 repair upload bug 2019-07-04 18:49:16 +08:00
plt
8743cf244e Merge branch '7.0' 2019-07-04 18:30:31 +08:00
LeoSirius
9920f85b92 add gettext, modify UI 2019-07-04 18:14:13 +08:00
shanshuirenjia
f007e58c0e repair mutiple resumable bug 2019-07-04 17:10:44 +08:00
shanshuirenjia
0df5eb12c2 repair resumable upload bug 2019-07-04 17:10:21 +08:00
Daniel Pan
1d795ff62e
Merge pull request #3806 from haiwen/file-view
[file view] added 'catch' for requests
2019-07-04 16:39:29 +08:00
Leo
b0d05f615f share link duplicate generate, return error msg and 400 (#3789)
* share link duplicate generate, return error msg and 400

* add test case
2019-07-04 16:22:50 +08:00