Drasko DRASKOVIC
b8ac6ca2bf
Fix subtopic handling in VerneMQ ( #962 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-11-24 18:21:00 +01:00
Nick Neisen
76908d7c8b
MF-898 - Add bulk connect to CLI and SDK ( #956 )
...
* Add bulk connect to CLI and SDK
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add test for bulk connect
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update docs
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add file example
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add JSON example to CLI docs
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change some value datatypes back
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Use constants for file extensions
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-11-21 12:29:37 +01:00
Ivan Milošević
0ab627730f
MF-538 - Improve logging and API errors ( #866 )
...
* user service - wraping errors
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* wrapping more errors
unwrap only wrapped errors
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add internal database error
Wrap internal database error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Wrap user not found error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Wrapping errors in idp and hasher
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Use error.Is for testing errors in Identify test
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Get wraper from wrapped errors
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Switch order of wrapping errors
Remove dead code (comments)
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* assert true in tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Change comparing errors in tests (assert.True)
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add errorRes structure to API responses in body in things service
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* resolve conflicts after rebasing
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Create errors package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* implement new errors package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Modify tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* return copyright comments
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove changes from .gitignore
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Move logging to encode errors
Comment exported vars and methods
Formatting
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Login function returns errors.Error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Modify login tests to meet login returning errors.Error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Error interface
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Change parameter in Wrapper to interface Error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* implement new error interface
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Modify tests to use new Error interface
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Fix Login
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove unnecessary errir casting
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* new error interface implementation
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* check if Error is empty in registrationEndpoint
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add Empty factory function
Use new Empty factory function
Use isEmpty method
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Lose else in encodeError
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Modify tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove *json.UnmarshalTypeError and *json.SyntaxError types from encodeError type switch
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Fix nil error value in jwtIdentityProvider
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Fix gprc to use new error package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* rename receiver in errors package
grpc errors
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove debugging code
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Resolving conflicts after rebase
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove comment
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove Empty from custom error
Implement custom error on new methods
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* WIP tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove wrap from Error interface
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* password-change related tests
remove debug code
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove dead code
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Move all errors casting to errors package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Fix comment in error package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Change struct pointer to interface in package methods
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* resolving reviews
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix return in database.go
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Fix copyright header
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Fix comment in hasher
Signed-off-by: Ivan Milošević <iva@blokovi.com>
2019-11-20 14:43:41 +01:00
Manuel Imperiale
1b427f4396
NOISSUE - Fix Update User ( #959 )
...
* NOISSUE - Fix Update User
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm duplicated test
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-20 14:03:17 +01:00
Manuel Imperiale
52c4d4a824
NOISSUE - Fix make dockers ( #957 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-20 09:24:58 +01:00
Nick Neisen
ced90b21a4
Add dev_ back to make dockers_dev ( #955 )
...
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-11-19 17:21:13 +01:00
Manuel Imperiale
ac3ff5221a
NOISSUE - Remove Elm UI ( #953 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-19 09:31:41 +01:00
Mirko Teodorovic
5e35cbe06b
NOISSUE - Fix docs ( #952 )
...
* fix missing timeout
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd tools readme.md
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd tools readme.md
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add mising Referer header required for pass reset request
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-11-16 16:20:29 +01:00
Nick Neisen
894e1b83ec
MF-898 - Add bulk connections endpoint ( #948 )
...
* Change connect endpoint to use bulk connections
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Add documentation for bulk connect
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Update service and postgres for multiple channels
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update bulk connect endpoint
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Fix missed test
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Improve test code coverage
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change methods to use shared data type
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Fix provisioning example
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change depreciation messages to specify v1.0.0
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Switch singluar log to plural
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-11-15 18:44:31 +01:00
Manuel Imperiale
afeec81a5e
MF-916 - Fix Things and Channels counters ( #947 )
...
* MF-916 - Fix Things and Channels counters
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use NamedQueryContext to count rows
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Create single helper total() func
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm useless LOWER
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert previous commit
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-13 15:26:57 +01:00
Nick Neisen
67d518821a
MF-898 - Change thing's service to use bulk connect ( #946 )
...
* Change thing's service to use bulk connect
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Move owner check outside of loop
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change invalid user to unauthorized access error
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-11-12 01:24:29 +01:00
Nick Neisen
5446d88abf
MF-898 - Add transactions to postgres connect ( #940 )
...
* Add transactions to postgres connect
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change to use shorthand notation
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-11-11 14:22:30 +01:00
Mirko Teodorovic
9e8dd4b149
MF-942 - Fix email template logic ( #944 )
...
* fix email template
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename resetPasswEmail.tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env var
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename resetPasswEmail.tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename resetPasswEmail.tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove not needed file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move email tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move email tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move email tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* variable for tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix ident and caps
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-11-11 12:13:48 +01:00
Mirko Teodorovic
e735e5c01b
add missing user service tests ( #945 )
...
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-11-10 02:47:14 +01:00
Manuel Imperiale
841b943718
NOISSUE - Fix HTTP header for Things and Channels creation ( #939 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-07 13:57:47 +01:00
Manuel Imperiale
3bfdcfe83c
NOISSUE - Fix docker ui image name ( #938 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-06 13:44:58 +01:00
Dušan Borovčanin
66f2332674
Remove Normalizer service from compose ( #937 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-11-05 12:34:36 +01:00
Dušan Borovčanin
f50335ab33
MF-919 - Mainflux message updates ( #924 )
...
* Remove RawMessage
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove Normalizer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Replace normalizer with senml-transformer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename Transformer interface and package
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove SenML transformer service
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove SenML Protobuf support
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix readers
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix writers tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Refactor tests and remove normalizer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Reanme Service interface to Transformer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use msg instead of rawmsg
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove rawMsg from Aedes code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix VerneMQ files
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove RawMessage code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix missing subtopic return
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove remaining RawMessage reference
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix formatting
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix readers and writers tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename SenML transformer variables
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix readers and writers tests constants
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-11-05 11:57:16 +01:00
Manuel Imperiale
d7dc836714
NOISSUE - Fix lora-adapter ( #936 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-05 11:49:39 +01:00
Manuel Imperiale
887542aab3
NOISSUE - Fix lora creation events ( #933 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-11-05 10:23:30 +01:00
Drasko DRASKOVIC
1d2c8b25a1
NOISSUE - Remove ARM multi-arch images ( #929 )
...
* emove ARM multi-arch
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix tabs
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Remove arch tagging
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix MQTT build
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-11-05 10:12:49 +01:00
Nick Neisen
1a31ecd044
MF-906 - Change single creation endpoints to use bulk service calls ( #927 )
...
* Change single endpoints to use bulk creation
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Remove single creation from thing's service
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Remove single save from thing's postgres
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change BulkSave to Save
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change service calls to use variadic parameters
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change postgres things to use variadic functions
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add depreciation warnings
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-11-04 21:14:17 +01:00
Manuel Imperiale
28a176ac1d
MF-922 - Add UpdateUser endpoint ( #923 )
...
* MF-922 - Add User Update endpoint
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert Update function
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix Things swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* update Things swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix users swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix mocks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix method name
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use User instead of metadata
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-31 16:36:19 +01:00
Dušan Borovčanin
8be2516321
MF-780 - Use Normalizer as a lib ( #915 )
...
* Use Normalizer as a lib
To normalize messages on the consumer side, Normalizer is moved
to the internal pkgs. Writers being message consumers are modified to
do message normalization instead of subscribing to normalized messages
subject.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix logging middleware for readers and writers
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove normalizer interface
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use Normalizer in writers
As we agreed on #919 , we'll use normalizer as an interface and provide
the default SenML implementation. Because of that, Normalizer is removed
from `internal` and we'll use the project structure proposed in the
aforementioned issue.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove unused batch settings from influxDB reader
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Move Normalizer service to `addons`.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename channels input topic
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update Noramlizer docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove commented code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update readers logging
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update addons docker-compose files
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update topcis explanations
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-31 14:04:47 +01:00
Drasko DRASKOVIC
380af878d2
Fix doc for ENV vars in README ( #920 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-29 21:28:59 +01:00
Drasko DRASKOVIC
da4fc62440
NOISSUE - Switch to grpcbox for VerneMQ ( #914 )
...
* Switch to grpcbox
Use grpcbox as a gRPC client library, because
it is much better maintained.
Shows good performance and generation of protobuf
files is simple and automatic.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix typo
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-29 20:35:09 +01:00
Nick Neisen
426813cec4
Change channels to chs ( #918 )
...
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-29 19:06:48 +01:00
Nick Neisen
8f3dff837b
MF-484 - Add bulk provisioning for things and channels ( #889 )
...
* Add provisioning to postgres
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add provisioning to things and channels service
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add JSON provisioning endpoint to things API
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add provisioning to SDK and CLI
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update docs
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Remove response location and adjust channelsFromFile
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change naming from 'provison' to 'bulkCreate'
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add gocsv to vendors folder
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update "bulk" naming
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Move CSV to CLI and remove gocsv dependancy
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update docs and responses
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change AddThings to be CreateThings
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Improve test coverage
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Fixes after review
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-29 12:59:54 +01:00
Nick Neisen
5f5d7e4cfa
MF-899 - Update README and official docs ( #910 )
...
* Update root README.md
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Update official documents
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Move docker template version location
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Move template to dev guide and remove bold
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Remove double spaces after periods
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Change repo to repository
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-29 10:22:41 +01:00
Manuel Imperiale
fec058c614
NOISSUE - Fix Redis envars ( #903 )
...
* NOISSUE - Fix Redis envars
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix url
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-28 09:49:34 +01:00
Drasko DRASKOVIC
613e75f7ee
Add disconnect on gen_server terminate() ( #913 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-27 17:57:43 +01:00
Drasko DRASKOVIC
7499f8deea
Fix compilation ( #911 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-26 17:46:23 +02:00
Dušan Borovčanin
02fd492105
Revert "NOISSUE - Make event sourcing optional ( #907 )" ( #909 )
...
This reverts commit d309973a23
.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-25 13:57:41 +02:00
Aleksandar Novaković
d309973a23
NOISSUE - Make event sourcing optional ( #907 )
...
* Add ES flat to the things service
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add env var for optional ES
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-10-25 00:12:31 +02:00
Manuel Imperiale
e45e0ab307
NOISSUE - Fix InfluxDB env vars ( #908 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-24 18:52:53 +02:00
Manuel Imperiale
dea7c67ddb
MF-890 - Add OPC-UA docs ( #904 )
...
* MF-890 - Add OPC-UA docs
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add opcua.md in mkdocs.yml
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-24 09:49:11 +02:00
Dušan Borovčanin
2e664ffe10
Fix Elm version for ARM Docker images ( #905 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-23 18:08:38 +02:00
Dušan Borovčanin
cdf9347b01
NOISSUE - Update Protobuf version ( #902 )
...
* Update Protobuf version
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update gRPC version
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-22 20:33:44 +02:00
Manuel Imperiale
e16a025fba
MF-886 - Add OPC-UA adapter ( #878 )
...
* NOISSUE- Add OPC-UA adapter
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* NOISSUE - Add opc-adapter PoC, docker and vendor
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Convert OPC messages to SenML
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add gopcua package
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* lora-adapter typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add OPC Reader
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update copyright headers
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add opc config
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add all opc envars in the config
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Config typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add route map
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use opcua package instead of opc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix OPCUA typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm MQTT sub
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Move interefaces to root
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix revieews and typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update Gopkg.toml
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add all envars into .env
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-22 17:44:19 +02:00
Dušan Borovčanin
8ab0b08c39
Fix Elm version in Dockerfile ( #901 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-22 17:30:09 +02:00
Mirko Teodorovic
f4f938a730
MF-532 - Password reset ( #873 )
...
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* token and passwd update logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* token and passwd update logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* token and passwd update logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize mailing code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add comments for password reset flow
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add comments for password reset flow
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change struct members to private
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding swagger docs for reset passw
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding swagger docs for reset passw
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix imports and some typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix imports and some typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding swagger docs for reset passw
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change token generation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change token generation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change token generation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize and change token gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize and change token gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize and change token gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint token and mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token env
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token env
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix error reporting
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problmes due merge
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problmes due merge
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add trusted certificates
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add endpoint for password change of currently authenticated user
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env variable for conf reset endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env variable for conf reset endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving some style comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor fixes due to bad merge
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problem with unsigned commits
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problem with unsigned commits
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix call to users.New
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix call to users.New
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename to email.go
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* additional comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* additional comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove debug bin
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add driver conf for mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix failing tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add testify
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token conf
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* configurable email template
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix missing var
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env for email template file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env for email template file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert to master
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove dev container
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fixes, typos, namings
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typo
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* return err from email New()
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change MF_TOKEN_RESET_ENDPOINT
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add and remove env vars
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* separate password logic into two methods Change and Reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove blank line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* dont use camel case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize email template for passw reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize email template for passw reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-10-22 14:53:14 +02:00
Nick Neisen
6687a738ce
MF-785 - Change CanAccess to CanAccessByKey ( #894 )
...
* Change CanAccess to CanAccessByKey for things
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change CanAccess in remaining occurances
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Regenerate generated files
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Generate pb.go files with protoc 3.6.1
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-10-21 23:24:45 +02:00
Manuel Imperiale
1da48afc4c
NOISSUE - fix security doc ( #897 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-21 15:02:21 +02:00
Manuel Imperiale
ddbf172ed5
NOISSUE - Fix typo in docs and README ( #891 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-17 22:15:45 +02:00
Dušan Borovčanin
df2cb80f12
Fix Nginx mTLS configuration ( #885 )
...
Sync mTLS and TLS config logs.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-15 16:39:46 +02:00
Drasko DRASKOVIC
b3ce48aca6
NOISSUE - Add MQTT UserName check on register and InstanceId in Redis ( #884 )
...
* Add InstanceId and verify UserName
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix thingID check (compare with UserName)
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-14 15:09:53 +02:00
Jovan Kostovski
351b04cd2e
Add MQTT troubleshooting section ( #882 )
...
Signed-off-by: Jovan Kostovski <chombium@gmail.com>
2019-10-14 09:18:29 +02:00
Dušan Borovčanin
23b421bdc5
Fix provision tool connect error handling ( #879 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-08 19:31:13 +02:00
Nick Neisen
93d939ea52
MF-875 - Add tracing to official documentation ( #877 )
...
* Tracing docs without example
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Add tracing example using provisioning traces
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add link to Jaeger offical website
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Remove extra http:// from UI URL
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-07 17:49:29 +02:00
Nick Neisen
66487eda42
MF-788 - Remove date and minimize copyright comments ( #876 )
...
* Update copyright comment for go files
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Update copyright in assortment of file types
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Remove missed copyright date
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-07 16:14:47 +02:00