1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-13 04:36:04 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
llj
3d7b8b3a6b
Image zoom rotate (#7425)
* [image file view] added a zoomer(enable users to zoom in/out the image)

* [image file view] added 'rotate'(rotate the image in counter-clockwise direction and save it)

* [image file view] fixup

* [image file view] keep the 'prev/next' icons displayed on top of the image which is zoomed in

* [image file view] improved the display of the 'image saved' tip

* [image file view] don't offer 'zoom in/out' & 'rotate' for images with errors

* [image file view] don't offer 'rotate' for PSD & HEIC files

* [image file view] enable HEIC files to be viewed online
2025-02-08 10:27:34 +08:00
llj
e645b29d87
Pdf file view redesign (#7188)
* [pdf file view] added 'find' operation icon; redesigned the 'find' bar

* [pdf file view] the 'find' bar: updated the 'find previous/next' buttons; added a 'clear query' function

* [pdf file view] 'print': redesigned the 'Preparing document for printing' dialog

* [pdf file view] the 'find' bar: updated the styles of the border & the 'input'

* [pdf file view] 'preparing document for printing' dialog: updated UI details

* [pdf file view] 'preparing document for printing' dialog: modified the border & the backdrop
2024-12-17 14:45:57 +08:00
Michael An
73ddd29170
fix view file code-mirror bug (#6975) 2024-10-31 12:40:09 +08:00
lian
096e9cb9fd
update view pdf file page (#6966)
hide print button if can not download
2024-10-30 09:48:06 +08:00
llj
3cdb6260e1
[onlyoffice file view] added a custom toolbar(star/unstar, smart link… (#6880)
* [onlyoffice file view] added a custom toolbar(star/unstar, smart link, details, open parent folder, fold/unfold)

* [onlyoffice file view] added a new 'details' panel for it
2024-10-12 20:32:39 +08:00
Ranjiwei
86770c47f9
add-download-url (#6771)
* add-download-url

* update unitest

* update

* update

* update

* update

* Update test_view_lib_file.py

* code-optimize

* Update shared-dir-view.js

* code-optimize
2024-09-19 11:12:10 +08:00
Michael An
e6261c1c3a
Fix download python file bug (#6736)
* fix download py file bug

* download in current tab
2024-09-09 13:55:17 +08:00
llj
172ab0d2ad
For mobile (#6523)
* ['notice' popover, 'all notice' dialog] fixup for mobile

* ['Files' page] fixed library icon size for mobile

* ['settings' page] fixup for 'Email notification'

* ['my libs'] fixed 'star/unstar', 'share', 'delete'

* ['deleted repos' dialog] modified column width of the table for mobile

* ['share' dialog] modified 'link details' panel for mobile

* [side panel resizer] removed it for mobile

* [group/department, shared with all] fixed the operation menu for mobile

* ['dir view'] don't offer 'repo history' page for mobile

* ['help'] fixup for page with large images, for mobile

- fixup for http://127.0.0.1:8000/help/drive_client_2.0_for_windows_10/
  (in mobile, the content of it overflowed to the right, and was cut off)

* ['file view'] removed 'history' page for mobile

* ['markdown file view'] removed 'history' page for small screen, mobile

* ['dir view'] added a gray layer to close the 'file/folder tree' panel in mobile

* ['dir view'] fixup for the 'path' bar in mobile

* ['dir view', 'shared dir view'] don't display the 'tag list' in root for mobile
2024-08-12 12:14:03 +08:00
Michael An
fd12baeea1
change file page icons style (#6493)
* change file page icons style

* change save icon style

* change Open parent folder menu
2024-08-06 14:16:23 +08:00
llj
8aac3a27c8
File view new icons (#6448)
* ['file view'] use new icons(svg icons)

* ['file view'] use new icons for 'markdown file view' page

* ['file view'] for 'markdown & other text files': highlight the 'Save' button when it can be saved
2024-08-01 11:31:43 +08:00
Michael An
67210c7363
fix code format (#6365) 2024-07-18 11:58:42 +08:00
Michael An
6233649970
12.0 remove font awesome (#6257)
* remove font-awesome

* remove font awesome 3.2.1
2024-06-28 08:39:44 +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
Michael An
adc8960fd8
change Operation to operation (#5878) 2024-01-03 18:08:24 +08:00
Michael An
2a6aa4b4d4
remove comment (#5650)
* remove comment

* remove useless third party lib

* remove comment
2023-09-18 18:15:54 +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
542e54ad05
Pdf viewer (#5574)
* [pdf viewer] use the latest PDFjs(v3.8.162)

* [pdf viewer] redesigned it: added side panel(thumbnail panel) and bottom bar(includes side panel toggle, 'file page manager', and 'zoom manager')

* [pdf file view] added 'print' to the top-right toolbar
2023-08-09 18:54:58 +08:00
llj
7ab352db18
Sdoc (#5434)
* [sdoc file view] added file view, history/trash file view for 'sdoc'

* [sdoc file view] sdoc-editor: upgraded it to the latest version(0.1.5)

- sdoc file view: enable 'auto save'
- sdoc shared/history/trash file view: use the read-only sdoc viewer

* [sdoc file view] fixup
2023-04-17 15:32:52 +08:00
llj
eef9824233 [a11y] file view: added support for 'keyboard access' & bugfix for 'internal link' 2021-10-11 16:17:11 +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
f6e055b78b [markdown file view] added 'aria-label' to the operation buttons 2021-07-19 18:04:05 +08:00
llj
2a2ba8830a [file view] added 'aria-label' to the operation buttons 2021-07-14 10:57:21 +08:00
llj
372be49ae1 [markdown file view] toolbar: added 'download' & 'open via client', and etc. 2021-04-19 16:14:59 +08:00
llj
06254447e4
File view op (#4836)
* [file view] added 'Details' & 'open via client'

* [file view] adjusted places of operations

* [file view] 'open via client': use a new icon

* [file view] 'open via client': updated the icon
2021-03-18 17:31:21 +08:00
llj
04f29704b3
[eslint] updated eslintrc and improved the code (#4702) 2020-11-02 13:56:35 +08:00
llj
ec3d7434f2
[file share] fixup for 'internal link' (#4637) 2020-08-04 07:37:58 +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
王健辉
cffda3ebf9 file history page rewrite 2019-04-23 11:53:26 +08:00
LeoSirius
0de9829258 add space between buttons 2019-04-22 12:12:43 +08:00
LeoSirius
571eb92766 optimize code detail 2019-04-22 11:31:39 +08:00
LeoSirius
e8185211f3 update txt saving mechanism to mobile client 2019-04-22 11:04:08 +08:00
LeoSirius
dc81840916 delete extra blanks 2019-04-19 22:44:41 +08:00
LeoSirius
9df8dcf64f fix with confilt files 2019-04-19 22:40:47 +08:00
LeoSirius
993885fc39 fix 2019-04-19 22:32:19 +08:00
Leo
5a5c98dbbf
Merge branch 'master' into update_txt_file_save_mechanism 2019-04-19 21:59:11 +08:00
LeoSirius
58440a94b9 fix warning in other format of files 2019-04-19 21:32:54 +08:00
Daniel Pan
b95e5075c6
Revert "Update txt file save mechanism" 2019-04-19 19:51:11 +08:00
Daniel Pan
8317d40f71
Merge pull request #3326 from haiwen/update_txt_file_save_mechanism
Update txt file save mechanism
2019-04-19 18:42:51 +08:00
LeoSirius
fad00989f1 optimize save button's status 2019-04-19 11:57:07 +08:00
llj
7a0bcfc8e4 [file view] modification for mobile 2019-04-18 18:19:54 +08:00
LeoSirius
cdc9d4865e change the mechanism of saving txt file, use md file's way of saving 2019-04-18 18:18:11 +08:00
llj
9210a0dcfe [file view] added 'share' (#3108) 2019-03-14 12:00:02 +08:00
llj
07917663ff [file view] modified 'comment' icon (#3027) 2019-03-01 15:51:51 +08:00
llj
4438708040 rewrote 'text file view' & tidied 'file view' code (#2996) 2019-02-25 18:09:17 +08:00
llj
5fb00fb8d3 [image file view] modified 'header' ui (#2987) 2019-02-23 11:30:29 +08:00
llj
2a2bd2b783 [image file view] rewrote it with react (#2983)
* [image file view] rewrote it with react

* [image file view] modification

* [image file view] modified code indentation & etc.
2019-02-22 18:16:44 +08:00