1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 02:51:00 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
Huang Junxiang
6d9d952079
revert: Python 3.8 compatibility (#7690)
* revert: Python 3.8 compatibility

* update(settings.py): default value for CACHE

* fix(settings.py): fetch redis cfg locations from env

* update requirements

* feat(gitcli::test.yml): support redis test

* feat(gitcli::test.yml): support redis test

* style(gitcli::test.yml): trailing blank line
2025-03-31 15:50:11 +08:00
awu0403
ddf3f91bbc
add pdfplumber (#7055)
* add pdfplumber

* Update requirements.txt

* Update utils.py

* optimize code

* optimize

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
2024-11-21 11:06:33 +08:00
awu0403
86f720bff5
preview heic img (#6700)
* preview heic img

* update

* Update requirements.txt

* Update utils.py

* Update requirements.txt

* update

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
2024-09-12 07:51:52 +08:00
skywalker
2861aa193e restore bleach version 2024-08-21 14:56:18 +08:00
skywalker
3729e83a3d update requirements 2024-08-21 14:56:18 +08:00
Ranjiwei
c2b9f111c4
update (#6459) 2024-08-01 15:22:17 +08:00
Ranjiwei
0ed71bbf85
Dns verify by dnspython (#6451)
* update

* Update saml_config.py

* add debug logger

* Update saml_config.py
2024-08-01 14:18:33 +08:00
awu0403
ca83ef90dc
add pdf thumbnail (#6157)
Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
2024-06-04 16:06:57 +08:00
欢乐马
55a2f36ab8
update dependents version (#5969) 2024-03-02 11:43:48 +08:00
skywalker
27888931ee related_users name_pinyin 2024-02-06 11:03:07 +08:00
欢乐马
7e3d48fc07
pillow 10.2.* (#5938) 2024-02-04 16:36:10 +08:00
欢乐马
d344378424
update captcha version (#5928) 2024-01-30 17:43:48 +08:00
skywalker
839248260e pillow==10.0.* 2023-10-09 14:49:14 +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
欢乐马
aa6796fc1e
fix django version (#5491) 2023-05-31 16:55:14 +08:00
lian
c50fe209ba
10.0 dependency (#5333)
* update requirments.txt

* update build json

* update webpack bundle version

Co-authored-by: shuntian <978987373@qq.com>
2022-12-20 14:13:19 +08:00
王健辉
1fdd392392
fix markdown xss (#5254) 2022-09-06 12:34:56 +08:00
杨顺强
27399d8970
Optimize wiki module (#5213)
* optimize code

* optimize code

* python load wiki file_content

* optimize style

* improve code

* optimize code

* update code

* optimize wiki style

* format <h> label

* add scroll interactive

* optimize code

* repair code bug

* format datetime

Co-authored-by: 王健辉 <40563566+mrwangjianhui@users.noreply.github.com>
2022-07-27 16:26:55 +08:00
dependabot[bot]
4cee2a3d35
Bump django from 3.2.6 to 3.2.14
Bumps [django](https://github.com/django/django) from 3.2.6 to 3.2.14.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.6...3.2.14)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 21:11:27 +00:00
lian
92eeb5942d update requirements.txt 2021-12-09 18:37:31 +08:00
王健辉
e805feca95 upgrade django to 3.2 2021-09-22 10:41:26 +08:00
王健辉
de33463b97 delete uselsee code 2021-08-26 18:22:00 +08:00
skywalker
a5b32f7a50 fix unittest 2021-07-27 16:30:39 +08:00
lian
390672c0e9 Merge branch '7.1' into 8.0 2021-05-20 10:58:25 +08:00
lian
620d929545 update requirements.txt
django-webpack_loader==0.7.0
2021-05-20 10:55:50 +08:00
lian
4cbc5a9346 pyjwt==2.1.* 2021-05-11 11:44:32 +08:00
lian
50121feb36 update 2021-05-06 14:59:04 +08:00
lian
c1a0dbf247 pyjwt==2.1.0 2021-04-29 14:48:48 +08:00
lian
c29a571826 Merge branch '7.1' into master 2021-02-05 11:55:34 +08:00
lian
ab29326568
not use post_office (#4806)
* not use post_office

* update requirements.txt

Co-authored-by: lian <lian@seafile.com>
2021-01-30 10:23:34 +08:00
lian
0bff0c1104 Merge branch '7.1' into master 2020-09-30 11:05:44 +08:00
lian
8aa6081206
djangorestframework==3.11.1 (#4687)
Co-authored-by: lian <lian@seafile.com>
2020-09-29 11:43:04 +08:00
王健辉
21756be27c
upgrade django to 2.2 (#4620) 2020-07-27 14:59:18 +08:00
sniper-py
a92d63776a
fix django-picklefield in 7.1 (#4625) 2020-07-22 16:33:54 +08:00
sniper-py
7280a3255b
fix test django-picklefield version (#4582)
* not print serahub log

* django-picklefield==2.1.1
2020-06-08 21:12:59 +08:00
sniper-py
2d38976b86
Fix req version (#4519)
* add requests_oauthlib

* fix django-post_office version
2020-04-10 12:18:22 +08:00
sniper-py
f706fe1f3d rm compressor (#4364) 2019-12-18 13:53:28 +08:00
sniper-py
10999de67a add pycryptodome (#4312) 2019-11-27 18:02:29 +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
王健辉
d2555ab137 use customized constance (#4191) 2019-10-25 15:01:41 +08:00
sniper-py
99a9ece04e Python3 master (#4076)
* delete thridpart/social_django

* delete social_django in seahub/urls.py

* delete social_django in seahub/settings.py

* delete seahub/notifications/management/commands/send_wxwork_notices.py

* delete social_django in code annotation

* delete seahub/social_core

* delete tests/seahub/social_core

* delete social_core in seahub/urls.py

* delete social_core in seahub/settings.py

* change app_label to auth in SocialAuthUser model

* 2to3 asserts

* 2to3 basestring

* 2to3 dict

* 2to3 except

* 2to3 filter

* 2to3 future

* 2to3 has_key

* 2to3 idioms

* 2to3 import

* 2to3 imports

* 2to3 long

* 2to3 map

* 2to3 next

* 2to3 numliterals

* 2to3 print

* 2to3 raise

* 2to3 raw_input

* 2to3 reduce

* 2to3 reload

* 2to3 set_literal

* 2to3 unicode

* 2to3 urllib

* 2to3 ws_comma

* 2to3 xrange

* 2to3 zip

* add pymysql in __init__.py

* fix encode and decode in seahub/cconvert.py

* fix seafserv_rpc.is_passwd_set in seahub/views/__init__.py

* fix smart_unicode to smart_text

* fix force_unicode to force_text

* delete seaserv.get_session_info

* delete seaserv.ccnet_rpc

* fix indent error in seahub/auth/middleware.py

* update dev-requirements

* update test-requirements

* update requirements

* fix StringIO to BytesIO in thumbnail

* fix seaserv.list_inner_pub_repos to seafile_api.get_inner_pub_repo_list

* fix seaserv.list_org_inner_pub_repos to seafile_api.list_org_inner_pub_repos

* add logger in seahub/utils/__init__.py

* fix sort cmp in seahub/views/__init__.py

* fix sort cmp in seahub/base/management/commands/export_file_access_log.py

* fix sort cmp in seahub/api2/endpoints/repo_trash.py

* fix sort cmp in seahub/api2/endpoints/shared_repos.py

* fix sort cmp in seahub/api2/endpoints/shared_folders.py

* fix sort cmp in seahub/wiki/views.py

* fix sort cmp in seahub/api2/endpoints/wiki_pages.py

* fix sort cmp in seahub/api2/endpoints/group_libraries.py

* fix sort cmp in seahub/base/models.py

* fix sort cmp in seahub/api2/endpoints/upload_links.py

* fix sort cmp in seahub/views/ajax.py

* fix sort cmp in seahub/api2/views.py

* fix sort cmp in seahub/views/wiki.py

* fix sort cmp in seahub/api2/endpoints/repos.py

* fix sort cmp in seahub/api2/endpoints/starred_items.py

* fix sort cmp in seahub/views/file.py

* fix sort cmp in seahub/api2/endpoints/dir.py

* fix sort cmp in seahub/api2/endpoints/share_links.py

* fix cmp to cmp_to_key in seahub/api2/endpoints/admin/device_trusted_ip.py

* fix cmp to cmp_to_key in tests/api/endpoints/admin/test_device_trusted_ip.py

* delete encode('utf-8') in seafile_api.list_dir_by_commit_and_path

* delete encode('utf-8') in is_file_starred

* delete encode('utf-8') in seafile_api.list_dir_by_path

* delete path.encode('utf-8') in seahub/views/file.py

* fix os.write to add encode('utf-8')

* add encode('utf-8') for hashlib

* add encode('utf-8') for hmac

* fix with open(file, 'wb') for binary file

* fix encode and decode in seahub/utils/hasher.py

* fix next in thirdpart/shibboleth/views.py

* fix next in seahub/profile/views.py

* fix next in seahub/notifications/views.py

* fix next in seahub/institutions/views.py

* fix next in seahub/options/views.py

* fix next in seahub/share/views.py

* fix next in seahub/avatar/views.py

* fix next in seahub/views/__init__.py

* fix next in seahub/group/views.py

* fix next in seahub/views/wiki.py

* fix next in seahub/views/sysadmin.py

* fix next in seahub/views/file.py

* fix string.lowercase to string.ascii_lowercase in test

* fix open file add 'rb' in test

* fix self.user.username in test

* add migrations in file_participants

* fix list_org_inner_pub_repos to list_org_inner_pub_repos_by_owner

* fix from seaserv import is_passwd_set to seafile_api.is_password_set

* fix assert bytes resp.content in test

* fix seafile_api.get_inner_pub_repo_list to seafile_api.list_inner_pub_repos_by_owner

* fix seafile_api.is_passwd_set to seafile_api.is_password_set

* fix AccountsApiTest assert length

* rewrite sort_devices cmp to operator.lt

* fix bytes + str in seahub/api2/views.py

* fix assert bytes resp.content in test

* fix hashlib encode in seahub/thirdpart/registration/models.py

* change app_label to base in SocialAuthUser

* fix base64 encode in seahub/base/database_storage/database_storage.py

* fix assert bytes resp.content

* remove path.decode in def mkstemp()

* remove path.decode in FpathToLinkTest

* remove str decode in FileTagTest

* remove mock_write_xls.assert_called_once() in SysUserAdminExportExcelTest

* fix urllib assert in FilesApiTest

* fix link fields in FileCommentsTest

* fix get_related_users_by_repo()

* fix assert list in GetRepoSharedUsersTest

* fix create user in AccountTest

* fix repeated key in dict seahub/api2/views.py

* add drone.yml

* update nginx conf in test

* update test conf in test

* update dist and push after test success

* update drone conf to dist and push

* fix assert in BeSharedReposTest

* fix seafile_api.list_org_inner_pub_repos_by_owner(org_id, username) to seafile_api.list_org_inner_pub_repos(org_id)

* fix seafile_api.list_inner_pub_repos_by_owner(username) to seafile_api.get_inner_pub_repo_list()

* update pyjwt requirement

* update dist branch in drone

* add SKIP in dist and push

* fix StringIO to BytesIO in seahub/avatar/models.py

* fix if org_id > 0 to if org_id and org_id > 0

* remove payment

* fix StringIO to BytesIO in seahub/base/database_storage/database_storage.py

* fix send_message to seafile_api.publish_event in seahub/drafts/utils.py

* fix send_message to seafile_api.publish_event in seahub/api2/views.py

* fix send_message to seafile_api.publish_event in seahub/api2/endpoints/repos.py

* fix send_message to seafile_api.publish_event in seahub/views/file.py

* fix send_message to seafile_api.publish_event in seahub/utils/__init__.py

* fix image_file.read encode in seahub/base/database_storage/database_storage.py

* fix DatabaseStorageTest

* remove .travis.yml

* drone branch include master
2019-09-11 11:46:43 +08:00
zhengxie
0efcbb10a3 [social auth & notification] Add wechat work notification 2019-01-28 11:36:00 +08:00
zhengxie
8e1d52ce10 Merge branch '6.3' 2018-12-07 14:59:14 +08:00
zhengxie
65a9fb8273 [requirements] Upgrade requests 2018-12-07 13:14:40 +08:00
zhengxie
242846eb3b Add futures requirement 2018-12-06 14:58:08 +08:00
zhengxie
f423f62b8e Add webdav secret api 2018-11-24 11:07:54 +08:00
zhengxie
a306737700 Fix post office connection and handle invitation error 2018-10-13 15:08:35 +08:00
zhengxie
ddcd19a4a6 Upgrade rest_framework to 3.3.3 to fix html render error in web api
ref: https://forum.seafile.com/t/6-3-6-pro-api-broken-user-feedback-as-i-go/7356/5
2018-10-08 10:58:50 +08:00
zhengxie
efbfbb42c7 [requirements] Update django to 1.11.15 2018-08-07 10:19:57 +08:00