Commit Graph

375 Commits

Author SHA1 Message Date
Akshay Gaikwad
a31af67fe7 Generate Go code of agent templates 2022-06-09 16:29:21 +05:30
Akshay Gaikwad
664beb4383 Replace rafay with paralus 2022-06-09 13:42:27 +05:30
Akshay Gaikwad
0ee494cc97 Rename rcloud, Rafay references 2022-06-08 18:41:32 +05:30
Akshay Gaikwad
b67fcacf87 Rename go module name and its usage 2022-06-08 17:21:22 +05:30
Akshay Gaikwad
b4287fe73d Merge pull request #163 from paralus/update-readme-dev-false
Set dev to false by default
2022-06-08 14:59:47 +05:30
Akshay Gaikwad
5206ce8d27 Set dev to false by default
- Set dev to false by default.
- Add auth even when dev is true.
2022-06-08 12:05:53 +05:30
Akshay Gaikwad
213fcaea43 Merge pull request #160 from paralus/modify-idp-groups-to-string
Modify Kratos traits to hold single string group
2022-06-07 17:16:59 +05:30
Akshay Gaikwad
318907b215 Modify Kratos traits to hold single string group
Due to the ORY Kratos claims which has no group/groups, and as
discussed regarding mapping idp groups to Claims.Team which is string
type, Added idpGroup to kratos trait which is also string type. Both
Identity idpGroup and Claim.Team can be mapped without fail in mapper
config.
2022-06-06 12:16:08 +05:30
Nirav Parikh
7ecbf699e6 Merge pull request #158 from paralus/sso_fixes
fixes for sso users listing, sso users kubectl issue
2022-06-06 10:50:13 +05:30
niravparikh05
79a88d4766 fix tests 2022-06-02 18:12:24 +05:30
niravparikh05
f8be2a671c fixes for sso users listing, sso users kubectl issue, removed commented code 2022-06-02 11:31:18 +05:30
Abin Simon
19e5dffb60 Merge pull request #155 from RafayLabs/build-other-images
Add docker build jobs for init and sync images
2022-06-01 09:23:07 +05:30
Abin Simon
c885ccea3c Add docker build jobs for init and sync images 2022-05-31 08:50:22 +05:30
Nirav Parikh
fdb1dccb3b Merge pull request #150 from RafayLabs/ci-release-udpate
CI (Release): Build image on push to main branch
2022-05-30 11:17:56 +05:30
Akshay Gaikwad
e6664f6971 CI(Release): Build image on pull request 2022-05-30 10:46:00 +05:30
Abin Simon
58e5c9453d Merge pull request #153 from RafayLabs/remove_user_desc
removed desc from user traits
2022-05-27 16:03:19 +05:30
niravparikh05
ad193fbf98 removed desc from user traits 2022-05-27 15:15:58 +05:30
Abin Simon
14750dc41a Merge pull request #149 from RafayLabs/even-more-fixes
Fix errors, unique filter, oidc
2022-05-27 13:57:50 +05:30
Abin Simon
dde21c50c4 Drop description from identity schema 2022-05-27 13:51:28 +05:30
Abin Simon
c2c503a1aa Add proper unique constraint to project 2022-05-27 13:51:28 +05:30
Abin Simon
18269e0728 Update how unique is handled in provider 2022-05-27 13:51:28 +05:30
Abin Simon
f1e2e02891 Fix few more random issues in oidc provider 2022-05-27 13:51:28 +05:30
Abin Simon
8054b75c88 Lowercase error messages 2022-05-27 13:51:28 +05:30
Nirav Parikh
c3320a8234 Merge pull request #145 from RafayLabs/ns-dev
Namespace related development changes
2022-05-27 12:30:42 +05:30
niravparikh05
0210f0f2d3 renamed column namespace_id to namespace 2022-05-27 12:23:22 +05:30
Akshay Gaikwad
8c64af636f Fix: Release workflow failing on test 2022-05-26 12:52:46 +05:30
Akshay Gaikwad
7bb0bf565c CI(Release): Build image on push to main branch
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2022-05-26 12:52:00 +05:30
Nirav Parikh
d6bff5ed26 Merge pull request #147 from RafayLabs/forgot-password
Create endpoint to generate recovery link
2022-05-25 10:25:46 +05:30
niravparikh05
0ae35d2024 added changes for namespaced dynamic roles and created at metadata field 2022-05-24 15:48:56 +05:30
Nirav Parikh
691d94e841 Merge pull request #140 from RafayLabs/kratos-oidc-mapper-configs
Added mapper configs for known OIdC providers
2022-05-24 14:07:27 +05:30
Abin Simon
aa4bea1654 Fix tests for user delete 2022-05-24 12:37:50 +05:30
Abin Simon
446ae18798 Don't let users delete their own accounts 2022-05-24 12:27:41 +05:30
Abin Simon
c576932eda Create /user/:username/forgotpassword endpoint 2022-05-24 12:08:37 +05:30
niravparikh05
3d8c834189 fixing test cases for namespaces 2022-05-23 14:56:04 +05:30
niravparikh05
d4a28e165a removed unnecessary log statements 2022-05-23 12:48:21 +05:30
niravparikh05
8ab85e57c9 changes to support namespaces 2022-05-23 12:42:51 +05:30
Nirav Parikh
2bca7b4624 Merge pull request #141 from RafayLabs/fix-audit-stuff
More fixes
2022-05-23 12:28:07 +05:30
Abin Simon
bebffe2c25 Changes to support audit log change in prompt 2022-05-20 15:02:18 +05:30
Akshay Gaikwad
01c84a6275 Change fallback name to "Rafay User" for OIDC users
When name cannot fetched from the OIDC response, the default name set
to "Rafay User".
2022-05-20 12:23:34 +05:30
Akshay Gaikwad
2a0354dbb6 Added mapper configs for known OIdC providers
- These mapper configs are prefilled in the UI automatically.
- Removed description from required in Kratos identity schema.
2022-05-20 12:18:12 +05:30
Abin Simon
bdc1052662 Cleanup some TODO items 2022-05-20 11:27:29 +05:30
Abin Simon
4d9d8dc4cf Fix user test with compound filtering 2022-05-20 10:53:21 +05:30
Abin Simon
aabf2e600e Fix group filter for users
The following could be used as an optimisation when we are filtering
just by user, but decided to omit as of now.

```
usrs, err = dao.ListFilteredUsersWithGroup(ctx, s.db,
    []uuid.UUID{}, groupId, queryOptions.Q, queryOptions.Type,
    queryOptions.OrderBy, queryOptions.Order,
    int(queryOptions.Limit), int(queryOptions.Offset))
```
2022-05-20 10:29:35 +05:30
Abin Simon
6d3aef400a Add auth to missing rest endpoints 2022-05-20 10:29:34 +05:30
Abin Simon
60dda7cb3c Switch to default UI port 3000 in kratos debug conf 2022-05-20 10:29:34 +05:30
Abin Simon
6e2d7bb7b1 Update audit default prefix 2022-05-20 10:29:34 +05:30
Abin Simon
ed93614e97 Enable grpc reflection if using dev 2022-05-20 10:29:34 +05:30
Abin Simon
68bd13b891 Use projcts instead of projectids for search 2022-05-20 10:29:34 +05:30
Abin Simon
2cdb45e6e9 Update audit logs to use project name instead of id 2022-05-20 10:29:34 +05:30
Abin Simon
0d6269bf4e Add groups to audit logs 2022-05-20 10:29:34 +05:30