100 Commits
Author SHA1 Message Date
jocelyn 14e85932a9 Fixed error in previous commits. 2020-10-02 15:35:00 +02:00
jocelyn 37644e66bb Completed a previous commit, especially to web form library (WSF_FORM).
Updated EiffelStudio wizard.
2020-10-02 15:29:20 +02:00
jocelyn c0de4a5bf7 Removed svn keywords from git repo. 2020-10-02 15:24:54 +02:00
jocelyn 30a5e087ae Web form:
- Improvement about web form manipulation (remove a field, set a text value to input fields by name, ...)
 - Improved web form html generation, especially for select and type checkbox
 - Updated the date input field interface with a new set_date_value .

File response:
 - "application/force-download" is not a standard MIME content type, so use "application_octet_stream" instead as default.

Standalone connector:
 - Added expected creation procedure for the service launcher.
 - Added new "secure_port" configuration variable, for SSL standalone service.
   This way, if `is_secure` is True, the server will use `secure_port` (overrides `port` value).

Date:
 - Improved support for RFC 3339 (a profile of ISO 8601)

Removed obsolete and warnings:
 - removed usage of FILE_NAME
 - updated code to avoid implicit conversion from STRING_32 to STRING_8
 - avoid uneed conversion to STRING_8 (when possible)
2020-10-02 15:02:06 +02:00
jocelyn 75380a27fe Use https:// instead of http:// 2020-09-30 16:22:48 +02:00
jocelyn 8261a07bb4 Updated doc copyright year to 2020. 2020-09-30 16:19:48 +02:00
jocelyn 2760b24d8f Updated ecf files to newer schema 1-20-0 . 2020-02-27 18:06:40 +01:00
jocelyn 135d65c68e Better CGI handler
- improvement related to current directory for the execution of the CGI script,
- and updated SCRIPT_NAME, to the path info is correctly computed.
2020-02-26 22:47:25 +01:00
jocelyn 8760152441 Fixed value of SERVER_PORT for secure connection (i.e https:// ), by default it is 443 .
this was fooling WSF_REQUEST.absolute_url (...) .
2020-02-26 22:46:50 +01:00
jocelyn 49881b6429 Better handling for directory default index response (for instance index.html) for case like "/subdir" which is now redirected to "/subdir/" so relative url are correctly handled. 2020-02-26 22:46:03 +01:00
jocelyn c76e1a785c Added rfc3339 implementation to HTTP_DATE. 2020-02-26 22:34:18 +01:00
jocelyn 791b19a86e Use to_string_8 instead of as_string_8 in this case. 2020-02-26 22:33:25 +01:00
jocelyn 98452e13e2 Improved feed library:
- Added missing link to FEED.
- Closer to ATOM validation, especially for xhtml content.
- Closer to RSS2 specification.
- Removed unwanted conversion from STRING_32 to STRING_8. (fixing feed generation when dealing with Unicode content).
2020-02-26 22:32:24 +01:00
jocelyn 5ac7ce7483 Initial support for client certificates LibCurl implementation 2020-02-26 22:15:23 +01:00
jocelyn 0afccef5e2 Removed google plus links. 2019-10-28 21:24:47 +01:00
jocelyn 7c4cbe845d Updated copyright 2019-05-30 21:37:57 +02:00
jocelyn da5226a891 Updated code to remove VRDS(4) errors 2019-05-30 18:23:14 +02:00
jocelyn 256f7581f1 Updated changelogs 2019-05-30 16:38:27 +02:00
jocelyn 5df220beef Removed redefinitions that violates VDRS(4). 2019-05-30 16:21:53 +02:00
jocelyn 5ff361af54 Simplified proxy example, no more proxy.conf file.
Added forwarding case based on server name.
2019-01-24 11:19:05 +01:00
jocelyn 65525aa112 updated proxy example's README file. 2019-01-24 09:23:47 +01:00
jocelyn d4bbdea5e4 Removed unneeded redefine. 2019-01-23 23:50:26 +01:00
jocelyn 8260336d6c Added support for X-Forwarded-For .., and Forwarded header, for the simple proxy implementation.
Also added the possibility to "keep" the original host name.
Updated related example.
2019-01-23 23:46:35 +01:00
jocelyn 19c14d28c7 Updated EiffelWeb wizard. 2018-11-19 19:10:26 +01:00
jocelyn f1e8dfa40b Updated to use ARGUMENTS_32 as client. 2018-11-19 18:04:35 +01:00
jocelyn e73302639d updated changelog. 2018-11-16 19:39:13 +01:00
jocelyn 1c58674523 Updated notes for JWS. 2018-11-16 19:35:34 +01:00
jocelyn 7cfe0cc5ed Removed obsolete v0 code. 2018-11-16 19:31:41 +01:00
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
jocelynandGitHub f14431fc05 Update basics.md 2018-09-27 21:50:02 +02:00
jocelynandGitHub 9577d7d82a Update basics.md 2018-09-27 21:48:45 +02:00
jocelynandGitHub 99f8377721 Include images twices to see them under github pages, and also in markdown pages 2018-09-27 21:47:48 +02:00
jocelynandGitHub 73d5555532 test (ignore) 2018-09-27 21:39:58 +02:00
jocelynandGitHub ce3c7ac57a try change for related links. 2018-09-27 21:34:18 +02:00
jocelynandGitHub 5e928b9a47 use image location that works for md files, and also generated web files (jekyll) 2018-09-27 21:10:04 +02:00
jocelynandGitHub e4fcc863ca Updated image locations 2018-09-27 21:05:54 +02: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 3590f8546f Merge branch 'master' into es17.01 2017-03-08 22:01:46 +01:00
jocelyn 6f200bbf22 Allow forcing multipart/form-data or application/x-www-form-urlencoded to choose how the form data should be sent. 2017-03-08 22:01:04 +01:00
jocelyn 4763ec095f Merge branch 'master' into es17.01 2017-03-08 14:11:33 +01:00
jocelyn 8bb9675719 Update email notification storage classes. 2017-03-08 14:10:55 +01:00
jocelyn 1ddb27ca84 Merge branch 'master' into es17.01 2017-03-08 10:34:17 +01:00
jocelyn 4e21adc41f Fixed the notification_email_file_storage.
Added a new notification_email_directory_storage.
2017-03-08 10:33:16 +01:00
jocelyn 739c33b317 Merge branch 'master' into es17.01 2017-03-07 14:37:09 +01:00
jocelyn 9c207f4c9b Added put_content_type_utf_8_text_html to HTTP_HEADER .
Improved the directory index access denied message.
2017-03-07 14:36:16 +01:00
jocelyn d4c79f1893 Fixed xml info of ecf files. 2017-03-07 14:31:36 +01:00
jocelyn fa19976f60 Merge branch 'master' into es17.01 2017-03-07 13:17:10 +01:00
jocelyn b2e795d2d1 removed useless local variable. 2017-03-07 13:14:47 +01:00
jocelyn f2ecccce4f Improved NOTIFICATION_SMTP_MAILER.make (..) to support user:password@...
Propage error in notification_chain_mailer.
2017-03-07 13:14:16 +01:00
jocelyn d8745fd61d Merge branch 'master' into es17.01 2017-03-02 10:01:33 +01:00
jocelyn 5988d9d74b Updated code related to force_single_threaded setting to mark it obsolete, and for now, have coherent value 1 vs 0 among the standalone code and the httpd library. 2017-03-02 09:59:14 +01:00
jocelyn 305425960b Merge branch 'v1' into es17.01 2017-02-16 16:58:27 +01:00
jocelyn c160f63ddc Updated restbuck example and fixed the policy driven variant. 2017-02-16 16:56:47 +01:00
jocelyn e53230d93c Merge branch 'v1' into es17.01 2017-02-16 14:58:12 +01:00
jocelyn ae7aeaea30 Added test to the simple db lib, and depending on config, exclude or not json or memory database. 2017-02-16 14:53:55 +01:00
jocelyn ad3fe2fc7b Updated restbuck example to avoid using the new (since 17.01) JSON serialization component. 2017-02-16 11:26:22 +01:00
jocelyn eb4079789c Merge branch 'master' into es17.01 2017-02-14 19:59:19 +01:00
jocelyn f66dbc3ad4 Declared code as eiffel code. 2017-02-14 19:52:18 +01:00
jocelyn ff8da87fe3 Removed extra indentations in code. 2017-02-14 19:51:23 +01:00
jocelyn f216e98430 Updated markdown syntax. 2017-02-14 19:43:54 +01:00
jocelyn 5dc9d82df7 Added wsf_html documentation in the doc/workbook.
Also improved the structure of `wsf_html` library.
Added a few widgets.
2017-02-14 19:37:03 +01:00
jocelyn a44ca1a76c Converted all ecf files to ecf version 1-16-0 . 2017-02-14 14:47:07 +01:00
jocelyn b93cb17f7c Added readme files to the examples.
Minor changes in various ecf file and code.
Moved filter example under _update_needed since it has obsolete code.
2017-02-14 11:21:32 +01:00
jocelyn fbdf034b9b Conflict response can also have a payload to help the client understand the source of the conflict. 2017-02-13 17:36:10 +01:00
jocelyn d6f3e500b8 Fixed implementation. 2017-02-13 17:35:14 +01:00
jocelyn b56aec67a9 Updated, improved and cleaned RESTbucks example.
Moved it under "rest" subfolder.
2017-02-13 16:23:38 +01:00
jocelyn a44c4d9a16 Minor changes. 2017-02-12 12:42:25 +01:00
jocelyn 7be394c689 Fixed more markdown syntax usage issue. 2017-02-12 12:29:58 +01:00
jocelyn 4d4bc89129 Fixed markdown syntax [..]() by .. . 2017-02-12 12:24:14 +01:00
jocelyn 0786f1700f Added an example demonstrating the WSF_FORM component from wsf_html library. 2017-02-09 16:19:22 +01:00
jocelyn 08440b5c0c Use WSF_REQUEST.absolute_script_url (...) to compute expected url. 2017-01-26 22:26:45 +01:00