Commit Graph

735 Commits

Author SHA1 Message Date
Sijawusz Pur Rahnama 2d46beea5d
Migrate from Travis CI to GitHub Actions (#603) 2021-03-15 08:47:14 +03:00
Sijawusz Pur Rahnama 0764091e03
Bump ameba dependency (#602) 2021-03-15 08:45:35 +03:00
jinn999 8d0875f64c
Fix StaticFileHandler failing spec (#599) 2021-03-07 14:29:49 +03:00
Luis Lavena f71a83e2c4
Use latest version of Ameba dependency (dev) (#597) 2021-02-13 11:18:51 +03:00
Luis Lavena 1da32e5246
Use Radix v0.4.0 (#596)
Use latest release version of Radix in order to address some of the
routing bugs presented in previous versions of the dependency

See:

- luislavena/radix#23
- luislavena/radix#27
2021-02-13 11:18:04 +03:00
Serdar Dogruyol bf9f627ac7 Bump version to 0.27.0 2020-11-28 12:17:19 +03:00
Serdar Dogruyol 00c2c5be50 Update Changelog 2020-11-28 12:15:37 +03:00
Brian J. Cardiff a819d4792b
Refactor run_spec to use process exit instead of empty stderr (#584)
Bonus: It also allows run_spec to pass if using bin/crystal wrapper
2020-08-15 18:09:53 +03:00
Anton Maminov dfe7dca08f
fix websocket issue (#577) 2020-07-08 14:42:08 +03:00
Anton Maminov 2e749a2987
fix an issues with responding with long strings (#576) 2020-07-08 14:41:16 +03:00
Brian J. Cardiff a8c0f09b85
Upgrade to Crystal 0.35.0 (#570)
* Update to ameba ~> 0.12.0

* Use Compress::Deflate and Compress::Gzip

* Drop unused require

* Fix spec due to defer request upgrade
2020-06-10 21:11:43 +03:00
Todd Sundsted 70684a2cf0
Pick up transitional type aliases. (#566) 2020-05-16 18:22:13 +03:00
Brian J. Cardiff c3c43145b8
Comply exhaustive case check (#560) 2020-04-04 21:26:05 +03:00
Anton Maminov b7506f6fab
allow to set optional response body on redirects (#561) 2020-04-04 21:25:35 +03:00
Serdar Dogruyol 4d6fb0614f Bump version to 0.26.1 2019-12-01 14:14:25 +03:00
maggie a4bdecdc7d Flush io buffer after each write to log (#554) 2019-10-11 12:14:26 +03:00
Sijawusz Pur Rahnama c893172fbf Cleanup ameba warnings (#551) 2019-08-30 14:32:23 +03:00
Sijawusz Pur Rahnama 740cb188a9 Check for KEMAL_ENV variable already in Config#initialize (#552) 2019-08-30 14:20:38 +03:00
Anton Maminov 15022c25b8 use new ameba repository (#549) 2019-08-05 18:34:50 +03:00
Anton Maminov e99129ab50 fix process request when a response already closed (#550) 2019-08-05 18:34:26 +03:00
sdogruyol ff3b28c6f7 Bump version to 0.26.0 2019-08-05 10:41:51 +03:00
Omar Roth 18ddc3b4e6 Fix static file handler for files > 2^31 bytes (#546) 2019-08-03 19:37:23 +03:00
Brian J. Cardiff 17bf1c7709 Upgrade to Crystal v0.30.0 (#548) 2019-08-03 19:35:40 +03:00
Johannes Müller 6e2714404d Add missing return types to overrides of abstract methods (#544) 2019-07-26 11:48:14 +03:00
Anton Maminov e3544a86bf Do not early return from HTTP::Server::Response::Output.close. Revert what Ameba broke 2019-06-18 18:03:32 +03:00
sdogruyol f3d02e60af Add auto-generated .ameba.yml 2019-06-13 15:42:21 +03:00
sdogruyol fc8ac1160c Add /bin to .gitignore 2019-06-13 15:33:11 +03:00
sdogruyol ecaa423774 Bump ameba to 0.10.0 2019-06-13 14:38:41 +03:00
Sijawusz Pur Rahnama 06665e81bc Use Ameba on Travis CI (#520) 2019-06-13 14:31:45 +03:00
Serdar Dogruyol c646aad482
Merge pull request #535 from bcardiff/crystal/0.29.0
Fix Time.now deprecation warning
2019-06-10 08:27:11 +03:00
Brian J. Cardiff 79cd8bd646 Fix Time.now deprecation warning 2019-06-04 16:59:05 -03:00
Serdar Dogruyol ec87dfb614
Create FUNDING.yml 2019-05-27 13:10:04 +03:00
Serdar Dogruyol 5267555322
Properly measure request time using Time.monotonic 2019-03-20 01:02:42 -07:00
Alexander Reelsen 14ed2aa8bf improvement: use Time.measure 2019-03-20 08:39:36 +01:00
Alexander Reelsen c6ac5232db Properly measure request time using Time.monotonic 2019-03-19 12:57:28 +01:00
sdogruyol 45a508c27d 0.25.2 2019-02-08 12:01:59 +03:00
Serdar Dogruyol eeeef0e5eb
Merge pull request #521 from Sija/use-github-hidden-dir
Move GH related files into .github directory
2019-02-08 09:03:07 +03:00
Serdar Dogruyol f2262d839b
Merge pull request #522 from Sija/add-license-to-shard-yml
Specify license in shard.yml
2019-02-08 09:02:11 +03:00
Sijawusz Pur Rahnama 91cd0ab60d Specify license in shard.yml 2019-02-07 17:48:16 +01:00
Sijawusz Pur Rahnama 37bb01a21c Move GH related files into .github directory 2019-02-07 17:39:30 +01:00
Serdar Dogruyol 53609b3afa
Revert "Add targets to shard.yml" (#519) 2019-02-05 12:20:57 +03:00
Sijawusz Pur Rahnama 2b71b4af36 Revert "Add targets to shard.yml"
This reverts commit ff37027afe.
2019-02-05 09:55:10 +01:00
Sijawusz Pur Rahnama 1fa87761a4 Run crystal tool format --check on Travis CI (#518) 2019-02-05 11:23:20 +03:00
Sijawusz Pur Rahnama 6cf2b40ca8 Fix misspelled `authors` key in shard.yml (#517) 2019-02-05 10:49:26 +03:00
Sijawusz Pur Rahnama b7bf9d771f Use Crystal built-in MIME registry (#516) 2019-02-05 10:26:45 +03:00
Serdar Dogruyol dcffd7b3f9
Merge pull request #515 from kemalcr/fix-closed-io-404
Do not try to call ExceptionHandler#call_exception_with_status_code on a closed response
2019-01-17 22:06:36 +03:00
sdogruyol b0a17ac9b4 Do not try to call ExceptionHandler#call_exception_with_status_code on a closed response. Fixes #514 2019-01-16 23:33:33 +03:00
Serdar Dogruyol 0fa869cf96
allow to set filename for send_file (#512) 2019-01-16 21:59:57 +03:00
Anton Maminov c3dd24482e set status_code before response (#513) 2018-12-25 19:06:07 +03:00
Anton Maminov 6f111ffbb0 allow to set filename for send_file
if the disposition type matches "attachment", this
indicates that the recipient should prompt the user to save the response
locally, rather than process it normally
2018-12-23 13:24:27 +02:00