Commit Graph

  • 5f6cc06856 Change a warning message to debug level Remove default values for deprecated websocket parameters Ashley Sommer 2021-09-23 14:12:38 +1000
  • 69f835f8dd Merge branch 'main' of github.com:sanic-org/sanic into running-modes Adam Hopkins 2021-09-18 22:55:00 +0300
  • 13d49b8e1c Further new websockets impl fixes * Update compatibility with Websockets v10 * Track server connection state in a more precise way * Try to handle the shutdown process more gracefully * Add a new end_connection() helper, to use as an alterative to close() or fail_connection() * Kill the auto-close task and keepalive-timeout task when sanic is shutdown * Deprecate WEBSOCKET_READ_LIMIT and WEBSOCKET_WRITE_LIMIT configs, they are not used in this implementation. Ashley Sommer 2021-09-15 17:00:23 +1000
  • aea3538ea1 Another round of work on the new websockets impl * Added websocket_timeout support (matching previous/legacy support) * Lots more comments * Incorporated suggested changes from previous round of review * Changed RuntimeError usage to ServerError * Changed SanicException usage to ServerError * Removed some redundant asserts * Change remaining asserts to ServerErrors * Fixed some timeout handling issues * Fixed websocket.close() handling, and made it more robust * Made auto_close task smarter and more error-resilient * Made fail_connection routine smarter and more error-resilient Ashley Sommer 2021-09-15 15:01:49 +1000
  • b24e914e3f Merge remote-tracking branch 'origin/main' into new_websockets Ashley Sommer 2021-09-15 10:10:22 +1000
  • 404c5f9f9e
    Adds Blueprint Group exception decorator (#2238) Néstor Pérez 2021-09-12 21:02:59 +0200
  • fb7debcc94
    Fix line too long prryplatypus 2021-09-12 18:28:56 +0200
  • 3cb1280e3e
    Added tests prryplatypus 2021-09-12 18:15:57 +0200
  • e4d537d97d
    Add exception decorator prryplatypus 2021-09-12 18:13:21 +0200
  • a937e08ef0
    Add ability to return Falsey but not-None from handlers (#2236) Adam Hopkins 2021-09-12 07:19:26 +0300
  • c72587c887
    Add new CLI options Adam Hopkins 2021-09-12 01:30:46 +0300
  • 15c356c7c1
    Add ability to return Falsey but not-None from handlers Adam Hopkins 2021-09-11 23:36:27 +0300
  • 1eb4b6bde7
    Merge branch 'main' into main Adam Hopkins 2021-09-11 22:00:30 +0300
  • 2436780ea3 Refactored new websockets impl into own modules Incorporated other suggestions made by team Ashley Sommer 2021-09-01 17:12:39 +1000
  • e687517f6c Merge branch 'main' into new_websockets Ashley Sommer 2021-09-01 15:22:05 +1000
  • ef4f058a6c
    Call abort() on sockets after close() to prevent dangling sockets (#2231) Ashley Sommer 2021-09-01 15:14:11 +1000
  • 3b6cb90eca Call abort() on sockets after close() to prevent dangling sockets Ashley Sommer 2021-09-01 11:47:07 +1000
  • 9ffe8e0806
    Merge branch 'main' into main anbuhckr 2021-09-01 09:32:16 +0700
  • cc2082c1df wip, update websockets code to new Sans/IO API Ashley Sommer 2021-09-01 10:44:23 +1000
  • 98785e772a Merge remote-tracking branch 'ashleysommer_github/new_websockets' into new_websockets Ashley Sommer 2021-09-01 10:40:20 +1000
  • 69c5dde9bf
    Blueprint specific exception handlers (#2208) Adam Hopkins 2021-08-31 12:32:51 +0300
  • e6379ead94 Merge remote-tracking branch 'origin/main' into new_websockets Ashley Sommer 2021-08-31 19:07:18 +1000
  • aea8b18b85
    Merge branch 'main' into blueprint-specific-exception-handlers Adam Hopkins 2021-08-31 11:51:51 +0300
  • 945885d501
    Move server.py into its own module (#2230) Adam Hopkins 2021-08-31 11:51:32 +0300
  • 157442cb31
    Merge branch 'main' into blueprint-specific-exception-handlers Adam Hopkins 2021-08-31 11:41:11 +0300
  • 2b2ef62fb8
    Change monkeypatch path on test_logging.py Adam Hopkins 2021-08-31 11:38:21 +0300
  • 8ff86f816e
    Move server.py into its own module Adam Hopkins 2021-08-31 11:17:30 +0300
  • 9d0b54c90d
    Split HttpProtocol parts into base SanicProtocol and HTTPProtocol subclass (#2229) Ashley Sommer 2021-08-31 17:49:58 +1000
  • 1bfb930e22 re-black server.py Ashley Sommer 2021-08-31 16:38:36 +1000
  • dcda4c9b71 lint fixes Ashley Sommer 2021-08-31 16:31:41 +1000
  • 0f9d1cb10b Split HttpProtocol parts into base SanicProtocol and HTTPProtocol subclass. Ashley Sommer 2021-08-31 16:27:23 +1000
  • 2e5c288fea
    Add convenience for annotated handlers (#2225) Adam Hopkins 2021-08-30 20:04:44 +0300
  • c3ba64eb8f
    Add cleanup and resolve OSError relating to test implementation Adam Hopkins 2021-08-30 15:37:33 +0300
  • 264907e2bb
    Cleanup dev cruft Adam Hopkins 2021-08-30 15:30:50 +0300
  • 128568252e
    Cleanup testing Adam Hopkins 2021-08-30 14:34:32 +0300
  • 1960de3dd8 change exception msg anbuhckr 2021-08-30 16:38:00 +0700
  • 7fb4e83689 update anbuhckr 2021-08-30 16:02:50 +0700
  • 8fe997e0b8 Explicit static directive for serving file or dir anbuhckr 2021-08-30 14:49:54 +0700
  • 6e8bda1b3d Explicit static directive for serving file or dir anbuhckr 2021-08-30 14:47:40 +0700
  • 69405ae091
    Update futures.py anbuhckr 2021-08-30 14:24:19 +0700
  • 2e644b8915
    Update routes.py anbuhckr 2021-08-30 14:23:07 +0700
  • b38bf174d7
    Update routes.py anbuhckr 2021-08-30 14:16:13 +0700
  • 2a72e7ae60
    Merge branch 'main' into blueprint-specific-exception-handlers Adam Hopkins 2021-08-30 01:06:39 +0300
  • 8b89385e36
    Add convenience for annotated handlers Adam Hopkins 2021-08-30 00:37:33 +0300
  • 1e33c9493d
    Update routes.py anbuhckr 2021-08-30 00:38:14 +0700
  • de7cd36d85
    Update routes.py anbuhckr 2021-08-29 19:07:35 +0700
  • f32ef20b74
    Accept header parsing (#2200) Adam Hopkins 2021-08-19 21:09:40 +0300
  • b7639829e5
    Limit uvicorn 14 in testing Adam Hopkins 2021-08-19 20:20:03 +0300
  • 80c39702ab
    Add some tests merge conflicts Adam Hopkins 2021-08-18 08:43:08 +0300
  • 3250dd5152
    Merge branch 'main' into blueprint-specific-exception-handlers Adam Hopkins 2021-08-17 19:54:45 +0300
  • 67189dbe92
    Merge branch 'main' of github.com:sanic-org/sanic into accept-header-parsing Adam Hopkins 2021-08-17 19:49:21 +0300
  • 8af773122d
    Merge branch 'main' into release21.9 Adam Hopkins 2021-08-12 23:46:53 +0300
  • 8b880244be
    Beging 21.9 release docs Adam Hopkins 2021-08-12 23:46:24 +0300
  • e2eefaac55
    Copy Blueprints Implementation (#2184) Zhiwei 2021-08-09 17:07:04 -0500
  • f88e873807
    Merge branch 'main' into zhiwei/bp-copy Zhiwei 2021-08-09 15:05:55 -0500
  • cc81895740 Merge branch 'zhiwei/bp-copy' of https://github.com/ChihweiLHBird/sanic into zhiwei/bp-copy Zhiwei Liang 2021-08-09 15:05:18 -0500
  • 0c2d3ec4bf Fix Zhiwei Liang 2021-08-09 15:05:12 -0500
  • e1cfbf0fd9
    Add default messages to SanicExceptions (#2216) Adam Hopkins 2021-08-09 21:14:15 +0300
  • 8588c77842
    Update sanic/blueprints.py Adam Hopkins 2021-08-09 20:58:24 +0300
  • 903de13c97 Add version_prefix override test Zhiwei Liang 2021-08-09 12:24:11 -0500
  • e04cd750c5 Add more attrs check in test cases Zhiwei Liang 2021-08-09 02:57:58 -0500
  • 9089c794fd
    Merge branch 'main' into zhiwei/bp-copy Zhiwei 2021-08-09 02:46:28 -0500
  • 4ebb773e1a Update copy blueprint tests Zhiwei Liang 2021-08-09 02:46:04 -0500
  • 8a2974a3d9
    squash Adam Hopkins 2021-08-08 22:26:35 +0300
  • ee7ca23efb
    Merge branch 'exception-message-defaults' of github.com:sanic-org/sanic into exception-message-defaults Adam Hopkins 2021-08-08 22:25:26 +0300
  • d9158580a5
    Cleaner exception message setting Adam Hopkins 2021-08-08 22:24:50 +0300
  • fe52edd5b8
    Merge branch 'main' into exception-message-defaults Adam Hopkins 2021-08-08 21:44:35 +0300
  • 8bafc1757c
    Merge conflicts Adam Hopkins 2021-08-08 21:43:42 +0300
  • fb41b3e0b2 call reset at the beginning Zhiwei Liang 2021-08-08 13:40:59 -0500
  • e60bcc4da7
    Merge branch 'main' into accept-header-parsing Adam Hopkins 2021-08-08 21:39:09 +0300
  • 08c5689441
    Style: add type hints (#2217) YongChan Cho 2021-08-09 03:37:34 +0900
  • 0ccafbc017
    merge conflict Adam Hopkins 2021-08-08 21:32:53 +0300
  • c5cc99d8ee
    merge conflict Adam Hopkins 2021-08-08 21:27:23 +0300
  • 39ef287b53
    Add some cleaner type annotations Adam Hopkins 2021-08-08 21:24:50 +0300
  • da9711dbb9
    Change as_view typing Adam Hopkins 2021-08-08 17:13:15 +0300
  • b8445f2d17
    add some more types Adam Hopkins 2021-08-08 17:10:27 +0300
  • d06acb0357 style(routes): change type hint ombe 2021-08-08 22:25:40 +0900
  • bbe13aecb1 style(listeners): change type hint ombe 2021-08-08 22:17:27 +0900
  • f9f39a10ec style(routes): change type hint ombe 2021-08-08 22:06:14 +0900
  • 3238aec55a Move reset to the front of copy method. Zhiwei Liang 2021-08-08 04:29:41 -0500
  • d9c4b1aa4f style(views): typing as_view ombe 2021-08-08 17:25:41 +0900
  • db068bb48b style(listeners): typing ombe 2021-08-08 17:24:05 +0900
  • 54822c9e92 style(routes): add_route argument, return typing ombe 2021-08-08 16:41:48 +0900
  • 1022a46dbe Change Exception to SanicException Zhiwei Liang 2021-08-07 16:41:32 -0500
  • 9c8f2c619a
    Fix if statement logic Zhiwei 2021-08-07 16:03:58 -0500
  • 02a0bd145d
    squash Adam Hopkins 2021-08-07 23:40:24 +0300
  • 7e2b8b6f30
    Merge branch 'exception-message-defaults' of github.com:sanic-org/sanic into exception-message-defaults Adam Hopkins 2021-08-07 23:37:07 +0300
  • afb03b2245
    squash Adam Hopkins 2021-08-07 23:36:32 +0300
  • 4c78d8252d
    Merge branch 'main' into accept-header-parsing Adam Hopkins 2021-08-07 23:34:28 +0300
  • b149737b1b
    Merge branch 'main' into exception-message-defaults Adam Hopkins 2021-08-07 23:33:44 +0300
  • 54cee45d06
    Merge branch 'main' into zhiwei/bp-copy Zhiwei 2021-08-07 15:29:37 -0500
  • 4b45863a67
    Add default messages to SanicExceptions Adam Hopkins 2021-08-07 23:29:27 +0300
  • 8dbda247d6
    Fix bug where ws exceptions not being logged (#2213) Adam Hopkins 2021-08-07 23:24:48 +0300
  • 9bea01069b
    Merge branch 'main' into ws-exception-handling Adam Hopkins 2021-08-07 23:09:38 +0300
  • 71a631237d
    Add convenience methods to BP groups (#2209) Adam Hopkins 2021-08-07 23:06:11 +0300
  • f358461702
    Merge branch 'main' into bpgroup-middleware-convenience Adam Hopkins 2021-08-07 22:53:27 +0300
  • 9d77e2cfc8
    Merge branch 'main' into ws-exception-handling Adam Hopkins 2021-08-07 22:45:00 +0300
  • 744304c336
    Rerun all tests to ensure quality Zhiwei 2021-08-06 18:10:36 -0500
  • d4a73d9ffd
    Update pr-windows.yml Zhiwei 2021-08-06 14:52:07 -0500
  • 9051550e4c
    Update pr-windows.yml Zhiwei 2021-08-06 14:40:14 -0500