Commit Graph

28479 Commits

Author SHA1 Message Date
Neradoc 09915ab0b9 compare all static ok hosts with port, add 127.0.0.1 and localhost to it
use strncmp rather than memcmp, one of the strings coul be smaller than the other
2022-07-24 15:15:10 +02:00
Neradoc 6575598ae6 HTTP headers and methods are not case sensitive
had the issue where Firefox would send "authorization" in lower case
2022-07-24 14:28:01 +02:00
Neradoc 9a6c3884a7 do options unauthenticated first, fix testing localhost 2022-07-24 14:28:01 +02:00
Neradoc 40cb0aac7c CORS preflight: allow OPTIONS without authentication
check for 127.0.0.1 without a port specified
2022-07-24 14:28:01 +02:00
Hosted Weblate 8b22b5a761
Merge remote-tracking branch 'origin/main' 2022-07-24 03:51:19 +02:00
Dan Halbert b303d00bdf
Merge pull request #6637 from jepler/issue-6636
It's OK for an init program to be zero bytes long
2022-07-23 21:51:09 -04:00
Jeff Epler 955bcee1b3
It's OK for an init program to be zero bytes long
Closes #6636
2022-07-23 20:01:31 -05:00
ViktorWiz ae6c0e347c Add WIZNet W5500-EVB-Pico 2022-07-22 17:31:58 +09:00
Jonny Bergdahl 01f6051bc4
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-21 22:15:09 +02:00
Benjamin Shockley dc686545c2
Update pins.c
Minor whitespace change.
2022-07-20 15:40:43 -05:00
Benjamin Shockley e9eeaf2096
Update mpconfigboard.h
Moved UART to pins 24/25.
2022-07-20 12:35:40 -05:00
Benjamin Shockley d01b65dd32
Create pins.c 2022-07-20 12:35:08 -05:00
Benjamin Shockley 3861a97f38
Create pico-sdk-configboard.h 2022-07-20 12:18:22 -05:00
Benjamin Shockley 3647cfa424
Create mpconfigboard.mk 2022-07-20 12:17:39 -05:00
Benjamin Shockley d2865764ca
Create mpconfigboard.h
Added file.
2022-07-20 12:12:31 -05:00
Benjamin Shockley 21af8f42cc
Create board.c 2022-07-20 11:11:49 -05:00
Dan Halbert f2bbe5a6a1
Merge pull request #6614 from litui/litui-espressif-bleiofix
Fixed empty characteristic issue with bleio+nimble.
2022-07-20 08:42:31 -04:00
Dan Halbert 6154686de1
Merge pull request #6620 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-20 08:40:10 -04:00
Hosted Weblate 7b3ac1ce65
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-07-20 01:15:35 +02:00
Hosted Weblate 03dce053e1
Merge remote-tracking branch 'origin/main' 2022-07-20 01:15:33 +02:00
Maxime Leroy 6a2ba17362
Translated using Weblate (French)
Currently translated at 99.5% (991 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-07-20 01:15:33 +02:00
Dan Halbert 9d95fc1603
Merge pull request #6562 from isacben/from_bytes-check-parameters
Check parameters of int.from_bytes
2022-07-19 19:15:19 -04:00
Dan Halbert e877644012 use -Os on Feather ESP32-S3 TFT to shrink build 2022-07-19 17:45:29 -04:00
Dan Halbert bb47484cb1 Merge remote-tracking branch 'adafruit/main' into from_bytes-check-parameters 2022-07-19 17:18:26 -04:00
Dan Halbert 1cdf325c96 shrink Feather ESP32S3 TFT 2022-07-19 16:35:23 -04:00
Dan Halbert a519879c83 Merge branch 'from_bytes-check-parameters' of https://github.com/isacben/circuitpython into from_bytes-check-parameters 2022-07-19 14:09:45 -04:00
Dan Halbert 51f2253cef no Russian font for SAMD21; adjust unix build warnings 2022-07-19 14:07:18 -04:00
Patrick 1e99d68af7 Add Creator ID 2022-07-17 12:38:27 -07:00
Patrick 71c22232f0 board config compelted 2022-07-17 11:48:45 -07:00
Dan Halbert c105ec9135
Merge pull request #6607 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-17 13:29:24 -04:00
Aria Burrell 868a03ff57 Fixed empty characteristic issue with bleio+nimble.
- Based on espressif/nimble's blecent example code. Confirms that the characteristic is not empty before trying to catalogue its descriptors.
- Running ble_gattc_disc_all_dscs on empty (no length) characteristics fails with the (not-very-informative) BLE_HS_EINVAL error if this check is not performed.
2022-07-17 04:50:50 -06:00
foamyguy 541e448100 set the href for edit links in the directory list 2022-07-15 19:56:29 -05:00
foamyguy 584e27139e add back /edit/ handler and specify ES6 quote chars for jsmin 2022-07-15 19:49:03 -05:00
Scott Shawcroft 78b4159448
Allow for dynamic reconfigure including port 2022-07-15 16:33:12 -07:00
Hosted Weblate 290aace0d6
Merge remote-tracking branch 'origin/main' 2022-07-16 01:30:48 +02:00
Jeff Epler 4e6fa55cba
Merge pull request #6591 from tannewt/web_workflow_ticks
Add socket select task to wake CP
2022-07-15 18:30:43 -05:00
foamyguy a46a44db26 adding edit page 2022-07-15 16:25:57 -05:00
Wellington Terumi Uemura d39236b114
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-07-15 23:21:14 +02:00
Scott Shawcroft c2a8ef752c
Remove ps2io to make space 2022-07-15 14:01:50 -07:00
Scott Shawcroft 6e7fdcc24b
Add wait for MDNS hostname to be set 2022-07-15 13:48:19 -07:00
Scott Shawcroft bad080a7bb
Merge pull request #6588 from jepler/signal-errors-ci-fetch-deps
signal errors in ci_fetch_deps subprocesses
2022-07-15 11:17:59 -07:00
Scott Shawcroft 145cce93da
Merge pull request #6596 from Neradoc/ble-name-in-dotenv
Setup default BLE name in dotenv
2022-07-14 15:46:28 -07:00
Scott Shawcroft 02c804c2d8
Merge pull request #6600 from jepler/esp32-soft-reset-wifi
esp32: don't fully reset the wifi device
2022-07-14 15:44:30 -07:00
Jeff Epler 19fad093cb
Merge pull request #6590 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-14 15:20:52 -05:00
Jeff Epler 8cdbeb62f6
Pass check=False for an expected-fail command 2022-07-14 15:16:28 -05:00
Jeff Epler dcc27a8c88
Need to ensure wifi radio is set enabled again on esp32
.. otherwise, nothing set it enabled on the second soft reboot.
2022-07-14 15:09:26 -05:00
Jeff Epler 72f5537027
esp32: don't fully reset the wifi device
.. this makes reconnecting without a full reset not work.

Because this works on other generations of the esp32 (c2, c3, etc),
apply this behavior only to esp32.

After this change, it's possible to connect multiple times to wifi in
different runs of code.py or the repl after soft rebooting.
2022-07-14 15:01:15 -05:00
Neradoc 44a91c12be add docs for dotenv BLE 2022-07-14 20:45:01 +02:00
Hosted Weblate 0e565a7240
Merge remote-tracking branch 'origin/main' 2022-07-14 20:05:22 +02:00
Jonny Bergdahl 49a5e83a61
Translated using Weblate (Swedish)
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-14 20:05:21 +02:00