103 Commits

Author SHA1 Message Date
robert
b973187960 Use separate cookies for HTTP and HTTPS connections 2024-11-12 03:46:11 -05:00
Sergio R. Caprile
9b99f62311 Refactor OTA API 2024-10-24 19:08:06 -03:00
Sergey Lyubka
22de1dc0f2 Add mg_now() to sntp.c 2024-06-09 07:52:25 +01:00
Sergio R. Caprile
ef61d6ea48 remove http_match_uri() 2024-04-17 16:13:10 -03:00
Sergey Lyubka
e0e599ffa1 Fix #2612 - struct mg_str::ptr -> buf 2024-04-16 22:42:45 +01:00
Sergio R. Caprile
1d5b5296da no screenshots 2024-04-02 16:37:14 -03:00
Sergey Lyubka
0e2f3de154 Change mg_file_read() signature: return mg_str 2024-02-16 12:07:35 +00:00
Sergio R. Caprile
deca1aaf46 remove fn_data from event handler signature 2024-01-09 14:51:19 -03:00
Sergio R. Caprile
abab569778 default again to current doc defaults 2023-12-20 18:13:09 -03:00
Sergey Lyubka
a0e66fb9e6 Add built-in TLS 1.3 stack: server side, EC support 2023-12-20 11:04:31 +00:00
Sergey Lyubka
33aa021e96 Allow to bypass CSS rebuild 2023-12-16 20:39:29 +00:00
Sergey Lyubka
1c78ed1fed Prevent main.css rebuild 2023-12-16 20:19:21 +00:00
Sergey Lyubka
562c318648 Recreate packed fs 2023-12-16 20:11:59 +00:00
Sergey Lyubka
bbd27a0a9c MQTT dashboard nitpicks 2023-12-16 19:57:18 +00:00
Sergey Lyubka
5ee8552e6c
Merge pull request #2472 from cesanta/mqtt-dashboard
Added MQTT Dashboard
2023-11-14 12:34:03 +00:00
robert
b0eb7b6dec Added MQTT Dashboard 2023-11-14 05:52:33 -05:00
Sergio R. Caprile
1032f0ade7 update screenshot and README 2023-11-13 09:55:54 -03:00
cpq
b815e6bc04 Add teensy41 example 2023-11-11 21:22:00 +00:00
cpq
376e5ccaae Single bank OTA 2023-11-02 09:30:55 +00:00
cpq
57fd93eeda Fix ring color 2023-10-01 23:20:42 +01:00
cpq
19cac05747 Enhance components 2023-10-01 23:08:10 +01:00
cpq
fc626bb57f Update pakced fs 2023-09-28 16:27:58 +01:00
cpq
1291839182 Update packed fs 2023-09-28 15:09:34 +01:00
robert
fa54a22aed OTA API refactoring: renamed files and defines 2023-09-26 08:33:39 -04:00
cpq
b37efbe891 Commonise flash-based OTA. Add h7 support. 2023-09-24 21:55:49 +01:00
cpq
3f0366a514 Revert to the old TLS API, but keep certs as mg_str for DER 2023-09-19 11:15:23 +01:00
cpq
2f014237b2 Add OTA to the device dashboard. Implement for H5 2023-09-04 22:07:32 +01:00
cpq
b32d1c15f0 Store certs in certs/. Add mg_unpacked() 2023-08-20 23:43:04 +01:00
Sergio R. Caprile
face6c44c6 SAME54 Ethernet driver
Add tls_builtin.c
2023-08-10 18:59:23 -03:00
Sergio R. Caprile
3721bcc790
Revert "Foo" 2023-08-10 17:48:55 -03:00
cpq
70fc71c6f7 Changes 2023-08-07 06:18:49 -04:00
cpq
0613cc62f4 TLS API refactor 2023-07-25 13:07:28 +01:00
cpq
ea89a4afab Revert "Integration page"
This reverts commit 3415b62d2d46bb2cf132c6495b387c03f910e434.
2023-07-19 18:50:27 +01:00
cpq
3415b62d2d Integration page 2023-07-19 16:25:14 +01:00
cpq
0c7e6b548f Standardise margin 2023-06-30 11:53:34 +01:00
cpq
5d10e9dbee Make paginator bit more compact 2023-06-29 13:33:36 +01:00
robert
427f95337f event table device-dashboard: fixed wrong api call 2023-06-26 10:31:55 -04:00
robert
8f19ee7b97 event table POST request 404 error 2023-06-23 11:35:42 -04:00
robert
c63135ec7f device-dashboard: fixed event table POST request 2023-06-23 08:03:44 -04:00
robert
5c87f2f22c improved device dashboard events table 2023-06-23 07:21:24 -04:00
robert
b7f86ba743 refactored device-dashboard code 2023-06-19 06:28:00 -04:00
cpq
2bab274056 Fix build error 2023-06-16 15:57:18 +01:00
robert
bcc044eb92 implemented event log page for the device dashboard 2023-06-16 04:32:45 -04:00
robert
63ff4ddea0 refactored dashboards 2023-06-08 10:25:59 -04:00
Sergio R. Caprile
6ae59c3711 move dependencies 2023-06-06 14:35:44 -03:00
cpq
59e3b0285a Add TLS=mbedtls option 2023-06-02 09:57:36 +01:00
Sergio R. Caprile
771696fda8 Fix Secure 2023-05-31 09:30:24 -03:00
cpq
bff1462e9e Add config var size check 2023-05-28 17:06:47 +01:00
Sergio R. Caprile
58606e1702 Refactor device-dashboard 2023-05-26 20:45:08 -03:00
cpq
49a9bb5a8b Refactor device-dashboard 2023-05-26 16:20:25 +01:00
Sergio R. Caprile
7d9f76df05 improve TLS behaviour in dashboard 2023-05-25 15:23:45 -03:00
cpq
82faa2e9c9 Make UI independent of URI 2023-05-24 21:02:15 +01:00
Sergio R. Caprile
e4353255ca run pack on Win 2023-05-23 11:02:24 -03:00
Sergio R. Caprile
1908d3200e Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
robert
6c13df1aff MQTT: support for properties feature added 2023-04-23 16:35:50 +03:00
Sergio R. Caprile
cd64bfe84b Remove %H %V %Q %q modifiers 2023-04-14 10:13:22 -03:00
Sergio R. Caprile
ddbfa06bcc update Makefiles and symlinks 2023-02-22 16:38:21 -03:00
Sergio R. Caprile
eb463bbb2b READMEs, golden update collaterals, etc 2023-02-21 12:07:48 -03:00
Sergio R. Caprile
700fc64383 update devdash README 2023-02-17 10:40:53 -03:00
Sergio R. Caprile
ca256b9949 Win friendly #2047 2023-02-17 10:40:53 -03:00
Sergio R. Caprile
824763aae9 standardize 2023-02-15 18:04:48 -03:00
Sergio R. Caprile
9ec064f9d9 symlinks 2023-02-15 15:22:46 -03:00
cpq
fbaaf89a21 Update screenshot 2023-02-09 22:47:48 +00:00
cpq
7625a0154e Using webp for screenshots 2023-02-09 22:41:49 +00:00
cpq
1993e9c65b Use CMSIS headers for f429 and f746 baremetal examples 2023-02-06 15:00:09 +00:00
cpq
052b40680d Add TLS to pico-w5500 baremetal example 2023-01-30 21:30:10 +00:00
cpq
e967feb091 Cleanup, adopt for HW test 2023-01-20 18:46:19 +00:00
Sergey Lyubka
d70ab3cfa8
Merge pull request #1944 from cesanta/devdash
Add reduced functionality version
2023-01-10 12:31:03 +00:00
cpq
da5e8e9778 Rename struct mg_connection::label -> data. Make its size configurable 2023-01-10 08:19:49 +00:00
Sergio R. Caprile
6791a36d85 Add reduced functionality version 2022-12-27 18:12:55 -03:00
Sergio R. Caprile
6f3bdc5dca Remove some warnings 2022-11-07 15:23:47 -03:00
cpq
c25234df83 Better MIP description 2022-10-27 08:12:22 +01:00
Sergio R. Caprile
e7cb82175a rename time() to ourtime() 2022-10-04 19:27:38 -03:00
cpq
124ac12150 Add mbedtls support to MIP 2022-09-09 15:53:42 +01:00
cpq
06ab83dca6 Implement keep-alive, 45 sec interval. Correct ACK piggyback 2022-09-08 08:50:42 +01:00
cpq
dcdeffff9a MIP refactor: use mg_hton*, move driver_data to ifp, parametrise f746 PLL setup 2022-08-27 16:45:31 +01:00
cpq
f474a31484 Rebuild packed_fs.c 2022-08-26 14:21:33 +01:00
cpq
e9ec2c5304 Add TLS support to MQTT 2022-08-26 14:20:54 +01:00
Sergio R. Caprile
3d3f6e09b6 Fix SameSite cookie value 2022-08-26 10:17:49 -03:00
cpq
9c3c4a6f4b MIP client 2022-08-20 00:03:15 +01:00
cpq
de10e340b6 Update examples to use mg_http_reply 2022-08-13 14:52:10 +01:00
cpq
2ba3630de9 Remove dangerous mg_pfn_realloc(). Add %q printf specifier 2022-08-10 18:27:58 +01:00
Gisle Vanem
96df718304
Fix empty initializer
MSVC does not like such empty initializer:
  xamples/device-dashboard/net.c(116): error C2059: syntax error: '}'
2022-08-05 13:50:55 +02:00
Sergio R. Caprile
d88e438679 default to using packed fs, otherwise hw examples won't work 2022-08-02 16:06:19 -03:00
Sergey Lyubka
a468f58128 Use int debug level 2022-08-01 11:19:32 +01:00
Sergey Lyubka
0dabc45780 Add RPC API 2022-07-27 00:46:05 +01:00
Sergey Lyubka
017c7290d6 Better error handling - report from iotest 2022-06-29 17:02:37 +01:00
Sergio R. Caprile
6597830631 fixed watch() not being called after login 2022-06-28 10:26:32 -03:00
Sergey Lyubka
d65ce3b596 Add mg_rprintf, mg_vrprintf 2022-06-28 00:45:52 +01:00
Sergio R. Caprile
dcfb014d1f updated and cleaned up texts 2022-06-23 15:33:31 -03:00
Sergey Lyubka
cff208c5a9 Introduce %Q format specifier, rework device dashboard 2022-06-08 21:44:01 +01:00
Sergey Lyubka
ac3151f871 Make dashboard more robust 2022-06-08 19:53:29 +01:00
Sergey Lyubka
628a007112 Refresh packed filesystems 2022-06-08 13:22:09 +01:00
Sergey Lyubka
9f8424e93f Update readme 2022-06-08 09:06:14 +01:00
Sergey Lyubka
e75afcba42 Update dash UI 2022-06-05 17:17:19 +01:00
Sergey Lyubka
31c7d66245 Rework dashboard 2022-06-05 14:59:59 +01:00
Sergey Lyubka
219428c249 Change device dashboard to use MQTT 2022-06-04 22:21:59 +01:00
Sergey Lyubka
69082db381 Regenerated packed fs 2022-05-25 11:15:00 +01:00
Sergey Lyubka
c2d2d085cd Add chart example 2022-05-23 15:27:19 +01:00
Sergey Lyubka
7e2ca72310 Remove mg_log_set_callback. Use MG_PUTCHAR macro instead 2022-05-20 09:45:17 +01:00