Commit Graph

225 Commits

Author SHA1 Message Date
leandrofars
1b4c09ae89 chore(socketio): add env file 2023-10-14 14:15:36 -03:00
leandrofars
b261cee228 feat(socketio): get cors allowed origins from env file 2023-10-13 20:29:08 -03:00
leandrofars
3c4829a355 fix(controller): env comment explation 2023-10-13 20:28:09 -03:00
leandrofars
bc3633e20b feat(controller): custom api cors trough env 2023-10-13 19:43:39 -03:00
Leandro Antônio Farias Machado
f866222b8d feat(api): new files organization + fix(api): map lock error 2023-09-04 01:28:16 -03:00
Leandro Antônio Farias Machado
274b0f51b8 feat(controller): get env vars form .env 2023-08-19 11:37:06 -03:00
Leandro Antônio Farias Machado
aab83ce587 feat: create admin if it doesn't exists 2023-07-31 11:07:53 -03:00
Leandro Antônio Farias Machado
fee4cf4690 chore: remove mosquitto useless folder 2023-07-29 10:36:36 -03:00
Leandro Antônio Farias Machado
51acf7569f refactor: mqtt broker mochi import packages + connack packet custom 2023-07-26 11:26:13 -03:00
Leandro Antônio Farias Machado
689e179f04 feat(api): wifi management through api resource 2023-07-03 23:32:45 -03:00
Leandro Antônio Farias Machado
b2c102fcf3 chore(device status): flow of messages and retention change 2023-07-03 20:11:51 -03:00
Leandro Antônio Farias Machado
9924ad50c6 chore(device status): change topic communication to allow retained messages 2023-07-02 15:57:13 -03:00
Leandro Antônio Farias Machado
5f64795225 chore(controller): remove commented code 2023-07-02 15:32:19 -03:00
Leandro Antônio Farias Machado
ca22a3edb0 chore(controller): automatic reconnection to broker 2023-07-02 15:26:12 -03:00
Leandro Antônio Farias Machado
3db57b2d9f chore(mochi): different log levels 2023-07-02 13:17:26 -03:00
Leandro Antônio Farias Machado
a3ef451e5d chore(mochi): device last Will message 2023-07-02 12:56:24 -03:00
Leandro Antônio Farias Machado
ef2c20848a fix(controller): increase api timeout (1) 2023-06-27 04:05:01 -03:00
Leandro Antônio Farias Machado
94b00ab945 chore(controller): increase api timeout 2023-06-27 03:56:03 -03:00
Leandro Antônio Farias Machado
b58b978b5f fix(controller): api request queue memory leak 2023-06-27 02:20:21 -03:00
Leandro Antônio Farias Machado
3c0a6f4a8c feat(mochi): connect to redis with password 2023-06-26 19:51:10 -03:00
Leandro Antônio Farias Machado
6932d6df92 fix(controller): geParameterInstances returning null 2023-06-24 11:32:49 -03:00
Leandro Antônio Farias Machado
1489573f89 chore: fix users returning password at api + GeSupportedDm null return 2023-06-24 11:13:18 -03:00
Leandro Antônio Farias Machado
9765b77e32 chore: remember to fix api methods 2023-06-24 10:02:43 -03:00
Leandro Antônio Farias Machado
13341f2291 feat(controller): GetParameterInstances + Firmware update 2023-06-24 08:57:46 -03:00
Leandro Antônio Farias Machado
e38a2cba9a chore(socketio): request to call another user 2023-06-22 10:58:26 -03:00
Leandro Antônio Farias Machado
4319b58321 chore(socektio): handles connections and disconnections situations 2023-06-22 10:42:42 -03:00
Leandro Antônio Farias Machado
526804c291 feat(socketio): get users online and offline (users status) 2023-06-18 22:25:16 -03:00
Leandro Antônio Farias Machado
b0e8794d94 feat(socketio): new server service structure 2023-06-17 14:18:51 -03:00
Leandro Antônio Farias Machado
8dae5960e7 feat(api): retrieve all users 2023-06-17 14:13:06 -03:00
Leandro Antônio Farias Machado
d4b6e6775a chore(controller): ignore tmp folder 2023-06-16 11:29:58 -03:00
Leandro Antônio Farias Machado
8e57b87378 feat(api): create users with different privileges 2023-06-16 11:28:33 -03:00
Leandro Antônio Farias Machado
57ebbc7c45 chore(controller): show alert on broker disconnection 2023-06-16 00:12:54 -03:00
Leandro Antônio Farias Machado
a0fef6c36e feat: initial socketio server 2023-06-16 00:12:22 -03:00
Leandro Antônio Farias Machado
9f7920b0e2 chore: websocket server (descontinued) - socketio version for golang is deprecated 2023-06-16 00:10:21 -03:00
Leandro Antônio Farias Machado
5da536ed96 feat(api): get supported parameters from device 2023-06-12 20:12:15 -03:00
Leandro Antônio Farias Machado
f9042ea2fc fix(mochi): run tls broker with and without tls simultaneously 2023-06-08 01:21:48 -03:00
Leandro Antônio Farias Machado
5a65fd9dff chore(nginx): create api specific route 2023-06-08 01:21:07 -03:00
Leandro Antônio Farias Machado
1138aaeb26 hotfix(mochi): servers id 2023-06-03 10:13:50 -03:00
Leandro Antônio Farias Machado
78ef20793c fix(mochi): broker to run with and without tls at the same time 2023-05-29 08:04:33 -03:00
Leandro Farias Machado
9f880ea8df Merge remote-tracking branch 'origin/main' 2023-05-28 19:24:03 -03:00
Leandro Farias Machado
bae078b734 feat(mochi): allows broker to run with and without tls at the same time 2023-05-28 19:22:44 -03:00
Leandro Farias Machado
976612057a chore(mqtt): enables mqtt connection over tls 2023-05-25 07:51:43 -03:00
Leandro Farias Machado
75603c6f6f chore(db): controller verifies connection with mongoDB 2023-05-25 07:49:21 -03:00
Leandro Antônio Farias Machado
9bf77a6a8e fix(tls/redis): tls keys misconception + redis condition 2023-05-18 01:10:16 -03:00
Leandro Antônio Farias Machado
307a9692fd chore(gitignore): mochi binary 2023-05-18 01:03:28 -03:00
Leandro Antônio Farias Machado
228fef7d21 chore(security): broker with tls config + cloud env 2023-05-17 23:23:44 -03:00
Leandro Antônio Farias Machado
0661b7cf21 chore(auth): increase jwt expiring time 2023-05-14 19:12:14 -03:00
Leandro Antônio Farias Machado
df51eefe02 chore(api): secret key encrypt + env variables 2023-05-14 10:25:06 -03:00
Leandro Antônio Farias Machado
7fb3f09570 chore(api): cors config dependencies 2023-05-13 12:47:34 -03:00
Leandro Antônio Farias Machado
29292fd98b chore(api): cors config 2023-05-13 12:47:15 -03:00
Leandro Antônio Farias Machado
611b50476d chore: print api run + fix: api "/" route misconception 2023-05-13 10:12:54 -03:00
Leandro Antônio Farias Machado
3a80f01f99 chore(broker): shell script runner for app 2023-05-13 09:34:56 -03:00
Leandro Antônio Farias Machado
e0c307a3f2 fix(api): json pointer decode error 2023-05-13 09:30:01 -03:00
Leandro Antônio Farias Machado
7f1af7ae79 chore: controller package dependencies 2023-05-09 00:43:47 -03:00
Leandro Antônio Farias Machado
bd32661c82 chore(mqtt): tls structure for soon feature 2023-05-09 00:43:03 -03:00
Leandro Antônio Farias Machado
824657ff48 fix(mqtt): assigned client id in user-property 2023-05-09 00:41:04 -03:00
Leandro Antônio Farias Machado
bf000a65c5 chore: page for broker SYS info 2023-05-07 10:55:15 -03:00
Leandro Antônio Farias Machado
09acc57689 chore: add client identifier field 2023-05-07 10:54:31 -03:00
Leandro Antônio Farias Machado
ed8d83b561 chore: change usp-endpoint-id 2023-05-07 10:54:06 -03:00
Leandro Antônio Farias Machado
9fb997d457 chore(api): comment auth register route 2023-05-03 23:32:37 -03:00
Leandro Antônio Farias Machado
bfb2acf0fa feat(api): user jwt authentication 2023-05-02 23:57:00 -03:00
Leandro Antônio Farias Machado
f7833e9dd0 feat(api): add request id in log 2023-04-28 08:40:55 -03:00
Leandro Antônio Farias Machado
2600c1debb feat: api middleware + header content-type as json #5 2023-04-28 08:32:23 -03:00
Leandro Antônio Farias Machado
4c916bdab9 feat: api tr369 SET function for device #5 2023-04-28 08:17:10 -03:00
Leandro Antônio Farias Machado
3bc6fb3d33 feat: add/create + delete api #5 2023-04-27 00:21:57 -03:00
Leandro Antônio Farias Machado
46743ab279 feat: get route for rest api + async queue for translations between sync http and mqtt uncoupled protocol close #31 2023-04-26 01:19:18 -03:00
Leandro Antônio Farias Machado
3f28344ae3 feat: save device status at database + add mqtt persistence at redis #30 2023-04-23 13:27:41 -03:00
Leandro Antônio Farias Machado
7c40982a00 feat: save devices at database 2023-04-20 11:37:20 -03:00
Leandro Antônio Farias Machado
0ff00b9ca1 feat: api structure 2023-04-20 11:36:55 -03:00
Leandro Antônio Farias Machado
83c88e87be feat: api structure 2023-04-20 11:34:48 -03:00
Leandro Antônio Farias Machado
fd25ed1bf9 feat:save devices at database 2023-04-13 09:55:01 -03:00
Leandro Antônio Farias Machado
0aa5ca5413 chore(mochi): change hook from connection to subscription 2023-04-13 09:23:24 -03:00
Leandro Antônio Farias Machado
f816e19f75 feat(controller): send publish to IoT and watch new connections 2023-03-28 11:49:10 -03:00
Leandro Antônio Farias Machado
f10eda9683 feat(mochi): update readme + server hooks 2023-03-28 11:48:08 -03:00
Leandro Antônio Farias Machado
46999043a5 feat(mqtt): change proj structure to services and add mochi broker 2023-03-20 11:19:02 -03:00