copilot-swe-agent[bot]
d6ab3a18ea
Address code review feedback: fix X-Forwarded-For logic and add error logging
...
Co-authored-by: mserico <140243407+mserico@users.noreply.github.com >
2026-02-15 18:36:35 +00:00
copilot-swe-agent[bot]
b7fa3a6194
Format code with gofmt
...
Co-authored-by: mserico <140243407+mserico@users.noreply.github.com >
2026-02-15 18:34:09 +00:00
copilot-swe-agent[bot]
ac1307e576
Add comprehensive tests for reverse proxy functionality
...
Co-authored-by: mserico <140243407+mserico@users.noreply.github.com >
2026-02-15 18:32:57 +00:00
copilot-swe-agent[bot]
7f2c238eba
Implement basic reverse proxy functionality
...
Co-authored-by: mserico <140243407+mserico@users.noreply.github.com >
2026-02-15 18:31:03 +00:00
copilot-swe-agent[bot]
2cf83d3b0c
Initial plan
2026-02-15 18:24:23 +00:00
Yang Luo
3b8e7c9da2
fix: extend application with reverse proxy fields ( #5113 )
2026-02-16 02:23:47 +08:00
Yang Luo
4d5de767b0
fix: sync frontend i18n strings
2026-02-16 02:01:48 +08:00
Yang Luo
54bf8eae5c
fix: improve category column UI in app list page
2026-02-16 01:46:06 +08:00
IsAurora6
1731b74fa0
fix: fix issue that dummy payments failed when there were too many items in the order ( #5108 )
2026-02-15 22:35:59 +08:00
Yang Luo
6e1e5dd569
feat: add scope-to-tool permission checking for Casdoor MCP server ( #5104 )
2026-02-15 22:31:35 +08:00
Yang Luo
b183359daf
fix: rename order state PaymentFailed to Failed and improve UI ( #5107 )
2026-02-15 21:52:24 +08:00
Yang Luo
3cb9df3723
feat: [mcp-5] add Application.Category and Application.Type fields for agent applications (MCP, A2A) ( #5102 )
2026-02-15 21:28:00 +08:00
Yang Luo
9d1e5c10d0
feat: [mcp-4] implement RFC 8707 Resource Indicators for OAuth 2.0 ( #5098 )
2026-02-15 18:03:22 +08:00
Yang Luo
ef84c4b0b4
feat: [mcp-3] implement OAuth 2.0 Dynamic Client Registration (RFC 7591) ( #5097 )
2026-02-15 17:25:44 +08:00
Yang Luo
5a108bd921
fix: [mcp-2] add OAuth 2.0 Authorization Server Metadata endpoints (RFC 8414) ( #5094 )
2026-02-15 17:00:40 +08:00
Yang Luo
ac671ec1ee
fix: rename to wellknown_oidc_discovery.go
2026-02-15 16:42:00 +08:00
Yang Luo
7814caf2ab
feat: implement RFC 9728 OAuth 2.0 Protected Resource Metadata for MCP server discovery ( #5092 )
2026-02-15 16:40:48 +08:00
Yang Luo
f966f4a0f9
feat: fix Dummy payment provider returning zero price in NotifyResult ( #5090 )
2026-02-15 02:31:56 +08:00
Yang Luo
a4b1a068a8
feat: fix Azure SQL DB panic by migrating to the official go-mssqldb fork ( #5082 )
2026-02-15 01:52:06 +08:00
Yang Luo
362797678d
feat: fix nil pointer panic in update-user API for non-existent account items ( #5084 )
2026-02-15 01:44:26 +08:00
Yang Luo
7879e1bf09
fix: fix Dummy payment provider to simulate external callback flow ( #5080 )
2026-02-15 00:18:09 +08:00
IsAurora6
c246f102c9
feat: fix issue that User.Cart cannot be updated without org account items ( #5076 )
2026-02-14 22:32:58 +08:00
IsAurora6
37d1c4910c
feat: Fixed an error when clicking the “delete” button on the cart list page. ( #5075 )
2026-02-13 20:49:08 +08:00
Yang Luo
3bcde7cb7c
feat: add Cart and payment fields to organization account items ( #5070 )
2026-02-13 10:40:37 +08:00
Yang Luo
6a90d21941
fix: add CreatedTime field to cart items and sort by timestamp ( #5066 )
2026-02-13 10:36:20 +08:00
Yang Luo
80b4c0b1a7
feat: remove special handling for Dummy payment provider ( #5068 )
2026-02-13 10:06:14 +08:00
Yang Luo
eb5a422026
feat: replace DisableSsl boolean with SslMode enum for Email providers ( #5063 )
2026-02-13 02:15:20 +08:00
DacongDA
f7bd70e0a3
feat: improve tab height UI in application edit page ( #5055 )
2026-02-12 21:57:57 +08:00
Copilot
5e7dbe4b56
feat: fix CAPTCHA rule enforcement in verification code flow ( #5009 )
2026-02-12 21:22:47 +08:00
Yang Luo
bd1fca2f32
feat: Add LDAP group/OU hierarchy syncing with automatic user membership ( #5052 )
2026-02-12 17:11:20 +08:00
IsAurora6
3d4cc42f1f
feat: mark cart items as invalid when product is removed, renamed, or currency is changed. ( #5050 )
2026-02-12 00:46:54 +08:00
Yang Luo
1836cab44d
feat: fix icons for 5 payment providers
2026-02-11 01:42:37 +08:00
Yang Luo
75b18635f7
feat: fix issue that Webhook records for set-password API were missing user context ( #5008 )
2026-02-11 01:32:11 +08:00
Yang Luo
47cd44c7ce
feat: support "snsapi_privateinfo" scope in WeCom OAuth provider to support fetching Emails ( #5034 )
2026-02-11 01:21:29 +08:00
Yang Luo
090ca97dcd
feat: bind provider IDs in WeCom/DingTalk/Lark syncers ( #5033 )
2026-02-11 01:04:26 +08:00
Yang Luo
bed01b31f1
feat: add AWS IAM syncer ( #5043 )
2026-02-11 01:00:41 +08:00
Yang Luo
c8f8f88d85
feat: add "Existing Field" category for token attributes table in application edit page ( #5041 )
2026-02-11 00:58:50 +08:00
IsAurora6
7acb303995
feat: Fixed cart anomalies when updating product information. ( #5039 )
2026-02-10 20:58:18 +08:00
IsAurora6
2607f8d3e5
feat: fix DingTalk syncer to fetch nested departments recursively ( #5036 )
2026-02-10 18:11:03 +08:00
IsAurora6
481db33e58
feat: Optimize the display of rechargeable product content on the ProductStorePage.js. ( #5028 )
2026-02-09 20:28:18 +08:00
DacongDA
f556c7e11f
feat: add PaginateSelect widget to fix non-pagination fetch API issue ( #5023 )
2026-02-09 20:07:41 +08:00
IsAurora6
f590992f28
feat: update i18n translations ( #5021 )
2026-02-09 00:05:08 +08:00
Yang Luo
80f9db0fa2
feat: move captcha provider validation from frontend filter to backend check ( #5019 )
2026-02-08 02:16:47 +08:00
Yang Luo
0748661d2a
feat: store OAuth tokens per provider instead of single originalToken field ( #5016 )
2026-02-08 01:22:24 +08:00
Yang Luo
83552ed143
feat: fix renderRightDropdown() scrollbar UI bug
2026-02-08 00:45:46 +08:00
Yang Luo
8cb8541f96
feat: add Plan.IsExclusive field for single subscription enforcement ( #5004 )
2026-02-07 01:23:22 +08:00
Yang Luo
5b646a726c
fix: fix format issue in DuplicateInfo
2026-02-07 00:51:11 +08:00
Yang Luo
19b9586670
fix: fix broken links for role/plan/user/payment columns ( #4999 )
2026-02-07 00:46:36 +08:00
Yang Luo
73f8d19c5f
fix: de-duplicate i18n translation keys in frontend and backend ( #4997 )
2026-02-07 00:35:46 +08:00
Yang Luo
04da531df3
fix: sync all i18n strings
2026-02-07 00:18:07 +08:00
Yang Luo
d97558051d
fix: add duplicate key detection tests for i18n JSON files ( #4994 )
2026-02-07 00:17:53 +08:00
Yang Luo
ac55355290
fix: deduplicate the i18n strings
2026-02-06 21:42:10 +08:00
Yang Luo
a2da380be4
feat: add organization sync to DingTalk syncer ( #4989 )
2026-02-06 20:39:31 +08:00
IsAurora6
ecf8039c5d
feat: Add cart icon to ProductStore/ProductBuy and quantity controls to ProductStore/ProductBuy/CartList. ( #4984 )
2026-02-05 23:07:22 +08:00
Yang Luo
0a6948034c
feat: add OAuth 2.0 Token Exchange (RFC 8693) support ( #4981 )
2026-02-05 19:12:39 +08:00
Yang Luo
442f8fb19e
feat: fix DeleteSession to handle missing sessions gracefully ( #4979 )
2026-02-05 15:41:15 +08:00
Yang Luo
b771add9e3
feat: auto-redirect OAuth signup to callback URL ( #4941 )
2026-02-05 15:18:33 +08:00
Yang Luo
df8e9fceea
feat: disable /forget API when "Forgot Password?" signin item is hidden ( #4977 )
2026-02-04 23:04:00 +08:00
Yang Luo
d674f0c33d
feat: update Swagger docs
2026-02-03 21:34:38 +08:00
buzaslan129
1e1b5273d9
feat: expose get-all-* Casbin endpoints in Swagger ( #4952 )
2026-02-03 21:32:50 +08:00
IsAurora6
cf5e88915c
feat: The order.products display is divided into two parts. Remove the "startTime" and "endTime", and add an updateTime field. ( #4968 )
2026-02-03 21:12:27 +08:00
Yang Luo
c8973e6c9e
feat: add Cloud PNVS SMS provider ( #4964 )
2026-02-03 02:00:08 +08:00
Yang Luo
87ea451561
feat: support group sync in Google Workspace syncer ( #4962 )
2026-02-03 01:58:28 +08:00
Yang Luo
8f32779b42
feat: fix invitation code group assignment for OAuth provider signup ( #4961 )
2026-02-03 01:23:36 +08:00
Yang Luo
aba471b4e8
feat: install lsof in ALLINONE Docker image ( #4958 )
2026-02-02 23:51:49 +08:00
DacongDA
72b70c3b03
feat: use sqlite DB instead of mariadb for all-in-one Docker image ( #4949 )
2026-02-02 00:13:14 +08:00
DacongDA
a1c56894c7
feat: add tabs to user edit page ( #4945 )
2026-02-01 14:01:28 +08:00
Yang Luo
a9ae9394c7
feat: add Linux machine login via LDAP with POSIX attributes ( #4944 )
2026-01-31 22:37:29 +08:00
Yang Luo
5f0fa5f23e
feat: fix properties field xlsx import issue in user list page ( #4943 )
2026-01-31 01:49:36 +08:00
Yang Luo
f99aa047a9
feat: add Org.AccountItems.Tab field to have tabs in user edit page ( #4892 )
2026-01-30 21:56:35 +08:00
Yang Luo
1d22b7ebd0
feat: prevent duplicate webhook events from redundant payment notifications ( #4936 )
2026-01-30 21:56:09 +08:00
IsAurora6
d147053329
feat: Optimize the display of the products column on the order and payment, adjust the color of the “Add to Cart” button. ( #4933 )
2026-01-30 14:03:15 +08:00
IsAurora6
0f8cd92be4
feat: resolve returnUrl redirection failure of UserEditPage ( #4931 )
2026-01-29 09:37:47 +08:00
DacongDA
7ea6f1296d
feat: fix i18n/generate.go bug in handling "\" ( #4930 )
2026-01-28 23:35:23 +08:00
Yang Luo
db8c649f5e
feat: include payment status in notify-payment webhook payload ( #4929 )
2026-01-28 19:59:10 +08:00
DacongDA
a06d003589
feat: make codeChallenge dynamic for custom OAuth provider ( #4924 )
2026-01-28 17:56:28 +08:00
Jacob
33298e44d4
feat(ldap-sync): support syncing phone country code and formatting mobile number ( #4919 )
2026-01-28 14:09:52 +08:00
IsAurora6
f4d86f8d92
feat: fix incorrect clearing of the returnUrl path parameter in redirects ( #4920 )
2026-01-28 10:51:44 +08:00
Yang Luo
af4337a1ae
feat: add multi-address support to user edit page ( #4916 )
2026-01-27 21:46:41 +08:00
IsAurora6
81e650df65
feat: Optimize the display of the order price column and improve parameter passing in the OrderPay view mode. ( #4912 )
2026-01-27 12:17:15 +08:00
Yang Luo
fcea1e4c07
feat: add SCIM 2.0 syncer ( #4909 )
2026-01-27 01:47:50 +08:00
Yang Luo
639a8a47b1
feat: add Okta syncer ( #4908 )
2026-01-27 01:19:39 +08:00
Yang Luo
43f61d4426
feat: add Lark syncer ( #4897 )
2026-01-27 01:00:19 +08:00
IsAurora6
e90cdb8a74
feat: add default payment providers on startup, improve checkProduct() logic ( #4895 )
2026-01-27 00:23:09 +08:00
DacongDA
bfe8955250
feat: remove bottom save button and extra scrollbar in application edit page ( #4890 )
2026-01-25 11:03:52 +08:00
DacongDA
36b9c4602a
feat: add tab menu for application edit page ( #4889 )
2026-01-24 18:05:17 +08:00
IsAurora6
18117833e1
feat: Optimize button logic of product buy/store page,non-Created orders display "Detail" Button, and add "clear cart" Button ( #4887 )
2026-01-24 12:17:44 +08:00
Yang Luo
78dde97b64
feat: add PKCE support for Custom OAuth providers ( #4880 )
2026-01-23 21:29:57 +08:00
Yang Luo
3a06c66057
feat: fix Azure AD syncer OAuth2 token request - send parameters in body ( #4878 )
2026-01-22 23:01:38 +08:00
Yang Luo
aa59901400
feat: change Application.TermsOfUse length to 200 chars
2026-01-21 17:24:06 +08:00
IsAurora6
8e03b2d97c
feat: Enable subscription-based products to be added to the cart and purchased, and optimize the cart page. ( #4868 )
2026-01-21 17:18:11 +08:00
MarshallHuang
d1da9499e8
fix: update OIDC discovery to use consistent authorization endpoint ( #4872 )
2026-01-21 16:54:51 +08:00
Yang Luo
2e7673c015
feat: use unionid in DingTalk syncer for consistency with OAuth provider ( #4870 )
2026-01-21 00:07:31 +08:00
DacongDA
2d1ace427e
feat: support GetVersionInfo() API in released binary ( #4860 )
2026-01-20 18:05:11 +08:00
IsAurora6
039c12afa3
feat: add the shopping cart page ( #4855 )
2026-01-19 12:12:15 +08:00
slavb18
4236160fa7
feat: add User.OriginalRefreshToken field ( #4721 )
2026-01-19 12:08:18 +08:00
Yang Luo
071b5ddec0
feat: fix error for "/.well-known/:application/openid-configuration" API ( #4866 )
2026-01-19 03:06:33 +08:00
Gucheng Wang
f46b92d225
feat: reduce i18n languages ( #4862 )
2026-01-18 18:28:13 +08:00
Yang Luo
cc7eb4664c
feat: support comma-separated user tags in application tag validation ( #4856 )
2026-01-17 01:26:12 +08:00
Yang Luo
1567723e2b
feat: fix null issue for GrantTypes and RedirectUris in application
2026-01-17 01:18:57 +08:00
IsAurora6
074253f45e
feat: Optimize PlaceOrder-related methods and pages to support the creation of multi-item orders. ( #4847 )
2026-01-16 16:52:02 +08:00
Yang Luo
23c86e9018
feat: add application.EnableSamlAssertionSignature to allow disabling SAML assertion signatures ( #4850 )
2026-01-16 14:30:48 +08:00
DacongDA
f088827a50
feat: redirect user to last login org's login page while cookie expired ( #4844 )
2026-01-15 18:17:12 +08:00
IsAurora6
663815fefe
feat: The frontend supports payment logic for multi-item orders. ( #4843 )
2026-01-15 18:16:28 +08:00
DacongDA
0d003d347e
fix: improve error handling in the syncer ( #4845 )
2026-01-15 15:02:24 +08:00
IsAurora6
7d495ca5f2
feat: The backend supports payment logic for multi-item orders. ( #4842 )
2026-01-14 21:57:09 +08:00
Jiachen Ren
f89495b35c
fix: use unionid instead of job_number as user name in the OAuth provider ( #4841 )
2026-01-14 20:02:35 +08:00
IsAurora6
4a3aefc5f5
feat: improve filter logic in order, payment, subscription get APIs ( #4839 )
2026-01-14 12:08:29 +08:00
Yang Luo
15646b23ff
feat: support ES/ECDSA signing method in ParseStandardJwtToken() ( #4837 )
2026-01-14 00:47:31 +08:00
gufeiyan1215
4b663a437f
feat: add RRSA (RAM roles) support for the OSS storage provider ( #4831 )
2026-01-13 23:01:04 +08:00
DacongDA
9fb90fbb95
feat: support user impersonation ( #4817 )
2026-01-13 20:47:35 +08:00
Yang Luo
65eeaef8a7
feat: fix payment currency display to use product currency instead of user balance currency ( #4822 )
2026-01-13 20:47:31 +08:00
IsAurora6
ecf8e2eb32
feat: add supported currency validation for payment providers ( #4818 )
2026-01-13 20:47:28 +08:00
soliujing
e49e678d16
feat: improve build performance, separate build dependency to allow docker cache ( #4815 )
2026-01-13 20:47:24 +08:00
DacongDA
623ee23285
feat: in some case, saml replay state will include special character ( #4814 )
2026-01-13 20:47:09 +08:00
soliujing
0901a1d5a0
feat: handle default organization in get-orders API ( #4790 )
2026-01-13 20:46:50 +08:00
Yang Luo
58ff2fe69c
feat: include access tokens in session-level (logoutAll=false) sso-logout notifications for Single Logout (SLO) ( #4804 )
2026-01-13 20:46:27 +08:00
IsAurora6
737f44a059
feat: optimize authentication handling in MCP ( #4801 )
2026-01-09 21:27:21 +08:00
soliujing
32cef8e828
feat: add permissions for get-order and get-orders APIs ( #4788 )
2026-01-09 17:33:29 +08:00
Yang Luo
9e854abc77
feat: don't auto-login for single SAML provider ( #4795 )
2026-01-09 17:03:16 +08:00
Yang Luo
9b3343d3db
feat: fix multiple webhooks don't work bug ( #4798 )
2026-01-08 23:41:40 +08:00
Yang Luo
5b71725c94
feat: add OIDC-compliant email_verified claim to all JWT token formats ( #4797 )
2026-01-08 21:12:34 +08:00
IsAurora6
59b6854ccc
feat: Optimize the notifications/initialized request and authentication failure handling in MCP. ( #4781 )
2026-01-08 17:42:36 +08:00
Yang Luo
0daf67c52c
feat: fix UTF-8 encoding error in Active Directory syncer ( #4783 )
2026-01-08 01:50:47 +08:00
Yang Luo
4b612269ea
feat: check whether refresh token is expired after SSO logout ( #4771 )
2026-01-07 19:42:35 +08:00
0xkrypton
f438d39720
feat: fix Telegram OAuth login error: "failed to verify Telegram auth data: data verification failed." ( #4776 )
2026-01-07 19:41:43 +08:00
Eng Zer Jun
f8df200dbf
feat: update github.com/shirou/gopsutil to v4 ( #4773 )
2026-01-07 00:51:37 +08:00
IsAurora6
cb1b3b767e
feat: improve "/api/mcp" check with demo mode ( #4772 )
2026-01-06 14:48:24 +08:00
IsAurora6
3bec49f16c
feat: enhance MCP Permissions and Response Workflow, fix bugs ( #4767 )
2026-01-05 22:54:12 +08:00
Yang Luo
e28344f0e7
feat: add DingTalk syncer ( #4766 )
2026-01-05 21:43:57 +08:00
Yang Luo
93fefed6e8
feat: add Casdoor MCP server at "/api/mcp" for application management ( #4752 )
2026-01-05 21:38:34 +08:00
Yang Luo
ea9abb2f29
feat: fix bugs in ticket pages
2026-01-02 23:17:30 +08:00
Yang Luo
337a8c357b
feat: fix error in order APIs
2026-01-02 22:04:51 +08:00
IsAurora6
d8cebfbf04
feat: Fixed the logic for updating order and transaction statuses in payment notifications. ( #4749 )
2026-01-02 19:30:23 +08:00
Yang Luo
91d5039155
feat: add all API endpoints to webhook Events dropdown ( #4748 )
2026-01-01 22:39:18 +08:00
DacongDA
5996ee8695
feat: add ID verification to init data template and organization UI ( #4744 )
2026-01-01 15:16:51 +08:00
Yang Luo
8c9331932b
feat: initialize default values for fields like signupItems when adding applications via SDK ( #4733 )
2025-12-29 20:29:02 +08:00
DacongDA
db594e2096
feat: use org name as TOTP issuer ( #4731 )
2025-12-29 13:49:01 +08:00
Yang Luo
b46b79ee44
feat: improve error handling of hasGravatar()
2025-12-28 22:36:47 +08:00
Yang Luo
b9dbbca716
chore: improve README
2025-12-28 19:37:51 +08:00
Yang Luo
313cf6d480
fix: add missing ID Verification category to OtherProviderInfo ( #4727 )
2025-12-27 18:48:11 +08:00
DacongDA
0548597d04
feat: update dependencies (aws-sdk-go, go-git, goth and go-jose) to latest ( #4729 )
2025-12-27 18:17:18 +08:00
DacongDA
eb8e26748f
feat: replace notify with notify2 for notification provider ( #4728 )
2025-12-27 10:47:36 +08:00
Yang Luo
516a23ab1b
feat: fix CAPTCHA modal appearing when provider Rule is set to None ( #4725 )
2025-12-27 09:46:33 +08:00
DacongDA
9887d80e55
feat: upgrade beego to v2 ( #4720 )
2025-12-26 12:46:13 +08:00
slavb18
13dd4337a6
feat: Add phone number to CustomUserInfo ( #4718 )
2025-12-25 09:29:58 +08:00
Yang Luo
36c69a6da1
feat: add Telegram to OAuth provider options in web UI ( #4719 )
2025-12-25 09:29:36 +08:00
Yang Luo
3f4a60096a
feat: add 28 missing User fields to syncer UI dropdown ( #4713 )
2025-12-24 20:56:11 +08:00
Yang Luo
b6240fa356
feat: improve GetFilteredUsers()
2025-12-24 20:31:09 +08:00
Yang Luo
d61f06b053
feat: add WebauthnCredentials and 27 other User fields to syncer ( #4705 )
2025-12-24 01:52:52 +08:00
IsAurora6
6fe785b6a4
feat: fix null address causing TypeError in management UI ( #4706 )
2025-12-24 01:31:47 +08:00
DacongDA
cccddea67e
feat: fix unauthorized error when using app API to login ( #4702 )
2025-12-23 20:29:46 +08:00
IsAurora6
83b8c5477a
feat: fix Transaction State field type from pp.PaymentState to string ( #4699 )
2025-12-21 01:31:54 +08:00
IsAurora6
ac0e069f71
feat: add Adyen payment provider ( #4667 )
2025-12-21 01:25:17 +08:00
DacongDA
4b25e56048
feat: Make session and cookie timeout configurable per application ( #4698 )
2025-12-21 01:04:38 +08:00
DacongDA
39740e3d6c
feat: add support to delete single session and report err while deleting current session ( #4694 )
2025-12-18 21:15:57 +08:00
IsAurora6
87c5bf3855
fix: fixed balance and dummy payment errors ( #4692 )
2025-12-14 22:52:13 +08:00
IsAurora6
c4a28acbd8
feat: fix bug in i18n applyToOtherLanguage() ( #4691 )
2025-12-14 19:24:01 +08:00
IsAurora6
ee26b896f6
fix: show recharge options UI in product store page ( #4682 )
2025-12-13 15:46:26 +08:00
Yang Luo
4a8cb9535e
feat: enforce failed signin limit for LDAP login ( #4686 )
2025-12-13 00:30:05 +08:00
Yang Luo
387a22d5f8
feat: add ticket list/edit pages ( #4651 )
2025-12-12 23:16:47 +08:00
Yang Luo
36cadded1c
feat: add missing grant types to OIDC discovery endpoint ( #4677 )
2025-12-12 23:12:13 +08:00
DacongDA
7d130392d9
feat: add session-level single sign-out with authentication and configurable scope ( #4678 )
2025-12-12 23:08:01 +08:00
IsAurora6
f82c90b901
feat: Optimise the order confirmation page prompts and fix the issue where the transaction.application field was incorrectly populated as organisation. ( #4681 )
2025-12-12 21:31:22 +08:00
Yang Luo
1a08d6514e
fix: improve IsRedirectUriValid() ( #4672 )
2025-12-11 22:18:56 +08:00
Yang Luo
4d5bf09b36
feat: fix signup application bug in /sso-logout API
2025-12-11 22:10:24 +08:00
Yang Luo
f050deada7
feat: add GoReleaser workflow for multi-platform binary releases ( #4665 )
2025-12-10 12:10:23 +08:00
Yang Luo
dee94666e0
fix: disable isValidRealName() check in backend
2025-12-10 12:00:23 +08:00
Yang Luo
b84b7d787b
fix: fix isSelf() identity check for users without ID field in account items of user edit page ( #4669 )
2025-12-10 11:40:05 +08:00
Yang Luo
d425183137
feat: update Swagger docs
2025-12-10 01:55:08 +08:00
Yang Luo
ff7fcd277c
feat: fix SAML authentication failure when username attribute is unmapped ( #4663 )
2025-12-10 01:50:03 +08:00
Yang Luo
ed5c0b2713
feat: remove "Please sign out first" check from signup and login APIs ( #4659 )
2025-12-09 21:16:54 +08:00
Yang Luo
eb60e43192
feat: use bcrypt password type by default for all organizations ( #4654 )
2025-12-08 22:11:19 +08:00
Yang Luo
d0170532e6
fix: improve Swagger annotations for session and token APIs ( #4652 )
2025-12-08 22:04:53 +08:00
Yang Luo
7ddb87cdf8
fix: Fix JWT-Custom token format: always include nonce/scope, add signinMethod and provider to dropdown ( #4649 )
2025-12-08 17:55:31 +08:00
Yang Luo
fac45f5ac7
feat: add Alibaba Cloud ID verification provider ( #4645 )
2025-12-08 17:48:52 +08:00
Yang Luo
266d361244
feat: fix "only the last session is displayed" bug by respecting application.EnableExclusiveSignin when adding sessions ( #4643 )
2025-12-08 17:14:11 +08:00
DacongDA
b454ab1931
feat: fix generated link has no org info bug while using shared application ( #4647 )
2025-12-08 16:35:17 +08:00
Yang Luo
ff39b6f186
feat: add Jumio ID Verification provider ( #4641 )
2025-12-08 00:39:34 +08:00
DacongDA
0597dbbe20
feat: always return array if item contains roles, groups or permissions in JWT ( #4640 )
2025-12-08 00:11:39 +08:00
Yang Luo
49c417c70e
fix: add excel import support for groups, permissions, and roles ( #4585 )
2025-12-07 22:24:12 +08:00
IsAurora6
8b30e12915
feat: improve inventory logic: check stock before order and update stock/sales after payment. ( #4633 )
2025-12-07 19:38:41 +08:00
Jacob
2e18c65429
feat: add Application.DisableSamlAttributes field and fix C14N namespace issue ( #4634 )
2025-12-06 21:45:02 +08:00
IsAurora6
27c98bb056
feat: improve payment flow with order navigation and remove returnUrl field ( #4632 )
2025-12-06 17:57:59 +08:00
DacongDA
4400b66862
feat: fix silentSignin not working bug ( #4629 )
2025-12-06 11:10:10 +08:00
IsAurora6
e7e7d18ee7
fix: add permission control and view mode for product/order/payment/plan/pricing/subscription pages. ( #4628 )
2025-12-04 23:08:41 +08:00
IsAurora6
66d1e28300
feat: Add payment column to order list and refine product store card layout. ( #4625 )
2025-12-04 18:18:10 +08:00
IsAurora6
53782a6706
feat: support recharge products with preset amounts and disable custom amount option. ( #4619 )
2025-12-03 13:50:33 +08:00
Yang Luo
30bb0ce92f
feat: fix signupItem.regex validation not working in signup page frontend ( #4614 )
2025-12-03 08:56:45 +08:00
Yang Luo
29f7dda858
feat: fix 403 error on /api/acs endpoint for SAML IdP responses ( #4620 )
2025-12-02 21:19:00 +08:00
Yang Luo
68b82ed524
fix: accept all file types in resources list page's upload button
2025-11-30 20:42:54 +08:00
Yang Luo
c4ce88198f
feat: improve password popover positioning on signup page
2025-11-30 18:10:19 +08:00
Yang Luo
a11fa23add
fix: fix i18n for "Please input your {field}!" validation message in signup page ( #4610 )
2025-11-30 17:47:25 +08:00
Yang Luo
add6ba32db
fix: improve application edit page's Providers dropdown with search, icons, and display names ( #4608 )
2025-11-30 17:13:06 +08:00
Yang Luo
37379dee13
fix: fix get-groups API call in ApplicationEditPage to use correct owner parameter ( #4606 )
2025-11-30 16:23:28 +08:00
Yang Luo
2066670b76
feat: add Lemon Squeezy payment provider ( #4604 )
2025-11-30 13:40:48 +08:00
Yang Luo
e751148be2
feat: add FastSpring payment provider ( #4601 )
2025-11-30 12:02:18 +08:00
Yang Luo
c541d0bcdd
feat: add Paddle payment provider ( #4598 )
2025-11-30 11:31:16 +08:00
Yang Luo
f0db95d006
feat: add Polar payment provider ( #4595 )
2025-11-30 10:45:11 +08:00
IsAurora6
e4db367eaa
feat: Remove BuyProduct endpoint and legacy purchase logic. ( #4591 )
2025-11-28 23:51:22 +08:00
IsAurora6
9df81e3ffc
feat: feat: add OrderPayPage.js, fix subscription redirect & refine list time format. ( #4586 )
2025-11-27 20:49:49 +08:00
IsAurora6
048d6acc83
feat: Implement the complete process of product purchase, order placement, and payment. ( #4588 )
2025-11-27 20:49:34 +08:00
Yang Luo
e440199977
feat: regenerate the Swagger docs
2025-11-25 22:24:32 +08:00
IsAurora6
cb4e559d51
feat: Added PlaceOrder, CancelOrder, and PayOrder methods, and added corresponding buttons to the frontend. ( #4583 )
2025-11-25 22:22:46 +08:00
zjumathcode
4d1d0b95d6
feat: drop legacy // +build comment ( #4582 )
2025-11-25 20:21:09 +08:00
Yang Luo
9cc1133a96
feat: upgrade gomail to v2.2.0
2025-11-25 01:03:45 +08:00
Yang Luo
897c28e8ad
fix: fix SQL query in Keycloak syncer ( #4578 )
2025-11-24 23:40:30 +08:00
Yang Luo
9d37a7e38e
fix: fix memory leaks in database syncer from unclosed connections ( #4574 )
2025-11-24 23:38:50 +08:00
Yang Luo
ea597296b4
fix: allow normal users to view their own transactions ( #4572 )
2025-11-24 01:47:10 +08:00
Yang Luo
427ddd215e
feat: add Telegram OAuth provider ( #4570 )
2025-11-24 01:04:36 +08:00
Yang Luo
24de79b100
Improve getTransactionTableColumns UI
2025-11-23 22:07:33 +08:00
DacongDA
9ab9c7c8e0
fix: show error better for user upload ( #4568 )
2025-11-23 21:52:44 +08:00
Yang Luo
0728a9716b
feat: deduplicate code between TransactionTable and TransactionListPage ( #4567 )
2025-11-23 21:47:58 +08:00
Yang Luo
471570f24a
Improve AddTransaction API return value
2025-11-23 21:02:06 +08:00
Yang Luo
2fa520844b
fix: fix product store page to pass owner parameter to API ( #4565 )
2025-11-23 20:48:15 +08:00
Yang Luo
2306acb416
fix: improve balanceCredit for org and user
2025-11-23 19:51:39 +08:00
Yang Luo
d3f3f76290
fix: add dry run mode to add-transaction API ( #4563 )
2025-11-23 17:36:51 +08:00
DacongDA
fe93128495
feat: improve user upload UX ( #4542 )
2025-11-23 16:05:46 +08:00
seth-shi
7fd890ff14
fix: ticket error handling in HandleOfficialAccountEvent() ( #4557 )
2025-11-23 14:58:23 +08:00
Yang Luo
83b56d7ceb
feat: add product store page ( #4544 )
2025-11-23 14:54:35 +08:00
Yang Luo
503e5a75d2
feat: add User.OriginalToken field to expose OAuth provider access tokens ( #4559 )
2025-11-23 14:54:02 +08:00
seth-shi
5a607b4991
fix: close file handle in GetUploadXlsxPath to prevent resource leak ( #4558 )
2025-11-23 14:37:06 +08:00
Yang Luo
ca2dc2825d
feat: add SSO logout notifications to user's signup application ( #4547 )
2025-11-23 00:47:29 +08:00
Yang Luo
446d0b9047
Improve TransactionTable UI
2025-11-23 00:45:47 +08:00
Yang Luo
ee708dbf48
feat: add Organization.OrgBalanceCredit and User.BalanceCredit fields for credit limit enforcement ( #4552 )
2025-11-23 00:37:44 +08:00
Yang Luo
221ca28488
fix: flatten top navbar to single level when ≤7 items ( #4550 )
2025-11-23 00:34:17 +08:00
Yang Luo
e93d3f6c13
Improve transaction list page UI
2025-11-22 23:35:04 +08:00
Yang Luo
e285396d4e
fix: fix recharge transaction default values ( #4546 )
2025-11-22 23:27:29 +08:00
Yang Luo
10320bb49f
Improve TransactionTable UI
2025-11-22 21:39:56 +08:00
seth-shi
4d27ebd82a
feat: Use email as username when organization setting is enabled during login ( #4539 )
2025-11-22 20:58:27 +08:00
Yang Luo
6d5e6dab0a
Fix account table missing item
2025-11-22 20:56:45 +08:00
Yang Luo
e600ea7efd
feat: add i18n support for table column widgets ( #4541 )
2025-11-22 16:39:44 +08:00
Yang Luo
8002613398
feat: Add exchange rate conversion for balance calculations ( #4534 )
2025-11-21 22:13:26 +08:00
IsAurora6
a48b1d0c73
feat: Add recharge functionality with editable fields to transaction list page. ( #4536 )
2025-11-21 22:11:38 +08:00
Yang Luo
d8b5ecba36
feat: add transaction's subtype field and fix product recharge ( #4531 )
2025-11-21 19:27:07 +08:00
IsAurora6
e3a8a464d5
feat: Add balanceCurrency field to Organization and User models. ( #4525 )
2025-11-21 14:42:54 +08:00
IsAurora6
a575ba02d6
feat: Fixed a bug in addTransaction and optimized the transactionEdit page. ( #4523 )
2025-11-21 09:35:12 +08:00
IsAurora6
a9fcfceb8f
feat: Add currency icons wherever currency appears, and optimize the display columns in the transaction table. ( #4516 )
2025-11-20 22:33:00 +08:00
ledigang
712482ffb9
refactor: omit unnecessary reassignment ( #4509 )
2025-11-20 18:47:03 +08:00
Yang Luo
84e2c760d9
feat: lazy-load Face ID models only when modal opens ( #4508 )
2025-11-20 18:46:31 +08:00
IsAurora6
4ab85d6781
feat: Distinguish and allow users to configure adminNavItems and userNavItems. ( #4503 )
2025-11-20 11:05:30 +08:00
Yang Luo
2ede56ac46
fix: refactor out Setting.CurrencyOptions ( #4502 )
2025-11-19 21:51:28 +08:00
Yang Luo
6a819a9a20
feat: persist hash column when updating users ( #4500 )
2025-11-19 21:50:32 +08:00
IsAurora6
ddaeac46e8
fix: optimize UpdateUserBalance and fix precision loss for orgBalance/userBalance. ( #4499 )
2025-11-19 21:13:32 +08:00
IsAurora6
f9d061d905
feat: return transaction IDs in API and disable links for anonymous user in transaction list ( #4498 )
2025-11-19 17:40:30 +08:00
Yang Luo
5e550e4364
feat: fix bug in createTable()
2025-11-19 17:33:51 +08:00
Yang Luo
146d54d6f6
feat: add Order pages ( #4492 )
2025-11-19 14:05:52 +08:00
IsAurora6
1df15a2706
fix: Transaction category & type links not navigating. ( #4496 )
2025-11-19 11:41:36 +08:00
Yang Luo
f7d73bbfdd
Improve transaction fields
2025-11-19 09:14:49 +08:00
Yang Luo
a8b7217348
fix: add needSshfields()
2025-11-19 08:37:13 +08:00
Yang Luo
40a3b19cee
feat: add Active Directory syncer support ( #4495 )
2025-11-19 08:30:01 +08:00
Yang Luo
98b45399a7
feat: add Google Workspace syncer ( #4494 )
2025-11-19 07:37:11 +08:00
Yang Luo
90edb7ab6b
feat: refactor syncers into interface ( #4490 )
2025-11-19 01:28:37 +08:00
marun
e21b995eca
feat: update payment providers when organization changes in PlanEditPage ( #4462 )
2025-11-19 00:14:01 +08:00
Yang Luo
81221f07f0
fix: improve isAllowedInDemoMode() for add-transaction API
2025-11-18 23:55:43 +08:00
Yang Luo
5fc2cdf637
feat: fix bug in GetEnforcer() API
2025-11-18 23:31:53 +08:00
Yang Luo
5e852e0121
feat: improve user edit page UI
2025-11-18 23:31:17 +08:00
Yang Luo
513ac6ffe9
fix: improve user edit page's transaction table UI
2025-11-18 23:31:16 +08:00
Yang Luo
821ba5673d
Improve "Generate" button i18n
2025-11-18 23:31:16 +08:00
IsAurora6
d3ee73e48c
feat: Add a URL field to the Transaction structure and optimize the display of the Transaction List. ( #4487 )
2025-11-18 21:45:57 +08:00
Yang Luo
1d719e3759
feat: fix OAuth-registered users to keep empty passwords unhashed ( #4482 )
2025-11-17 23:12:53 +08:00
Yang Luo
b3355a9fa6
fix: fix undefined owner in syncer edit page getCerts API call ( #4471 )
2025-11-17 22:51:12 +08:00
Yang Luo
ccc88cdafb
feat: populate updated_time for all user creation paths ( #4472 )
2025-11-17 22:07:47 +08:00
Yang Luo
abf328bbe5
feat: allow setting email_verified in UpdateUser() API
2025-11-17 22:04:33 +08:00
DacongDA
5530253d38
feat: use correct org owner for UpdateOrganizationBalance ( #4478 )
2025-11-17 18:17:02 +08:00
Yang Luo
4cef6c5f3f
feat: fix duplicate key error when re-importing users from different organization ( #4473 )
2025-11-17 02:13:35 +08:00
aozima
7e6929b900
feat: LDAP server adds more attributes: mail, mobile, sn, giveName ( #4468 )
2025-11-16 19:13:12 +08:00
aozima
46ae1a9580
fix: improve error handling for DingTalkIdProvider.GetUserInfo() ( #4469 )
2025-11-16 17:42:55 +08:00
Yang Luo
37e22f3e2c
feat: support user custom password salt when organization salt is empty ( #4465 )
2025-11-15 02:35:15 +08:00
Yang Luo
68cde65d84
feat: fix bug about adding new permission in setEnforcerModel()
2025-11-12 20:39:44 +08:00
Yang Luo
1c7f5fdfe4
fix: fix transaction API to enforce user-level access control ( #4447 )
2025-11-12 20:31:14 +08:00
Yang Luo
1a5be46325
feat: add i18n support for password complexity error messages ( #4458 )
2025-11-12 19:40:21 +08:00
Yang Luo
f7bafb28d6
feat: support application's ExpireInHours and RefreshExpireInHours in float64 ( #4442 )
2025-11-12 17:01:56 +08:00
Yang Luo
6f815aefdf
feat: update gopay to v1.5.115 to fix the payment URL ( #4449 )
2025-11-12 16:40:37 +08:00
DacongDA
eb49f29529
feat: fix e2e test backend start to fail caused by wrong GetModel param ( #4454 )
2025-11-12 15:44:20 +08:00
Yang Luo
5ad4e6aac0
feat: upgrade to Go 1.23
2025-11-11 22:43:38 +08:00
DacongDA
3c28a2202d
feat: fix bug about "Failed to subscribe for new paid users" ( #4450 )
2025-11-11 22:37:14 +08:00
Yang Luo
0a9a9117e5
feat: allow org admins to access verification list and store organization in Owner field ( #4441 )
2025-11-11 01:12:16 +08:00
Yang Luo
f3ee1f83fe
feat: fix bug about Permission.Model
2025-11-11 00:22:18 +08:00
Yang Luo
171af2901c
feat: fix SAML signature verification failure with C14N10 canonicalization ( #4439 )
2025-11-10 20:50:57 +08:00
Yang Luo
2ded293e10
feat: fix namespace declaration issue in SAML C14N10 schema
2025-11-10 13:53:42 +08:00
Yang Luo
a1c6d6c6cf
feat: fix bug in permission's model and adapter fields
2025-11-09 23:51:14 +08:00
Yang Luo
bf42176708
fix: add .editorconfig to web folder
2025-11-09 23:40:30 +08:00
Yang Luo
23a45c1d33
fix: remove wrong comments in lark.go
2025-11-07 23:02:48 +08:00
Yang Luo
6894ca407e
fix: fix SAML assertion signing: add xmlns:xsi and xmlns:xs to assertion element ( #4417 )
2025-11-07 22:46:47 +08:00
Yang Luo
d288ecf6ed
feat: support for WeChat Mobile (in-app browser) OAuth login ( #4420 )
2025-11-07 22:43:53 +08:00
Yang Luo
0a04174ec8
feat: add guest user authentication with automatic upgrade flow ( #4421 )
2025-11-07 22:05:22 +08:00
Yang Luo
3feb723abf
feat: fix Lark OAuth login failure when user_id is empty ( #4418 )
2025-11-07 20:01:26 +08:00
Yang Luo
ff8b8fb631
feat: fix SAML Response schema validation by declaring xmlns:xs and xmlns:xsi at root ( #4415 )
2025-11-07 12:55:09 +08:00
Yang Luo
df38c0dd62
feat: fix null pointer panic in controllers package
2025-11-06 21:28:51 +08:00
Yang Luo
93e87e009e
feat: add password obfuscation support to set-password API ( #4410 )
2025-11-06 20:06:11 +08:00
Copilot
f0a4ccbc3c
feat: add CLI "export" arg to support exporting data to file ( #4408 )
2025-11-04 22:54:27 +08:00
Copilot
f17c8622f7
feat: fix authz filter's "Unauthorized operation" bug in /api/sso-logout API ( #4404 )
2025-11-04 20:23:58 +08:00
Copilot
09698b0714
feat: rename /api/logout-all to /api/sso-logout ( #4401 )
2025-11-04 14:43:43 +08:00
Copilot
1d913677a0
fix: add Transactions to account items of org edit page ( #4399 )
2025-11-04 14:19:24 +08:00
DacongDA
f3b00fb431
fix: support SSO logout: logout from all applications ( #4390 )
2025-11-04 14:14:33 +08:00
Copilot
c95a427635
feat: remove unused get-user-transactions API, use get-transactions API instead in user account page ( #4395 )
2025-11-04 12:22:57 +08:00
Copilot
778be62bae
fix: add missing WeCom notification provider to dropdown ( #4394 )
2025-11-04 10:57:28 +08:00
hamidreza abedi
5574c6ad0d
fix: refresh captcha on send code, prevent refreshing on signin ( #4376 )
2025-11-04 10:37:07 +08:00
Copilot
36db852a32
feat: fix JWT-Custom format including unselected fields with empty values ( #4392 )
2025-11-04 10:35:19 +08:00
Copilot
8ee8767882
feat: replace GetOwnerAndNameFromId with GetOwnerAndNameFromIdWithError everywhere ( #4383 )
2025-11-03 11:38:54 +08:00
Mohammed Tayeh
af5a9c805d
feat: normalize email to lowercase to prevent duplicate accounts ( #4380 )
2025-11-02 21:39:18 +08:00
Copilot
f8e5fedf8b
feat: add balance for user and org transactions ( #4368 )
2025-11-01 14:26:39 +08:00
Copilot
962a4970f4
feat: consolidate i18n "Failed to get" strings and wrap hardcoded error messages ( #4374 )
2025-11-01 10:51:10 +08:00
Copilot
d239b3f0cb
fix: add flag icons to currency fields in product pages ( #4370 )
2025-11-01 08:57:51 +08:00
Copilot
0df467ce5e
feat: add WeCom notification provider ( #4367 )
2025-11-01 01:11:51 +08:00
Copilot
3d5356a1f0
feat: add push notification as MFA method ( #4364 )
2025-11-01 00:19:18 +08:00
DacongDA
1824762e00
feat: fix missing dest parameter for signup with invitation code ( #4363 )
2025-10-31 20:46:37 +08:00
DacongDA
a533212d8a
feat: fix bug that captcha will show twice if using inline captcha ( #4358 )
2025-10-30 23:13:59 +08:00
Copilot
53e1813dc8
feat: fix OTP countdown timer UI to respect application's codeResendTimeout config ( #4357 )
2025-10-30 22:16:55 +08:00
Copilot
ba95c7ffb0
feat: add cleanOldMEIFolders() for casbin-python-cli ( #4353 )
2025-10-30 17:44:48 +08:00
Copilot
10105de418
fix: add missing i18n wrappers to backend error messages and translate all strings ( #4349 )
2025-10-29 23:59:19 +08:00
anhuv
9582163bdd
feat: upgrade some Go dependencies ( #4350 )
2025-10-29 23:53:01 +08:00
Copilot
cc7408e976
feat: improve Prometheus metric API handlers ( #4346 )
2025-10-29 20:46:52 +08:00
Copilot
d67d714105
feat: fix Custom HTTP Email provider: correct From address field binding and add missing To address field ( #4341 )
2025-10-29 11:10:28 +08:00
Copilot
0aab27f154
feat: add Azure AD syncer ( #4335 )
2025-10-28 00:55:52 +08:00
Copilot
212090325b
feat: add WeCom syncer ( #4329 )
2025-10-27 23:30:57 +08:00
DacongDA
b24e43c736
feat: Add RADIUS MFA support for external authentication servers ( #4333 )
2025-10-27 22:51:26 +08:00
Copilot
1728bf01ac
feat: translate untranslated backend i18n strings ( #4322 )
2025-10-27 10:29:43 +08:00
Attack825
86a7a87c57
feat: translate all untranslated i18n strings ( #4313 )
2025-10-27 09:30:50 +08:00
Copilot
61c8e08eb0
feat: fix duplicate CI workflow runs on pull requests ( #4319 )
2025-10-27 01:01:03 +08:00
Copilot
caccd75edb
feat: add EnableProxy field for Email and SMS providers ( #4317 )
2025-10-26 21:37:54 +08:00
Copilot
7b2666d23e
feat: add in-memory cache for run-casbin-command API ( #4314 )
2025-10-25 23:46:02 +08:00
Copilot
b7b6d2377a
feat: add username matching in Login() API for automatic Wecom OAuth login association ( #4308 )
2025-10-25 01:50:24 +08:00
Copilot
d43ee2d48f
feat: enable post-registration subscription upgrades for all user types, not only paid users ( #4309 )
2025-10-25 01:48:23 +08:00
Copilot
242c75d9dc
feat: add CodeResendTimeout to Application edit page ( #4264 )
2025-10-25 01:13:17 +08:00
Copilot
6571ad88a2
feat: prevent re-registration via third-party login for soft-deleted users ( #4306 )
2025-10-25 01:09:08 +08:00
DacongDA
bb33c8ea31
feat: add support for exclusive login ( #4301 )
2025-10-23 22:00:09 +08:00
Copilot
48f5531332
feat: apply Casbin rules to users signing up via external providers with signup groups ( #4253 )
2025-10-22 14:53:57 +08:00
Copilot
3e5114e42d
feat: can map claims from external Identity Providers (Okta, Azure AD, etc.) to additional user properties ( #4296 )
2025-10-22 01:45:34 +08:00
Yang Luo
03082db9f2
fix: update all i18n data
2025-10-22 00:35:16 +08:00
Attack825
a2363e55e7
feat: add missing "eft" in GetBuiltInModel()'s Casbin model ( #4277 )
2025-10-22 00:05:29 +08:00
Copilot
dde4e41e24
feat: add application-specific OIDC discovery endpoints ( #4294 )
2025-10-21 23:40:23 +08:00
Copilot
c3eea4d895
feat: enable applications to define custom title and favicon ( #4291 )
2025-10-21 01:27:53 +08:00
Copilot
4ff28cacbe
feat: fix /api/logout API to support POST requests with form parameters ( #4282 )
2025-10-20 14:16:14 +08:00
Copilot
e8ed9ca9e3
feat: add support for custom HTTP headers, body mapping, and content types in Custom HTTP SMS provider ( #4270 )
2025-10-20 14:07:48 +08:00
Copilot
8f8b7e5215
feat: support "new-user" webhooks for LDAP and syncer ( #4285 )
2025-10-19 22:38:41 +08:00
Copilot
099e6437a9
feat: fix nil pointer dereference in Login handler when provider is nil ( #4278 )
2025-10-18 00:13:12 +08:00
DacongDA
fdbb0d52da
feat: fix QRCode param error in payUrl and successUrl ( #4276 )
2025-10-17 23:18:02 +08:00
Copilot
9c89705a19
feat: fix SAML audience duplication and empty values in response generation ( #4268 )
2025-10-15 19:25:49 +08:00
DacongDA
18451a874e
feat: add 9 more custom fields for custom oauth ( #4265 )
2025-10-14 22:26:41 +08:00
Copilot
99dae68c53
feat: add LDAP country attribute mapping to user region field ( #4257 )
2025-10-14 22:11:02 +08:00
Copilot
7e2c2bfc64
feat: Add RegisterType and RegisterSource fields to User struct ( #4252 )
2025-10-14 20:56:38 +08:00
Copilot
4ae6675198
feat: fix SAML assertion signing failure with C14N10 exclusive canonicalization ( #4260 )
2025-10-14 18:48:29 +08:00
Copilot
8c37533b92
feat: support SAML assertion signing at all times ( #4237 )
2025-10-14 00:25:26 +08:00
DacongDA
3e77bd30a0
feat: support "Casdoor API" resource type in permission edit page ( #4251 )
2025-10-13 23:51:14 +08:00
Copilot
55257d6190
feat: support user.Id parameter in /update-user API ( #4249 )
2025-10-13 23:10:17 +08:00
Attack825
b9046bec01
feat: support Form.Tag and remove unique formType checks ( #4002 )
2025-10-09 22:15:08 +08:00
Kevin D'souza
40d4e3a1a9
feat: accept if the SAML certificate is of type PEM as well ( #4232 )
2025-10-08 22:57:53 +08:00
Attack825
60bfc8891a
fix: fix label's i18n in form edit page ( #4226 )
2025-10-05 23:18:52 +08:00
Attack825
126879533b
feat: add Form.Label and change form.Width to string ( #4225 )
2025-10-05 21:03:36 +08:00
DacongDA
469b6036fd
feat: fix JSON parse error with ObjectWithOrg in authz_filter.go's getObject() ( #4224 )
2025-10-04 23:36:15 +08:00
DacongDA
6c750867b0
feat: support different SAML hash algorithms: "SHA1", "SHA256", "SHA512" for SAML signature in application edit page ( #4221 )
2025-10-02 11:58:34 +08:00
Austin Riendeau
625b3e2c63
feat: fix missing subject in Sendgrid Email provider ( #4220 )
2025-10-02 11:45:31 +08:00
DacongDA
28dff8083a
feat: fix bug that notify-payment webhook was not triggered ( #4219 )
2025-10-02 11:44:01 +08:00
Yang Luo
02c4bddb5f
feat: improve user-upload button
2025-09-30 14:01:12 +08:00
Enze Wu
df65fb3525
feat: skip old password verification for OAuth users without a password ( #4211 )
2025-09-29 17:43:45 +08:00
DacongDA
d3bbf954f8
feat: fix issue that couldn't auto set invitatonCode when using oAuth signup link ( #4212 )
2025-09-29 17:19:58 +08:00
Attack825
f3755d925c
feat: improve form edit page UI and add preview ( #4210 )
2025-09-27 16:26:12 +08:00
Attack825
ca819e7e83
feat: add form to customize columns ( #4202 )
2025-09-25 22:04:43 +08:00
M3ti
d619e91d9e
feat: add support for custom attribute mapping to user properties in LDAP ( #4201 )
2025-09-23 00:57:12 +08:00
Robin Ye
5079c37818
feat: improve compatibility for MinIO storage provider ( #4196 )
2025-09-21 16:02:19 +08:00
DacongDA
d5f29d716a
feat: change User.Avatar's DB type to text ( #4199 )
2025-09-20 21:32:51 +08:00
DacongDA
00b278a00f
feat: check roles in CheckLoginPermission ( #4198 )
2025-09-20 19:50:36 +08:00
DacongDA
d883db907b
feat: improve authz_filter ( #4195 )
2025-09-18 23:46:00 +08:00
Attack825
8e7efe5c23
feat: add code verification label in signin items ( #4187 )
2025-09-18 10:41:47 +08:00
DacongDA
bf75508d95
feat: add token attribute table to provide a more flexible Jwt-custom token in application edit page ( #4191 )
2025-09-17 21:57:17 +08:00
Mirko Rapisarda
986b94cc90
feat: improve domain field text in provider edit page ( #4181 )
2025-09-16 20:57:40 +08:00
Attack825
890f528556
feat: separate getLocalPrimaryKey() and getTargetTablePrimaryKey() in DB syncer ( #4180 )
2025-09-15 17:45:18 +08:00
Robin Ye
b46e779235
feat: persist custom signin item label in signin items table ( #4179 )
2025-09-15 17:43:20 +08:00
Attack825
5c80948a06
feat: add tag filtering in app list page ( #4163 )
2025-09-14 15:32:13 +08:00
DacongDA
1467199159
feat: add webhook for buy-product and add resp data ( #4177 )
2025-09-12 23:53:59 +08:00
DacongDA
64c2b8f0c2
feat: fix issue that init will add duplicate policy and not add permission policies to adapter ( #4175 )
2025-09-11 21:21:07 +08:00
DacongDA
8f7ea7f0a0
feat: fix Data Missing From casbin_rule Table After Importing init_data.json ( #4167 )
2025-09-09 21:20:25 +08:00
DacongDA
2ab85c0c44
feat: fix bug that send code type will be "phone" when logged-in via autofill ( #4164 )
2025-09-08 18:13:52 +08:00
Dev Hjz
bf67be2af6
feat: add username and loginHint to redirect URL in HandleSamlRedirect of SAML IdP ( #4162 )
2025-09-07 14:18:35 +08:00
DacongDA
bc94735a8d
feat: add the username parameter in SAML or OAuth2 ( #4161 )
2025-09-06 22:03:18 +08:00
DacongDA
89c6ef5aae
feat: support "permissionNames" field in JWT-Custom token ( #4154 )
2025-09-06 00:05:47 +08:00
anhuv
21da9f5ff2
feat: remove port from client IP in getIpInfo() ( #4145 )
2025-09-04 08:10:42 +08:00
karatekaneen
3b11e778e7
feat(i18n): Update faulty Swedish translations ( #4149 )
2025-09-03 20:45:57 +08:00
Attack825
ad240a373f
feat: fix non-standard CAS bug ( #4146 )
2025-09-03 20:20:08 +08:00
amaankm
01000f7022
feat: update parameter descriptions in Session API ( #4140 )
2025-09-02 16:31:06 +08:00
Cleidson Oliveira
f93aeb5350
feat: improve pt i18n strings ( #4143 )
2025-09-02 15:53:51 +08:00
gongzhongqiang
8fa681f883
feat: add password change validation to ensure new password differs from current password ( #4134 )
2025-09-01 17:22:06 +08:00
DacongDA
3b16406442
feat: add signinMethod in JWT token ( #4136 )
2025-08-31 18:01:05 +08:00
Attack825
fbc16ef124
feat: change builtInMaxFields to 6 in Casbin policy length ( #4130 )
2025-08-29 22:39:39 +08:00
DacongDA
f26f56e88b
feat: support auto signup with SAML ( #4129 )
2025-08-29 11:51:52 +08:00
DacongDA
9cb633c9e2
feat: use a more popular format for nameid to ensure compatibility in NewSamlResponse() ( #4123 )
2025-08-27 22:33:14 +08:00
DacongDA
d0d059d42f
feat: fix Email and SMS check failures when enabling or verifying MFA ( #4122 )
2025-08-27 21:11:53 +08:00
biankasyo
c184dc7f3a
feat(lark): support enterprise_email field as email fallback ( #4128 )
2025-08-27 20:55:32 +08:00
DacongDA
2fa0890c11
feat: fix bug that custom JWT token no longer includes properties ( #4124 )
2025-08-27 20:41:27 +08:00
DacongDA
a0e2be7ba8
feat: support inserting user's field to SAML attribute ( #4105 )
2025-08-22 11:27:21 +08:00
IsAurora6
09b389b1f7
feat: add a loading animation in DashboardPage ( #4117 )
2025-08-22 00:11:08 +08:00
DacongDA
a23033758f
feat: Add "Send Invitation Email" action to User Invitation flow ( #4113 )
2025-08-21 18:53:43 +08:00
Attack825
f7bc822087
feat: refresh inline captcha on login failure ( #4108 )
2025-08-21 10:29:56 +08:00
kevin kwok
e533ff1ee1
feat: add support for casbin-dotnet-cli auto-download ( #4110 )
2025-08-20 18:38:00 +08:00
Attack825
9f187f690e
feat: add copy button in ApplicationListPage ( #4097 )
2025-08-19 16:18:28 +08:00
Jerry
fe5aa1f214
feat: Add Phantom web3 onboard wallet support ( #4100 )
2025-08-19 13:31:35 +08:00
DacongDA
eda742a848
feat: support e164 phone number in GetUserByPhone() ( #4099 )
2025-08-19 02:19:15 +08:00
Attack825
83df077a02
feat: add Application.Order for sorting in Apps page ( #4085 )
2025-08-18 08:34:32 +08:00
DacongDA
ad6080e763
feat: fix issue that signing up via provider in shared application will sign up to built-in app ( #4093 )
2025-08-17 22:32:47 +08:00
DacongDA
c179324de4
feat: fix bug that SelfLoginButton will re-render when username field updates ( #4091 )
2025-08-17 19:50:34 +08:00
DacongDA
645716e485
feat: add country code to validate phone number when Code method's rule is Phone only ( #4089 )
2025-08-17 16:56:25 +08:00
IsAurora6
955e73ddd1
feat: fix the asynchronous issue in handleOrganizationChange in BaseListPage ( #4090 )
2025-08-17 14:59:49 +08:00
Robin Ye
2493ae9cfe
feat: fix issue that a user can belong to two physical groups at the same time ( #4084 )
2025-08-15 23:42:09 +08:00
Attack825
b5c80513fb
feat: change username too when "username as email" switch is enabled in ResetEmailOrPhone API ( #4081 )
2025-08-14 21:03:45 +08:00
Attack825
0653353be1
feat: update social_osonsms.svg URL ( #4082 )
2025-08-14 20:35:39 +08:00
Robin Ye
d6778fb4e6
feat: improve inline captcha UI by increasing spacing ( #4079 )
2025-08-14 16:15:34 +08:00
DacongDA
fee7773839
feat: add First name and Last name to account items ( #4077 )
2025-08-14 08:41:18 +08:00
Robin Ye
d47ac6b957
feat: add support for Azerbaijani language (az) ( #4073 )
2025-08-14 00:13:01 +08:00
Robin Ye
857824df19
feat: sync i18n texts ( #4075 )
2025-08-13 23:10:58 +08:00
Attack825
1e98d1e11b
feat: fix MinIO provider logo URL ( #4076 )
2025-08-13 22:20:50 +08:00
Yang Luo
48ba88de2d
feat: improve error handling in AutoSigninFilter
2025-08-13 15:27:52 +08:00
Yang Luo
a3a142db39
feat: fix error message in VerificationForm.CheckParameter()
2025-08-12 10:13:00 +08:00
hamidreza abedi
3bb7cc6b81
feat: increase LDAP's "basedn" field to 500 chars ( #4062 )
2025-08-11 16:46:15 +08:00
Robin Ye
1fb3249bfd
fix: improve "Copy signup page URL" button UI in invitation edit page ( #4038 )
2025-08-10 23:03:13 +08:00
DacongDA
ff8f61a84c
feat: fix missing search params bug in switchLoginOrganization() ( #4058 )
2025-08-10 22:11:06 +08:00
DacongDA
a118879dc0
feat: allow user to select organization in login page when using shared app ( #4053 )
2025-08-10 20:40:30 +08:00
DacongDA
386b673446
feat: support scanning code to login in the login page ( #4052 )
2025-08-10 00:09:43 +08:00
DacongDA
6abd46fe81
feat: fix issue that signing up with shared application will create user in wrong org ( #4051 )
2025-08-09 22:25:01 +08:00
IsAurora6
49d734d249
feat: standardize Resource APIs by handling path prefix internally and returning clean paths ( #4047 )
2025-08-08 23:31:22 +08:00
iderr
f5b4cd7fab
feat: Fix GetFilteredPoliciesMulti when filtering only by ptype ( #4039 )
2025-08-05 22:51:40 +08:00
iderr
76f322861a
feat: Refactor GetFilteredPolicies to support multiple filters via POST ( #4037 )
2025-08-04 19:51:25 +08:00
Seele.Clover
124c28f1e1
feat: allow Custom OAuth provider to not fill in email and avatarUrl in configuring user_mapping ( #4035 )
2025-08-04 12:26:12 +08:00
DacongDA
e0d9cc7ed1
feat: improve error handling on signInWithWebAuthn ( #4033 )
2025-08-03 01:26:18 +08:00
Seele.Clover
75c1ae4366
feat: support nested fields for configuring user_mapping in the Custom OAuth provider ( #4032 )
2025-08-03 00:33:52 +08:00
DacongDA
d537377b31
feat: show placeholder QR code with loading instead of "Loading" text in QR code login page ( #4031 )
2025-08-02 15:58:49 +08:00
raiki02
462ecce43b
feat: check args in Enforce and BatchEnforce APIs ( #4029 )
2025-08-02 13:39:05 +08:00
raiki02
a84664b55d
feat: remove toLower conversion in getPolicies() ( #4030 )
2025-08-02 13:38:49 +08:00
Justin Judd
941c56e69e
feat(jwt): Enable using User Properties as custom claims ( #3571 )
2025-08-02 10:34:11 +08:00
DacongDA
a28b871a46
feat: add useGroupPathInToken boolean field in app.conf ( #4026 )
2025-08-02 01:40:26 +08:00
Robin Ye
387f5d58f7
feat: prevent two captcha providers are added to one single application ( #4025 )
2025-08-01 22:50:12 +08:00
Xiao Mao
7d846b2060
feat: implement root DSE handling and schema query in LDAP server ( #4020 )
2025-07-31 01:23:25 +08:00
raiki02
c1c2dcab38
feat: can disable signin within application and organization ( #4012 )
2025-07-30 21:07:35 +08:00
Robin Ye
f9264f700b
feat: add get-filtered-policies API, improve Swagger docs ( #4006 )
2025-07-29 23:51:01 +08:00
Xiao Mao
f3af2a26aa
feat: add posixAccount and posixGroup filter logic for more versatile usage in LDAP ( #4014 )
2025-07-29 21:49:39 +08:00
DacongDA
0ac69bde53
feat: fix objectClass filter will return empty response ( #4011 )
2025-07-28 23:39:04 +08:00
Yang Luo
70c99f0e59
feat: fix "Key text" multi-line input box for Apple OAuth provider
2025-07-28 17:49:36 +08:00
kevin kwok
8d1fdc3a08
feat: add support for casbin-python-cli auto-download ( #4004 )
2025-07-27 14:00:00 +08:00
DacongDA
30c15b8135
feat: fix the error effect of form post response type ( #4003 )
2025-07-26 23:26:37 +08:00
Kevin D'souza
2d6de216b8
feat: move to a more robust way of checking if element in slice ( #4001 )
2025-07-26 11:57:45 +08:00
IsAurora6
ac39722687
feat: fix issue that resource provider.PathPrefix is not used in GetDirectResources() API ( #4000 )
2025-07-25 22:06:08 +08:00
Attack825
26a9ec8ee6
feat: translate all i18n strings ( #3992 )
2025-07-25 21:22:25 +08:00
DacongDA
fea6317430
feat: add back support for non-discoverable credential WebAuthn login and display WebAuthn ID again ( #3998 )
2025-07-25 18:34:37 +08:00
DacongDA
5f702ca418
feat: make enableErrorMask work for corner cases by moving checks from controller to Translate() ( #3996 )
2025-07-25 00:39:01 +08:00
Robin Ye
0495d17a07
feat: support OAuth 2.0 form_post response mode ( #3973 )
2025-07-24 15:17:45 +08:00
Yang Luo
c6a2d59aa4
feat: update i18n strings
2025-07-24 15:15:19 +08:00
DacongDA
d867afdd70
feat: can set default value for "Auto sign in" in application edit page ( #3987 )
2025-07-22 22:57:01 +08:00
Attack825
a92430e8fd
feat: fix auto sign-in flow on result page ( #3983 )
2025-07-22 20:19:45 +08:00
Yang Luo
447cb70553
feat: change some fields of organization and user to mediumtext
2025-07-21 23:43:17 +08:00
Yang Luo
e05fbec739
feat: keep backward compatibility in GetHashedPassword()
2025-07-21 19:32:59 +08:00
DacongDA
65ab36f073
feat: fix bug that GetHashedPassword() reports error ( #3982 )
2025-07-21 14:41:09 +08:00
M Zahid Rausyanfikri
d027e07383
feat: fix bug that needUpdatePassword is not respected ( #3979 )
2025-07-21 10:17:24 +08:00
DacongDA
d3c718b577
feat: fix bug that language cannot be switched to user selected language ( #3980 )
2025-07-21 10:16:07 +08:00
DacongDA
ea68e6c2dc
feat: support inline-captcha in login page ( #3970 )
2025-07-19 01:12:07 +08:00
raiki02
7aa0b2e63f
feat: change the method "login" to correct param "signup" ( #3971 )
2025-07-19 00:49:00 +08:00
raiki02
a39b121280
feat: support WeChat login directly in login page ( #3957 )
2025-07-18 01:29:31 +08:00
DacongDA
feef4cc242
feat: set ResponseModesSupported to standard OIDC: "query", "fragment" ( #3968 )
2025-07-17 10:20:37 +08:00
Attack825
1b5ef53655
feat: fix tour bug about orgIsTourVisible settings ( #3965 )
2025-07-16 18:00:44 +08:00
Attack825
18d639cca2
feat: fix tour button ( #3961 )
2025-07-16 12:02:14 +08:00
DacongDA
3ac5aad648
feat: fix validate text error caused by password length check ( #3964 )
2025-07-16 10:10:13 +08:00
Robin Ye
2a53241128
feat: support 15 more currencies ( #3963 )
2025-07-16 01:07:25 +08:00
DacongDA
835273576b
feat: add Lark OAuth provider ( #3956 )
2025-07-13 19:51:45 +08:00
raiki02
7fdc264ff6
feat: check if MFA is verified when required ( #3954 )
2025-07-12 15:20:44 +08:00
DacongDA
a120734bb1
feat: support links in email to reset password ( #3939 )
2025-07-12 00:18:56 +08:00
Vickko
edd0b30e08
feat: Supports smooth migration of password hash ( #3940 )
2025-07-11 19:57:55 +08:00
Attack825
2da597b26f
feat: add support for per-account MFA validity period in org setting to reduce repeated prompts ( #3917 )
2025-07-11 00:24:33 +08:00
DacongDA
ef14c84edc
feat: show the popover on the top when window's width too small and close popover when password options is empty ( #3952 )
2025-07-10 19:56:05 +08:00
Yang Luo
cb5c7667b5
feat: change Subscription's StartTime and EndTime to string
2025-07-10 14:11:40 +08:00
Yang Luo
920ed87f75
fix: refactor the code in CheckPassword()
2025-07-10 00:49:13 +08:00
raiki02
6598f0ccdf
feat: use token's client ID instead in IntrospectToken() API ( #3948 )
2025-07-09 22:07:44 +08:00
Yang Luo
8e71e23d75
feat: improve error message for GetConfigInt64()
2025-07-09 00:32:00 +08:00
Yang Luo
146a369f80
feat: improve error handling in AutoSigninFilter
2025-07-08 23:47:14 +08:00
raiki02
9bbe5afb7c
feat: use only one salt arg in CredManager.IsPasswordCorrect() ( #3936 )
2025-07-07 17:56:25 +08:00
DacongDA
b42391c6ce
feat: move needUpdatePassword to response's Data3 field to avoid refresh token conflict ( #3931 )
2025-07-05 22:48:44 +08:00
Raiki
fb035a5353
feat: CredManager.GetHashedPassword() only contains one salt arg now ( #3928 )
2025-07-05 18:41:37 +08:00
Raiki
b1f68a60a4
feat: set createDatabase to false in TestDumpToFile() ( #3924 )
2025-07-03 22:50:23 +08:00
Robin Ye
201d704a31
feat: improve TikTok username generation logic ( #3923 )
2025-07-03 20:53:15 +08:00
Robin Ye
bf91ad6c97
feat: add Internet-Only captcha rule ( #3919 )
2025-07-03 02:39:06 +08:00
Yang Luo
3ccc0339c7
feat: improve CheckToEnableCaptcha() logic
2025-07-03 02:32:07 +08:00
DacongDA
1f2b0a3587
feat: add user's MFA items ( #3921 )
2025-07-02 23:05:07 +08:00
DacongDA
0b3feb0d5f
feat: use Input.OTP to input totp code ( #3922 )
2025-07-02 18:22:59 +08:00
DacongDA
568c0e2c3d
feat: show Organization.PasswordOptions in login UI ( #3913 )
2025-06-28 22:13:00 +08:00
Yang Luo
f4ad2b4034
feat: remove "@" from name's forbidden chars
2025-06-27 18:41:50 +08:00
Attack825
c9f8727890
feat: fix bug in InitCleanupTokens() ( #3910 )
2025-06-27 02:08:18 +08:00
DacongDA
e2e3c1fbb8
feat: support Product.SuccessUrl ( #3908 )
2025-06-26 22:52:07 +08:00
David
73915ac0a0
feat: fix issue that LDAP user address was not syncing ( #3905 )
2025-06-26 09:38:16 +08:00
Attack825
bf9d55ff40
feat: add InitCleanupTokens() ( #3903 )
2025-06-26 09:31:59 +08:00
XiangYe
b36fb50239
feat: fix check bug to allow logged-in users to buy product ( #3897 )
2025-06-25 10:49:20 +08:00
Øßfusion
4307baa759
feat: fix Tumblr OAuth's wrong scope ( #3898 )
2025-06-25 09:55:02 +08:00
David
3964bae1df
feat: fix org's LDAP table wrong link ( #3900 )
2025-06-25 09:51:40 +08:00
Yang Luo
d9b97d70be
feat: change CRLF to LF for some files
2025-06-24 09:55:00 +08:00
Attack825
ca224fdd4c
feat: add group xlsx upload button ( #3885 )
2025-06-17 23:43:38 +08:00
千石
37daea2bbc
feat: improve error message in ApplicationEditPage ( #3886 )
2025-06-17 20:06:52 +08:00
千石
af231bf946
feat: add FieldValidationFilter to check object names ( #3877 )
2025-06-17 16:11:35 +08:00
DacongDA
6dc7b4d533
feat: get-user API respects org's account item's view rules now ( #3882 )
2025-06-16 20:09:21 +08:00
DacongDA
12cc0f429e
feat: remove support for Non trace verification for Alibaba cloud captcha verification ( #3881 )
2025-06-13 00:36:29 +08:00
DacongDA
8cc22dec91
feat: upgrade Alibaba cloud captcha provider from v1 to v2 ( #3879 )
2025-06-12 23:02:36 +08:00
千石
0c08ae5365
feat: Add support for email verification logic ( #3875 )
2025-06-11 19:17:16 +08:00
Yang Luo
c3485268d3
feat: fix "Display name cannot be empty" in /update-user API
2025-06-11 00:32:05 +08:00
Yang Luo
64a4956c42
feat: improve getMemoryUsage()
2025-06-09 20:08:55 +08:00
DacongDA
855bdf47e8
feat: fix memory usage in sysinfo page ( #3870 )
2025-06-09 00:31:34 +08:00
DacongDA
de7e322fbb
feat: limit the width of the organization.hasPrivilegeConsent popconfirm ( #3869 )
2025-06-07 00:30:41 +08:00
DacongDA
4cb0cd7c5a
feat: add Organization.HasPrivilegeConsent to block add-user API for the "built-in" org ( #3864 )
2025-06-06 23:05:01 +08:00
DacongDA
c6a50349cc
feat: add missing backend i18n texts ( #3863 )
2025-06-06 00:03:04 +08:00
DacongDA
8a098a4b6e
feat: skip node_modules folder when generating i18n ( #3862 )
2025-06-05 20:51:14 +08:00
Yang Luo
09f98fd24a
feat: rollback to Beego 1.12.12 to fix Redis session issue
2025-06-04 22:40:54 +08:00
DacongDA
515d209063
feat: update go dependencies ( #3855 )
2025-06-03 16:38:06 +08:00
DacongDA
4e17dae2c2
feat: fix unable to remove user from group bug ( #3847 )
2025-05-28 22:29:40 +08:00
DacongDA
0ad4d82d9c
feat: fix GetGroups() API bug when parentGroup is in next page ( #3843 )
2025-05-28 18:31:52 +08:00
DacongDA
731daf5204
feat: allow org admin to change org user's password without old password ( #3841 )
2025-05-28 01:23:44 +08:00
Khanbala Rashidov
b6b77da7cf
feat: refactor the code in NewSmtpEmailProvider() ( #3832 )
2025-05-26 20:23:47 +08:00
DacongDA
8b4637aa3a
feat: provide a more complete Excel template for uploading users and fix any bugs ( #3831 )
2025-05-25 21:23:48 +08:00
Leon Koth
87506b84e3
feat: support special chars like "+" in username parameter of /api/get-email-and-phone API ( #3824 )
2025-05-23 17:29:00 +08:00
People257
fed9332246
feat: can configure Domain field in Nextcloud OAuth provider ( #3813 )
2025-05-23 17:23:34 +08:00
DacongDA
33afc52a0b
feat: can redirect user to login page after linking provider in prompt page ( #3820 )
2025-05-23 07:15:53 +08:00
Eko Eryanto
9035ca365a
feat: improve Indonesia i18n translations ( #3817 )
2025-05-22 20:42:47 +08:00
DacongDA
b97ae72179
feat: use the standard user struct for JWT-Standard to get a correct userinfo ( #3809 )
2025-05-21 18:54:42 +08:00
DacongDA
9190db1099
feat: fix bug that token endpoint doesn't return 400/401 when type is object.TokenError ( #3808 )
2025-05-20 10:39:55 +08:00
DacongDA
1173f75794
feat: return HTTP status 400 instead of 200 in GetOAuthToken() ( #3807 )
2025-05-20 01:05:43 +08:00
Yang Luo
086859d1ce
feat: change User.Avatar length back to 500
2025-05-18 09:47:56 +08:00
Yang Luo
9afaf5d695
feat: increase User.Avatar length to 1000
2025-05-17 19:59:17 +08:00
DacongDA
521f90a603
feat: fix access_token endpoint cannot read clientId in form when using device code flow ( #3800 )
2025-05-17 18:53:38 +08:00
DacongDA
4260efcfd0
feat: add useIdAsName field for WeCom OAuth provider ( #3797 )
2025-05-17 02:27:06 +08:00
DacongDA
d772b0b7a8
feat: fix bug that username will be random with useEmailAsUsername enabled ( #3793 )
2025-05-16 18:40:50 +08:00
DacongDA
702b390da1
feat: fix MFA preference doesn't work bug ( #3790 )
2025-05-15 21:04:36 +08:00
DacongDA
b15b3b9335
feat: support adapter in app.conf logConfig ( #3784 )
2025-05-14 08:27:11 +08:00
DacongDA
f8f864c5b9
feat: add logged-in IDP provider info to access token ( #3776 )
2025-05-11 09:51:51 +08:00
Yang Luo
90e790f83c
feat: increase Application.SamlReplyUrl from 100 chars to 500
2025-05-10 22:42:40 +08:00
DacongDA
58413246f3
feat: fix bug that db not found error in createDatabaseForPostgres ( #3765 )
2025-05-05 18:25:58 +08:00
Yang Luo
8f307dd907
feat: upgrade go-teams-notify to v2.13.0
2025-05-05 01:02:27 +08:00
People257
fe42b5e0ba
feat: improve checkGroupName() ( #3759 )
2025-05-03 22:47:42 +08:00
DacongDA
383bf44391
feat: support OIDC device flow: "/api/device-auth" ( #3757 )
2025-04-30 23:42:26 +08:00
DacongDA
36f5de3203
feat: allow jwks to include the certs from non-admin owner ( #3749 )
2025-04-28 09:31:56 +08:00
DacongDA
eae69c41d7
feat: add object field filter for webhook ( #3746 )
2025-04-26 22:05:36 +08:00
Khaled Omara
91057f54f3
feat: add Pbkdf2DjangoCredManager ( #3745 )
2025-04-25 16:16:50 +08:00
DacongDA
daa7b79915
feat: improve error handling of webauthn login ( #3744 )
2025-04-24 01:11:24 +08:00
DacongDA
d3a5539dae
feat: fix loading status not reset issue when failed to login ( #3743 )
2025-04-24 00:57:52 +08:00
DacongDA
7d1c614452
feat: use random name as name if user's name is invalid when created by third party provider ( #3742 )
2025-04-23 21:30:19 +08:00
Yang Luo
e2eafa909b
feat: fix MODEL_URL in FaceRecognitionModal
2025-04-21 09:10:30 +08:00
DacongDA
56bcef0592
feat: support application.formCss in forget-password page ( #3733 )
2025-04-19 22:59:21 +08:00
DacongDA
0860cbf343
feat: can specify content type and http body field mapping for Custom HTTP Email provider ( #3730 )
2025-04-17 01:59:11 +08:00
Maxime LUCE
2f4180b1b6
feat: add missing currencies in plan edit page ( #3727 )
2025-04-15 16:01:14 +08:00
DacongDA
e3d5619b25
feat: support custom HTTP headers in custom HttpEmailProvider and hide unused fields ( #3723 )
2025-04-13 23:52:04 +08:00
closeobserve
019fd87b92
feat: fix code comment typos ( #3724 )
2025-04-13 17:57:37 +08:00
Yang Luo
5c41c6c4a5
feat: add BRL currency
2025-04-11 22:24:45 +08:00
Jefferson Rodrigues
b7fafcc62b
feat: improve InitFromFile() code order to fix GetOrganizationApplicationCount always returns 0 bug ( #3720 )
2025-04-11 01:43:54 +08:00
Yang Luo
493ceddcd9
feat: improve error handling in system info page
2025-04-11 01:41:27 +08:00
Gabriel Brecci
fc618b9bd5
feat: add validation for optional fields in IntrospectionToken for custom token types ( #3717 )
2025-04-09 22:27:19 +08:00
DacongDA
a00900e405
feat: fix sqlite bug for failed to lookup Client-side Discoverable Credential: user not exist ( #3719 )
2025-04-09 22:26:47 +08:00
Gabriel Brecci
77ef5828dd
feat(introspection): return correct active status for expired or revoked tokens ( #3716 )
2025-04-09 02:00:30 +08:00
DacongDA
c11f013e04
feat: return "Active: false" for expired token in IntrospectToken() ( #3714 )
2025-04-08 23:20:44 +08:00
DacongDA
b3bafe8402
feat: fix bug that unable to query webauthnCredentials when db is mssql or postgres in GetUserByWebauthID() ( #3712 )
2025-04-08 17:51:32 +08:00
DacongDA
f04a431d85
feat: Casdoor's LDAP client supports LDAP server's self-signed certificates now ( #3709 )
2025-04-07 02:02:32 +08:00
WindSpiritSR
952538916d
feat: check application existence in object.AddUser() ( #3686 )
2025-04-05 16:38:20 +08:00
Eng Zer Jun
18bb445e71
feat: update github.com/golang-jwt/jwt dependency to v5 ( #3708 )
2025-04-05 02:05:41 +08:00
DacongDA
cca88e2cb0
feat: fix bug that when email/sms mfa is not preferred, message will send to masked address ( #3705 )
2025-04-04 01:08:29 +08:00
Yang Luo
86c10fe0ab
feat: change org.CountryCodes to mediumtext
2025-04-02 20:23:04 +08:00
DacongDA
c1b3bf0f45
feat: set button to loading status immediately after click ( #3696 )
2025-04-02 01:15:36 +08:00
DacongDA
62bda61af5
feat: can use provider_hint arg to do OAuth redirect automatically ( #3698 )
2025-04-02 01:15:20 +08:00
DacongDA
b6f943e326
feat: support WebAuthn login without username and upgrade Go to 1.21 ( #3695 )
2025-04-01 16:35:59 +08:00
DacongDA
2cc5e82d91
feat: support login button loading state ( #3694 )
2025-04-01 00:57:24 +08:00
DacongDA
e55cd94298
feat: fix issue that user email is still unverified after signup ( #3685 )
2025-03-29 21:24:01 +08:00
WindSpiritSR
08f7a05e61
feat: fix MFA + LDAP bug in /check-user-password API ( #3681 )
2025-03-26 22:11:58 +08:00
Yang Luo
4bee21f4a3
feat: use StaticBaseUrl in frontend
2025-03-26 21:32:31 +08:00
DacongDA
5417a90223
feat: fix bug that there is already an object named 'casbin_api_rule' in the database ( #3680 )
2025-03-25 22:24:58 +08:00
Yang Luo
131820e34e
feat: add application.ForcedRedirectOrigin
2025-03-24 13:42:35 +08:00
WindSpiritSR
2fcbf7cf6c
feat: fix apps page grid style ( #3679 )
2025-03-22 18:19:14 +08:00
WindSpiritSR
14ade8b7e4
feat: fix provider test API's missing owner and name args for auth ( #3676 )
2025-03-22 17:53:20 +08:00
WindSpiritSR
a11fe59704
feat: support widget items config in org ( #3674 )
2025-03-21 23:00:07 +08:00
Yang Luo
af55d0547f
feat: improve frontend i18n strings
2025-03-21 21:03:29 +08:00
WindSpiritSR
81102f8298
feat: fix permission update bug when both org and model are modified ( #3671 )
2025-03-20 09:05:27 +08:00
DacongDA
141372cb86
feat: support face ID provider ( #3666 )
2025-03-19 22:57:35 +08:00
if0else9
15a037ca74
feat: increase frontend build memory to 4096 in Dockerfile ( #3672 )
...
297.8 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
2025-03-19 10:40:34 +08:00
Cutsin
73c680d56f
feat: avoid using body in GET requests for AirwallexClient payment provider ( #3669 )
2025-03-18 20:04:15 +08:00
WindSpiritSR
aafc16e4f4
feat: fix dynamic width of navbar UI ( #3664 )
2025-03-16 16:12:58 +08:00
ruanjiefeng
7be026dd1f
feat: Support for selecting existing users or scanning a QR code when logging into Dingtalk ( #3660 )
2025-03-13 21:49:07 +08:00
Anton Berezhnyi
3e7938e5f6
feat: don't panic when provider not found in Login() API ( #3659 )
2025-03-13 21:35:51 +08:00
DacongDA
30789138e2
feat: fix faceId loop error caused by async ( #3651 )
2025-03-11 21:03:04 +08:00
DacongDA
9610ce5b8c
feat: can add faceId by uploading images ( #3641 )
2025-03-09 01:29:25 +08:00
DacongDA
a39a311d2f
feat: fix webhook bug in RecordEx JSON ( #3642 )
2025-03-08 00:20:59 +08:00
DacongDA
08e41ab762
feat: can specify user fields in webhook edit page ( #3635 )
2025-03-04 14:16:16 +08:00
DacongDA
85ca318e2f
feat: can assign default group during signup ( #3633 )
2025-03-02 22:55:51 +08:00
DacongDA
9032865e60
feat: support mobile background for login page ( #3629 )
2025-03-01 23:01:15 +08:00
WindSpiritSR
5692522ee0
feat: update user language when the language changed on login page ( #3628 )
2025-03-01 22:28:20 +08:00
hsluoyz
cb1882e589
feat: fix MFA bug, revert PR: "feat: don't send verification code if failed signin limit is reached" ( #3627 )
2025-03-01 12:58:28 +08:00
Yang Luo
41d9422687
feat: increase username limit to 255 chars
2025-03-01 00:44:34 +08:00
Yang Luo
3297db688b
feat: support shared cert in GetCert() API
2025-02-28 23:02:13 +08:00
DacongDA
cc82d292f0
feat: set frontend origin to 7001 if in dev mode ( #3615 )
2025-02-26 22:35:50 +08:00
Cliff
f2e3037bc5
feat: don't send verification code if failed signin limit is reached ( #3616 )
2025-02-26 22:34:14 +08:00
Lai Zn
d986a4a9e0
feat: fix bug that initialize group children as empty array instead of empty string ( #3620 )
2025-02-26 08:50:09 +08:00
DacongDA
2df3878c15
feat: fix bug that group.HaveChildren is never set to false bug Something isn't working ( #3609 )
2025-02-22 01:46:35 +08:00
DacongDA
24ab8880cc
feat: fix bug that organization might be nil in some case and cause nil point error ( #3608 )
2025-02-21 23:43:30 +08:00
ners
f26b4853c5
feat: bump Go version to go 1.18 ( #3599 )
2025-02-21 13:10:17 +08:00
DacongDA
d78e8e9776
feat: fix LDAP filter condition will return nil if error happened ( #3604 )
2025-02-21 13:09:39 +08:00
WindSpiritSR
d61f9a1856
feat: update antd from 5.2.3 to 5.24.1 ( #3593 )
2025-02-18 20:54:10 +08:00
WindSpiritSR
aa52af02b3
feat: fix style props of Editor ( #3590 )
2025-02-17 13:39:49 +08:00
WindSpiritSR
2a5722e45b
feat: add detail sidebar for record list page, improve token list page ( #3589 )
2025-02-16 22:01:25 +08:00
Mayank
26718bc4a1
feat: update signinUrl storage to include pathname and query parameters only to prevent new tab popup after password reset ( #3587 )
2025-02-14 20:31:36 +08:00
Yang Luo
f8d44e2dca
feat: set default CountryCode for user
2025-02-14 16:54:25 +08:00
Yang Luo
26eea501be
feat: don't use organization.MasterVerificationCode when sending
2025-02-14 16:54:25 +08:00
Mayank
63b8e857bc
feat: update signinUrl storage to include path and query parameters in forced reset password flow ( #3583 )
2025-02-14 01:32:10 +08:00
WindSpiritSR
81b336b37a
feat: replace react-codemirror2 with @uiw/react-codemirror ( #3577 )
...
Signed-off-by: WindSpiritSR <simon343riley@gmail.com >
2025-02-14 00:10:33 +08:00
DacongDA
9c39179849
feat: fix bug that user forbidden check will be skipped in OAuth login ( #3580 )
2025-02-13 13:14:44 +08:00
Bui Le Anh Nguyen
37d93a5eea
feat: update SendgridEmailProvider to support dynamic host/path, add From name field ( #3576 )
...
* feat: add fields into UI FromName, Host, Endpoint
* feat: update SendgridEmailProvider support dynamic host/path client init, code convention
2025-02-13 00:51:31 +08:00
Yang Luo
e926a07c58
feat: add "User type" to user list page
2025-02-12 21:29:18 +08:00
Yang Luo
9c46344e68
feat: improve default org passwordOptions handling
2025-02-12 21:20:32 +08:00
WindSpiritSR
c0ec73dfd3
feat: fix tableNamePrefix doesn't work bug in /get-dashboard API ( #3572 )
2025-02-11 17:20:45 +08:00
Brian Yu
b1b6ebe692
feat(jwt): add azp claim to ID token ( #3570 )
...
Added the `azp` (Authorized Party) claim to various JWT token structures
including Claims, ClaimsShort, ClaimsWithoutThirdIdp, and ClaimsStandard.
Updated the generateJwtToken and getClaimsCustom functions to handle the
new claim. This change aligns with the OpenID Connect specification.
2025-02-10 20:44:44 +08:00
Yang Luo
a0931e4597
feat: add userTypes to Organization
2025-02-09 17:12:13 +08:00
DacongDA
c181006661
feat: cache theme in signup page ( #3568 )
2025-02-09 15:12:35 +08:00
Cutsin
2e83e49492
feat: fix bug due to null characters in descriptor when creating a payment intent ( #3567 )
2025-02-08 19:35:51 +08:00
Coki
5661942175
feat: add CLI version cache and proxy support ( #3565 )
...
* feat: add CLI version cache mechanism
* feat: add /api/refresh-engines to allowed endpoints in demo mode
* feat: add proxy support for cli downloader
* feat: add SafeGoroutine for CLIDownloader initialization
* refactor: optimize code structure
2025-02-08 19:34:19 +08:00
Coki
7f9f7c6468
feat: add CLI tools auto-downloader and updater ( #3559 )
...
* feat: add CLI downloader feature
* feat: add CLI refresh endpoint and scheduler
* feat: improve binary names mapping for different platforms and architectures
* fix: format binary names in getBinaryNames function
* fix: change file permission notation to octal in cli_downloader.go
* feat: add isDemoMode check for CLI downloader features
2025-02-07 19:22:56 +08:00
Cutsin
b7a818e2d3
feat: support AirWallex payment provider ( #3558 )
...
* feat: support AirWallex payment provider
* chore: add some information due to AirWallex's risk control policy
2025-02-07 19:19:30 +08:00
DacongDA
1a8cfe4ee6
feat: can fetch SAML metadata from URL ( #3560 )
2025-02-06 23:50:39 +08:00
hsluoyz
b3526de675
feat: add checkOrgMasterVerificationCode()
2025-02-06 23:46:22 +08:00
Mayank
3b9e08b70d
feat: Fix reset password flow for shared application ( #3556 )
2025-02-06 18:03:23 +08:00
IZUMI-Zu
cfc6015aca
feat: rename Casdoor app URL to authenticator ( #3553 )
2025-02-05 23:08:06 +08:00
hsluoyz
1600a6799a
feat: return error for updateUsedByCode()
2025-02-05 13:40:41 +08:00
DacongDA
ca60cc3a33
feat: show SAML cert parse error better in frontend ( #3551 )
2025-02-05 10:06:02 +08:00
DacongDA
df295717f0
feat: can define what Casdoor pages an org admin can see via Organization.NavItems ( #3539 )
...
* feat: support define what Casdoor pages an org admin can see
* feat: remove useless code
* fix: fix NavItemNodes i18next invalid
* fix: only global admin can edit navItems
* fix: move navItem tree to extra file
2025-02-03 00:40:21 +08:00
DacongDA
e3001671a2
feat: fix bug that can not delete user if user doesn't belong to any group ( #3544 )
2025-02-02 17:54:05 +08:00
DacongDA
bbe2162e27
feat: fix bug in GetTokenByTokenValue() ( #3541 )
2025-01-30 00:48:20 +08:00
Coki
92b5ce3722
feat: add identifier validation for security in RunCasbinCommand ( #3535 )
...
* feat: add identifier validation for security in RunCasbinCommand
* refactor: update identifier validation to use SHA-256 hash and timestamp
2025-01-29 18:30:06 +08:00
hsluoyz
bad21fb6bb
feat: check empty password in CheckPassword()
2025-01-28 21:13:59 +08:00
DacongDA
5a78dcf06d
feat: fix Casbin Permissions Not Working When Auto-login is Enabled ( #3537 )
...
* fix: fix Casbin Permissions Not Working When Auto-login is Enabled
* fix: fix oauth fastLogin not support permission
2025-01-28 19:15:53 +08:00
DacongDA
558b168477
feat: can verify OTP during OAuth login ( #3531 )
...
* feat: support verify OTP during OAuth login
* fix: fail to login if mfa not enable
* fix: fail to login if mfa not enable
* fix: fix mfaRequired not valid in saml/auth
2025-01-27 19:37:26 +08:00
DacongDA
802b6812a9
feat: fix strange "Email is invalid" error in forget password page ( #3527 )
2025-01-23 14:35:11 +08:00
DacongDA
a5a627f92e
feat: optimize get-groups API and GroupListPage ( #3518 )
...
* fix: optimize get-groups api and GroupListPage
* fix: fix linter issue
2025-01-23 09:47:39 +08:00
DacongDA
9701818a6e
feat: delete groups for user while deleting user ( #3525 )
2025-01-23 09:46:33 +08:00
DacongDA
06986fbd41
feat: fix theme filter for other URLs like SAML ( #3523 )
...
* fix: fix error cause by theme filter
* fix: add saml url to theme filter and use getGetOwnerAndNameFromIdWithError instead of using GetOwnerAndNameFromId
* fix: fix code error
* fix: add support for cas and pack judgement into a function
* fix: fix linter err
2025-01-22 19:12:12 +08:00
hsluoyz
3d12ac8dc2
feat: improve HandleScim()
2025-01-22 16:15:19 +08:00
DacongDA
f01839123f
feat: fix missing param recoveryCodes in /mfa/setup/enable API ( #3520 )
2025-01-21 22:56:02 +08:00
DacongDA
e1b3b0ac6a
feat: allow user use other mfaType in mfa step and skip redundant MFA verification ( #3499 )
...
* feat: allow user use other mfaType in mfa step and skip redundant MFA verification
* feat: improve format
2025-01-21 20:16:18 +08:00
DacongDA
4b0a2fdbfc
feat: append HTML document title and favicon to cookie ( #3519 )
...
* feat: append HTML document title and favicon to cookie
* feat: remove useless cookie
2025-01-21 19:42:21 +08:00
DacongDA
db551eb24a
feat: LDAP user can reset password with old password and new password ( #3516 )
...
* feat: support user reset password with old password and new password
* feat: merge similar code
2025-01-20 21:42:05 +08:00
DacongDA
18b49bb731
feat: can reset LDAP password with different password encryption methods ( #3513 )
2025-01-20 20:00:23 +08:00
hsluoyz
17653888a3
feat: refactor the TestSmtpServer code
2025-01-20 03:17:09 +08:00
hsluoyz
ee16616df4
feat: support socks5Proxy for AWS Email provider
2025-01-20 02:39:23 +08:00
hsluoyz
ea450005e0
feat: fix "logo" bug in footer
2025-01-20 00:01:46 +08:00
DacongDA
4c5ad14f6b
fix: spin will squeeze login panel ( #3509 )
2025-01-19 23:35:04 +08:00
DacongDA
49dda2aea5
feat: append footerHtml to cookie ( #3508 )
2025-01-19 23:34:43 +08:00
DacongDA
a74a004540
feat: append logo url to cookie ( #3507 )
2025-01-19 08:02:44 +08:00
DacongDA
2b89f6b37b
feat: fix issue that application theme is ignored in appendThemeCookie() ( #3506 )
2025-01-18 21:28:39 +08:00
DacongDA
c699e35e6b
feat: load theme from first HTML render cookie ( #3505 )
2025-01-18 19:04:16 +08:00
DacongDA
e28d90d0aa
feat: support CUCloud SMN notification provider ( #3502 )
2025-01-17 08:35:31 +08:00
DacongDA
4fc7600865
feat: skip update user ranking if ranking not in accountItem ( #3500 )
2025-01-14 22:43:49 +08:00
Wind Li
19f62a461b
feat: fix SAML's redirectUrl and POST ProtocolBinding ( #3498 )
2025-01-13 20:55:37 +08:00
DacongDA
7ddc2778c0
feat: show error message when organization doesn't have default application in invitation edit page ( #3495 )
...
* fix: inform user when organization haven't default application in signup page
* fix: include org name in the error message
2025-01-12 22:48:21 +08:00
DacongDA
b96fa2a995
feat: skip GetUserCount() if there is no quota limit ( #3491 )
2025-01-10 22:28:25 +08:00
hsluoyz
fcfb73af6e
feat: increase org password field length to 200
2025-01-09 20:07:49 +08:00
hsluoyz
43bebc03b9
feat: fix crash in roleChangeTrigger()
2025-01-09 16:41:56 +08:00
WindSpiritSR
c5f25cbc7d
feat: getPidByPort() supports alpine now ( #3483 )
...
Signed-off-by: WindSpiritSR <simon343riley@gmail.com >
2025-01-08 12:18:46 +08:00
Cutsin
3feb6ce84d
feat: add Kwai OAuth provider ( #3480 )
...
* feat: add Kwai OAuth provider
* fix: incorrect parameter in getAuthUrl
2025-01-08 00:09:16 +08:00
hsluoyz
08d6b45fc5
feat: keeps "build" folder during yarn build
2025-01-07 23:38:50 +08:00
hsluoyz
56d0de64dc
feat: support StopOldInstance()
2025-01-07 21:39:21 +08:00
DacongDA
1813e8e8c7
feat: return goroutine error in get-dashboard API ( #3479 )
2025-01-07 10:35:45 +08:00
DacongDA
e27c764a55
feat: fix bug that GitHub oauth provider shows error if failed to fetch user's email ( #3474 )
...
* fix: fix github idp will stop login if it cannot fetch user's email through al restful api
* Update github.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2025-01-05 20:25:42 +08:00
DacongDA
e5a2057382
feat: fix empty scope bug in RefreshToken API ( #3467 )
...
* fix: fix scope will be empty when user not passing scope in refresh api
* fix: promote code format
2025-01-02 12:53:17 +08:00
Yang Luo
8457ff7433
feat: support radiusDefaultOrganization in app.conf
2025-01-02 00:10:58 +08:00
DacongDA
888a6f2feb
feat: add regex to restrict Email addresses in OAuth provider ( #3465 )
...
* feat: support use regex expression to limit email receiver address
* feat: limit in correct pos
* feat: promote code format
* feat: promote code format
* fix: fix linter issue
2025-01-02 00:00:57 +08:00
IZUMI-Zu
b57b64fc36
feat: add origin field for mfaAccountTable ( #3463 )
2024-12-29 22:51:21 +08:00
DacongDA
0d239ba1cf
feat: improve the error message of GitHub OAuth provider ( #3462 )
2024-12-29 21:54:54 +08:00
DacongDA
8927e08217
feat: speed up GetDashboard() by only fetching last 30 days data ( #3458 )
...
* feat: only check 30 days data
* refactor: refactor GetDashboard to reduce code line
* refactor: refactor GetDashboard to reduce code line
* refactor: remove unused where
* fix: fix error code
2024-12-29 16:15:52 +08:00
DacongDA
0636069584
feat: only fetch created_time field to reduce data size in get-dashboard API ( #3457 )
2024-12-28 23:52:19 +08:00
Yang Luo
4d0f73c84e
feat: fix Casdoor OAuth provider doesn't use domain field bug
2024-12-28 10:01:56 +08:00
reserved
74a2478e10
feat: Make MinIO storage provider region setting configurable ( #3433 )
...
* fix: Make MinIO provider region setting configurable
* Fix: Correct the issue where modifications to MinIO's default logic caused behavioral discrepancies
2024-12-23 16:07:14 +08:00
nano
acc6f3e887
feat: escape the avatal URL in CAS response ( #3434 )
2024-12-20 17:11:58 +08:00
Xin-Fax
185ab9750a
feat: fix VerificationRecord.IsUsed JSON Field Mapping
2024-12-18 13:56:54 +08:00
Cliff
48adc050d6
feat: can pass empty user id on user update ( #3443 )
2024-12-18 07:56:44 +08:00
Coki
b0e318c9db
feat: add localized tab titles for Basic and Advanced Editors ( #3431 )
...
* feat: add localized tab titles for Basic and Advanced Editors
* docs: update translations for model editor labels in multiple locales
2024-12-16 08:34:13 +08:00
Coki
f9a6efc00f
feat: advanced model editor should support changing UI language ( #3430 )
2024-12-15 15:53:29 +08:00
DacongDA
bd4a6775dd
feat: get github user email with user/emails api ( #3428 )
...
* feat: get user email use `user/emails` api
* feat: improve code format
* feat: improve code format
2024-12-15 10:28:18 +08:00
Coki
e3a43d0062
feat: improve the advanced editor of model edit page ( #3427 )
2024-12-15 02:07:02 +08:00
DacongDA
0cf281cac0
feat: fix record's password regex bug ( #3421 )
2024-12-11 08:43:03 +08:00
XIAOZHUOWU
7322f67ae0
feat: add model, adapter and enforcer to the dashboard page chart ( #3413 )
...
* [feature] Add more data (Model, Adapter, Enforcer) to the dashboard page chart #3379
* feat: add model, adapter, enforcer to dashboard
2024-12-09 16:07:39 +08:00
Xin-Fax
b927c6d7b4
feat: support LDAP's SetPassword ( #3395 )
...
* fix: Resolve the issue mentioned in #3392
* fix: Change checkLdapUserPassword to CheckLdapUserPassword.
* fix: the issue mentioned by hsluoyz.
* fix: Check if the user parameter is nil
* fix: use existing i18n message
2024-12-09 16:06:24 +08:00
nohup
01212cd1f3
feat: add AiAssistantUrl to frontend config ( #3385 )
2024-12-08 20:44:28 +08:00
Xinyu Ge
bf55f94d41
feat: support CUCloud OSS storage provider ( #3400 )
2024-12-08 20:24:38 +08:00
Yang Luo
f14711d315
feat: fix frontend bug
2024-12-07 21:53:01 +08:00
DacongDA
58e1c28f7c
feat: support LDAPS protocol ( #3390 )
...
* feat: support ldaps
* fix: unencrypted port 389 not work after enable SSL
fix: remove useless conf and set ldapsCertId to empty
fix: return and log getTLSconfig error
* fix: remove unused setting
* fix: check nil condition
* fix: not log fail when certId is empty
2024-12-07 21:26:07 +08:00
Yang Luo
922b19c64b
feat: reduce i18n items
2024-12-07 21:22:57 +08:00
DacongDA
1d21c3fa90
feat: fix issue that introspectionResponse uses Bearer instead of raw tokenType ( #3399 )
2024-12-05 20:59:30 +08:00
DacongDA
6175fd6764
feat: make token_type_hint optional ( #3397 )
2024-12-04 20:10:15 +08:00
Luckery
2ceb54f058
feat: support most popular currencies ( #3388 )
2024-12-01 21:46:44 +08:00
DacongDA
aaeaa7fefa
feat: update go sms sender ( #3386 )
2024-11-29 23:00:34 +08:00
DacongDA
d522247552
feat: fix countryCode param bug in MFA login ( #3384 )
2024-11-29 21:46:06 +08:00
DacongDA
79dbdab6c9
feat: fix "dest is missing" bug in MFA login ( #3383 )
...
* feat: support stateless mfa setup
* Revert "feat: support stateless mfa setup"
This reverts commit bd843b2ff3 .
* feat: use new implement
* fix: missing set field on login
2024-11-29 19:59:30 +08:00
DacongDA
fe40910e3b
feat: support stateless MFA setup ( #3382 )
2024-11-29 19:50:10 +08:00
Xinyu Ge
2d1736f13a
feat: Add more data to the dashboard page chart #3365 ( #3375 )
...
* test
* feat: #3365 add more dada to the dashboard page chart
* feat: #3365 Add more data to the dashboard page chart
2024-11-26 09:16:35 +08:00
ming.zhang
12b4d1c7cd
feat: change LDAP attribute from cn to title for correct username mapping ( #3378 )
2024-11-26 09:13:05 +08:00
hamidreza abedi
a45d2b87c1
feat: Add translations for Persian ( #3372 )
2024-11-23 16:24:07 +08:00
DacongDA
8484465d09
feat: fix SAML failed to redirect issue when login api returns RequiredMfa ( #3364 )
2024-11-21 20:31:56 +08:00
Luckery
dff65eee20
feat: Force users to change their passwords after 3/6/12 months ( #3352 )
...
* feat: Force users to change their passwords after 3/6/12 months
* feat: Check if the password has expired by using the last_change_password_time field added to the user table
* feat: Use the created_time field of the user table to aid password expiration checking
* feat: Rename variable
2024-11-19 21:06:52 +08:00
Eng Zer Jun
596016456c
feat: update CI's upload-artifact and download-artifact actions to v4 ( #3361 )
...
v3 of `actions/upload-artifact` and `actions/download-artifact` will be
fully deprecated by 5 December 2024. Jobs that are scheduled to run
during the brownout periods will also fail. See [1][2].
[1]: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
[2]: https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2024-11-19 00:07:59 +08:00
DacongDA
673261c258
feat: fix placeholder bug in signin page ( #3359 )
2024-11-17 00:14:26 +08:00
DacongDA
3c5985a3c0
fix: fix several bugs in samlRequest ( #3358 )
2024-11-17 00:14:04 +08:00
DacongDA
4f3d62520a
feat: fix the dashboard page shows zero data in mobile phone ( #3356 )
2024-11-16 22:02:49 +08:00
DacongDA
96f8b3d937
feat: fix SAML metadata URL and XML generation issue when enablePostBinding is enabled ( #3354 )
2024-11-16 15:35:30 +08:00
Yang Luo
7ab5a5ade1
feat: add processArgsToTempFiles() to RunCasbinCommand()
2024-11-15 20:25:48 +08:00
Yang Luo
5cbd0a96ca
Use json format for argString in RunCasbinCommand()
2024-11-15 18:27:25 +08:00
Yang Luo
7ccd8c4d4f
feat: add RunCasbinCommand() API
2024-11-15 17:44:57 +08:00
ZhaoYP 2001
b0fa3fc484
feat: add Casbin CLI API to Casdoor ( #3351 )
2024-11-15 16:10:22 +08:00
Yang Luo
af01c4226a
feat: add Organization.PasswordExpireDays field
2024-11-15 11:33:28 +08:00
DacongDA
7a3d85a29a
feat: update github token to fix CI cannot release issue ( #3348 )
2024-11-14 18:05:56 +08:00
IZUMI-Zu
fd5ccd8d41
feat: support copying token to clipboard for casdoor-app ( #3345 )
...
* feat: support copy token to clipboard for casdoor-app auth
* feat: abstract casdoor-app related code
2024-11-13 17:06:09 +08:00
Yang Luo
a439c5195d
feat: get token only by hash now, remove get-by-value backward-compatible code
2024-11-13 17:04:27 +08:00
Yang Luo
ba2e997d54
feat: fix CheckUpdateUser() logic to fix add-user error
2024-11-06 08:34:13 +08:00
Luckery
0818de85d1
feat: fix username checks when organization.UseEmailAsUsername is enabled ( #3329 )
...
* feat: Username support email format
* feat: Only fulfill the first requirement
* fix: Improve code robustness
2024-11-05 20:38:47 +08:00
Yang Luo
457c6098a4
feat: fix MFA empty CountryCode bug and show MFA error better in frontend
2024-11-04 16:17:24 +08:00
Yang Luo
60f979fbb5
feat: fix MfaSetupPage empty bug when user's signup application is empty
2024-11-04 00:04:47 +08:00
Luckery
ff53e44fa6
feat: use virtual select UI in role edit page ( #3322 )
2024-11-03 20:05:34 +08:00
Yang Luo
1832de47db
feat: fix bug in CheckEntryIp()
2024-11-03 20:00:52 +08:00
Yang Luo
535eb0c465
fix: fix IP Whitelist field bug in application edit page
2024-11-03 19:55:59 +08:00
ithilelda
c190634cf3
feat: show Domain field for Qiniu storage provider ( #3318 )
...
allow Qiniu Provider to edit the Domain property in the edit page.
2024-10-27 14:10:58 +08:00
Cliff
f7559aa040
feat: set created time if not presented in AddUser() API ( #3315 )
2024-10-24 23:06:05 +08:00
DacongDA
1e0b709c73
feat: pass signin method to CAS login to fix bug ( #3313 )
2024-10-24 14:56:12 +08:00
DacongDA
c0800b7fb3
feat: add util.IsValidOrigin() to improve CORS filter ( #3301 )
...
* 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 >
2024-10-20 20:09:21 +08:00
eya46
6fcdad2100
feat: fix bug that fails to login when PasswordObfuscator is enabled ( #3299 )
2024-10-19 23:09:59 +08:00
Cliff
69d26d5c21
feat: add-user/update-user API should check if username/id/email/phone has duplicated with existing user ( #3295 )
2024-10-18 22:18:37 +08:00
DacongDA
94e6b5ecb8
feat: fix bug in SetPassword() API ( #3296 )
2024-10-18 20:50:43 +08:00
DacongDA
95e8bdcd36
feat: add initDataNewOnly to app.conf to skip overriding existing data in initDataFromFile() ( #3294 )
...
* feat: support control whether overwrite existing data during initDataFromFile
* feat: change conf var name
* feat: change conf var name
2024-10-18 00:08:08 +08:00
liuaiolos
6f1f93725e
feat: fix GetAllActions()'s bug ( #3289 )
2024-10-16 21:55:06 +08:00
DacongDA
7ae067e369
feat: only admin can specify user in BuyProduct() ( #3287 )
...
* fix: balance can be used without login
* fix: balance can be used without login
* fix: fix bug
* fix: fix bug
2024-10-16 00:02:04 +08:00
Yang Luo
dde936e935
feat: fix null application crash in CheckEntryIp()
2024-10-15 22:11:15 +08:00
Yang Luo
fb561a98c8
feat: fix null user crash in RefreshToken()
2024-10-15 21:38:33 +08:00
ZhaoYP 2001
7cd8f030ee
feat: support IP limitation for user entry pages ( #3267 )
...
* 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 >
2024-10-15 20:40:14 +08:00
Yang Luo
a3f8ded10c
feat: refactor util.GetClientIpFromRequest()
2024-10-15 12:22:38 +08:00
DacongDA
e3d135bc6e
feat: improve MFA desc text ( #3284 )
...
* fix: fix i18n error for mfa
* fix: fix i18n error for mfa
* fix: promote translate
2024-10-14 18:31:48 +08:00
千石
fc864b0de4
feat: support ".login-panel-dark" CSS for signup/login pages ( #3269 )
...
* feat: add custom dark mode CSS for login and registration forms.
* refactor: extract dark theme check to Setting.js
2024-10-13 22:31:54 +08:00
ZhaoYP 2001
3211bcc777
feat: add getCaptchaRule() to fix bug ( #3281 )
...
* feat: update captcha rule when the login page component is mounted
* fix: remove enableCaptchaModel from the state of the login page to avoid inconsistency issues
* fix: use this.getApplicationObj() instead of this.props.application
2024-10-12 10:02:45 +08:00
DacongDA
9f4430ed04
feat: fix MFA's i18n error ( #3273 )
2024-10-08 21:58:06 +08:00
Yang Luo
05830b9ff6
feat: update import lib: github.com/casdoor/ldapserver
2024-10-08 19:18:56 +08:00
千石
347b25676f
feat: dark mode now works for login/signup pages too ( #3252 )
...
* fix: trying to fix dark mode not applying on login/registration interface
* fix: trying to fix dark mode not applying on login/registration interface
* fix: trying to fix dark mode not applying on login/registration interface
* fix: Clean up unused code
* fix: loginBackgroundDark move to App.less
* fix: fix typo
2024-10-05 21:26:25 +08:00
DacongDA
2417ff84e6
feat: support initial group assignment for new invited users via invitation.SignupGroup field ( #3266 )
2024-10-04 20:15:51 +08:00
DacongDA
468631e654
feat: support "All" in organization's country codes ( #3264 )
2024-10-03 22:58:09 +08:00
ZhaoYP 2001
e1dea9f697
feat: add organization's PasswordObfuscator to obfuscate login API's password ( #3260 )
...
* feat: add PasswordObfuscator to the login API
* fix: change key error message
* fix: remove unnecessary change
* fix: fix one
* fix: fix two
* fix: fix three
* fix: fix five
* fix: disable organization update when key is invalid
* fix: fix six
* fix: use Form.Item to control key
* fix: update obfuscator.js
* Update obfuscator.go
* Update obfuscator.go
* Update auth.go
* fix: remove real-time key monitoring
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-10-03 10:38:37 +08:00
Corey Gaspard
c0f22bae43
feat: better handling of organization.AccountItems on init_data import ( #3263 )
...
* Better handling of accountitems on init_data import.
* Removed commented code.
* Update init_data.go
* Update init_data.go
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-10-03 08:49:09 +08:00
DacongDA
c9635d9e2b
feat: improve i18n ( #3259 )
2024-10-01 00:10:49 +08:00
DacongDA
3bd52172ea
feat: add Hide-Password option for signin method rule field ( #3258 )
2024-09-30 23:31:41 +08:00
Yang Luo
bf730050d5
feat: increase Organization.Favicon to 200 chars
2024-09-29 11:45:56 +08:00
Yang Luo
5b733b7f15
feat: improve filterRecordIn24Hours() logic
2024-09-29 11:45:15 +08:00
ZhaoYP 2001
034f28def9
feat: logout if app.conf's inactiveTimeoutMinutes is reached ( #3244 )
...
* feat: logout if there's no activities for a long time
* fix: change the implementation of updating LastTime
* fix: add logoutMinites to app.conf
* fix: change the implementation of judgment statement
* fix: use sync.Map to ensure thread safety
* fix: syntax standards and Apache headers
* fix: change the implementation of obtaining logoutMinutes in app.conf
* fix: follow community code standards
* fix: <=0 or empty means no restriction
* Update logout_filter.go
* Update app.conf
* Update main.go
* Update and rename logout_filter.go to timeout_filter.go
* Update app.conf
* Update timeout_filter.go
* fix: update app.conf
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-09-27 01:18:02 +08:00
DacongDA
c86ac8e6ad
feat: fix UTF-8 charset for Alipay IdP ( #3247 )
2024-09-27 00:59:52 +08:00
Jack Merrill
d647eed22a
feat: add OIDC WebFinger support ( #3245 )
...
* feat: add WebFinger support
* lint: used gofumpt
* oidc: ensure webfinger rel is checked
2024-09-26 13:06:36 +08:00
Yang Luo
717c53f6e5
feat: support enableErrorMask2 config
2024-09-25 19:37:14 +08:00
千石
097adac871
feat: support single-choice and multi-choices in signup page ( #3234 )
...
* feat: add custom signup field
* feat: support more field in signup page
* feat: support more field in signup page
* feat: support more field in signup page
* feat: Reduce code duplication in form item rendering
* feat: Simplify gender and info checks using includes
* feat: update translate
* Revert "feat: update translate"
This reverts commit 669334c716 .
* feat: address feedback from hsluoyz
2024-09-25 12:48:37 +08:00
IZUMI-Zu
74543b9533
feat: improve QR code for casdoor-app ( #3226 )
...
* feat: simplify login url for casdoor-app
* feat: add token check
* fix: improve logic
2024-09-23 22:27:58 +08:00
Yang Luo
110dc04179
feat: Revert "feat: fix permission problem in standard image" ( #3231 )
...
This reverts commit 6464bd10dc .
2024-09-23 22:19:27 +08:00
DacongDA
6464bd10dc
feat: fix permission problem in standard image ( #3228 )
2024-09-23 18:40:39 +08:00
Yang Luo
db878a890e
feat: add type and options to signup items
2024-09-21 23:40:29 +08:00
Yang Luo
12d6d8e6ce
feat: fix cookie expire time too short bug
2024-09-21 22:45:13 +08:00
Yang Luo
8ed6e4f934
feat: improve UI for "No account?"
2024-09-21 07:35:33 +08:00
limingxie
ed9732caf9
feat: add condition for getWebBuildFolder function ( #3219 )
2024-09-20 23:59:13 +08:00
Blackcbears
0de4e7da38
feat: fix organization pagination count error ( #3215 )
...
* fix(organization): ensure count includes shared organizations
Adjust the `GetOrganizationCount` function to account for shared organizations by adding
an additional parameter and modifying the count query accordingly. This change ensures that
the organization count correctly reflects shared organizations within the system.
* ```fix(organization): optimize GetOrganizationCount query
Refactor the GetOrganizationCount function to use a more efficient search
method by leveraging the 'is_shared' field directly in the query condition.
This change improves the performance for counting organizations by avoiding
unnecessary iteration over potentially large result sets.
```
---------
Co-authored-by: CuiJing <cuijing@tul.com.cn >
2024-09-20 23:58:46 +08:00
Yang Luo
a330fbc11f
docs: fix Docker link
2024-09-17 20:45:32 +08:00
Coki
ed158d4981
feat: support advanced editor in model edit page ( #3176 )
...
* feat: integrate external model editor and handle message events for model updates
* feat: add CasbinEditor and IframeEditor components for model editing
* feat: add tabbed editor interface for CasbinEditor
* fix: Synchronize content between basic and advanced editors
* refactor: simplify CasbinEditor and ModelEditPage components
* refactor: Refactor CasbinEditor for improved iframe initialization and model synchronization
* refactor: update default state of CasbinEditor active tab to "advanced
* chore: add Apache License header to CasbinEditor.js and IframeEditor.js files
* refactor: update CasbinEditor class names for consistency
2024-09-16 22:25:25 +08:00
千石
8df965b98d
feat: improve SAML XML's xmlns to fix SAML support for some clouds ( #3207 )
2024-09-16 08:01:28 +08:00
千石
2c3749820e
feat: add application.UseEmailAsSamlNameId field for SAML ( #3203 )
...
* feat: Add option to use email as SAML NameID based on application config
- Updated NewSamlResponse11 to accept an application parameter.
- Conditionally set SAML NameIdentifier to user's email or username based on application.UseEmailAsNameId.
* refactor: Update GetValidationBySaml to pass application to NewSamlResponse11
- Modified GetValidationBySaml function to include application parameter in NewSamlResponse11 call.
* feat: Rename field and update logic for using Email as SAML NameID
- Renamed the `UseEmailAsNameId` field to `UseEmailAsSamlNameId` in the `Application` struct.
- Updated `NewSamlResponse` and `NewSamlResponse11` functions to use `UseEmailAsSamlNameId` for setting the NameID value.
- Modified `ApplicationEditPage.js` to reflect the field name change and update the corresponding logic.
2024-09-15 23:00:50 +08:00
ZhaoYP 2001
0b17cb9746
feat: make Organization.EnableSoftDeletion and User.IsDeleted work ( #3205 )
...
* feat: make Organization.EnableSoftDeletion and User.IsDeleted work
* fix: add handling of the situation where organization is nil
2024-09-15 14:35:44 +08:00
ZhaoYP 2001
e2ce9ad625
feat: handle null account item issue in CheckPermissionForUpdateUser() ( #3202 )
...
* feat: improve the logic of the permission check code for users to modify account items
* fix: add skip operation for deleted account items in update-user API
* fix: add the function of removing deleted account item
2024-09-14 15:00:10 +08:00
DacongDA
64491abc64
feat: fix CORS issue of /api/acs for SAML IdP ( #3200 )
...
* fix: fix CORS problem of /api/acs when login with saml idp
* fix: fix origin get null when receive post with http protocol
2024-09-14 12:48:51 +08:00
ZhaoYP 2001
934a8947c8
feat: fix CAS logout failure caused by Beego session update problem ( #3194 )
...
* feat: fix the cas logout failure caused by beego session update problem
* fix: simplify the implementation of logout timer
* fix: change the location of the login success code
* fix: add i18n to CasLogout.js
2024-09-10 21:31:37 +08:00
IZUMI-Zu
943edfb48b
feat: support QR login for casdoor app ( #3190 )
...
* feat: add MFA devices QR code to UserEditPage
* chore: remove mfa devices
2024-09-08 22:38:13 +08:00
Yang Luo
0d02b5e768
feat: remove disabled state in syncer.table
2024-09-07 21:08:21 +08:00
Yang Luo
ba8d0b5f46
feat: Revert "feat: Users added through LDAP cannot log in using the set password" ( #3186 )
...
This reverts commit 973a1df6c2 .
2024-09-07 20:55:14 +08:00
DacongDA
973a1df6c2
feat: Users added through LDAP cannot log in using the set password ( #3175 )
...
* fix: login will prioritize the use of password set in casdoor and use ldap when use LDAP option in login form or user never change their password in casdoor after sync
* fix: promote if statement
2024-09-06 10:31:34 +08:00
DacongDA
05bfd3a3a3
feat: fix bug that custom SAML providers are removed by GetMaskedApplication() ( #3165 )
2024-09-05 20:08:56 +08:00
Yang Luo
69aa3c8a8b
feat: Revert "feat: add Casbin editor's checking in model editor" ( #3167 )
...
This reverts commit a1b010a406 .
2024-09-03 21:59:06 +08:00
Coki
a1b010a406
feat: add Casbin editor's checking in model editor ( #3166 )
...
* feat: add model syntax linting and update dependencies
* refactor: move model linter logic to separate module
2024-09-03 21:32:45 +08:00
DacongDA
89e92cbd47
feat: when using basic auth to fetch access_token will return restful response to oidc client ( #3164 )
2024-09-03 08:05:29 +08:00
ZhaoYP 2001
d4c8193357
feat: support reCAPTCHA v3 captcha provider ( #3160 )
...
* feat: support reCAPTCHA v3 captcha provider
* fix: modify the implementation of row component style in CaptchaModal.js
2024-09-02 22:15:03 +08:00
DacongDA
9b33800b4c
feat: add email_verified, phone_number and phone_number_verified field for standard jwt token ( #3156 )
...
* feat: add email_verified, phone_number and phone_number_verified field for standard jwt token
* fix: fix linter err
2024-08-31 12:49:39 +08:00
DacongDA
ec98785172
feat: certEditPage will be redirected to 404 when name is changed ( #3154 )
2024-08-30 23:04:50 +08:00
DacongDA
45dd4cc344
feat: fix nonce not parsed issue in fastAutoSignin() ( #3153 )
...
* fix: fix nonce none passed when auto sign enabled
* fix: fix query error
2024-08-30 22:29:23 +08:00
DacongDA
1adb172d6b
feat: add more crypto algorithm for jwt signing ( #3150 )
...
* feat: add more algorithm support for JWT signing
* feat: add i18n support
* feat: add i18n support
* feat: optimize if statement
* fix: remove additional space line
2024-08-30 16:59:41 +08:00
DacongDA
c08f2b1f3f
feat: support Casdoor storage provider ( #3147 )
...
* feat: support Casdoor storage provider
* fix: fix code format and nil pointer error
* feat: change cert if statement
2024-08-27 23:54:03 +08:00
Yang Luo
62bb257c6d
feat: make Resource.Url length to 500
2024-08-26 23:57:41 +08:00
Love98
230a77e3e3
feat: add captcha page ( #3144 )
2024-08-26 23:22:53 +08:00
Yang Luo
dce0a96dea
feat: improve uploaded file URL
2024-08-26 21:41:28 +08:00
千石
65563fa0cd
feat: Ensure MFA email and phone are validated before enabling ( #3143 )
...
Added validation checks to ensure that a user's email and phone number are provided before enabling MFA email and phone respectively. This fixes the issue where MFA could be enabled without these values, causing inconsistencies.
2024-08-26 08:40:22 +08:00
DacongDA
f2a94f671a
feat: complete i18n translation ( #3141 )
...
* feat: complete i18n translation
* fix: fix problem in cs/data
2024-08-24 23:27:59 +08:00
DacongDA
1460a0498f
feat: support assign a default group for synchronized from external openldap ( #3140 )
...
* feat: support default sync group for ldap (with without add i18n translate)
* feat: improve translation
* feat: update all i18n translation
* revert: remove new i18n translation
2024-08-24 00:12:52 +08:00
Yang Luo
adc63ea726
feat: fix wrong error alert in ApiFilter's getObject()
2024-08-23 23:36:55 +08:00
Yang Luo
0b8be016c5
feat: add enableErrorMask config
2024-08-23 22:19:17 +08:00
Yang Luo
986dcbbda1
feat: handle error in ApiFilter
2024-08-23 21:50:48 +08:00
Yang Luo
7d3920fb1f
feat: add ManagedAccounts to JWT
2024-08-20 22:23:58 +08:00
Yang Luo
b794ef87ee
feat: Revert "feat: support reCAPTCHA v3 captcha provider" ( #3135 )
...
This reverts commit a0d6f2125e .
2024-08-20 17:56:53 +08:00
ZhaoYP 2001
a0d6f2125e
feat: support reCAPTCHA v3 captcha provider ( #3130 )
2024-08-20 17:29:37 +08:00
Yang Luo
85cbb7d074
feat: add replaceAll polyfill to be compatible with Firefox 68
2024-08-17 18:37:21 +08:00
June
fdc1be9452
feat: add provider.Bucket to fileUrl response and TrimPrefix "/" before delete GCS object ( #3129 )
...
* feat: add provider.Bucket to fileUrl response
* feat: TrimPrefix "/" before Google Cloud Storage delete object
2024-08-17 11:46:58 +08:00
June
2bd7dabd33
feat: allow custom Domain of Google Cloud Storage Provider ( #3128 )
2024-08-15 23:28:36 +08:00
June
9b9a58e7ac
feat: update casdoor/oss version to support Google Cloud's Application Default Credentials ( #3125 )
2024-08-15 13:45:27 +08:00
Zheming Bao
38e389e8c8
feat: Pagination not updating after last item deletion ( #3120 )
2024-08-13 16:09:16 +08:00
DacongDA
ab5fcf848e
feat: support accessKey and accessSecret login in AutoSigninFilter ( #3117 )
2024-08-12 12:20:41 +08:00
Yang Luo
b4e51b4631
feat: improve error message in GetFailedSigninConfigByUser()
2024-08-10 09:31:46 +08:00
DacongDA
45e25acc80
feat: fix JWT generate issue cause by shared application ( #3113 )
...
* fix: fix jwt generate cause by shared application
* fix: fix built-in org will not add -org-
2024-08-09 22:48:44 +08:00
Yang Luo
97dcf24a91
feat: improve error message in GetAuthorizationCodeToken()
2024-08-09 21:06:23 +08:00
DacongDA
4c0fff66ff
feat: support shared application across organizations ( #3108 )
...
* feat: support share application
* revert: revert i18n
* fix: improve code format
* fix: improve code format and move GetSharedOrgFromApp to string.go
2024-08-09 15:43:25 +08:00
Yang Luo
e7230700e0
feat: Revert "feat: fix Beego session delete concurrent issue" ( #3105 )
...
This reverts commit f21aa9c0d2 .
2024-08-07 16:51:54 +08:00
Alan Xu
f21aa9c0d2
feat: fix Beego session delete concurrent issue ( #3103 )
2024-08-07 16:29:35 +08:00
Ondřej Šibrava
4b2b875b2d
feat: Czech, Slovak localization ( #3095 )
...
* feat: add l10n Czech, Slovak language support
* feat: i18n Czech, Slovak translation
2024-08-02 09:39:47 +08:00
DacongDA
df2a5681cc
feat: add missing account items in CheckPermissionForUpdateUser() ( #3094 )
2024-08-01 23:34:12 +08:00
DacongDA
ac102480c7
feat: support Radius Challenge/Response for MFA (RFC2865) feature request ( #3093 )
...
* feat: support RFC2865 for radius server when user enable TOTP mfa
* fix: fix linter err
2024-08-01 22:02:49 +08:00
千石
feff47d2dc
feat: skip agreement check when the terms are not visible ( #3088 )
2024-07-30 14:04:03 +08:00
千石
79b934d6c2
feat: enforce acceptance of terms and conditions for social logins ( #3087 )
...
* feat: Enforce acceptance of terms and conditions for social logins (#2975 )
* feat: add error message for agreement acceptance
2024-07-29 17:22:48 +08:00
DacongDA
365449695b
fix: fix application field in invitationEditPage will use translation of "All" as value ( #3085 )
2024-07-29 01:35:28 +08:00
DacongDA
55a52093e8
feat: fix bug that user can signup without invitation code via OAuth ( #3084 )
...
* fix:fix user can signup without invitation code when using 3rd oauth
* fix:use correct i18n translation
2024-07-29 00:59:02 +08:00
Giang Dinh
e65fdeb1e0
feat: ABAC support for /api/batch-enforce endpoint ( #3082 )
2024-07-27 09:43:58 +08:00
千石
a46c1cc775
feat: update WeCom OAuth URLs ( #3080 )
2024-07-26 22:03:24 +08:00
DacongDA
5629343466
feat: fix missing extendApplicationWithSigninMethods() in getDefaultApplication() ( #3076 )
2024-07-24 22:30:15 +08:00
王天成
3718d2dc04
feat: improve name mapping in LarkIdProvider ( #3075 )
...
* fix: change user identifier to the `user_id` field in IdP Lark, and use Chinese name to be the display name
* Update lark.go
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-07-23 21:12:53 +08:00
Mohammad Yosefpor
38b9ad1d9f
feat: Add Support for memberOf Overlay in LDAP Server ( #3068 )
...
* feat: Allow All Users to Perform LDAP Search Lookups in their org
* feat: add ldap member of support
2024-07-21 01:25:42 +08:00
IZUMI-Zu
5a92411006
feat: add MFA accounts table ( #3066 )
...
* feat: add mfa accounts store
* fix: change MFA to Mfa
* fix: change MFA to Mfa
* fix: delete api
2024-07-20 22:51:15 +08:00
Mohammad Yosefpor
52eaf6c822
feat: Allow All Users to Perform LDAP Search Lookups in their org ( #3064 )
2024-07-20 20:44:29 +08:00
DacongDA
cc84709151
feat: add webhook support for invoice-payment and notify-payment ( #3062 )
2024-07-20 12:49:34 +08:00
Yang Luo
22fca78be9
feat: fix bug in AdapterEditPage
2024-07-19 00:57:56 +08:00
DSP
effd257040
feat: fix isPasswordWithLdapEnabled logic in handleBind() for redirecting to other LDAP sources ( #3059 )
...
* Added parameters to function call in server.go
Added needed parameters for redirection to other LDAP sources to function correctly and not always run into the "wrong credentials" error
* Update server.go
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-07-18 21:04:17 +08:00
Yang Luo
a38747d90e
feat: fix bug in GetPolicies()
2024-07-18 18:40:55 +08:00
ZhaoYP 2001
da70682cd1
feat: fix bug in obtaining Casdoor version in Docker ( #3056 )
2024-07-16 18:13:44 +08:00
ZhaoYP 2001
4a3bd84f84
feat: fix the problem of abnormal tour when refreshing ( #3054 )
...
* fix: fix the problem of abnormal tour when refreshing
* fix: change the way enableTour configuration is stored
2024-07-12 19:27:55 +08:00
DacongDA
7f2869cecb
feat: link transaction with balance and payment ( #3052 )
...
* feat: add and update transaction when recharging
* feat: add pay with balance
* feat: improve code format
* feat: update icon url for balance
2024-07-12 15:48:37 +08:00
DacongDA
cef2ab213b
feat: add JWT-Standard format to fix oidc address type problem ( #3050 )
...
* feat: add JWT-Standard option to return standard OIDC UserInfo
* fix: fix error occurs by different claim type
* feat: improve code format and add missing return
2024-07-12 09:36:50 +08:00
Zhen Xiao
cc979c310e
feat: OAuth provider lark supports getting phone number ( #3047 )
2024-07-11 08:56:28 +08:00
Yang Luo
13d73732ce
fix: improve initBuiltInOrganization()
2024-07-10 14:18:30 +08:00
赵尧鹏
5686fe5d22
feat: use orgnization logo as tour logo and allow to configure whether to enable tour in organization edit page ( #3046 )
2024-07-10 14:18:04 +08:00
Yang Luo
d8cb82f67a
feat: upgrade CI Node.js version to 20
2024-07-09 13:09:40 +08:00
赵尧鹏
cad2e1bcc3
feat: don't drop empty table for adapters ( #3043 )
...
* fix: solve the problem of update operation returning 'unaffected'
* feat: remove the action for Dropping empty adapter data table
2024-07-09 11:35:22 +08:00
赵尧鹏
52cc2e4fa7
feat: fix bug in permission's owner edit ( #3041 )
2024-07-06 11:24:08 +08:00
Leon Koth
8077a2ccba
feat: fix bug for access key and secret login ( #3022 )
...
* fix: get username for keys
* chore: move user nil check
2024-06-27 21:24:54 +08:00
Eric Luo
4cb8e4a514
feat: Revert "feat: fix OIDC address field" ( #3020 )
...
This reverts commit 2f48d45773 .
2024-06-25 16:14:26 +08:00
Husile
2f48d45773
feat: fix OIDC address field ( #3013 )
...
* feat:add fields of sync-database
* feat:add fields of sync-database
* feat: add several fields related to the OIDC specification address
* feat: add the field Address to Address structure in UserWithoutThirdIdp
* fix: delete redundant fields
* fix: add Address struct and delete redundant fields
2024-06-25 11:54:34 +08:00
Grégoire
cff0c7a273
feat: support "Use Email as username" in org ( #3002 )
...
Signed-off-by: Grégoire Bélorgey <gregoire@jianda.fr >
2024-06-22 16:52:11 +08:00
DacongDA
793a7d6cda
feat: add free charge price mode for product buy page ( #3015 )
...
* feat: add free charge price mode for product buy page
* fix: improve code format
2024-06-22 14:05:53 +08:00
ailiujiarui
4cc2120fed
feat: fix the top Navbar UI is broken issue ( #3000 )
2024-06-09 17:05:04 +08:00
Yang Luo
93b0f52f26
feat: Revert "feat: fix cannot create "/files" folder issue in local file storage provider in Docker" ( #2997 )
...
This reverts commit e228045e37 .
2024-06-06 11:09:02 +08:00
DacongDA
e228045e37
feat: fix cannot create "/files" folder issue in local file storage provider in Docker ( #2994 )
2024-06-06 10:49:56 +08:00
DacongDA
6b8c24e1f0
feat: fix password not encrypted issue in SetPassword() API ( #2990 )
...
* fix: fix password not encrypted in set password and password type not changed
* Update user.go
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-06-04 13:32:13 +08:00
DacongDA
8a79bb64dd
feat: test SMTP connection with browser parameters ( #2986 )
2024-06-04 01:34:36 +08:00
DacongDA
e5f9aab28f
feat: support resetting password on first login ( #2980 )
...
* feat: support reset password in first login
* feat: disable needUpdatePassword when user haven't email and phone and mfa
2024-06-02 01:00:55 +08:00
Yang Luo
7d05b69aac
feat: remove useless code
2024-05-28 20:33:55 +08:00
DacongDA
868e66e866
feat: fix QQ login error when using mobile browser ( #2971 )
2024-05-27 01:07:15 +08:00
Husile
40ad3c9234
feat: support MFA fields in syncer ( #2966 )
...
* feat:add fields of sync-database
* feat:add fields of sync-database
2024-05-27 01:06:59 +08:00
Alex Babel
e2cd0604c2
feat: add back arm64 support in Docker image ( #2969 )
2024-05-26 01:22:49 +08:00
Yang Luo
78c3065fbb
feat: fix address field bug in user edit page
2024-05-24 17:19:27 +08:00
DacongDA
af2a9f0374
feat: get phone number and country from Google OAuth provider ( #2965 )
...
* feat: get phone number and country from Google OAuth provider
* feat: fix i18n
2024-05-23 00:42:36 +08:00
DacongDA
bfcfb56336
feat: add address line 1 and 2 in web UI ( #2961 )
2024-05-19 23:55:38 +08:00
DacongDA
c48306d117
feat: check signup item email regex in signup page ( #2960 )
...
* feat: check email regex in frontend
* Update SignupPage.js
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-05-19 22:07:34 +08:00
DacongDA
6efec6b4b5
feat: support "label" field for signin item table ( #2956 )
2024-05-19 03:07:36 +08:00
DacongDA
2daf26aa88
feat: use lowercase username when isUsernameLowered is enabled ( #2952 )
...
* feat: auto trim username during login and lowercase when isUsernameLowered enabled in conf
* fix: fix linter error
* fix: fix linter error
* fix: fix linter error
2024-05-17 11:43:19 +08:00
DacongDA
21c151bcf8
feat: fix password not updated bug when updating syncer ( #2945 )
2024-05-13 00:12:35 +08:00
DacongDA
b6b0b7d318
feat: support checking whether send-webhook API has error ( #2944 )
...
* feat: add webhook response for record
* refactor: refactor SendWebhook and use readall to read response body
* fix: improve code format
* fix: improve code format
* fix: improve code format
2024-05-12 20:30:15 +08:00
Yang Luo
0ecc1d599f
feat: fix bug in AddUsersInBatch()
2024-05-11 16:59:33 +08:00
Yang Luo
3456fc6695
fix: update go-sms-sender to v0.23.0
2024-05-10 14:05:53 +08:00
DacongDA
c302dc7b8e
fix: fix bug when init plan and pricing and record ( #2934 )
...
* fix: fix potential bugs in init data
* fix: improve code format
* fix: fix bug when init plan and pricing and record
2024-05-07 23:33:01 +08:00
DacongDA
d24ddd4f1c
feat: fix potential bugs in init_data.go ( #2932 )
...
* fix: fix potential bugs in init data
* fix: improve code format
2024-05-07 23:11:08 +08:00
Yang Luo
572616d390
fix: fix bug in ProviderItem.CountryCodes
2024-05-07 17:17:45 +08:00
Yang Luo
2187310dbc
feat: fix bug in initDefinedOrganization()
2024-05-06 13:57:08 +08:00
DacongDA
26345bb21b
feat: add sms provider sendcloud ( #2927 )
2024-05-06 13:38:55 +08:00
DacongDA
e0455df504
feat: improve record content masking ( #2923 )
...
* feat: hide password in record
* feat: improve code format
* feat: improve code format
2024-05-05 12:42:09 +08:00
DacongDA
1dfbbf0e90
feat: fix bug that fails to import built-in org via init_data.json ( #2922 )
2024-05-05 01:06:15 +08:00
Yang Luo
d43d58dee2
feat: fix getProviders() owner bug in product edit page
2024-05-01 18:04:50 +08:00
Yang Luo
9eb4b12041
fix: rename to countryCodes for UI
2024-05-01 11:44:21 +08:00
Yang Luo
3a45a4ee77
fix: rename to countryCodes
2024-05-01 09:47:44 +08:00
Yang Luo
43393f034b
feat: fix the Email provider fails to match bug in GetProviderByCategoryAndRule()
2024-05-01 09:44:19 +08:00
Yang Luo
bafa80513b
fix: improve ProviderTable column UI
2024-05-01 00:46:48 +08:00
Yang Luo
8d08140421
fix: fix typo in initBuiltInPermission()
2024-05-01 00:41:16 +08:00
DacongDA
3d29e27d54
feat: support multiple SMS providers for different regions ( #2914 )
...
* feat: support using different sms provider for different region
* feat: add multiple support for select and remove log
* feat: revert change for countryCode in loginPage
* feat: revert change for countryCode in user_util.go
* feat: revert change for countryCode in auth.go
* Update application_item.go
* Update CountryCodeSelect.js
* Update ProviderTable.js
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2024-05-01 00:40:47 +08:00
filwaline
199f1d4d10
feat: fix Auto-login causing AuthCodeWithPKCE Failures ( #2911 )
2024-04-30 12:14:50 +08:00
DacongDA
227e938db6
feat: fix error behavior of custom oauth/saml provider in login page in big icon mode ( #2900 )
2024-04-26 23:33:41 +08:00
Yang Luo
739cfd84ed
feat: cannot empty SigninMethodTable now
2024-04-26 21:23:23 +08:00
DacongDA
8dbb041a34
feat: fix empty custom CSS for new rows in signin items table ( #2897 )
2024-04-24 15:19:30 +08:00
Yang Luo
af2d26daf2
Add object.IsAppUser()
2024-04-24 01:10:38 +08:00
DacongDA
90d502ab2b
feat: add custom css style for signup page and enhance css edit ( #2880 )
...
* feat: add custom css style for signup page and enhance css edit in signintable
* feat: change cssStyle to customCss
* feat: auto hide <style> label, fix display problem on providers, remove auto add providers in signup page
* fix: fix indent in signin items customCss and fix providers display in signup items
* fix: fix login replace logical
2024-04-21 11:56:18 +08:00
MyColorfulDays
d51af3378e
fix: fix init data not saved to database ( #2885 ) ( #2886 )
2024-04-21 11:55:06 +08:00
Yang Luo
87e2b97813
feat: translate Ukrainian language i18n
2024-04-20 02:14:23 +08:00
Yang Luo
d9e44c1f2d
fix: add "Is used" to verification list page
2024-04-20 00:18:52 +08:00
Yang Luo
dfa4503f24
feat: support "mfa_phone_enabled", "mfa_email_enabled" in update-user API
2024-04-20 00:16:45 +08:00
guangwu
f7fb32893b
fix: close file in LocalFileSystemProvider's Put() ( #2882 )
2024-04-20 00:11:52 +08:00
Yang Luo
66d0758b13
feat: fix DisableVerificationCode bug about empty email and phone
2024-04-19 13:28:13 +08:00
Yang Luo
46ad0fe0be
Improve Email Send() logic
2024-04-11 19:09:48 +08:00
Yang Luo
6b637e3b2e
feat: fix SendgridEmailProvider error handling, fix send-email template
2024-04-11 00:18:39 +08:00
DacongDA
3354945119
feat: add SendGrid Email provider ( #2865 )
...
* feat: add support for email provider send grid
* feat: rename send grid to sendgrid
* feat: rename send grid to sendgrid
* feat: change logo url of send grid
2024-04-09 22:16:01 +08:00
DacongDA
19c4416f10
feat: degrade the ant-design/cssinjs version to fix the Chrome 87 broken UI issue ( #2861 )
2024-04-09 09:15:39 +08:00
Yang Luo
2077db9091
fix: fix bug in VerificationListPage
2024-04-07 15:39:25 +08:00
无别
800f0ed249
feat: add tzdata package in Dockerfile to fix timezone issue ( #2857 )
...
Add tzdata to resolve possible time zone errors
2024-04-07 14:27:45 +08:00
xyt
6161040c67
fix: Dismiss google one tap after logged in by setting disableCancelOnUnmount to false ( #2854 )
...
* fix: Google One Tap should be hidden after logged in
* Change the call location for google.accounts.id.cancel()
* fix: hide google one tap after login by set disableCancelOnUnmount to false
2024-04-05 23:39:33 +08:00
xyt
1d785e61c6
feat: Google One Tap should be hidden after logged in ( #2853 )
...
* fix: Google One Tap should be hidden after logged in
* Change the call location for google.accounts.id.cancel()
2024-04-05 20:10:13 +08:00
Yang Luo
0329d24867
feat: add isUsernameLowered to config
2024-04-02 21:54:16 +08:00
Yang Luo
fb6f3623ee
feat: add requireProviderPermission()
2024-03-30 23:24:59 +08:00
DacongDA
eb448bd043
fix: fix permission problem in provider ( #2848 )
2024-03-30 23:18:03 +08:00
xyt
ea88839db9
feat: add back button in forget password page ( #2847 )
...
* feat: add back button in forget password page
* fix: can't step back when directly entering forgot password page
* feat: forget password page always return to login page
* feat: if has history then go back to history & change style
* Update ForgetPage.js
* fix: reset button position
* Update ForgetPage.js
* Update ForgetPage.js
---------
Co-authored-by: Eric Luo <hsluoyz@qq.com >
2024-03-30 23:17:47 +08:00
Yang Luo
cb95f6977a
fix: fix PasswordModal error when changing username
2024-03-30 12:28:55 +08:00
Eric Luo
9067df92a7
feat: revert "feat: Support metamask mobile login" ( #2845 )
...
This reverts commit bfa2ab63ad .
2024-03-30 00:36:25 +08:00
HGZ-20
bfa2ab63ad
feat: Support metamask mobile login ( #2844 )
2024-03-30 00:08:52 +08:00
DacongDA
505054b0eb
feat: use minWidth for a better display effect in org select ( #2843 )
2024-03-29 15:47:27 +08:00
Yang Luo
f95ce13b82
fix: support "Email or Phone" in signup table
2024-03-29 09:07:37 +08:00
xyt
5315f16a48
feat: can specify UI theme via /?theme=default and /?theme=dark ( #2842 )
...
* feat: set themeType through URL parameter
* Update App.js
---------
Co-authored-by: Eric Luo <hsluoyz@qq.com >
2024-03-29 00:52:18 +08:00
Will.Feng
d054f3e001
feat: The /login/oauth/access_token api supports the token and id_token grant types. ( #2836 )
...
* In the response of the /api/get-captcha endpoint, add the parameters "owner" and "name" because these two parameters will be used when calling the /api/verify-captcha endpoint.
* The /login/oauth/access_token api supports the token and id_token grant types.
2024-03-28 00:41:54 +08:00
Yang Luo
b158b840bd
Add "new-user" to webhook event list
2024-03-27 15:23:06 +08:00
Yang Luo
b16f1807b3
fix: fix bug in "new-user" record
2024-03-27 15:15:40 +08:00
Yang Luo
d0cce1bf7a
Order by "id" in GetPaginationRecords()
2024-03-27 15:14:41 +08:00
Yang Luo
9892cd20ab
Improve erorr message in CheckVerificationCode()
2024-03-27 15:14:20 +08:00
Yang Luo
d1f31dd327
feat: fix linter
2024-03-26 23:24:53 +08:00
Yang Luo
94743246a1
Improve "%{user.friendlyName}" handling
2024-03-25 21:26:36 +08:00
Yang Luo
39ad1bc593
Add signup's object in AfterRecordMessage()
2024-03-25 21:20:33 +08:00
Will.Feng
d97f833d2a
feat: Add 'owner' and 'name' Parameters to /api/get-captcha Response for /api/verify-captcha Usage ( #2834 )
2024-03-25 16:34:42 +08:00
Yang Luo
948fa911e2
feat: add users to getGroups() and getGroup() APIs
2024-03-22 23:32:30 +08:00
Yang Luo
6073a0f63d
Rename GroupListPage and GroupEditPage
2024-03-22 23:14:05 +08:00
Yang Luo
91268bca70
Improve enableAutoSignin option UI
2024-03-22 22:55:10 +08:00
DacongDA
23dbb0b926
feat: add response to Records page ( #2830 )
...
* feat: add response to Records page
* feat: improve AddRecord
* feat: remove log and return err
* feat: improve record in signup and record deny
* fix: filter will generate 403 record correctly
2024-03-22 14:53:38 +08:00
pfeak
97cc1f9e2b
fix: delete duplicate err check in utils/validation.go ( #2831 )
2024-03-21 18:17:38 +08:00
Yang Luo
8c415be7c7
feat: upgrade goth to v1.79.0
2024-03-20 19:57:15 +08:00
Yang Luo
e87165cfc8
Upgrade go.mod versions
2024-03-20 19:51:56 +08:00
DacongDA
fc4fa2e8b6
feat: add verification list page and related API ( #2822 )
...
* feat: add verification list page and relevant api
* feat: improve code format
* fix: fix timestamp display error
2024-03-19 19:10:52 +08:00
Yaodong Yu
44ae76503e
feat: add default user mapping in custom oauth2 provider ( #2819 )
2024-03-18 23:01:17 +08:00
Yang Luo
ae1634a4d5
feat: fix user cannot logout issue about bug in GetSessionToken()
2024-03-18 02:11:39 +08:00
HGZ-20
bdf9864f69
fix: add FaceIdSigninBegin() to verify user information before face login ( #2815 )
...
* feat: add FaceIdSigninBegin() to verify user information before face login
* Update face.go
---------
Co-authored-by: Eric Luo <hsluoyz@qq.com >
2024-03-18 00:04:12 +08:00
Yang Luo
72839d6bf5
feat: fix TokenFormat error in get-account API
2024-03-17 23:03:50 +08:00
Will.Feng
2c4b1093ed
fix: Correct expiresIn calculation for WeChat Mini Program token. ( #2814 )
2024-03-17 22:20:21 +08:00
Yang Luo
d1c55d5aa7
fix: improve error message in token_cas.go
2024-03-17 22:01:49 +08:00
SamYSF
c8aa35c9c6
feat: add token to the page for Chrome extension ( #2804 )
...
* feat: add token to the page for Chrome extension
* Update token_oauth.go
---------
Co-authored-by: Eric Luo <hsluoyz@qq.com >
2024-03-17 22:01:28 +08:00
Yang Luo
6037f37b87
feat: add default token format for built-in app
2024-03-17 20:46:01 +08:00
Yang Luo
1b478903d8
feat: fix login page error cannot show bug
2024-03-17 11:39:12 +08:00
Yang Luo
4f5ac7a10b
Fix Face IDs label
2024-03-17 09:56:24 +08:00
Yang Luo
e81ba62234
Improve Face ID signin method UI
2024-03-17 09:56:23 +08:00
Ron
a19060c7cb
fix: missing parameter type_token_hint in IntrospectToken() ( #2812 )
...
* fix: missing parameter type_token_hint in IntrospectToken(); fix key token type
2024-03-17 01:39:04 +08:00
HGZ-20
96812f676b
fix: "fs" module not found issue in face-api.js for browser usage ( #2810 )
2024-03-17 01:35:43 +08:00
HGZ-20
04f0458b5c
feat: improve handleCameraError() and camera call logic ( #2809 )
...
add i18n for face recognition
2024-03-16 22:52:57 +08:00
Yang Luo
fd0bcd9a17
Improve getObject() for "/api/get-policies"
2024-03-16 21:42:00 +08:00
Yang Luo
01a5958307
Improve error text in RequireAdmin()
2024-03-16 21:14:19 +08:00
Yang Luo
be88b00278
feat: improve RequireAdmin() logic
2024-03-16 20:49:17 +08:00
Yang Luo
1bd0245e7a
Improve CheckVerificationCode() error message, add receiver to index
2024-03-16 18:16:29 +08:00
Yang Luo
cc84bd37cf
Add object field in RecordListPage
2024-03-16 16:57:04 +08:00
Yang Luo
8302fcf805
Improve handleCameraError()
2024-03-16 09:55:55 +08:00
HGZ-20
391a533ce1
feat: add "Face ID" login method ( #2782 )
...
Face Login via face-api.js
2024-03-16 09:04:00 +08:00
Will.Feng
57431a59ad
fix: Ensure /api/get-app-login Returns Captcha Provider for Applications Configured with Captcha ( #2800 )
...
In LoginPage.js, the line 92:const captchaProviderItems = this.getCaptchaProviderItems(this.props.application);
captchaProviderItems have no Captcha Provider.
2024-03-15 19:56:12 +08:00
Yang Luo
88a4736520
feat: fix GetDashboard() page
2024-03-15 19:52:19 +08:00
xiao-kong-long
2cb6ff69ae
fix: show selected organizations' statistics in dashboard page ( #2805 )
...
* fix: show selected organizations' statistics in dashboard page
* Update get-dashboard.go
* Update saml_idp.go
---------
Co-authored-by: Eric Luo <hsluoyz@qq.com >
2024-03-15 19:36:39 +08:00
leon.zhao
e1e5943a3e
fix: fix the issue of adding xmlns="" when generating XML ( #2799 )
...
* fix:solve the problem of adding xmlns="" when generating XML
* fix:remove fmt.Println
* Update saml_idp.go
---------
Co-authored-by: zhaoxianfei <zhaoxianfei@meiqia.cn >
Co-authored-by: Eric Luo <hsluoyz@qq.com >
2024-03-13 23:59:05 +08:00
DacongDA
3875896c1e
feat: support custom header logo ( #2801 )
...
* feat: support custom header logo
* feat: add i18n
* feat: preview default logo when field is empty
* feat: improve logo setting and display logic
* feat: change logoLight to logo
2024-03-13 23:33:43 +08:00
DacongDA
7e2f265420
feat: improve organization select UI ( #2798 )
2024-03-12 19:39:53 +08:00
Yang Luo
53ef179e9b
Set Webhook.Url length to 200
2024-03-11 18:18:01 +08:00
Yang Luo
376ef0ed14
feat: support custom Email content in /send-email API
2024-03-11 11:48:00 +08:00
Yang Luo
ca183be336
Improve ManagedAccountTable UI
2024-03-11 00:13:34 +08:00
Yang Luo
e5da57a005
feat: fix cert's ES options
2024-03-10 19:30:05 +08:00
Yang Luo
e4e225db32
Use "ES512" value
2024-03-10 19:25:41 +08:00
Yang Luo
a1add992ee
Support legacy "RSA" value
2024-03-10 19:23:54 +08:00
Yang Luo
2aac265ed4
Improve populateContent()
2024-03-10 18:58:53 +08:00
xiao-kong-long
2dc755f529
fix: add more cert algorithms like ES256 and PS256 ( #2793 )
2024-03-10 18:39:41 +08:00
Yang Luo
0dd474d5fc
feat: fix public profile page shows blank page bug
2024-03-10 14:12:24 +08:00
Yang Luo
6998451e97
fix: support roles and permissions in /userinfo API
2024-03-10 12:34:56 +08:00
Yang Luo
9175e5b664
Fix bug in GetMaskedEmail()
2024-03-10 11:49:55 +08:00
DacongDA
dbc6b0dc45
feat: fix issue that forget password page fails to redirect back to signin page ( #2792 )
2024-03-10 09:55:44 +08:00
Yang Luo
31b7000f6a
fix: enable the only language for login page
2024-03-09 11:28:23 +08:00
DacongDA
d25eaa65cd
feat: support custom page footer ( #2790 )
2024-03-08 23:11:03 +08:00
Yang Luo
f5bcd00652
Add language to records page
2024-03-08 23:03:30 +08:00
Yang Luo
0d5f49e40a
fix: fix GetResources() bug for app users
2024-03-08 16:15:31 +08:00
Yang Luo
3527e070a0
Fix my account page UI
2024-03-08 15:18:18 +08:00
Yang Luo
0108b58db4
Return status 200 for unauthorized operation, revert commit: 2fd2d88d20
2024-03-08 15:11:25 +08:00
Yang Luo
976b5766a5
feat: refactor out token_oauth.go
2024-03-08 15:03:28 +08:00
Yang Luo
a92d20162a
feat: show all resources for org admin
2024-03-08 15:03:03 +08:00
Yang Luo
204b1c2b8c
Fix resource page link error
2024-03-08 14:44:39 +08:00
Yang Luo
49fb269170
Improve error handling for GetSamlResponse()
2024-03-08 02:17:50 +08:00
Yang Luo
c532a5d54d
Remove suspense fallback loading.
2024-03-07 23:21:25 +08:00
DacongDA
89df80baca
feat: remove loading fallback in Suspense and use spin to display ( #2780 )
2024-03-06 20:30:54 +08:00
DacongDA
d988ac814c
fix: fix account items display error ( #2781 )
2024-03-06 20:30:34 +08:00
Yang Luo
e4b25055d5
Improve isAllowedInDemoMode()
2024-03-06 02:17:28 +08:00
DacongDA
4123d47174
feat: callback will jump to blank page when from param start with "http" ( #2778 )
2024-03-06 01:07:52 +08:00
Yang Luo
fbdd5a926d
Fix normal user my-account page blank bug
2024-03-06 01:07:28 +08:00
xiao-kong-long
92b6fda0f6
feat: support more objects in init_data JSON ( #2776 )
2024-03-05 23:41:46 +08:00
DacongDA
6a7ac35e65
fix: fix wechat media account can not bind issue ( #2774 )
...
* fix: fix wechat media account can not bind
* fix: improve code format
2024-03-05 18:46:28 +08:00
DacongDA
fc137b9f76
feat: fix custom JS doesn't reload after refresh bug ( #2773 )
2024-03-05 15:03:25 +08:00
DacongDA
11dbd5ba9a
fix: fix duplicated load bug of custom JS ( #2771 )
2024-03-05 00:09:37 +08:00
Yang Luo
19942a8bd4
Add webhook.SingleOrgOnly
2024-03-04 21:14:52 +08:00
Yang Luo
f9ee8a68cb
Support Chrome extension redirecting
2024-03-04 18:31:56 +08:00
Ron
f241336ad7
feat: add OSON SMS provider ( #2769 )
...
* implemented SMS provider 'OSON SMS' for frontend
* feat: add 'OSON SMS' provider for frontend
2024-03-04 01:05:53 +08:00
Yang Luo
8b64d113fb
Upgrade go-sms-sender dependency to 0.20.0
2024-03-04 01:05:28 +08:00
DacongDA
a8800c4d5c
fix: add missing / for style tag in signin items ( #2768 )
2024-03-03 23:46:57 +08:00
Yang Luo
75fc9ab9f7
Improve GetMaskedApplication()'s logic
2024-03-03 22:01:49 +08:00
Yang Luo
d06da76c3d
feat: fix bug in /get-organization-applications API
2024-03-03 21:08:36 +08:00
Yang Luo
bc399837cc
Rename label to "Custom CSS"
2024-03-03 20:45:14 +08:00
Yang Luo
265abfe102
fix: handle error in storage.GetStorageProvider()
2024-03-03 18:18:54 +08:00
DacongDA
12acb24dbc
feat: add transaction pages ( #2761 )
2024-03-02 10:41:16 +08:00
Yang Luo
ba1ddc7e50
fix: admin can modify user ID now
2024-02-28 18:07:53 +08:00
Yang Luo
59e07a35aa
Add balance to user
2024-02-28 16:54:30 +08:00
DacongDA
cabe830f55
feat: use dynamic import to load web3Auth ( #2757 )
...
* feat: use dynamic import to load web3Auth and success reduce the size of signin page to 720KB when web3 idp disabled
* feat: avoid frequent import in OAuthWidget.js which may cause e2e test EPIPE error
* feat: remove import may cause e2e error
* feat: remove import may cause e2e error
* feat: remove bug may cause e2e error
* feat: try use chrome in ci/cd instead of electron to solve e2e error
2024-02-28 15:58:04 +08:00
DacongDA
78af5daec3
feat: use resourcesToBackend to load i18n files ( #2755 )
2024-02-28 01:43:55 +08:00
Lénaïc Grolleau
6c76913f71
fix: Set default value for email and SMS rule to all instead of none ( #2754 )
2024-02-28 01:28:59 +08:00
Yang Luo
5a0d1bcb6e
Support login by user ID
2024-02-28 01:28:24 +08:00
Yang Luo
37232faa07
feat: fix bug for missing SMS and Email provider in application
2024-02-27 22:54:35 +08:00
Yang Luo
4d9c81ef96
Fix broken error messages
2024-02-27 22:48:33 +08:00
DacongDA
b0d87f60ae
feat: use lazy load to load management pages ( #2752 )
2024-02-27 22:31:02 +08:00
DacongDA
a5499219d1
fix: refactor out ManagementPage.js from App.js ( #2750 )
...
* feat: basic separate
* feat: nearly fully separate
* feat: add License
* feat: full load application in /login url, lazy load in /login/oauth... etc
* fix: fix onChangeTheme error in organization edit page
* fix: revert lazy load
2024-02-27 18:49:23 +08:00
DacongDA
6a813a1f8c
feat: fix headerHtml script not running bug ( #2749 )
...
* fix: fix custom head not exec <script> tag
* fix: fix create element bug
2024-02-26 20:21:07 +08:00
DacongDA
e4cf244cf8
fix: theme will fully restore after page reload ( #2743 )
...
* fix: theme will set to default after flush
* fix: use consume theme to ensure EntryPage will always use default themeAlgorithm
* fix: fix logo render, add try catch to handle
potential err cause by JSON.parse
2024-02-25 00:05:13 +08:00
DacongDA
f5a6415e57
feat: improve dark theme UI ( #2742 )
2024-02-24 20:11:42 +08:00
DacongDA
13e871043c
fix: fix theme switch bug ( #2741 )
2024-02-24 16:56:12 +08:00
DacongDA
a8699d0b87
feat: use React routing to remove spin between signup and signin pages ( #2740 )
...
* fix: Regarding the color of loading
* fix: use goToLinkSoft and use same code format with result and forget psw
* fix: update signup url
2024-02-24 12:59:09 +08:00
hsluoyz
6621d693de
feat: revert "feat: use i18next-resources-to-backend to lazy load i18n" ( #2739 )
...
This reverts commit dc3131c683 .
2024-02-23 23:38:49 +08:00
DacongDA
dc3131c683
feat: use i18next-resources-to-backend to lazy load i18n ( #2738 )
...
* feat: use i18next-resources-to-backend to lazy load i18n file
* feat: change source in yarn.lock
2024-02-23 22:35:59 +08:00
zhuying1999
042a8d0ad6
feat: add rule for SMS and Email provider ( #2733 )
...
* add phonecoderule
* feat:add phone code rule
* feat: add email rule
* fix: merge
2024-02-23 00:09:37 +08:00
DacongDA
44abfb3430
feat: support custom header HTML in entry pages ( #2731 )
2024-02-22 17:56:47 +08:00
Yang Luo
53b8424a1f
feat: fix JSON typo in init_data.json template
2024-02-21 17:33:08 +08:00
DacongDA
23c2ba3a2b
feat: support ssh key/pem file in DB syncer ( #2727 )
...
* feat: support connect database with ssh tunnel in syncer
* feat: improve i18n translate
* feat: improve code format and i18n
2024-02-21 17:27:37 +08:00
许懿赫
3a9ffedce4
feat: support phone and Email in /api/login/oauth/access_token API ( #2725 )
...
Phone Number supports for /api/login/oauth/access_token as username
✅ Closes : #2724
2024-02-21 17:27:24 +08:00
Yang Luo
03f005389f
feat: fix organizationChangeTrigger() and userChangeTrigger() bugs
2024-02-21 01:14:32 +08:00
Yang Luo
69a8346d05
Remove "/auto-signup/oauth/authorize" path introduced in PR: #896
2024-02-20 17:40:39 +08:00
Yang Luo
546512a0ea
Fix getCasvisorApplication()
2024-02-20 13:45:03 +08:00
DacongDA
c4a307b9ec
feat: add built-in "Records" pages back ( #2720 )
2024-02-20 13:28:29 +08:00
DacongDA
d731c3c934
feat: add regex support for account item ( #2714 )
...
* 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
2024-02-17 15:24:36 +08:00
Yang Luo
4a68dd65cd
Fix typo in renderFormItem()
2024-02-16 10:13:50 +08:00
Yang Luo
d59148890e
Improve error handling for CheckVerificationCode()
2024-02-16 08:53:56 +08:00
Yang Luo
7f52755e32
feat: improve error messages
2024-02-16 01:13:34 +08:00
Yang Luo
eaa6f50085
Add initial value for grantTypes
2024-02-15 23:18:23 +08:00
Yaodong Yu
f35a5f9a47
feat: fix issue that admin cannot enable MFA for user ( #2702 )
2024-02-14 23:29:04 +08:00
Yang Luo
7481b229a4
feat: show domain field for MinIO storage provider
2024-02-14 13:54:17 +08:00
Yang Luo
39e485ae82
Fix SigninTable issue
2024-02-14 12:20:03 +08:00
Yang Luo
764c64e67c
Fix SigninTable CSS
2024-02-14 12:10:30 +08:00
Yang Luo
e755a7331d
Fix renderLink()
2024-02-14 09:45:21 +08:00
hsluoyz
6d9d595f86
fix: Revert "fix: fix display bug in SigninTable" ( #2700 )
...
This reverts commit d52058d2ae .
2024-02-14 09:44:42 +08:00
DacongDA
d52058d2ae
fix: fix display bug in SigninTable ( #2698 )
...
* fix: fix display bug in SigninTable
* fix: fix code bug
* feat: improve code format
* feat: improve code format
2024-02-14 09:26:51 +08:00
Yang Luo
bcfbfc6947
Support "signinUrl" in forget page
2024-02-14 02:36:52 +08:00
Yang Luo
75699c4a26
feat: improve code in getObject()
2024-02-13 23:50:21 +08:00
DacongDA
3e8bfb52a8
feat: add signin items table ( #2695 )
...
* feat: add signin items table
* fix:unable to login
* feat: improve code format
* fix: fix display err on signup link
* feat: improve display of sign up link
2024-02-13 23:12:40 +08:00
Yaodong Yu
bbbd857a45
fix: fix bug that failed to run initApi adapter in docker ( #2696 )
2024-02-13 23:12:25 +08:00
Andrey
498900df76
feat: allow dot in the username (like john.smith) ( #2692 )
2024-02-12 20:52:17 +08:00
Dmitri Aleksandrov
7e3c1a6581
fix: improve goth code ( #2693 )
...
Signed-off-by: Dmitrii Aleksandrov <goodmobiledevices@gmail.com >
2024-02-12 20:51:58 +08:00
github-actions[bot]
6e28043dba
refactor: New Crowdin translations ( #2648 )
...
* refactor: New Crowdin translations by Github Action
* refactor: New Crowdin Backend translations by Github Action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2024-02-12 18:54:31 +08:00
Yang Luo
cb200687dc
feat: fix GetUserByUserId() API crash issue
2024-02-12 18:51:55 +08:00
Lars Lehtonen
23bb0ee450
feat: fix error handling in AdfsIdProvider ( #2687 )
2024-02-10 15:38:38 +08:00
Yang Luo
117259dfc5
ci: fix repo name in CI
2024-02-10 15:38:17 +08:00
DacongDA
e71d0476f0
feat: support data initialization for groups, adapters, enforcers, plans and pricings ( #2685 )
2024-02-08 20:46:40 +08:00
Yang Luo
b5d26767b2
docs: improve README
2024-02-08 00:02:31 +08:00
DacongDA
5c4e22288e
feat: improve error handling and code format ( #2682 )
...
* feat: improve error process and code format
* feat: improve error process and code format
2024-02-07 20:55:33 +08:00
Satinder Singh
3ac4be64b8
fix: error msg for invalid org & app names in signup ( #2679 )
2024-02-07 08:53:50 +08:00
DacongDA
97db54b6b9
feat: full support for wechat official account login ( #2677 )
...
* feat: full support for wechat official account login
* feat: improve provider edit page
* fix: improve i18n format
2024-02-07 00:00:10 +08:00
Yang Luo
3a19d4c7c8
fix: do not filter webhooks by org
2024-02-06 20:33:11 +08:00
Yaodong Yu
a60be2b2ab
feat: refactor MFA code and fix no-session bug ( #2676 )
...
* refactor: refactor mfa
* refactor: refactor mfa
* refactor: refactor mfa
* lint
* chore: reduce wait time
2024-02-06 20:17:59 +08:00
Yang Luo
06ef97a080
feat: can delete the whole SigninMethodTable
2024-02-06 16:43:16 +08:00
dacongda
167c1b0f1b
feat: fix bug in WeChat OA login ( #2674 )
...
* fix: fix the problem of Wechat Official Account login
* fix: fix code format problem
* fix: add error display and fix the code format problem
* fix: i18n problem and code format
2024-02-05 21:38:12 +08:00
Satinder Singh
7d0eae230e
fix: fix /signup organization parameter issue ( #2669 )
2024-02-03 11:47:36 +08:00
Yang Luo
901867e8bb
feat: fix /signup parameter issue
2024-02-03 10:00:47 +08:00
HGZ-20
b7be1943fa
feat: Add Invitation Code to Generate Invitation Link ( #2666 )
...
Add auto-population of invitation fields in the registration page based on the invitation code in the link
2024-02-02 21:12:56 +08:00
Yaodong Yu
bbbda1982f
feat: fix missing MFA session issue ( #2667 )
2024-02-02 10:23:17 +08:00
dacongda
e593f5be5b
fix: improve code format ( #2665 )
...
* feat: replace io/ioutils pacakage with io/os package
* fix: add missing error handling
2024-02-01 23:06:12 +08:00
Dmitri Aleksandrov
0918757e85
feat: add template support for Custom HTTP SMS provider ( #2662 )
2024-02-01 17:50:22 +08:00
dacongda
ce0d45a70b
feat: support SAML POST binding ( #2661 )
...
* fix: support saml http post binding
* fix: support saml http post binding
* fix: support saml post binding sp
2024-02-01 17:28:56 +08:00
Konstantin
c4096788b2
feat: ABAC support for /api/enforce endpoint ( #2660 )
2024-01-31 23:14:55 +08:00
dacongda
523186f895
feat: Support sha512 password encryption algorithm ( #2657 )
...
* add sha512 encryption support for password
* fead: add sha512 encryption support for password
2024-01-31 00:06:06 +08:00
Satinder Singh
ef373ca736
feat: add deletedTime to user ( #2652 )
2024-01-30 23:18:32 +08:00
Yang Luo
721a681ff1
fix: improve error handling in GetUserApplication()
2024-01-30 21:40:39 +08:00
Yang Luo
8b1c4b0c75
feat: make phone field longer to 100
2024-01-30 19:06:18 +08:00
Yang Luo
540f22f8bd
feat: refactor GetTokenByTokenValue()
2024-01-29 10:03:33 +08:00
Yang Luo
79f81f1356
Improve error handling in IntrospectToken()
2024-01-29 09:58:40 +08:00
Yaodong Yu
4e145f71b5
feat: improve MFA UI and jump URL ( #2647 )
...
* fix: mfa UI
* fix: mfa UI
2024-01-28 16:46:35 +08:00
Yang Luo
104f975a2f
fix: fix wrong org issue for user's "signupApplication"
2024-01-28 01:51:03 +08:00
Yang Luo
71bb400559
feat: support using org's defaultAvatar when adding user in web UI
2024-01-28 01:07:20 +08:00
Yang Luo
93c3c78d42
feat: support "id_card" in UpdateUser()
2024-01-26 08:23:55 +08:00
Zhang Zhe
dd51bbbabf
feat: fix autoComplete for MFA passcode and SMS code ( #2642 )
...
* update: mfa autoComplete="off"
* Update SendCodeInput.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2024-01-23 19:52:16 +08:00
HGZ-20
5318519bf8
fix: fix bug in LDAP user login error count ( #2636 )
...
Fix the issue where the login error count is not reset to 0 after a successful LDAP user login.
2024-01-22 13:42:11 +08:00
HGZ-20
d7c40459c0
feat: implement the enforcement for new invitation page ( #2628 )
...
Added new invitation code implementation
2024-01-22 02:25:13 +08:00
LiusCraft
de2932b5fb
feat: use standalone Twitter OAuth provider instead of goth ( #2632 )
2024-01-20 21:49:02 +08:00
Yang Luo
f4c873ffe6
Fix user profile page UI
2024-01-20 19:28:43 +08:00
Yang Luo
97c7f2631a
feat: fix organization.IsProfilePublic issue
2024-01-20 16:00:04 +08:00
Yang Luo
93f0425759
Remove old application's InvitationCodes
2024-01-20 10:58:08 +08:00
Yang Luo
6a00657e42
feat: fix forbidden and soft-delete check in forget password page
2024-01-19 22:13:02 +08:00
Yang Luo
88130bf020
feat: add forbidden check in SetPassword()
2024-01-19 16:30:22 +08:00
Yang Luo
5e99007fc9
Update goth to v1.78.0
2024-01-19 16:09:32 +08:00
Yang Luo
66aca3124c
fix: improve error handling in LarkIdProvider
2024-01-19 15:37:15 +08:00
github-actions[bot]
61deb75c84
refactor: New Crowdin translations ( #2512 )
...
* refactor: New Crowdin translations by Github Action
* refactor: New Crowdin Backend translations by Github Action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2024-01-18 22:18:51 +08:00
Yang Luo
b8db07db4d
feat: enable GetMaskedSyncers()
2024-01-18 20:59:27 +08:00
Yang Luo
a681c267b3
Refactor code format
2024-01-18 20:53:04 +08:00
Yang Luo
5fb6ea0ab4
Fix "password" tab in SigninMethods
2024-01-18 20:17:05 +08:00
Yang Luo
0f6b7984d4
feat: improve isAllowedInDemoMode()
2024-01-17 13:07:44 +08:00
Yang Luo
ba9d6e5d78
Fix Swagger API version
2024-01-16 00:09:28 +08:00
Yang Luo
a4524e9996
fix: fix Swagger @Tag
2024-01-15 23:35:40 +08:00
Yang Luo
b469928780
Fix Swagger @router
2024-01-15 23:27:42 +08:00
Yang Luo
dc6fe13f75
feat: use signupItem.Regex to check signup page
2024-01-15 18:12:38 +08:00
Yang Luo
8227762988
Support more special chars in password validating
2024-01-15 18:12:38 +08:00
hsluoyz
d92b072ed0
feat: revert PR: "feat: more RFC like LDAP server behaviour" ( #2611 )
2024-01-15 13:58:33 +08:00
hsluoyz
1161310f81
feat: improve README.md
2024-01-15 10:14:01 +08:00
xiao-kong-long
48ba5f91ed
feat: add Synology NAS storage provider ( #2605 )
2024-01-14 22:38:31 +08:00
Satinder Singh
53df2c2704
fix: add semantic versioning for helm charts ( #2603 )
2024-01-14 09:44:16 +08:00
Yang Luo
78066da208
Improve setCorsHeaders() for "include" mode
2024-01-13 23:46:05 +08:00
Yang Luo
60096468fe
fix: fix CI email
2024-01-13 18:12:52 +08:00
Yang Luo
39d6bc10f7
Fix GetCaptchaStatus() crash if not logged in
2024-01-13 18:04:38 +08:00
Yang Luo
177f2f2f11
Add userId param to GetAllObjects() API
2024-01-13 18:03:40 +08:00
Yang Luo
79b393afee
feat: add regex to SignupTable
2024-01-13 16:08:49 +08:00
Yang Luo
5bb12a30d4
Don't show two errors in verificationCode login page
2024-01-13 16:01:22 +08:00
Yang Luo
fdb68bf9c8
Rename to SigninMethodTable
2024-01-13 15:53:01 +08:00
Yang Luo
37748850c8
Fix nameFormat in SamlItem
2024-01-13 15:32:49 +08:00
Yang Luo
8968396ae5
Fix bug in getDefaultLoginMethod()
2024-01-13 12:13:09 +08:00
Yang Luo
f5395f15f9
feat: fix isSigninMethodEnabled() bug in frontend
2024-01-13 11:35:06 +08:00
Yang Luo
73e44df867
Improve GetAllRoles() error handling
2024-01-13 10:06:08 +08:00
Yang Luo
0b575ccf84
Refactor getAllValues()
2024-01-13 09:58:55 +08:00
Yang Luo
9b7f465a47
Fix failedSigninFrozenTime typo
2024-01-13 02:12:29 +08:00
Yang Luo
b1fe28fb83
Refactor application.FailedSigninLimit code
2024-01-13 02:09:18 +08:00
Satinder Singh
530d054adb
feat: ci should commit index.yaml and push to docker hub ( #2600 )
2024-01-11 16:10:08 +08:00
SamYSF
a2b9f9baaf
feat: support "JWT-Custom" to customize user properties inside access token ( #2594 )
...
* feat: add custom attribute to access token
* Update token_jwt.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2024-01-10 00:59:02 +08:00
Yang Luo
a2d20fcb63
Update i18n
2024-01-09 22:16:17 +08:00
Yang Luo
b118a3bb76
Add TokenFields to application
2024-01-09 22:09:21 +08:00
Yang Luo
280867d0cb
Add checkSigninErrorTimes() for LDAP signin
2024-01-09 21:53:44 +08:00
Yang Luo
30fa2f7d81
Disable LDAP login method by default
2024-01-09 21:36:09 +08:00
Michael
518288691d
fix(ci): fix the helm publish step ( #2593 )
...
fixes https://github.com/casdoor/casdoor-helm/issues/3
2024-01-09 17:48:01 +08:00
HGZ-20
ffa54247cd
feat: add LDAP signin method ( #2591 )
...
Add support for LDAP login methods
Add option to control LDAP user in password login method.
2024-01-08 21:07:34 +08:00
Anh Tu Nguyen
0199ad9aaa
fix: missing table prefix in get user group ( #2590 )
...
- Sort field and order field are missing table name prefix
Co-authored-by: xgenvn <brian7.ng@gmail.com >
2024-01-08 21:07:13 +08:00
Michael
b9d171718f
chore(helm): move to dedicated helm-repo ( #2587 )
...
* chore(helm): move to dedicated helm-repo: https://github.com/casdoor/casdoor-helm
* feat(actions): explicit checkout helm repo
* chore: feedback from pr comment
2024-01-08 02:02:05 +08:00
Yang Luo
e841d0ba8e
feat: fix /api/send-email API for app user
2024-01-07 21:11:22 +08:00
Yang Luo
e5a9594f90
Hide Google OneTap in iframe
2024-01-07 10:33:25 +08:00
Satinder Singh
c542929835
fix: add vscode local debugging support ( #2585 )
2024-01-07 09:26:33 +08:00
hsluoyz
86dea71efd
ci: update helm index.yaml
2024-01-06 19:31:07 +00:00
Michael
9e536850fd
feat(helm): support for extra volume mounts ( #2584 )
...
* feat(helm): support for extraVolumes and extraVolumeMounts
* ci(helm): run helm unittests
2024-01-07 03:30:44 +08:00
Michael
fddd4a12b8
chore: update helm version to v1.492.0 ( #2582 )
2024-01-07 00:14:53 +08:00
Yang Luo
2d6fae32be
feat: support custom config path via "config"
2024-01-06 14:09:48 +08:00
Yang Luo
741cff99df
Remove isCreateDatabaseDefined
2024-01-06 14:08:34 +08:00
Satinder Singh
cad9c28e92
feat: helm hpa yaml must reference correct apiVersion ( #2581 )
2024-01-06 08:55:59 +08:00
李洛克
524cf4dda5
feat: fix update application failed for permissions with the same name ( #2579 )
...
* fixed: update application failed where have two same permission in different organization
* Update application.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2024-01-05 20:45:55 +08:00
Lê Tuấn Vũ
077a1cb8b7
fix: support owner parameter in enforce API ( #2578 )
2024-01-05 15:12:59 +08:00
Yang Luo
00efdf1d03
Fix EmailVerified in UserInfo()
2024-01-05 09:37:42 +08:00
Known Rabbit
aa543f1abb
feat: more RFC like LDAP server behaviour ( #2574 )
...
* feat: more RFC like LDAP server behaviour
* Extend FieldRelationMap to support case insensitive mapping, add more fields definition
* feat: Add group syncing for LDAP server
2024-01-05 09:24:12 +08:00
Lars Lehtonen
1d1d3049bd
feat: fix dropped getAffiliationMap error in object ( #2576 )
2024-01-05 09:03:39 +08:00
Yang Luo
4f497d44a5
Enable at least password login in extendApplicationWithSigninMethods()
2024-01-03 22:19:43 +08:00
Yaodong Yu
369de36987
feat: add users with correct application ( #2570 )
2024-01-02 23:49:04 +08:00
HGZ-20
e3f28e8b4c
feat: Support more flexible login method control ( #2566 )
2024-01-02 21:11:52 +08:00
Yang Luo
3373174c65
fix: add missing tableNamePrefix in some places
2023-12-31 22:40:41 +08:00
Yang Luo
2fb79e4092
Add invitation pages
2023-12-31 21:38:36 +08:00
Yang Luo
5846e337c7
feat: fix gofmt issue
2023-12-30 19:47:04 +08:00
Yang Luo
44f4de1440
feat: support empty fileUrl in GetUploadFileUrl()
2023-12-30 19:06:35 +08:00
Yang Luo
27adeb4620
Refactor initAPI()
2023-12-30 14:28:45 +08:00
Yang Luo
5c107db43b
fix: fix i18n typo
2023-12-30 00:49:39 +08:00
Yang Luo
27187b3a54
feat: add "Reset to Default HTML" button
2023-12-30 00:47:10 +08:00
Yang Luo
14fcedcc5d
feat: support HTML in Email content
2023-12-29 23:31:50 +08:00
xiao-kong-long
e7c015f288
feat: fix comment and configs for successfully generating OpenAPI typescript-axios sdk ( #2560 )
...
* fix: fix swagger.json, successfully generate java sdk
* fix:fix comment and change some content for successfully generating typescript-axios sdk
2023-12-29 15:12:40 +08:00
Yang Luo
c4819602ec
fix: add mfa API to isAllowedInDemoMode()
2023-12-26 20:06:27 +08:00
Eng Zer Jun
dea03cdd15
feat: replace deprecated github.com/RobotsAndPencils/go-saml ( #2558 )
...
The `github.com/RobotsAndPencils/go-saml` has been officially deprecated
and archived on 7 June 2023.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-12-25 21:15:53 +08:00
xiao-kong-long
21f394847e
fix: fix Swagger docs by improving comments
2023-12-23 11:57:18 +08:00
Yang Luo
9bef9691fb
feat: fix volcengine SMS provider error handling
2023-12-22 20:49:45 +08:00
Yang Luo
141f22a707
feat: upgrade to Node.js 18 and Go 1.20 in Dockerfile
2023-12-22 14:46:41 +08:00
Yang Luo
02329d342a
feat: fix bug in "*" users and roles in permission edit page.
2023-12-22 14:16:00 +08:00
Yang Luo
b9d3e2184c
fix: update CI node version from 16 to 18
2023-12-22 09:28:45 +08:00
Yang Luo
28caf8550e
Support token parsed result
2023-12-22 02:04:25 +08:00
Yang Luo
79159dc809
Improve TokenEditPage
2023-12-22 00:44:34 +08:00
Yang Luo
63081641d6
Improve i18n text
2023-12-22 00:25:46 +08:00
Yang Luo
698f24f762
feat: fix template code bug in SMS provider of Amazon SNS
2023-12-21 23:32:55 +08:00
HGZ-20
5499e62d7f
feat: add the FailedSigninLimit and FailedSigninfrozenTime configuration options to the application ( #2552 )
...
Add configuration items to the application to limit the number of logins and the login wait time after the maximum number of errors is reached
feat: #2272
fix: fixed the issue where the token parameter could be set to a negative value
2023-12-20 22:29:53 +08:00
Yang Luo
f8905ae64c
Fix S3-compliant storage providers support
2023-12-20 14:38:32 +08:00
Yang Luo
a42594859f
feat: improve enforce() and batchEnforce() API response
2023-12-20 11:41:54 +08:00
Yang Luo
46e0bc1a39
Improve i18n texts
2023-12-20 10:09:00 +08:00
Gucheng Wang
ffe2330238
Fix tag field in user list page
2023-12-20 01:57:56 +08:00
Gucheng
ec53616dc8
Update README.md
2023-12-20 01:52:29 +08:00
Gucheng Wang
067276d739
Add new B2C provider
2023-12-17 16:29:29 +08:00
Yang Luo
468ceb6b71
Fix get-all-objects API 403 issue
2023-12-15 21:32:45 +08:00
Satinder Singh
b31a317585
feat: add helm release github action ( #2546 )
2023-12-15 19:30:10 +08:00
Yang Luo
396b6fb65f
feat: refactor custom HTTP related filenames
2023-12-15 00:06:05 +08:00
Yang Luo
be637fca81
fix: fix wrong POST param logic in custom HTTP providers
2023-12-15 00:00:47 +08:00
link89
374928e719
feat: add custom HTTP Email provider ( #2542 )
...
* feat: implement Custom HTTP Email provider
* Update Setting.js
* Update ProviderEditPage.js
* Update http.go
* Update provider.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-12-14 22:35:25 +08:00
Yang Luo
5c103e8cd3
Improve error handling in GenerateIdForNewUser()
2023-12-14 10:12:00 +08:00
Lars Lehtonen
85b86e8831
fix: dropped object group errors ( #2545 )
2023-12-14 09:00:25 +08:00
Yang Luo
08864686f3
feat: fix Google cloud storage provider bug
2023-12-14 00:25:50 +08:00
HGZ-20
dc06eb9948
feat: fix secret information issue in the CAPTCHA provider code ( #2531 )
2023-12-11 18:01:56 +08:00
Yang Luo
b068202e74
Improve Radius username handling
2023-12-11 18:01:28 +08:00
Satinder Singh
cb16567c7b
feat: helm support extra containers ( #2530 )
2023-12-10 14:41:56 +08:00
Yang Luo
4eb725d47a
Improve image upload UI
2023-12-08 19:42:20 +08:00
Yang Luo
ce72a172b0
feat: add back Custom HTTP SMS provider
2023-12-07 16:59:41 +08:00
Yang Luo
5521962e0c
feat: update go-sms-sender to v0.17.0 to improve error handling
2023-12-07 14:25:21 +08:00
Yang Luo
37b8b09cc0
feat: update go-sms-sender to v0.16.0 to fix first number missing bug in AmazonSNSClient.SendMessage
2023-12-06 20:05:48 +08:00
Yang Luo
482eb61168
feat: improve StaticFilter()
2023-12-05 18:33:06 +08:00
Lars Lehtonen
8819a8697b
feat: fix dropped error in stripe.go ( #2525 )
2023-12-05 16:02:33 +08:00
Yang Luo
85cb68eb66
feat: unbind LDAP clients if not used any more
2023-12-02 17:51:25 +08:00
Yang Luo
b25b5f0249
Support original accessToken in token APIs
2023-12-02 16:56:18 +08:00
Yang Luo
947dcf6e75
Fix "All" roles bug in permission edit page
2023-12-02 15:26:52 +08:00
Yang Luo
113c27db73
Improve logout's id_token_hint logic
2023-12-02 02:13:34 +08:00
Nex Zhu
badfe34755
feat: add "nonce" into the OAuth and OIDC tokens, for some apps require "nonce" to integrate ( #2522 )
2023-12-01 18:29:39 +08:00
Yang Luo
a5f9f61381
feat: add token hash to improve performance
2023-11-30 18:05:30 +08:00
Daniil Mikhaylov
2ce8c93ead
feat: Improve LDAP filter support ( #2519 )
2023-11-26 23:11:49 +08:00
Yang Luo
da41ac7275
Improve error handling in getFaviconFileBuffer()
2023-11-25 18:31:33 +08:00
hsluoyz
fd0c70a827
feat: Revert "feat: fix login page path after logout" ( #2516 )
...
This reverts commit 23d4488b64 .
2023-11-24 15:52:59 +08:00
Yang Luo
c4a6f07672
Allow app user in demo mode
2023-11-24 01:04:23 +08:00
Nex Zhu
a67f541171
feat: in LDAP, search '*' should return all properties ( #2511 )
2023-11-22 23:52:40 +08:00
Yang Luo
192968bac8
Improve permission.State
2023-11-22 00:03:33 +08:00
aiden
23d4488b64
feat: fix login page path after logout ( #2493 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-11-21 23:37:35 +08:00
songjf
23f4684e1d
feat: make MFA works for CAS login ( #2506 )
...
* feat: make MFA works for CAS login
* fix: Reduced code redundancy
* fix: Modified the format of the code.
* fix: fix an error with the 'res' variable
* Update LoginPage.js
* Update LoginPage.js
* Update LoginPage.js
* Update MfaAuthVerifyForm.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-11-21 21:35:19 +08:00
xzgan
1a91e7b0f9
feat: support LDAP in Linux ( #2508 )
2023-11-21 14:01:27 +08:00
Yang Luo
811999b6cc
feat: fix error handling in CheckPassword() related functions
2023-11-20 21:49:19 +08:00
Jiankun Yang
7786018051
feat: use short state for OAuth provider ( #2504 )
...
* fix: use fixed length of state
* fix: use short state
2023-11-19 07:30:29 +08:00
xzgan
6c72f86d03
fix: support LDAP in linux ( #2500 )
...
Co-authored-by: Xiang Zhen Gan <m1353825@163.com >
2023-11-16 23:58:09 +08:00
Yang Luo
5b151f4ec4
feat: improve cert edit page UI
2023-11-13 15:57:46 +08:00
Yang Luo
e9b7d1266f
Fix API typo: /get-global-certs
2023-11-13 14:22:40 +08:00
Yang Luo
2d4998228c
Add organization.MasterVerificationCode
2023-11-13 13:53:41 +08:00
Yang Luo
d3ed6c348b
Improve GetOAuthToken() API's parameter handling
2023-11-13 02:30:32 +08:00
songjf
a22e05dcc1
feat: fix the UI and navigation errors on the prompt page ( #2486 )
2023-11-12 15:54:38 +08:00
haiwu
0ac2b69f5a
feat: support WeChat Pay via JSAPI ( #2488 )
...
* feat: support wechat jsapi payment
* feat: add log
* feat: update sign
* feat: process wechat pay result
* feat: process wechat pay result
* feat: save wechat openid for different app
* feat: save wechat openid for different app
* feat: add SetUserOAuthProperties for signup
* feat: fix openid for wechat
* feat: get user extra property in buyproduct
* feat: remove log
* feat: remove log
* feat: gofumpt code
* feat: change lr->crlf
* feat: change crlf->lf
* feat: improve code
2023-11-11 17:16:57 +08:00
Yang Luo
d090e9c860
Improve downloadImage()
2023-11-10 08:35:21 +08:00
Yang Luo
8ebb158765
feat: improve README
2023-11-09 21:52:52 +08:00
Yang Luo
ea2f053630
feat: add fields like Email to user profile in JWT-Empty mode
2023-11-09 20:20:42 +08:00
Yang Luo
988b14c6b5
Fix user's UpdatedTime in other APIs
2023-11-08 20:22:28 +08:00
Yang Luo
a9e72ac3cb
feat: fix bug in GetAllowedApplications()
2023-11-08 10:31:24 +08:00
Yang Luo
498cd02d49
feat: add GetAllowedApplications() in user's app homepage
2023-11-08 09:48:31 +08:00
Yang Luo
a389842f59
Improve Product fields
2023-11-06 19:44:21 +08:00
aiden
6c69daa666
feat: fix search for ldap users' name within an organization ( #2476 )
...
* fix : #2304
* fix: when logging in with OAuth2 and authenticating via WebAuthn, retrieve the application from the clientId.
* fix: search for ldap users' name within an organization
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-11-06 11:48:23 +08:00
Yang Luo
53c89bbe89
feat: upgrade xorm-adapter to add id to CasbinRule
2023-11-03 02:48:01 +08:00
Yang Luo
9442aa9f7a
Remove useless PermissionRule
2023-11-03 00:39:16 +08:00
Yang Luo
8a195715d0
Remove migrator code
2023-11-03 00:25:09 +08:00
Lars Lehtonen
b985bab3f3
fix: fix dropped errors in GetUser() ( #2470 )
...
* controllers: fix dropped errors
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-11-01 23:07:24 +08:00
aiden
477a090aa0
feat: when logging in with OAuth2 and authenticating via WebAuthn, retrieve the application from the clientId ( #2469 )
...
* fix : #2304
* fix: when logging in with OAuth2 and authenticating via WebAuthn, retrieve the application from the clientId.
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-11-01 18:40:05 +08:00
songjf
e082cf10e0
fix: fix Okta provider no host issue ( #2467 )
2023-11-01 18:14:39 +08:00
吃着土豆坐地铁
3215b88eae
fix: ADFS GetToken() and GetUserInfo() bug ( #2468 )
...
* fix adfs bug
* Update adfs.go
---------
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2023-11-01 17:58:17 +08:00
Yang Luo
9703f3f712
Support Apple OAuth login now
2023-10-31 23:10:36 +08:00
Yang Luo
140737b2f6
Fix some bugs in Apple OAuth login path
2023-10-31 23:10:36 +08:00
haiwu
b285144a64
ci: support MySQL data sync ( #2443 )
...
* feat: support tool for mysql master-slave sync
* feat: support mysql master-master sync
* feat: improve log
* feat: improve code
* fix: fix bug when len(res) ==0
* fix: fix bug when len(res) ==0
* feat: support master-slave sync
* feat: add deleteSlaveUser for TestStopMasterSlaveSync
* feat: add deleteSlaveUser for TestStopMasterSlaveSync
2023-10-31 21:00:09 +08:00
github-actions[bot]
49c6ce2221
refactor: New Crowdin translations ( #1667 )
...
* refactor: New Crowdin translations by Github Action
* refactor: New Crowdin Backend translations by Github Action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2023-10-31 18:11:05 +08:00
Yang Luo
2398e69012
Improve fastAutoSignin()
2023-10-31 16:54:30 +08:00
Yang Luo
ade9de8256
Add DumpToFile() to export init_data.json
2023-10-31 14:39:50 +08:00
Yang Luo
1bf5497d08
Improve error handling for GetUser()
2023-10-31 14:01:37 +08:00
Yang Luo
cf10738f45
Fix typo in AddUserKeys()
2023-10-31 13:31:12 +08:00
Yang Luo
ac00713c20
Improve error handling for object/user.go
2023-10-31 13:20:44 +08:00
Yang Luo
febb27f765
Remove useless fields in GenerateCasToken()
2023-10-30 18:45:34 +08:00
aiden
49a981f787
fix: fix that GROUPS is a reserved keyword introduced in MySQL 8.0 ( #2458 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-10-30 10:59:48 +08:00
aiden
34b1945180
feat: fix bugs in custom app sso login with WebAuthn authentication ( #2457 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-10-30 10:54:34 +08:00
Yang Luo
b320cca789
Can disable ldapServerPort by setting to empty string
2023-10-29 23:55:08 +08:00
Yang Luo
b38654a45a
Add renderAiAssistant()
2023-10-28 23:58:51 +08:00
Yang Luo
f77fafae24
Fix hidden top navbar item
2023-10-28 17:07:29 +08:00
songjf
8b6b5ffe81
feat: fix go-reddit module checksum mismatch ( #2451 )
2023-10-28 15:32:36 +08:00
Chao
a147fa3e0b
feat: fix bug that tableNamePrefix caused getRolesByUserInternal() to fail ( #2450 )
...
If set tableNamePrefix in app.conf, while cause sql error
2023-10-28 09:45:54 +08:00
Yang Luo
9d03665523
Fix FromProviderToIdpInfo() bug
2023-10-27 18:10:22 +08:00
Yang Luo
0106c7f7fa
Fix GetIdProvider() bug
2023-10-27 17:03:37 +08:00
Yang Luo
6713dad0af
Fix this.props.account null issue
2023-10-27 02:13:23 +08:00
Yang Luo
6ef2b51782
Support fastAutoSignin by backend redirection
2023-10-27 00:44:50 +08:00
Yang Luo
1732cd8538
Fix the bug that sometimes cannot auto login with enableAutoSignin = true
2023-10-27 00:06:17 +08:00
Yang Luo
a10548fe73
Fix org admin's enforcer policy APIs
2023-10-26 23:31:36 +08:00
Yang Luo
f6a7888f83
Deleted user cannot perform actions
2023-10-26 10:41:38 +08:00
Yang Luo
93efaa5459
Fix FileExist() error handling
2023-10-26 10:40:28 +08:00
jump2cn
0bfe683108
feat: change canonicalizer algorithm to xml-exc-c14n# ( #2440 )
2023-10-24 14:13:09 +08:00
Yang Luo
8a4758c22d
Update sync code
2023-10-22 11:56:56 +08:00
Yang Luo
ee3b46e91c
Allow permission.Model to be empty
2023-10-22 02:35:51 +08:00
Yang Luo
37744d6cd7
Improve permission error handling
2023-10-22 02:30:29 +08:00
Yang Luo
98defe617b
Add providerItem.SignupGroup
2023-10-20 23:10:43 +08:00
Yang Luo
96cbf51ca0
Remove useless alertType field
2023-10-20 23:01:11 +08:00
Yang Luo
22b57fdd23
Add application.EnableSamlC14n10
2023-10-20 22:37:23 +08:00
haiwu
b68e291f37
feat: support SAML Custom provider ( #2430 )
...
* 111
* feat: support custom saml provider
* feat: gofumpt code
* feat: gofumpt code
* feat: remove comment
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-10-20 21:11:36 +08:00
aiden
9960b4933b
feat: respect isReadOnly in the syncer ( #2427 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-10-19 18:57:12 +08:00
aiden
432a5496f2
fix: skip checking password when the code is provided ( #2425 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-10-19 18:25:25 +08:00
aiden
45db4deb6b
feat: support checking permissions for group roles ( #2422 )
...
* 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 >
2023-10-19 15:33:45 +08:00
Yang Luo
3f53591751
Improve verification no provider error message
2023-10-18 15:32:12 +08:00
Yang Luo
d7569684f6
Local admin can edit its org user's other fields now
2023-10-18 12:16:05 +08:00
Yang Luo
a616127909
Add organization.DefaultPassword
2023-10-18 11:58:25 +08:00
Yang Luo
f2e2b960ff
Improve downloadImage() error handling
2023-10-18 02:25:22 +08:00
Yang Luo
fbc603876f
feat: add originFrontend to app.conf
2023-10-17 21:47:18 +08:00
Yang Luo
9ea77c63d1
Local admin can edit its org users now
2023-10-17 18:23:39 +08:00
songjf
53243a30f3
feat: support tencent cloud SAML SSO authentication with casdoor ( #2409 )
...
* feat: Support Tencent Cloud SAML SSO authentication with Casdoor
* feat: support SamlAttributeTable in the frontend
* fix:fixed the error where frontend fields did not match the database fields
* fix:fix lint error
* fix:fixed non-standard naming
* fix:remove if conditional statement
* feat:Add Saml Attribute format select
* fix:fix typo
* fix:fix typo
* fix:fix typo
* Update SamlAttributeTable.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-10-17 15:40:41 +08:00
aiden
cbdeb91ee8
feat: support groups in app login permissions ( #2413 )
...
* fix(permission): fix CheckLoginPermission() logic
* style: fix code format
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-10-17 14:35:13 +08:00
Yang Luo
2dd1dc582f
Add text to app's signup table
2023-10-15 18:17:50 +08:00
Yang Luo
f3d4b45a0f
Add label and placeholder to app's signup table
2023-10-15 17:24:38 +08:00
Yang Luo
2ee4aebd96
Fix error handling in GetSamlMeta()
2023-10-15 17:02:40 +08:00
Yang Luo
150e3e30d5
Support app user in API authentication
2023-10-15 15:20:57 +08:00
Yang Luo
1055d7781b
Improve error handling in AutoSigninFilter
2023-10-15 12:43:36 +08:00
Yang Luo
1c296e9b6f
feat: activate enableGzip by default in app.conf
2023-10-15 01:27:42 +08:00
haiwu
3d80ec721f
fix: use user.UpdatedTime as scim.Meta.Version instead of user.Id ( #2406 )
...
* 111
* fix: use user.UpdatedTime as scim.Meta.Version instead of user.Id
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-10-14 11:03:58 +08:00
Yang Luo
43d849086f
Fix 127.0.0.1 bug in isHostIntranet()
2023-10-13 23:29:37 +08:00
Yang Luo
69b144d80f
feat: change back to running RecordMessage() filter before API handling, because the logged-out user info is missing after session is cleared. Revert: https://github.com/casdoor/casdoor/pull/2369
2023-10-13 16:53:30 +08:00
Yang Luo
52a66ef044
Fix webhook not triggered issue in SendWebhooks()
2023-10-13 16:47:09 +08:00
Yang Luo
ec0a8e16f7
feat: fix CheckLoginPermission() logic
2023-10-13 15:41:23 +08:00
Yang Luo
80a8000057
Add GetModelEx()
2023-10-13 13:45:13 +08:00
Yang Luo
77091a3ae5
Fix null model issue in UpdatePermission()
2023-10-13 12:55:11 +08:00
Pedro Padron
983da685a2
feat: support calling get-user API by only email, phone or userId without owner ( #2398 )
2023-10-13 02:48:55 +08:00
UsherFall
3d567c3d45
feat: update go-sms-sender to fix Twilio template error ( #2395 )
2023-10-12 01:53:31 +08:00
haiwu
440d87d70c
feat: support SCIM protocol ( #2393 )
...
* 111
* feat: support scim/Users GET and POST request
* feat: support scim/Users DELETE/PATCH/PUT request
* feat: better support scim/Users PATCH request
* feat: fix scim/Users logic
* feat: gofumpt
* feat: fix bug in scim/Users
* feat: fix typo
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-10-12 00:13:16 +08:00
Yaodong Yu
e4208d7fd9
feat: restrict the model of application type resource permission ( #2394 )
2023-10-12 00:05:53 +08:00
Yang Luo
4de716fef3
Improve UploadResource()
2023-10-11 01:27:29 +08:00
Yang Luo
070aa8a65f
Show 404 error for index.html not found
2023-10-10 22:57:39 +08:00
wxy
684cbdb951
fix: replace the wrong param name willExist ( #2389 )
2023-10-10 21:47:38 +08:00
QingKai Hao
9aec69ef47
feat: stop building docker image of linux/arm64 ( #2390 )
2023-10-10 21:19:54 +08:00
Yang Luo
98411ef67b
feat: remove db migrate CI
2023-10-10 19:22:41 +08:00
Yang Luo
71279f548d
Show cert.Certificate empty error
2023-10-10 19:19:20 +08:00
Yang Luo
0096e47351
feat: fix 403 error in CorsFilter
2023-10-10 18:39:25 +08:00
Yang Luo
814d3f749b
Fix Syncer.getKey()
2023-10-09 02:47:42 +08:00
Yang Luo
ec0f457c7f
Fix syncer.updateUser() bug
2023-10-09 01:14:35 +08:00
Yang Luo
0033ae1ff1
Improve syncer code
2023-10-08 20:50:28 +08:00
Yang Luo
d06d7c5c09
Fix batch methods like AddUsersInBatch()
2023-10-08 19:33:28 +08:00
Yang Luo
23c4fd8183
Fix go-reddit v2.0.1 doesn't exist issue
2023-10-08 19:29:26 +08:00
Yang Luo
e3558894c3
Add isHostIntranet to CORS filter
2023-10-08 19:29:19 +08:00
Yang Luo
2fd2d88d20
Return 403 in filter's responseError()
2023-10-05 00:12:02 +08:00
Yang Luo
d0c424db0a
Don't panic in AddRecord()
2023-10-05 00:11:13 +08:00
Yang Luo
6a9d1e0fe5
Add frontendBaseDir
2023-10-04 12:19:56 +08:00
Yang Luo
938e8e2699
Improve code
2023-09-30 10:49:10 +08:00
Yang Luo
620383cf33
Allow CORS for https://localhost
2023-09-30 09:11:47 +08:00
Yang Luo
de6cd380eb
Set OPTIONS status in setCorsHeaders()
2023-09-30 01:13:29 +08:00
Ilya Sulimanov
7e0bce2d0f
feat: run RecordMessage() filter after API handling ( #2369 )
...
* feat: write records after exec (#2368 )
* add returnOnOutput params
2023-09-29 10:12:00 +08:00
Yang Luo
1461268a51
Allow redirect URL for casdoor-app
2023-09-27 22:37:57 +08:00
Yang Luo
5ec49dc883
feat: fix claims.tag and UserWithoutThirdIdp missing fields, fix for Rust SDK
2023-09-27 18:07:57 +08:00
Yang Luo
5c89705d9e
feat: allow CORS for 127.0.0.1
2023-09-27 14:10:59 +08:00
Yang Luo
06e3b8481f
Improve adapter error handling
2023-09-27 01:11:58 +08:00
Yang Luo
81a8b91e3f
Fix enforcer policy add and delete
2023-09-27 00:18:21 +08:00
Yang Luo
56787fab90
Improve adapter.UseSameDb
2023-09-26 23:41:09 +08:00
Yang Luo
1319216625
Add adapter.UseSameDb
2023-09-26 23:41:08 +08:00
haiwu
6fe5c44c1c
feat: support radius accounting request ( #2362 )
...
* feat: add radius server
* feat: parse org from packet
* feat: add comment
* feat: support radius accounting
* feat: change log
* feat: add copyright
2023-09-26 22:48:00 +08:00
Yang Luo
981908b0b6
Fix crash in LDAP's sync: GenerateIdForNewUser()
2023-09-26 19:12:28 +08:00
Yang Luo
03a281cb5d
Improve CorsFilter code
2023-09-26 14:51:38 +08:00
Yang Luo
a8e541159b
Allow localhost in CorsFilter
2023-09-26 00:03:26 +08:00
Yang Luo
577bf91d25
Refactor out setCorsHeaders()
2023-09-26 00:02:31 +08:00
Yang Luo
329a6a8132
Fix get-pricing and get-plan API null error handling
2023-09-25 22:11:08 +08:00
Yang Luo
fba0866cd6
Fix error handling in StartRadiusServer()
2023-09-25 20:55:02 +08:00
UsherFall
aab6a799fe
fix: use client secret field for providers ( #2355 )
...
* feat: fix key exposure problem
* fix display bug
2023-09-24 18:35:58 +08:00
haiwu
b94d06fb07
feat: add some Radius protocol code ( #2351 )
...
* feat: add radius server
* feat: parse org from packet
* feat: add comment
* Update main.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-09-24 16:50:31 +08:00
Yang Luo
f9cc6ed064
Add groups to role
2023-09-24 10:17:18 +08:00
Yang Luo
4cc9137637
Improve permission, adapter page UI
2023-09-24 09:56:06 +08:00
Yang Luo
d145ab780c
feat: fix wrong elements in getPermissionsByUser() related functions
2023-09-24 09:13:54 +08:00
Yang Luo
687830697e
Refactor getPermissionsAndRolesByUser() related code
2023-09-24 08:08:32 +08:00
Yang Luo
111d1a5786
Use UserInfo's ID in OAuth login
2023-09-23 00:13:13 +08:00
Yang Luo
775dd9eb57
Improve email provider error handling and fix bug
2023-09-21 23:11:58 +08:00
Mario Fischer
8f6c295c40
fix: empty AzureAD tenant id ( #2349 )
2023-09-21 08:34:23 +08:00
Dmitry Buryanov
2f31e35315
feat: update casbin to 2.77.2 ( #2345 )
...
* fix: make redirect_uri really optional in logout route
* feat: update casbin to 2.77.2
2023-09-20 23:37:55 +08:00
Yang Luo
b6d6aa9d04
Use GenerateIdForNewUser() in add-user API
2023-09-20 22:50:17 +08:00
Yang Luo
f40d44fa1c
Refactor out GenerateIdForNewUser()
2023-09-20 22:45:00 +08:00
Dmitry Buryanov
3b2820cbe3
feat: make redirect_uri really optional in logout route ( #2342 )
2023-09-18 21:47:49 +08:00
Yang Luo
764e88f603
Change MFA issuer
2023-09-18 17:40:11 +08:00
UsherFall
7f298efebc
feat: fix Apple OAuth issue ( #2338 )
...
* feat: fix sign in with apple bug
* fix username
2023-09-18 17:04:03 +08:00
Yang Luo
0fc48bb6cd
Remove escapePath() to fix Unicode resource filenames
2023-09-17 21:31:22 +08:00
ZhiKai
c3b3840994
fix: fix update score permission check ( #2335 )
...
* fix: Fixed the missing permission check when updating the score field.
* Update object/user_util.go
2023-09-16 21:06:20 +08:00
Yang Luo
eacc3fae5a
fix: handle more errors in downloadImage()
2023-09-15 22:53:09 +08:00
Yang Luo
ce7a2e924b
feat: fix XML format issue in GenerateCasToken()
2023-09-15 22:38:04 +08:00
Yang Luo
ece060d03d
feat: fix XML bug in GenerateCasToken()
2023-09-15 18:57:59 +08:00
Yang Luo
1276da4daa
Check old password for normal user in SetPassword()
2023-09-15 10:21:02 +08:00
Yang Luo
616629ef99
Refactor CheckLoginPermission() code
2023-09-15 02:47:53 +08:00
Yang Luo
b633ecdcf2
Fix bug that cannot access application's public certificate for non "admin" owner
2023-09-15 00:56:40 +08:00
Yaodong Yu
a12ba7fb85
feat: allow CORS for UserInfo API in OIDC ( #2313 )
2023-09-13 18:11:13 +08:00
haiwu
08a0092974
feat: fix alipay payment provider ( #2330 )
...
* feat: support alipay payment provider
* feat: update notify params
* feat: update root cert
* feat: update ProviderEditPage.js
* feat: gofumpt
2023-09-13 17:30:51 +08:00
Yang Luo
bb04b10e8b
Fix JSON issue in GenerateCasToken()
2023-09-13 16:45:11 +08:00
Yang Luo
ea1414dfd0
Fix typo
2023-09-13 00:19:32 +08:00
Yang Luo
32a8a028d5
Set TOTP issuer to Casdoor
2023-09-12 23:56:39 +08:00
Yang Luo
0fe34c2f53
Fix the issue that database syncer can't work with null-fields on source table
2023-09-12 16:06:44 +08:00
UsherFall
dc57c476b7
feat: support acs email provider ( #2323 )
...
* feat: support acs email provider
* feat: support acs email provider
* hide Test SMTP Connection button
* fix name acs
2023-09-12 02:13:37 +08:00
Cattī Crūdēlēs
a7cb202ee9
feat: fix JSON tag of EmailVerified ( #2322 )
...
Signed-off-by: Cattī Crūdēlēs <17695588+wzy9607@users.noreply.github.com >
2023-09-11 18:33:24 +08:00
Yang Luo
e5e264628e
Remove "RUN mkdir tempFiles"
2023-09-09 20:24:18 +08:00
Palp1tate
8d4127f744
feat: improve dashboard UI for mobile devices ( #2320 )
2023-09-09 16:17:24 +08:00
Yang Luo
1305899060
Fix "app" user API denied issue
2023-09-09 15:44:36 +08:00
Yang Luo
411a85c7ab
Remove useless GetMaxLenStr()
2023-09-09 15:40:35 +08:00
Yang Luo
f39358e122
Improve SMS Test's initial value
2023-09-09 02:38:15 +08:00
Yang Luo
a84752bbb5
Update go-sms-sender to v0.14.0
2023-09-09 02:15:38 +08:00
Baihhh
e9d8ab8cdb
fix: hide tour component for mobile ( #2317 )
2023-09-08 22:53:46 +08:00
haiwu
d12088e8e7
feat: fix bug in pricing when signup by phone ( #2316 )
...
* fix: fix bug in pricing
* fix: remove log
2023-09-08 21:03:30 +08:00
Yang Luo
c62588f9bc
Add EmailVerified to UserInfo
2023-09-08 18:27:14 +08:00
haiwu
16cd09d175
feat: support wechat pay ( #2312 )
...
* feat: support wechat pay
* feat: support wechat pay
* feat: update wechatpay.go
* feat: add router /qrcode
2023-09-07 15:45:54 +08:00
Yang Luo
7318ee6e3a
Improve LocalFileSystemProvider's error handling
2023-09-07 10:49:39 +08:00
Yang Luo
3459ef1479
Improve termsOfUse UI and error handling
2023-09-07 10:33:20 +08:00
UsherFall
ca6b27f922
feat: fix notification provider frontend bug and twitter error ( #2310 )
2023-09-06 23:41:34 +08:00
Yang Luo
e528e8883b
Add "localhost" to IsRedirectUriValid()
2023-09-06 21:14:58 +08:00
Yang Luo
b7cd604e56
Mask user in GenerateCasToken()
2023-09-06 18:36:55 +08:00
Yang Luo
3c2fd574a6
Refactor GenerateCasToken()
2023-09-06 18:35:13 +08:00
Yang Luo
a9de7d3aef
Add groups to permission
2023-09-06 00:10:33 +08:00
Yang Luo
9820801634
Make Product's Providers longer (255)
2023-09-05 20:24:24 +08:00
UsherFall
c6e422c3a8
feat: add multiple notification providers ( #2302 )
...
* feat: support dingtalk notification provider
* feat: support lark notification provider
* feat: support microsoft teams notification provider
* feat: support bark notification provider
* feat: support pushover notification provider
* feat: support pushbullet notification provider
* feat: support slack notification provider
* feat: support webpush notification provider
* fix go-test error
* update notify repository
* feat: support discord notification provider
* feat: support google chat notification provider
* feat: support Line notification provider
* feat: support matrix notification provider
* feat: support twitter notification provider
* fix lint
* add no proxy provider
* update setting.js
* update social_teams
2023-09-05 17:05:34 +08:00
UsherFall
bc8e9cfd64
feat: storage provider's domain initial value bug ( #2303 )
2023-09-05 14:53:32 +08:00
Yang Luo
c1eae9fcd8
Fix TotpMfa's Verify()
2023-09-04 19:21:26 +08:00
YunShu
6dae6e4954
docs: fix all dead links ( #2297 )
...
https://github.com/Selflocking/linkchecker/actions/runs/6058177987
2023-09-03 21:19:23 +08:00
YunShu
559a91e8ee
feat: fix bug that failed to set password after changing username ( #2296 )
...
* fix: failed to set password after changing username
When we add a new member to an organization using Casdoor, Casdoor will automatically generate a member with a random username, such as "user_qvducc". When we change the username, for example, to "yunshu", an issue arises where we are unable to successfully edit the password. This is because Casdoor searches for a user based on `owner/username`, and before any changes are saved, the username in the database remains "user_qvducc". However, the frontend uses `orgName/yunshu` instead of `orgName/user_qvducc` to send the request to change the password. As a result, the backend cannot find the user and the password change fails.
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-09-03 00:04:48 +08:00
Yang Luo
b0aaf09ef1
Add 7 new i18n languages
2023-09-02 18:49:43 +08:00
Yang Luo
7e2f67c49a
Fix i18n error
2023-09-02 18:33:19 +08:00
Yang Luo
e584a6a111
Support using "?allowEmpty=1" to bypass empty displayName check in update-user API
2023-09-02 11:59:07 +08:00
YunShu
6700d2e244
fix: show error when frontend HTML entry does not exist ( #2289 )
...
* fix: add response when web file not found
The error flow is as follows:
Assuming my directory structure is as follows:
```tree
├── GitHub
│ ├── casdoor # code repository
├── casdoor # compiled binary file
```
Execute the program in the `GitHub` directory:
```bash
./casdoor/casdoor
```
The working directory at this time is `GitHub`.
According to the code:
```go
func StaticFilter(ctx *context.Context) {
urlPath := ctx.Request.URL.Path
/// omitted
path := "web/build"
if urlPath == "/" {
path += "/index.html"
} else {
path += urlPath
}
if !util.FileExist(path) {
path = "web/build/index.html"
}
if !util.FileExist(path) {
return
}
/// omitted
}
```
If the user accesses `/`, according to this code, the returned value is actually `web/build/index.html`. But the current directory is GitHub, and there is no `web/build/index.html` file. According to the following code, it will directly return:
```go
if !util.FileExist(path) {
return
}
```
Then in `main.go`:
```go
beego.InsertFilter("*", beego.BeforeRouter, routers.StaticFilter)
beego.InsertFilter("*", beego.BeforeRouter, routers.AutoSigninFilter)
beego.InsertFilter("*", beego.BeforeRouter, routers.CorsFilter)
beego.InsertFilter("*", beego.BeforeRouter, routers.ApiFilter)
beego.InsertFilter("*", beego.BeforeRouter, routers.PrometheusFilter)
beego.InsertFilter("*", beego.BeforeRouter, routers.RecordMessage)
```
The introduction of `beego.InsertFilter` is as follows:
```
func InsertFilter(pattern string, pos int, filter FilterFunc, params ...bool) *App
InsertFilter adds a FilterFunc with pattern condition and action constant. The pos means action constant including beego.BeforeStatic, beego.BeforeRouter, beego.BeforeExec, beego.AfterExec and beego.FinishRouter. The bool params is for setting the returnOnOutput value (false allows multiple filters to execute)
```
When the `params` parameter is `false`, it runs multiple filters. The default is `true`.
So normally, if
```go
beego.InsertFilter("*", beego.BeforeRouter, routers.StaticFilter)
```
response something, the following filters will not be executed. But because the file does not exist, the function directly returns, causing the subsequent filters to continue executing. When it reaches
```go
beego.InsertFilter("*", beego.BeforeRouter, routers.ApiFilter)
```
it will start to check permissions:
```
subOwner = anonymous, subName = anonymous, method = GET, urlPath = /login, obj.Owner = , obj.Name = , result = deny
```
Then it will report this error:
```json
{
"status": "error",
"msg": "Unauthorized operation",
"data": null,
"data2": null
}
```
The solution should be:
```go
func StaticFilter(ctx *context.Context) {
urlPath := ctx.Request.URL.Path
/// omitted
path := "web/build"
if urlPath == "/" {
path += "/index.html"
} else {
path += urlPath
}
if !util.FileExist(path) {
// todo: response error: page not found
return
}
/// omitted
}
```
* Update static_filter.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-09-02 00:06:04 +08:00
Cattī Crūdēlēs
0c5c308071
fix: sendCasAuthenticationResponseErr when pgtUrlObj if not valid url ( #2287 )
...
* fix: sendCasAuthenticationResponseErr when pgtUrlObj if not valid url
check pgtUrlObj.Scheme first will cause panic if url.Parse returns error.
* Update cas.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-09-01 22:26:57 +08:00
Yang Luo
0b859197da
Fix CAS "/proxyValidate" API
2023-09-01 21:47:26 +08:00
Yang Luo
3078409343
Add CertPublicKey to Application
2023-09-01 21:16:51 +08:00
Tower He
bbf2db2e00
feat: support to use a different db schema for pg ( #2281 )
2023-09-01 18:02:13 +08:00
Yang Luo
0c7b911ce7
Fix enforcer edit page logic
2023-09-01 01:30:50 +08:00
Yang Luo
2cc55715ac
Add app.conf existence check
2023-09-01 01:25:45 +08:00
Yang Luo
c829bf1769
Fix DummyPaymentProvider's return URL
2023-09-01 01:25:15 +08:00
Yang Luo
ec956c12ca
Fix Email duplicated issue in update-user
2023-08-31 23:44:40 +08:00
Tower He
d3d4646c56
feat: fix can not create db when using pg with a dbname in DSN ( #2280 )
...
* fix: can not create db when using pg with a dbname in DSN
* Update ormer.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-31 18:05:38 +08:00
Yang Luo
669ac7c618
Don't encrypt user pass when user.PasswordType is non-empty when adding users
2023-08-31 17:49:36 +08:00
Yang Luo
6715efd781
Fix enforcer edit page
2023-08-31 17:32:36 +08:00
haiwu
953be4a7b6
feat: support subscription periods (yearly/monthly) ( #2265 )
...
* feat: support year/month subscription
* feat: add GetPrice() for plan
* feat: add GetDuration
* feat: gofumpt
* feat: add subscription mode for pricing
* feat: restrict auto create product operation
* fix: format code
* feat: add period for plan,remove period from pricing
* feat: format code
* feat: remove space
* feat: remove period in signup page
2023-08-30 17:13:45 +08:00
Yang Luo
943cc43427
Fix payment list and product edit actions
2023-08-28 21:01:23 +08:00
Yang Luo
1e5ce7a045
Fix crash in syncUsersNoError()
2023-08-28 01:51:06 +08:00
Baihhh
7a85b74573
fix: fix tour disabled state ( #2264 )
...
* fix: distinguish between pages that can tour or not
* Update OpenTour.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-27 23:18:14 +08:00
Yang Luo
7e349c1768
feat: fix crash bug in getSteps()
2023-08-27 21:58:58 +08:00
Baihhh
b19be2df88
fix: change the id to key in syncer ( #2263 )
2023-08-27 20:57:27 +08:00
Yang Luo
fc3866db1c
Use XORM grammar in syncer
2023-08-27 18:15:23 +08:00
Yang Luo
bf2bb31e41
Add sslMode for syncer
2023-08-27 17:07:19 +08:00
Baihhh
ec8bd6f01d
feat: add tour for list pages ( #2243 )
2023-08-27 16:40:31 +08:00
Yang Luo
98722fd681
Fix crash in app list page for normal user
2023-08-27 11:31:48 +08:00
Yang Luo
221c55aa93
Fix yarn build cmd
2023-08-27 11:17:18 +08:00
Yang Luo
988b26b3c2
Return error for RunSyncer()
2023-08-27 02:22:37 +08:00
Yang Luo
7e3c361ce7
Add all webhook events
2023-08-26 23:50:24 +08:00
Yang Luo
a637707e77
Fix null bug in IsAdminOrSelf()
2023-08-26 10:39:46 +08:00
Yaodong Yu
7970edeaa7
feat: password and invitation code verification rules ( #2258 )
2023-08-25 21:16:21 +08:00
haiwu
9da2f0775f
fix: fix bug in Pricing ( #2255 )
2023-08-25 19:27:46 +08:00
Yang Luo
739a9bcd0d
feat: add CasvisorUrl
2023-08-25 11:56:12 +08:00
Yang Luo
fb0949b9ed
Fix docker cannot get version bug
2023-08-25 11:49:47 +08:00
Yang Luo
27ed901167
Restrict sysinfo page to global admin
2023-08-25 11:20:11 +08:00
Yang Luo
ceab662b88
Remove dup swagger page
2023-08-25 11:09:59 +08:00
haiwu
05b2f00057
feat: support Pricings flow ( #2250 )
...
* feat: fix price display
* feat: support subscription
* feat: fix select-plan-> signup -> buy-plan -> login flow
* feat: support paid-user to login and jump to the pricing page
* feat: support more subscription state
* feat: add payment providers for plan
* feat: format code
* feat: gofumpt
* feat: redirect to buy-plan-result page when user have pending subscription
* feat: response err when pricing don't exit
* Update PricingListPage.js
* Update ProductBuyPage.js
* Update LoginPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-24 23:20:50 +08:00
Yang Luo
8073dfa88c
Remove tmpFiles folder usage
2023-08-24 22:03:36 +08:00
Yang Luo
1eeeb64a0c
Add checkModel() for UserGroupEnforcer
2023-08-24 18:22:23 +08:00
Yaodong Yu
f5e0461cae
feat: add invitation code for signup feature ( #2249 )
...
* feat: add invitation code for signup feature
* feat: add invitation code for signup feature
2023-08-24 13:42:17 +08:00
Andrey
a0c5eb241f
feat: add fields to syncer (PreferredMfaType, TotpSecret, SignupApplication) #2239 ( #2245 )
2023-08-23 21:40:00 +08:00
Lars Lehtonen
4d8edcc446
fix: dropped controllers err ( #2244 )
...
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com >
2023-08-23 21:37:51 +08:00
Yaodong Yu
2b23c04f49
fix: add SignupApplication and type for user synced from LDAP ( #2240 )
2023-08-21 22:52:35 +08:00
Cattī Crūdēlēs
e60ee52d91
feat: replace satori/go.uuid with google/uuid ( #2238 )
2023-08-21 13:58:15 +08:00
UsherFall
c54b54ca19
fix: Adjust custom http to notification provider ( #2237 )
...
* feat: Adjust custom http to notification provider
* fix go linter
* update ProviderEditPage
* update ProviderEditPage
2023-08-20 21:04:30 +08:00
Yaodong Yu
f0e097e138
feat: fix home page ( #2236 )
...
* fix: home page
* fix: home page
2023-08-20 00:58:39 +08:00
Yang Luo
25ec1bdfa8
Fix bug in getUserOrganization()
2023-08-20 00:53:51 +08:00
Yang Luo
ea7718d7b7
Use Casvisor for records
2023-08-20 00:44:01 +08:00
Yang Luo
463fa8b636
Add ormer_session.go
2023-08-19 18:41:08 +08:00
Yang Luo
11895902f4
Move getCreateDatabaseFlag() to ormer
2023-08-19 16:44:34 +08:00
Yang Luo
15269d3315
Refactor out conf_quota.go
2023-08-19 16:39:21 +08:00
Yang Luo
4468859795
Improve sendTest msg
2023-08-19 12:47:51 +08:00
UsherFall
914128a78a
fix: Support Telegram Notification provider ( #2225 )
...
* fear: support telegram provider
* fix: fix telegram logo
* fix: fix telegram bot package
* Update telegram.go
* Update notification.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-19 12:33:00 +08:00
Yaodong Yu
e5a189e0f4
fix: remove isGlobalAdmin field in user ( #2235 )
...
* refactor: remove isGlobalAdmin field in user
* fix: upload xlsx
* fix: remove field in account table
2023-08-19 12:23:15 +08:00
Yang Luo
a07216d0e1
Improve contentType parsing in downloadImage()
2023-08-19 02:35:45 +08:00
haiwu
fec54944dd
feat: fix CAS login bug ( #2230 )
...
* fix: cas login
* fix: cas login
* feat: rollback get-default-app change
* fix : move cas restrict logic to GetApplicationLogin()
* fix: format code
* fix: fix getOAuthGetParameters for cas
* fix: fix getOAuthGetParameters for cas
* fix: cas login
2023-08-19 01:15:41 +08:00
hsluoyz
a2db61cc1a
chore: Revert "feat: restrict redirectUrls for CAS login" ( #2234 )
...
This reverts commit b7a37126ad .
2023-08-19 00:30:35 +08:00
Yaodong Yu
134541acde
chore: put some dev dependency package to right place ( #2232 )
2023-08-18 22:17:16 +08:00
Yaodong Yu
59fca0342e
chore: fix yarn build warning ( #2231 )
2023-08-18 21:25:57 +08:00
Yang Luo
abfc464155
Remove isEnabled for model, adapter and enforcer, improve UI
2023-08-18 19:22:47 +08:00
Yaodong Yu
a41f6880a2
feat: move policy table from adapter to enforcer and improve it ( #2228 )
...
* feat: improve policiy table
* feat: add connection test in AdapterEditPage.js
* feat: update button style
2023-08-18 19:00:21 +08:00
Yaodong Yu
d12117324c
feat: support admin to enable MFA for other users ( #2221 )
...
* feat: support admin enable user sms and email mfa
* chore: update ci
* chore: update ci
2023-08-17 17:19:24 +08:00
hsluoyz
1a6c9fbf69
Fix typo in README
2023-08-17 14:47:09 +08:00
hsluoyz
dd60d79af9
Fix typo in README
2023-08-17 14:46:10 +08:00
Yang Luo
73d314c7fe
Add MfaTotpPeriodInSeconds param
2023-08-16 21:48:54 +08:00
Yaodong Yu
27959e0f6f
fix: fix crash in UserEditPage.js
2023-08-16 15:57:48 +08:00
Baihhh
47f40c5b24
feat: support 3 more UI languages ( #2218 )
...
Signed-off-by: baihhh <2542274498@qq.com >
2023-08-16 15:54:34 +08:00
haiwu
2ff9020884
feat: support Stripe payment provider ( #2204 )
...
* feat: add stripe payment provider
* feat: support stripe payment
* feat: delete todo comment
* feat: remove description struct
* feat: change outOrderId->orderId
2023-08-15 00:16:30 +08:00
Yang Luo
abaf4ca8d9
Make GetDashboard() faster
2023-08-14 15:43:09 +08:00
珩
8ff0cfd6ec
feat: support dashboard in homepage ( #2207 )
...
* feat: support dashboard
* feat: support dashboard
2023-08-14 15:31:29 +08:00
Yang Luo
7a2a40edcc
Improve table columns
2023-08-14 12:19:02 +08:00
Yang Luo
b7a001ea39
Fix property empty issue
2023-08-14 12:09:50 +08:00
haiwu
891e8e21d8
feat: support Web3-Onboard provider ( #2209 )
...
* feat: add Web3-Onboard idp
* feat: update Web3-Onboard logo
* feat: update package.json
* feat: remove unused package
* feat: add yarn build param --max_old_space_size=4096
* feat: remove log
* feat: add Wallet configure
* feat: remove hardware wallets
2023-08-13 23:58:57 +08:00
Baihhh
80b0d26813
fix: synchronize update the syncers ( #2201 )
...
Signed-off-by: baihhh <2542274498@qq.com >
2023-08-13 22:30:57 +08:00
Yaodong Yu
db4ac60bb6
feat: fix LDAP mobile field incorrect mapped ( #2206 )
2023-08-12 13:45:26 +08:00
Yang Luo
33a922f026
Add custom HTTP SMS provider
2023-08-12 12:52:53 +08:00
Yang Luo
9f65053d04
Improve i18n
2023-08-12 02:44:38 +08:00
Yang Luo
be969e5efa
Fix typo
2023-08-11 22:18:35 +08:00
Yang Luo
9156bd426b
ci: Show provider.displayName in signin button
2023-08-11 16:29:52 +08:00
Yang Luo
fe4a4328aa
feat: refactor code in InitApi()
2023-08-11 16:17:29 +08:00
Yaodong Yu
9899022bcd
fix: check enforcer should not be nil ( #2199 )
...
* fix: check enforcer should not be nil
* fix: check enforcer should not be nil
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-11 12:31:49 +08:00
Yaodong Yu
1a9d02be46
feat: use the casbin model to store relationships between users and groups ( #2178 )
...
* fix:reslove conflict
* fix: remove interface
2023-08-11 10:59:18 +08:00
Yang Luo
eafaa135b4
Change builtInAvailableField back to 5
2023-08-11 02:45:11 +08:00
Yang Luo
6746551447
Improve error message in InitEnforcer()
2023-08-11 02:36:29 +08:00
Yang Luo
3cb46c3628
Add isKey to syncer's table
2023-08-09 00:33:04 +08:00
Yaodong Yu
558bcf95d6
feat: save policy in adapter edit page ( #2190 )
...
* fix: save policy in adapter
* fix: disable edit for builtin adapter
2023-08-09 00:12:53 +08:00
Yang Luo
bb937c30c1
Fix empty cert in getPaymentProvider()
2023-08-08 22:37:48 +08:00
Baihhh
8dfdf7f767
ci: add GoogleCloud and QiNiu in Storage ( #2188 )
...
* feat: add GoogleCloud and QiNiu in Storage
Signed-off-by: baihhh <2542274498@qq.com >
* Update qiniu_cloud.go
* Update storage.go
---------
Signed-off-by: baihhh <2542274498@qq.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-08 22:34:55 +08:00
Yang Luo
62b2082e82
Add getUserOrganization() to user edit page
2023-08-08 21:58:27 +08:00
Yang Luo
a1806439f8
Add UserPrincipalName and MemberOf to get-ldap-users API
2023-08-08 20:18:47 +08:00
Yang Luo
01e58158b7
feat: Remove useless code
2023-08-08 19:16:55 +08:00
Yaodong Yu
15427ad9d6
fix: fix add provider error ( #2184 )
2023-08-07 17:22:32 +08:00
YunShu
d058f78dc6
fix: fix broken links ( #2181 )
2023-08-07 01:02:03 +08:00
UsherFall
fd9dbf8251
feat: add multiple SMS providers ( #2182 )
...
* feat: add amazon sns and azure acs provider
* feat: add msg91 sms provider
* feat: add infobip sms provider
* feat: add ucloud sms provider
* feat: add baidu cloud sms provider
* fix: fix logo and azure acs
2023-08-07 00:59:17 +08:00
Yaodong Yu
3220a04fa9
fix: use org/groupName replace groupName ( #2180 )
2023-08-06 20:16:44 +08:00
Yaodong Yu
f06a4990bd
fix: rename in init.go ( #2179 )
...
* fix: rename in init.go
* fix: remove blank line
* fix: remove blank line
* Update init.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-08-06 13:07:30 +08:00
Yang Luo
9df7de5f27
Improve menu icons
2023-08-05 18:00:24 +08:00
Yang Luo
56c808c091
Improve menu
2023-08-05 17:41:35 +08:00
Yang Luo
9fd2421564
Update @ant-design/cssinjs dependency to avoid build error
2023-08-04 01:22:57 +08:00
Yang Luo
689d45c7fa
feat: fix org name cannot be changed bug
2023-08-03 18:48:37 +08:00
Yang Luo
c24343bd53
Fix XxxChangeTrigger() doesn't return error bug
2023-08-03 18:45:49 +08:00
Yang Luo
979f43638d
Change builtInAvailableField to 10
2023-08-03 18:17:15 +08:00
Yaodong Yu
685a4514cd
fix: revert adapter port vartype to int ( #2174 )
2023-08-03 09:35:16 +08:00
Yaodong Yu
a05ca3af24
feat: use role ID to search in GetPermissionsAndRolesByUser() ( #2170 )
2023-08-02 20:58:06 +08:00
Yang Luo
c6f301ff9e
Support svg in downloadImage()
2023-07-31 20:23:28 +08:00
haiwu
d7b2bcf288
feat: support payment cancel state ( #2165 )
2023-07-31 15:24:13 +08:00
Yang Luo
67ac3d6d21
Fix typo
2023-07-31 15:23:44 +08:00
Yaodong Yu
912d5c6a7f
fix: support enforcerId parameter in Enforce API ( #2164 )
2023-07-31 00:20:53 +08:00
Yang Luo
32fbb5b534
Support custom provider for storage API
2023-07-30 23:19:45 +08:00
Yang Luo
21004f3009
Fix GetResources() missing items bug
2023-07-30 22:47:14 +08:00
Yang Luo
463bacd53b
Add GetDirectResources()
2023-07-30 22:01:10 +08:00
Baihhh
78dc660041
feat: support 3 more language ( #2163 )
...
Signed-off-by: baihhh <2542274498@qq.com >
2023-07-30 20:45:47 +08:00
Yang Luo
2fb9674171
Fix file not exist panic in StaticFilter()
2023-07-30 19:03:21 +08:00
Yang Luo
55c522d3b7
Improve provider type input box
2023-07-30 17:31:36 +08:00
Yang Luo
f879170663
Remove AI related code
2023-07-30 14:39:27 +08:00
Yang Luo
12e5d9b583
Remove adapter.file
2023-07-30 12:08:05 +08:00
haiwu
eefa1e6df4
fix: fix paypal payment provider and refactor payment code ( #2159 )
...
* feat: support paypal payment provider
* feat: support paypal flow
* feat: use owner replace org for payment
* feat: update paypal logic
* feat: gofumpt
* feat: update payment
* fix: fix notify
* feat: delete log
2023-07-30 11:54:42 +08:00
Yaodong Yu
026fb207b3
fix: remove model in adapter page ( #2161 )
2023-07-29 23:42:08 +08:00
Yaodong Yu
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
Yang Luo
74b058aa3f
Fix sync-ldap-users() bug, brought by: 666ff48837
2023-07-29 13:14:55 +08:00
Yang Luo
6c628d7893
Fix static path not changed bug in makeGzipResponse()
2023-07-29 12:23:48 +08:00
Yang Luo
a38896e4d8
Improve swagger docs
2023-07-29 11:35:03 +08:00
Yang Luo
5f054c4989
Fix product links
2023-07-28 15:08:45 +08:00
Tower He
fb16d8cee6
fix: not set count of enforcers to the response ( #2155 )
2023-07-28 14:46:11 +08:00
Baihhh
5e4ba4f338
feat: add authorize button and defaultValue ( #2152 )
...
Signed-off-by: baihhh <2542274498@qq.com >
2023-07-27 23:55:35 +08:00
Yang Luo
ca47af2ee1
Make post_logout_redirect_uri optional for logout
2023-07-27 23:26:30 +08:00
Ilya Sulimanov
59da104463
fix: update ldap admin pwd only if changed ( #2146 )
...
* fix ldap pwd update
* fix: linter
* fix: simplify check
2023-07-27 17:49:15 +08:00
Yaodong Yu
c5bb916651
fix: fix response data in PricingPage.js ( #2143 )
2023-07-27 10:46:31 +08:00
WintBit
e98264f957
fix: application fails to call /api/get-resources ( #2139 )
...
just like other apis, resource.go.GetResources() no longer calls ApiController.RequireSignedInUser() to auth or check
2023-07-26 17:19:00 +08:00
June
6a952952a8
fix: unmask application for org admin ( #2138 )
...
* feat: unmask application with user admin
* Update application.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-26 17:17:49 +08:00
Yang Luo
ba8a0f36be
Support custom actions in permission edit page
2023-07-26 14:49:45 +08:00
June
b5e9084e5d
feat: en/decodeURI in permission/role name ( #2137 )
2023-07-26 13:08:35 +08:00
June
55d5ae10f2
fix: fix infinite loop in containsRole() ( #2136 )
2023-07-25 20:53:08 +08:00
Yang Luo
6986dad295
Use arg to control createDatabaseForPostgres()
2023-07-25 18:36:15 +08:00
Yaodong Yu
949feb18af
feat: add basic enforcer manager ( #2130 )
...
* feat: add basic enforcer manager
* chore: generate swagger
2023-07-25 17:17:59 +08:00
haiwu
d1f88ca9b8
feat: support google one tap signin ( #2131 )
...
* feat: add google one tap support
* feat: gofumpt
* feat: add google provider rule conf
* feat: update i18n
2023-07-25 15:49:15 +08:00
Yaodong Yu
bfe8e5f3e7
fix: fix response data assignment error ( #2129 )
2023-07-25 13:52:31 +08:00
Yang Luo
702ee6acd0
Print log for StartLdapServer()'s error
2023-07-25 01:49:43 +08:00
Yaodong Yu
0a9587901a
fix: fix response data assignment error in ApplicationEditPage.js ( #2126 )
2023-07-24 20:09:09 +08:00
Yaodong Yu
577bd6ce58
feat: fix response data assignment error ( #2123 )
2023-07-24 14:52:30 +08:00
Yaodong Yu
3c4112dd44
refactor: optimize the code to getEnforcer ( #2120 )
2023-07-24 14:02:34 +08:00
haiwu
b7a37126ad
feat: restrict redirectUrls for CAS login ( #2118 )
...
* feat: support cas restricted login
* feat: add cas login i18n
* feat: add CheckCasService for all cas api
* feat: gofumpt
* feat: replace 404
* feat: reuse i18n
* feat: delete CheckCasService
* Update token_cas.go
* Update LoginPage.js
* Update token_cas.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-24 11:47:31 +08:00
UsherFall
8669d5bb0d
chore: hide field of IntranetEndpoint in Tencent COS storage provider ( #2117 )
2023-07-23 19:02:42 +08:00
Baihhh
aee3ea4981
feat: improve TermsOfUse UI in mobile ( #2106 )
...
* style: Mobile interface adaptation
Signed-off-by: baihhh <2542274498@qq.com >
* Update index.css
---------
Signed-off-by: baihhh <2542274498@qq.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-23 15:28:13 +08:00
Yang Luo
516f4b7569
Fix response of /api/get-sorted-users and /api/get-user-count
2023-07-23 14:46:38 +08:00
UsherFall
7d7ca10481
fix: hide fields of minio storage provider ( #2115 )
...
* feat: hide field of minio storage provider
* feat: hide field of domain in minio storage provider
2023-07-23 14:40:30 +08:00
UsherFall
a9d4978a0f
chore: hide fields of local file system storage provider ( #2109 )
...
* style: adjust local file system storage
* style: disable domain when use local file system
2023-07-23 11:48:15 +08:00
Yang Luo
09f40bb5ce
Fix id of "/api/get-resource" API
2023-07-23 11:33:48 +08:00
Yaodong Yu
a6f803aff1
feat: refactor code to use responseOK everywhere ( #2111 )
...
* refactor: use responseOK return frontend format json data
* revert handle error
* revert handle error
2023-07-23 09:49:16 +08:00
Yang Luo
fc9528be43
Add createDatabaseForPostgres()
2023-07-22 16:19:13 +08:00
imp2002
58e8f9f90b
feat: fix Effect in Casbin rule ( #2103 )
...
* fix: Add `Effect` to Casbin rule of role
fix: https://github.com/casdoor/casdoor/issues/2102
* Update permission_enforcer.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-21 18:01:37 +08:00
Yang Luo
e850e33f37
Fix error message of missing cert when login
2023-07-20 19:45:22 +08:00
haiwu
d7110ff8bf
feat: support MetaMask provider ( #2084 )
...
* feat: add metamask provider
* feat: add eth login
* feat: check eth sign
* feat: finish metamask signin/signup
* feat: support MetaMask provider link/unlink
* feat: update web/craco.config.js to handle polyfill
* feat: gofumpt idp/metamask.go
* feat: update MetaMask logo path
* feat: support MetaMask avatar
2023-07-20 17:51:36 +08:00
珩
f923a8f0d7
fix: provide detailed description of ldap in swagger ( #2094 )
...
* provide detailed description of ldap in swagger
* modify the directory of swagger
fix: provide detailed description of ldap in swagger
2023-07-20 12:32:48 +08:00
Yang Luo
7bfb74ba18
Fix typo
2023-07-19 19:34:43 +08:00
Yang Luo
38f031bc86
Show access secret if isAdminOrSelf is true in get-user and get-account APIs
2023-07-19 19:14:53 +08:00
Yang Luo
5c441d195c
Add Effect to Casbin rule of add-permission
2023-07-19 18:52:22 +08:00
Yaodong Yu
0639564d27
fix: check group name cannot be same as organization name ( #2090 )
2023-07-19 11:37:28 +08:00
Yang Luo
6c647818ca
feat: add "Sender number" input for Twilio SMS provider
2023-07-18 22:46:56 +08:00
Yaodong Yu
8bc73d17aa
feat: fix bug that themeEditor can not load saved theme data ( #2085 )
2023-07-17 22:57:55 +08:00
Yang Luo
1f37c80177
feat: refactor code to add getStorageProvider()
2023-07-17 15:59:37 +08:00
Yaodong Yu
7924fca403
fix: hidden bug of "like" query ( #2082 )
2023-07-16 17:11:32 +08:00
Yang Luo
bd06996bab
Improve CorsFilter for login API
2023-07-15 19:29:48 +08:00
Yang Luo
19ab168b12
Fix panic in func (c *ApiController) GetUser() if no user exists in DB
2023-07-14 20:57:59 +08:00
UsherFall
854a74b73e
feat: fix the error when user uploads avatar to minio (https) ( #2078 )
...
* fix: Error reported when user uploads avatar to minio (https)
* Update provider.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-14 15:58:30 +08:00
yehong
beefb0b432
fix: fix event-stream streaming output in prod mode ( #2076 )
2023-07-14 11:59:26 +08:00
Yang Luo
d8969e6652
Support EnableSigninSession after SAML login
2023-07-14 11:27:18 +08:00
Yang Luo
666ff48837
Use id param in /sync-ldap-users API
2023-07-13 00:14:18 +08:00
Yang Luo
0a0c1b4788
Fix "Groups is immutable" bug when updating a user
2023-07-13 00:03:18 +08:00
Yang Luo
438c999e11
Add password mask to /get-ldaps and /get-ldap APIs
2023-07-12 23:21:47 +08:00
Yang Luo
a193ceb33d
Fix bug in TestDeployStaticFiles()
2023-07-12 23:11:02 +08:00
Yang Luo
caec1d1bac
Only consider x509 certs in /.well-known/jwks API
2023-07-12 22:39:39 +08:00
Denis Plynskiy
0d48da24dc
feat: fix wrong rowKey for tables ( #2070 )
2023-07-12 21:12:36 +08:00
Yaodong Yu
de9eeaa1ef
fix: init groups modify rule with admin ( #2054 )
2023-07-11 09:49:49 +08:00
Baihhh
ae6e35ee73
feat: fix bug that the password input disappears in login window ( #2051 )
...
Signed-off-by: baihhh <2542274498@qq.com >
2023-07-08 23:46:31 +08:00
Yaodong Yu
a58df645bf
fix: fix state after mfa is enabled ( #2050 )
2023-07-08 22:35:31 +08:00
WintBit
68417a2d7a
fix: /api/upload-resource panics when parsing file_type ( #2046 )
2023-07-07 16:18:25 +08:00
WintBit
9511fae9d9
docs: add swagger docs for Resource-API ( #2044 )
...
swagger files are all auto generated.
2023-07-07 14:28:10 +08:00
Yaodong Yu
347d3d2b53
feat: fix bugs in MFA ( #2033 )
...
* fix: prompt mfa binding
* fix: clean session when leave promptpage
* fix: css
* fix: force enable mfa
* fix: add prompt rule
* fix: refactor directory structure
* fix: prompt notification
* fix: fix some bug and clean code
* fix: rebase
* fix: improve notification
* fix: i18n
* fix: router
* fix: prompt
* fix: remove localStorage
2023-07-07 12:30:07 +08:00
Gucheng Wang
6edfc08b28
Refactor the code
2023-07-07 00:13:05 +08:00
Baihhh
bc1c4d32f0
feat: user can upload ID card info ( #2040 )
...
* feat:user can upload ID card(#1999 )
Signed-off-by: baihhh <2542274498@qq.com >
* feat: user can upload ID card, add diff languages
Signed-off-by: baihhh <2542274498@qq.com >
---------
Signed-off-by: baihhh <2542274498@qq.com >
2023-07-06 20:36:32 +08:00
YunShu
96250aa70a
docs: replace gitter links with discord ( #2041 )
2023-07-06 18:16:16 +08:00
Yaodong Yu
3d4ca1adb1
feat: support custom user mapping ( #2029 )
...
* feat: support custom user mapping
* fix: parse id to string
* Update data.json
* Update data.json
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-07-05 20:35:02 +08:00
Yang Luo
ba97458edd
feat: fix StaticFilter issue
2023-07-05 17:54:39 +08:00
Yang Luo
855259c6e7
feat: improve getOriginFromHost() for local machine name
2023-07-05 09:51:08 +08:00
June
28297e06f7
feat: IntrospectToken return the right Jti (JWT ID instead of User Id) ( #2035 )
2023-07-03 19:01:06 +08:00
Yang Luo
f3aed0b6a8
Fix null panic in GetOrganizationByUser()
2023-07-03 14:56:14 +08:00
haiwu
35e1f8538e
feat: fix panic when url.Parse() fails to parse URL ( #2034 )
2023-07-03 12:35:22 +08:00
Yang Luo
30a14ff54a
Fix null issue in getDefaultApplication()
2023-07-02 09:44:48 +08:00
Yang Luo
1ab7a54133
Add DefaultApplication to conf
2023-07-02 09:15:22 +08:00
Yang Luo
0e2dad35f3
Improve OrganizationSelect width
2023-06-30 02:04:44 +08:00
Yang Luo
d31077a510
Remove conf values
2023-06-30 01:38:48 +08:00
Denis Plynskiy
eee9b8b9fe
feat: add organization context select box for admin ( #2013 )
...
* feat: organization as context
* feat: organization as context with backend filtration
* Update app.conf
* update app.conf and hide organization select for mobile.
---------
Co-authored-by: dplynsky <dplynsky@ptsecurity.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-30 01:32:34 +08:00
Baihhh
91cb5f393a
fix: fix Swagger docs page ( #2025 )
...
Signed-off-by: baihhh <2542274498@qq.com >
2023-06-30 00:48:39 +08:00
haiwu
807aea5ec7
feat: add tags to application ( #2027 )
...
* feat: add tags to application
* fix: fix for merge master
* feat: update i18n(backend&frontend) for application tags
2023-06-30 00:04:12 +08:00
Yaodong Yu
1c42b6e395
fix: refactor the idp and regex code ( #2030 )
...
* refactor: validate util and idp
* chore: clean code
* chore: clean code
2023-06-29 21:44:14 +08:00
Ilya Sulimanov
49a73f8138
fix: getOrganization without pagination for global admin ( #2028 )
...
* fix: getOrganization without pagination for global admin return only built-in org
* fix gofumpt
2023-06-29 18:56:19 +08:00
Yang Luo
55784c68a3
Fix bug in /get-organizations API for org admin
2023-06-28 09:19:39 +08:00
June
8080b10b3b
feat: show code signin page with password disabled ( #2021 )
2023-06-28 00:38:48 +08:00
Trần Thanh Tịnh
cd7589775c
feat: replace all panic by response err ( #1993 )
...
* fix: missing return after response error
* feat: handle error in frontend
* feat: disable loading and catch org edit error
* chore: i18 for error message
* chore: remove break line
* feat: application catching error
2023-06-27 21:33:47 +08:00
Yaodong Yu
0a8c2a35fe
feat: add TOTP multi-factor authentication ( #2014 )
...
* feat: add totp multi-factor authentication
* feat: add license
* feat:i18n and update yarn.lock
* feat:i18n
* fix: i18n
2023-06-24 18:39:54 +08:00
XDTD
d1e734e4ce
fix: set the default value of user.Groups for syncer ( #2016 )
...
fix: set the default value of user.Groups for syncer
2023-06-24 18:29:50 +08:00
XDTD
68f032b54d
fix: add isReadOnly for syncer ( #2015 )
...
* feat: add read only mod for syncer
* feat: change readOnlyEnable to isReadOnly
2023-06-24 17:56:41 +08:00
June
1780620ef4
feat: handle error when permission not found ( #2012 )
2023-06-24 00:30:43 +08:00
Yang Luo
5c968ed1ce
Fix avatar cannot show issue
2023-06-23 15:53:41 +08:00
Yang Luo
4016fc0f65
Add EnableChatPages to Conf
2023-06-23 11:35:34 +08:00
June
463b3ad976
fix: refactor and optimize Enforce() API ( #2009 )
2023-06-22 17:45:24 +08:00
Yang Luo
b817a55f9f
Fix error handling in SetPassword()
2023-06-22 14:51:56 +08:00
June
2c2ddfbb92
feat: optimize batch-enforce ( #1997 )
2023-06-22 14:40:09 +08:00
Alex OvsInc
cadb533595
fix: unsafe verification username in CheckUsername ( #2006 )
...
* Customization of the initialization file
* Unsafe verification username in CheckUsername
2023-06-21 23:20:23 +08:00
Yang Luo
a3b0f1fc74
feat: add owner to getUserByWechatId()
2023-06-21 21:29:53 +08:00
Yaodong Yu
c391af4552
feat: improve MFA by using user's own Email and Phone ( #2002 )
...
* refactor: mfa
* fix: clean code
* fix: clean code
* fix: fix crash and improve robot
2023-06-21 18:56:37 +08:00
Alex OvsInc
6ebca6dbe7
fix: Gosec/sec fixes ( #2004 )
...
* 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
2023-06-21 18:55:20 +08:00
Yang Luo
d505a4bf2d
Remove org API calls in PasswordModal page
2023-06-21 00:49:03 +08:00
Yang Luo
812bc5f6b2
Fix "nu" bug in GetLanguage()
2023-06-20 21:16:01 +08:00
Xinhao Yuan
f6f4d44444
feat: remove url.JoinPath() to be compatible with Go 1.17 ( #1995 )
2023-06-20 17:44:40 +08:00
StevenLei
926e73ed1b
fix: fix "Accept-Language" parsing in request ( #1996 )
2023-06-20 17:43:48 +08:00
Yaodong Yu
65716af89e
feat: deprecate the user group relation table ( #1990 )
...
* fix: deprecate the user group relation table
* fix: clean code
* fix: fix trigger
* Update group.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-19 19:08:45 +08:00
Yang Luo
d9c4f401e3
Fix error in downloadImage()
2023-06-19 17:52:01 +08:00
Yang Luo
58aa7dba6a
Fix groups in GetUserInfo()
2023-06-19 11:06:55 +08:00
Yang Luo
29fc820578
Set User.groups to []
2023-06-19 09:42:17 +08:00
Yaodong Yu
d0ac265c91
fix: Deprecate the id field in group ( #1987 )
2023-06-18 23:33:13 +08:00
hsluoyz
3562c36817
feat: Revert "fix: fix URL path in MinIO storage provider" ( #1988 )
...
This reverts commit 3699177837 .
2023-06-18 23:08:40 +08:00
Yang Luo
7884e10ca3
Refactor adapter's owner and organization
2023-06-18 00:22:12 +08:00
Yang Luo
12dee8afd3
Fix null options in checkPasswordComplexity()
2023-06-17 22:38:02 +08:00
Yang Luo
ac4b870309
Improve getFaviconFileBuffer()
2023-06-17 12:50:01 +08:00
Yang Luo
b9140e2d5a
Refactor refreshAvatar()
2023-06-17 11:43:46 +08:00
Yang Luo
501f0dc74f
Add user_avatar.go
2023-06-17 01:25:15 +08:00
Yang Luo
a932b76fba
Remove useless check in SetPassword()
2023-06-17 00:58:31 +08:00
leoil
0f57ac297b
ci: add password complexity options to organization edit page ( #1949 )
...
* Support uploading roles and permissions via xlsx file.
* Template xlsx file for uploading users and permissions.
* reformat according to gofumpt.
* fix typo.
* add password complexity options to organization edit page.
* add password complexity options to organization edit page.
* Fixed Typos.
* Fixed Typos.
* feat:add password complexity options to organization edit page
* Auto generate i18n fields.
* Refactor code according to instructions
* Support autocheck passwd complexity in frontend when setting passwd in user edit page.
* feat:Backend Support for password validation in signup and forget page.
* feat:Frontend Support for password validation in signup and forget page.
* Add default password complex option & Update historical empty filed with default option.
* Migrator for field `password_complex_options` in org table.
* feat: support frontend password complex option check in user_edit/forget/signup page.
* frontend update for user edit page
* update i18n file
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-17 00:07:36 +08:00
June
edc6aa0d50
feat: get all role/permission of an user ( #1978 )
2023-06-16 22:44:21 +08:00
Yang Luo
ebc0e0f2c9
Update i18n words
2023-06-16 22:06:54 +08:00
Yang Luo
63dd2e781e
Update backend i18n files
2023-06-16 21:55:08 +08:00
Yang Luo
b01ba792bb
Rename to accessSecret
2023-06-16 20:42:15 +08:00
Yaodong Yu
98fb9f25b0
feat: fix bug that users in role don't work for permissions ( #1977 )
...
* feat: fix check login permission
* feat: fix check login permission
2023-06-16 20:14:27 +08:00
XDTD
cc456f265f
feat: fix LDAP user password checking logic in GetOAuthToken() ( #1975 )
2023-06-15 21:04:09 +08:00
Yaodong Yu
7058a34f87
feat: complete group tree ( #1967 )
...
* feat: complete group tree
* feat: ui
* fix: i18n
* refactor code
* fix: support remove user from group
* fix: format code
* Update organization.go
* Update organization.go
* Update user_group.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-14 23:27:46 +08:00
UsherFall
8e6755845f
ci: fix bug in PaypalPaymentProvider ( #1972 )
2023-06-13 23:33:03 +08:00
XDTD
967fa4be68
feat: add access key and secret key for user ( #1971 )
2023-06-13 22:18:17 +08:00
Yaodong Yu
805cf20d04
feat: fix incorrect VerifyTypePhone value ( #1968 )
2023-06-13 17:26:37 +08:00
907997375
2a8001f490
fix: clean timeout when componentWillUnmount in PaymentResult page ( #1962 )
2023-06-13 02:00:52 +08:00
UsherFall
451fc9034f
fix: fix bug in PayPal payment provider ( #1959 )
2023-06-12 13:43:37 +08:00
Yaodong Yu
0e14a2597e
feat: Add tree structure to organization page ( #1910 )
...
* rebase master
* feat: add group in userEditPage
* feat: use id as the pk
* feat: add groups item in user
* feat: add tree component
* rebase
* feat: ui
* fix: fix some bug
* fix: route
* fix: ui
* fix: improve ui
2023-06-12 09:27:16 +08:00
Yang Luo
ff87c4ea33
feat: fix createDatabase arg not recognized bug
2023-06-12 01:57:58 +08:00
Yang Luo
4f5396c70e
Check error for CreateDatabase()
2023-06-12 01:47:26 +08:00
Yang Luo
3c30222fce
Fix payment owner issue
2023-06-12 00:34:41 +08:00
Yang Luo
2d04731622
Provide default value for logConfig
2023-06-10 15:59:56 +08:00
Yang Luo
e0d2bc3dc9
Return error in GetProviderFromContext()
2023-06-10 15:51:26 +08:00
Jiawei Chen
0bda29f143
feat: show 404 error for non-existent objects in edit pages
2023-06-10 01:56:15 +08:00
Yang Luo
05703720c5
Add Custom to resourceType
2023-06-09 21:52:30 +08:00
hsluoyz
cc566bf31f
Move DoMigration() after CreateTables()
2023-06-09 09:36:20 +08:00
XDTD
e93d8c19d9
feat: resolve user pages malfunction after using tableNamePrefix ( #1945 )
2023-06-08 00:43:05 +08:00
Yang Luo
f2e3182a69
Fix null value in backend Translate()
2023-06-07 02:17:48 +08:00
Yang Luo
f934531083
Fix organization search in some pages
2023-06-06 20:53:45 +08:00
XDTD
e1c0af345f
feat: resolve casdoor as SAML SP with keycloak login not work bug ( #1937 )
...
* fix: resolve casdoor as SAML SP with keycloak login not work
* Update provider.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-06 15:19:00 +08:00
Yang Luo
3b3bfe39f9
Fix user field bug
2023-06-06 14:59:50 +08:00
Alex OvsInc
18cc952f8e
feat: Customization of the initialization file ( #1936 )
2023-06-05 21:00:28 +08:00
Yang Luo
43439bc8c6
Apply tableNamePrefix before migration
2023-06-05 00:30:48 +08:00
Yang Luo
9a2800e3b3
Add error to Enforce()
2023-06-04 17:29:34 +08:00
Yaodong Yu
fdaad2b608
chore: refactor enforce() handler and update Swagger docs ( #1931 )
...
* chore: add swaggerof enforce api
* Update enforcer.go
* Update string.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-06-04 17:19:58 +08:00
Yang Luo
2d43fe0b39
Fix cert empty issue in GetSamlMeta()
2023-06-04 01:25:18 +08:00
Yaodong Yu
5d776a3ce6
fix: handle error of list in frontend ( #1930 )
2023-06-04 01:21:24 +08:00
Yang Luo
5ec7a54bf8
Add description fields to objects
2023-06-04 01:21:17 +08:00
Yang Luo
0c118477e8
Add groups to UserInfo
2023-06-04 01:21:10 +08:00
Yang Luo
c858d0e0b0
Fix model page bug
2023-06-03 10:35:58 +08:00
Yang Luo
9cffb43265
Fix subscription page bugs
2023-06-03 10:15:29 +08:00
Yang Luo
51a76518ad
Init adapter in getEnabledSyncerForOrganization()
2023-06-03 09:23:36 +08:00
hsluoyz
08dbbab70e
feat: revert "feat: fix the bug that sycner does not initialize" ( #1926 )
...
This reverts commit ec3c24ba68 .
2023-06-03 09:17:34 +08:00
Yang Luo
0ec22ae6ff
Fix null bug in getLanguage()
2023-06-03 00:29:08 +08:00
Yaodong Yu
ec3c24ba68
feat: fix the bug that sycner does not initialize ( #1924 )
2023-06-03 00:15:28 +08:00
Yang Luo
ed688efdbb
Fix bug in org user list page
2023-06-02 22:09:18 +08:00
Yang Luo
06543a01d3
Add organization to /userinfo
2023-06-02 21:51:05 +08:00
Yang Luo
70c372c3f7
Fix Provider API responses
2023-06-02 11:49:38 +08:00
Yang Luo
b1b3184e75
Speed up user pagination query
2023-06-01 22:55:44 +08:00
Yang Luo
5349fa7ff3
Speed up object.DoMigration()
2023-06-01 22:25:19 +08:00
907997375
9147225956
feat: fix table sticky columns on chat and message pages ( #1917 )
2023-06-01 21:02:21 +08:00
Yang Luo
11f3af1ede
Improve Select modes
2023-05-31 17:36:11 +08:00
Yang Luo
0aa4df40c6
Fix i18n
2023-05-31 11:46:03 +08:00
Yang Luo
7caa885131
Fix subscription bugs
2023-05-31 11:33:01 +08:00
Yang Luo
f4b69cad9b
Add owner to select-plan page
2023-05-31 00:29:54 +08:00
Yang Luo
fb1db7823b
Add DummyPaymentProvider
2023-05-30 23:25:58 +08:00
Sergey Zabodalov
10e66f8020
fix: Get logger configuration from app.conf file ( #1907 )
...
* feat: Get logger configuration from file
* feat: Get logger configuration from file
* Remove GetConfigLogs()
2023-05-30 21:30:09 +08:00
Yang Luo
4c8648d323
Add PaypalPaymentProvider
2023-05-30 20:32:05 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com >
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com >
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com >
---------
Signed-off-by: yehong <239859435@qq.com >
2023-05-30 15:49:39 +08:00
leoil
34151c0095
feat: Support uploading roles and permssions via xlsx files. ( #1899 )
...
* Support uploading roles and permissions via xlsx file.
* Template xlsx file for uploading users and permissions.
* reformat according to gofumpt.
* fix typo.
2023-05-28 11:29:43 +08:00
Yang Luo
c7cea331e2
Improve NewWechatPaymentProvider() arg
2023-05-27 19:28:24 +08:00
Yaodong Yu
8ede4993af
feat: specify login organization
2023-05-27 19:02:54 +08:00
Crowdin Bot
d04dd33d8b
refactor: New Crowdin Backend translations by Github Action
2023-05-27 09:52:47 +00:00
Crowdin Bot
8cb21253f6
refactor: New Crowdin translations by Github Action
2023-05-27 09:52:19 +00:00
UsherFall
7fc697b711
ci: fix bug in WeChat payment provider
2023-05-27 17:50:56 +08:00
Yaodong Yu
80e6e7f0a7
fix: fix bug about updating parent component value in CountryCodeSelect ( #1891 )
2023-05-25 10:45:13 +08:00
Yang Luo
d29fc88d68
Add getRawGetParameter()
2023-05-25 09:47:39 +08:00
Yaodong Yu
225e9cf70a
fix: set initial value in CountryCodeSelect ( #1890 )
2023-05-24 23:27:04 +08:00
Yang Luo
c57c6e37dd
Fix bug in getRedirectUri()
2023-05-24 23:22:25 +08:00
Yaodong Yu
4d860525bf
feat: fix MFA page bug in OAuth login ( #1889 )
2023-05-24 21:31:03 +08:00
Yang Luo
a64263f812
Support "#" in redirectUri
2023-05-24 21:29:45 +08:00
Yang Luo
95ab2472ce
Make logo length to 200
2023-05-23 21:57:35 +08:00
guangwu
54e4747dbc
refactor: code-optimization ( #1885 )
...
* refactor: code-optimization
* fix: restoring code style
* fix: gofmt
2023-05-23 17:54:51 +08:00
Yang Luo
2389d47c34
Fix getFormattedDate()
2023-05-23 15:09:53 +08:00
guangwu
9c4f0f042e
fix: update Go dependencies ( #1880 )
...
* Vulnerability fix : CVE-2021-30080 CVE-2021-39391 CVE-2022-41723 CVE-2022-21698 CVE-2023-26483 etc.
* fix: CVE-2021-30080 CVE-2021-39391 CVE-2022-41723 CVE-2022-21698 CVE-2023-26483 etc.
2023-05-23 14:43:18 +08:00
Yang Luo
e25e210b06
Improve upload resource page
2023-05-23 10:07:59 +08:00
jump2cn
df61a536c1
feat: add gzip support for static filter ( #1875 )
...
* feat: add gzip support for static filter
* Update static_filter.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-22 22:40:46 +08:00
XDTD
47da3cdaa0
fix: resolve get resource list problem ( #1877 )
2023-05-22 22:35:12 +08:00
hsluoyz
8d246f2d98
ci: revert "feat: fix UI in IE11" ( #1879 )
...
This reverts commit 44cd55e55f .
2023-05-22 22:21:56 +08:00
Yaodong Yu
44cd55e55f
feat: fix UI in IE11 ( #1878 )
2023-05-22 16:59:37 +08:00
Yang Luo
6b42d35223
Fix state encoding for Moodle
2023-05-21 15:47:18 +08:00
Yang Luo
c84150cede
Fix getObject() bug for some API
2023-05-21 11:07:01 +08:00
hsluoyz
de2689ac39
fix: revert "feat: fix UI in IE11" ( #1873 )
...
* Revert "feat: fix UI in IE11 (#1871 )"
This reverts commit 319031da28 .
* Update MfaVerifyForm.js
2023-05-21 00:43:42 +08:00
Ilya Sulimanov
88c0856d17
feat: add subscription managment ( #1858 )
...
* feat: subscription managment
* fix: remove console log
* fix: webhooks
* fix linter
* fix: fix via gofumpt
* fix: review changes
* fix: Copyright 2023
* Update account.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-20 15:56:21 +08:00
Yaodong Yu
319031da28
feat: fix UI in IE11 ( #1871 )
2023-05-19 21:47:02 +08:00
June
d20f3eb039
feat: support get user by userId and owner ( #1870 )
...
* feat: support get user by userId and owner
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-19 21:46:44 +08:00
Yaodong Yu
3e13e61d8f
fix: sdk user is not Global Admin ( #1868 )
2023-05-19 21:24:55 +08:00
Yaodong Yu
1260354b36
fix: add sAMAccountName for AD search ( #1869 )
2023-05-19 21:16:59 +08:00
Jadson Santos
af79fdedf2
feat: add new language: "pt" ( #1837 )
...
* feat: Added new locales pt-br
* fix: Changed pt-br to pt
* feat: Updated app.conf
* feat: Updated Setting.js
* feat: Changed folder locales pt-br to pt
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-19 16:57:44 +08:00
Yang Luo
02333f2f0c
Add "pt" language to backend
2023-05-19 16:42:31 +08:00
Yang Luo
79bd58e0e6
Use util.GetId()
2023-05-19 14:26:32 +08:00
Yang Luo
de73ff0e60
Add IsMaskedEnabled to provider API
2023-05-19 13:09:53 +08:00
Yang Luo
a9d662f1bd
Improve Migrator_1_314_0_PR_1841 speed
2023-05-19 02:55:36 +08:00
Yaodong Yu
65dcbd2236
feat: compatible different uid of LDAP server ( #1860 )
...
* feat: compatible different uid of LDAP server
* Update organization.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-19 02:34:25 +08:00
Yaodong Yu
6455734807
fix: fix incorrect LDAP sync status ( #1859 )
2023-05-18 22:03:53 +08:00
Trần Thanh Tịnh
2eefeaffa7
feat: enforce by using resourceId ( #1855 )
...
* feat: enforce by using resourceId
* Update permission.go
* chore: fix cilint for enforcer.go
---------
Co-authored-by: tinhtt4 <tinhtt4@vng.com.vn >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-18 16:36:03 +08:00
Yang Luo
04eaad1c80
Fix getCertByApplication()
2023-05-18 16:32:43 +08:00
Yang Luo
9f084a0799
Can update user with OAuth values
2023-05-18 15:58:41 +08:00
Yang Luo
293b9f1036
Remove languages in app.conf
2023-05-18 15:44:11 +08:00
Yang Luo
437376c472
Fix CheckAccessPermission()
2023-05-18 13:36:16 +08:00
Yang Luo
cc528c5d8c
Add object to webhook
2023-05-17 23:57:14 +08:00
Yang Luo
54e2055ffb
Fix Beego filter: RecordMessage
2023-05-17 23:01:59 +08:00
Yang Luo
983a30a2e0
Dingtalk now supports linking with corpMobile
2023-05-17 22:14:57 +08:00
Yang Luo
37d0157d41
Fix application.EnableSignUp bug
2023-05-17 21:56:36 +08:00
Yang Luo
d4dc236770
Fix refreshExpireInHours zero value issue
2023-05-17 20:47:59 +08:00
Yang Luo
596742d782
Show org column better for admin (shared)
2023-05-17 17:30:47 +08:00
XDTD
ce921c00cd
fix: resolve the problem of cert being unable to be accessed properly ( #1850 )
...
* fix: resolve the problem of cert being unable to be accessed properly
* Update CertEditPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-17 17:17:58 +08:00
Yang Luo
3830e443b0
Put webhook's RecordMessage() to FinishRouter stage
2023-05-17 16:32:12 +08:00
Yaodong Yu
9092cad631
feat: support forced binding MFA after login ( #1845 )
2023-05-17 01:13:13 +08:00
Yang Luo
0b5ecca5c8
Support empty application in page
2023-05-16 22:17:39 +08:00
Yang Luo
3d9b305bbb
Add /api/health API
2023-05-16 21:47:34 +08:00
Yang Luo
0217e359e7
Update to Go 1.19.9 and Node 16.18.0 in Dockerfile
2023-05-16 20:33:31 +08:00
Yang Luo
695a612e77
Improve passwordType in CheckPassword()
2023-05-16 20:14:05 +08:00
Alexander Egorov
645d53e2c6
feat: User should have PasswordType like Organization ( #1841 )
...
* fixes #1840 : [backend] User should have PasswordType like Organization is
* Update migrator.go
* Update and rename migrator_1_314_0_PR_1838.go to migrator_1_314_0_PR_1841.go
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-16 20:11:19 +08:00
Yang Luo
73b9d73f64
Add CustomFooter to Conf.js
2023-05-15 16:49:45 +08:00
1307
c6675ee4e6
feat: AI responses support streaming ( #1826 )
...
Is an AI response that supports streaming return
2023-05-13 11:31:20 +08:00
Yang Luo
6f0b7f3f24
Support modelId arg in Enforce() API
2023-05-12 21:39:57 +08:00
Yang Luo
776a682fae
Improve args of Enforce() API
2023-05-12 21:32:48 +08:00
Yang Luo
96a3db21a1
Support LDAP search by user tag
2023-05-12 13:03:43 +08:00
Yang Luo
c33d537ac1
Add formCssMobile to application
2023-05-12 12:16:03 +08:00
Yang Luo
5214d48486
Fix authorized issue of UploadResource() API
2023-05-12 01:00:06 +08:00
Yang Luo
e360b06d12
Fix termsOfUse upload in application edit page
2023-05-10 23:57:03 +08:00
Yang Luo
3c871c38df
Fix message and chat owner bug
2023-05-10 22:32:32 +08:00
jakiuncle
7df043fb15
fix: fix cypress error ( #1817 )
...
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
* fix: fix cypress error
2023-05-09 20:51:07 +08:00
XDTD
cb542ae46a
feat: fix org admin permissions ( #1822 )
2023-05-09 00:06:52 +08:00
imp2002
3699177837
fix: fix URL path in MinIO storage provider( #1818 )
2023-05-08 16:48:56 +08:00
helayzhang
3a6846b32c
feat: fix bug that logging in with account/password cannot redirect successfully (When Casdoor working as a OAuth server) ( #1819 )
2023-05-08 16:37:56 +08:00
Yaodong Yu
50586a9716
feat: improve determination about whether dest is mail or phone and mask props ( #1814 )
2023-05-07 21:19:51 +08:00
Yang Luo
9201992140
Fix LDAP server bugs
2023-05-06 23:31:46 +08:00
Yaodong Yu
eb39e9e044
feat: add multi-factor authentication (MFA) feature ( #1800 )
...
* feat: add two-factor authentication interface and api
* merge
* feat: add Two-factor authentication accountItem and two-factor api in frontend
* feat: add basic 2fa setup UI
* rebase
* feat: finish the two-factor authentication
* rebase
* feat: support recover code
* chore: fix eslint error
* feat: support multiple sms account
* fix: client application login
* fix: lint
* Update authz.go
* Update mfa.go
* fix: support phone
* fix: i18n
* fix: i18n
* fix: support preferred mfa methods
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-05-05 21:23:59 +08:00
Yang Luo
5b27f939b8
Improve add model initialization
2023-05-05 01:51:34 +08:00
Yang Luo
69ee6a6f7e
Move result page into entry page
2023-05-05 01:08:56 +08:00
Yang Luo
bf6d5e529b
Add "from" to Email provider
2023-05-04 23:41:37 +08:00
Yang Luo
55fd31f575
Disable built-in/admin's unexpected change
2023-05-04 22:12:57 +08:00
Yang Luo
05c063ac24
Set email's SkipUsernameCheck to true
2023-05-04 00:29:12 +08:00
Yang Luo
38da63e73c
Improve answer text
2023-05-02 23:33:09 +08:00
Yang Luo
cb13d693e6
Add getTokenSize()
2023-05-02 10:04:11 +08:00
Yang Luo
d699774179
Improve i18n.Translate()
2023-05-02 01:30:32 +08:00
Yang Luo
84a7fdcd07
Handle message answer
2023-05-02 01:30:06 +08:00
Yang Luo
2cd6f9df8e
Add /api/get-message-answer API
2023-05-01 23:15:51 +08:00
Yang Luo
eea2e1d271
Add ai package
2023-05-01 17:19:45 +08:00
Yang Luo
48c5bd942c
Fix chat UI
2023-05-01 16:23:48 +08:00
Yang Luo
d01d63d82a
Improve chat menu height
2023-05-01 14:11:17 +08:00
Yang Luo
e4fd9cca92
Fix new chat button
2023-05-01 13:27:49 +08:00
Yang Luo
8d531b8880
Fix getStateFromQueryParams() crash when provider name is non-latin
2023-05-01 10:32:08 +08:00
Yang Luo
b1589e11eb
Fix signin preview when there's no redirectUris
2023-05-01 10:31:21 +08:00
Yang Luo
b32a772a77
Add jobNumber to dingtalk provider
2023-04-29 21:48:52 +08:00
Yang Luo
7e4562efe1
Change org.defaultAvatar to 200 length
2023-04-29 08:33:04 +08:00
Yang Luo
3a6ab4cfc6
Support mobile in DingTalk userinfo
2023-04-29 01:24:45 +08:00
Joe Zhang
fba4801a41
feat: make redirectUri token param follow OAuth2 standard ( #1796 )
...
* fix: rename token to access_token in implicit flow; change ? in the redirect uri to &
* fix typo
2023-04-28 23:54:48 +08:00
June
da21c92815
feat: support sub role synced update ( #1794 )
2023-04-28 22:14:37 +08:00
OutOfEastGate
66c15578b1
feat: fix the order of Method and Name in System Info ( #1797 )
...
* fix: fixed the order of Method and Name in System Info
* fix: add i18n for System Info
2023-04-28 22:11:10 +08:00
Yang Luo
f272be67ab
Improve i18n
2023-04-28 18:43:41 +08:00
OutOfEastGate
e4c36d407f
feat: fix prometheus filter bugs ( #1792 )
...
* fix: fix prometheus
* fix: count latency with prefix api
* fix: latency should not be counted when startTime is nil
2023-04-26 22:18:48 +08:00
June
4c1915b014
fix: make query with like more precise ( #1791 )
2023-04-26 18:21:13 +08:00
Yaodong Yu
6c2b172aae
feat: fix function CheckAccountItemModifyRule ( #1789 )
...
* feat: fix function CheckAccountItemModifyRule
* fix: admin changes its own username
* fix: current user changes its own username
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-04-26 16:21:58 +08:00
Yaodong Yu
95f4f4cb6d
feat: refactor out form package and optimize verification code module ( #1787 )
...
* refactor: add forms package and optimize verification code module
* chore: add license
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: swagger
2023-04-25 23:05:53 +08:00
Yang Luo
511aefb706
Disable faulty Beego filter
2023-04-25 20:02:13 +08:00
OutOfEastGate
1003639e5b
feat: support for prometheus ( #1784 )
2023-04-25 16:06:09 +08:00
Yaodong Yu
fe53e90d37
fix: signup page of the app-built-in failed to load ( #1785 )
2023-04-25 16:00:24 +08:00
OutOfEastGate
8c73cb5395
fix: fix golangci-lint ( #1775 )
2023-04-23 17:02:29 +08:00
Yang Luo
06ebc04032
Can add/delete chat
2023-04-23 01:19:44 +08:00
Yang Luo
0ee98e2582
Add loading to chat box
2023-04-23 00:25:09 +08:00
Yang Luo
d25508fa56
Improve chat UI
2023-04-22 23:20:40 +08:00
OutOfEastGate
916a55b633
fix: fixed failed to update information when name duplicate ( #1773 )
...
* fix: fixed failed to update information when name duplicate
* fix: Use GetOwnerAndNameFromId and GetId functions instead of split
* Update organization.go
* Update role.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-04-22 21:15:06 +08:00
OutOfEastGate
a6c7b95f97
fix: fixed rows duplicates after sort by column ( #1772 )
2023-04-22 20:18:38 +08:00
Yaodong Yu
4f8dd771bc
feat: fix bug that can not get application in signup/oauth/ router ( #1766 )
2023-04-22 18:20:45 +08:00
UsherFall
e0028f5eed
fix: add more events to webhooks ( #1771 )
2023-04-22 17:11:28 +08:00
XDTD
6d6cbc7e6f
feat: add dynamic mode for provider to enable verification code when the login password is wrong ( #1753 )
...
* fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates
* feat: enable verification code when the login password is wrong
* fix: only enable captcha when login in password
* fix: disable login error limits when captcha on
* fix: pass "enableCaptcha" as an optional param
* fix: change enbleCapctah to optional bool param
2023-04-22 16:16:25 +08:00
Yang Luo
ee8c2650c3
Remove useless "/api/login/oauth/code" API and update Swagger
2023-04-22 09:47:52 +08:00
Yang Luo
f3ea39d20c
Fix result page button link
2023-04-21 23:56:33 +08:00
Yang Luo
e78d9e5d2b
Fix local file system storage provider path error
2023-04-21 10:12:09 +08:00
Yaodong Yu
19209718ea
feat: fix wrong CAS login mode ( #1762 )
2023-04-20 22:18:02 +08:00
Yang Luo
e75d26260a
Fix table name in getEnforcer()
2023-04-20 01:33:47 +08:00
Wenpeng Chen
6572ab69ce
fix: fix pemContent decode error bug for WeChat Pay provider ( #1751 )
2023-04-19 22:13:13 +08:00
Jinhongyu
8db87a7559
fix: function comments ( #1757 )
...
Modify the function annotation so that the swagger can parse correctly
2023-04-19 21:19:48 +08:00
Yaodong Yu
0dcccfc19c
feat: rollback anted to v5.2.3 ( #1755 )
2023-04-19 11:30:49 +08:00
imp2002
96219442f5
feat: fix Tencent Cloud OSS storage connect incorrect issue ( #1752 )
...
* fix: fix Tencent Cloud OSS storage connect incorrect
* Update provider.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-04-18 21:30:46 +08:00
Yaodong Yu
903745c540
fix: improve LDAP page UI ( #1749 )
...
* refactor: improve LDAP sync page
* refactor: update anted version
* chore: i18
2023-04-17 22:03:05 +08:00
Yang Luo
df741805cd
Fix chat send
2023-04-17 20:50:03 +08:00
OutOfEastGate
ee5c3f3f39
feat: fix display name null error during 3rd-party binding ( #1747 )
2023-04-17 15:39:33 +08:00
Yang Luo
714f69be7b
Use HTTP for IP host in getOriginFromHost()
2023-04-17 00:55:40 +08:00
Yang Luo
0d12972e92
Fix "auto single OAuth signin doesn't work" bug
2023-04-17 00:38:48 +08:00
Yang Luo
78b62c28ab
Fix the wrong order of g policy in enforce() API
2023-04-16 22:26:22 +08:00
wht
5c26335fd6
feat: add rule option for phone in application's signup page ( #1745 )
2023-04-16 20:34:06 +08:00
Yang Luo
7edaeafea5
Call refreshAvatar() in addUser()
2023-04-16 01:00:02 +08:00
Yang Luo
336f3f7a7b
Add user.refreshAvatar()
2023-04-16 01:00:02 +08:00
Yaodong Yu
47dc3715f9
feat: handle error when parsing samlResponse ( #1744 )
...
* fix: handle err from parse samlResponse
* fix: lint
2023-04-16 00:36:25 +08:00
Yang Luo
7503e05a4a
Improve menu style
2023-04-15 18:08:21 +08:00
Yang Luo
b89cf1de07
Add karma to account items
2023-04-15 16:05:33 +08:00
Yang Luo
be87078c25
Fix vi i18n
2023-04-15 14:16:49 +08:00
Yang Luo
faf352acc5
Fix i18n
2023-04-15 11:17:31 +08:00
Yang Luo
0db61dd658
Add empty list item and expand menu by default
2023-04-15 10:54:56 +08:00
Yang Luo
ebe8ad8669
Improve UI effect
2023-04-15 10:54:56 +08:00
Yang Luo
2e01f0d10e
Add input box
2023-04-15 10:54:55 +08:00
Yang Luo
754fa1e745
Add chat box
2023-04-15 10:54:55 +08:00
Yang Luo
8b9e0ba96b
Add chat page
2023-04-15 10:54:55 +08:00
Yang Luo
b0656aca36
Add chat and message pages
2023-04-15 10:54:54 +08:00
erguotou
623b4fee17
feat: pre-ensure tempFiles folder exists before uploading files ( #1739 )
...
When deployed with docker, the user `casdoor` has no permission to mkdir `tempFiles`, so let's create the folder first.
2023-04-14 19:14:59 +08:00
Yaodong Yu
1b1de1dd01
feat: add LDAP custom filter support ( #1719 )
...
* refactor: improve ldap server code
* feat: custom filter
* fix: fix displayName mapping
* feat: add custom filter search fields
* chore: add license
* chore: i18n
* chore: i18n
* chore: update init field
2023-04-13 14:12:31 +08:00
XDTD
968d8646b2
fix: update webAuthnBufferDecode to support Base64URL for WebAuthn updates ( #1734 )
2023-04-12 21:33:54 +08:00
imp2002
94eef7dceb
feat: fix adapter set organizations invalid bug ( #1729 )
2023-04-11 22:38:00 +08:00
rune
fe647939ce
fix: fix CAS callback url not match bug ( #1728 )
...
Co-authored-by: mfk <mfk@hengwei.com.cn >
2023-04-11 19:26:57 +08:00
Dzung Do
984a69cb4b
feat: fix wrong Vietnamese flag ( #1724 )
...
* fix wrong Vietnam country code
* fix wrong Vietnam country code
* fix wrong Vietnam country code
* fix wrong Vietnam country code
2023-04-10 22:42:12 +08:00
XDTD
098a1ece68
fix: rollback the version of webauthn in go mod to fix "atob" bug ( #1721 )
2023-04-10 20:14:27 +08:00
Wenpeng Chen
ad6f2ad2e1
feat: add wechatpay support. ( #1710 )
...
* feat: add wechatpay support.
* feat: add wechatpay support.
* Update wechatv3pay.go
* fix: update format.
* Update wechatv3pay.go
* Update wechatv3pay.go
* Update wechatv3pay.go
* fix: update file format.
* fix: improve the front of wechat payment.
* fix: change clientId2 to clientId.
* fix: fix the code format.
* fix: return backend error information to frontend.
2023-04-10 18:04:10 +08:00
Yang Luo
2d55252261
Add chat and message pages
2023-04-09 15:54:22 +08:00
Yang Luo
30ea3a1335
Improve getTags()
2023-04-09 15:54:21 +08:00
Yaodong Yu
b7d78d1e27
fix: validate parameter and nil in func updateUser ( #1714 )
...
* fix: validate parameter and nil in func updateUser
* fix: delete blank line
2023-04-09 10:35:30 +08:00
jivfly
3d5a645a3b
feat: fix field name error of termsOfUse ( #1715 )
2023-04-09 01:01:04 +08:00
Gucheng Wang
4ad21e7781
fix: fix WeCom provider method
2023-04-07 01:10:46 +08:00
Yaodong Yu
b99a0c3ca2
feat: optimize the "forget password" page ( #1709 )
2023-04-06 23:06:18 +08:00
Yaodong Yu
e1842f6b80
feat: fix LDAP server handle filter without CN field as * ( #1705 )
...
* fix: set ldap server default filter name as *
* fix: default use built-in organization to bind
* chore: use cache reduce the ci test time
2023-04-04 20:51:28 +08:00
Max Baier
0781a3835d
feat: improve i18n to have proper German translation in web/ ( #1702 )
2023-04-02 10:52:30 +08:00
Yang Luo
98a99f0215
Fix bug in getMemoryUsage()
2023-04-02 10:50:41 +08:00
Yang Luo
681b086de0
Fix session page highlight
2023-04-01 17:36:50 +08:00
Yaodong Yu
cdcc0b39e2
feat: filter not selected provider item ( #1701 )
2023-04-01 10:22:18 +08:00
Gucheng Wang
8eb68ba817
fix: fix AAD single-tenant mode bug
2023-03-31 19:24:03 +08:00
Yang Luo
8d1ae4ea08
Fix organization page bug
2023-03-31 18:35:57 +08:00
zzjin
9c8ea027ef
feat: add the missing userId param docs for get-user API ( #1698 )
...
* Add roles to SAML response
* Fix: Add back missing get-user userId param doc.
Signed-off-by: zzjin <tczzjin@gmail.com >
* Update user.go
---------
Signed-off-by: zzjin <tczzjin@gmail.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2023-03-30 18:39:14 +08:00
Yang Luo
aaa56d3354
Add roles to SAML response
2023-03-30 14:43:34 +08:00
Yaodong Yu
b45c49d3a4
feat: fix incorrect preferred_username field mapping in OIDC ( #1697 )
2023-03-29 22:18:12 +08:00
Yaodong Yu
5b3202cc89
feat: fix phone validation bug in signup page ( #1693 )
2023-03-27 22:52:49 +08:00
Gucheng Wang
5280f872dc
Speed up GetOAuthToken()
2023-03-27 14:05:44 +08:00
Yaodong Yu
fd61b963d5
feat: [SAML + long button crash] fix Disabling "Enable password" leads to white app page when SAML provider is active ( #1691 )
...
* fix: saml long button crush
* fix: sue svg
* Update Setting.js
* Update LoginButton.js
* Update ProviderButton.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-03-26 23:56:43 +08:00
Yaodong Yu
a8937d3046
feat: refactor agreement modal and create folders to classify components ( #1686 )
...
* refactor: refactor agreement modal and create folders to classify components
* fix: i18
* fix: i18
* fix: i18n
2023-03-26 18:44:47 +08:00
Yang Luo
32b05047dc
Update system info API swagger
2023-03-26 10:19:59 +08:00
hsluoyz
117ee509cf
feat: fix name format in application login: GetClientCredentialsToken() ( #1639 )
2023-03-25 23:02:08 +08:00
Yaodong Yu
daf3d374b5
fix: adjust error result position ( #1683 )
2023-03-25 09:36:23 +08:00
Yaodong Yu
337ee2faef
feat: fix the bug that autoSignin generates two callback AJAX calls ( #1682 )
2023-03-24 23:17:54 +08:00
Gucheng Wang
989fec72bf
Add /api/user API for Flarum's FoF Passport plugin
2023-03-24 01:02:04 +08:00
Gucheng Wang
76eb606335
Support AAD tenant auth URL
2023-03-23 22:37:53 +08:00
Yaodong Yu
c6146a9149
feat: fix bug that login by saml provider can not find application ( #1676 )
2023-03-23 21:38:33 +08:00
imp2002
f191488338
feat: support popup mode in OAuth ( #1668 )
...
* feat: support `popup` mode in OAuth
* feat: sendMessage when popup window closed
* fix: fix param name error
2023-03-22 00:15:17 +08:00
longxu0509
da7336a9a4
feat: support getting versionInfo in docker ( #1673 )
...
* feat: support getting versionInfo in docker
* fix: fix build
* fix: fix build
* fix: fix system
2023-03-21 20:46:17 +08:00
Gucheng Wang
b3806070ac
Finish Go i18n texts
2023-03-20 01:10:48 +08:00
Gucheng Wang
c7b9a77b4a
Remove Go i18n duplicates
2023-03-19 22:09:19 +08:00
June
4c4ad8320d
feat: optimize getEnforcer, only load filtered polices ( #1669 )
2023-03-19 20:13:48 +08:00
Gucheng Wang
89d29c2519
Add "empty" to i18n
2023-03-19 20:13:07 +08:00
Gucheng Wang
98f962f818
Support i18n of id
2023-03-19 19:56:56 +08:00
Gucheng Wang
5989c4ff34
Remove i18n duplicates
2023-03-19 01:03:12 +08:00
Gucheng Wang
1de76e4da9
Finish i18n of vi
2023-03-19 00:13:16 +08:00
Gucheng Wang
4e62c255b3
Finish i18n of ru
2023-03-18 23:05:37 +08:00
Gucheng Wang
7ee54cb089
Finish i18n of ko
2023-03-18 22:24:06 +08:00
Gucheng Wang
bea03635a1
Finish i18n of ja
2023-03-18 21:46:17 +08:00
Gucheng Wang
2bc4cd9337
Fix i18n issue
2023-03-18 20:42:02 +08:00
Gucheng Wang
ed9ceaefe1
Finish i18n of de
2023-03-18 20:31:31 +08:00
Gucheng Wang
3dec2fdc18
Fix i18n issue
2023-03-18 19:05:58 +08:00
Gucheng Wang
31e4813df9
Finish i18n of fr
2023-03-18 18:54:05 +08:00
Gucheng Wang
263f804ab8
Finish i18n of es
2023-03-18 17:24:31 +08:00
Gucheng Wang
d383de256b
Refactor to parseAllWords()
2023-03-18 14:16:15 +08:00
Gucheng Wang
28d24cc913
Improve i18n
2023-03-18 12:18:42 +08:00
Gucheng Wang
bd5c706317
Fix i18n code
2023-03-18 00:17:07 +08:00
Gucheng Wang
fba0021e22
Fix enableLinkWithEmail UI
2023-03-17 23:47:13 +08:00
hsluoyz
aba17e2bc1
feat: revert PR: "fix: disable cookie for static files" ( #1666 )
...
This reverts commit 312412ffe4 .
2023-03-17 17:27:12 +08:00
wht
dd939b5c7e
feat: improve tooltips and i18n for frontend ( #1645 )
...
* feat: Add english tooltips
* fix: add untranslated tooltips
2023-03-16 14:53:58 +08:00
Gucheng Wang
eeba21bf0d
Support acme-challenge
2023-03-16 00:25:03 +08:00
Gucheng Wang
5e47406e09
Enable CORS for "OPTIONS" request
2023-03-16 00:24:18 +08:00
Yaodong Yu
fd883a3211
feat: improve verification error translation ( #1660 )
2023-03-15 23:44:38 +08:00
mos
312412ffe4
fix: disable cookie for static files ( #1656 )
...
Co-authored-by: chenjpu <bing.chen@hgcitech.com >
2023-03-15 22:09:10 +08:00
Yaodong Yu
295a69c5f7
feat: support LDAP with SSL/TLS enabled ( #1655 )
2023-03-15 11:12:31 +08:00
Yaodong Yu
a8a8f39963
feat: use GetUserCount to optimize login performance ( #1653 )
2023-03-14 14:38:39 +08:00
Yaodong Yu
90f8eba02d
feat: can send Aliyun test SMS now ( #1651 )
2023-03-13 17:48:58 +08:00
Yaodong Yu
2cca1c9136
feat: refactor LDAP backend code and improve frontend operation ( #1640 )
...
* refactor: simplify ldap backend code and improve frontend operation
* chore: add skipCi tag in sync_test.go
* fix: ui
2023-03-12 11:12:51 +08:00
Gucheng Wang
c2eebd61a1
Add TestStartSyncJob()
2023-03-12 05:38:39 +08:00
Gucheng Wang
59566f61d7
Refactor sync code
2023-03-12 05:10:23 +08:00
Gucheng Wang
7e4c9c91cd
improve sending text
2023-03-10 22:35:47 +08:00
Gucheng Wang
430ee616db
fix user list shows all users bug
2023-03-10 21:59:57 +08:00
aiden
2e3a323528
feat: Dingtalk provider supports fetching organization email ( #1636 )
...
* feat(dingtalk): try to get email from corp app
* chore: format codes
* chore: format codes (#1 )
* Delete .fleet directory
* fix: fix syntax errors
* Update dingtalk.go
* style: fmt codes with gofumpt
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com >
2023-03-10 21:47:54 +08:00
Gucheng Wang
09e8408a3d
Fix Popconfirm text
2023-03-10 19:17:53 +08:00
陈温鹏
2998bbf4b9
fix: Put Popconfirm into a React component. ( #1638 )
...
* add "Sure to delete" to i18n(#1569 )
* fix: add sure to delete to i18n
* fix: Put Popconfirm into a React component.
2023-03-10 19:16:08 +08:00
imp2002
404382f2e0
feat: fix incompatibility css inset when Safari version <=14.1 ( #1635 )
2023-03-09 22:01:39 +08:00
Gucheng Wang
71db1f62a9
Fix DingTalk oauth link
2023-03-09 21:11:16 +08:00
Gucheng Wang
07dc6bf7cd
Refactor sysinfo page
2023-03-09 17:17:12 +08:00
longxu0509
2de3f6772d
fix: add aheadCnt in sysinfo ( #1632 )
...
* 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 >
2023-03-09 16:07:13 +08:00
longxu0509
3f623570fd
feat: fix incorrect Casdoor version in system info page ( #1631 )
...
* 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 >
2023-03-09 13:28:23 +08:00
Yaodong Yu
a5dfe54a33
feat: fix LDAP page crash ( #1630 )
2023-03-08 21:31:55 +08:00
陈温鹏
7c4a6fea02
fix: add "sure to delete" to i18n ( #1627 )
...
* add "Sure to delete" to i18n(#1569 )
* fix: add sure to delete to i18n
2023-03-07 22:38:48 +08:00
imp2002
ff4af6bb4e
feat: remove ID field in enforcement ( #1623 )
2023-03-07 16:04:07 +08:00
Gucheng Wang
5bdede5596
Use go-webauthn/webauthn
2023-03-07 13:49:04 +08:00
wht
ed052b0e6a
feat: add support for SUBMAIL sms ( #1621 )
...
* feat: add support for SUBMAIL sms
* fix: add SUBMAIL SMS icon
2023-03-06 21:23:45 +08:00
Yaodong Yu
16b1d0e1f0
fix: handle aliyun captcha error ( #1624 )
2023-03-06 21:23:03 +08:00
longxu0509
fea2a8cdbe
feat: add bi-sync module ( #1617 )
...
* 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
2023-03-06 11:39:41 +08:00
Gucheng Wang
9d55238cef
Fix code issue
2023-03-06 00:33:26 +08:00
Yaodong Yu
8427d63872
feat: fix empty value of countryCode for signup ( #1620 )
2023-03-05 21:52:40 +08:00
Yaodong Yu
e8a7b7ee9c
feat: support all captcha for login ( #1619 )
...
* refactor: captcha modal
* feat: support all captcha when login
* chore: improve i18 in loginPage.js
2023-03-05 20:31:46 +08:00
Gucheng Wang
f8bc87eb4e
Fix i18n error
2023-03-04 00:13:29 +08:00
Gucheng Wang
3e6ef9e666
Fix forget page i18n
2023-03-03 23:55:48 +08:00
Gucheng Wang
ef3d323f63
Improve SMS code
2023-03-03 22:44:22 +08:00
wht
aad9201b24
feat: add SMS test feature ( #1606 )
...
* feat: add SMS test
* fix: Add missing translation
* fix: Delete redundant information
* fix: remove unnecessary field
* Update sms.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-03-03 22:15:02 +08:00
Gucheng Wang
46f090361e
Improve init_data json
2023-03-03 21:32:06 +08:00
fengxsong
1ae6adff8e
fix(secure): remove user list from roles and permissions field to avoid leaking userlist ( #1614 )
...
* fix(secure): remove user list from roles and permissions field to avoid leaking userlist
Signed-off-by: fengxsong <fengxsong@outlook.com >
* Update permission.go
* Update role.go
---------
Signed-off-by: fengxsong <fengxsong@outlook.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-03-03 18:18:41 +08:00
Zayn Xie
59c95ca8a0
feat: fix ID parsing bug when calling api/logout ( #1611 )
...
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com >
2023-03-03 14:26:31 +08:00
Gucheng Wang
ca1b5feb78
Improve default captcha UI
2023-03-02 22:04:37 +08:00
Gucheng Wang
e50c832ff9
Fix login width
2023-03-02 20:49:13 +08:00
Yaodong Yu
8696b08db2
fix: empty countryCode of current account causes crash ( #1603 )
...
* fix: empty countryCode of current account cause crush
* Update UserEditPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-03-01 22:09:48 +08:00
fengxsong
d21ae8a478
feat: support making configs in values.yaml ( #1595 )
...
Signed-off-by: fengxsong <fengxsong@outlook.com >
2023-03-01 20:17:04 +08:00
Zayn Xie
db401b2046
ci: add migration ci test ( #1600 )
...
* feat: add migration ci test
* feat: add migration ci test
* feat: add migration ci test
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com >
2023-03-01 17:30:08 +08:00
Shenyz
7181489da0
fix: OIDC Userinfo API response for scope profile ( #1598 )
2023-03-01 16:56:39 +08:00
Yaodong Yu
e21087aa50
feat: refactor reset password api and forgetPage.js ( #1601 )
2023-03-01 15:57:42 +08:00
longxu0509
b38f2218a3
feat: add basic MySQL sync functionality ( #1575 )
...
* 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
2023-02-28 16:48:06 +08:00
Yaodong Yu
afd3c4ed25
fix: fix bug form country code init error ( #1591 )
2023-02-27 22:07:28 +08:00
Yaodong Yu
5caceb4ae2
feat: fix bug that signup country code is undefined ( #1590 )
...
* feat: fix signup country code is undefined
* refactor: valid phone number in CN
2023-02-27 20:10:59 +08:00
Gucheng Wang
f5672357e6
fix resetting phone bug
2023-02-25 15:46:54 +08:00
Gucheng Wang
181e7c8c7d
Refactor out getCountryCodeOption()
2023-02-25 15:25:47 +08:00
Gucheng Wang
36c5a9d09b
Sort country list
2023-02-25 15:08:08 +08:00
Gucheng Wang
9acb3c499e
Can search country code
2023-02-25 14:57:23 +08:00
Gucheng Wang
0e9a3b0f30
don't update provider in preview
2023-02-25 12:31:08 +08:00
Gucheng Wang
d104a292e7
fix normal user phone edit control
2023-02-25 11:47:34 +08:00
Gucheng Wang
8fbd5b1a74
disable demo prompt for get-organizations API
2023-02-25 11:01:48 +08:00
Gucheng Wang
f5a05ac534
improve application homepage
2023-02-25 10:50:50 +08:00
Gucheng Wang
05fade1d05
fix role list link error
2023-02-25 09:39:19 +08:00
Gucheng Wang
8aefa02036
fix message length
2023-02-25 08:36:24 +08:00
Yaodong Yu
3b6ec3e7c4
feat: improve saml idp err message ( #1584 )
2023-02-24 21:20:57 +08:00
Yang Luo
910816c7a3
Fix bug in GetLanguage()
2023-02-24 20:17:23 +08:00
Yaodong Yu
412a8b5da7
fix: init name is inconsistent with frontend ( #1583 )
2023-02-24 14:28:34 +08:00
Yaodong Yu
8ebd16a14e
feat: fix resetting email and phone bug ( #1579 )
2023-02-23 18:06:13 +08:00
Gucheng Wang
44ec854465
Refactor getClientIdLabel() and getClientSecretLabel()
2023-02-23 17:57:46 +08:00
imp2002
26e87b0d98
feat: fix compatibility with lower version browsers like Chrome 87 ( #1578 )
2023-02-22 20:57:57 +08:00
Gucheng Wang
7e0ea0b8d9
Fix missing accountItem crash bug
2023-02-22 12:16:05 +08:00
Gucheng Wang
ace8e9da06
Refactor getAppIdRow()
2023-02-22 12:10:55 +08:00
Yaodong Yu
aac8714d72
feat: handle aliyun SMS response error ( #1577 )
2023-02-21 20:08:23 +08:00
Yaodong Yu
e71e41b343
feat: fix captcha none type bug ( #1572 )
2023-02-19 16:56:51 +08:00
Yang Luo
6131286cbd
Add getBuiltInAccountItems()
2023-02-19 09:45:06 +08:00
Yang Luo
3bda8fb9dc
Remove Migrator_1_245_0_PR_1557
2023-02-19 09:38:57 +08:00
github-actions[bot]
11f55a474c
refactor: New Crowdin translations ( #1440 )
...
* refactor: New Crowdin translations by Github Action
* refactor: New Crowdin Backend translations by Github Action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2023-02-18 23:46:44 +08:00
Yang Luo
4806e76cf6
Fix demo mode default login
2023-02-18 23:43:22 +08:00
Yang Luo
edbd3d4018
Add i18n banner
2023-02-18 18:09:43 +08:00
Yang Luo
3f0a741e6c
Improve i18n languages
2023-02-18 17:35:36 +08:00
Yang Luo
d273fdd670
Use username as saml:NameID
2023-02-18 16:42:45 +08:00
Yang Luo
3ae81716b9
Fix getLdaps() GET
2023-02-18 16:27:47 +08:00
Yang Luo
3a70f4e788
Add Setting.isResponseDenied()
2023-02-18 16:21:12 +08:00
Yang Luo
842d4865b2
Fix router error message's i18n
2023-02-18 16:11:23 +08:00
imp2002
19fb7273bb
fix: detect access denied by response message for demo mode ( #1565 )
...
fix: detect access denied by response message for demo mode
2023-02-18 12:12:54 +08:00
Yaodong Yu
943bd82731
feat: fix migrator_1_245_0_PR_1557.go ( #1564 )
2023-02-18 10:58:14 +08:00
Yaodong Yu
f2f962b893
fix: refactor functions and code ( #1559 )
2023-02-18 09:31:58 +08:00
Yaodong Yu
eb72c9f273
feat: support multiple country codes for sending SMS ( #1557 )
...
* feat: support multiple country code
* feat: improve UI
* feat: migrate accountItem
* fix: Aliyun compatible
* fix: phone validate
* fix: typo
2023-02-16 22:53:28 +08:00
Yang Luo
4605938f8e
Refactor FetchFilter.js code
2023-02-16 22:50:08 +08:00
imp2002
14fa914e6f
feat: add IsDemoMode for frontend ( #1555 )
...
* feat: add `IsDemoMode` for frontend
* fix: add i18n
* fix: support autologin and go same page
* fix: use i18n for button text
2023-02-16 20:36:30 +08:00
Yaodong Yu
e877045671
feat: fix CAS login crash bug ( #1549 )
2023-02-14 16:52:15 +08:00
jakiuncle
29f1ec08a2
fix: fix CI error by auto waiting for localhost:7001 to start up ( #1548 )
2023-02-14 14:50:58 +08:00
June
389744a27d
feat: change claims to claimsWithoutThirdIdp when gen token ( #1552 )
2023-02-14 09:33:46 +08:00
June
dc7b66822d
feat: change token ExpiresIn to second ( #1550 )
2023-02-14 09:18:30 +08:00
Yaodong Yu
efacf8226c
fix: session Id error ( #1554 )
2023-02-13 22:58:26 +08:00
Zayn Xie
6beb68dcce
fix: some bugs in session module when testing single-log-in ( #1547 )
...
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com >
2023-02-13 18:16:31 +08:00
Yang Luo
c9b990a319
Add removeExtraSessionIds()
2023-02-12 21:11:16 +08:00
Yang Luo
eedcde3aa5
Refactor session.go
2023-02-12 21:06:08 +08:00
Yaodong Yu
950a274b23
fix: region don't display in userEditPage ( #1544 )
2023-02-12 18:56:56 +08:00
Yang Luo
478bd05db4
Improve error handling in migrator
2023-02-12 10:39:20 +08:00
Zayn Xie
9256791420
feat: app session control and db migrate ( #1539 )
...
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process (#1533 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 )
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
* feat: integrate application session management into Casdoor's session management (#774 ) && standardized the database migration process
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com >
* fix: migrate err
* fix: migrate err
* feat: app session control and db migrate
* feat: app session control and db migrate
* feat: app session control and db migrate
---------
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com >
2023-02-12 09:33:24 +08:00
Yang Luo
6f2ef32d02
Update xorm.io/core to v0.7.3
2023-02-11 17:46:34 +08:00
hsluoyz
8b8c866fd2
feat: replace gomail and disable the Email username check for Mailtrap ( #1538 )
2023-02-11 15:59:23 +08:00
June
6f7230e949
feat: support refresh token on GetOAuthToken ( #1536 )
2023-02-10 23:52:13 +08:00
wht
9558bb4167
feat: fix file name length problem ( #1534 )
2023-02-10 20:27:20 +08:00
imp2002
04567babf8
feat: fix click MenuItem blank part invalid bug ( #1535 )
2023-02-10 18:11:15 +08:00
Yaodong Yu
543b316942
feat: update swagger parameter id description ( #1532 )
2023-02-10 10:42:16 +08:00
Yaodong Yu
e2b6e8ee6e
chore: unify migrate database way ( #1530 )
2023-02-09 19:28:15 +08:00
wht
e7e0518517
feat: fix the upload file name contains space problem ( #1527 )
2023-02-07 23:26:17 +08:00
LilithHC
943aa61869
feat: add provider icons and menus ( #1522 )
...
* fix: add provider icons(email and captcha) and menus
* fix: add provider icons and menus
2023-02-06 20:28:40 +08:00
wht
fcc75dd3be
feat: fix the Unicode filename encoding bug in storage provider ( #1518 )
2023-02-04 18:09:18 +08:00
WangGuan
8698f4111a
feat: add all remaining Goth providers to Casdoor OAuth login ( #1484 )
...
* feat: add Amazon support as OAuth 3rd-party login
* refactor: comebine the same URLs
* refactor: use hyper component to create login button
* feat: add all remaining Goth providers to Casdoor OAuth login
* refactor: remove redundant props
* fix: check provider auth url and params
2023-02-04 12:20:18 +08:00
jakiuncle
fdccb8b22b
feat: Test whether the page can be accessed ( #1517 )
...
* feat: add new line
* feat: Test whether the page can be accessed
* feat: Change the e2e order
* feat: add Test Retries
* feat: change yarn.lock
* feat: add new line
2023-02-03 19:59:28 +08:00
Yaodong Yu
19e7d0b0bd
refactor: improve code reuse rate ( #1515 )
2023-02-02 16:43:51 +08:00
Shenyz
f6a502f7ff
feat: add user password in ldap server search result ( #1513 )
...
* fix: ldap server search return inconsistent cn attribute
* feat: add user password in ldap server search result
2023-02-02 15:33:44 +08:00
Yaodong Yu
b34e16b145
fix: table do not have unique key ( #1512 )
2023-02-02 13:53:18 +08:00
Gucheng Wang
11b56c340f
Add refineUser() in generateJwtToken()
2023-02-02 00:34:56 +08:00
Yaodong Yu
cc6ea1b60e
feat: fix application edit page crash and language icon position ( #1511 )
...
* fix: widget position and color
* feat: fix applicationEdit crush
2023-02-01 23:11:48 +08:00
Yaodong Yu
95b32d5ebf
feat: support customize theme ( #1500 )
...
* refactor: simplify functions and improve variable naming
* feat: add themeEditor component
* feat: support customize theme
* chore: resolve conflict and add LICENCE
* chore: format code
* refactor: use icon replace background url
* feat: improve organization and application theme editor
2023-02-01 22:06:40 +08:00
imp2002
b47baa06e1
fix: remove "Agreement" in edit application error ( #1506 )
2023-01-31 22:56:19 +08:00
wht
24a824d394
feat: return the correct error message in the Edit Model ( #1504 )
2023-01-30 22:19:42 +08:00
Gucheng Wang
75b8357de8
Add properties to UserWithoutThirdIdp
2023-01-29 21:51:01 +08:00
Gucheng Wang
087405dad2
Fix isAllowedInDemoMode()
2023-01-26 17:56:29 +08:00
1307
6a6a1fa920
feat: fix missing phone number prefix in login screen ( #1492 )
...
fix : #1489
2023-01-24 23:19:44 +08:00
Gucheng Wang
907d18d2e9
Fix missing roles and permissions in user table
2023-01-23 00:36:55 +08:00
Zayn Xie
a728e083eb
feat: reduce the size of token's user object ( #1487 )
...
* fix: Reduce the size of token, especially the user object (#1170 )
* fix: Reduce the size of token, especially the user object (#1170 )
* fix: Reduce the size of token, especially the user object (#1170 )
Co-authored-by: Zayn Xie <84443886+xiaoniuren99@users.noreply.github.com >
2023-01-21 09:30:23 +08:00
Chell
457e6208ad
feat: terms of use auto selected ( #1485 )
2023-01-19 20:31:21 +08:00
Chell
d10b1347a8
feat: add terms of use in signin page ( #1476 )
...
* feat: extract terms of use renderer
* fix: layout
* fix: form styling
* fix: required state
* feat: application terms of use setting
* fix: refactor getTermsOfUseContent
* fix: refactor renderers
2023-01-19 18:39:24 +08:00
qwqcode
f5b7f8cb45
chore(frontend): remove import of the third-party js script ( #1436 )
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-01-19 11:31:27 +08:00
Yaodong Yu
5d9b17542f
feat: end-user log out ( #1356 )
2023-01-17 22:57:05 +08:00
buptxxb65
0021226a60
fix: check the duplicated Application ClientId ( #1481 )
...
* fix: Check the duplicate ClientId and ClientSecret of Application.
* Bug fix
2023-01-17 17:37:20 +08:00
June
79fc0516dd
feat: check username if it's changed ( #1482 )
2023-01-17 17:08:37 +08:00
June
a73be11990
feat: update permission when role deleted ( #1480 )
2023-01-17 17:04:58 +08:00
June
eddd8acbf4
feat: update permission rule when role updated ( #1477 )
2023-01-17 10:27:02 +08:00
Yaodong Yu
d0741e3705
feat: fix compatibility issue between Casbin request and model ( #1478 )
2023-01-15 12:06:10 +08:00
Liu
c66561dc9a
feat: support sqlite database without cgo by using the modernc.org/sqlite driver ( #1474 )
...
* Refactor: update sqlite go driver to modernc.org/sqlite without cgo
* fix: update sqlite driver to modernc.org/sqlite
* fix: sqlite driver to modernc.org/sqlite
* Update adapter.go
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-01-14 20:11:23 +08:00
Yaodong Yu
fcdf1e8dd2
feat: improve Select component performance ( #1472 )
2023-01-12 23:11:11 +08:00
June
6d4f94986e
feat: fix the bug that "app - global" admin is not allowed to update user ( #1468 )
2023-01-12 12:29:11 +08:00
Yaodong Yu
9ca686b240
feat: disable role and permission update and checks when updating user ( #1466 )
2023-01-12 11:40:32 +08:00
jakiuncle
c93bc0dda2
fix: add e2e cypress screenshots and videos if failed ( #1465 )
...
* feat: location error
* feat: location error
* feat: test error
* feat add e2e
* feat: delete cypress dependency
* feat: Add e2e error feedback
2023-01-11 23:56:09 +08:00
Yaodong Yu
7d25b9cdd8
feat: auto link accounts with the same email ( #1464 )
2023-01-11 23:19:16 +08:00
Yaodong Yu
ead844131e
feat: improve user edit page to fix missing fields and page crash ( #1463 )
2023-01-11 16:15:06 +08:00
Yaodong Yu
ce2a4bbf6e
feat: check uniqueness for email and phone when updating user ( #1461 )
...
* fix: check unique field when update user
* Update data.json
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2023-01-10 22:34:08 +08:00
疯魔慕薇
fcb80b800f
feat: add refresh token to token login response ( #1458 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
2023-01-09 23:33:03 +08:00
jakiuncle
6daadf8d3c
feat: add e2e test ( #1445 )
...
* add cypress
* feat: add crypress ci
2023-01-09 00:16:32 +08:00
Gucheng Wang
090389b86a
Fix bug in CheckAccountItemModifyRule()
2023-01-07 13:49:06 +08:00
Gucheng Wang
b566af8e11
Improve i18n
2023-01-06 20:32:18 +08:00
Gucheng Wang
57028c2059
Remove duplicated i18n words
2023-01-06 20:24:14 +08:00
Gucheng Wang
a6e9084973
Remove duplicated i18n words
2023-01-06 20:12:32 +08:00
Gucheng Wang
6fb3e2cd7f
Remove check_util i18n words
2023-01-06 19:57:13 +08:00
Gucheng Wang
8b6bde6d82
Remove generate_backend.go
2023-01-06 19:42:47 +08:00
Gucheng Wang
fb2b03f00f
Add category to applyToOtherLanguage()
2023-01-06 19:26:00 +08:00
Gucheng Wang
1681138729
Add getAllFilePathsInFolder()
2023-01-06 19:04:38 +08:00
Ngọc Long
1d8b0a264e
feat(login): add code login limit ( #1442 )
2023-01-06 18:51:43 +08:00
Yaodong Yu
b525210835
feat: destroy session after delete user ( #1441 )
...
* fix: destroy session after delete user
* feat: visual session
* fix: go lint
* feat: add translation
* feat: auto flush after offline
* fix: delete one session
* fix: move 403 page to baseListPage
2023-01-06 15:04:13 +08:00
imp2002
4ab2ca7a25
feat: fix checkPermissionForUpdateUser() logic ( #1454 )
...
* fix: fix `checkPermissionForUpdateUser()` logic
* fix: fix `checkPermissionForUpdateUser()` logic
2023-01-06 00:03:40 +08:00
June
dcf148fb7f
fix: add GetMaskedRoles and GetMaskedPermissions when GetAccount ( #1456 )
2023-01-06 00:02:52 +08:00
Mr Forest
c8846f1a2d
feat: fix translate bug in UpdateUser() ( #1451 )
...
* fix: fix translate error
* fix translate bug in UpdateUser()
* Delete DiscordLoginButton.js
2023-01-04 22:54:50 +08:00
June
0559298d6c
feat: extend user with roles and permissions in GetAccount ( #1449 )
2023-01-04 20:23:57 +08:00
June
ddb5e26fcd
fix: mask user in get-account response ( #1450 )
2023-01-04 18:40:36 +08:00
Liu
1f39027b78
fix: convert line endings to LF on checkout for all envs ( #1448 )
...
* Convert line endings to LF on checkout for all envs
* fix: convert line endings to LF on checkout for all envs
2023-01-04 18:36:38 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth ( #1443 )
2023-01-03 19:42:12 +08:00
imp2002
186f0ac97b
feat: check permission when update user ( #1438 )
...
* feat: check permission when update user
* feat: check permission when update user
* fix: fix organization accountItem modifyRule
* fix: fix organization accountItem modifyRule
2023-01-02 09:27:25 +08:00
imp2002
308f305c53
feat: add query and fragment response mode declare in OIDC ( #1439 )
2023-01-01 21:46:12 +08:00
Yaodong Yu
d498bc60ce
feat: edit user properties ( #1435 )
2022-12-31 15:27:53 +08:00
Mr Forest
7bbe1e38c1
fix: fix translate error ( #1432 )
...
* fix:fix translate error
* Delete TelegramLoginButton.js
* Update data.json
* Update data.json
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-12-30 12:10:18 +08:00
Chell
f465fc6ce0
feat: support changing theme in antd 5 ( #1430 )
...
* feat: add global theme change function
* feat: add icons
* feat: in app theme changer
* feat: use antd built-in themes
* fix: multiple styling problem
* fix: theme init from localstorage
* feat: dark mode footer
* feat: casdoor logo color theme
* feat: select theme box icon adaptive to theme
* fix: menu bar style
* fix: language box style
* feat: translation
* feat: update translation of select theme box without reloading
* fix: mobile view
* fix: better structured select theme box
* feat: add compact icon
* fix: redundant theme fetch
* fix: redundant theme fetch
* fix: various styling problems
2022-12-29 22:30:37 +08:00
June
c952c2f2f4
feat: fix login with password bug when feature is disabled ( #1428 )
2022-12-27 14:46:57 +08:00
Yaodong Yu
86ae97d1e5
feat: fix the bug that spin is always showing when response error ( #1424 )
2022-12-24 17:55:36 +08:00
Yaodong Yu
6ea73e3eca
fix: show background image in preview ( #1425 )
2022-12-24 17:47:05 +08:00
Chell
a71a190db5
feat: fix bug in redirectToLoginPage() ( #1422 )
2022-12-24 01:10:02 +08:00
Yaodong Yu
da69d94445
feat: fix the bug that spin in oauth is always showing ( #1421 )
2022-12-23 15:06:51 +08:00
imp2002
b8b915abe1
feat: check AccessPermission in multiple permissions ( #1420 )
2022-12-23 14:06:02 +08:00
Chell
5d1548e989
feat: fix absolute URL redirection ( #1419 )
...
* fix: redirect to absolute url
* fix: original jump
2022-12-23 11:05:15 +08:00
Yaodong Yu
a0dc6e06cd
feat: add EntryPage for login, signup pages to fix background flashing issue ( #1416 )
...
* feat: fix flush in login Pages
* fix: code format
* fix: improve code
* Update App.js
* Update EntryPage.js
* fix: optimize api request
* Update App.js
* Update App.js
* fix: fix css
* fix: css and getApllicationObj
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-12-22 23:39:02 +08:00
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login ( #1413 )
2022-12-21 02:25:58 +08:00
Gucheng Wang
f075d0fd74
Refactor out application.IsRedirectUriValid()
2022-12-21 00:35:33 +08:00
Alena Poliakova
65d4946042
feat: add valid key for creating token ( #1411 )
2022-12-20 22:05:00 +08:00
Liu
26acece8af
feat: add all other missing objects to init_data ( #1407 )
...
* Add all other missing objects to init_data.json
* Format golang code
* feat: add all other missing objects to init_data
* feat: add all other missing objects to init_data
2022-12-18 01:49:42 +08:00
Gucheng Wang
48a0c8473f
Improve README
2022-12-18 01:41:12 +08:00
Yaodong Yu
082ae3c91e
fix: fix undefined owner bug in AdapterEditPage ( #1406 )
2022-12-17 21:21:39 +08:00
Yaodong Yu
1ee2ff1d30
feat: now dingtalk OAuth returns all error messages to frontend ( #1405 )
2022-12-17 21:10:20 +08:00
Gucheng Wang
c0d9969013
Add description to product
2022-12-16 23:35:30 +08:00
Gucheng Wang
1bdee13150
Fix bug in renderQrCodeModal()
2022-12-16 23:28:43 +08:00
imp2002
d668022af0
feat: fix length of policy and [policy_define] in model inconsistent ( #1400 )
2022-12-15 20:42:55 +08:00
Yaodong Yu
e227875c2b
feat: add post methed for saml response ( #1399 )
2022-12-13 22:32:45 +08:00
Mr Forest
e473de3162
feat: fix sign in error via webauthn ( #1398 )
...
* fix: fix sign in error via webauthn
* fix review problems
2022-12-13 16:57:42 +08:00
Gucheng Wang
c5ef841d3f
Disable isValidIdCard()
2022-12-12 01:07:31 +08:00
Gucheng Wang
d46288b591
Add renderQrCodeModal()
2022-12-12 00:42:45 +08:00
Chell
b968bf033c
fix: case insensitive country name and country abbreviation search in region selection ( #1394 )
2022-12-11 18:14:25 +08:00
Mr Forest
eca2527bc0
feat: fix bug in signup and reset phone and email ( #1396 )
...
* fix: fix bug in signup and reset phone and email
* delete useless addition
2022-12-11 15:52:36 +08:00
Chell
ef836acfe9
fix: login page flag icon preload ( #1393 )
2022-12-11 11:22:58 +08:00
Yaodong Yu
a51f0d7c08
feat: init score in organization ( #1388 )
...
* feat: init score in organization
* Update OrganizationEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-12-10 22:27:12 +08:00
Yaodong Yu
e3c36beaf4
fix: the link button with disabled style but can click ( #1390 )
2022-12-10 22:14:20 +08:00
imp2002
19dce838d1
fix: fix invalid url in applications page ( #1389 )
2022-12-10 22:06:21 +08:00
Yaodong Yu
b41d8652f0
feat: fix showing wrong error messages ( #1385 )
2022-12-09 15:11:13 +08:00
imp2002
e705eecffe
feat: response with status in casbin_adapter.go ( #1384 )
...
* fix: response standardized information with status in `casbin_adapter.go`
* fix: remove redundant statements
2022-12-08 10:22:59 +08:00
Mr Forest
2bb2c36f22
fix: add crowdin action env ( #1381 )
2022-12-07 14:05:21 +08:00
Mr Forest
1bb3d2dea9
feat: refactor backend i18n ( #1373 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
* feat: refactor translation error message
* feat: use json intsead of ini file
* remove useless translation
* fix translate problems
* remove useless addition
* fix pr problems
* fix pr problems
* fix split problem
* use gofumpt to fmt code
* use crowdin to execute backend translation
* fix pr problems
* refactor: change translation file structure same as frontend
* delete useless output
* update go.mod
2022-12-07 13:13:23 +08:00
Gucheng Wang
96566a626b
Increase Detail field size
2022-12-07 01:53:03 +08:00
Yaodong Yu
042e52bd16
feat: replace casdoor/goth with markbates/goth ( #1374 )
2022-12-06 17:18:29 +08:00
Yaodong Yu
e207fd243b
feat: fix CSS issue that login error pages are not centered ( #1371 )
2022-12-06 14:00:17 +08:00
Gucheng Wang
30b7fd963f
Reduce Resource key size
2022-12-06 11:30:42 +08:00
Yaodong Yu
ca314bbfb5
feat: refactor layout and fix footer CSS ( #1370 )
2022-12-06 00:50:17 +08:00
imp2002
812c44e070
feat: add and load policy within a specific permission ( #1357 )
...
* fix: add and load policy with a specific permission
* fix: use a clear variable name
2022-12-05 17:07:10 +08:00
imp2002
78e45d07cf
fix: support RBAC With Domains/Tenants ( #1333 )
...
* feat: support RBAC With Domains/Tenants
* fix: add verify for `UpdatePermission`
* Update permission.go
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-12-05 16:08:17 +08:00
Yaodong Yu
0856977b92
feat: update to antd 5.0 ( #1362 )
...
* feat: update to ant5.X
* fix: incompatible styles
* fix: adjust the style
2022-12-04 23:05:30 +08:00
Chell
a44a4b0300
feat: fix React incorrect usage to fix issue that verification code must be submitted twice to succeed ( #1348 )
...
* fix: synchronized user login fields saving
* fix: synchronized user login fields saving
* recover changes
* fix: save username in step 2
* fix: format
2022-12-04 20:58:07 +08:00
Chell
4b29dd8c41
fix: responsive certs page editor ( #1360 )
...
* fix: responsive editor width
* fix: format
2022-12-04 16:04:04 +08:00
Yaodong Yu
165e2e33e3
fix: disable formcss in mobile ( #1359 )
2022-12-04 15:53:46 +08:00
Yang Luo
d13a307ad5
Allow org admin to access GetResources()
2022-12-03 01:10:45 +08:00
Mr Forest
27bd771fed
feat: handle the dataSourceName when DB changes ( #1352 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
2022-12-02 22:20:18 +08:00
Yaodong Yu
9f3ee275a8
feat: reformat frontend alert texts with correct i18n ( #1341 )
...
* fix: add i18
* fix: standard prompt message
2022-12-02 00:06:28 +08:00
Chell
fcda64ad7d
fix: provider sort alphabetical order ( #1347 )
2022-12-01 22:51:10 +08:00
Yaodong Yu
d815bf92bd
fix: handle add message in frontend ( #1340 )
2022-11-29 20:32:47 +08:00
WangGuan
7867060b71
feat: add quota limitation to organizations, users, providers and applications ( #1339 )
2022-11-29 11:01:41 +08:00
Mr Forest
8890d1d7c7
fix: check credential existence when signing via WebAuthn ( #1336 )
...
* fix: check credential existence when signing via WebAuthn
* fix review problem
2022-11-28 21:47:17 +08:00
Chell
6e6a0a074a
fix: application edit mobile view ( #1331 )
...
* fix: application edit mobile view
* fix: decompose elements
* fix: decomposition
* fix: remove space component
* Update ApplicationEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-11-28 21:10:49 +08:00
Thai
cff3007992
feat: add get-permissions-by-role API ( #1335 )
2022-11-28 15:30:46 +08:00
Mr Forest
fe448cbcf4
feat: check user existence when signing in via verification code ( #1334 )
...
* fix:check user existence when logining by verification code
* fix review problems
* Update verification.go
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-11-28 00:11:33 +08:00
Chell
2ab25df950
fix: prompt page translation ( #1330 )
...
* fix: prompt page translation
* add multiple translations
* fix: translation consistency
* fix: translation consistency
* fix: add translation
* fix: add translation
* Update data.json
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-11-27 21:04:45 +08:00
WangGuan
b895926754
feat: use another filename when uploading a duplicated file instead of replacing it ( #1329 )
...
* fix: upload a file with the same name, not replace
* Update resource.go
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-11-27 17:32:15 +08:00
YiNN
5bb7a4153f
feat: add cloudflare turnstile captcha ( #1327 )
...
* feat: add cloudflare turnstile captcha
* fix: rename turnstile to cloudflare turnstile
2022-11-26 17:17:49 +08:00
Yaodong Yu
b7cd598ee8
fix: fail to return after flush the page ( #1325 )
...
* fix: fail to return after flush the page
Old methed just get the url path parameter when click the butten. But when the page flushed, the returnUrl will disappear, so can not return to the specified page.
* Update UserEditPage.js
* Update UserEditPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-11-25 23:08:45 +08:00
Yaodong Yu
b10fb97c92
feat: finish policy list management ( #1317 )
2022-11-25 16:02:20 +08:00
Yaodong Yu
b337b908ea
feat: fix the bug that admin cannot upload avatar for other users ( #1323 )
2022-11-25 09:36:47 +08:00
Mr Forest
ba9d1e2388
fix: fix bug in GetAcceptLanguage() ( #1322 )
2022-11-24 20:43:35 +08:00
Mr Forest
29ec1d2d9c
feat: update Xorm to v1.0.5 to fix the PostgreSQL bug in Xorm ( #1321 )
...
* fix:update xorm version
* fix pr problems
* update xorm version to 1.2.0
* update xorm version to 1.0.5
* fix pr problems
* generate go.sum file
2022-11-24 19:28:51 +08:00
Mr Forest
84a03f6c8e
feat: add webhook for add/update org/provider ( #1316 )
2022-11-24 00:29:15 +08:00
会思考的下丘脑
56ff06bbea
feat: add parameter v0 for Casbin APIs ( #1315 )
2022-11-23 22:39:17 +08:00
Yaodong Yu
7e756b8ee2
feat: manager applications in organization scope ( #1290 )
...
* feat: manager applications in organization scope(front end)
* fix: application can use own organization and admin provider
* fix: improve methed to get provider
* fix: modify provider methods by convention
2022-11-21 01:17:55 +08:00
Yaodong Yu
19ba37e0c2
feat: can specify available UI languages for an organization ( #1306 )
2022-11-19 22:11:19 +08:00
Mr Forest
b98ce19211
feat: fix bug in GetDefaultApplication() that caused login error for other orgs ( #1299 )
...
* fix:fix bug in GetDefaultApplication
* fix:fix bug in GetDefaultApplication
2022-11-16 00:39:05 +08:00
会思考的下丘脑
37d1a73c0c
feat: encode redirectUri ( #1297 )
2022-11-15 19:05:59 +08:00
Yaodong Yu
727877cf54
fix: illegal user when new a permission ( #1298 )
2022-11-15 14:19:20 +08:00
Mr Forest
939b416717
fix: limit only under PC can login by following Wechat Official Account ( #1293 )
2022-11-14 09:03:55 +08:00
imp2002
f115843fbb
feat: fix verification code send time's limit logic ( #1292 )
2022-11-13 22:00:48 +08:00
Mr Forest
aa6a4dc74f
feat: support login by following wechat official account ( #1284 )
...
* show QRcode when click WeChat Icon
* update how to show qrcode
* handle wechat scan qrcode
* fix api problems
* fix url problems
* fix problems
* modify get frequency
* remove useless print
* fix:fix PR problems
* fix: fix PR problems
* fix:fix PR problem
* fix IMG load delay problems
* fix:fix provider problems
* fix test problems
* use gofumpt to fmt code
* fix:delete useless variables
* feat:add button for follow official account
* fix:fix review problems
* use gofumpt to fmt code
* fix:fix scantype problems
* fix Response problem
* use gofumpt to format code
2022-11-13 15:05:15 +08:00
cofecatt
462a82a3d5
fix: Add distinctions between access_token and refresh_token ( #1280 )
2022-11-13 13:00:25 +08:00
Dinn
262aeba7e2
fix(RoleEditPage): Fix a crash when the sample role domains is null ( #1268 )
2022-11-13 12:28:24 +08:00
Chell
61c2fd5412
feat: fix the issue of jumping back to the login page after resetting password ( #1288 )
...
* fix: redirect to login page
* fix: front end router
* fix: front end router
* fix: signup page router
* fix: redirect to login page
2022-11-13 12:16:49 +08:00
Chell
d542208eb8
feat: fix select language box overlay ( #1289 )
...
* fix: select language box overlay
* fix: select language box position
* fix: select language box position
* fix: select language box position
2022-11-13 10:52:22 +08:00
Yaodong Yu
f818200c95
feat: fix empty organization in adapter edit page ( #1274 )
2022-11-08 21:03:15 +08:00
Yaodong Yu
5bc2e91344
fix: fix typo ( #1264 )
2022-11-06 21:14:26 +08:00
Gucheng Wang
295f732b18
Show tag in i18n
2022-11-06 20:19:31 +08:00
cofecatt
770ae47471
feat: fix memory leak problem ( #1257 )
2022-11-06 01:43:27 +08:00
Chell
2ce4f96355
fix: forget page mobile view ( #1263 )
2022-11-05 22:54:22 +08:00
Chell
07ed834b27
fix: system info mobile view ( #1261 )
2022-11-05 22:46:52 +08:00
Yaodong Yu
8d686411ee
feat: support add providers inside the Organization scope ( #1250 )
...
* feat: support add providers inside the Organization scope
Signed-off-by: magicwind <2814461814@qq.com >
* Update ProviderListPage.js
* fix: gloabal admin can see all providers
* fix: table fixed column warning
* fix: edit application page can get all providers
Signed-off-by: magicwind <2814461814@qq.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-11-04 21:31:08 +08:00
Yaodong Yu
ce722897f1
feat: support prefix path for storage files ( #1258 )
2022-11-04 21:08:39 +08:00
Mr Forest
a8381e875b
feat: change all occurrences when a object name is changed ( #1252 )
2022-11-02 00:17:38 +08:00
Ke Wang
4c81fd7d16
feat: fix generating wrong x.509 private key file header ( #1253 )
...
According to the [official x509 documentation](https://pkg.go.dev/crypto/x509#MarshalPKCS1PrivateKey ), the private key generated using `x509.MarshalPKCS1PrivateKey` starts with `-----BEGIN RSA PRIVATE KEY-----` instead of `-----BEGIN PRIVATE KEY-----`. Otherwise, it will not be parsed by most tools (like OpenSSL, [jwt.io](https://jwt.io/ ), etc.) because it does not conform to the specification.
2022-11-01 22:19:38 +08:00
xAmast
25ee4226d3
feat: clear the session of a signin but non-existent user ( #1246 )
2022-10-29 20:18:02 +08:00
Bingchang Chen
9d5b019243
fix: nil error if init data is empty ( #1247 )
2022-10-29 20:04:43 +08:00
Mr Forest
6bb7b545b4
feat: restrict DingTalk user log in who is under the DingTalk Org(which ClientId belong) ( #1241 )
...
* feat: fix bug in GetAcceptLanguage()
* feat: add appName when logging in with DingTalk
* fix review problems
* format code
* delete useless printf
* modify display name
Co-authored-by: Gucheng Wang <nomeguy@qq.com >
2022-10-28 22:14:05 +08:00
wenxuan70
25d56ee8d5
feat: allow captcha to be enabled when logging in ( #1211 )
...
* Fix bug in GetAcceptLanguage()
* feat: allow captcha to be enabled when logging in
* feat: when the login password is wrong, enable captcha
* feat: Restrict captcha from frontend
* fix: modify CaptchaModal component
* fix: modify the words of i18n
* Update data.json
Co-authored-by: Gucheng Wang <nomeguy@qq.com >
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-10-28 13:38:14 +08:00
Chell
7e5952c804
fix: login / signin frontend router ( #1244 )
...
* fix: go to link
* fix: remove gotologin
* fix: redirect to login page
* fix: redirect to login page
* remove comments
* fix: formats
* fix: formats
* Update Setting.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-10-28 02:23:57 +08:00
Yaodong Yu
80bf29d79a
feat: fix showing wrong error message: "Please sign in first" ( #1245 )
2022-10-27 23:50:45 +08:00
Yaodong Yu
971e53dfd8
fix: fix duplicated user bug in user list page ( #1243 )
...
* fix: user list repititon errer
* Update UserListPage.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-10-27 22:51:05 +08:00
Bingchang Chen
654b903d7a
feat: fix multi-platform docker image ( #1242 )
2022-10-26 23:31:00 +08:00
jakiuncle
2f72e6971b
fix: make the app list in homepage have the same height ( #1239 )
...
* fix: make the app list in homepage have the same height
* fix: make the app list in homepage have the same height
* Update SingleCard.js
Co-authored-by: hsluoyz <hsluoyz@qq.com >
2022-10-25 19:27:24 +08:00
Mr Forest
d4b587b93e
feat: fix bug in GetAcceptLanguage() ( #1237 )
...
Co-authored-by: Gucheng Wang <nomeguy@qq.com >
2022-10-25 10:50:10 +08:00
Gucheng Wang
ac7a510949
Fix go.mod
2022-10-23 16:14:49 +08:00
Mr Forest
d86f3c88c7
feat: support i18n in backend err messages ( #1232 )
...
* feat: support i18n in backend err messages
* use gofumpt to fmt code
* fix review problems
* support auto generate err message
* delete beego/i18n moudle
* fix Github action test problems
* fix review problems
* use gofumpt to format code
* use gofumpt to fmt code
2022-10-23 15:16:24 +08:00
Gucheng Wang
7c77519069
Fix formPosition typo
2022-10-23 02:26:50 +08:00
Gucheng Wang
2bdf467e3a
Update formCss default value
2022-10-23 01:27:01 +08:00
Gucheng Wang
52b692c8ad
Refactor to renderLink()
2022-10-22 23:48:59 +08:00
Chell
304643736b
fix: forget password and sign up router ( #1227 )
...
* fix: forget password and sign up router
* fix: link
* fix: jump logic
* fix: signup link
* fix: signup link
* fix: login and signup router
* remove comments
* fix: normal router
* fix: link abstraction
* rename jump component
* fix: session storage
* fix: store signin url
* fix: jumplink props
* fix: simplify link
* fix: path join
* fix: remove unused functions
2022-10-22 23:17:50 +08:00
Yaodong Yu
b0f572c51a
feat: add left-side image and improve login page ( #1226 )
2022-10-22 21:43:41 +08:00
cofecatt
19d351d157
feat: allow non-ASCII characters in username ( #1235 )
2022-10-22 20:46:50 +08:00
Bingchang Chen
d0751bf2fa
feat: add arm docker ( #1236 )
2022-10-22 11:08:29 +08:00
Bingchang Chen
290cc60f00
feat: non root user for casdoor image ( #1234 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com >
Signed-off-by: abingcbc <abingcbc626@gmail.com >
2022-10-21 17:19:58 +08:00
Yaodong Yu
6a1ec51978
feat: fix SSRF when download avatar ( #1193 )
2022-10-20 14:47:08 +08:00
chao
dffa68cbce
feat: fix SAML login error bug ( #1228 )
...
* Update LoginPage.js
* fix saml login error
2022-10-20 01:14:38 +08:00
Gucheng Wang
fad209a7a3
Don't check username in UpdateUser() API
2022-10-19 22:50:19 +08:00
Gucheng Wang
8b222ce2e3
Use Steam ID as username
2022-10-18 22:07:20 +08:00
YunShu
c5293f428d
fix: delete this accidentally added files ( #1229 )
...
* fix: delete this accidentally added files
* fix: ignore build result
* fix: remove unnecessary asterisk
2022-10-18 21:55:34 +08:00
Gucheng
146aec9ee8
feat: skip username restriction for new users coming from OAuth providers. ( #1225 )
2022-10-17 18:01:01 +08:00
Mr Forest
50a52de856
feat: support database version control ( #1221 )
...
* feat: support Database version control
* Update adapter.go
* fix review problems
* Update adapter.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-10-15 17:20:20 +08:00
Chell
8f7a8d7d4f
fix: translation without reloading ( #1215 )
...
* fix: translation without reloading
* fix: language switch
2022-10-12 19:52:02 +08:00
cofecatt
23f3fe1e3c
feat: update code format ( #1214 )
...
* feat: doc
* feat: doc
* Update model.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-10-12 11:42:14 +08:00
cofecatt
59ff5e02ab
fix: Add support for including underscores for username ( #1210 )
...
* fix: Add support for including underscores for username
* Update check.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-10-11 19:39:19 +08:00
xxrl
8d41508d6b
fix: center loading in account page ( #1209 )
...
* fix: center loading in account page
* Update UserEditPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-10-11 00:52:08 +08:00
Gucheng Wang
04f70cf012
Improve renderRightDropdown()
2022-10-10 22:53:47 +08:00
Chell
83724c73f9
feat: fix pad and mobile views ( #1202 )
...
* fix figure width
* fix: pad resolution menu
* feat: drawer style mobile menu
* fix: menu button i18n
2022-10-10 22:37:25 +08:00
Gucheng Wang
33e419e133
Show more items to org admin
2022-10-10 21:58:17 +08:00
Gucheng Wang
b832c304ae
Can get owner in getObject()
2022-10-10 20:56:55 +08:00
cofecatt
4c7f6fda37
fix: Add restriction to username when signing up ( #1203 )
2022-10-10 19:58:02 +08:00
Mr Forest
e4a54fe375
fix: disable roles inputbox when model doesn't support RBAC ( #1201 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
* fix: fix ldapserver crash bug
* Update ldapserver.go
* fix: fix dulpicate go routines
* fix gofumpt problems
* fix: fix UserList error
* feat:disable 'sub role' when model is incorrect
* feat:disable 'sub role' when model is incorrect
* feat:disable 'sub role' when model is incorrect
* delete useless output
* update func name
* Update PermissionEditPage.js
* Update PermissionEditPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-10-10 00:53:55 +08:00
Gucheng Wang
87da3dad76
Remove useless file
2022-10-09 22:18:38 +08:00
Gucheng Wang
44ad88353f
Add error to GetDefaultApplication()
2022-10-09 10:39:33 +08:00
Mr Forest
a955fb57d6
feat: fix UserList error ( #1194 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
* fix: fix ldapserver crash bug
* Update ldapserver.go
* fix: fix dulpicate go routines
* fix gofumpt problems
* fix: fix UserList error
2022-10-08 20:00:45 +08:00
Gucheng
d2960ad66b
Fix README typo
2022-10-08 16:00:08 +08:00
YunShu
5243aabf43
docs: Create SECURITY.md ( #1192 )
2022-10-07 19:02:35 +08:00
Gucheng Wang
d3a2c2a66e
Improve org admin permissions
2022-10-07 16:27:21 +08:00
Gucheng Wang
0a9058a585
Improve user list page
2022-10-07 15:43:50 +08:00
Gucheng
225719810b
Update link typo in README
2022-10-06 19:37:00 +08:00
kcfuler
c634d4a891
feat: add some css style for the custom Provider button ( #1185 )
...
* fix: add some css style for the custom button
* fix: refactor previous code
* fix: add i18 adaptation
* fix: modifiy the saml codition
2022-10-06 19:28:02 +08:00
Yaodong Yu
3dc01ec85d
fix: language widget poisition without border css ( #1188 )
2022-10-06 17:26:12 +08:00
Gucheng Wang
a7324f1da1
Improve className
2022-10-03 22:45:36 +08:00
Yaodong Yu
6da452d7e0
feat: show language widget in signup and signin pages ( #1180 )
2022-10-03 22:40:19 +08:00
Gucheng Wang
5abcf913e6
Fix language menu
2022-10-03 22:39:10 +08:00
Gucheng Wang
58455e688e
Improve WebAuthnCredentialTable and border radius
2022-10-03 18:46:40 +08:00
Gucheng Wang
4d6f68eddc
Improve footer and color
2022-10-03 17:43:19 +08:00
Gucheng Wang
67f3c5a489
Add verificationCode to login method
2022-10-03 15:41:20 +08:00
Товарищ программист
9c48582e0c
feat: fix bugs in webauthn ( #1173 )
2022-10-01 11:10:55 +08:00
q1anx1
645c631db9
fix: fix the delete file vulnerability issue ( #1174 )
2022-10-01 00:33:27 +08:00
Gucheng Wang
3128e68df4
Add sendSilentSigninData()
2022-09-30 01:51:58 +08:00
Gucheng Wang
2247c6a883
Add isSelf() in user edit page
2022-09-29 22:24:05 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
Yixiang Zhao
ebe1887e8b
feat: add saml provider error ( #1168 )
...
* fix: add saml provider error
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: search
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-09-28 21:09:39 +08:00
Mr Forest
a7a8805713
feat: fix dulpicate go routines ( #1167 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
* fix: fix ldapserver crash bug
* Update ldapserver.go
* fix: fix dulpicate go routines
* fix gofumpt problems
2022-09-28 20:28:00 +08:00
WangGuan
ceabbe27b4
feat: remove p_type in table permission_rule ( #1165 )
2022-09-27 22:50:27 +08:00
Gucheng Wang
7393b90155
Add enableAutoSignin to application
2022-09-27 20:06:46 +08:00
Taoning Ge
0098c05fb3
feat: add support for smsbao sms ( #1164 )
2022-09-27 08:37:55 +08:00
Mr Forest
34324d9f72
fix: fix ldapserver crash bug ( #1161 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
* fix: fix ldapserver crash bug
* Update ldapserver.go
2022-09-26 18:27:17 +08:00
Товарищ программист
28b381e01e
fix: fix webauthn redirection ( #1148 )
2022-09-25 21:41:52 +08:00
leoshine
40039e0412
feat: add twilio SMS ( #1159 )
2022-09-25 17:58:12 +08:00
Yang Luo
116420adb2
feat: revert "feat: fix openid address format" ( #1158 )
...
This reverts commit a447d64bf2 .
2022-09-25 09:58:45 +08:00
Mr Forest
07c1e3b836
feat: support simple LDAP server ( #1155 )
...
* feat:Support simple ldap server
* fix:fix review problems
* fix:fix review problems
2022-09-24 21:48:29 +08:00
Taoning Ge
a447d64bf2
fix: openid address format ( #1157 )
2022-09-24 15:34:11 +08:00
Resulte Lee
4116b1d305
feat: fix google login flash bug ( #1147 )
2022-09-23 16:03:09 +08:00
leoshine
1490044295
fix: add returnUrl for user edit page ( #1152 )
...
* feat: add redirect param
Signed-off-by: magicwind <2814461814@qq.com >
* Update UserEditPage.js
Signed-off-by: magicwind <2814461814@qq.com >
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-09-23 12:01:21 +08:00
Taoning Ge
79f2af405a
fix: check whether to use go proxy in build ( #1149 )
2022-09-22 22:14:25 +08:00
Gucheng Wang
575a248c41
Add TestGetEmailsForUsers()
2022-09-22 20:51:50 +08:00
Gucheng Wang
7083904634
Improve isValidPersonName()
2022-09-21 21:35:39 +08:00
leoshine
3d50255060
feat: login background image display ( #1145 )
2022-09-20 23:06:24 +08:00
Gucheng Wang
e295da774f
Improve record list page
2022-09-18 23:11:40 +08:00
Gucheng Wang
a3cee496b4
Add add-record API
2022-09-18 17:35:34 +08:00
Gucheng Wang
084a5c3e6b
Show logs to org admin
2022-09-18 16:16:45 +08:00
Gucheng Wang
6670450439
Update CI node-version to 16
2022-09-18 15:52:12 +08:00
Gucheng Wang
e1331f314d
Add RequireSignedInUser()
2022-09-18 15:43:49 +08:00
Yixiang Zhao
604033aa02
feat: use Casdoor to manage Casbin DB table ( #1100 )
...
* feat: use Casdoor to manage Casbin DB table
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: remove trivial codes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* chore: go fmt
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: support role definition
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-09-14 22:14:13 +08:00
Yixiang Zhao
729c20393c
fix: missing providers and org in GetDefaultApplication ( #1123 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-09-13 22:54:05 +08:00
Gucheng Wang
a90b27b74a
Fix admin UI issues
2022-09-13 21:32:18 +08:00
Gucheng
5707e38912
feat: add batchSize to conf ( #1120 )
2022-09-13 20:31:22 +08:00
leoshine
ed959bd8c7
feat: improve login page style ( #1119 )
...
Signed-off-by: magicwind <2814461814@qq.com >
Signed-off-by: magicwind <2814461814@qq.com >
2022-09-12 00:01:18 +08:00
Yixiang Zhao
b6cdc46023
feat: add defaultApplication for Orgnization ( #1111 )
...
* feat: add defaultApplication for Orgnization
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: remove redundant codes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: don't use app-built-in
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: add query param
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update organization.go
* Update organization.go
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-09-10 20:41:45 +08:00
Gucheng Wang
c661a57cb2
Support regex in CheckRedirectUriValid()
2022-09-10 13:12:36 +08:00
tom2nonames
8456b7f7c4
fix: with error pq: column "DingTalk" of relation "user" does not exist ( #1116 )
...
* feat: add dingtalk union_id
* fix: with pg, column Dingtalk of relation user table does not exist.
* Update user_util.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-09-10 13:08:37 +08:00
Gucheng Wang
e8d2906e3c
Fix bug in form CSS
2022-09-10 01:33:44 +08:00
leoshine
1edb91b3a3
feat: custom login form and background ( #1107 )
...
* feat: custom login form and background
Signed-off-by: magicwind <2814461814@qq.com >
* feat: costom login form border
* chore: update i18
* Update ApplicationEditPage.js
* Update LoginPage.js
* Update SignupPage.js
* Update LoginPage.js
* Update ApplicationEditPage.js
Signed-off-by: magicwind <2814461814@qq.com >
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-09-10 00:56:37 +08:00
Gucheng Wang
94b6eb803d
Fix WeChat MP login "state too long" bug
2022-09-09 11:43:54 +08:00
Gucheng Wang
cfce5289ed
Rename getStateFromQueryParams() and getQueryParamsFromState()
2022-09-09 02:02:32 +08:00
Gucheng Wang
10f1c37730
Fix 403 bug for /api/login/* APIs
2022-09-09 01:54:05 +08:00
tom2nonames
6035b98653
feat: add dingtalk union_id ( #1110 )
2022-09-08 14:44:06 +08:00
Resulte Lee
e158b58ffa
fix: add hidden signal to support chrome extension to auto-signin ( #1109 )
...
* feat: add hiden applicationName(support chrome extension to auto recognize applicationName)
* feat: add hiden applicationName for all page
* fix typo
* delete unuseful code
* remove hidden applicationName from login page
* prevent crash if signupApplication is null
* Update App.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-09-07 17:02:28 +08:00
Mario Fischer
a399184cfc
fix: correct edit URL in model list ( #1108 )
...
Co-authored-by: Mario Fischer <mario.fischer@inmanet.de >
2022-09-07 00:54:27 +08:00
wenxuan70
2f9f946c87
feat: fix GOPROXY bug by exporting environment variable ( #1106 )
2022-09-05 23:17:39 +08:00
Товарищ программист
d8b60f838e
fix: fix bugs about 3rd-party login in cas flow ( #1096 )
2022-09-05 23:02:25 +08:00
cofecatt
7599e2715a
feat: add demo mode ( #1097 )
...
* feat: add demo mode
* feat: add demo mode
* Update app.conf
* Update authz.go
* Update authz.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-09-04 21:20:19 +08:00
q1anx1
35676455bc
chore(style): add keyword spacing rule ( #1098 )
2022-09-04 19:40:30 +08:00
Gucheng Wang
8128671c8c
Improve email code
2022-09-04 12:15:07 +08:00
cofecatt
ee54dec3b3
feat: add support for mysubmail ( #1095 )
...
* feat: add support for mysubmail
* Update email.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-09-04 12:09:50 +08:00
Gucheng Wang
d278bc9651
Add receiver for Email provider
2022-09-04 11:37:36 +08:00
Gucheng Wang
b23bd0b189
Support SUBMAIL email provider
2022-09-04 11:21:20 +08:00
Gucheng Wang
409be85264
Fix placeholder typo
2022-09-03 18:52:35 +08:00
Yixiang Zhao
0395b7e1a9
feat: migrate permission data ( #1083 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-09-03 16:45:58 +08:00
Gucheng Wang
4536fd0636
Use app.conf value in getOriginFromHost()
2022-09-03 15:12:34 +08:00
cofecatt
af9ae7dbb7
feat: buildx failed with: EROR: failed to solve: executor failed running [/bin/sh -c ./build.sh]: exit code: 127 ( #1089 )
2022-09-02 14:50:27 +08:00
cofecatt
e266696b32
feat: add default permission to built-in group ( #1087 )
...
* fix: add default permission
* fix: add default permission
* fix: add default permission
2022-09-02 12:03:13 +08:00
conghuhu
e108d26ec7
fix: recover header logo && add styleint check ( #1084 )
...
* fix: fix header logo not show
* feat: update lint-staged
feat: add stylelint
2022-08-31 23:26:58 +08:00
cofecatt
349ce7f1d4
fix: refactor build.sh #1081 ( #1082 )
...
* fix: Add default access permission for new built-in group users
* fix: Add default access permission for new built-in group users
* fix: File is not `gofumpt`-ed (gofumpt)
* fix: refactor build.sh #1081
* fix: rollback
* fix: newline
* fix: refactor build.sh rename var #1081
2022-08-31 16:08:10 +08:00
Resulte Lee
8da50b7893
feat: extend managed accounts for get-account api ( #1068 )
...
* feat: add get-extend-account api
* feat: extend managed accounts for get-account api
* fix go-linter err
* Use GetApplicationsByOrganizationName
2022-08-30 00:57:27 +08:00
Gucheng Wang
2394c8e2b4
Make sure newStaticBaseUrl is not empty
2022-08-29 21:27:47 +08:00
Gucheng Wang
c62983d734
Use conf.GetConfigString()
2022-08-29 21:26:00 +08:00
conghuhu
5948782cdd
fix: fix eslint error in webstorm ( #1073 )
2022-08-29 15:23:51 +08:00
conghuhu
674d1619dd
fix: fix hot update error #1071 ( #1072 )
2022-08-29 13:45:31 +08:00
conghuhu
11b8b65ca0
feat: update antd and react to latest ( #1069 )
2022-08-28 23:14:04 +08:00
q1anx1
411d76798d
fix: fix upload file security issue ( #1063 )
...
* fix: fix upload file security issue
* fix: fix
2022-08-25 11:34:09 +08:00
Yixiang Zhao
7b0b426a76
feat: check model grammar when saving and provide a ACL model as init data ( #1062 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-08-24 17:21:05 +08:00
conghuhu
a383af0ebc
feat: fix token info not contains roles and permissions ( #1060 )
...
* fix: fix token info not contains roles and permissions
feat: remove repeated code for obtaining roles and permissions in user controller
* Update user.go
* Update user.go
* Update token.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-08-24 01:41:26 +08:00
Resulte Lee
f02875e1b1
fix: enable captcha in the application which is not built-in ( #1061 )
2022-08-23 23:30:45 +08:00
Gucheng Wang
e2921419b9
Add TestDeployStaticFiles()
2022-08-23 21:17:58 +08:00
q1anx1
42864700ec
chore: update badges ( #1058 )
2022-08-23 13:11:42 +08:00
Resulte Lee
c1fe547939
fix: not start countdown if SMS fails to send ( #1057 )
2022-08-22 23:06:41 +08:00
wenxuan70
267833d9f9
feat: fix the application edit page bug due to this.props.location.search ( #1055 )
2022-08-22 15:13:58 +08:00
Gucheng Wang
2d3d1167bb
Fix HasPromptPage() for signup items
2022-08-22 11:51:20 +08:00
q1anx1
ef5abdfa8f
feat: rollback to fix ci ( #1051 )
2022-08-22 11:14:51 +08:00
Fernando López Guevara
580d43101e
fix(i18n): add spanish translations ( #1043 )
...
* feat(i18n): add spanish translations
* feat(i18n): add missing translations
* feat(i18n): use new icon flag set
* use document protocol
* fix(i18n): use our static flags
2022-08-22 09:42:28 +08:00
wenxuan70
fdf2b880cb
feat: click on the app card to log in automatically ( #1049 )
2022-08-22 01:17:18 +08:00
q1anx1
80a2263b18
fix: fix ci bug: "/go/src/casdoor/.git/refs/heads" not found ( #1050 )
2022-08-22 01:02:57 +08:00
Resulte Lee
1f11d22c1c
fix: add managed account table for supporting Chrome extension to auto login ( #1030 )
...
* feat: add manage accounts table(support chrome extension to auto login)
* fix go lint err
* rename manageAccounts to managedAccounts
* expand up&down buttom column width
* rename ManagedAccountsTable to ManagedAccountTable
2022-08-22 00:25:39 +08:00
Gucheng Wang
b6988286b5
Improve i18n for permission page
2022-08-21 23:17:14 +08:00
leoshine
64f787fab5
feat: can modify static resource url by app.conf ( #1045 )
...
* feat: can modify static resource url by app.conf
Signed-off-by: magicwind <2814461814@qq.com >
* Update static_filter.go
Signed-off-by: magicwind <2814461814@qq.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-08-21 21:40:27 +08:00
Resulte Lee
39c6bd5850
fix: country/region prompted page not show when signin ( #1047 )
2022-08-21 17:41:07 +08:00
Gucheng Wang
7312c5ce3c
Don't check domain for submitPermissionEdit()
2022-08-21 15:28:19 +08:00
Resulte Lee
0bc5b90218
fix: add country/region selectbox in prompt page ( #1022 )
2022-08-21 11:12:23 +08:00
q1anx1
f3b3376a3c
fix: fix get version error ( #1044 )
...
* feat: fix get version error
* feat: more safe
* fix
2022-08-21 10:47:36 +08:00
q1anx1
feec6abd88
fix: fix translations for system info page ( #1042 )
2022-08-20 23:00:37 +08:00
q1anx1
c50042c85a
feat: fix the go.sum error ( #1040 )
2022-08-20 22:04:37 +08:00
q1anx1
ef4c3833a4
feat: add system info page ( #1033 )
...
* feat: add system info page
* feat: add some code
* fix
2022-08-20 21:22:46 +08:00
疯魔慕薇
67a5adf585
feat: replace panic with details json error payload. ( #1039 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
2022-08-20 21:09:32 +08:00
疯魔慕薇
08a1e7ae32
fix: keep phone/email unique. ( #1038 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
2022-08-20 12:14:08 +08:00
Fernando López Guevara
7d979cbaf0
feat(storage): add support for min.io storage ( #1037 )
...
* feat(storage): add support for min.io storage
* fix(minio): use doublequote
* fix(storage): change storage name to MinIO
2022-08-20 11:30:13 +08:00
Yixiang Zhao
80c0940e30
feat: initialize the default permission ( #1029 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-08-19 11:59:35 +08:00
Gucheng Wang
a4fe2a6485
Add check for submitPermissionEdit()
2022-08-19 01:52:29 +08:00
Yixiang Zhao
8e9ed1205b
feat: support RBAC with domains model and add adapter to specify the table name for policy storage ( #1020 )
...
* feat: support RBAC with domains model and add adapter to specify the table name for policy storage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix some bugs
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* add i18n
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-08-18 11:49:32 +08:00
Yixiang Zhao
a341c65bb1
fix: third-party user may login to the built-in organization ( #1024 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-08-17 23:18:38 +08:00
疯魔慕薇
91fa024f0b
feat: Mock SMS ( #1009 )
...
1. Update go-sms-sender to v0.3.0.
2. Fix: avoid page crash if not found provider info.
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
2022-08-17 22:02:45 +08:00
q1anx1
aedef1eea1
feat(login): add login limit ( #1023 )
...
* feat(login): add login limit
* chore: rename vars
* chore: use `string`
* fix: clear the signin error times after succeessfull login
* chore: modify code position
2022-08-17 01:39:53 +08:00
Mikey
70f2988f09
feat: revert to the original behavior for wrapActionResponse() ( #1021 )
...
Revert: 340fbe135d
see: https://github.com/casdoor/casdoor-go-sdk/pull/36 .
2022-08-16 00:20:37 +08:00
疯魔慕薇
2dcdfbe6d3
fix: error login logic of mobile phone login ( #1017 )
...
* fix : #1016
1. Limit username cannot be digital.
2. Check avoid repeat register with same phone or email.
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
* Update check.go
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-08-16 00:14:26 +08:00
Gucheng Wang
c92d34e27c
Add GetPermissionsBySubmitter()
2022-08-15 14:09:12 +08:00
Yixiang Zhao
dfbf7753c3
feat: support RBAC model in permission ( #1006 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-08-15 10:24:26 +08:00
leoshine
ba732b3075
feat: use staticBaseUrl for all static resources ( #1015 )
...
* feat: modify system image link
* Update App.less
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-08-15 09:18:21 +08:00
q1anx1
ca13247572
chore(style): use eqeqeq ( #1013 )
2022-08-13 11:23:16 +08:00
q1anx1
108fdc174f
chore(ci): add linter the check go code style ( #991 )
...
* feat(ci): auto format go code
* fix: fix #997
* chore(ci): add go code style linter
* fix: fix cmd error
* chore: add `linter` of needs
* chore: modiy commnet style
2022-08-13 10:57:13 +08:00
q1anx1
a741c5179a
chore(style): modify eslint rules ( #1011 )
...
* chore(style): use strict rules
* chore: modify position
* chore(style): warn about `console.log` and `==`
* fix: fix `console.log` error
* Update CropperDiv.js
* Update HomePage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-08-13 00:04:18 +08:00
Ryao
6676cc8ff3
fix: add JTI name to JWT token ( #989 )
...
* feat: add jti to jwt
* fix
* fix
2022-08-11 14:32:47 +08:00
q1anx1
13de019d08
chore(ci): use cache to accelerate ci ( #1004 )
...
* chore(ci): use cache to accelerate ci
* chore: comment
2022-08-11 10:20:53 +08:00
Bingchang Chen
53ad454962
feat: responsive footer ( #1003 )
2022-08-10 20:31:42 +08:00
leoshine
fb203a6f30
feat: delete .env to fix static file path bug ( #999 )
2022-08-10 12:22:27 +08:00
Gucheng Wang
f716a0985f
Add disableSsl to provider.
2022-08-09 23:38:35 +08:00
Gucheng Wang
340fbe135d
Fix error in wrapActionResponse()
2022-08-09 23:34:07 +08:00
Mikey
79119760f2
style: golint ( #988 )
2022-08-09 16:50:49 +08:00
jakiuncle
4dd67a8dcb
fix: fix all frontend warnings ( #983 )
...
* fix:fix all frontend warnings
* fix:fix all frontend warnings
* fix:fix all frontend warnings
* fix:fix all frontend warnings
* fix:fix all frontend warnings
* fix:fix all frontend warnings
2022-08-09 12:19:56 +08:00
q1anx1
deed857788
chore(style): allow case declarations and ban var ( #987 )
...
* chore(style): allow case declarations
* chore(style): ban `var` and prefer `const`
2022-08-08 23:35:24 +08:00
Mikey
802995ed16
refactor: remove WeChat unionId to properties ( #985 )
2022-08-08 18:43:12 +08:00
q1anx1
b14554a5ba
feat(web): check style when commit ( #980 )
...
feat(web): check style when commit
2022-08-08 00:10:31 +08:00
Gucheng Wang
4665ffa759
Update i18n data
2022-08-08 00:02:47 +08:00
Gucheng Wang
f914e8e929
Add permission_enforcer.go
2022-08-07 23:57:06 +08:00
Yixiang Zhao
dc33b41107
feat: expose some casbin APIs ( #955 )
...
* feat: expose some casbin APIs
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: add BatchEnforce API
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: solve requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-08-07 23:42:45 +08:00
Bingchang Chen
ee8dd23a56
fix: fixed footer css ( #951 )
2022-08-07 17:22:52 +08:00
github-actions[bot]
08d0269e30
refactor: New Crowdin translations by Github Action ( #974 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2022-08-07 16:06:52 +08:00
leoshine
8e5cd18c91
fix: Restrict the request permissions of providers and applications ( #970 )
2022-08-07 16:05:05 +08:00
Gucheng Wang
32b4d98c2a
Add ExtendProductWithProviders().
2022-08-07 15:45:06 +08:00
q1anx1
2ea58cd639
chore(style): use gofumpt to fmt go code ( #967 )
2022-08-07 12:26:14 +08:00
q1anx1
45d2745b67
chore(style): add eslint rules: no-unused-imports and no-unused-vars ( #976 )
...
* feat(web): no-unused-imports and no-unused-vars
* chore: fix json style
2022-08-07 11:51:53 +08:00
Yang Luo
cba338eef2
Merge pull request #973 from qianxi0410/eslint
...
feat(web): add some eslint rules
2022-08-07 00:41:51 +08:00
qianxi0410
c428de6e42
feat: fix some comma dangle
2022-08-07 00:17:27 +08:00
qianxi0410
9bca6bb72e
feat: no-multi-spacing
2022-08-07 00:06:20 +08:00
qianxi0410
cd966116d4
feat: comma dangle
2022-08-06 23:54:56 +08:00
qianxi0410
9abf1b9d73
feat: key spacing
2022-08-06 23:47:28 +08:00
qianxi0410
6aaba6debd
feat: space between infix op
2022-08-06 23:43:09 +08:00
qianxi0410
77565712e0
feat: no-multi-empty-lines
2022-08-06 23:38:03 +08:00
qianxi0410
d025259db7
feat: indent
2022-08-06 23:36:20 +08:00
Artem
aafdc546fa
fix: panic when creating a user in a non-existent org ( #969 )
2022-08-06 22:30:56 +08:00
q1anx1
539ca2d731
chore(web): add fix command ( #964 )
2022-08-05 23:40:04 +08:00
Ryao
ea326b3513
fix: show social buttons on signup page ( #962 )
2022-08-05 18:59:56 +08:00
Товарищ программист
98ef766fb4
fix: fix webauthn entry cannot add bug ( #960 )
...
* fix: fix webauthn
* Update LoginPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-08-05 17:43:04 +08:00
Gucheng Wang
e94ada9ea2
Fix new accountItem.
2022-08-05 15:36:07 +08:00
Resulte Lee
4ea482223d
feat: add geetest captcha ( #953 )
2022-08-04 20:55:04 +08:00
Gucheng Wang
d55ae7d1d2
Enable some other DBs
2022-08-04 20:28:09 +08:00
imp2002
d72e00605f
fix: updateProviderField when add provider payment ( #952 )
2022-08-04 19:39:25 +08:00
zzjin
be74cb621f
feat: Support sub-directory ( #943 )
...
By adding PUBLIC_URL to relative `.`
Signed-off-by: zzjin <tczzjin@gmail.com >
2022-08-02 00:21:15 +08:00
q1anx1
13404d6035
feat: fix binding after registration causes the page to crash ( #945 )
2022-08-01 21:08:10 +08:00
Mikey
afa9c530ad
fix: panic triggered when user is nil ( #940 )
2022-07-31 23:23:36 +08:00
Yang Luo
1600615aca
Support sqlite3 DB
2022-07-31 18:11:18 +08:00
Mikey
2bb8491499
fix: unable to get user if profile is private ( #936 )
2022-07-31 10:54:41 +08:00
Mikey
293283ed25
feat: add get user by phone ( #934 )
...
* fix: check reset phone & email modify rules
* Update verification.go
* Update organization.go
* feat: add get user by phone
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-31 01:02:28 +08:00
q1anx1
9cb519d1e9
fix: Admins should not be allowed to add third-party login for their members ( #932 )
...
* feat: admin can unlink the other user
* feat: global admin can unlink other user
* fix
2022-07-30 23:11:02 +08:00
Yixiang Zhao
fb9b8f1662
fix: skip the duplicated users when sync users ( #928 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-07-30 22:24:23 +08:00
Mikey
2fec3f72ae
fix: check reset phone & email modify rules ( #927 )
...
* fix: check reset phone & email modify rules
* Update verification.go
* Update organization.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-30 18:17:13 +08:00
Yang Luo
11695220a8
Use user.GetId()
2022-07-30 17:40:30 +08:00
Resulte Lee
155660b0d7
feat: get user api return roles and permissions ( #929 )
2022-07-30 17:31:56 +08:00
imp2002
1c72f5300c
feat: fix 'Enable code sign' is not displayed in the login page ( #925 )
2022-07-28 23:11:33 +08:00
q1anx1
3dd56195d9
fix: fix the problem of link error ( #923 )
2022-07-28 21:52:10 +08:00
Resulte Lee
8865244262
fix: add oauth login auto close page ( #915 )
2022-07-26 23:03:55 +08:00
Yixiang Zhao
3400fa1e9c
feat: support local login for non-built-in users ( #911 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-07-26 19:27:24 +08:00
Resulte Lee
bdc5c92ef0
fix: send code missing parameter & show more detail responseError ( #910 )
2022-07-25 23:46:38 +08:00
SLingyu
4e3eedf246
feat: fix bug that the default permission prevents admin to login in ( #907 )
...
* fix:The certs page is displayed incorrectly
* Translations for each language are added
* Replace the variables certificat with Certificat with certificate and Certificate
* Replace the variables certificat with Certificat with certificate and Certificate
* Variable names are more accurate
* Variable names are more accurate
* Modify the variable name
* fix: Default action prevents admin to login in
2022-07-24 23:36:55 +08:00
SLingyu
8e98fc5a9f
feat: rename all publicKey occurrences to certificate ( #894 )
...
* fix:The certs page is displayed incorrectly
* Translations for each language are added
* Replace the variables certificat with Certificat with certificate and Certificate
* Replace the variables certificat with Certificat with certificate and Certificate
* Variable names are more accurate
* Variable names are more accurate
* Modify the variable name
2022-07-23 09:40:51 +08:00
leoshine
6f6159be07
feat: add GET method of logout API ( #903 )
2022-07-22 21:13:49 +08:00
Gucheng Wang
3e4dbc2dcb
fix: URL bug in getUploadFileUrl function
2022-07-20 17:49:11 +08:00
Yixiang Zhao
48b5b27982
fix: invalid redirect url after sign up ( #896 )
...
* fix: invalid redirect url after sign up
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update App.js
* Update Setting.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-19 23:31:17 +08:00
q1anx1
1839252c30
chore(web): sort import members ( #895 )
2022-07-18 20:57:38 +08:00
q1anx1
1fff1db6a7
fix(web): fix the bug of infinity loop animate when unauthorized ( #891 )
...
* fix(web): fix the bug of infinity loop when unauthorized
* fix
* fix
* fix
* Update BaseListPage.js
* Update OrganizationListPage.js
* Update OrganizationListPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-17 18:20:52 +08:00
Yang Luo
a0b0e186b7
Improve i18n code and data.
2022-07-17 17:56:43 +08:00
Yang Luo
8c7f235ee1
Fix bug in uploadFile()'s URL.
2022-07-17 14:29:06 +08:00
waltcow
a0a762aa6f
fix: typo in field tag in BilibiliUserInfo ( #890 )
2022-07-17 11:31:43 +08:00
Yixiang Zhao
2eec53a6d0
fix: actions initialized to null and model/resources not updated with the owner ( #887 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-07-16 15:00:42 +08:00
Yixiang Zhao
117dec4542
feat: failed to sync keycloak users in the PostgreSQL database ( #886 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-07-16 12:14:35 +08:00
waltcow
895cdd024d
fix: Typo in user model xorm tag ( #883 )
2022-07-15 12:01:27 +08:00
q1anx1
f0b0891ac9
feat: query user by userId ( #879 )
...
* feat: add `getUserByUserId` func
* Update user.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-14 21:46:13 +08:00
Yang Luo
10449e89ab
Fix owner bug in GetUser().
2022-07-13 22:56:35 +08:00
Gucheng Wang
6e70f0fc58
Refactor CheckAccessPermission().
2022-07-13 00:50:32 +08:00
Yixiang Zhao
2bca424370
feat: implement access control using casbin ( #806 )
...
* feat: implement access control using casbin
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* chore: sort imports
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: remove
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update auth.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-07-13 00:34:35 +08:00
Gucheng Wang
de49a45e19
Add escapePath for getUploadFileUrl().
2022-07-12 23:24:24 +08:00
Gucheng Wang
f7243f879b
Fix some JS warnings.
2022-07-12 20:47:11 +08:00
Товарищ программист
7f3b2500b3
feat: support webauthn ( #407 )
...
* feat: support webauthn
* Update init.go
* Update user_webauthn.go
* Update UserEditPage.js
* Update WebauthnCredentialTable.js
* Update LoginPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-07-12 20:06:01 +08:00
Bingchang Chen
208dc11d25
fix: set SessionOn always true ( #877 )
...
* fix: set SessionOn always true
* Update adapter.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-07-11 12:36:20 +08:00
キリサメ qianxi
503d244166
feat(web): add lint ( #875 )
...
* feat: add lint
* feat: fix lint error
* chore: add ignore file
* chore: close indent
2022-07-10 15:45:55 +08:00
Gucheng Wang
475b6da35a
Rename session storage item to signinUrl.
2022-07-10 11:50:48 +08:00
leoshine
b9404f14dc
feat: fix bug of using email provider from wrong application ( #869 )
2022-07-10 00:40:52 +08:00
Bingchang Chen
0baae87390
feat: fix oauth unknown authority in docker ( #871 )
2022-07-09 17:36:56 +08:00
Gucheng Wang
06759041a8
Fix socks5Proxy config typo.
2022-07-08 23:24:54 +08:00
Bingchang Chen
cf4e76f9dc
feat: add footer to door pages ( #868 )
2022-07-08 20:36:49 +08:00
Товарищ программист
81f2d01dc1
fix: fix dockerfile ( #866 )
2022-07-07 16:10:15 +08:00
Bingchang Chen
61773d3173
fix: support user-defined clientId&Secret ( #862 )
2022-07-06 19:27:59 +08:00
Bingchang Chen
ec29621547
feat: init from configuration file ( #858 )
...
* feat: init from configuration file
* Update init_data.json.template
* Update init_data.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-05 00:36:22 +08:00
leoshine
b8e324cadf
fix: azurad provider ( #855 )
2022-07-04 16:40:23 +08:00
Gucheng Wang
f37fd6ba87
Fix empty arg bug in getPermanentAvatarUrl().
2022-07-03 19:31:12 +08:00
Товарищ программист
b4bf734fe8
fix: fix cors filter ( #847 )
...
* fix: fix cors filter
* Update cors_filter.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-07-02 13:45:18 +08:00
aecra
f0431701c9
fix: fix OAuth error response ( #835 )
...
* fix: fix OAuth error response
* fix: provide more detailed error messages for TokenError
2022-07-01 14:53:34 +08:00
Yixiang Zhao
aa5078de15
fix: crowdin kept deleting translations ( #843 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-07-01 10:51:40 +08:00
YunShu
9a324b2cca
fix: Update Crowdin link ( #841 )
2022-06-30 22:05:20 +08:00
aecra
919eaf1df4
fix: fix CORS error after sucessful OPTION ( #838 )
2022-06-30 21:29:02 +08:00
Atom Pi
cd902a21ba
fix: some minor bugs and make Dockerfile more productive. ( #831 )
...
* fix: some minor bugs and make Dockerfile more productive.
* fix: make GitHub CI configuration support build image with STANDARD target.
* fix: Naming the base stage in multi-stage builds with lowercase letters to support various operating systems.
* fix: copy swagger to the image as well.
2022-06-29 23:21:18 +08:00
Gucheng Wang
fe0ab0aa6f
Fix downloadFile()'s google proxy.
2022-06-29 22:01:38 +08:00
Resulte Lee
a0e11cc8a0
feat: add aliyun captcha ( #833 )
...
* feat: add aliyun captcha provider
* Rename App key
* fix typo
* Rename HMACSHA1 & Reused clientId2 and clientSecret2
* Update ProviderEditPage.js
* Delete unused import
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-29 11:31:32 +08:00
Yixiang Zhao
8a66448365
feat: support casdoor as saml idp to connect keycloak ( #832 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-06-28 22:05:02 +08:00
Resulte Lee
477d386f3c
fix: captcha preview panic when clientId or clientSecret is empty ( #824 )
...
* fix: captcha preview panic when clientId or clientSecret is empty
* return original errors from captcha
2022-06-26 22:09:57 +08:00
Gucheng Wang
339c6c2dd0
Fix null bug in getTermsofuseContent().
2022-06-26 09:34:01 +08:00
aecra
7c9370ef90
feat: add CORS filter to fix OPTION request failure ( #826 )
2022-06-26 01:28:33 +08:00
Ryao
31b586e391
feat: Add email config test on provider edit page ( #819 )
...
* feat: Add email config test on provider edit page
* Re-use send-email API
* Optimize code
Optimize code
* Update service.go
* Update service.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-24 01:47:10 +08:00
Gucheng Wang
249f83e764
Fix TestProduct() compile error.
2022-06-23 00:54:31 +08:00
Yixiang Zhao
16f5569e50
fix: encryption without salt ( #821 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-06-22 22:30:27 +08:00
Resulte Lee
f99c1f44e8
fix: don't trigger countdown if failed to send verification code ( #815 )
...
* feat: add countdown when no captcha provider found
* fix: add countdown when sent code successfully
2022-06-22 22:22:40 +08:00
Gucheng Wang
c8c4dfbfb8
Fix bug and i18n issue in captcha provider edit page.
2022-06-22 21:54:25 +08:00
Resulte Lee
d9c6ff2507
fix: captcha widget JS warnings ( #820 )
2022-06-22 18:31:18 +08:00
Gucheng Wang
e1664f2f60
Fix newApplication() to add provider.
2022-06-22 00:08:46 +08:00
Resulte Lee
460a4d4969
fix: init default captcha provider ( #810 )
...
* feat: init built in provider
* Update built-in provider in application
* Delete unnecessary judge
* Update init.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-22 00:03:55 +08:00
leoshine
376bac15dc
fix: improve swagger Api docunment ( #812 )
2022-06-21 23:11:29 +08:00
Gucheng Wang
8d0e92edef
Fix missing items in renderAccountItem().
2022-06-21 17:08:08 +08:00
Gucheng Wang
0075b7af52
Fix JS warnings.
2022-06-21 15:26:58 +08:00
Resulte Lee
2c57bece39
feat: fix stuck error when no captcha provider found ( #808 )
2022-06-21 12:22:46 +08:00
Resulte Lee
2e42511bc4
feat: support configurable captcha(reCaptcha & hCaptcha) ( #765 )
...
* feat: support configurable captcha(layered architecture)
* refactor & add captcha logo
* rename captcha
* Update authz.go
* Update hcaptcha.go
* Update default.go
* Update recaptcha.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-18 16:00:31 +08:00
Gucheng Wang
ae4ab9902b
Add accountTable.
2022-06-18 01:41:21 +08:00
Gucheng Wang
065b235dc5
Fix signupTable i18n.
2022-06-17 23:26:02 +08:00
Yixiang Zhao
63c09a879f
fix: disable jsx-a11y/anchor-is-valid ( #800 )
...
* fix: disable jsx-a11y/anchor-is-valid
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update LoginPage.js
* Update SignupPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-17 19:57:11 +08:00
limix
61c80e790f
Fix Authentication failure! invalid_ticket: OneLogin::RubySaml::ValidationError #798 ( #799 )
2022-06-17 18:35:44 +08:00
Gucheng Wang
be91ff47aa
Fix logo columns.
2022-06-17 00:07:16 +08:00
Gucheng Wang
b4c18eb7a4
Use codemirror for samlMetadata.
2022-06-16 23:59:18 +08:00
Gucheng Wang
0f483fb65b
Improve preview buttons to copy link.
2022-06-16 22:01:09 +08:00
Gucheng Wang
ebe9889d58
Improve i18n
2022-06-16 21:35:52 +08:00
Gucheng Wang
ee42fcac8e
Remove signup_item.go
2022-06-16 20:52:54 +08:00
ziliangyu
6187b48f61
fix: show alert when user clicks on application edit page's preview window ( #794 )
...
* fix:Show alert when user clicks on application edit page's preview window
* fix: Show alert when user clicks on application edit page's preview window in preview
* fix:Show alert when user clicks on application edit page's preview window
* fix: Show alert when user clicks on application edit page's preview window in preview
* Update ApplicationEditPage.js
* fix: show alert when user clicks on application edit page's preview window
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-15 22:11:37 +08:00
Gucheng Wang
2020955270
Fix cannot support old Docker version bug, revert PR: https://github.com/casdoor/casdoor/pull/606
2022-06-15 01:20:00 +08:00
Gucheng Wang
1b5a8f8e57
Fix missing i18n text.
2022-06-15 00:55:06 +08:00
Товарищ программист
ff94e5164a
feat: fix incorrect CAS url concatenation ( #795 )
...
* fix: fix incorrect cas url concatenation
* Update LoginPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-14 21:51:40 +08:00
ziliangyu
15a6fd2b52
feat: show alert when user clicks on application edit page's preview wi… ( #791 )
...
* fix:Show alert when user clicks on application edit page's preview window
* fix: Show alert when user clicks on application edit page's preview window in preview
* fix:Show alert when user clicks on application edit page's preview window
* fix: Show alert when user clicks on application edit page's preview window in preview
* Update ApplicationEditPage.js
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-13 12:18:18 +08:00
Ryao
37b6b50751
fix: remove redundant query for OAuth user ( #788 )
2022-06-10 15:58:22 +08:00
Ryao
efe5431f54
fix: OAuth user id confusion caused by username ( #785 )
2022-06-10 00:08:26 +08:00
Yixiang Zhao
e9159902eb
fix: fix the web compiled warnings ( #778 )
...
* fix: fix the web compiled warnings
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: disable changeMomentLanguage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update SyncerEditPage.js
* Update UserEditPage.js
* Update ResourceListPage.js
* Update ProviderEditPage.js
* Update ProductBuyPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-06-05 20:56:31 +08:00
caoshengdong
604e2757c8
fix: fix the problem that user owner is not updated when updating organization name ( #775 )
...
* fix: use openid or unionid as username rather than nickname when logging with WeChat
FIX #762
* fix: fix the problem that user owner is not updated when updating organization name
* Update wechat.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-03 00:37:22 +08:00
Gucheng Wang
88c5aae9e9
Fix meta desc info.
2022-06-01 22:22:00 +08:00
Товарищ программист
3d0cf8788b
fix: trigger missing webhook ( #770 )
...
* fix: trigger missing webhook
* Update auth.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-06-01 09:34:56 +08:00
Yixiang Zhao
e78ea2546f
fix: bilibili name and avatar ( #772 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-31 21:54:00 +08:00
Roobtyan
f7705931f7
fix: handle WeChat username conflicts ( #771 )
...
* handle username conflicts
* Update auth.go
Co-authored-by: roobtyan <roobtyan@qq.com >
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-05-31 21:51:41 +08:00
caoshengdong
5d8b710bf7
fix: use openid or unionid as username rather than nickname when logging with WeChat ( #763 )
...
FIX #762
2022-05-31 21:22:10 +08:00
Yixiang Zhao
b85ad896bf
fix: saml endpoint crash ( #773 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-31 21:10:35 +08:00
Yixiang Zhao
42c2210178
fix: set phone prefix when disable verification code ( #769 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-30 18:26:42 +08:00
Yixiang Zhao
d52caed3a9
feat: add model page ( #757 )
...
* feat: add model page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: support config model for permission
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* translation and indentation
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-24 18:27:47 +08:00
Gucheng Wang
27d8cd758d
Simplify README
2022-05-23 21:45:31 +08:00
greenhandatsjtu
98f77960de
feat: add Douyin OAuth provider ( #753 )
2022-05-15 20:59:21 +08:00
Yixiang Zhao
e5b71a08ae
feat: support "+" in syncer column name ( #752 )
...
* feat: support + in syncer column name
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: trim
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-13 20:24:46 +08:00
Jiakuan Li
3ad4b7a43c
feat: add Bilibili OAuth ( #720 )
...
* implemented bilibili oauth
* add bilibili oauth
* add document address
* add frontend page
* uncheck
2022-05-12 10:07:52 +08:00
Yixiang Zhao
c5c3a08aa9
feat: add saml metadata in application edit page ( #750 )
...
* feat: add saml metadata in application edit page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* Update ApplicationEditPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-05-11 20:23:36 +08:00
greenhandatsjtu
8efd964835
fix: unchanged masked client_secret/password updated to *** ( #749 )
2022-05-10 17:37:12 +08:00
Товарищ программист
5dac87a4c3
feat: hide proxy-test output ( #746 )
...
* feat: hide proxy-test output
* Update build.sh
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-05-07 20:56:12 +08:00
Gucheng Wang
49c3266400
Fix missing OIDC response_types_supported.
2022-05-07 09:36:20 +08:00
Gucheng Wang
39548d5d72
Change cert default algorithm to RS256.
2022-05-06 09:34:42 +08:00
Gucheng Wang
1c949e415e
Add refresh_token to app grantTypes.
2022-05-06 09:31:22 +08:00
Jan Piechowicz
1b840a2e9f
feat: support argon2id pass manager ( #744 )
...
* support for argon2id
* Update argon2id.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-05-06 09:25:42 +08:00
Gucheng Wang
c9849d8b55
Accept more file formats in upload.
2022-05-04 23:16:24 +08:00
xiexianbin
b747f5e27c
fix: mistake GetApplicationLogin swagger router (casdoor#739) ( #740 )
...
Signed-off-by: xiexianbin <me@xiexianbin.cn >
2022-05-04 19:15:13 +08:00
一路向北
8b340105c1
fix: fix missing OpenLDAP uid in ldap.go
2022-05-04 10:23:17 +08:00
Resulte Lee
43b1006f11
fix: sign up without email verification do not work ( #736 )
2022-05-03 18:05:58 +08:00
leoshine
78efc9c2d0
feat: add azure storage support ( #735 )
...
* feat: add zure storage support
* Update local_file_system.go
Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com >
2022-05-03 17:59:07 +08:00
Resulte Lee
c4089eacb7
feat: Allow to sign up with Email without verification ( #728 )
...
* feat: Allow to sign up with Email without verification by rule
* Update account.go
* Update SignupTable.js
* Update SignupPage.js
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-05-02 17:19:40 +08:00
greenhandatsjtu
4acba2d493
Add entrypoint to docker-compose casdoor service ( #727 )
2022-05-01 19:26:31 +08:00
greenhandatsjtu
fc0ca4cceb
Add Okta OAuth provider ( #729 )
2022-05-01 18:31:42 +08:00
Resulte Lee
912d9d0c01
feat: DingTalk provider value case unsensitive ( #724 )
2022-04-30 16:20:20 +08:00
zc
8e48bddf5f
remove extra parentheses showing account numbers ( #726 )
2022-04-30 15:20:08 +08:00
Yixiang Zhao
c05fb77224
fix: set sync ldap user default attributes ( #721 )
...
* fix: set the password of the sync ldap user to empty
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: set sync ldap user default attributes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-04-29 21:44:13 +08:00
Gucheng Wang
9af9ead939
Return invoiceUrl in invoice-payment API.
2022-04-28 15:07:57 +08:00
Gucheng Wang
f5590c42f7
Add payerName to provider.
2022-04-28 14:50:59 +08:00
Gucheng Wang
5597f99e3c
Scroll to payment page bottom.
2022-04-27 01:32:36 +08:00
Gucheng Wang
ea005aaf4d
Improve InvoicePayment() error handling.
2022-04-27 00:24:48 +08:00
Gucheng Wang
e5c1f560c5
Fix bug in payment.
2022-04-27 00:07:13 +08:00
Gucheng Wang
20fc7d1b58
Add payment modal.
2022-04-26 23:40:33 +08:00
Gucheng Wang
cf3b46130b
Add InvoicePayment() API.
2022-04-26 22:17:53 +08:00
halozhy
cab51fae9c
fix: add 'use' and 'alg' in .well-known/jwks ( #708 )
...
* fix: add 'use' and 'alg' in .well-known/jwks
* fix: dynamically assign value to 'alg' param
2022-04-26 21:53:05 +08:00
Frank Chang
b867872da4
fix: return right after error response on GetUserInfo ( #707 )
2022-04-26 14:32:04 +08:00
Gucheng Wang
305867f49a
Add checkError() to payment.
2022-04-25 21:39:46 +08:00
Gucheng Wang
3f90c18a19
Add invoiceType to payment.
2022-04-25 20:58:53 +08:00
Gucheng Wang
9e5a64c021
Add new payment fields
2022-04-25 20:40:50 +08:00
Gucheng Wang
4263af6f2c
Fix frontend warnings.
2022-04-25 20:00:57 +08:00
Gucheng Wang
3e92d761b9
Fix i18n translations.
2022-04-25 19:46:45 +08:00
Gucheng Wang
0e41568f62
Add apps to homepage.
2022-04-25 13:51:46 +08:00
Kevin Fu
fb7e2729c6
fix: support Microsoft AD user search ( #704 )
2022-04-25 12:20:59 +08:00
akkuman
28b9154d7e
fix: fix #693 token error ( #695 )
2022-04-23 01:12:06 +08:00
Товарищ программист
b0b3eb0805
fix: fix failure of introspection ( #682 )
...
* fix: fix failure of introspection
* Update token.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-04-22 22:45:52 +08:00
niko7g
73bd9dd517
bugfix #664 Casdoor fails to start when there is already a database ( #681 )
...
Signed-off-by: niko7g <niko7.g@gmail.com >
2022-04-22 22:17:03 +08:00
akkuman
0bc8c2d15f
fix: recover when goroutine panic that will kill main program ( #692 )
...
* fix #684
recover when goroutine panic that will kill main program
* Update util.go
Co-authored-by: Yang Luo <hsluoyz@qq.com >
2022-04-22 21:59:06 +08:00
akkuman
7b78e60265
fix: close the resp in time ( #689 )
2022-04-21 23:22:50 +08:00
akkuman
7464f9a8ad
fix: when req error, read body(nil) will panic ( #690 )
2022-04-21 22:14:01 +08:00
akkuman
d3a7a062d3
fix #687 ( #688 )
...
fix the display bug on the personal binding information page
2022-04-21 21:52:34 +08:00
Yixiang Zhao
67a0264411
feat: add sync button to execute syncer once ( #668 )
...
* feat: add sync button to execute syncer once
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-04-18 16:27:34 +08:00
疯魔慕薇
a6a055cc83
Fix: ExpiresIn of token should be seconds. ( #676 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com >
2022-04-18 10:57:51 +08:00
Dean CN
a89a7f9eb7
bug fix ( #674 )
2022-04-17 17:01:56 +08:00
halozhy
287f60353c
feat: try to support custom OAuth provider ( #667 )
...
* feat: try to support private provider
* fix: modify code according to code review
* feat: set example values for custom params
2022-04-16 17:17:45 +08:00
Yixiang Zhao
530330bd66
feat: add isProfilePublic setting for accessing user info ( #656 )
...
* feat: add isProfilePublic setting for accessing user info
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-04-16 15:10:03 +08:00
Yang Luo
70a1428972
Improve resource DB column length.
2022-04-16 13:23:05 +08:00
Nekotoxin
1d183decea
fix: cicd error ( #671 )
...
* fix: ci/cd error
* fix: ci/cd error
* fix: ci/cd error
2022-04-16 00:09:23 +08:00
Yi Zhan
b92d03e2bb
feat: add wechat mini program support ( #658 )
...
* feat: add wechat mini program support
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: accept suggestions.
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: error message and code level modification
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: simplify the use process
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-15 11:49:56 +08:00
Yi Zhan
9877174780
fix: add independent error message in token endpoint ( #662 )
...
* fix: add independent error message in token endpoint
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: reduced use of variables
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: error messages use the same variable
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-14 10:22:56 +08:00
Товарищ программист
b178be9aef
feat: implement proxy ( #661 )
2022-04-13 14:04:40 +08:00
Товарищ программист
7236cca8cf
feat: implement CAS 3.0 ( #659 )
2022-04-11 21:11:31 +08:00
Yi Zhan
15daf5dbfe
feat: add casdoor as saml idp support ( #571 )
...
* feat: add casdoor as saml idp support
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: merge code
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: modify response value
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: modify samlResponse generation method
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: generating a response using etree
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: change metadata url
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: modify front-end adaptation
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: recovering an incorrect override
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: change the samlResponse location
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: add relayState support
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-08 23:06:48 +08:00
Yi Zhan
0b546bba5e
fix: grantTypes undefined err ( #654 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-08 21:54:48 +08:00
Nekotoxin
938cdbccf4
fix: link type error ( #653 )
...
* fix: signin button error in signup page
* fix: type error
2022-04-08 20:01:30 +08:00
Yixiang Zhao
801302c6e7
feat: support user migration from Keycloak using syncer ( #645 )
...
* feat: support user migration from Keycloak using syncer
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: add more Keycloak columns
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: requested changes
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-04-06 20:38:14 +08:00
Gucheng Wang
91602d2b21
Enable extra pages.
2022-04-06 20:36:31 +08:00
Yi Zhan
86b3a078ef
fix: sign In button in the result page has broken ( #646 )
...
* fix: sign In button in the result page has broken
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: code format
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-05 08:49:11 +08:00
Yi Zhan
abc15b88c8
fix: change goth version ( #644 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-04 15:58:51 +08:00
Товарищ программист
3cf1b990be
feat: support CAS with organizations and applications ( #621 )
2022-04-04 00:09:04 +08:00
Yi Zhan
2023795f3c
fix: token endpoint supports json format ( #641 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-03 21:32:00 +08:00
halozhy
8d13bf7e27
feat: add Alipay support as idp ( #638 )
...
* feat: add alipay support as idp
* fix: rename a static svg icon
* fix: sort imports
* fix: no longer use pkcs8 package
2022-04-02 22:37:13 +08:00
Yi Zhan
29aa379fb2
fix: qq idp missing username ( #636 )
...
* fix: qq idp missing username
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: api uses the latest fields
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-04-01 11:46:33 +08:00
Gucheng Wang
7a95b9c1d5
Init DB only when necessary.
2022-03-31 12:28:45 +08:00
Yixiang Zhao
0fc0ba0c76
feat: support global admin to modify the email and phone of other users ( #633 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-30 20:27:23 +08:00
Minh Ha
24459d852e
fix: comparing hashed password with plain text password during password grant ( #627 )
...
* fix: use object.CheckPassword for password grant
* Apply suggestions from code review
fix: remove log per change request
2022-03-30 00:37:38 +08:00
蔡点点
e3f5bf93b2
fix: adjust the password check logic for ldap user ( #597 )
...
* fix: the password check logic for ldap user.
LDAP user should only use the ldap connection to check the password.
* fix: code format
2022-03-28 17:19:58 +08:00
Yi Zhan
879ca6a488
fix: refresh_token api return old token ( #623 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-27 23:10:05 +08:00
Yang Luo
544cd40a08
Disable the new syncer by default.
2022-03-27 23:06:52 +08:00
Yang Luo
99f7883c7d
Fix null bug in getCountryRegionData().
2022-03-27 16:03:25 +08:00
Yang Luo
88b0fb6e52
Add getPrice().
2022-03-26 16:42:25 +08:00
Yi Zhan
fa9b49e25b
fix: some idp error messages return unclear ( #620 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-26 15:15:56 +08:00
Yi Zhan
cd76e9372e
feat: delete the old token when refreshing token ( #617 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-24 19:58:12 +08:00
chenghonour
04b9e05244
fix: WeComInternalIdProvider GetUserInfo method could not get the correct user id ( #616 )
2022-03-24 17:53:05 +08:00
Sagilio
a78b2de7b2
fix: panic when not select one provider ( #614 )
...
Signed-off-by: Sagilio <Sagilio@outlook.com >
2022-03-24 12:15:10 +08:00
Ryao
d0952ae908
fix: docker-compose up can't work on linux ( #606 )
2022-03-22 18:43:02 +08:00
Nekotoxin
ade64693e4
fix: support lower go version(1.15) ( #599 )
...
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
* fix: support lower go version(1.15)
2022-03-21 21:55:16 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env ( #590 )
2022-03-20 23:21:09 +08:00
github-actions[bot]
1a6d98d029
refactor: New Crowdin translations by Github Action ( #592 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2022-03-20 22:30:29 +08:00
Yixiang Zhao
447dd1c534
feat: update the uploaded user field and provide demo xlsx file ( #596 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-20 22:28:22 +08:00
Yixiang Zhao
86b5d72e5d
fix: concatChar assignment logic ( #595 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-20 11:54:14 +08:00
Yixiang Zhao
6bc4e646e5
fix: oAuthParams may not exist ( #594 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-20 10:33:50 +08:00
Yang Luo
0841eb5c30
Fix !skipCi directive.
2022-03-19 23:15:19 +08:00
github-actions[bot]
4015c221f7
refactor: New Crowdin translations by Github Action ( #588 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2022-03-19 22:01:20 +08:00
Yixiang Zhao
dcd6328498
fix: callback url param missing ( #583 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-19 20:01:44 +08:00
Yi Zhan
8080927890
fix: redirect for non-built-in app logout ( #587 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-19 19:50:05 +08:00
Yang Luo
a95c5b05a9
Remove GitHub provider hacking code.
2022-03-19 19:43:54 +08:00
Yixiang Zhao
865a65d399
fix: fix the params problem in code signin ( #577 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-18 20:12:29 +08:00
Yi Zhan
e8b9c67671
feat: add casdoor as itself idp support ( #578 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-18 18:28:46 +08:00
Nekotoxin
e5ff49f7a7
fix: UI bug after switching to English ( #570 )
2022-03-15 21:02:54 +08:00
Yixiang Zhao
9f7924a6e0
fix: mask email and phone number on the backend ( #563 )
...
* fix: mask email and phone number on the backend
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: login with masked email or phone
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: improve regex
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-15 12:54:57 +08:00
Ghost Lee
377e200837
fix: repair the problem that AutoSigninFilter middleware doesn't recognize the access_token request parameter ( #569 )
...
AutoSigninFilter method only checks for `accessToken` request parameters or `Authorization` request header, doesn't recognize `access_token` request parameters, now added, use `utils.GetMaxLenStr()` method to get the maximum length characters
2022-03-15 12:52:44 +08:00
Nekotoxin
93a76de044
fix: fix compile error in low go version ( #568 )
2022-03-15 12:49:12 +08:00
Yixiang Zhao
35bef969fd
feat: support Huawei Cloud SMS ( #565 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-14 20:49:03 +08:00
Yang Luo
4dca3bd3f7
Add Notify() to payment provider.
2022-03-14 02:56:04 +08:00
Yang Luo
5de417ecf7
Add gc provider.
2022-03-14 00:32:36 +08:00
Yang Luo
bf24594fb4
Make resource name longer.
2022-03-13 21:20:00 +08:00
Yang Luo
4a87b4790e
Avoid panic in AddUsers().
2022-03-13 20:53:05 +08:00
Yang Luo
fde8c4b5f6
Fix NotifyPayment().
2022-03-13 19:57:23 +08:00
Yang Luo
55a84644e1
Add PaymentResultPage.
2022-03-13 18:05:16 +08:00
Yang Luo
ca87dd7dea
Add returnUrl to product.
2022-03-13 16:25:54 +08:00
Yang Luo
32af4a766e
Add GetUserPayments() API.
2022-03-13 14:56:21 +08:00
Yang Luo
4d035bf66d
Add tags to organization.
2022-03-13 00:35:49 +08:00
Yang Luo
743dcc9725
Fix translation.
2022-03-12 23:37:58 +08:00
Yixiang Zhao
d43d7d1ae9
feat: support master password for ldap user ( #561 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-12 21:06:38 +08:00
Yang Luo
c906f1e5d2
Add user and state to payment pages.
2022-03-12 20:03:58 +08:00
Gucheng Wang
37a26e2a91
Fix delete-resource authz check.
2022-03-11 11:27:52 +08:00
leoshine
e7018e3de4
docs: add a tip to create db for the first time ( #550 )
...
* add a tip to create db schema ahead of time
* add a tip to create db schema ahead of time
* docs: add a tip to create db schema ahead of time
2022-03-10 11:03:52 +08:00
halozhy
3a64e4dcd8
docs: add a tip to create db schema ahead of time ( #547 )
2022-03-10 09:58:00 +08:00
Gucheng Wang
380cdc5f7e
fix: The top-right logout button sometimes disappears for small screen size ( #544 )
2022-03-08 21:14:04 +08:00
Gucheng Wang
3602d9b9a7
fix: improve error messages
2022-03-07 15:16:09 +08:00
Yixiang Zhao
8a9cc2eb8f
fix: change client_secret in refresh_token API as optional ( #540 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-07 13:52:51 +08:00
Gucheng Wang
4f9a13f18a
fix: comment TestReadSheet()
2022-03-07 13:50:08 +08:00
Yang Luo
a4fc04474e
Add NotifyPayment API.
2022-03-07 00:33:45 +08:00
Yang Luo
bf5d4eea48
Add alipay provider.
2022-03-06 22:46:02 +08:00
Yang Luo
0e40a1d922
Check application existence in login().
2022-03-06 00:09:57 +08:00
Yang Luo
ab777c1d73
Add Conf.EnableExtraPages
2022-03-05 23:51:55 +08:00
Товарищ программист
ca0fa5fc40
fix: fix missing parameters when signup ( #533 )
2022-03-05 16:47:08 +08:00
Nekotoxin
cfbce79e32
fix: add ie support (ie >= 9) ( #538 )
...
* fix: add ie support (ie > 9)
* fix: add support for IE11
* fix: small fix
* fix: fix
2022-03-05 16:32:37 +08:00
Yang Luo
efc07f0919
Improve translation.
2022-03-05 00:53:59 +08:00
fuh
a783315fa2
fix: Returns a valid userId when form.Username is empty ( #523 )
...
* fix: Returns a valid userId when form.Username is empty
* fix: format code
2022-03-04 23:39:12 +08:00
Steve0x2a
1d0af9cf7b
fix: client_credentials' token miss some claims ( #536 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-04 22:57:31 +08:00
Nekotoxin
4d48517be9
fix: fix the No.0 bug(for all sign up methods) ( #535 )
2022-03-04 13:06:21 +08:00
Leon
178cf7945d
feat: improve token introspection endpoint ( #534 )
...
* feat: add introspection endpoint to oidc discovery endpoint
* fix: let introspect endpoint handle formData as spec define.
Signed-off-by: Leon <leondevlifelog@gmail.com >
2022-03-04 08:54:33 +08:00
Leon
ab5af979c8
feat: add Oauth 2.0 Token Introspection(rfc7662) endpoint support ( #532 )
...
Signed-off-by: Leon <leondevlifelog@gmail.com >
2022-03-03 17:48:47 +08:00
Gucheng Wang
e31aaf5657
Rename httpProxy.
2022-03-03 08:59:38 +08:00
Steve0x2a
eaf5cb66f3
fix: update authz rule list ( #528 )
...
* fix: update authz rule list
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: resolve conflicts.
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-03 00:52:28 +08:00
Yixiang Zhao
83a6b757a4
fix: password leakage vulnerability caused by pagination ( #527 )
...
* fix: password leakage vulnerability caused by pagination
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: unsafe get-app-login response fields
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-03-02 20:58:16 +08:00
Steve0x2a
2a0dcd746f
feat: add token logout endpoint ( #526 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-02 20:37:31 +08:00
Steve0x2a
22f5ad06ec
fix: Make secret optional when using PKCE ( #525 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-02 13:15:14 +08:00
Yang Luo
18aa70dfb2
Fix delete-resource authz failure.
2022-03-01 22:37:23 +08:00
Steve0x2a
697b3e4998
feat: add implicit flow support ( #520 )
...
* feat: add implicit flow support
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: idp support in implicit flow
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-01 19:09:59 +08:00
Steve0x2a
d48d515c36
fix: Missing extendedUser in signup webhook ( #522 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-03-01 18:25:48 +08:00
Gucheng Wang
a5d166c35f
Support language param.
2022-02-28 21:33:10 +08:00
Nekotoxin
4915963c52
fix: member No.0 bug ( #516 )
...
* fix: member No.0 bug
* Update account.go
* fix: member No.0 bug
* fix: member No.0 bug
* Update account.go
2022-02-28 19:42:11 +08:00
Nekotoxin
759a1421e5
feat: add the 'karma' prop to table User ( #518 )
...
* feature: feat : add the 'karma' prop to table User
* feat: add the 'karma' prop to table User
2022-02-28 16:25:09 +08:00
Gucheng Wang
c14bf9fdab
Fix bug in first name, last name checking
2022-02-28 13:17:05 +08:00
Yang Luo
e19f07c521
Add product detail page.
2022-02-27 23:50:35 +08:00
Yang Luo
39ab71c5db
Add product pages.
2022-02-27 20:09:19 +08:00
Steve0x2a
2c97f8a8b7
feat: add two authentication flow types ( #512 )
...
* feat: add two authentication flow types
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: delete implicit method
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: use a more appropriate name
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: apply suggestion
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: remove redundant code
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-27 14:05:07 +08:00
Yang Luo
21392dcc14
Support user's first name and last name.
2022-02-27 14:02:52 +08:00
Yang Luo
953d3d5bc5
Change personal to real name.
2022-02-27 13:44:44 +08:00
Yixiang Zhao
ddee97f544
fix: this.props.location undefined ( #513 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-02-26 18:39:24 +08:00
Yang Luo
c58a6d8725
Set enableSigninSession to false by default.
2022-02-25 23:58:13 +08:00
Yang Luo
a5ff9549c1
Remove useless menu item.
2022-02-25 22:35:24 +08:00
Yang Luo
fe57dcbff4
Improve translation.
2022-02-25 21:31:15 +08:00
Yixiang Zhao
f8c4ca0f00
feat: add cancel buttons on the edit page ( #509 )
...
* feat: add cancel buttons on the edit page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: remove warning and primary type of cancel buttons
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-02-25 18:16:02 +08:00
Jerry
e738c42bd8
fix: facebook login exceptions ( #508 )
...
* Fix the exception caused by "Username" being empty when logging in with facebook
* fix: facebook login missing "Username" exception
2022-02-23 23:58:17 +08:00
Steve0x2a
cbc8c58e85
fix: oidc jwks endpoint only return default cert ( #506 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-21 23:17:16 +08:00
Gucheng Wang
07c90e048f
Update personal name.
2022-02-21 16:01:39 +08:00
Steve0x2a
a33076ada4
feat: add AD-FS support ( #505 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-20 15:01:48 +08:00
Ghost Lee
9cabc4035f
fix: docker-compose.yml has duplicated label ( #502 )
...
the casdoor service config in docker-compose.yml has duplicated restart label
2022-02-20 14:15:57 +08:00
Steve0x2a
274096fe9d
fix: empty iss return ( #503 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-18 12:36:11 +08:00
Steve0x2a
661abd6b6e
feat: add steam support ( #497 )
...
* feat: add steam support
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: wrong name
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-16 19:57:46 +08:00
Yixiang Zhao
4122c94205
feat: add pagination for LdapSyncPage and fix the bug Ldap auto-sync cannot disable ( #496 )
...
* feat: add pagination for LdapSyncPage
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* fix: Ldap auto sync cannot disable
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-02-15 23:03:53 +08:00
Rafael Firmino
68ef5f8311
test: add tests in strings manipulation ( #477 )
...
* test: add tests in strings manipulation
Add tests
improving functions like BoolToString, CamelToSnakeCase, GetMinLenStr and SnakeString
* Add copyrig
* test: fix tests description
* test: add tests for function manupulate string
2022-02-15 21:56:59 +08:00
大雄
e35b058ab4
feat: add helm manifest for k8s and makefile ( #444 )
...
Signed-off-by: henrywangx <henrywangx@gmail.com >
Co-authored-by: xiong wang <xiong.wang@inceptio.ai >
2022-02-15 21:47:13 +08:00
Gucheng Wang
7d1f368bc2
Support docx file upload.
2022-02-15 21:21:07 +08:00
Gucheng Wang
0bd86baf4d
Fix crash in incremental ID.
2022-02-14 22:58:26 +08:00
Товарищ программист
adf036d8c7
fix: fix missing username in forgetpage ( #487 )
2022-02-14 19:47:18 +08:00
Zixuan Liu
2d19d366d4
fix: miss ca-certificates in docker image ( #491 )
...
Signed-off-by: Zixuan Liu <nodeces@gmail.com >
2022-02-14 00:18:26 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Gucheng Wang
eacd5f59db
Update logo.
2022-02-13 23:34:29 +08:00
Gucheng Wang
9024010081
Update demo site URL.
2022-02-13 20:47:34 +08:00
Yang Luo
3aab6c8687
Support from link.
2022-02-12 09:55:06 +08:00
Yang Luo
7391773f0e
Fix payment list error.
2022-02-12 00:36:53 +08:00
Yang Luo
de8163a19b
Update https://registry.npm.taobao.org in Dockerfile.
2022-02-11 22:54:15 +08:00
Yang Luo
07abe06332
Use utf8mb4 for DB encoding.
2022-02-11 22:38:56 +08:00
Gucheng Wang
0bc29465e5
Improve error handling in WeChatIdProvider.
2022-02-11 20:42:48 +08:00
Rafael Firmino
c37b0111a7
test: add tests in setting file ( #481 )
...
* test: add tests in setting file
* Add Copyright
* fix: format importation convention
Co-authored-by: Rafael Firmino <rafaelfirmino@gmail.com >
2022-02-10 17:21:27 +08:00
Rafael Firmino
47d1448c02
test: add step in gitHub action from running tests first ( #476 )
...
* Add step for running tests in github actions
The test xlsx/xlsx_test.go is removed becout the path containing
file not exist.
* Fix error in test
* test: This test was supposed to test getUsers, but it does nothing
This test will be rewrite for using a clean database, today its
necessary create a syncer manualy for this test pass.
* Add syncer tests
* Fix Copyright position
* fix: back with test file
2022-02-10 17:15:15 +08:00
Steve0x2a
eb15afec34
fix: use new dingtalk api and support qrcode method ( #486 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-10 17:14:18 +08:00
Yang Luo
e1c54744dc
Add cert to ApplicationEditPage.js
2022-02-08 20:59:20 +08:00
Yang Luo
612b5f5c2e
Improve message in GetOAuthToken().
2022-02-08 20:52:20 +08:00
Rafael Firmino
bd38552db5
test: add tests in time util package ( #474 )
...
* test: add tests in time util package
* Add copyright
2022-02-07 22:21:19 +08:00
Steve0x2a
256b433e57
fix: IsTokenExpired function adjustment ( #475 )
...
* fix: IsTokenExpired function adjustment
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: tokenExpired err
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-07 22:20:36 +08:00
Steve0x2a
63161d6135
fix: infoflow's parameter error ( #480 )
...
* fix: missing state parameter
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: infoflow's parameter error
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: use userid instead of imid
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-07 21:50:51 +08:00
Steve0x2a
5640d258bb
fix: missing state parameter ( #478 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-07 15:54:37 +08:00
Steve0x2a
f85f4c0cf8
feat: add infoflow idp support ( #472 )
...
* feat: add infoflow internal backend support
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* feat: add infoflow idp support
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: copyright and comment
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-02-05 21:54:38 +08:00
Yang Luo
0720794e75
Fix bug in IsTokenExpired().
2022-02-05 21:16:30 +08:00
Yang Luo
940aa2bc2d
Add payment pages.
2022-02-05 20:13:15 +08:00
Товарищ программист
db44957b1f
fix: fix proxy for swagger ( #471 )
2022-02-04 20:00:40 +08:00
Rafael Firmino
e5e1fdae76
FIx: menu redirect to swagger ( #470 )
2022-02-04 19:08:32 +08:00
Rafael Firmino
80f01074fa
fix: 'restart always' instruction is in wrong position ( #468 )
2022-02-03 21:27:27 +08:00
Steve0x2a
d943d5cc61
fix: oauth params null value error ( #465 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-01-30 17:58:54 +08:00
Gucheng Wang
19ed35f964
Add getOriginFromHost().
2022-01-29 23:43:25 +08:00
Товарищ программист
5757021e87
fix: prohibit cross-origin access ( #462 )
2022-01-29 21:52:04 +08:00
Gucheng Wang
259a4e1307
Fix Docker compose on Apple M1 Chip
2022-01-29 10:42:33 +08:00
Gucheng Wang
034d822dd5
Fix empty UserInfo ID in wecom_internal.go
2022-01-29 10:27:45 +08:00
Gucheng Wang
a8502d1173
Fix GetIdProvider() bug.
2022-01-29 09:52:48 +08:00
Steve0x2a
3c2f7b7fc8
feat: add protection against attacks ( #460 )
...
Signed-off-by: 0x2a <stevesough@gmail.com >
2022-01-29 00:32:57 +08:00
Gucheng Wang
fbc73de3bb
Support WeCom Internal sub type.
2022-01-28 23:57:54 +08:00
Gucheng Wang
479daf4fa4
Improve code format.
2022-01-28 17:45:41 +08:00
Steve0x2a
d129202b95
fix: no database check when using accessToken ( #461 )
...
Signed-off-by: 0x2a <stevesough@gmail.com >
2022-01-28 15:07:42 +08:00
Steve0x2a
c1f553440e
feat: add wecom internal support ( #452 )
...
Signed-off-by: 0x2a <stevesough@gmail.com >
2022-01-28 12:44:45 +08:00
Товарищ программист
7dcae2d183
fix: add k8s deployments example ( #446 )
2022-01-28 09:25:25 +08:00
Yixiang Zhao
5ec0c7a890
fix: fix the SQL injection vulnerability in field filter ( #442 )
...
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-01-26 19:36:36 +08:00
Steve0x2a
051752340d
feat: add userinfo endpoint ( #447 )
...
* feat: add userinfo endpoint
Signed-off-by: 0x2a <stevesough@gmail.com >
* feat: add scope support
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: modify the endpoint of discovery
Signed-off-by: 0x2a <stevesough@gmail.com >
2022-01-26 11:56:01 +08:00
LiuBo
c87c001da3
fix: fix the permission page can not open when initial a new project ( #449 )
2022-01-25 19:39:04 +08:00
Steve0x2a
12bc419659
fix: baidu's display name error ( #440 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-01-23 20:32:44 +08:00
Gucheng Wang
d5f18f2d64
Support SilentSignin.
2022-01-23 13:02:55 +08:00
Steve0x2a
02c06bc93c
feat: add baidu support as idp ( #438 )
...
* feat: add baidu support as idp
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: add license
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-01-22 19:36:44 +08:00
Товарищ программист
40aa9a4693
fix: remove wait-for-it ( #436 )
2022-01-22 15:50:48 +08:00
Steve0x2a
630b84f534
feat: add PKCE support ( #434 )
...
* feat: add PKCE support
Signed-off-by: Steve0x2a <stevesough@gmail.com >
* fix: error output when challenge is empty
Signed-off-by: Steve0x2a <stevesough@gmail.com >
2022-01-21 09:29:19 +08:00
Gucheng Wang
339a85e4b0
Support tableNamePrefix in authz table.
2022-01-20 14:20:37 +08:00
Gucheng Wang
c22ab44894
Update import path.
2022-01-20 14:11:46 +08:00
hanpeng
c3fb48f473
fix: Add a configuration that can set the table prefix. There is no prefix by default ( #432 )
...
* fix: Add a configuration that can set the table prefix. There is no prefix by default
* fix: Add a configuration that can set the table prefix. There is no prefix by default
2022-01-20 13:50:20 +08:00
hanpeng
a111fd672c
fix: Add the configuration of whether to print SQL. The default value is false ( #429 )
2022-01-19 16:58:45 +08:00
Gucheng Wang
9fd175eefd
Add ErrorText to syncer.
2022-01-17 21:17:42 +08:00
Gucheng Wang
d9bcce9485
Start syncer dynamically.
2022-01-17 20:09:29 +08:00
Gucheng Wang
d183b9eca9
Change syncer.SyncInterval to second-level.
2022-01-17 19:27:52 +08:00
Gucheng Wang
f24d9ae251
Don't update password in AddUsers().
2022-01-17 13:26:30 +08:00
Gucheng Wang
030c1caa50
Fix bug in IsGlobalAdmin().
2022-01-15 23:23:14 +08:00
Gucheng Wang
cee2c608a2
Disable PasswordModal when needed in user edit page.
2022-01-15 21:34:37 +08:00
Gucheng Wang
82d0e895e0
Update users and roles when org is changed in permission edit page.
2022-01-15 21:11:47 +08:00
Gucheng Wang
dee9bac110
Show signupApplication in user edit page.
2022-01-15 18:29:10 +08:00
Gucheng Wang
e7a6986b62
Add index to User.Id
2022-01-14 17:42:11 +08:00
Gucheng Wang
b91b4aec91
Allow global admin to modify username.
2022-01-13 23:20:10 +08:00
Bingchang Chen
fe48c38bc6
feat: support minio ( #418 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com >
2022-01-13 21:48:00 +08:00
Gucheng Wang
1be777c08f
Fix GetUserByField()'s bug for idCard.
2022-01-13 12:48:15 +08:00
Товарищ программист
8d54bfad8a
feat: support create database via cmd line ( #417 )
2022-01-13 11:35:13 +08:00
Gucheng Wang
728fe11a3c
Refactor CountDownInput.
2022-01-07 20:34:27 +08:00
Gucheng Wang
69e0f4e40d
Add idCard in GetUserByFields().
2022-01-04 19:52:29 +08:00
Yang Luo
ba32a45693
Add ClaimsShort to fix the JWT user's owner and name empty bug.
2022-01-03 22:54:27 +08:00
github-actions[bot]
a4d83af768
refactor: New Crowdin translations by Github Action ( #412 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2022-01-02 23:55:06 +08:00
Yang Luo
5b8f6415d9
Add Gitter badge.
2022-01-02 23:34:24 +08:00
Yang Luo
5389cb435c
Fix Crowdin sync.
2022-01-02 23:16:08 +08:00
Yang Luo
9b6131890c
Add permission page.
2022-01-01 16:28:33 +08:00
Steve0x2a
ffc0a0e0d5
fix: refresh_token endpoint does not work ( #410 )
...
Signed-off-by: 0x2a <stevesough@gmail.com >
2022-01-01 15:20:49 +08:00
Yang Luo
ff22bf507f
Add role page.
2022-01-01 15:11:16 +08:00
Yang Luo
2d4103d751
Add isUserExtended to webhook.
2022-01-01 11:16:37 +08:00
Yang Luo
4611b59b08
Add webhook edit page's preview.
2022-01-01 10:58:39 +08:00
Bingchang Chen
445d3c9d0e
feat: support spring security oauth2 ( #408 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com >
2021-12-31 19:55:34 +08:00
Yang Luo
dbebd1846f
Fix code sign-in link hiding.
2021-12-31 13:36:10 +08:00
Yang Luo
2fcc8f5bfe
Support app user in SetPassword().
2021-12-31 13:32:18 +08:00
Yang Luo
4b65320a96
Support user uploading via xlsx.
2021-12-31 13:00:35 +08:00
Yang Luo
5e8897e41b
Make cert work.
2021-12-31 10:02:06 +08:00
Yang Luo
ba1646a0c3
Add cert pages.
2021-12-31 00:36:36 +08:00
Yang Luo
c1cd187558
Improve UI.
2021-12-29 20:50:49 +08:00
Yang Luo
519fd655cf
Add GetMaskedApplication() and GetMaskedApplications().
2021-12-29 20:04:39 +08:00
Yang Luo
377ac05928
Don't clear session in SetPassword().
2021-12-28 23:07:09 +08:00
Steve0x2a
4f124ff140
fix: refresh token does not return ( #401 )
...
Signed-off-by: 0x2a <stevesough@gmail.com >
2021-12-28 19:44:17 +08:00
Yang Luo
d5f802ec7d
Support IdCard in signup page.
2021-12-28 17:48:24 +08:00
Yang Luo
64d3b7e87f
Add EnableSigninSession to app.
2021-12-28 17:15:47 +08:00
Yang Luo
dfce1bd74c
Remove adapter.createDatabase().
2021-12-27 22:49:54 +08:00
Steve0x2a
067ae5448f
fix: idp using goth shows wrong display name ( #398 )
...
* fix: adjust the accessToken field
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: missing name and owner
Signed-off-by: 0x2a <stevesough@gmail.com >
* fix: get wrong display name
Signed-off-by: 0x2a <stevesough@gmail.com >
2021-12-27 18:55:25 +08:00
Yang Luo
9943e3c316
Add isEnabled to webhook.
2021-12-26 21:03:12 +08:00
Yang Luo
0c665edcbc
Add headers to webhook.
2021-12-26 20:43:32 +08:00
Yang Luo
5015bf1c7d
Add method to webhook.
2021-12-26 19:56:02 +08:00
Yang Luo
2ec947d488
Update project_id.
2021-12-26 09:49:00 +08:00