1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-19 09:37:51 +00:00
Commit Graph

212 Commits

Author SHA1 Message Date
杨国璇
8a5bcf1c14
feat: metadata editor(number、single select、collaborator) (#6385)
* feat: metadata editor(number、single select)

* feat: optimize code

* feat: optimize code

* feat: add checkbox editor

* feat: optimzie code

* feat: delete code

* feat: optimzie code

* feat: optimzie eslint

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
2024-07-25 16:42:18 +08:00
Aries
be84e505d0
12.0 grid view support multiple selection (#6403)
* Feature - multiple selection with ctrl/shift

* update grid view context menu list in multiple selection mode

* fix code format

* optimize codes
2024-07-23 23:08:53 +08:00
Aries
64aba5bb4e
display thumbnail after upload file (#6382) 2024-07-22 11:41:30 +08:00
Ranjiwei
3b0cd4fcbe
repo-metadata-views (#6344)
* repo-metadata-views

* Update metadata_manage.py

* feat: add view

* feat: refresh view tool bar

* update

---------

Co-authored-by: 杨国璇 <ygx@192.168.124.14>
2024-07-22 09:45:08 +08:00
Michael An
67210c7363
fix code format (#6365) 2024-07-18 11:58:42 +08:00
Michael An
6d4e06b571
Fix search folder bug (#6346)
* 01 remove useless toolbar

* 02 change search result is dir
2024-07-13 21:03:31 +08:00
Michael An
10dfe2e47c
fix search when change repoID (#6338)
* fix search when change repoID

* change function name
2024-07-11 20:37:57 +08:00
Michael An
c41407f783
12.0 change app structure (#6335)
* 01 change app structure

* 02 change setting page

* 03 optimize header style

* 04 change app mobile side panel logo
2024-07-11 17:45:30 +08:00
Michael An
00713041c6
fix md convert to sdoc (#6331) 2024-07-11 12:09:57 +08:00
杨国璇
1ae64295c9
fix: resize (#6319)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
2024-07-09 17:00:12 +08:00
Michael An
8b016dabb2
12.0 fix selected dirents number bug (#6296) 2024-07-04 16:54:39 +08:00
杨国璇
19f15c944f
feat: sf metadata display (#6249)
* feat: sf metadata display

* feat: update code

* feat: update code

* feat: lock react version

* feat: bug

* feat: optimize code

* feat: update transalte

* feat: update transalte

* feat: rebase code

* Feat: update code

* Feat: update code

---------

Co-authored-by: 杨国璇 <ygx@192.168.1.5>
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
Co-authored-by: 杨国璇 <ygx@192.168.1.13>
2024-06-29 17:58:27 +08:00
Michael An
d35d96417e
12.0 fix unselect dirs (#6204) 2024-06-15 08:52:02 +08:00
Michael An
2c442f0932
Fix searched file is markdown (#6172)
* fix searched file is markdown

* delete uesless codes
2024-06-06 16:57:20 +08:00
awu0403
ca83ef90dc
add pdf thumbnail (#6157)
Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
2024-06-04 16:06:57 +08:00
llj
69011567a3
[dir view] redesigned the toolbar for the current folder (#6117)
* [dir view] redesigned the toolbar for the current folder

* [dir view] toolbar for the current folder: code cleanup

* [dir view] toolbar for the current folder: updated the 'upload' icon; modified UI details
2024-05-27 16:47:19 +08:00
llj
eac54b1255
[dir view] redesigned the top toolbar for the selected dirent(s) (#6111)
* [dir view] redesigned the top toolbar for the selected dirent(s)

* code cleanup
2024-05-24 19:20:36 +08:00
llj
af1ad767ca
[dir view] redesign: moved 'list/grid' view mode icons down to the 'cur path'bar, grouped 'properties', 'tags', 'history', 'trash' icons into a 'more' dropdown menu (#6102) 2024-05-21 21:06:50 +08:00
llj
96b01defce
[dir view] store the open/closed state of the tree panel into localStorage (#6095) 2024-05-17 15:10:09 +08:00
llj
a78f8e97a2
[dir view] added an icon button to toggle between displaying/hiding the dirent tree panel (#6093) 2024-05-16 20:14:26 +08:00
llj
96f43f6afc
[dir view] redesigned it: removed the 'column' mode icon; always display (#6054)
the left side 'tree' panel; let the 'list' & 'grid' column mode icon
only control the right side main content
2024-05-07 16:45:51 +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
Michael An
ef60661f50
Change AI search icon (#5956)
* fix code warnings

* change AI search icon
2024-02-19 16:12: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
llj
5beb5165fe
[dir view] markdown/sdoc conversion: only display 1 toast for one time(don't display 2 toasts at the same time) (#5906) 2024-01-19 15:45:11 +08:00
llj
255f9b89d4
[dir view] fixed the bug 'folder does not exist'(remove the effect of '?notifications=all', which is added to the URL when the 'view all notifications' dialog is open.) (#5861) 2023-12-26 14:48:59 +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
Michael An
429eecdd06
fix warnings and rename unsafe lifecycle function (#5814) 2023-12-06 17:24:05 +08:00
lian
a9c3a6638c
Folder shared out (#5601)
* show if folder has been shared out

* [dir view] use special folder icon to identify folders which are shared out

* [dir view] improvement: in a library, make only one request to get the data of folders shared out

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-11-15 17:01:50 +08:00
Michael An
4e5c6fa98a
Fix search input UI (#5769)
* fix code warnings

* change search UI
2023-11-15 15:39:47 +08:00
lian
57d0aad7b7
update rename file error msg (#5753)
show detailed msg when failed to rename file because file is locked
2023-11-11 17:17:41 +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
2e97b4e341
[dir view] removed related info & function for 'readme.md' in the top info bar (#5720) 2023-10-31 10:13:48 +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
llj
f42421903a
[dir view] fixed 'selectedDirentList' state after moving dirents (#5654) 2023-09-20 08:07:51 +08:00
Michael An
52f9ae02b1 fix code bug 2023-09-18 10:20:47 +08:00
JoinTyang
e7d32fd4d6
convert markdown and sdoc (#5636) 2023-09-14 14:36:58 +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
llj
cd3ede438f
[dir view] 'column' mode: fixup for node not loaded when update the node tree after 'move/copy' (#5632) 2023-09-07 15:39:48 +08:00
欢乐马
c31334d657
revision url (#5558)
* revision url

* update revision_id
2023-07-24 10:47:12 +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
llj
b4ed03c537
[dir view - column mode] markdown file view: fixup for tags(display & edit) (#5497) 2023-06-07 20:41:12 +08:00
lian
7b25ea1b7f
support undo operation when delete single file/folder (#5475) 2023-05-16 15:46:38 +08:00
lian
b24c13dce5
delete dirents undo (#5422)
* delete dirents undo

* update message

* update

* update

* [dir view] fixup & improvements for 'restore deleted dirents'(refactored it)

---------

Co-authored-by: llj <lingjun.li1@gmail.com>
2023-04-22 08:03:58 +08:00
杨顺强
3a4cb45fcf
Update dependency 4 (#5348)
* react react-dom reach-router react-image-lightbox

* update seafile-editor version

* optimize codemirror code

* optimize code

* repair code bug

* optimize code

* optimize code

* optimize seafile-editor version

* update seafile-editor version

* optimize code

* optimize code
2022-12-29 12:21:47 +08:00
llj
d6671ce2f8
[dir view] added a confirmation dialog for deleting a folder (#5321) 2022-11-28 09:27:17 +08:00
llj
7b56e8eace
Seahub UI (#5261)
* [top toolbar] fixed the position of the vertical line between 2 sides

- fixed it for all the pages
- removed the duplicated 'div.main-panel' in 'lib-content-view'

* [search] modified the UI

* [top toolbar] redesigned the notification

* [top toolbar] avatar & the triangle: modified the UI

* [left side panel] updated the UI; fixup & improvement

* [misc] modified links' color, op-icon, and etc.

* [misc] updated UI for share dialog, other dialogs, & 'more operations' dropdown

* [misc] UI: modified markdown side panels, comment panels, input/textarea placeholder

* ['user settings' page] modified UI

* [shared dir upload link page] modified the UI

* [user settings] modified the UI

* [user settings] fixup

* [seafile-ui.css] use an updated one (modified color of buttons)
2022-10-12 18:10:12 +08:00
lian
1252e7b6ef
remove repo share when delete custom share perm (#5241)
Co-authored-by: lian <lian@seafile.com>
2022-08-17 11:20:19 +08:00
shanshuirenjia
1139e250a6 fix code bug 2022-04-11 17:52:07 +08:00
shanshuirenjia
eb505a6fcd fix word spelling bug 2022-04-11 17:27:02 +08:00
llj
6993247423 [related files] removed all the related functions 2022-03-11 18:38:57 +08:00
lian
8192e64175 update onlyoffice convert 2021-09-18 12:35:23 +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
llj
6bfd8cce96 [video thumbnail] display the thumbnails for some pages.
- when 'video thumbnail' feature is enabled, display the thumbnails
  for 'dir view', 'starred(favorites)', 'file view', 'shared dir view'
  pages.
2021-07-19 15:13:17 +08:00
llj
a78529f97a [dir view] offered 'full dirent list' for 'image viewer' to view all the images 2021-06-16 18:02:48 +08:00
lian
911f419c97 Merge branch '7.1' into master 2020-12-30 11:09:05 +08:00
杨顺强
2a6faa5208
fix: update window.open function for integrate to onlyoffice (#4742) 2020-12-10 11:30:16 +08:00
llj
04f29704b3
[eslint] updated eslintrc and improved the code (#4702) 2020-11-02 13:56:35 +08:00
shanshuirenjia
c7bafc48ac Merge branch '7.0' 2020-04-11 18:12:47 +08:00
shanshuirenjia
488c4c51b6 repair code bug 2020-04-11 18:09:39 +08:00
shanshuirenjia
03a88f7f47 repair code bug 2020-04-11 18:03:45 +08:00
shanshuirenjia
138814464f Merge branch '7.0' 2020-04-11 17:58:52 +08:00
杨顺强
1f1b58f1db
improve move copy code (#4522) 2020-04-11 17:54:52 +08:00
shanshuirenjia
9c8347f1a3 Merge branch '7.0' 2020-04-10 18:22:52 +08:00
杨顺强
5591bbd1d6
repair bug&improve code (#4521)
* repair bug&improve code

* delete test code
2020-04-10 18:08:27 +08:00
shanshuirenjia
91ef56e516 Merge branch '7.0' 2020-04-02 15:56:19 +08:00
杨顺强
11a0d0fc3c
Repair move copy bug 2 (#4511)
* optimize code

* optimize code

* add copy tip
2020-04-02 15:45:33 +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
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
杨顺强
2aa0a6fbc5
repair merge bug (#4459) 2020-03-02 11:21:13 +08:00
shanshuirenjia
c3af9ff2a1 Merge branch '7.0' 2020-03-02 10:15:05 +08:00
杨顺强
35e4b0218f
optimize toolbar code (#4456) 2020-02-29 22:47:48 +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
lian
dcb871c957 Merge branch '7.0' 2020-01-06 16:25:55 +08:00
杨顺强
520f6d4639 Repair toolbar operation state (#4375)
* repair toolbar operation state error bug

* add comment

* optimized code
2019-12-25 10:16:09 +08:00
杨顺强
4e584c8f65 improve code (#4370)
* improve code

* optimized code
2019-12-19 13:44:30 +08:00
杨顺强
0c8d221a45 repair weixin lib search bug (#4173) 2019-10-22 12:01:00 +08:00
杨顺强
295decc039 repair wechat bug (#4150) 2019-10-15 10:16:48 +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
杨顺强
eecc8968b5 repair translate error (#3911) 2019-07-25 07:55:52 +08:00
zxj96
c3566bed08 add catch errMessage 2019-07-23 11:39:18 +08:00
zxj96
f0835ad754 repair bug 2019-07-23 11:20:17 +08:00
zxj96
4293050ab6 Add queryAsyncOperationProgress API 2019-07-23 09:42:09 +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
shanshuirenjia
b5e46aa903 share item show bug 2019-06-27 11:48:41 +08:00
shanshuirenjia
d5d6472186 repair share btn control bug 2019-06-21 17:54:06 +08:00
Michael An
479350dc77 fix-warnings 2019-06-21 13:59:17 +08:00
zxj96
36a51ba551 modify func name 2019-06-12 21:43:33 +08:00
zxj96
59c57cccba Remove extra spaces 2019-06-12 21:18:31 +08:00
zxj96
e3738aa7b6 delete compare func 2019-06-12 21:14:12 +08:00
zxj96
7bc32c807a optimization code 2019-06-12 20:50:12 +08:00
zxj96
147e94d011 modify func name 2019-06-12 17:59:08 +08:00