2345 Commits

Author SHA1 Message Date
Kininaru
885592d774 feat: add email sender
Signed-off-by: Kininaru <shiftregister233@outlook.com>

update go mod sum

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-09 11:39:42 +08:00
Yang Luo
a1851c2b78 Add github.com/dchest/captcha imports. 2021-05-09 11:29:25 +08:00
Yang Luo
de67ee9014 Can sync update from 2nd DB. 2021-05-08 22:04:45 +08:00
Yang Luo
c76a432003 Add user.UpdateUserHash() 2021-05-08 18:51:37 +08:00
Yang Luo
e3b3a76088 Add willLog() and control access to signup page. 2021-05-08 16:52:02 +08:00
Yang Luo
75f23478d1 Add GetMaskedUser(). 2021-05-08 00:06:30 +08:00
Yang Luo
a24665714a Add logger. 2021-05-07 20:51:29 +08:00
Yang Luo
8a4311c85c Add PasswordSalt to org. 2021-05-06 19:13:03 +08:00
Yang Luo
f442f11568 Move passwordType to org. 2021-05-05 23:32:21 +08:00
Yang Luo
fffada894c Add organization and user to token. 2021-05-04 22:36:05 +08:00
Yang Luo
6095af0512 Add checkPassword(). 2021-05-03 10:13:32 +08:00
Yang Luo
6e47cd5bd5 Add getSaltedPassword(). 2021-05-03 01:23:45 +08:00
Yang Luo
813204194f Add SignupUrl and ForgetUrl to Application. 2021-05-03 00:48:02 +08:00
Yang Luo
76e4490aa7 Add cron job to run syncUsers(). 2021-05-02 23:18:12 +08:00
Yang Luo
d8aa6a1c95 Add TestSyncUsers(). 2021-05-02 23:06:08 +08:00
Yang Luo
1407ba5af7 Add db sync test. 2021-05-02 13:57:57 +08:00
Yang Luo
82f4f542ed Add User's IsForbidden. 2021-05-02 12:18:28 +08:00
Yang Luo
79f1c62ff7 Move adapter.createTable() out, make engine public. 2021-05-02 10:34:31 +08:00
Yang Luo
be0cfa132e Rename db to driverName. 2021-05-02 00:34:15 +08:00
Yang Luo
d509c61816 Fix bug in Casdoor's own 3rd-party login. 2021-05-02 00:20:40 +08:00
Yang Luo
0f7cd56441 Support Email and phone login. 2021-05-01 20:23:20 +08:00
Yang Luo
5b1b8662ac Improve CheckUserLogin(). 2021-05-01 19:45:40 +08:00
Yang Luo
7b32207443 Check more in CheckUserSignup(). 2021-05-01 18:39:40 +08:00
Yang Luo
904faae6eb Improve CheckUserSignup(). 2021-05-01 17:45:01 +08:00
Yang Luo
a093f3af5a Add username check. 2021-05-01 16:54:06 +08:00
hsluoyz
9971b368d0
Merge pull request #51 from Kininaru/master
feat: add info about MySQL and Postgres in readme
2021-04-30 20:21:24 +08:00
Kininaru
6ad1f5d33b feat: add info about MySQL and Postgres in readme
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-30 19:35:03 +08:00
Yang Luo
fa2653c836 Fix comment. 2021-04-29 22:56:35 +08:00
Kininaru
6dcece3990
feat: add pg for db adapter (#50)
Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix: postgres creating failed

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

nil

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

rewrite postgres logic

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

removed pq from dependencies

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

comment pq

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

typo

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

comment

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-04-29 21:53:42 +08:00
Yang Luo
785f306c4b Use helmet on login, signup pages. 2021-04-29 21:28:24 +08:00
Yang Luo
3065bacad2 Add org's favicon. 2021-04-29 21:27:38 +08:00
Yang Luo
5779d57960 Set org's document title and favicon. 2021-04-29 19:51:03 +08:00
Yang Luo
cfe1eb9d50 Improve panic message. 2021-04-29 15:43:15 +08:00
kuchaguangjie
93564e8389
fix: add cross-env to set port for both windows & linux (#49)
* add cross-env to set port for both windows & linux,

* add package-lock.json back,

* don't commit package-lock.json
2021-04-29 15:42:59 +08:00
hsluoyz
92c35948e7
Merge pull request #48 from kuchaguangjie/master
.gitignore add ".swp"
2021-04-29 12:15:17 +08:00
eric
ac6c82f9d8 .gitignore add ".swp" 2021-04-29 11:58:28 +08:00
Yang Luo
c26c9ba0e8 Fix page links. 2021-04-28 22:40:21 +08:00
Yang Luo
35e482f24e Fix the signup. 2021-04-28 21:56:14 +08:00
Yang Luo
ea9bdbf45e Improve UploadAvatar API. 2021-04-28 19:02:01 +08:00
Yang Luo
ee8f2a6046 Improve signup page. 2021-04-28 15:54:50 +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
3793029491 Adjust register page text. 2021-04-27 22:35:14 +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
Yang Luo
43113a0ee4 Fix "/api/unlink" bug. 2021-04-27 20:42:19 +08:00
Yang Luo
c317d601a5 Sync info from 3rd-party if possible. 2021-04-27 19:35:40 +08:00
Yang Luo
6002395d12 Support oss domain. 2021-04-27 19:00:34 +08:00
Yang Luo
3437885723 Improve oss key names. 2021-04-27 18:11:41 +08:00