256 Commits

Author SHA1 Message Date
casbin-bot
2be7d28a6c Sync from crowdin 2021-07-19 10:11:58 +08:00
killer
21b36bbb47 feat: add UI to view logs
Signed-off-by: killer <1533063601@qq.com>
2021-07-19 10:11:01 +08:00
Yang Luo
6ae8e537b9 Improve translation. 2021-07-19 10:00:26 +08:00
ErikQQY
64950e900f Sync from crowdin 2021-07-04 09:41:24 +00:00
hsluoyz
66bb34f051 Sync from crowdin 2021-07-04 07:04:11 +00:00
hsluoyz
264bf5c447 Sync from crowdin 2021-07-03 06:54:19 +00:00
ErikQQY
dcf85591e2 feat: Integrate Crowdin
Signed-off-by: ErikQQY <2283984853@qq.com>
2021-07-03 10:09:29 +08:00
wasabi
7eb4da6e54
feat: add tooltips for xxxeditPage fields (#135)
Signed-off-by: wasabi <690898835@qq.com>
2021-06-30 00:58:25 +08:00
Yang Luo
fbfae75780 Improve code modal style. 2021-06-27 01:34:25 +08:00
Yang Luo
a42a76400e Improve "Send Code" button style. 2021-06-27 00:52:15 +08:00
Yang Luo
234a9b9060 Add one tooltip. 2021-06-25 00:13:53 +08:00
Yang Luo
1e9cca02fc
Merge pull request #117 from turbodog03/turbodog03
fix: improve i18n and add some translation
2021-06-22 23:10:34 +08:00
turbodog
3a806c14ff feat: improve i18n and add some translation
Signed-off-by: turbodog <turbodog1003@gmail.com>
2021-06-20 00:32:16 +08:00
Yang Luo
92610f9971 Add prompt page. 2021-06-18 02:09:19 +08:00
Yang Luo
9dd43238f0 Add DefaultAvatar to org. 2021-06-17 01:44:19 +08:00
Yang Luo
3274bd0c7c Improve signup page. 2021-06-16 15:25:54 +08:00
Yang Luo
02b1feb2e5 Add signup table. 2021-06-16 14:07:39 +08:00
Yang Luo
8bc9163def Improve i18n. 2021-06-15 22:12:50 +08:00
Yang Luo
2e68f8c6d5 Improve i18n. 2021-06-14 17:18:40 +08:00
Yang Luo
7f22f05073 Show signup preview. 2021-06-14 13:55:53 +08:00
Yang Luo
8ddc0cd626 Improve oauth button UI. 2021-06-11 20:48:42 +08:00
Yang Luo
081da18403 Add address to user. 2021-06-04 20:54:17 +08:00
Weihao Chen
1cb5ae54c5
feat: add "forget password" [front & backend] (#75)
* feat: add "forget password" [front & backend]

Signed-off-by: Weihao <1340908470@qq.com>

* fix: verification code can be sent even if no mobile phone or email is selected
refactor: forgetPassword -> forget; GetEmailAndPhoneByUsername -> GetEmailAndPhone; remove useless note

Signed-off-by: Weihao <1340908470@qq.com>
2021-06-02 13:39:01 +08:00
Yang Luo
11f1f8f440 Show properties in user page. 2021-05-30 18:35:05 +08:00
Yang Luo
089ff6c6eb Add AffiliationUrl. 2021-05-24 21:27:00 +08:00
Yang Luo
b23e8cf90c Improve i18n. 2021-05-24 20:48:04 +08:00
Yang Luo
2fff5f79ce Can set email title and content now. 2021-05-24 20:21:41 +08:00
Yang Luo
bd888fad38 Fix translation. 2021-05-23 23:40:44 +08:00
Kininaru
f39378562f feat: turing test before send code
Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-22 21:03:49 +08:00
Kininaru
66d953a6c1 feat: check user email and phone when signing up
Signed-off-by: Kininaru <shiftregister233@outlook.com>

phone prefix error

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix i18n error

Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed useless file

Signed-off-by: Kininaru <shiftregister233@outlook.com>

move timeout to app.conf

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

made verification code reusable

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-18 22:20:26 +08:00
Yang Luo
43db2de8d8 Add phone provider. 2021-05-15 13:43:21 +08:00
Yang Luo
fb9f18af2c Add Email provider. 2021-05-14 23:45:20 +08:00
Yang Luo
b7cbc0e015 Return sms error message. 2021-05-14 18:19:47 +08:00
Yang Luo
d361a39ffc Add phone prefix to UI. 2021-05-14 17:39:53 +08:00
Kininaru
1589da0a62 fix: check cn phone regex bug and add check to verification code
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-13 09:55:37 +08:00
Kininaru
892cb39e3e feat: move User.PhonePrefix to Organization.PhonePrefix
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-13 09:39:07 +08:00
Kininaru
827930a020 feat: add reset phone by verification code
Signed-off-by: Kininaru <shiftregister233@outlook.com>

fixed client bug

Signed-off-by: Kininaru <shiftregister233@outlook.com>

feat: add i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

add Casbin License

Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed port from remoteaddr

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-12 22:59:42 +08:00
Kininaru
33e61cc5cf feat: set password for users
Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed useless blank

Signed-off-by: Kininaru <shiftregister233@outlook.com>

add license header

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

database logic

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-09 20:56:52 +08:00
Yang Luo
d2d4c411ab Add password button. 2021-05-09 14:53:05 +08:00
Yang Luo
e3b3a76088 Add willLog() and control access to signup page. 2021-05-08 16:52:02 +08:00
Yang Luo
8a4311c85c Add PasswordSalt to org. 2021-05-06 19:13:03 +08:00
Yang Luo
82f4f542ed Add User's IsForbidden. 2021-05-02 12:18:28 +08:00
Yang Luo
0f7cd56441 Support Email and phone login. 2021-05-01 20:23:20 +08:00
Yang Luo
cfe1eb9d50 Improve panic message. 2021-04-29 15:43:15 +08:00
Yang Luo
35e482f24e Fix the signup. 2021-04-28 21:56:14 +08:00
Yang Luo
ef1995de4f Translate signup page. 2021-04-28 09:43:11 +08:00
Yang Luo
6fbdc556ac Improve UI text. 2021-04-28 00:13:50 +08:00
Yang Luo
7a0ed4ebaf Replace "register" with "sign up". 2021-04-27 22:47:44 +08:00
Yang Luo
8ce8169d65 Translate login page. 2021-04-27 22:03:22 +08:00
Yang Luo
0faeaae78f Improve i18n. 2021-04-27 20:59:50 +08:00