1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-25 14:43:15 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
lian
2694bfffa5
add can_share_repo role permission (#6234)
* add can_share_repo role permission

* update

* update

---------

Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
2024-06-24 10:05:12 +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
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
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
llj
11772e0425 [a11y] share dialog: make tabs accessible by keyboard 2021-10-11 17:11:48 +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
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
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
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
bb716b9acc
[share dialog] improvements (#4540) 2020-04-21 19:56:28 +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
杨顺强
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
llj
c485cfc932 improved empty tips (#4391) 2020-01-03 16:50:17 +08:00
sniper-py
04c4ba55c4 fix share TabPane (#4287) 2019-11-22 14:36:36 +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
Leo
5b789c4300 corrent logic for check generate share link, and share link permissions (#4121) 2019-10-12 14:54:25 +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
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
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
杨顺强
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
59a783f578 add loading for share-dialog 2019-06-20 18:23:13 +08:00
shanshuirenjia
fec79816bc rename variable 2019-06-20 17:21:21 +08:00
shanshuirenjia
d1c8a5cc50 repair permission error 2019-06-20 17:13:15 +08:00
Michael An
454b6766de fix style (#3448) 2019-05-13 16:28:52 +08:00
Michael An
425f629488 Fix bugs (#3070)
* fix-loading

* fix-group-dialog
2019-03-07 12:23:44 +08:00
杨顺强
344eca259a Dir mode optimized (#2992)
* optimized isRepoOwner&isAdmin

* optimized isAdmin

* optimized encrypted porps

* optimized showShareBtn judgement

* repair share bug

* update showShareBtn logic

* delete unnecessary comment
2019-02-27 13:53:36 +08:00
Michael An
949f3fc7b3 move share dialog (#2995) 2019-02-25 18:17:04 +08:00
杨顺强
4c8a528e38 modify sf-font to op-target (#2932) 2019-02-12 10:50:02 +08:00
杨顺强
e57701fa38 Prop type check repair (#2919)
* repair intent check wraning

* change doublequote to singlequote, add semicolon

* optimized code

* modify type-check wraning
2019-01-31 17:37:02 +08:00
llj
d9a2f6ded9 [share] added permission check (#2900) 2019-01-29 10:06:26 +08:00
杨顺强
5bd74364f7 after copy success, close the shared dialog (#2774) 2019-01-05 20:40:41 +08:00
杨顺强
8c2944d124 Improve code for tables (#2730) 2018-12-28 16:34:04 +08:00
shanshuirenjia
853659cdc6 add shared group owned repo logic 2018-12-17 11:21:54 +08:00
shanshuirenjia
e62f59b2a8 repair code error 2018-12-17 11:20:45 +08:00
shanshuirenjia
ad6faba6bc repair invalid bug 2018-12-17 11:20:45 +08:00
shanshuirenjia
fc3b1d5b77 repair goup change bug 2018-12-06 14:39:21 +08:00
C_Q
16d6b9c6d0 Add sharing dialog and optimize nav-link style (#2580) 2018-12-06 11:28:16 +08:00