Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"template": "https://github.com/OVINC-CN/DevTemplateDjango.git",
"commit": "394459732ddce4619ad7a43cb96b5e3694f97c6a",
"commit": "841a1bc85c7f2d66306150e07a65128c2658b309",
"checkout": "main",
"context": {
"cookiecutter": {
"project_name": "union-api",
"_copy_without_render": [
".github"
],
"_template": "https://github.com/OVINC-CN/DevTemplateDjango.git"
"_template": "https://github.com/OVINC-CN/DevTemplateDjango.git",
"_commit": "841a1bc85c7f2d66306150e07a65128c2658b309"
}
},
"directory": null
Expand Down
2 changes: 1 addition & 1 deletion apps/account/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ class OIDCLoginRequestSerializer(serializers.Serializer):
OIDC Login
"""

next = serializers.CharField(label=gettext_lazy("Next"))
next = serializers.CharField(label=gettext_lazy("Redirect To"))
1 change: 1 addition & 0 deletions entry/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"apps.home",
"apps.notice",
"apps.tcloud",
"ovinc_client",
"ovinc_client.tcaptcha",
"ovinc_client.trace",
]
Expand Down
74 changes: 4 additions & 70 deletions locale/zh_Hans/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-14 13:29+0800\n"
"POT-Creation-Date: 2025-10-05 20:00+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -173,6 +173,9 @@ msgstr "电话已被使用"
msgid "State"
msgstr "状态"

msgid "Redirect To"
msgstr "重定向地址"

msgid "Application"
msgstr "应用"

Expand Down Expand Up @@ -372,72 +375,3 @@ msgstr "认证 Token 非法"

msgid "App Auth Failed"
msgstr "应用鉴权失败"

msgid "Mail Address"
msgstr "邮件地址"

msgid "Code Verify Failed"
msgstr "代码验证失败"

msgid "LIST"
msgstr "LIST"

msgid "CREATE"
msgstr "CREATE"

msgid "UPDATE"
msgstr "UPDATE"

msgid "PARTIAL_UPDATE"
msgstr "PARTIAL_UPDATE"

msgid "DESTROY"
msgstr "DESTROY"

msgid "Request Failed"
msgstr "请求失败"

msgid "Server Error"
msgstr "服务器异常"

msgid "Login Required"
msgstr "未登录"

msgid "Login Failed"
msgstr "登录失败"

msgid "Permission Denied"
msgstr "未经授权"

msgid "Operate Error"
msgstr "异常操作"

msgid "Resource Not Found"
msgstr "资源未找到"

msgid "Service Closed"
msgstr "服务已关闭"

msgid "Soft Delete"
msgstr "软删除"

msgid "Invalid Page Number"
msgstr "页码错误"

msgid "TCaptcha"
msgstr "腾讯云验证码"

msgid "Success"
msgstr "成功"

msgid "Low"
msgstr "低"

msgid "High"
msgstr "高"

msgid "TCaptcha Verify Failed"
msgstr "验证码校验失败"

msgid "App Performance"
msgstr "应用性能"
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# ovinc
ovinc-client==0.4.0
ovinc-client==0.4.2

# Celery
celery==5.4.0
celery==5.5.3

# ASGI
asgiref==3.8.1
channels[daphne]==4.2.0
channels_redis==4.2.1
asgiref==3.10.0
channels[daphne]==4.3.1
channels_redis==4.3.0

# Server
gunicorn==23.0.0
uvicorn-worker==0.2.0
uvicorn==0.34.0
uvicorn-worker==0.4.0
uvicorn==0.37.0

# Datetime
arrow==1.3.0

# RSA
pycryptodome==3.21.0
pycryptodome==3.23.0

# tencent cloud
tencentcloud-sdk-python==3.0.1282
tencentcloud-sdk-python==3.0.1470

# oidc
django-oidc-provider==0.8.3
django-oidc-provider==0.9.0
6 changes: 0 additions & 6 deletions scripts/messages.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
export PACKAGE_PATH=`python -c "import site; print(site.getsitepackages()[0])"`

ln -s "$PACKAGE_PATH/ovinc_client" ovinc_client

python manage.py makemessages -l zh_Hans --no-wrap --no-location -s

rm ovinc_client
Loading