Commit Graph

  • 00493a6954 Format ruff-only L. Kärkkäinen 2023-10-25 07:34:16 +01:00
  • c8d0c1bf28 Remove extra parenthesis of type unions L. Kärkkäinen 2023-10-25 07:32:01 +01:00
  • 6ea5c44566 Typing issues fixed. L. Kärkkäinen 2023-10-25 07:11:59 +01:00
  • 1afea39cb2 Format with default line-length=88 (was 79 with Sanic). L. Kärkkäinen 2023-10-25 04:13:13 +01:00
  • e4daf1ab21 Removed flake8, black and isort; moving towards ruff default settings instead. L. Kärkkäinen 2023-10-25 04:12:24 +01:00
  • 469cb1663b
    Update sanic/handlers/error.py L. Kärkkäinen 2023-10-25 02:43:54 +00:00
  • cdc5dd6b75
    Hand-fixed typing extra () and changed some formatting to f-strings that Ruff had missed L. Kärkkäinen 2023-10-25 02:36:08 +00:00
  • 6fac60c6fe Two empty lines after imports also in guide L. Kärkkäinen 2023-10-25 03:02:26 +01:00
  • 53b7412c01 String literals and type annotations... L. Kärkkäinen 2023-10-25 02:59:41 +01:00
  • 65ba1942cc Flake8-comprehensions (C4) --fix go brrr L. Kärkkäinen 2023-10-25 02:28:52 +01:00
  • 9adb6e8ec0 Enable pycodestyle warnings (W) and --fix incorrectly escaped strings. L. Kärkkäinen 2023-10-25 02:06:06 +01:00
  • ec35f5f2c8 Fix/ignore all remaining errors. ruff L. Kärkkäinen 2023-10-25 02:03:44 +01:00
  • 9ae25e6744 ruff --fix # also import sorting L. Kärkkäinen 2023-10-25 01:03:35 +01:00
  • 758f10c513 ruff --fix --unsafe-fixes # Tests still A-OK! L. Kärkkäinen 2023-10-25 00:32:27 +01:00
  • 140d27ef96 ruff format L. Kärkkäinen 2023-10-25 00:22:00 +01:00
  • 209840b771 ruff --fix L. Kärkkäinen 2023-10-25 00:21:29 +01:00
  • 20fd58b8d7 Add config for Ruff L. Kärkkäinen 2023-10-25 00:21:09 +01:00
  • 50cec6b41c Add websocket.handler.before/after/exception signals. websocket-signals L. Kärkkäinen 2023-10-20 22:43:31 +01:00
  • 69d493abce Quiet handling and better message on unix socket bind error too. bind_exception L. Kärkkäinen 2023-10-20 12:52:18 +01:00
  • e6c0f3990c Exit with code 1 on quiet startup failures. Still delete unix socket if one exists. L. Kärkkäinen 2023-10-20 12:40:04 +01:00
  • 340fea7da5 Update TLS code to use pathlib. Previously Paths were rejected but now both them and str are accepted. tlspath L. Kärkkäinen 2023-10-19 00:45:52 +01:00
  • b692309c91 Remove the default argument to all uses of getlist in Sanic in case none are found. Previously it defaulted to returning None. Instead return an empty list which is sensible and avoids ambiguity with return types. remove-getlist-fallback L. Kärkkäinen 2023-10-14 20:22:28 +01:00
  • a202435283 Skip empty cookie records. Add tests. bare-cookies L. Kärkkäinen 2023-10-14 20:03:43 +01:00
  • 6d433af406
    Accept bare cookies L. Kärkkäinen 2023-10-14 18:27:26 +00:00
  • 715388cd0e Simplify HTTP/3. Remove chunked encoding and excessive logging. h3-cleanup L. Kärkkäinen 2023-09-20 21:18:35 +01:00
  • 8027563144 Remove unused import response-entity L. Kärkkäinen 2023-09-20 20:11:45 +01:00
  • 875e921bda Do not strip entity-headers. L. Kärkkäinen 2023-09-20 19:59:35 +01:00
  • 11c841ab4e Add test for issue #2823 L. Kärkkäinen 2023-09-20 19:58:44 +01:00
  • 8ad0a153c5
    Add vary header guide-improvements Adam Hopkins 2023-09-18 10:39:45 +03:00
  • 0dd1948fd2
    Add support for listener and signal prioritization priority-listeners Adam Hopkins 2023-09-14 08:43:43 +03:00
  • 86a414fd58
    squash Adam Hopkins 2023-09-13 19:26:36 +03:00
  • 5a7ed4d4fe
    Improvements to documentation Adam Hopkins 2023-09-10 14:29:49 +03:00
  • 81d986a413
    Merge branch 'main' of github.com:sanic-org/sanic into guide-improvements Adam Hopkins 2023-09-10 14:29:09 +03:00
  • a5a9658896
    Refactor test cases to improve unit test quality (#2796) main update-py-3.12 freddiewanah 2023-09-07 22:26:56 +10:00
  • f613818263
    Add mistune (again) guide Adam Hopkins 2023-09-07 10:57:14 +03:00
  • 36ea283b42
    Add missing requirements Adam Hopkins 2023-09-07 10:53:23 +03:00
  • a7766de797
    Add mistune Adam Hopkins 2023-09-07 10:41:31 +03:00
  • b67e31efe8
    Add a docstring to trigger a change Adam Hopkins 2023-09-07 10:38:48 +03:00
  • 7ac4933386
    Add missing requirement Adam Hopkins 2023-09-07 10:30:17 +03:00
  • 91d7e6a77d
    Add PAAS files for webhook deployment Adam Hopkins 2023-09-07 10:20:10 +03:00
  • eb3d78f687
    Fix test_fast when there's only one CPU (#2801) Theodore Ni 2023-09-06 11:26:28 -07:00
  • d255d1aae1
    Conversion of User Guide to the SHH stack (#2781) Adam Hopkins 2023-09-06 15:44:00 +03:00
  • ab19d7b5dd Cleanup. L. Kärkkäinen 2023-09-05 19:38:43 +01:00
  • abdb5cb531 Better diagnostic for permission denied on bind() for low ports. L. Kärkkäinen 2023-09-05 19:28:46 +01:00
  • b9b54a2eda Cleanup crash messages. Handle quiet exceptions quietly. Don't re-raise because that would print the traceback twice. L. Kärkkäinen 2023-09-05 19:28:17 +01:00
  • 0489dd9aaf Use localhost in MOTD URL rather than localhost and wildcard IPs. Omit port number if standard. motd_address L. Kärkkäinen 2023-09-05 19:01:07 +01:00
  • 47215d4635
    Run tests on push as well (#2814) Néstor Pérez 2023-08-30 19:03:22 +02:00
  • dcea7da2e1
    Allow for simple signals simple-signals Adam Hopkins 2023-08-30 12:48:04 +03:00
  • 38ff9069f3
    Suppress task cancel traceback (#2812) Adam Hopkins 2023-08-30 09:05:37 +03:00
  • 4dde4572ec
    Refactor GitHub Actions (#2808) Néstor Pérez 2023-08-29 20:47:40 +02:00
  • e0839fe130
    Cleaner process management smoother-process-management Adam Hopkins 2023-08-29 19:17:50 +03:00
  • 31d14704cb
    Update README (#2810) Néstor Pérez 2023-08-27 17:42:43 +02:00
  • 6a89f4b2fe
    Add constraint for autodocsumm (#2807) Néstor Pérez 2023-08-23 19:47:23 +02:00
  • f3035abfae
    Add changed files to reload trigger listener reloader-event-improve Adam Hopkins 2023-08-23 09:31:27 +03:00
  • 44bf7ba79a
    Cleanup tests motd-fixes Adam Hopkins 2023-08-21 22:54:04 +03:00
  • 9e7ca10c52
    Cleanup tests Adam Hopkins 2023-08-21 21:37:45 +03:00
  • fe32f4eb74
    Fix border character Adam Hopkins 2023-08-21 20:10:47 +03:00
  • ebe29d3d26
    Make pretty Adam Hopkins 2023-08-21 16:40:22 +03:00
  • f651f7436f
    Fix MOTD for extra data Adam Hopkins 2023-08-21 16:37:55 +03:00
  • 16256522f6
    Disable Test PyPI dist Adam Hopkins 2023-07-25 16:13:47 +03:00
  • 205795d1e8
    Prepare for v23.6 release (#2797) v23.6.0 Adam Hopkins 2023-07-25 15:57:29 +03:00
  • 9cbe1fb8ad
    Add convenience method for exception reporting (#2792) Adam Hopkins 2023-07-18 00:21:55 +03:00
  • 31d7ba8f8c
    Add request.client_ip (#2790) L. Kärkkäinen 2023-07-13 21:01:02 +01:00
  • dc3c4d1393
    Add custom typing to config and ctx (#2785) Adam Hopkins 2023-07-12 23:47:58 +03:00
  • 929d270569
    Update bug-report.yml (#2788) Adam Hopkins 2023-07-12 19:00:28 +03:00
  • 93714df051
    Update bug-report.yml (#2787) Adam Hopkins 2023-07-12 18:53:14 +03:00
  • 6e61eab872
    Increase KEEP_ALIVE_TIMEOUT default to 120 seconds (#2670) L. Kärkkäinen 2023-07-12 06:45:30 +01:00
  • fc82b2334b
    Fix JSONResponse default content type (#2738) 22.12LTS Néstor Pérez 2023-07-10 10:57:27 +02:00
  • 6848ff24d8
    Run keep alive tests in loop to get available port (#2779) Adam Hopkins 2023-07-09 22:58:17 +03:00
  • 666371bb92
    Set multiprocessing start method early (#2776) Adam Hopkins 2023-07-09 22:34:15 +03:00
  • 4a2b82e42e
    Remove Python3.7 support (#2777) Adam Hopkins 2023-07-09 22:00:14 +03:00
  • 5dd1623192
    Alow Blueprint routes to explicitly define error_format (#2773) Moshe Nahmias 2023-07-09 14:47:59 +03:00
  • fa864f0bab
    Start and restart arbitrary processes start-restart-manager Adam Hopkins 2023-07-09 13:53:14 +03:00
  • 976da69e79
    Add a new exception signal for ALL exceptions raised anywhere in application (#2724) Adam Hopkins 2023-07-09 10:53:36 +03:00
  • 11a0b15194
    Handle case when headers argument of ResponseStream constructor is None (#2729) Liam Coatman 2023-07-09 08:34:40 +01:00
  • c21999a248
    Resolve headers on different renderers - Issue 2749 (#2774) Adam Hopkins 2023-07-09 09:57:22 +03:00
  • c17230ef94
    Update request type on middleware types (#2754) guacs 2023-07-08 23:35:24 -07:00
  • 049983cb70
    Fix traversals for intended results (#2728) Adam Hopkins 2023-07-09 09:21:39 +03:00
  • e374409567
    Adding allow route overwrite option in blueprint (#2716) Zhiwei 2023-07-07 07:56:42 -04:00
  • 4068a0d83d
    Add name prefixing to BP groups (#2727) Adam Hopkins 2023-07-05 19:31:25 +03:00
  • 70da5e9879
    Fix Inner bug: TypeError: __init__() got an unexpected keyword argument 'escape_forward_slashes' #2740 (#2772) Benjamin 2023-07-05 14:30:38 +02:00
  • f48506d620
    fix #2757 - Improved error messaging on startup time application induced import error (#2770) Moshe Nahmias 2023-07-05 14:38:15 +03:00
  • f2cc83c1ba
    fix examples for freeze_support() issue on windows (#2741) Mohammad Almoghrabi 2023-07-05 13:45:08 +03:00
  • 273825dab6
    Sanic on pypy (#2682) Mohammad Almoghrabi 2023-07-05 12:14:47 +03:00
  • 9a7dafd531
    Unpin setuptools version (#2766) Zhiwei 2023-07-05 04:06:43 -04:00
  • 50117d174c
    Fix issue in getting current request through classmethod when served through a different ASGI server (#2760) Thirumalaisamy K 2023-06-15 00:33:43 +05:30
  • af67801062
    Fix JSONResponse default content type (#2737) Néstor Pérez 2023-04-09 21:23:21 +02:00
  • 6eaab2a7e5
    Release 23.3 (#2723) v23.3.0 current-release Adam Hopkins 2023-03-26 22:54:28 +03:00
  • d680af3709
    v23.3 Deprecation Removal (#2717) Adam Hopkins 2023-03-26 15:24:08 +03:00
  • a8c2d77c91
    Sync state tolerance (#2725) Adam Hopkins 2023-03-26 08:39:59 +03:00
  • 6e1c787e5d
    Simpler CLI targets (#2700) Adam Hopkins 2023-03-21 20:50:25 +02:00
  • 932088e37e
    Stricter charset handling and escaping of request URLs (#2710) L. Kärkkäinen 2023-03-21 17:55:21 +00:00
  • 1a63b9bec0
    Add convenience methods for cookie creation and deletion (#2706) Adam Hopkins 2023-03-21 11:25:35 +02:00
  • 61aa16f6ac
    Decode headers as UTF-8 also in ASGI (#2606) Zhiwei 2023-03-20 09:39:57 -04:00
  • 71cd53b64e
    Standardize init of exceptions (#2545) Adam Hopkins 2023-03-20 14:50:50 +02:00
  • 89188f5fc6
    Add CertLoader as application option (#2722) Adam Hopkins 2023-03-20 14:05:21 +02:00
  • a245ab3773
    Change logging format to %s (#2721) Adam Hopkins 2023-03-20 13:25:06 +02:00
  • ac1f56118a
    Skip middleware on RequestCancelled (#2720) Adam Hopkins 2023-03-20 13:00:34 +02:00
  • 53820bc241
    Allow password to be passed to TLS context (#2719) Adam Hopkins 2023-03-20 12:34:36 +02:00
  • 009954003c
    Fix comparison from wrong formats with datetime objects (#2697) stricaud 2023-03-20 11:12:09 +01:00