Commit 01dd1cb
feat(user): implement users manager (#289)
* feat(console, admin): add list users for administration
* feat(console): redesign user detail sheet
* fix(console): fix sorting for server datatable
* refactor(console): restyle user-detail-sheet
* feat(console): add confirm dialog for action ban
* feat(console): add user detail section
* fix(console): fix small typo in tls tab (#290)
* feat(asset): add tls filter for asset
* fix(core): fix asset test
* fix(asset): fix based on bot reviews
* fix(console): fix small typo in tls tab
* fix(console): add missing tls for queryParams in asset context
* fix(console): fix tls query hook in dashboard
---------
Co-authored-by: Quang Vinh <32523515+l1ttps@users.noreply.github.com>
* chore(deps): bump multer from 2.0.2 to 2.1.0 (#292)
Bumps [multer](https://github.com/expressjs/multer) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](expressjs/multer@v2.0.2...v2.1.0)
---
updated-dependencies:
- dependency-name: multer
dependency-version: 2.1.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(targets): create multiple targets (#291)
* refactor(targets): combine logic create target in transaction
* feat(targets): add bulk target creation endpoint
* feat(targets): add bulk creation support
* fix(console): move tabList into component to avoid out of context (#293)
Co-authored-by: Quang Vinh <32523515+l1ttps@users.noreply.github.com>
* fix(assets): select asset relations in query (#297)
* refactor(ui): improve flow onboarding with first workspace creation and re-design settings ui (#299)
* feat(console): add all workspaces navigation and improve 404 page UI
* refactor(layout): extract header into dedicated HeaderBar component
* refactor(console): add workspace-aware header layout
* refactor(console): convert workspace creation to page and add route protection
* refactor(console): update workspaces UI from table to card layout
* feat(workspaces): add member and target counts to workspace list
* refactor(settings): reorganize settings page with sidebar layout
* feat(settings): add API keys management
* refactor(settings): improve API key display layout
* fix(screenshot-cell): add type assertion for screenshotPath
* refactor(workspaces): use workspace selector hook
* feat(auth): add session retry with exponential backoff
* chore(agent): migrate ai agent
* feat(router): add admin users route
* feat(console): implement create user
* feat(console): add change name, email and reset password in user detail
* fix(console): fix duplicate tlsHosts in context
* fix(console): use loading state of data table and improve client user type
* fix(console): add admin route
* feat(console): Implement role-based access control for settings tabs and sidebar menu items based on user roles.
* style(console): update 'Add User' button to outline variant
* refactor(console): move add user button to table toolbar
* fix(console): add autoComplete to user detail input
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Quang Vinh <32523515+l1ttps@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: l1ttps <l1ttps443@gmail.com>1 parent 0e66fab commit 01dd1cb
File tree
26 files changed
+1192
-203
lines changed- console/src
- components/common/layout
- hooks
- pages
- admin
- asset-group/components
- assets/components
- issues
- jobs-registry
- providers
- settings
- targets
- vulnerabilities
- routers
- utils
26 files changed
+1192
-203
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
34 | 50 | | |
35 | 51 | | |
36 | 52 | | |
37 | 53 | | |
| 54 | + | |
38 | 55 | | |
39 | | - | |
| 56 | + | |
40 | 57 | | |
41 | 58 | | |
42 | 59 | | |
| |||
48 | 65 | | |
49 | 66 | | |
50 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
51 | 80 | | |
52 | 81 | | |
53 | 82 | | |
| |||
121 | 150 | | |
122 | 151 | | |
123 | 152 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
148 | 179 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
159 | 196 | | |
160 | 197 | | |
161 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
79 | | - | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | | - | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | | - | |
98 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
99 | 108 | | |
100 | | - | |
101 | 109 | | |
102 | | - | |
103 | | - | |
| 110 | + | |
| 111 | + | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
123 | 120 | | |
124 | | - | |
| 121 | + | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
| |||
0 commit comments