Commit Graph

29 Commits

Author SHA1 Message Date
Daniel Valdivia
ac5732970c New Logo (#64) 2020-04-13 10:59:46 -07:00
Alex
1b1ed55252 Creation of reusable components for mcs & implementation in users page (#63)
Creation of reusable componentes for mcs:
- ModalWrapper => Modal box component with MinIO styles
- InputBoxWrapper => Input box component with MinIO styles
- RadioGroupSelector => Component that generates a Radio Group Selector combo with the requested options and MinIO styles

Implementation of these new components in users creation / edit components

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
2020-04-10 22:13:31 -07:00
Alex
5c5e84b289 Implemented User-Groups integration for mcs (#62)
Implemented user-groups integration for mcs, this allows to store the user groups during the user creation.

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
2020-04-09 16:39:49 -07:00
Alex
e197399441 Users-Group Update API (#49)
* Added structure to swagger

* Added updateUserGroups handlers

* Updated return definition for user groups.

* Logic rewrite

* Removed logs

* Added some tests to updateUserGroups

* lint fix

* Updated tests for the new API

* Lint

* Added comment about why we are setting this groups individually. & more lint fixes

* Updated tests page

* Added more tests & fixed comments for PR

* Lint utils file

* Fixed import orders

* Changed import order

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
2020-04-08 17:38:18 -07:00
Lenin Alevski
ff2438a877 Logout endpoint (#47)
Delete in memory session when user logout from mcs

lint fixes

Click logout button triggers logout request

Clicking the actual logout button send the POST /logout request on mcs
UI

Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com>
2020-04-08 14:36:14 -05:00
César Nieto
c85067dfba UI remove setting access on make bucket (#46)
Remove CUSTOM option on access to set
2020-04-08 07:44:32 -07:00
Daniel Valdivia
b1df170d80 Change font to Lato (#48) 2020-04-07 17:31:26 -07:00
Daniel Valdivia
9566f6e579 Fix Groups Empty (#45) 2020-04-07 13:29:40 -07:00
Daniel Valdivia
12a682e9f6 Redirect to Login when not logged in. (#44) 2020-04-07 11:56:52 -07:00
Lenin Alevski
b390ce309a Reading policy as json string (#43)
addPolicy endpoint will read policies as json string, this to allow
s3 iam policy compatibility (uppercase in json attributes) and to be
consistent with other mcs apis, once https://github.com/minio/minio/pull/9181
is merged we can return a type struct{}

fix policies test to new refactor

goimports

more golint fixes
2020-04-06 19:10:10 -07:00
Daniel Valdivia
2001ab6dae Logout on Unauthorized. Fix all UI warnings. (#35) 2020-04-06 16:35:30 -07:00
Daniel Valdivia
b85c2c744d Small UI Tweaks (#30) 2020-04-06 12:32:10 -05:00
Alex
a749c4e3fd Improvements for Users / Groups selection lists. (#26)
* List improvements

* Prettier files

* made smaller tables for select users & select groups components. added sticky header & prettier files

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
2020-04-03 19:51:32 -07:00
Daniel Valdivia
36602311fa UI: Dashboard (#24)
* UI: Dashboard

* h1 MinIO Console

* UI: Dashboard

* h1 MinIO Console

* Formatting

* paramter fix

Co-authored-by: Lenin Alevski <alevsk.8772@gmail.com>
2020-04-03 15:46:42 -07:00
Lenin Alevski
1e4ed121e9 quick fix (#25) 2020-04-03 15:07:53 -07:00
Daniel Valdivia
c3c22fc77f UI: Add events to buckets (#22)
* UI: Add events to buckets

* Menu user icon

Co-authored-by: Lenin Alevski <alevsk.8772@gmail.com>
2020-04-03 15:00:34 -07:00
Lenin Alevski
c6f7a5b995 [WIP] Policy editor & builder (#21)
* display policy info

* formatting json string
2020-04-03 14:47:20 -07:00
Alex
9c43c8894a Connected filter searchbox for groups, users & user creation groups (#20)
* Connected group selector list

* Added groups filtering for create user form

* connected groups input filter

* Connected users input

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
2020-04-03 14:24:04 -07:00
Alex
fbd19f9fa9 Groups Panel (#17)
* Added groups router component

* Created groups page

* Updated table rows

* Added group add modal

* Connected to add group API

* Connected add Group & fixed missing props

* Added user selector component

* Added connection to users list

* Fixed persistent group issue

* Group get data fix

* Added status selector & connected edit form

* Connected delete modal

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com>
2020-04-03 13:42:59 -07:00
Daniel Valdivia
3a8f1556af View Bucket Info (#11)
* View Bucket Info

* Fix makefile for portal-ui

* Static UI

* Remove Warning on View Bucket

* Address Comments
2020-04-02 19:40:26 -07:00
Alex
0da379dbb2 Groups list component creation (#14)
* Reconnected Users delete modal

* Fix API path

* Reconnected access name modal

* Fixed title issue

* Fixed reset state

* Added groups selectors list control component

* Change of edit form to not edit access key & access secret values

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com>
2020-04-02 18:23:40 -07:00
Lenin Alevski
cfa5fa9826 list policies screen (#9)
delete policy modal

add policy editor modal

uncommenting chart

removing comments from chart
2020-04-02 17:39:03 -07:00
Daniel Valdivia
e2ba32473b Check Session Endpoint (#10) 2020-04-02 15:54:34 -07:00
Daniel Valdivia
f80fb2e73f Update Copyright Headers (#8) 2020-04-02 12:51:51 -07:00
Daniel Valdivia
49c0cac62c Upgrade React (#5)
* Upgrade React

* remove unnecesary file

* Downgrade Recharts
2020-04-02 12:21:39 -07:00
Alex
50bba57481 Users list fixes (#7)
* Updated dependencies

* Imported changes from old repo for users reconnect

* Added add group buttons

* Removed console logs

* partial fix for total user issue

* Added sort to users list

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com>
2020-04-02 12:16:20 -07:00
Alex
44c6c9f46a Users List & Creation (#4)
* Updated dependencies

* Imported changes from old repo for users reconnect

* Added add group buttons

* Removed console logs

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com>
2020-04-02 11:36:37 -07:00
Daniel Valdivia
e2c95b5be1 Make swagger main stop being generated. Default Port 9090 (#3)
* Make swagger main stop being generated

* Update Readme

* Remove Warning
2020-04-02 11:31:48 -07:00
Daniel Valdivia
92319bb356 Intial Commit Migrating from github.com/minio/m3 2020-04-01 18:18:57 -07:00