1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 15:23:05 +00:00
Commit Graph

875 Commits

Author SHA1 Message Date
Michael An
3c01601ac9
delete useless codes (#6218)
* delete useless codes

* remove useless codes
2024-06-17 22:17:47 +08:00
liuhongbo
b216db12db feat: wiki shortcut 2024-06-17 11:42:42 +08:00
liuhongbo
e84b29d71c feat: fix compatitablily to wiki shortcut 2024-06-17 10:31:23 +08:00
Michael An
983b42b1d8
change add wiki button (#6199)
* change add wiki button

* add wikis dropdown to add wiki

* change permission
2024-06-17 10:19:27 +08:00
llj
588816a755
[share dialog] fixup: made ADDITIONAL_SHARE_DIALOG_NOTE fully displayed (#6187) 2024-06-11 16:44:45 +08:00
Michael An
80637c506c
12.0 redesign wiki list (#6155)
* 01 remove useless wiki codes

* 02 change delete wiki tip

* 03 fix code format

* 04 redesign wikis
2024-06-01 09:09:42 +08:00
Michael An
4b81908955
12.0 change wiki style (#6152)
* 01 change delete Wiki tip

* 02 remove modify time when wiki init
2024-05-31 16:12:53 +08:00
Michael An
7ea5517e40
support rename Wiki (#6142)
* 01 UI support rename Wiki

* rename wiki

* old wiki support rename

* fix wiki-v1 and wiki-v2 have same id

* fix format

---------

Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
2024-05-31 10:59:59 +08:00
杨顺强
7d512ea230 Merge branch 'master' into 12.0 2024-05-30 14:49:13 +08:00
Michael An
2d6679343b
01 fix list can admin departments (#6132)
02 fix no departments message

03 change wiki long name style
2024-05-30 10:04:03 +08:00
llj
1997bc344e
[library 'Folder Permission' dialog] fixup: enable users to 'choose' the root folder; removed those unused prop type checking which caused errors (#6130) 2024-05-29 20:29:50 +08:00
Michael An
c604bb2a94
add wiki support owner department (#6113)
* add wiki support owner department

* wiki can select owner

---------

Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
2024-05-28 16:31:00 +08:00
Michael An
d7ac5688ef
12.0 change add existing file in wiki edit (#6057)
* 12.0 change add existing file in wiki edit

* 01 delete create wiki from existing library

* 02 change click wiki name jump to edit page and delete edit icon

* 03 delete select existing file to create new page

* optimize edit wiki

* 04 old wiki page use the early version 11.x features

* optimize wiki permission

* wiki add wiki2

* delete page file

* fix wiki test

---------

Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
2024-05-15 11:57:30 +08:00
llj
67e09a4295
[org admin - departments] redesigned it (#6070) 2024-05-12 08:17:02 +08:00
Michael An
65ce3052ee
change wiki (#6052) 2024-05-06 17:09:47 +08:00
杨顺强
f7f40231aa Merge branch 'master' into 12.0 2024-04-25 14:29:17 +08:00
awu0403
db6cee68e9
Add department transfer function to the administrator interface (#6014)
* Add the function of transferring departments in the administrator interface

* fix admin get all departments

* update

* Update departments.py

* update

* update

* add department repo transfer

* Update groups.py

* update

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
2024-04-25 12:08:13 +08:00
llj
4eab55fdf9
Files (#5881)
* [side nav] redesigned it: added a new item 'Files', and made 'My Libraries' and some other items as its sub nav items

* ['Files'] added new page 'Files'(added 'My Libraries' to it)

* ['Files'] added 'Shared with me' to it

* ['Files'] added 'Shared with all' to it

* ['Files'] added 'Shared with groups' to it (removed 'details' for 'department')
2024-04-19 14:51:41 +08:00
liuhongbo
4d9316827c fix: optimize code 2024-04-01 10:21:48 +08:00
llj
bd117f54f2
['guide for new' dialog] updated the image & etc. (#5996) 2024-03-26 12:06:17 +08:00
llj
4375115548
[draft] removed related code & files (#5993)
* [draft] removed related code & files

* [draft] removed related code & files
2024-03-25 17:22:01 +08:00
llj
046aa47022
[long name] fixup for UIs with long library/folder/file names (#5971)
* [long name] fixup for UIs with long library/folder/file names

* fixed code indentation
2024-03-07 15:37:09 +08:00
lian
00c2124dff
copy/move file to enc lib (#5487) 2024-02-07 11:08:41 +08:00
llj
23785bb28b
[dir view] Tags: don't send the 'get tags' request when open the 'tags' popover/dialog (handled 6 cases); removed the repeated 'get tags' request after creating a new tag; improved the 'no tags' tip (#5936) 2024-02-02 20:52:58 +08:00
lian
690d4a6a8c
fix select bug when admin share repo to group (#5931) 2024-01-31 13:30:27 +08:00
yinjianfei
6ee3992064 update-file-type 2024-01-08 11:06:57 +08:00
Michael An
adc8960fd8
change Operation to operation (#5878) 2024-01-03 18:08:24 +08:00
杨顺强
f92a547e24
Merge pull request #5855 from haiwen/add-internal-link
add-internal-link
2023-12-28 10:40:16 +08:00
yinjianfei
3d69a6f4b6 add-internal-link 2023-12-25 16:06:36 +08:00
Michael An
6eec4688db
fix toggle tags popover (#5835) 2023-12-19 12:13:49 +08:00
llj
af1545452e
[misc] fixed i18n; fixup for 'SeaTable Integration' (#5833) 2023-12-16 16:47:46 +08:00
yinjianfei-user
21bac022cc
add-seaTable-integration (#5761)
* add-seaTable-integration

* update-request

* update-path

* update-json

* update-UI

* update-json

* update-text

* update-text

* remove-space

* update-UI

* add-hover

* add variable control

---------

Co-authored-by: 杨顺强 <978987373@qq.com>
2023-12-12 15:08:37 +08:00
llj
8712b7d1a6
[dir view, toast] redesigned the 'converting' tip for md & sdoc file … (#5822)
* [dir view, toast] redesigned the 'converting' tip for md & sdoc file items; added a new type of toast

* [toast] updated the loading icon of the 'notify-in-progress' toast
2023-12-11 18:19:23 +08:00
杨顺强
d308380115
Merge pull request #5818 from haiwen/update-seafile-editor
Update seafile editor
2023-12-11 09:37:44 +08:00
杨顺强
bb5ce5e233 update terms and condition 2023-12-08 15:19:00 +08:00
lian
255da086e6
org invite user (#5815) 2023-12-07 22:50:39 +08:00
杨顺强
551213c429 update term adn condition 2023-12-07 14:20:29 +08:00
Michael An
429eecdd06
fix warnings and rename unsafe lifecycle function (#5814) 2023-12-06 17:24:05 +08:00
Michael An
2ce0f90cb8
Change share dialog button style (#5812)
* change share button size

* change submit button loading style
2023-12-05 12:02:56 +08:00
Michael An
acaad1d0d1 delete ... in search and select component 2023-12-04 15:13:56 +08:00
llj
17e832274c
['Modal' popups] fixup for popups which couldn't be closed via clicking outside (#5801) 2023-11-30 13:58:06 +08:00
llj
185af18660
[zip download dialog] redesigned it for 'display error msg' (#5796) 2023-11-28 21:01:05 +08:00
Michael An
eefbc643c6
Fix select UI (#5780)
* fix repo api permission value

* fix transfer repo dialog select

* fix create repo dialog select template or storage

* fix data type check and text
2023-11-21 15:35:17 +08:00
llj
a4e2e4aba4
[keypress] replaced 'onKeyPress' with 'onKeyDown' as 'keypress' is de… (#5764)
* [keypress] replaced 'onKeyPress' with 'onKeyDown' as 'keypress' is deprecated

* cleaned up code
2023-11-14 20:25:25 +08:00
Michael An
eab8130ed8
Fix searched dir then copy dir bug (#5727)
* fix warnings

* fix search result path error
2023-11-01 15:10:43 +08:00
llj
a15728cf3e
[markdown] commented out 'draft' related code (#5721) 2023-10-31 12:15:12 +08:00
llj
a7e814bcf1
[sdoc] commented out 'draft' related code (#5723) 2023-10-31 10:14:43 +08:00
llj
2e97b4e341
[dir view] removed related info & function for 'readme.md' in the top info bar (#5720) 2023-10-31 10:13:48 +08:00
lian
cd2ff4aa9d
fix bug when share group owned repo to group (#5686) 2023-10-13 15:47:08 +08:00
Michael An
e90a64cc90
Change edit tags dialog UI (#5655)
* fix warnings

* 01 tags icon always show

* 02 tag list footer UI

* 03 change select color popover style

* 04 Add virtual tag

* 05 handle key event

* 06 add createRepoTags API

* 07 optimize codes

* 08 optimize codes

* optimize python code

* change create tags success callback

---------

Co-authored-by: wang <40563566+loveclever@users.noreply.github.com>
2023-10-09 21:27:44 +08:00
llj
a407d43695 [i18n] fixup 2023-10-08 14:24:22 +08:00
Alex Happy
1976ebd0c6
Sync apply folder ex props (#5666)
* init sync apply folder ex-props

* clear worker-map

* opt apply and remove useless code

* use new sync-apply-folder-ex-props api

* opt try exception
2023-10-07 14:55:16 +08:00
JoinTyang
e50d3b185b
optimize convert file (#5652)
* optimize convert file

* optimize code

* optimize code

* optimize code

* optimize code

* optimize code

* optimize code

---------

Co-authored-by: 杨顺强 <978987373@qq.com>
2023-09-25 15:56:00 +02:00
Alex Happy
cdf36ed154
Support mark folder sub items (#5638)
* add folder-items-ex-props api

* pass user-name for set folder-items ex-props

* frontend feat folder-items ex-props

* opt request seaf-io

* opt some variables

* opt some tips

* opt loading style for apply ex-props

* feat: update code

* fix confirm bug

---------

Co-authored-by: er-pai-r <18335219360@163.com>
2023-09-25 06:25:20 +02:00
Michael An
52f9ae02b1 fix code bug 2023-09-18 10:20:47 +08:00
Michael An
f278cfd3bb
Change select style (#5645)
* 01 change css file path

* 02 change Select style
2023-09-18 10:01:30 +08:00
Michael An
754d9c0fe8
Change tag list UI (#5637)
* 01 change file tags list

* 02 change select tags UI

* change edit icons
2023-09-13 23:12:23 +08:00
Michael An
14ce391007
Fix eslint warnings (#5635)
* 01 fix eslint warnings

* fix code warnings

* fix code warnings

* fix code warnings

* fix code warnings

* fix code warnings
2023-09-13 08:40:50 +08:00
杨顺强
3ed638463c
Update deps 3 (#5624)
* optimize code

* update deps

* optimize code

* optimize code

* optimize code

* optimize code

* repair code bug
2023-09-04 09:50:14 +08:00
llj
351d7f4346
[dialogs] modified UI of the nav panel for dialogs('share dialog', 'share admin' dialog, 'folder permission' dialog, and etc.) (#5621) 2023-08-31 17:07:14 +08:00
lian
6f0ba2e482
add invisible perm when set folder group permision (#5619) 2023-08-31 10:09:25 +08:00
Alex Happy
395790a879
ex-props support folder (#5617)
* ex-props support folder

* feat: add front code

* support empty folder whose hash is empty-sha1

---------

Co-authored-by: er-pai-r <18335219360@163.com>
2023-08-30 22:30:23 +08:00
杨国璇
6e9595f33b
fix: file tag list bug (#5616)
* fix: file tag list bug

* Feat: add default value
2023-08-30 20:54:00 +08:00
llj
1b53fe6265 [misc] updated text, fixup, cleaned up code & files for 'list sdoc revisions' 2023-08-25 18:42:01 +08:00
杨顺强
68e53b3d45
optimize code (#5605) 2023-08-24 12:10:05 +08:00
lian
3b6142e639
repo share admin (#5596)
* repo share admin

* check share_to param

* [repo 'share admin' dialog] removed 'internal links'; fixup & improvements

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-08-24 10:18:40 +08:00
杨国璇
f8e2f72ac2
fix: single select column cascade edit (#5563)
* fix: single select column cascade edit

* feat: update code
2023-07-27 17:03:49 +08:00
Alex Happy
0a7aeec2e2
add file ledger apis (#5507)
* add file ledger apis

* remove apis about export ledgers

* opt code struct

* feat: update api

* feat: update code

* rename init-ledger script -> init-extended-props

* remove useless code

* POST/PUT extended-props return row

* return default some fields when extended-row not exists

* feat: update seafile-js version

---------

Co-authored-by: er-pai-r <18335219360@163.com>
2023-07-27 15:11:35 +08:00
llj
68ed3e5773
Sdoc draft (#5556)
* [dir view] redesigned the sdoc draft identifier

* [dir view] added option 'Mark as draft' to 'New File' dialog; added big button '+ SeaDoc' for empty library

* [sdoc draft] fixed API typos

* [sdoc file view] displayed draft identifier & added 'unmark as draft' for drafts

* [media/sdoc-editor] updated i18n/l10n strings for sdoc-editor

* [dir view] 'New' dropdown menu: added '(beta)' for 'New SeaDoc File'
2023-07-22 15:54:25 +08:00
lian
c32ce41ce3
add invisible permission for folder permission (#5538) 2023-07-10 15:48:34 +08:00
llj
dd7dc6b368
[dir view, file view] removed 'participant list' & 'add participant' for 'info panel' & 'comment panel' (#5515) 2023-06-20 15:38:55 +08:00
llj
495141c287
Sys department (#5471)
* [system admin - department] redesigned it (split it into 3 tabs/pages)

* [system admin - department] fixup & improvements; code cleanup
2023-05-15 10:57:46 +08:00
杨顺强
87dc0289d1
Optimize internal link dialog cod (#5466)
* optimize code

* optimize code
2023-05-12 11:24:34 +08:00
llj
c33fdc8189
[manage group members] redesigned 'search group members' & removed the dialog footer (#5438) 2023-04-19 18:19:58 +08:00
lian
9f78eddb2f
batch generate share links (#5417)
* add MultiShareLinksBatch

* [share dialog] 'share link' panel: redesigned it(enable 'generate links in batch')

* update

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-04-04 16:12:53 +08:00
llj
93afb46ed0
Share link (#5419)
* [share dialog] 'share link' panel: display details of a new link after generating it

* [share dialog] 'share link' panel: modified 'Details' UI & added 'mouse hover' effects for link items

* [share dialog] 'share link' panel: fixup & improvement for 'link details'(refactored it)
2023-03-30 17:31:31 +08:00
WJH
b89b446037
multi share links (#5412)
* support more than one share link for each user for a file/folder

* improve frontend page

* optimize frontend page

* [share dialog] 'share link' panel: redesign(list links & offer 'Details' for each link)

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-03-28 16:29:34 +08:00
mrwangjianhui
2f0466226a
Update translation (#5378)
* update translation

* [l10n] update

* [user settings] WebDAV Password: fixup & improvements

* [i18n] fixed text

* upgrade transifex

* update local command

* pull & make

* update po.files

* [l10n] update

* update translation

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-02-15 21:37:24 +08:00
lian
ff9a0e92f9
Webdav secret (#5357)
* not show webdav password on user profile setting page

* hash webdav password

* show webdav url and username on user profile setting page

* update test

* update

* update

Co-authored-by: lian <lian@seafile.com>
2023-01-18 09:59:53 +08:00
lian
4f9dcb344b
Rate limit (#5169)
* set upload/download rate limit by user role

* admin set user upload/download rate limit

* update

Co-authored-by: lian <lian@seafile.com>
2023-01-12 16:56:31 +08:00
杨顺强
f8db3a9614
Update dependency 5 (#5349)
* update dependency

* update dependency

* update dependency
2022-12-31 19:38:51 +08:00
杨顺强
3faa4acb8e
Update dependency 3 (#5344)
* update react react-dom prop-types

* update seafile-editor version

* install deep-copy denpendency

* update router version

* repair focus bug

* optimize code

* optimize code
2022-12-24 10:41:34 +08:00
杨顺强
80b4b5fd6c
Update dependency 2 (#5342)
* update react-select version

* update react-responsive

* delete unnecessary dependency

* update react-mentions
2022-12-22 16:02:11 +08:00
llj
d6671ce2f8
[dir view] added a confirmation dialog for deleting a folder (#5321) 2022-11-28 09:27:17 +08:00
llj
132169105a Merge branch '9.0' 2022-11-10 14:51:21 +08:00
lian
b0d0874013
Org admin page (#5298)
* orgadmin import users

* orgadmin devices page

* orgadmin statistic page

* orgadmin devices page

use seafile_api.list_org_repo_sync_errors

* [org admin] bugfix & improvements

Co-authored-by: lian <lian@seafile.com>
Co-authored-by: llj <lingjun.li1@gmail.com>
2022-11-10 13:27:55 +08:00
杨顺强
53e2e70d8c
optimize code (#5300)
* optimize code

* update code

* optimize code
2022-11-08 22:35:41 +08:00
llj
90c0d5dbec
[share admin - links] mobile: modified display of some info; added 'sort' (#5263) 2022-10-22 10:38:47 +08:00
llj
a14e45ca96 fixup for i18n; avoid XSS
- fixup for PR#5256
2022-10-09 18:32:03 +08:00
杨顺强
91d1751a57
Repair xss bug (#5256)
* repair upload file with same script name bug

* update repo name xss bug

* fix: transform lib xss bug

* optimize code
2022-09-08 16:42:55 +08:00
lian
9a962255f0 update share dept repo
add 'cloud-edit', 'preview' permission
support 'cloud-edit', 'preview' and custom permission when modify share
2022-07-13 16:40:15 +08:00
shanshuirenjia
db8c2b6ab2 update seafile-editor import method 2022-05-25 15:22:43 +08:00
lian
fb284467a5 update share info message when delete repo
If there is no library share information, no message is displayed
2022-04-13 16:37:06 +08:00
llj
2f16016da6 [shared dir view] 'list tagged files' dialog: added 'download' for files 2022-03-15 10:53:16 +08:00
llj
aa1adbfb91 [shared dir view] file tags: fixup & improvement 2022-03-14 16:48:57 +08:00
Daniel Pan
39a6aa878e
Merge pull request #5156 from haiwen/remove-related-file
[related files] removed all the related functions
2022-03-12 10:22:25 +08:00
llj
6993247423 [related files] removed all the related functions 2022-03-11 18:38:57 +08:00
Daniel Pan
b3150d9d37
Merge pull request #5137 from haiwen/link-expiration
update share/upload link expiration
2022-03-10 16:18:38 +08:00
llj
952a7b4533 [share dialog] share link/upload link: improved 'set expiration'
- improved UI for 'edit expiration'
- improved code: added component `set-link-expiration.js`
- fixed bugs
2022-03-10 14:14:15 +08:00
llj
e89ddd856b [tags] 'Tagged Files' dialog: modified UI 2022-03-07 11:19:18 +08:00
llj
a64c774b75 [tags] 'Tagged Files' dialog: improvement 2022-03-04 17:54:59 +08:00
lian
23a773d910 remove success message 2022-03-04 11:01:57 +08:00
llj
5c35a97486 [tags] removed unused code and file 2022-02-26 11:22:59 +08:00
llj
97da4f2b63 [tags] redesigned 'Tags' dialog
- redesigned 'tag color edit', 'tag name edit', 'tag delete'
2022-02-26 10:51:10 +08:00
lian
2231d2d21f update share/upload link expiration 2022-02-24 10:47:17 +08:00
llj
8862328958 [tags] redesigned 'color options' in 'New Tag' dialog 2022-02-22 15:06:50 +08:00
llj
955f3617ad [tags] redesigned the 'select tags' dialog 2022-02-21 17:22:52 +08:00
Daniel Pan
dc209e53ed
Merge pull request #5123 from haiwen/webdav-secret
update webdav secret
2022-02-17 20:48:37 +08:00
llj
566a27f0c7 [share dialog] share/upload link: added missing 'gettext' for some text 2022-02-17 15:46:03 +08:00
llj
57921f1b11 ['settings' page] WebDav Password: redesigned the 'update password' dialog; fixup & improvement 2022-02-17 15:30:06 +08:00
llj
ea5b2daa33 [move/copy dialog] bugfix for 'mv/cp to current folder' 2022-02-16 11:24:54 +08:00
Daniel Pan
9829d5aa29
Merge pull request #5125 from haiwen/save-shared-folder
update shared folder
2022-02-12 17:45:27 +08:00
lian
90b85a539d update shared folder
show progress when save file/folder in shared folder
2022-02-11 18:36:03 +08:00
lian
7ff103f69c update webdav secret
add WEBDAV_SECRET_MIN_LENGTH and WEBDAV_SECRET_STRENGTH_LEVEL
2022-02-11 13:48:18 +08:00
王健辉
1c305d5f69 improve org admin manage department 2022-02-11 11:44:59 +08:00
llj
a713c1fe72 [i18n] 'delete repo dialog': updated the text 2022-02-11 11:34:56 +08:00
lian
1e9193e573 show share info when delete repo 2022-01-19 18:03:09 +08:00
lian
a57abc3b47 save item in folder share link 2022-01-11 14:08:00 +08:00
llj
15e2acc21f [file chooser] directly open current folder for 'mv/cp dialog' 2021-12-15 14:55:16 +08:00
Michael An
442f91edc1 fix manage member style 2021-11-25 11:32:23 +08:00
lian
c21a3e9bd7 hide/show stored password 2021-11-23 12:09:08 +08:00
lian
b95ea9be68 show share/upload link password 2021-11-19 10:53:08 +08:00
llj
9cd52bb245 Merge branch '8.0'
Conflicts:
	frontend/package.json
	frontend/src/components/dialog/manage-members-dialog.js
	frontend/src/css/manage-members-dialog.css
	frontend/src/utils/utils.js
2021-11-02 11:41:41 +08:00
llj
a6470470d5 [group] added 'search group members'
- 'search group members' is offered only when there are more than 10
members in the group
2021-10-25 17:19:44 +08:00
lian
63697c5793 update 2021-10-14 14:58:27 +08:00
lian
23dc12f6b0 search group member 2021-10-14 14:55:23 +08:00
llj
457f799c43 [a11y] share dialog: added 'keyboard access' support for 'custom sharing perm' 2021-10-12 11:41:26 +08:00
llj
cabfa164bf [a11y] share dialog: added 'keyboard access' support for 'share to other server' 2021-10-11 18:15:50 +08:00
llj
b92ada3f4a [a11y] group: make 'settings', 'members', 'manage members' dialog accessible by keyboard 2021-10-11 17:11:49 +08:00
llj
9f5e3de408 'History Setting' dialog: bugfix 2021-10-11 17:11:49 +08:00
llj
ed60f5e05a 'Auto deletion' dialog: bugfix 2021-10-11 17:11:48 +08:00
llj
fbc5b0d30c [a11y] 'repo API Token' dialog: added support for 'keyboard access' 2021-10-11 17:11:48 +08:00
llj
ccc0e764f3 [a11y] 'share/upload links' dialog: added support for 'keyboard access' 2021-10-11 17:11:48 +08:00
llj
68b0785472 [a11y] 'folder perm' dialog: added support for 'keyboard access' 2021-10-11 17:11:48 +08:00
llj
f4f85dcb16 [a11y] 'transfer' dialog: added support for 'keyboard access' 2021-10-11 17:11:48 +08:00
llj
fb205f3c65 [a11y] share dialog: make tab panels accessible by keyboard 2021-10-11 17:11:48 +08:00
llj
11772e0425 [a11y] share dialog: make tabs accessible by keyboard 2021-10-11 17:11:48 +08:00
llj
eef9824233 [a11y] file view: added support for 'keyboard access' & bugfix for 'internal link' 2021-10-11 16:17:11 +08:00
llj
aef44a8605 [a11y] added 'keyboard access' for 'dir view - dirent' & fixed bugs 2021-10-11 16:17:10 +08:00
llj
95a810858a [a11y] dir view - file tag: improvements & added support for 'keyboard access' 2021-10-11 14:01:43 +08:00
shanshuirenjia
911add8bec repair code bug 2021-09-24 12:17:20 +08:00
王健辉
07df610e43
custom share permission (#4967)
* custom share permission

* remove path field

* add permission manager ui

* optimize custom permission manager style

* add permission setting

* add normalize_custom_permission_name

* optimize repo custom permission

* delete useless code

* optimize code

* optimize code

* optimize markdown file page

* fix a few bugs

* add permission control

* repair modify permission

* optimize style

* optimize copyright

* add try-except

* optimize code

* move file&folder

* batch operation item

* repair batch move item

* update copyright

* optimize move permission control

* optimize code

* optimize code

* optimize code & fix code wranning

* optimize code

* delete unsupport permission

* optimize code

* repair code bug

* add pro limit

* optimize code

* add permission handle for permission editor

* repair new file&folder bug

* optimize file uploader code

* custom permission user can not visit custom permission module

* optimize code

* forbid comment&detail module

* optimize code

* optimize modify/preview permission

* optimize custom permission share perm

* optimize view file module: file-toolbar

* optimize custom drag move operation

* repair column view bug

* optimize drag operation code

* repair code bug

* optimize code

Co-authored-by: shanshuirenjia <978987373@qq.com>
2021-09-13 10:37:07 +08:00
lian
8e78d73b53 update create share/upload link
add SHARE_LINK_FORCE_USE_PASSWORD and SHARE_LINK_PASSWORD_STRENGTH_LEVEL
2021-08-12 15:02:03 +08:00
lian
1ce4a39e0b show detailed error msg when download folder 2021-07-16 16:19:06 +08:00
lian
2b67a6199f manage web api auth token on profile page 2021-06-11 14:34:54 +08:00
lian
d9120643c8 let admin can delete device on CE version 2021-05-21 10:53:20 +08:00
lian
855b457e5f
admin rename department (#4849)
* admin rename department

* update Code comment

* update group name validate msg

* [department] fixup: added 'add member' back

* [department] rename: fixup & improvements

* [system admin] departments: added 'rename' & 'op menu' for dept

Co-authored-by: lian <lian@seafile.com>
Co-authored-by: llj <lingjun.li1@gmail.com>
2021-03-25 21:41:55 +08:00
lian
2405ba671e
add GROUP_IMPORT_MEMBERS_EXTRA_MSG (#4835)
Co-authored-by: lian <lian@seafile.com>
2021-03-17 16:43:10 +08:00
llj
2e89577990 Merge branch '7.1' 2021-02-10 10:35:12 +08:00
lian
72678fbe8f
import group members (#4814)
Co-authored-by: lian <lian@seafile.com>
2021-02-10 09:59:32 +08:00
lian
c29a571826 Merge branch '7.1' into master 2021-02-05 11:55:34 +08:00
llj
1cb10e4dd5
[CE] search: added auto focus for the input (#4809) 2021-02-01 20:57:32 +08:00
llj
3b2fb53268
Group manage member (#4805)
* [group manage members] added 'scroll to load more members'

* [group manage members] fixup for 'add/delete/modify member'
2021-01-28 14:20:37 +08:00
llj
45afd8c323
[share dialog] added QR code for share/upload links (#4798) 2021-01-22 18:18:13 +08:00
llj
2db2c08032
[department] added an option to control if libraries can be shared in… (#4778)
* [department] added an option to control if libraries can be shared into a department

* update seahub web api

Co-authored-by: lian <lian@seafile.com>
2021-01-13 14:11:35 +08:00
llj
7018600660
[CE] search: added 'loading' & 'no result' tip (#4782) 2021-01-12 16:17:16 +08:00
llj
2679355ee8
['about' dialog] modified the year (#4781) 2021-01-09 18:24:07 +08:00
songjiaqi1
4cbbdcd725
Update editor (#4764)
* update seafile-editor

* update md-editor

* add translate
2020-12-26 17:45:48 +08:00
llj
c5f5051cea
Fixup (#4756)
* [create repo] fixup for 'template'

* [auto deletion] fixup

* [file upload] fixup

* fixup
2020-12-17 18:03:21 +08:00
llj
c0e40076d4
Ocm frontend (#4754)
* [OCM] modified the icon in 'side nav'

* [OCM] share dialog: improved 'Server select', 'user input', 'submit' and etc.

* [OCM] share dialog: fixup & improvement for 'delete an item' and etc.

* [OCM] 'Shared from other servers' page: fixup & improvement

* [OCM] dir view: fixup & improvement
2020-12-17 15:17:18 +08:00
杨顺强
873c49d30e
Upgrade webpack 2 (#4748)
* update webpack to version 4

* repair build bug

* update package code

* optimize package script

* update seafile-editor version

* repair code bug
2020-12-15 18:00:39 +08:00
lian
42c7f25dfa
ocm, add OCM_REMOTE_SERVERS (#4745)
* ocm, add OCM_REMOTE_SERVERS

* update

Co-authored-by: lian <lian@seafile.com>
2020-12-14 11:47:36 +08:00
lian
ee6cccf806 Merge branch '7.1' into master 2020-12-03 12:03:51 +08:00
lian
06b55feae6
add ABOUT_DIALOG_CUSTOM_HTML (#4734)
Co-authored-by: lian <lian@seafile.com>
2020-12-02 21:31:17 +08:00
lian
c0669d4ad8 Merge branch '7.1' into master 2020-11-25 15:05:57 +08:00
lian
cae1204ab1
support LIBRARY_TEMPLATES (#4723)
Co-authored-by: lian <lian@seafile.com>
2020-11-20 10:08:49 +08:00
lian
5ec3928d90
search file by name (#4713)
* search file by name

* [for non-pro] redesigned 'search files in a library'

* improvement

Co-authored-by: lian <lian@seafile.com>
Co-authored-by: llj <lingjun.li1@gmail.com>
2020-11-16 10:45:19 +08:00
llj
04f29704b3
[eslint] updated eslintrc and improved the code (#4702) 2020-11-02 13:56:35 +08:00
llj
7000c1f364
Share link file upload (#4633)
* [share dialog] fixed permission bugs; added 'download and upload'
permission

* share link: fixed permission bug for library
* upload link: fixed permission bug
* share link: added 'download and upload' permission for folder

* [folder share link] added 'file upload' for folder share link with 'can_upload' permission
2020-10-20 16:24:58 +08:00
lian
0bff0c1104 Merge branch '7.1' into master 2020-09-30 11:05:44 +08:00
llj
39078da3f9
[Linked Devices] added confirmation for 'unlink device' (#4683) 2020-09-28 10:44:12 +08:00
Leo
267e9f525c
Ocm (#4640)
* ocm share local and inter-server api, ocm share page (#4335)

* ocm share

* optimize code

* ocm repo (#4341)

* ocm repo

* hide share if not repo owner

* optimize code

* fix All refresh page, hide upload if is r perm

* update permission check

* update return status code

* update code

* add receive user drop share
2020-09-24 10:57:45 +08:00
llj
559702fc57
[org admin] add user: fixed 'can not input space in name input' (#4675) 2020-09-19 20:49:12 +08:00
Leo
d5f578318f
repo_files_auto_del (#4626)
* repo_files_auto_del

* repo_files_auto_del

* update code
2020-09-07 12:03:05 +08:00
lian
6ed24ef254 Merge branch '7.1' into master 2020-08-19 14:01:17 +08:00
llj
5477da9d57
[shared file, file in shared dir view] use new api for file 'save as' (#4650) 2020-08-18 10:30:08 +08:00
lian
dcff1ff5e1
update dir shared item api (#4648)
* update dir shared item api

return contact_email and avatar_url field

* [share dialog] share to user: show avatar & user details popover for shared user

Co-authored-by: lian <lian@seafile.com>
Co-authored-by: llj <lingjun.li1@gmail.com>
2020-08-14 14:47:42 +08:00
杨顺强
f762b1a311
Optimize repo delete 2 (#4628)
* optimzie group repo delete logic

* repair code bug

* optimize repo delete code
2020-07-27 11:06:59 +08:00
lian
01c9ddd695 add upload link expire days limit 2020-07-22 16:45:15 +08:00
llj
e55a602d57 Merge branch '7.1'
Conflicts:
	frontend/src/pages/search/advanced-search.js
2020-07-22 10:59:53 +08:00
杨顺强
849fed5aaf
fix:Do not repeatedly delete requests to the server (#4622) 2020-07-21 18:15:57 +08:00
llj
dccddea02f
[share] offered 'internal link' for files and folders in encrypted libraries (#4621)
* offered 'share' for encrypted library in 'dir view' page
2020-07-21 11:16:33 +08:00
llj
05fc148ec7
[publish a library] improved optional library list (#4591) 2020-07-01 10:15:55 +08:00
llj
360c57c11b
['about' dialog] modified the year (#4581) 2020-06-08 10:14:23 +08:00
Michael An
8a90b33ad8
Change user select message (#4576)
* change user select

* change select user to search user
2020-06-03 15:50:13 +08:00
llj
1f08158663
[share dialog] share link / upload link: enable user to choose expira… (#4557)
* [share dialog] share link / upload link: enable user to choose expiration time

* fixup & improvement for 'share link / upload link'

* fixup for pages in which there is no 'share'

* for pages in which the variables are not returned

* [date-and-time picker] fixed UI.

* updated version of '@seafile/seafile-calendar' to fix its 'selected time' UI problem

* [share dialog] expiration time: improved 'disabledDate'

* update create share/upload link api

handle expiration_time parameter

* update

* update

* update

Co-authored-by: lian <lian@seafile.com>
2020-05-21 11:32:02 +08:00
llj
f921ad771d
[zip download dialog] modified dialog position (#4561) 2020-05-18 14:27:55 +08:00
llj
ca7d57e408
[share dialog] share link / upload link: use '24 hour time' for expiration (#4549) 2020-04-28 13:09:05 +08:00
llj
bb716b9acc
[share dialog] improvements (#4540) 2020-04-21 19:56:28 +08:00
llj
91e45db4d9
[shared dir view] added 'download selected items' (#4535) 2020-04-18 18:10:53 +08:00
llj
e1473aaf60
[file participants] show feedback when failed to add (#4534) 2020-04-16 11:08:39 +08:00
llj
7600d20c1b
[system admin / org admin] 'delete department' dialog: fixup & improvement (#4532) 2020-04-15 15:32:05 +08:00
llj
2796c7a648
improved dialogs (#4505)
* improved dialogs

* redesigned 'share' dialog and 'folder permission' dialog for mobile
* improved 'API token' dialog

* [dialogs] modification for mobile

* [dialogs] improvement & bugfix
2020-04-04 14:32:11 +08:00
shanshuirenjia
7e50035773 merge 7.0 2020-04-01 18:03:46 +08:00
杨顺强
07e9013c26
repair settings naming bug (#4510) 2020-04-01 17:55:59 +08:00
shanshuirenjia
e9f3f8ed2e conflict fixed 2020-04-01 11:19:09 +08:00
杨顺强
54621adb8a
improve move&copy interactive (#4495)
* improve move&copy  interactive

* optimize code

* optimize code
2020-03-31 13:45:36 +08:00
杨顺强
6c417b6fb4
Improve hu requirement (#4502)
* optimize code

* optimize code

* optimize code
2020-03-25 20:20:56 +08:00
杨顺强
011cb33fbb
Add hu berlin requirement (#4500)
* add new requirement

* update demo copyright

* update sf-font

* optimize code

* improve variables naming
2020-03-25 18:03:04 +08:00
lian
2de4d4846e
dingtalk (#4426)
Co-authored-by: lian <lian@seafile.com>
2020-03-19 20:15:26 +08:00
llj
af55315113
[share links admin dialog] added 'empty tip' (#4474) 2020-03-10 12:00:31 +08:00
lian
e27c0350d0
repo admin manage share/upload links (#4408)
* repo admin manage share/upload links

* [repo share/upload links] bugfix & improvement

Co-authored-by: lian <lian@seafile.com>
Co-authored-by: llj <lingjun.li1@gmail.com>
2020-03-09 16:30:27 +08:00
杨顺强
91a8bf9c24
update api name (#4470)
* update api name

* update api name
2020-03-06 14:19:48 +08:00
lian
b39b71fdfc
fix bug of share to user/group (#4468)
when update to 'admin' permission
2020-03-04 12:06:07 +08:00
shanshuirenjia
5f7e566581 Merge branch '7.0' 2020-03-02 17:52:41 +08:00
杨顺强
1737228bab
optimize translate code (#4465) 2020-03-02 17:47:34 +08:00
shanshuirenjia
307768d875 Merge branch '7.0' 2020-03-02 16:48:38 +08:00
杨顺强
8e58fb5b07
optimize code (#4462) 2020-03-02 16:44:39 +08:00
shanshuirenjia
53cf7f0492 merge 7.0 2020-02-29 17:08:58 +08:00
杨顺强
2f07e57255
Add progress for move (#4455)
* add move dsprogress ialog

* optimize code

* add copy logic

* update ui

* optimize code
2020-02-29 17:02:11 +08:00
llj
a8ba12e6fd
[copy link] improved 'copy link to the clipboard' (#4419)
* copy link to the clipboard, and make it shown as a link when pasted
into the seafile markdown editor
2020-02-03 16:43:49 +08:00
Michael An
c1b2b725f0 use seafile-react-image-lightbox (#4413) 2020-01-14 13:40:59 +08:00
llj
43f98c3bf0 fixed some text for translation (#4410) 2020-01-13 18:29:13 +08:00
杨顺强
c3dff6225f update seafile-js api (#4405) 2020-01-11 13:29:04 +08:00
llj
c485cfc932 improved empty tips (#4391) 2020-01-03 16:50:17 +08:00
lian
b67033c73d change permission on share pop up (#4386)
* change permission on share pop up

* update

* add Utils.getShareLinkPermissionStr
2020-01-02 12:05:50 +08:00
王健辉
f00c311ef1 add delete draft button (#4380)
* add delete draft button

* fix spelling mistakes
2019-12-28 18:18:23 +08:00
王健辉
abd6b27c3f update .po files (#4377) 2019-12-26 10:47:43 +08:00
llj
81fbe96620 [my libs] for new users: create default library and show the guide (#4372)
* [my libs] for new users: create default library and show the guide
dialog

* only do that for the first login

* [my libs] 'guide for new' dialog: redesigned the UI
2019-12-23 10:48:00 +08:00
杨顺强
4e584c8f65 improve code (#4370)
* improve code

* optimized code
2019-12-19 13:44:30 +08:00
llj
5e10f9ab73 bugfix for 'New Library' dialog (#4355) 2019-12-13 11:14:05 +08:00
llj
c21c5d2ac6 [system admin] logs: bugfix & improvement for 'export excel' dialog (#4344) 2019-12-09 21:37:24 +08:00
lian
941a4d45ef Merge branch '7.0' 2019-12-04 10:02:06 +08:00
杨顺强
50e0618a7d return repo/folder permission when get share link list (#4319)
* return repo/folder permission when get share link list

* update permission check when create/update share link

* optimized code

* optimized code

* add can_edit valid

* return can_edit field when get share link list
2019-12-03 13:52:52 +08:00
Leo
0dfc17ce2c add pro check for list departments (#4329) 2019-12-02 11:56:46 +08:00
llj
09c1a5e3d9 [misc] bugfix & improvement; removed unused files (#4321)
* redesigned 'repo api token' dialog
* fixup for 'system admin' pages
* removed unused ali 'priv/' files
2019-11-29 15:17:00 +08:00
llj
4ce33e4949 [dtable] cleanup: removed related files and code (#4314) 2019-11-28 11:34:41 +08:00
llj
d3f4f7669e Revert "fix add user role in non pro env (#4300)"
This reverts commit 9e7df5f746.
2019-11-27 13:43:55 +08:00
杨顺强
54fb6652da optimized code (#4304) 2019-11-27 11:51:10 +08:00
杨顺强
8a6801d8aa repair code bug (#4303) 2019-11-27 11:36:50 +08:00
Leo
9e7df5f746 fix add user role in non pro env (#4300) 2019-11-27 10:45:52 +08:00
sniper-py
04c4ba55c4 fix share TabPane (#4287) 2019-11-22 14:36:36 +08:00
杨顺强
4b3050354f optimized code struct (#4278) 2019-11-20 17:48:39 +08:00
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
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
llj
5f6ecc42c3 improved component commit-details.js (#4236) 2019-11-07 15:24:19 +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