Commit Graph

125 Commits

Author SHA1 Message Date
leandrofars
f4a8f42dbe fix(controller): db device operations consistency 2024-02-19 22:07:54 -03:00
leandrofars
921a869ca1 feat(controller): implement transactions in database 2024-02-18 12:08:26 -03:00
leandrofars
8d10205878 feat(controller): create index in database 2024-02-18 12:07:56 -03:00
leandrofars
34d75b65d7 feat(ws): tls server option 2024-02-17 11:16:17 -03:00
leandrofars
4c0da5ab71 feat(controller): connect to websockets via tls 2024-02-17 11:15:32 -03:00
leandrofars
7d1df69a69 feat(ws+controller): basic implementation 2024-02-10 10:04:31 -03:00
leandrofars
f31e5159c9 fix: disable multiple mtps block rule 2024-02-08 14:08:56 -03:00
leandrofars
bab2699f73 docs(controller): add todo statements 2024-02-06 00:19:41 -03:00
leandrofars
1203897646 chore(ws): add config lib depencies + env file 2024-02-06 00:19:05 -03:00
leandrofars
36a6cfc8d2 feat(ws): add gitignore 2024-02-06 00:18:32 -03:00
leandrofars
ef45c5cb0c feat(ws): adequate ws server to use dynamic config 2024-02-06 00:17:56 -03:00
leandrofars
9e549f722f feat(ws): config package to load env and flags 2024-02-06 00:16:35 -03:00
leandrofars
52ed7bfd8d feat(ws): controller endpoint with auth 2024-02-06 00:14:54 -03:00
leandrofars
c94ab348b5 feat: add ws mtp to main code + fix: done channel processes closing 2024-02-05 23:44:12 -03:00
leandrofars
577a50d68b refact: env file organization and comments 2024-02-05 23:42:45 -03:00
leandrofars
acc29c73f8 chore(ws): lib depencies 2024-02-05 23:42:21 -03:00
leandrofars
922de7e81f feat: initial ws client 2024-02-05 23:41:42 -03:00
leandrofars
d9560ec167 reaftor: mtp interface + mqtt disconnection log 2024-02-05 23:29:45 -03:00
leandrofars
ef34e499de feat(ws): create client messages segmentation 2024-02-04 22:56:48 -03:00
leandrofars
778e8f80d7 chore: remove deprecated code 2024-02-04 16:42:02 -03:00
leandrofars
2377b7d68d feeat(ws): establish communication with device 2024-02-04 16:38:36 -03:00
leandrofars
a60f0f0a28 feat: add usp webscokets header 2024-01-18 22:51:08 -03:00
leandrofars
46488fb3d5 chore(mochi): log websockets running info 2024-01-18 22:36:09 -03:00
leandrofars
48e03db960 initial websockets server 2024-01-16 23:45:56 -03:00
leandrofars
5fd6afc8fa chore(api): show online devices first 2024-01-11 19:19:35 -03:00
leandrofars
8f226d09a9 fix(api): device page number 2024-01-11 18:35:28 -03:00
leandrofars
64c256cadb Merge branch 'lost_commits' into dev 2024-01-11 18:11:26 -03:00
leandrofars
318720d9fa feat(controller): add details for devices list 2023-12-24 13:21:21 -03:00
leandrofars
3fa8315d62 fix(controller): list device by id 2023-12-24 11:19:53 -03:00
Leandro Antônio Farias Machado
db2678d8e8
Merge pull request #177 from OktopUSP/dependabot/npm_and_yarn/backend/services/socketio/koa/cors-5.0.0
chore(deps): bump @koa/cors from 4.0.0 to 5.0.0 in /backend/services/socketio
2023-12-23 13:00:50 -03:00
dependabot[bot]
921ae3ea31
chore(deps): bump @koa/cors in /backend/services/socketio
Bumps [@koa/cors](https://github.com/koajs/cors) from 4.0.0 to 5.0.0.
- [Changelog](https://github.com/koajs/cors/blob/master/History.md)
- [Commits](https://github.com/koajs/cors/compare/4.0.0...5.0.0)

---
updated-dependencies:
- dependency-name: "@koa/cors"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 15:59:56 +00:00
leandrofars
4b2dc84015 Merge branch 'dev' into dependabot/go_modules/backend/services/controller/golang.org/x/crypto-0.17.0 2023-12-23 12:59:07 -03:00
dependabot[bot]
c8e0b3ef00
chore(deps): bump golang.org/x/crypto in /backend/services/controller
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 14:59:51 +00:00
leandrofars
376de282f2 fix(security): jwt package 2023-12-23 11:23:20 -03:00
leandrofars
f96ff1d075 fix: info api dynamic broker connection 2023-12-13 09:03:12 -03:00
leandrofars
f26369c236 chore: remove trash log 2023-12-02 11:24:16 -03:00
leandrofars
08ef01bf1f feat(controller): list devices with pagination 2023-11-28 11:59:06 -03:00
leandrofars
8843cd9dab feat(api): dashboard and general info [ close #125 ] 2023-11-01 01:50:12 -03:00
leandrofars
2d9257f21c feat(api): mqtt conn info 2023-10-31 11:26:55 -03:00
leandrofars
e550ff37d1 chore(api): init device multiple mtp connection handlers 2023-10-28 17:18:23 -03:00
leandrofars
6ccd0aa0e8 feat(mtp): stomp server with custom usp spec 2023-10-28 16:00:27 -03:00
leandrofars
64f0d5a088 feat(mtp): stomp server 2023-10-27 01:47:53 -03:00
leandrofars
f6d53f8e73 feat(controller): connect to stomp server 2023-10-27 01:47:04 -03:00
leandrofars
c26cf8ebd0 refact(controller): api cors print info identation 2023-10-25 01:02:01 -03:00
leandrofars
fb25839045 refact(controller): mqtt client 2023-10-25 01:01:24 -03:00
leandrofars
4a5a72c1cc feat(api): firmware update 2023-10-23 23:43:59 -03:00
leandrofars
fa1af141e4 feat: http file server 2023-10-23 23:37:38 -03:00
leandrofars
2556eed53d feat(api): device command execute (operate msg) [ close #135 ] 2023-10-23 20:35:08 -03:00
leandrofars
a07082fb79 refact(api): controller clean code [ close #121 ] 2023-10-23 15:46:26 -03:00
leandrofars
a5592c4d3b fix(security): dependabot alert 2023-10-23 13:16:05 -03:00