Commit Graph

  • 04672f4572 Code formatting plus queue unlocking change Alex Villacís Lasso 2021-01-02 18:06:19 -05:00
  • 1e8d96631d Unlock websocket client before closing on ACK Alex Villacís Lasso 2021-01-02 17:54:39 -05:00
  • 9509bdcd66 Compare task handles instead of opaque undocumented symbols Alex Villacís Lasso 2021-01-02 17:43:33 -05:00
  • a8840bc652 Replace homebrewed smart pointer with std::shared_ptr and std::weak_ptr Alex Villacís Lasso 2020-12-30 19:25:25 -05:00
  • 36cc1ea7ea Add locking around _messageQueue and _controlQueue in AsyncWebSocketClient Alex Villacís Lasso 2020-12-30 18:05:02 -05:00
  • 12b5f4966b Replace one use of LinkedList<T> with std::vector for web request path params Alex Villacís Lasso 2020-12-30 16:02:46 -05:00
  • 8feb6730a8 _controlQueue is now a std::deque Alex Villacís Lasso 2020-12-29 18:49:23 -05:00
  • bf72f5484c Remove unnecessary typedef for websocket client list Alex Villacís Lasso 2020-12-29 18:10:26 -05:00
  • c3e4ca1f92 Replace use of LinkedList<T> with std::list for AsyncWebServer clients Alex Villacís Lasso 2020-12-29 17:43:35 -05:00
  • 380ead2b8f Remove no-longer-used StringArray class Alex Villacís Lasso 2020-12-29 17:28:42 -05:00
  • 7f172eabf6 Replace use of LinkedList<T> with std::list for AsyncWebServerResponse headers Alex Villacís Lasso 2020-12-29 16:49:19 -05:00
  • 7a40df0f95 Wrap cbuf inside AsyncResponseStream with a std::unique_ptr Alex Villacís Lasso 2020-12-29 16:33:09 -05:00
  • 3f7ff64212 Specify default constructors for AsyncWebHeader Alex Villacís Lasso 2020-12-29 15:27:06 -05:00
  • 04049f94c3 Replace use of LinkedList<T> with std::list for request headers Alex Villacís Lasso 2020-12-29 14:15:44 -05:00
  • a20b7540ce Replace use of LinkedList<T> with std::list for shared websocket buffers Alex Villacís Lasso 2020-12-29 12:56:39 -05:00
  • 600e1d123b Merge branch 'ul-gh-fix_884' into yuboxfixes Alex Villacís Lasso 2020-12-23 19:36:53 -05:00
  • d9d8b4d963 Merge branch 'ul-gh-fix_837' into yuboxfixes Alex Villacís Lasso 2020-12-23 19:25:38 -05:00
  • 334959e712 Merge branch 'lorol-master' into yuboxfixes Alex Villacís Lasso 2020-12-23 19:17:12 -05:00
  • e0bb829779 Merge branch 'explicit-close-on-response-finished-pull-try1' into yuboxfixes Alex Villacís Lasso 2020-12-23 19:06:56 -05:00
  • d4bdf996c8 fix #888 omit unnecessary sizeof() for char* Ulrich Lukas 2020-11-18 11:55:28 +01:00
  • 8012f6e9eb Fix #888, AsyncEventSourceMessage::send() Ulrich Lukas 2020-11-16 07:10:08 +01:00
  • dc6e2a31da Remove unused variable; add assertion for failed semaphore creation Ulrich Lukas 2020-11-16 21:35:43 +01:00
  • 344062ae5b Fix #884, protect list concurrent access with mutex Ulrich Lukas 2020-11-16 05:06:21 +01:00
  • 1178428c8f Fix #837 invalidated iterator when removing items from list Ulrich Lukas 2020-11-16 01:59:43 +01:00
  • 6a67b1affd Merge branch 'master' of https://github.com/me-no-dev/ESPAsyncWebServer.git lorol 2020-11-15 14:12:28 -05:00
  • f6fff3f91e URL template match by extension (#751) Viktr 2020-11-15 19:21:19 +02:00
  • f410ba21eb Update gzips lorol 2020-11-13 15:05:21 -05:00
  • e0a4c48710 Merge branch 'master' of https://github.com/lorol/ESPAsyncWebServer.git lorol 2020-11-13 14:03:32 -05:00
  • 2d23ba778f Update lorol 2020-11-07 23:20:58 -05:00
  • 90dd3284dd Merge branch 'master' of https://github.com/me-no-dev/ESPAsyncWebServer.git lorol 2020-11-06 14:23:41 -05:00
  • a849e20ebe Refresh lorol 2020-11-06 14:19:41 -05:00
  • 241aca38a0 Fix authentication for callback web handlers Me No Dev 2020-11-05 20:54:31 +02:00
  • 35ef3ad842 Bugfix - my additions. lorol 2020-10-25 22:11:22 -04:00
  • b16a9c29d9 Added json mode and worker to editor Example - updates lorol 2020-10-13 10:34:29 -04:00
  • 00b4fba849 Update README.md lorol 2020-09-24 15:19:15 -04:00
  • 1ce5cabfeb A logic bugfix of SmartSwitch.ino sketch. Reverting the PR idea of ACE editor' supporting fles to be moved to sf data/extras subfolder, moved back to root fs. (workers didn't work this way) edit.htm can be binary-embedded in a firmware or a in gzipped file on fs (saves 4k of program storage, RAM usage is identical) To embed: Comment #define EDFS in SPIFFSEditor.cpp and run do_emb.bat On fs: Enable #define EDFS in SPIFFSEditor.cpp and run do_ed_fs.bat lorol 2020-09-23 14:40:34 -04:00
  • 3cf93d705f Merge pull request #1 from DmytroKorniienko/master lorol 2020-09-20 17:21:17 +03:00
  • fa232d50fe _onAck small fix Dmytro Korniienko 2020-09-12 21:00:34 +03:00
  • 96b25b3f20 extra script :) Dmytro Korniienko 2020-09-12 20:05:39 +03:00
  • 1ec044ba42 /edit moved to FS Dmytro Korniienko 2020-09-12 20:01:52 +03:00
  • 848a929e55 Manual merge from anton-zolotarev:master Dmytro Korniienko 2020-09-12 14:40:39 +03:00
  • 737a3567b7 Manually merged changes from BlueAndy fork Minor updates of my custom stuff lorol 2020-09-03 11:26:49 -04:00
  • 3a406f804e Explicitly close socket after response has entered finished state Alex Villacís Lasso 2020-08-25 11:48:00 -05:00
  • d803e12980 In SPIFFSEditor.h Prevented a warning that SPIFFS has been deprecated on esp32 In WebHandlers.cpp A difference between SPIFFS and LITTLEFS of opendir() response in file.open() of FS vfs_api.cpp has been resolved. lorol 2020-08-19 14:22:06 -04:00
  • c61f2d8d02 Tests OK with esp32s2 Arduino core lorol 2020-07-30 09:24:21 -04:00
  • 30df4976dd Limit the max open files on fat variant, takes a lot of RAM otherwise (10 are default) Added missing icon lorol 2020-07-11 18:54:39 -04:00
  • 1f3541b1dd Updates to test ffat partition alternative on esp32, see https://github.com/lorol/arduino-esp32fatfs-plugin examples/ESP_AsyncFSBrowser examples/SmartSwitch updated ACE editor js. css. gz components in example's /data folder (they are used by SPIFFSEditor) lorol 2020-07-10 07:53:21 -04:00
  • 0823e9d940 Minor corrections lorol 2020-07-03 18:29:55 -04:00
  • ea80883726 In src/SPIFFSEditor.cpp: lorol 2020-07-03 16:47:21 -04:00
  • 0b6b4ca3dd lorol 2020-06-29 10:31:31 -04:00
  • a67ba33153 Minor modification of app index.htm for better outlook on Chrome browser. Tested with LITTLEFS. Refreshed & checked if everything else still works. lorol 2020-06-22 15:09:21 -04:00
  • efe7618b5b Fixes lorol 2020-06-19 20:03:02 -04:00
  • 0de5612160 Minor modification of edit.htm, which is embedded in SPIFFSEditor - allow to "download" with more file types by right-click on file tree. Tested LITTLEFS compatibility lorol 2020-06-18 13:31:25 -04:00
  • abb9d79045 LittleFS, on ESP32, too. see my library and tool plus the core conversation: lorol 2020-06-17 13:12:16 -04:00
  • 0ca699fa53 LittleFS can be used (a choice for ESP8266 for now) - To make and upload FS https://github.com/earlephilhower/arduino-esp8266littlefs-plugin - Simply redefine SPIFFS to LittleFS Changes are in src/SPIFFSEditor.cpp including the src/edit.htm See ESP_AsyncFSBrowser and SmartSwitch examples lorol 2020-06-05 07:40:37 -04:00
  • 10a23dfcc7 Updated the Readme.md files in this fork (used Mark Text editor) Cookie auth with Xtea encrypting, see SmartSwitch.ino example Tested on ESP8266 and ESP32 with better built-in LED handling Minor updates and improvements of js / html packed files. lorol 2020-05-27 11:51:06 -04:00
  • 44b27dc61f Logoff Cookie Authentication in the example lorol 2020-05-09 20:05:23 -04:00
  • 2aa029bc40 Cookie Authentication including WS part taken from ayushsharma82 ideas https://github.com/me-no-dev/ESPAsyncWebServer/pull/684 For Websocket added: void handleHandshake(AwsHandshakeHandler handler) For EventSource added: void authorizeConnect(ArAuthorizeConnectHandler cb); lorol 2020-05-09 16:55:57 -04:00
  • 7dbe1150dc Added ext-searchbox (Ctrl+F) search/replace functionality and -workers (live syntax checkers) to the ace editor - a standalone hack. if you don't need worker(s), modify line #446 of edit.htm .setUseWorker(!0) to (!1) (true to false) repack by do.bat and modify update_ace.bat Changes of src/WebAuthentication.cpp and minor updates of my SmartSwitch example lorol 2020-05-04 13:04:18 -04:00
  • 902077553f Applied memory optimizations from sascha432 Updated my additions lorol 2020-04-28 16:36:40 -04:00
  • da8e271b86 Added another tool to update acefull.js.gz from sources in addition to tools for embedding of edit.htm file Changed flags in do.bat to less aggressive edit.htm minifying w/o "Remove space between attributes" See: extras/update_ace.bat Updated examples/SmartSwitch/data/acefull.js.gz Updated Readme lorol 2020-04-03 16:29:02 -04:00
  • 525a0f1e50 Added tool to help embedding htm file to code with one click See in /extras + improvement of rehg.c / exe and typo corrections in Readme lorol 2020-04-01 12:33:56 -04:00
  • f0987eb9ae Added tool to help embedding htm file to code with one click See in /extras lorol 2020-03-31 23:38:33 -04:00
  • 454306982b - fixed index.html to be minifyable - added index.min.htm.gz lorol 2020-03-26 16:30:43 -04:00
  • b7b70936b7 - fix more problems caused by html editor code minifying before embedding as gz->C-values to SPIFFSEditor.cpp. - This time, used online http://beautifytools.com/html-minifier.php with default settings. Hope is OK. - This is (very ugly) workaround at server-side SPIFFSEditor.cpp (and edit.htm source) for old iOS 9 Safari browsers to save current file through ACE editor w/o file upload allowed natively by the browser. Side effect: the line endings are always Win style after saving due to application/x-www-form-urlencoded enforcement of FormData JS lorol 2020-03-25 17:26:31 -04:00
  • 575d79e92a - fix a missing ';' in index.htm (found after code minifying test) - A (very ugly) workaround at server-side SPIFFSEditor.cpp (and edit.htm source) for old iOS 9 Safari browsers to save current file through ACE editor w/o file upload allowed natively by the browser. Side effect: the line endings are always Win style after saving due to application/x-www-form-urlencoded enforcement of FormData JS lorol 2020-03-25 14:10:56 -04:00
  • d640bd165a Update ace lorol 2020-03-14 17:27:35 -04:00
  • 938f2e81be lorol 2020-03-14 15:08:13 -04:00
  • f610c72612 JS improvisations ... lorol 2020-03-13 23:41:33 -04:00
  • cc3c589133 lorol 2020-03-12 21:42:13 -04:00
  • b541718588 Bugfix lorol 2020-03-12 13:04:59 -04:00
  • add0f30773 remove file (not needed) lorol 2020-03-12 10:48:38 -04:00
  • cda9ae65c8 Added an authentication define to SmartSwitch.ino to be able to activate on all static pages. Same credentials as the /edit lorol 2020-03-12 10:32:06 -04:00
  • 7d648b45a2 Added notes and screenshots to README.md ESPAsyncWiFiManager (alanswx port) tested Tested choices of ESPAsyncDNSServer and standard DNSServer lorol 2020-03-12 07:46:16 -04:00
  • 3860983960 lorol 2020-03-11 23:50:27 -04:00
  • ab9267b071 Update README.md lorol 2020-03-11 23:49:21 -04:00
  • 37273f9740 Added example info lorol 2020-03-11 23:45:04 -04:00
  • 406f21c5dd Applied important changes of other forks after master ESPAsyncWebServer release (at the moment) - fixes - SPIFFSEditor is changed to be standalone - works with acefull.js.gz, see the example Added a real SmartSwitch application to examples lorol 2020-03-11 23:21:50 -04:00
  • f13685ee97 AsyncEvents/ServerSideEvents: prevent internal DOS by prevent overflowing messageQueue (#621) Arjan Filius 2019-10-17 09:05:13 +02:00
  • a84f16989a Make regex a define exclusive (#617) Bob 2019-10-14 22:06:38 +02:00
  • f3ebe2dea9 Remove warnings for unused params (#620) Develo 2019-10-14 05:30:06 -03:00
  • 75acf88d5f Add support for Content-Type with charset (#561) Bob 2019-10-06 10:11:51 +02:00
  • 6a1fb03fc4 Fixes #614 with incorrect regex in the example sketch (#615) frippe75 2019-10-06 10:08:59 +02:00
  • 83f6b96958 Update install-arduino-ide.sh me-no-dev 2019-10-02 20:02:39 +03:00
  • 01019542c2 Add methods to determine Average Queue length (#509) Phil Bowles 2019-10-02 14:33:18 +02:00
  • 4a34b46cc0 make the query parameters available by passing the request to WS_EVT_CONNECT (#559) SharkSharp 2019-10-02 08:16:35 -04:00
  • e1be51fc8f Set theme jekyll-theme-cayman Me No Dev 2019-10-02 14:57:20 +03:00
  • b9c4170528 Update README.md Me No Dev 2019-10-02 14:55:37 +03:00
  • d1747e530f Set theme jekyll-theme-hacker Me No Dev 2019-10-02 14:49:18 +03:00
  • 6a4e2f5329 Support route parameters with regex patterns (#560) Bob 2019-10-02 13:37:55 +02:00
  • 403752a942 Added method to access clients of AsyncWebSocket (#583) sascha lammers 2019-10-02 04:16:43 -07:00
  • 8451c0d0e7 Add CMakeLists.txt file for ESP-IDF (#603) Robert Alfaro 2019-10-02 04:06:04 -07:00
  • c7ece88eac Update AsyncJson.h (#604) Mike Dunston 2019-10-02 03:27:29 -07:00
  • 7b1a3d238b added dependency for PlatformIO ldf_mode off (#605) Marcus Klein 2019-10-02 11:33:46 +02:00
  • e88fc12de8 Make PrettyAsyncJsonResponse to use maxJsonBufferSize for ArduinoJson 6 (#607) CODeRUS 2019-10-02 12:26:01 +03:00
  • 7949d83e91 bump version me-no-dev 2019-10-02 12:09:21 +03:00
  • 14798d0e6a build fixes me-no-dev 2019-10-02 11:41:16 +03:00
  • a19c32bba3 Simpler pio install me-no-dev 2019-10-02 10:47:32 +03:00
  • 3c6f5f914c Ci update (#610) Me No Dev 2019-10-02 10:32:15 +03:00
  • 2f37037029 Add function so that the total number of web-socket clients can be limited (#591) matt123p 2019-09-24 20:42:40 +01:00