* fix: CORS check issue
* fix: promote format
* fix: promote format
* fix: promote format
* fix: promote format
* Update application.go
* Update cors_filter.go
* Update validation.go
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com>
* feat: support IP limitation for user entry pages
* fix: error message, ip whiteList, check_entry_ip
* fix: perform checks on the backend
* fix: change the implementation of checking IpWhitelist
* fix: add entryIpCheck in SetPassword and remove it from VerifyCode
* fix: remove additional error message pop-ups
* fix: add isRestricted and show ip error in EntryPage.js
* fix: error message
* Update auth.go
* Update check_ip.go
* Update check_ip.go
* fix: update return value of the check function from string to error
* fix: remoteAddress position
* fix: IP whitelist
* fix: clientIp
* fix:add util.GetClientIpFromRequest
* fix: remove duplicate IP and port separation codes and remove extra special characters after clientIp
* fix: gofumpt
* fix: getIpInfo and localhost
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com>
* feat: support share application
* revert: revert i18n
* fix: improve code format
* fix: improve code format and move GetSharedOrgFromApp to string.go
* feat: add regex support for account item
* feat: use reflect to process user field
* fix: fix lint problem
* feat: improve code format and fix reflect error
* fix(permission): fix CheckLoginPermission() logic
* style: fix code format
* feat: support settting roles for groups
* fix: fix field name
* style: format codes
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
* Customization of the initialization file
* fix: G601 (CWE-118): Implicit memory aliasing in for loop
* fix: G304 (CWE-22): Potential file inclusion via variable
* fix: G110 (CWE-409): Potential DoS vulnerability via decompression bomb
* feat: add sync module to bi-sync mysql
* feat: fix the delay problem
* feat: fix go mod
* feat: fix the varchar(100) parse error
* fix: fix go.mod space inconsistency
* fix: fix go.mod space inconsistency
* fix: use sql builder instead of concatenation
* fix: remove serverId
* fix: fix file is not `gofumpt`-ed (gofumpt) error
* feat: add mysql bi-sync
* feat: fix some data inconsistency problems
* feat: add function atuo get server uuid
* fix: encapsulate the struct to optimize the code
* fix: fix incorrect Casdoor version in system info page
* fix: fix incorrect root path
* Update sysytem_test.go
* feat: add aheadCnt means that the commit is ahead of version several times
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
* feat: add sync module to bi-sync mysql
* feat: fix the delay problem
* feat: fix go mod
* feat: fix the varchar(100) parse error
* fix: fix go.mod space inconsistency
* fix: fix go.mod space inconsistency
* fix: use sql builder instead of concatenation
* fix: remove serverId
* fix: fix file is not `gofumpt`-ed (gofumpt) error
* feat: add mysql bi-sync
* feat: fix some data inconsistency problems
* feat: add function atuo get server uuid
* fix: encapsulate the struct to optimize the code
* fix: fix incorrect Casdoor version in system info page
* fix: fix incorrect root path
* Update sysytem_test.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>