Darko Draskovic
|
d504c4f67d
|
MF-571 - Add Env.elm to set custom base URL (#654)
* Add Env module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Modify README.md
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove literal vals from Env.elm
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Replace protocol, host and port env setting by url
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove default env.url value and update README.md
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add http://localhost:80/ as a default baseURL val
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Replace Gateflux by Mainflux
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
|
2019-03-20 14:30:38 +01:00 |
Darko Draskovic
|
3255f32a9c
|
MF-571 - Elm UI (#632)
* Initial commit
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add user create form
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add Makefile and README
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove elm-stuff
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add url parsing
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add channels retrive and remove
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor request f and add f annotations
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add things provision
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add thing retrieve and remove
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Rename Channel.elm methods
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix trailing slash and add url constants
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add module User with separate model, view and update
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Modularize channels
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Modularize version and things
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor module methods
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Modularize messaging
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add channel pagination
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix initial channel model
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add access control (connect and disconnect things from channel)
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add pagination to Things
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Using Url.Builder in connection and messaging
Rename Acces module to Connection
Rename attribute in Bootstrap code
Remove debug logging
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add login
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add dynamic menu
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix empty name channel/thing bug
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove menu from login screen and add response helper
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add version, channels, things direct display
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add channels table
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Change var names and add refreshChannelList helper
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add Things list
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix response behavior
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove version page button
Signed-off-by: drasko <drasko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Move everything to ui folder
Signed-off-by: drasko <drasko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove dashflux
Signed-off-by: drasko <drasko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 Add things and channels lists to Connection module (#580)
* Add thing and channel lists to Connection module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix form reset bug & remember checkbox status in Connection module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - Add batch things-channels connection modification (#588)
* Add batch things-channels connection modification
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove unused token arg and reposition buttons
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* NOISSUE - messaging in UI (#578)
* Add thing and channel lists to Connection module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* init commit
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* list channels and things
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* list channels with radio buttons
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Listing channels for selected thing
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix list channels for selected thing
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Use records instead of hardcode values
Use genFormField from Helpers
Remove dead comments
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* NOISSUE - Add Docker build for UI (#582)
* Add Docker build for UI
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix entrypoint and ports
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Add NginX server. Fix port.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* NOISSUE - Fix layout and add custom CSS (#593)
* Fix layout and add custom CSS
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Remove comments, add copyright headers
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Add newline at the end of the css file
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* NOISSUE -update message module (#599)
* Update message module
Sending message as selected thing to multiple channels
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Rename token to thingkey
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Reset model on send message and reset list of channels on selecting thing
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove logout button and add logout header (#604)
* Remove logout button and add logout header
* Removed dead code.
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - Pagination (#606)
* Add total # things to Thing model
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add basic pagination for Thing
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add pagination helper function & Channel pagination
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* NOISSUE - Add bootstrap cards in version view (#607)
* Add total # things to Thing model
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add basic pagination for Thing
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add bootstrap cards in version view
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add pagination helper function & Channel pagination
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* modify styling
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Styling
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Mainflux logo
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Revert "NOISSUE - Add bootstrap cards in version view (#607)"
This reverts commit a9a4dd7c730de453c45b64b51712c81e9befbeec.
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Pagination (#613)
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - Add dashboard (#614)
* Add Dashboard module and simplify Main module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove unused code and Version module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add helper funcs to Main.elm update method
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Improve Main and Message module organization
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add dashboard Things and Channels buttons
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add Modal to edit thing
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add RemoveThing msg and AwesomeFont
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Unify provision and retrieve request
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Reorganize code by making funcs and code repositioning
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add fon-awesome 5.* support
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add metadata edit
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove table header add thing and removed dead code
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - UI modal buttons (#617)
* Add Dashboard module and simplify Main module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove unused code and Version module
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add helper funcs to Main.elm update method
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Improve Main and Message module organization
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add dashboard Things and Channels buttons
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add Modal to edit thing
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add RemoveThing msg and AwesomeFont
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Unify provision and retrieve request
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Reorganize code by making funcs and code repositioning
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add fon-awesome 5.* support
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add metadata edit
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove table header add thing and removed dead code
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add complete Thing edit modal buttons
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add card style to channels (#618)
Add dropdown user menu
Add font awesome to main menu
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - UI Thing module with modals (#620)
* Add Thing provision modal
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add app/dev dropdown to Thing provision modal
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor Thing to have separate Update and Provision msg handling
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove fontAwesome import and fix Dict import
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - UI channel modals (#621)
* Add Thing provision modal
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add app/dev dropdown to Thing provision modal
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor Thing to have separate Update and Provision msg handling
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove fontAwesome import and fix Dict import
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add provision and edit modals to Channel
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add HttpMF http custom library
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add ModalMF Bootstrap modal custom library
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Moved all http funcs to HttpMF
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Moved expect funcs from Connection and Message to HttpMF
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add cards and change tables (#622)
* Change type of tables
Add tables to cards
Colorize buttons
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove comments
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* MF-571 - Fix user login and refactor User (#623)
* Fix user login and refactor User
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove redundant Grid.row nesting
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix links in README (#624)
Signed-off-by: Ivan Milošević <iva@blokovi.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix ui/Makefile and ui/README.md
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add copyright header to .elm files
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix missing README.md after migration
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix typo
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add install options to README.md
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Rename Url to URL and Id to ID
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
|
2019-03-06 16:21:09 +01:00 |