Browse Source

Merge branch 'master' into develop

release-1.8.0 v1.8.0
Hironsan 2 years ago
parent
commit
28f0d8606b
6 changed files with 8 additions and 7 deletions
  1. 6
      backend/poetry.lock
  2. 1
      docker/docker-compose.prod.yml
  3. 2
      frontend/i18n/de/rules.js
  4. 2
      frontend/i18n/fr/rules.js
  5. 2
      frontend/i18n/zh/rules.js
  6. 2
      frontend/pages/projects/_id/sequence-labeling/index.vue

6
backend/poetry.lock

@ -1460,7 +1460,7 @@ python-versions = ">=3.6"
[[package]] [[package]]
name = "waitress" name = "waitress"
version = "2.1.1"
version = "2.1.2"
description = "Waitress WSGI server" description = "Waitress WSGI server"
category = "main" category = "main"
optional = false optional = false
@ -2545,8 +2545,8 @@ vine = [
{file = "vine-5.0.0.tar.gz", hash = "sha256:7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e"}, {file = "vine-5.0.0.tar.gz", hash = "sha256:7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e"},
] ]
waitress = [ waitress = [
{file = "waitress-2.1.1-py3-none-any.whl", hash = "sha256:c549f5b2b4afd44d9d97d7cec79f3ef581e25d832827f415dc175327af674aa8"},
{file = "waitress-2.1.1.tar.gz", hash = "sha256:e2e60576cf14a1539da79f7b7ee1e79a71e64f366a0b47db54a15e971f57bb16"},
{file = "waitress-2.1.2-py3-none-any.whl", hash = "sha256:7500c9625927c8ec60f54377d590f67b30c8e70ef4b8894214ac6e4cad233d2a"},
{file = "waitress-2.1.2.tar.gz", hash = "sha256:780a4082c5fbc0fde6a2fcfe5e26e6efc1e8f425730863c04085769781f51eba"},
] ]
watchdog = [ watchdog = [
{file = "watchdog-2.1.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9693f35162dc6208d10b10ddf0458cc09ad70c30ba689d9206e02cd836ce28a3"}, {file = "watchdog-2.1.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9693f35162dc6208d10b10ddf0458cc09ad70c30ba689d9206e02cd836ce28a3"},

1
docker/docker-compose.prod.yml

@ -59,6 +59,7 @@ services:
build: build:
context: .. context: ..
dockerfile: docker/Dockerfile.nginx dockerfile: docker/Dockerfile.nginx
image: doccano_nginx:prod
environment: environment:
API_URL: "http://backend:8000" API_URL: "http://backend:8000"
GOOGLE_TRACKING_ID: "" GOOGLE_TRACKING_ID: ""

2
frontend/i18n/de/rules.js

@ -29,7 +29,7 @@ export default {
}, },
uploadFileRules: { uploadFileRules: {
fileRequired: 'Datei(en) werden benötigt', fileRequired: 'Datei(en) werden benötigt',
fileLessThan1MB: 'Dateigröße muss kleiner als 1 MB sein!'
fileLessThan1MB: 'Dateigröße muss kleiner als 100 MB sein!'
}, },
passwordRules: { passwordRules: {
passwordRequired: 'Passwort wird benötigt', passwordRequired: 'Passwort wird benötigt',

2
frontend/i18n/fr/rules.js

@ -29,7 +29,7 @@ export default {
}, },
uploadFileRules: { uploadFileRules: {
fileRequired: 'Le fichier est obligatoire', fileRequired: 'Le fichier est obligatoire',
fileLessThan1MB: 'La taille du fichier doit être inférieure à 1MB'
fileLessThan1MB: 'La taille du fichier doit être inférieure à 100 MB'
}, },
passwordRules: { passwordRules: {
passwordRequired: 'Le mot de passe est obligatoire', passwordRequired: 'Le mot de passe est obligatoire',

2
frontend/i18n/zh/rules.js

@ -33,7 +33,7 @@ export default {
}, },
uploadFileRules: { uploadFileRules: {
fileRequired: '请输入文件', fileRequired: '请输入文件',
fileLessThan1MB: '文件大小必须小于 1 MB!'
fileLessThan1MB: '文件大小必须小于 100 MB!'
}, },
passwordRules: { passwordRules: {
passwordRequired: '请输入密码', passwordRequired: '请输入密码',

2
frontend/pages/projects/_id/sequence-labeling/index.vue

@ -127,7 +127,7 @@ export default {
this.$route.query.isChecked this.$route.query.isChecked
) )
const doc = this.docs.items[0] const doc = this.docs.items[0]
if (this.enableAutoLabeling) {
if (this.enableAutoLabeling && !doc.isConfirmed) {
await this.autoLabel(doc.id) await this.autoLabel(doc.id)
} }
await this.list(doc.id) await this.list(doc.id)

Loading…
Cancel
Save