1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-06 19:49:29 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
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
20cf8b7f58
change file icon size to 256 (#6490) 2024-08-05 21:04:31 +08:00
Michael An
67210c7363
fix code format (#6365) 2024-07-18 11:58:42 +08:00
llj
8c14e4abac
[long name] fixup for repo/folder share/upload link pages with long library/folder/file names (#5990) 2024-03-22 12:01:12 +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
llj
cca420eb72
[shared file view] added a space after 'Download' for the big green download button in the top right (#5953) 2024-02-08 16:50:36 +08:00
llj
0b67fe5db7
[favicon] use file type icon as favicon for 'file view, shared file view' pages for different types of files (#5775) 2023-11-22 11:29:01 +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
7db323a63a [shared file view] markdown: modifie UI for the 'head' & outline 2022-05-27 12:37:10 +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
llj
9acfef9fc8
[shared file view] update for watermark (#4536) 2020-04-17 20:42:06 +08:00
shanshuirenjia
e9f3f8ed2e conflict fixed 2020-04-01 11:19:09 +08:00
杨顺强
0649f71545
repair share link file view bug (#4481) 2020-03-16 11:42:26 +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
llj
c487805b59 [shared file view] fixup for download url (#4026) 2019-08-28 11:23:15 +08:00
llj
694900e82b [shared file view] added modification for 'preview only' (#3867) 2019-07-17 17:34:22 +08:00
llj
f187c101c8 [shared file view] fixed download url for file from shared dir 2019-05-15 18:24:20 +08:00
llj
1100fa8aa7 [view file via shared dir] rewrote it with react (#3235) 2019-04-10 17:57:58 +08:00
llj
6c49334ca3 [shared file view] rewrote with react (#3191)
* rewrote 'file view' with react for audio, document, spreadsheet, svg,
unknown files
* code improvement for 'video' file
* bugfix
2019-03-29 15:30:44 +08:00
llj
61fc8c20dc [shared file view] code improvement (#3185)
* added component shared-file-view.js & shared-file-view-tip.js
* modified 'text file view'
2019-03-28 10:59:43 +08:00