1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-13 23:14:29 +00:00
Commit Graph

382 Commits

Author SHA1 Message Date
欢乐马
a9c38c55a5
SERVICE_URL in env (#6919)
* SERVICE_URL in env

* rm SERVICE_URL in db config

* update SERVICE_URL test
2024-10-18 18:03:02 +08:00
lian
fa56751ab9
remove reference id (#6768) 2024-09-13 17:23:43 +08:00
Michael An
fba6f9735e
change default thumbnail size (#6710)
* change default thumbnail size

* change py test file

* change thumbnail image size
2024-09-05 14:56:52 +08:00
Ranjiwei
08028c4d41
add-sharelink-scope-check (#6628)
* add-sharelink-scope-check

* remove-enable-share-link-audit
2024-08-23 23:40:15 +08:00
Ranjiwei
e18777de9a
fix-related-users-error (#6571)
Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
2024-08-16 17:47:26 +08:00
Ranjiwei
9b3492088c
set-password-strength (#6477)
* set-password-strength

* update-uni-test

* Update views.py

* update

* remove userless code

* Update settings.py
2024-08-05 12:10:36 +08:00
lian
557f345467 Merge branch 'master' into 12.0 2024-07-19 14:58:02 +08:00
lian
d3ab3c5460
rm REPLACE_FROM_EMAIL and other unused code (#6339)
* rm REPLACE_FROM_EMAIL and other unused code

* update

* update
2024-07-12 11:50:22 +08:00
lian
7bcb54e817
Fix inst test (#6185)
* update institution test (#6149)

* update institution test

* update

* update inst test (#6150)
2024-06-11 11:48:17 +08:00
lian
abdf2ebb0c
update inst test (#6150) 2024-05-31 10:58:54 +08:00
lian
9d72584283
update institution test (#6149)
* update institution test

* update
2024-05-31 10:15:23 +08:00
Michael An
d7ac5688ef
12.0 change add existing file in wiki edit (#6057)
* 12.0 change add existing file in wiki edit

* 01 delete create wiki from existing library

* 02 change click wiki name jump to edit page and delete edit icon

* 03 delete select existing file to create new page

* optimize edit wiki

* 04 old wiki page use the early version 11.x features

* optimize wiki permission

* wiki add wiki2

* delete page file

* fix wiki test

---------

Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
2024-05-15 11:57:30 +08:00
欢乐马
6b67a76689
update profile user (#5985) 2024-03-19 10:52:04 +08:00
WJH
843482bd07
Client sso via local browser (#5627)
* client sso via local browser

* improve code

* optimize code

* fix code

* optimize code

* update server-info api

* fix test

* fix sso.py

* replace email with username
2023-12-19 15:50:02 +08:00
lian
255da086e6
org invite user (#5815) 2023-12-07 22:50:39 +08:00
WJH
532fa5ef8c
Improve login and create user (#5458)
* add create oauth/ldap/saml user in UserManager

* improve admin add/import users

* improve dingtalk/weixin/work_weixin login/create user

* improve saml login/create user

* improve oauth login/create user

* login ldap user in seahub

* improve invite user

* fix code

* fix github test action

* fix test

* fix saml login

* optimize code

* specify the version of python-ldap

* fix code

* improve code

* add get_old_user

* optimize oauth login code

* optimize code

* remove LDAP_USER_UNIQUE_ID

* remove test_primary_id

* improve authenticate user

* improve saml login

* optimize code
2023-06-19 13:06:15 +08:00
lian
f365f2b342 django 4.2 2023-06-12 09:53:31 +08:00
lian
ff9a0e92f9
Webdav secret (#5357)
* not show webdav password on user profile setting page

* hash webdav password

* show webdav url and username on user profile setting page

* update test

* update

* update

Co-authored-by: lian <lian@seafile.com>
2023-01-18 09:59:53 +08:00
王健辉
e63bbad7ec
fix wiki display table (#5262)
* fix wiki display table

* fix test
2022-09-19 17:28:13 +08:00
lian
5545bd648f update tests 2022-06-27 15:37:21 +08:00
王健辉
40949a6134 Merge branch '8.0' 2022-03-12 10:37:18 +08:00
王健辉
4fe5ff38a6 fix test 2022-03-11 13:54:43 +08:00
王健辉
a745ddad87 add test 2022-03-11 13:36:43 +08:00
lian
fece35af98 update test 2021-11-25 17:32:41 +08:00
王健辉
3b154c76c1 merge seahub-extra & repair test 2021-09-22 11:42:06 +08:00
王健辉
e805feca95 upgrade django to 3.2 2021-09-22 10:41:26 +08:00
王健辉
0430756328 merge seahub-extra into seahub 2021-08-26 13:42:35 +08:00
lian
a44c9a3d1e update test 2021-08-12 15:49:10 +08:00
lian
59509d4f61
update test (#4837)
fix failed test

Co-authored-by: lian <lian@seafile.com>
2021-03-17 16:13:10 +08:00
lian
030fa283cb
update .github/workflows/test.yml (#4750)
Co-authored-by: lian <lian@seafile.com>
2020-12-15 13:18:57 +08:00
王健辉
21756be27c
upgrade django to 2.2 (#4620) 2020-07-27 14:59:18 +08:00
lian
8fcfe292dc
add is_dir_downloadable check when download folder (#4590)
Co-authored-by: lian <lian@seafile.com>
2020-06-18 14:25:47 +08:00
王健辉
db0aeb4952
improve djangojs.js loading (#4460)
* improve djangojs.js loading

* remove send_email test
2020-03-02 14:43:55 +08:00
Leo
7df1192cbf admin api role check (#4353)
* admin api role check

* add check to new tabs and tests

* fix work-weixin virus scan check
2019-12-16 18:31:29 +08:00
Leo
7f7f5c577e Fix test (#4349)
* fix admin test_shares.py

* fix test admin terms_and_conditions
2019-12-11 18:25:05 +08:00
sniper-py
bc8c91b549 fix upload_file_test (#4343)
* fix upload_file_test

* seahub/views/ajax.py

* seahub/api2/views.py

* seahub/api2/endpoints/admin/system_library.py

* seahub/api2/endpoints/admin/upload_links.py

* seahub/api2/endpoints/upload_links.py

* seahub/api2/endpoints/via_repo_token.py

* seahub/api2/views.py

* tests/seahub/views/ajax/test_get_file_upload_url_u
2019-12-10 14:07:55 +08:00
Leo
81c924c94d delete unused wiki code (#4286)
* delete unused wiki code

* delete wiki unused code
2019-11-22 15:41:21 +08:00
sniper-py
33bc75de04 Fix npm test (#4284)
* fix via repo token test

* fix package-lock
2019-11-21 17:29:56 +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
de3e5a62de fix-terms-and-conditions-test (#4238) 2019-11-07 17:40:05 +08:00
Leo
007a254aa5 sysadmin reconstruct terms-and-conditions api (#4226)
* sysadmin reconstruct term and conditions api

* fix settings check in sysadmin terms and conditions api
2019-11-07 13:32:46 +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
Leo
d95da0bff1 move seahub-extra import inside api (#4221)
* move seahub-extra import inside api

* fix repos api, delete CCNET_SERVER_PORT

* fix test cases
2019-11-05 16:54:58 +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
5dae23e52b sysadmin institutions api (#4203)
* sysadmin institutions api
2019-11-02 13:16:49 +08:00
Leo
9f631a8235 delete GroupMessage & MessageReply & MessageAttachment & PublicGroup (#4193) 2019-10-25 17:42:33 +08:00
Leo
35050f2f9c Delete deprecated base models (#4185)
* delete InnerPubMsg

* delete FileDiscuss

* delete UserEnabledModule & GroupEnabledModule
2019-10-24 16:41:17 +08:00
Leo
485f14b3ff sysadmin reconstruct add invitations api (#4179)
* sysadmin reconstruct add invitations api
2019-10-24 11:30:12 +08:00
Leo
1a8a4562fa sysadmin reconstruct logs api (#4166)
* sysadmin reconstruct logs api
2019-10-22 11:59:48 +08:00
plt
2ced0bda04 Merge branch '7.0' 2019-10-21 16:44:49 +08:00