1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00
Commit Graph

472 Commits

Author SHA1 Message Date
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
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
plt
2ced0bda04 Merge branch '7.0' 2019-10-21 16:44:49 +08:00
Leo
07059239d1 sysadmin reconstrcut orgs frontend (#4074)
* sysadmin reconstruct orgs page

* [system admin] orgs: refactored it
2019-10-21 09:45:00 +08:00
Leo
58a2bff06e sysadmin reconstruct department pages (#4156)
* sysadmin reconstruct department pages

* optimize code
2019-10-19 11:57:58 +08:00