Commit Graph

2489 Commits

Author SHA1 Message Date
jocelyn 4f8341e04e Updated JWT library with class descriptions and better features names.
JWT library fixed to use agorithms names in upper case.
Updated README.
2018-11-16 19:28:46 +01:00
jocelyn 7f36e539f1 Accepts string general in html_encoded_string. 2018-11-16 19:28:05 +01:00
jocelyn 8241c0209a Updated JWT README content. 2018-10-29 15:17:31 +01:00
jocelyn 45179b58a3 Fixed custom error creation, do not create default message, otherwise the info will be duplicated in error output. 2018-10-29 15:14:28 +01:00
jocelyn 31fa31bd53 Updated changelog 2018-10-29 13:22:01 +01:00
jocelyn a8a3ca5b97 typo. 2018-10-29 13:15:32 +01:00
jocelyn 7c6fe5a04a Added HTTP_COOKIE.set_expiration_from_max_age, to add the "Expiration:" based on the max-age value. 2018-10-29 13:15:14 +01:00
jocelyn c8e2009638 Use double quotes only when needed for put_content_type_with_parameters. 2018-10-29 13:11:19 +01:00
jocelyn 627ec7aefc removed unneeded inheritance. 2018-10-29 13:04:46 +01:00
jocelyn e7087bcbc1 Added missing WSF_TIMEOUT_UTILITIES file. 2018-10-29 12:19:36 +01:00
jocelyn 8d881bcd7d Updated changelog.md 2018-10-29 12:16:01 +01:00
jocelyn ed3ad962d1 Updated a few classes from http_client to use nanoseconds as timeout precision.
Fixed typo in comments.
2018-10-29 12:15:20 +01:00
jocelyn d3e865cf6c Fixed setting of socket.timeout in httpd (was not currently set before).
Adopted the nanoseconds timeout precision
 - in config file added support for ns, us, ms, s timeout precision (without indication, it uses `seconds` precision).
2018-10-29 11:27:26 +01:00
jocelyn 9fcd30b4e1 removed useless JWT_ENCODER 2018-10-17 14:25:56 +02:00
jocelyn 0baa05cf63 JWT: updated to make JWT algorithm support more flexible, and simple to extend with specific algorithm. 2018-10-17 11:00:20 +02:00
jocelyn f97f59b703 renamed a png file to avoid blank character. 2018-09-27 22:01:34 +02:00
jocelyn dc377b84d3 Duplicated images to see expected images embedded in github markdown pages, and also in github web pages (jekyll on eiffelweb.org). 2018-09-27 21:57:16 +02:00
jocelyn f14431fc05 Update basics.md 2018-09-27 21:50:02 +02:00
jocelyn 9577d7d82a Update basics.md 2018-09-27 21:48:45 +02:00
jocelyn 99f8377721 Include images twices to see them under github pages, and also in markdown pages 2018-09-27 21:47:48 +02:00
jocelyn 73d5555532 test (ignore) 2018-09-27 21:39:58 +02:00
jocelyn ce3c7ac57a try change for related links. 2018-09-27 21:34:18 +02:00
Javier Velilla 8754c2d67d Update basics.md 2018-09-27 16:22:20 -03:00
jocelyn 5e928b9a47 use image location that works for md files, and also generated web files (jekyll) 2018-09-27 21:10:04 +02:00
Javier Velilla 9cdfbd2538 Update basics.md 2018-09-27 16:08:39 -03:00
jocelyn e4fcc863ca Updated image locations 2018-09-27 21:05:54 +02:00
Javier Velilla 7c8d6b9eef Updated path to Application execution png file 2018-09-27 15:58:09 -03:00
jocelyn a97eb4b062 Added missing dependencies. 2018-05-30 19:27:04 +02:00
jocelyn bd5aba3db6 Updated Windows DOS script to build the libfcgi binary lib files. 2018-05-30 17:30:05 +02:00
jocelyn d43c4edb7d Updated the default rescue response (i.e when exception or bad internal error occurs).
Factorized the implementation in WGI_RESCUE_EXECUTION, and now by redefining the `WGI_EXECUTION.execute_rescue (...)` procedure, it is possible to have a custom response on such rescued execution.
2018-05-30 17:28:24 +02:00
jocelyn 9cdd676417 Fixed HTTP_HEADER.put_raw_header (..) by ignoring any empty line of the argument value.
(note: "%R" is considered as empty line here.)
2018-05-30 17:25:04 +02:00
jocelyn cb273c3176 Updated to compile with upcoming EiffelStudio 18.05 (with and without ssl). 2018-05-28 17:21:11 +02:00
jocelyn ec7d504502 Fixed EOL. 2018-05-28 16:18:59 +02:00
jocelyn 7ed1e815b0 Updated to compile with upcoming EiffelStudio 18.05 . 2018-05-28 16:11:24 +02:00
jocelyn da2e26f697 Renamed the fcgi executable. 2018-04-26 11:58:00 +02:00
jocelyn bc169d6b26 Fixed remaining issues with docker setup. 2018-04-26 10:58:01 +02:00
jocelyn cf2f0f09fa Updated container files. 2018-04-24 15:13:47 +02:00
jocelyn 207a109e44 Updated to match docker expectation. 2018-04-24 10:36:20 +02:00
jocelyn 2f2e2067ba Added an example to run the debug app with apache2+libfcgi inside a docker container. 2018-04-23 22:13:07 +02:00
jocelyn 7aa7bf1ab2 Updated travis CI config.
Updated install dos script to include wsf_security.
2018-02-13 18:49:14 +01:00
jocelyn 8e8c3602c6 Allow (websocket) upgrade even without persistent connection for normal http request.
(note: this allows to use websocket in single-threaded mode, and avoid the keep-alive-timeout delay before websocket begins its execution)
2018-02-13 18:39:47 +01:00
Jocelyn Fiat ffd7dd8540 Improved WSF download response implementation.
- Do not set Transfer-Encoding to binary for download response.
- Use WSF_RESPONSE.put_file_content (...)
2018-02-05 21:02:23 +01:00
Jocelyn Fiat 947c94644e Apply win32 workaround only on Windows 32bits. 2018-02-02 22:43:50 +01:00
Jocelyn Fiat 6a779797a5 Removed a few obsolete calls.
Updated tests/all.ecf to include a few missing libraries.
2018-02-02 22:40:18 +01:00
Jocelyn Fiat 7b0ccc0aec Merge branch 'develop' 2018-01-29 22:16:57 +01:00
Jocelyn Fiat 74001fe674 Properly JSON encode null character as \u0000 . 2018-01-29 22:13:03 +01:00
Jocelyn Fiat c7eb12ad8e Return NotFound response for "/favicon.ico" request instead of returning wrong plain text response. 2017-12-18 19:15:19 +01:00
Jocelyn Fiat 36eeff9285 Fixed the websocket example to also work for remote client.
(i.e not from the same machine).
2017-12-18 14:52:09 +01:00
Jocelyn Fiat e9292b3eac Reverted last change as error_message on curl is not available for 17.05. 2017-12-01 12:05:01 +01:00
Jocelyn Fiat 30625d460f Added curl error message to the response error message (in addition to just the curl error code). 2017-11-30 20:08:58 +01:00