@nocobase/plugin-auth 2.0.0-alpha.41 → 2.0.0-alpha.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/externalVersion.js
CHANGED
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.0.0-alpha.
|
|
11
|
+
"@nocobase/client": "2.0.0-alpha.43",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"react-router-dom": "6.30.1",
|
|
14
|
-
"@nocobase/utils": "2.0.0-alpha.
|
|
14
|
+
"@nocobase/utils": "2.0.0-alpha.43",
|
|
15
15
|
"axios": "1.7.7",
|
|
16
16
|
"lodash": "4.17.21",
|
|
17
|
-
"@nocobase/auth": "2.0.0-alpha.
|
|
18
|
-
"@nocobase/database": "2.0.0-alpha.
|
|
19
|
-
"@nocobase/cache": "2.0.0-alpha.
|
|
20
|
-
"@nocobase/server": "2.0.0-alpha.
|
|
21
|
-
"@nocobase/logger": "2.0.0-alpha.
|
|
22
|
-
"@nocobase/test": "2.0.0-alpha.
|
|
17
|
+
"@nocobase/auth": "2.0.0-alpha.43",
|
|
18
|
+
"@nocobase/database": "2.0.0-alpha.43",
|
|
19
|
+
"@nocobase/cache": "2.0.0-alpha.43",
|
|
20
|
+
"@nocobase/server": "2.0.0-alpha.43",
|
|
21
|
+
"@nocobase/logger": "2.0.0-alpha.43",
|
|
22
|
+
"@nocobase/test": "2.0.0-alpha.43",
|
|
23
23
|
"@formily/antd-v5": "1.2.3",
|
|
24
24
|
"antd": "5.24.2",
|
|
25
25
|
"@formily/shared": "2.3.7",
|
|
@@ -27,6 +27,6 @@ module.exports = {
|
|
|
27
27
|
"react-i18next": "11.18.6",
|
|
28
28
|
"@emotion/css": "11.13.0",
|
|
29
29
|
"@ant-design/icons": "5.6.1",
|
|
30
|
-
"@nocobase/actions": "2.0.0-alpha.
|
|
30
|
+
"@nocobase/actions": "2.0.0-alpha.43",
|
|
31
31
|
"@formily/core": "2.3.7"
|
|
32
32
|
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"1. Select notification channel": "1. Выберите канал уведомлений",
|
|
3
|
+
"2. Configure reset email": "2. Настройте email для сброса",
|
|
4
|
+
"add one first": "сначала добавьте",
|
|
5
|
+
"Allow to sign in with": "Разрешить вход с помощью",
|
|
6
|
+
"Allow to sign up": "Разрешить регистрацию",
|
|
7
|
+
"At least one of the username or email fields is required": "Требуется хотя бы одно из полей: имя пользователя или email",
|
|
8
|
+
"Auth Type": "Тип аутентификации",
|
|
9
|
+
"Auth UID": "UID аутентификации",
|
|
10
|
+
"Authentication": "Аутентификация",
|
|
11
|
+
"Authenticators": "Аутентификаторы",
|
|
12
|
+
"Back to login": "Вернуться к входу",
|
|
13
|
+
"Content type": "Тип контента",
|
|
14
|
+
"Days": "Дни",
|
|
15
|
+
"defaultResetPasswordEmailContentHTML": "<p>Привет {{$user.username}},</p>\n\n<p>Мы получили запрос на сброс пароля для вашей учетной записи {{$systemSettings.title}}.</p>\n\n<p>Пожалуйста, нажмите на ссылку ниже, чтобы установить новый пароль:</p>\n\n<p>\n <a href=\"{{$resetLink}}\">Сбросить пароль</a>\n</p>\n\n<p>\n Если вы не запрашивали сброс пароля, пожалуйста, проигнорируйте это письмо. Ваш пароль останется неизменным.\n</p>\n\n<p>\n Обратите внимание: Для вашей безопасности эта ссылка для сброса пароля истечет через <strong>{{$resetLinkExpiration}} минут</strong>.\n</p>\n\n<p>Если у вас возникли проблемы со сбросом пароля, пожалуйста, обратитесь в нашу службу поддержки.</p>\n\n<p>\n Спасибо,<br>\n Команда {{$systemSettings.title}}\n</p>",
|
|
16
|
+
"defaultResetPasswordEmailContentText": "Привет {{$user.username}},\n\nМы получили запрос на сброс пароля для вашей учетной записи {{$systemSettings.title}}.\n\nПожалуйста, нажмите на ссылку ниже, чтобы установить новый пароль:\n\n{{$resetLink}}\n\nЕсли вы не запрашивали сброс пароля, пожалуйста, проигнорируйте это письмо. Ваш пароль останется неизменным.\n\nОбратите внимание: Для вашей безопасности эта ссылка для сброса пароля истечет через {{$resetLinkExpiration}} минут.\n\nЕсли у вас возникли проблемы со сбросом пароля, пожалуйста, обратитесь в нашу службу поддержки.\n\nСпасибо, Команда {{$systemSettings.title}}",
|
|
17
|
+
"defaultResetPasswordEmailSubject": "Сброс пароля для {{$systemSettings.title}}",
|
|
18
|
+
"Email channel not found": "Email канал не найден",
|
|
19
|
+
"Enable forget password": "Включить забытый пароль",
|
|
20
|
+
"Expired token refresh limit": "Лимит обновления истекшего токена",
|
|
21
|
+
"Forgot password": "Забыли пароль",
|
|
22
|
+
"Go to login": "Перейти к входу",
|
|
23
|
+
"Hours": "Часы",
|
|
24
|
+
"In configuration mode, the entire column becomes transparent. In non-configuration mode, the entire column will be hidden. Even if the entire column is hidden, its configured default values and other settings will still take effect.": "В режиме конфигурации весь столбец становится прозрачным. В неконфигурационном режиме столбец будет скрыт. Даже если столбец скрыт, заданные значения по умолчанию и другие настройки останутся в силе.",
|
|
25
|
+
"Minutes": "Минуты",
|
|
26
|
+
"Missing X-Authenticator in request header": "Отсутствует X-Authenticator в заголовке запроса",
|
|
27
|
+
"No authentication methods available.": "Методы аутентификации недоступны.",
|
|
28
|
+
"No notification channels found. Please ": "Каналы уведомлений не найдены. Пожалуйста, ",
|
|
29
|
+
"Not a valid cellphone number, please re-enter": "Недопустимый номер телефона, пожалуйста, введите снова",
|
|
30
|
+
"Not allowed to reset password": "Сброс пароля не разрешен",
|
|
31
|
+
"Not allowed to sign up": "Регистрация не разрешена",
|
|
32
|
+
"Password": "Пароль",
|
|
33
|
+
"Password is not allowed to be changed": "Изменение пароля не разрешено",
|
|
34
|
+
"Plain text": "Обычный текст",
|
|
35
|
+
"Please enter a password": "Пожалуйста, введите пароль",
|
|
36
|
+
"Please enter a valid email": "Пожалуйста, введите действительный email",
|
|
37
|
+
"Please enter a valid username": "Пожалуйста, введите действительное имя пользователя",
|
|
38
|
+
"Please enter new password": "Пожалуйста, введите новый пароль",
|
|
39
|
+
"Please enter the same password again": "Пожалуйста, введите тот же пароль снова",
|
|
40
|
+
"Please enter your email": "Пожалуйста, введите ваш email",
|
|
41
|
+
"Please enter your username or email": "Пожалуйста, введите имя пользователя или email",
|
|
42
|
+
"Please keep and enable at least one authenticator": "Пожалуйста, сохраните и включите хотя бы один аутентификатор",
|
|
43
|
+
"Reset email sent successfully": "Email для сброса успешно отправлен",
|
|
44
|
+
"Reset link expiration (minutes)": "Срок действия ссылки сброса (минуты)",
|
|
45
|
+
"Reset link has expired": "Ссылка сброса истекла",
|
|
46
|
+
"Reset password": "Сбросить пароль",
|
|
47
|
+
"Reset password email": "Email для сброса пароля",
|
|
48
|
+
"Reset password link": "Ссылка сброса пароля",
|
|
49
|
+
"Saved successfully!": "Успешно сохранено!",
|
|
50
|
+
"Seconds": "Секунды",
|
|
51
|
+
"Send reset email": "Отправить email для сброса",
|
|
52
|
+
"Session validity period": "Срок действия сессии",
|
|
53
|
+
"Show": "Показать",
|
|
54
|
+
"Sign in via email": "Войти через email",
|
|
55
|
+
"Sign in via password": "Войти через пароль",
|
|
56
|
+
"Sign up form": "Форма регистрации",
|
|
57
|
+
"Sign up settings": "Настройки регистрации",
|
|
58
|
+
"Sign-in": "Вход",
|
|
59
|
+
"Subject": "Тема",
|
|
60
|
+
"The authentication allows users to sign in via username or email.": "Аутентификация позволяет пользователям входить через имя пользователя или email.",
|
|
61
|
+
"The maximum time limit allowed for refreshing a Token after it expires. After this time limit, the token cannot be automatically renewed, and the user needs to log in again.": "Максимальный срок, разрешенный для обновления токена после истечения. После этого срока токен не может быть автоматически обновлен, и пользователю нужно войти снова.",
|
|
62
|
+
"The maximum valid time for each user login. During the session validity, the Token will be automatically updated. After the timeout, the user is required to log in again.": "Максимальное время действия каждого входа пользователя. В течение срока действия сессии токен будет автоматически обновляться. После истечения времени пользователю потребуется войти снова.",
|
|
63
|
+
"The notification channel used to send the reset password email, only support email channel": "Канал уведомлений, используемый для отправки email сброса пароля, поддерживает только email канал",
|
|
64
|
+
"The password is inconsistent, please re-enter": "Пароли не совпадают, пожалуйста, введите снова",
|
|
65
|
+
"The password is incorrect, please re-enter": "Пароль неверный, пожалуйста, введите снова",
|
|
66
|
+
"The passwords entered twice are inconsistent": "Введенные пароли не совпадают",
|
|
67
|
+
"The phone number has been registered, please login directly": "Номер телефона зарегистрирован, пожалуйста, войдите напрямую",
|
|
68
|
+
"The phone number is not registered, please register first": "Номер телефона не зарегистрирован, пожалуйста, зарегистрируйтесь сначала",
|
|
69
|
+
"The username or email is incorrect, please re-enter": "Имя пользователя или email неверны, пожалуйста, введите снова",
|
|
70
|
+
"The username/email or password is incorrect, please re-enter": "Имя пользователя/email или пароль неверны, пожалуйста, введите снова",
|
|
71
|
+
"The validity period of each issued API Token. After the Token expires, if it is within the session validity period and has not exceeded the refresh limit, the server will automatically issue a new Token to maintain the user session, otherwise the user is required to log in again. (Each Token can only be refreshed once)": "Срок действия каждого выданного API-токена. После истечения срока токена, если он находится в пределах срока действия сессии и не превысил лимит обновления, сервер автоматически выдаст новый токен для поддержания сессии, иначе пользователю потребуется войти снова. (Каждый токен может быть обновлен только один раз)",
|
|
72
|
+
"Token expired": "Токен истек",
|
|
73
|
+
"Token policy": "Политика токенов",
|
|
74
|
+
"Token validity period": "Срок действия токена",
|
|
75
|
+
"Token validity period must be less than session validity period!": "Срок действия токена должен быть меньше срока действия сессии!",
|
|
76
|
+
"Unauthenticated. Please sign in to continue.": "Пожалуйста, войдите, чтобы продолжить.",
|
|
77
|
+
"User not found": "Пользователь не найден",
|
|
78
|
+
"User not found. Please sign in again to continue.": "Пользователь не найден. Пожалуйста, войдите снова, чтобы продолжить.",
|
|
79
|
+
"Username/Email": "Имя пользователя/Email",
|
|
80
|
+
"Your session has expired. Please sign in again.": "Ваша сессия истекла. Пожалуйста, войдите снова."
|
|
81
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cron","description":"Cron jobs for your node","version":"2.4.4","author":"Nick Campbell <nicholas.j.campbell@gmail.com> (https://github.com/ncb000gt)","bugs":{"url":"https://github.com/kelektiv/node-cron/issues"},"repository":{"type":"git","url":"https://github.com/kelektiv/node-cron.git"},"main":"lib/cron","scripts":{"lint":"eslint {lib,tests}/*.js","test":"jest --coverage","test:watch":"jest --watch --coverage","test:types":"tsd","prepare":"husky install","release":"semantic-release"},"types":"types/index.d.ts","dependencies":{"@types/luxon":"~3.3.0","luxon":"~3.3.0"},"devDependencies":{"@commitlint/cli":"~17.6.6","@insurgentlab/commitlint-config":"^18.1.0","@insurgentlab/conventional-changelog-preset":"~6.0.3","@semantic-release/changelog":"~6.0.x","@semantic-release/commit-analyzer":"~9.0.x","@semantic-release/git":"~10.0.x","@semantic-release/github":"~8.1.x","@semantic-release/npm":"~10.0.x","@semantic-release/release-notes-generator":"~11.0.x","chai":"~4.2.x","eslint":"~8.36.x","eslint-config-prettier":"^8.7.x","eslint-config-standard":"~17.0.x","eslint-plugin-import":"~2.27.x","eslint-plugin-jest":"~27.2.x","eslint-plugin-n":"~15.6.x","eslint-plugin-prettier":"~4.2.x","eslint-plugin-promise":"~6.1.x","husky":"^8.0.3","jest":"~29.5.x","prettier":"~2.8.x","semantic-release":"~21.0.x","sinon":"^15.0.x","tsd":"^0.28.1"},"keywords":["cron","node cron","node-cron","schedule","scheduler","cronjob","cron job"],"license":"MIT","contributors":["Brandon der Blätter <https://interlucid.com/contact/> (https://github.com/intcreator)","Romain Beauxis <toots@rastageeks.org> (https://github.com/toots)","James Padolsey <> (https://github.com/jamespadolsey)","Finn Herpich <fh@three-heads.de> (https://github.com/ErrorProne)","Clifton Cunningham <clifton.cunningham@gmail.com> (https://github.com/cliftonc)","Eric Abouaf <eric.abouaf@gmail.com> (https://github.com/neyric)","humanchimp <morphcham@gmail.com> (https://github.com/humanchimp)","Craig Condon <craig@spiceapps.com> (https://github.com/spiceapps)","Dan Bear <daniel@hulu.com> (https://github.com/danhbear)","Vadim Baryshev <vadimbaryshev@gmail.com> (https://github.com/baryshev)","Leandro Ferrari <lfthomaz@gmail.com> (https://github.com/lfthomaz)","Gregg Zigler <greggzigler@gmail.com> (https://github.com/greggzigler)","Jordan Abderrachid <jabderrachid@gmail.com> (https://github.com/jordanabderrachid)","Masakazu Matsushita <matsukaz@gmail.com> (matsukaz)","Christopher Lunt <me@kirisu.co.uk> (https://github.com/kirisu)"],"jest":{"collectCoverage":true,"collectCoverageFrom":["lib/*.js"],"coverageThreshold":{"global":{"statements":80,"branches":80,"functions":70,"lines":80}}},"files":["lib","types","CHANGELOG.md","LICENSE","README.md"],"_lastModified":"2025-11-
|
|
1
|
+
{"name":"cron","description":"Cron jobs for your node","version":"2.4.4","author":"Nick Campbell <nicholas.j.campbell@gmail.com> (https://github.com/ncb000gt)","bugs":{"url":"https://github.com/kelektiv/node-cron/issues"},"repository":{"type":"git","url":"https://github.com/kelektiv/node-cron.git"},"main":"lib/cron","scripts":{"lint":"eslint {lib,tests}/*.js","test":"jest --coverage","test:watch":"jest --watch --coverage","test:types":"tsd","prepare":"husky install","release":"semantic-release"},"types":"types/index.d.ts","dependencies":{"@types/luxon":"~3.3.0","luxon":"~3.3.0"},"devDependencies":{"@commitlint/cli":"~17.6.6","@insurgentlab/commitlint-config":"^18.1.0","@insurgentlab/conventional-changelog-preset":"~6.0.3","@semantic-release/changelog":"~6.0.x","@semantic-release/commit-analyzer":"~9.0.x","@semantic-release/git":"~10.0.x","@semantic-release/github":"~8.1.x","@semantic-release/npm":"~10.0.x","@semantic-release/release-notes-generator":"~11.0.x","chai":"~4.2.x","eslint":"~8.36.x","eslint-config-prettier":"^8.7.x","eslint-config-standard":"~17.0.x","eslint-plugin-import":"~2.27.x","eslint-plugin-jest":"~27.2.x","eslint-plugin-n":"~15.6.x","eslint-plugin-prettier":"~4.2.x","eslint-plugin-promise":"~6.1.x","husky":"^8.0.3","jest":"~29.5.x","prettier":"~2.8.x","semantic-release":"~21.0.x","sinon":"^15.0.x","tsd":"^0.28.1"},"keywords":["cron","node cron","node-cron","schedule","scheduler","cronjob","cron job"],"license":"MIT","contributors":["Brandon der Blätter <https://interlucid.com/contact/> (https://github.com/intcreator)","Romain Beauxis <toots@rastageeks.org> (https://github.com/toots)","James Padolsey <> (https://github.com/jamespadolsey)","Finn Herpich <fh@three-heads.de> (https://github.com/ErrorProne)","Clifton Cunningham <clifton.cunningham@gmail.com> (https://github.com/cliftonc)","Eric Abouaf <eric.abouaf@gmail.com> (https://github.com/neyric)","humanchimp <morphcham@gmail.com> (https://github.com/humanchimp)","Craig Condon <craig@spiceapps.com> (https://github.com/spiceapps)","Dan Bear <daniel@hulu.com> (https://github.com/danhbear)","Vadim Baryshev <vadimbaryshev@gmail.com> (https://github.com/baryshev)","Leandro Ferrari <lfthomaz@gmail.com> (https://github.com/lfthomaz)","Gregg Zigler <greggzigler@gmail.com> (https://github.com/greggzigler)","Jordan Abderrachid <jabderrachid@gmail.com> (https://github.com/jordanabderrachid)","Masakazu Matsushita <matsukaz@gmail.com> (matsukaz)","Christopher Lunt <me@kirisu.co.uk> (https://github.com/kirisu)"],"jest":{"collectCoverage":true,"collectCoverageFrom":["lib/*.js"],"coverageThreshold":{"global":{"statements":80,"branches":80,"functions":70,"lines":80}}},"files":["lib","types","CHANGELOG.md","LICENSE","README.md"],"_lastModified":"2025-11-20T04:15:00.733Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"ms","version":"2.1.3","description":"Tiny millisecond conversion utility","repository":"vercel/ms","main":"./index","files":["index.js"],"scripts":{"precommit":"lint-staged","lint":"eslint lib/* bin/*","test":"mocha tests.js"},"eslintConfig":{"extends":"eslint:recommended","env":{"node":true,"es6":true}},"lint-staged":{"*.js":["npm run lint","prettier --single-quote --write","git add"]},"license":"MIT","devDependencies":{"eslint":"4.18.2","expect.js":"0.3.1","husky":"0.14.3","lint-staged":"5.0.0","mocha":"4.0.1","prettier":"2.0.5"},"_lastModified":"2025-11-
|
|
1
|
+
{"name":"ms","version":"2.1.3","description":"Tiny millisecond conversion utility","repository":"vercel/ms","main":"./index","files":["index.js"],"scripts":{"precommit":"lint-staged","lint":"eslint lib/* bin/*","test":"mocha tests.js"},"eslintConfig":{"extends":"eslint:recommended","env":{"node":true,"es6":true}},"lint-staged":{"*.js":["npm run lint","prettier --single-quote --write","git add"]},"license":"MIT","devDependencies":{"eslint":"4.18.2","expect.js":"0.3.1","husky":"0.14.3","lint-staged":"5.0.0","mocha":"4.0.1","prettier":"2.0.5"},"_lastModified":"2025-11-20T04:15:00.816Z"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-auth",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.43",
|
|
4
4
|
"main": "./dist/server/index.js",
|
|
5
5
|
"homepage": "https://docs.nocobase.com/handbook/auth",
|
|
6
|
+
"homepage.ru-RU": "https://docs-ru.nocobase.com/handbook/auth",
|
|
6
7
|
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/auth",
|
|
7
8
|
"devDependencies": {
|
|
8
9
|
"@ant-design/icons": "5.x",
|
|
@@ -24,10 +25,12 @@
|
|
|
24
25
|
"@nocobase/test": "2.x"
|
|
25
26
|
},
|
|
26
27
|
"displayName": "Authentication",
|
|
28
|
+
"displayName.ru-RU": "Аутентификация пользователей",
|
|
27
29
|
"displayName.zh-CN": "用户认证",
|
|
28
30
|
"description": "User authentication management, including password, SMS, and support for Single Sign-On (SSO) protocols, with extensibility.",
|
|
31
|
+
"description.ru-RU": "Управление аутентификацией пользователей: пароли, SMS, поддержка протоколов единого входа (SSO) и возможность расширения.",
|
|
29
32
|
"description.zh-CN": "用户认证管理,包括基础的密码认证、短信认证、SSO 协议的认证等,可扩展。",
|
|
30
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "5e1b7446db50446b80427240a38a9417f3742c05",
|
|
31
34
|
"keywords": [
|
|
32
35
|
"Authentication",
|
|
33
36
|
"Security"
|