From 358b6bfb77ed75224606c743d901117cc055f2e2 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Wed, 15 Mar 2017 18:27:13 +0100 Subject: [PATCH] Updated ChangeLog using gitlog-to-changelog script for now. --- CHANGELOGS.txt | 7 - ChangeLog | 6840 +++++++++++++++++++++++++++++++++--------------- 2 files changed, 4771 insertions(+), 2076 deletions(-) delete mode 100644 CHANGELOGS.txt diff --git a/CHANGELOGS.txt b/CHANGELOGS.txt deleted file mode 100644 index 6f4f3c1e..00000000 --- a/CHANGELOGS.txt +++ /dev/null @@ -1,7 +0,0 @@ -History for Eiffel-Web-Framework -[2015-06-10] - * Updated EWF design to better support concurrency, including SCOOP via - the new standalone connector. - - -[Previous ] Many significant changes in v0 diff --git a/ChangeLog b/ChangeLog index b8786d1b..2d5939ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3440 +1,6142 @@ -2015-05-06 Jocelyn Fiat +2017-03-08 Jocelyn Fiat - Added abstraction WSF_ROUTED, and WSF_FILTERED. Added under - library/server/obsolete/v0 the previous non concurrent friendly version of - EWF/WSF, for backward compatiblity. Removed WSF_CALLBACK_SERVICE and - WSF_TO_WGI_SERVICE which are not need with new EWF. + Allow forcing multipart/form-data or application/x-www-form-urlencoded to choose how the form data should be sent. -2015-04-07 Jocelyn Fiat + Update email notification storage classes. - Updated code to remove obsolete call on recent version of json library. - Updated upload_image example to use PATH instead of DIRECTORY_NAME or - similar. Removed unused local variables. + Fixed the notification_email_file_storage. Added a new notification_email_directory_storage. - Added a few descriptions and comments. +2017-03-07 Jocelyn Fiat -2015-04-06 jvelilla + Added put_content_type_utf_8_text_html to HTTP_HEADER . Improved the directory index access denied message. - Added descriptions and comments + removed useless local variable. - Added descriptions and feature comments. + Improved NOTIFICATION_SMTP_MAILER.make (..) to support user:password@... Propage error in notification_chain_mailer. - Added features comments. +2017-03-02 Jocelyn Fiat - Added Missing Class and feature descriptions. Removed author entry. + 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. -2015-04-02 Jocelyn Fiat +2017-02-16 Jocelyn Fiat - Export request and response from WGI_EXECUTION to itself. Added - WSF_FILTERED_ROUTED_SKELETON_EXECUTION + Updated restbuck example and fixed the policy driven variant. -2015-04-01 Jocelyn Fiat + Added test to the simple db lib, and depending on config, exclude or not json or memory database. - renamed keep_alive_requested as is_persistent_connection_requested. + Updated restbuck example to avoid using the new (since 17.01) JSON serialization component. - Better support for HTTP/1.0 and also related to persistent connection. +2017-02-15 Jocelyn Fiat - Enable support for persistent connections. (test: works fine with curl -k , - but weird behavior with ab -k ...) + New location for the workbook doc. - First step to improve a bit error handling related to socket disconnection. - Mainly in standalone connector for now. + workbook moved from doc/workbook to docs/workbook - Improved the simple_file example with image, and not found message. Use - standalone connector in SCOOP concurrency mode. + Removed extra indentations. - Cleaned simple example, and made the standalone target with SCOOP - concurrency. + Updated workbook content. cosmetic. -2015-03-31 Jocelyn Fiat + use workbook.md as main entry. - Updated various indexing notes. Removed a few obsolete classes. Cosmetics + Fixed jekyll syntax. - Migrated most of the example and library to new design. + Try again to have github pages fixed. -2015-03-25 Jocelyn Fiat + Use {{ site.url }} instead of page.base_url. - Implemented support for base url in httpd connector. + Fixed the jeykill page.baseurl variable name. - Migrated simple, simple_file and upload_image example. Adapted EWF - accordingly. + Removed jekyll specific code from the workbook files. -2015-03-24 Jocelyn Fiat + Have the github pages source in the same branch. - Added SCOOP support for WSF. WSF_SERVICE is deeply changed, and addition of - WSF_EXECUTION. Todo: code cleaning, removing useless things. +2017-02-14 Jocelyn Fiat -2015-03-20 Jocelyn Fiat + Declared code as eiffel code. - Support for concurrencies: none, thread and SCOOP + Removed extra indentations in code. - Finally SCOOP supported. + Updated markdown syntax. -2015-03-19 jvelilla + Added `wsf_html` documentation in the doc/workbook. Also improved the structure of `wsf_html` library. Added a few widgets. - Updated HTTP_COOKIE, enable to add a cookie with empty value. Added feature - to check if a date is valid rcf1123 is_valid_rfc1123_date. Added test cases - related to valid cookie dates. Updated wsf_response add_cookie basedo on - review comments. + 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. - Updated is_valid_character, using NATURAL_32 as an argument to avoid multiple - conversions. Updated add_cookie, added features has_cookie_name and is_cookie - line to avoid the use of STRING.split and STRING.start_with. +2017-02-13 Jocelyn Fiat -2015-03-17 jvelilla + Conflict response can also have a payload to help the client understand the source of the conflict. - Updated HTTP_COOKIE class based on comments. Added missing descriptions in - test classes + Fixed implementation. - Added the add_cookie feature Added test cases to check cookies in - WSF_RESPONSE- Added mock classes use for test cases. + Updated, improved and cleaned RESTbucks example. Moved it under "rest" subfolder. -2015-03-17 Jocelyn Fiat +2017-02-12 Jocelyn Fiat - Experiment to avoid pseudo sequential execution + Minor changes. - First attempt to use `{NETWORK_STREAM_SOCKET}.accept_to' + Fixed more markdown syntax usage issue. -2015-03-13 jvelilla + Fixed markdown syntax [..]() by `..` . - Updated code based on Jocelyn's comments. +2017-02-12 Jocelyn Fiat - Added HTTP_COOKIE and test cases. Added WSF_COOKIE class, inherit from - HTTP_COOKIE. + Merge pull request #176 from jvelilla/ewf_doc + Updated EWF documentation -2015-03-13 Jocelyn Fiat +2017-02-11 Javier Velilla - First steps to provide a concurrent compliant EWF connector. + Cosmetic -2015-03-11 Jocelyn Fiat + Update generating_response.md - fixed location of before_15_01 folder. + Cosmetic -2015-03-05 Jocelyn Fiat +2017-02-10 Javier Velilla - Removed the -safe since now new project should be void-safe + Cosmetic - moved wizard under tools/estudio_wizard + Cosmetic - moved wizard from tools to helpers + Updated documentation + Cosmetic, style, typos. - Updated script to install wizard in current EiffelStudio installation. + Cosmetic - Updated the ewf estudio wizard to have a console and a graphical wizard. - Usage: wizard -callback file.cb path-to-rootdir folder. + Cosmetic -2015-02-18 Jocelyn Fiat + Fixed typos + Updated document, fixed typos. - Prepare nino ecf to be compilable with upcoming changes in EiffelNet / - NETWORK_STREAM_SOCKET interface. (see rev#96640 from eiffelstudio subversion - repository) +2017-02-09 Jocelyn Fiat -2014-12-02 Jocelyn Fiat + Added an example demonstrating the WSF_FORM component from `wsf_html` library. - Updated install_ewf.bat to use the new "ecf_tool" from - https://svn.eiffel.com/eiffelstudio/trunk/Src/tools/ecf_tool . +2017-01-26 Jocelyn Fiat - Completed change on debug handler and filter, to use WSF_DEBUG_INFORMATION. + Use `WSF_REQUEST.absolute_script_url (...)` to compute expected url. -2014-12-01 Jocelyn Fiat + Follow redirection only for redirection http status 3** . - Added assertions on router helpers, and also agent handler. Closes issue #159 + Fixed http_client EiffelNet implementation when port is not the default one. - previously the client was not sending the complete `host:port` but only `host` as `host` http header. -2014-11-24 Jocelyn Fiat + Fixed temporary restbucks example. - use concurrency none to workaround a concurrency issue of DB_ACCESS - use console_application for convenience - use default http client, to use net implementation if curl is not available. - Fixed issue#157 (WSF_REQUEST.cookies_table does not terminate on cookies - without a value, or ending with semi-colon) Added related autotest. +2017-01-16 Jocelyn Fiat -2014-11-19 Colin Adams + Updated http_client README. - Added {WSF_REQUEST}.http_content_encoding +2017-01-10 Jocelyn Fiat -2014-11-18 Colin Adams + Added test cases for PATH_INFO and percent_encoded_path_info for root url cases. Removed obsolete calls from TEST_EXECUTION_I . - issue #149 (Simple CORS support for GET requests in policy-driven framework) + If PATH_INFO is "/", the percent encoded path info is also "/". No need for complex computation. Note this fixes an issue with libfcgi app not hosted as root url such as "/sub/app.fcgi" on (old) IIS server. - Issue #144 (Add last_modified to WSF_SKELETON_HANDLER) + If PATH_INFO is empty, the percent encoded path info is also empty. No need for complex computation. Note this fixes an issue with libfcgi app not hosted as root url such as "/sub/app.fcgi". -2014-11-17 Colin Adams +2016-12-06 Jocelyn Fiat - Issue #143 + Updated wsf_js_widget example ecf files. -2014-11-17 Jocelyn Fiat + Updated doc workbook ecf files. - Converted ecf file to complete void-safe. Improved JSON_PRETTY_STRING_VISITOR - to support STRING_8 or STRING_32 output. Added examples. Added doc in the - folder "doc". Updated Readme and other files. Added package.iron file. + Updated tutorial ecf files to compile with 16.05 and upcoming release. -2014-10-10 Jocelyn Fiat + Fixed a few compilation issue with 16.11 . - Fixed compilation issue for wsf_js_widget package. +2016-12-05 Jocelyn Fiat -2014-09-30 Jocelyn Fiat + Disable debug clause for the wsf tests suite. Removed useless dep on EiffelThread - Marked converters classes as obsolete. + Fixed compilation of proxy and simple examples. Made the websocket client library scoop capable. - Updated license and copyright. Updated classes with bottom indexing notes - related to copyright and license. +2016-12-01 Jocelyn Fiat -2014-09-24 Jocelyn Fiat + If the count for put_file_content is not positive (i.e <= 0), do not send anything. Output/log more information for request handling when standalone httpd server has verbose enabled. - Fixed various issue with parsing string (such as \t and related), Implemented - escaping of slash '/' only in case of ' Many feature renaming to match Eiffel style and - naming convention, kept previous feature as obsolete. Restructured the - library to make easy extraction of "converter" classes if needed in the - future. Updated part of the code to use new feature names. + Fixed debug.ecf file from debug example. -2014-07-07 Jocelyn Fiat + Fixed a few void-safety issue, attribute not initialized before computing agent objects. - Added custom-template in examples, as a base template to integrate easily - other JS widgets. Added custom example (based on custom-template project) - that demonstrates how to integrate a thirdparty JS component such as d3 - within the application using wsf_js_widget. Removed various unecessary ecf - dependencies. + Fixed compilation of desktop app example. - Fixed compilation issue related to old usage of modified JSON library. + Fixed potential void-safety issue in descendants related to initialization of router and filter. - Move wsf_js_widget library under draft/library/server/wsf_js_widget + Fixed compilation. -2014-07-04 Conaclos + Removed unwanted files. - Apply pretty print tool. Apply on each class in test suite and library. + Made library ecf compilable in scoop concurrency mode by default. So ecf files are compilable with 16.05 and 16.11 . -2014-07-02 Jocelyn Fiat +2016-11-01 Jocelyn Fiat - Replace any multiple slash sequence by a single slash character for - PATH_INFO. + Made library ecf compilable in scoop concurrency mode by default. Except nino related projects that depends on EiffelThread. -2014-07-01 Jocelyn Fiat + Made the notification_email library compilable with 16.05 and upcoming 16.11 . - Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER. + Fixed wsf_js_widget compilation. - Fixed various issues related to unicode and CGI variables (assuming that CGI - variables are utf-8 encoded, and sometime percent encoded). Delayed - computation of `value' and `name' from WSF_STRING. Fixed computation of - REQUEST_URI when the server does not provide it (this is rare, but possible). - compute it as SERVER_NAME + encoded-PATH_INFO + {? + QUERY_STRING} +2016-10-31 Jocelyn Fiat -2014-06-30 Conaclos + Use the theoretical version number of EiffelStudio when we inserted new features to EiffelNet. - Add documentation and contracts for domain types. +2016-10-25 Jocelyn Fiat - Improve converters. Replace old syntax with new one and improve - implementation. + Fixed wsf tests project. Added ini config support to simple_file example. - Syntax update. Replace assigment attempt with object test. + Updated WGI_OUTPUT_STREAM.put_file_content . -2014-06-30 Jocelyn Fiat +2016-10-24 Jocelyn Fiat - Improved the debug example, so that it outputs more information. + Fixed expiration, and cache-control: max-age implementation. Also use `FILE.date` instead of `FILE.change_date` (`change_date` is the date of the last status change, quite often same as creation date, while `date` is the last modification date). - Ensure that PATH_INFO and REQUEST_URI are following the CGI specifications: - - PATH_INFO is percent decoded but still utf-8 encoded, this is available via - WGI.path_info and WSF_REQUEST.utf_8_path_info. - Added - WSF_REQUEST.percent_encoded_path_info - and WSF_REQUEST.path_info remains the - unicode value for PATH_INFO Added cgi_variables: WGI_REQUEST_CGI_VARIABLES - to have a simple and quick view on CGI variables Added execution_variables to - be able to iterate on execution variables. Added - PERCENT_ENCODER.percent_decoded_utf_8_string Improved the WSF_DEBUG_HANDLER - to provide more information thanks to WSF_DEBUG_INFORMATION object. + Added `WSF_RESPONSE.put_file_content (f: FILE, a_offset: INTEGER; a_count: INTEGER)` to allow potential future optimization. -2014-06-23 Jocelyn Fiat +2016-10-21 Jocelyn Fiat - Raised the void-safety level to "complete" Added comments. + Fixed the EiffelStudio EiffelWeb wizard. -2014-06-12 Jocelyn Fiat + Added feature to manipulate easily the chain of filters. - Added example to help debugging EWF This is mainly a kind of echo server .. - that return the request information. +2016-10-18 Jocelyn Fiat -2014-06-11 Jocelyn Fiat + Updated (un)install script to include new network, httpd, and websocket libraries. - Improved the uploading of file in regard to temporary filename. Avoid to - overwrite the same file for concurrent requests uploading the same filename. + Added connection header related functions. - WSF_REQUEST.is_keep_alive_http_connection: BOOLEAN - HTTP_HEADER_MODIFIER.put_connection_keep_alive - HTTP_HEADER_MODIFIER.put_connection_close In Standalone request handler code, better detection of Connection: keep-alive header. -2014-05-14 Jocelyn Fiat +2016-10-15 Jocelyn Fiat - Make sure to be able to compile in complete void-safe for 14.05 and still - compile with 13.11 + Better all-safe.ecf file under wsf/connector . - Support for unicode error message for the - ERROR_HANDLER.as_string_representation: STRING_32 and as well for - debug_output, this avoid unecessary unicode string truncation. + Updated to use new standalone option names. - debug_output can return a string 32, so avoid truncated unicode value by - returning a string 32 value for `debug_output' . + Fixed void-safety settings on web_socket_protocol.ecf . - Replaced notion of session uuid by session id which is more generic (could be - a uuid, or something else). Use STRING_TABLE for the implementation of - session data container. Added a few missing comments. + Updated http_client library to benefit from http_network library. - renamed HTTP_HEADER_BUILDER as HTTP_HEADER_MODIFIER +2016-10-14 Jocelyn Fiat -2014-04-22 Jocelyn Fiat + Fixed ecf to get them compiled. - Updated ecf files toward complete void-safety Added iron package files. Added - libfcgi files to compile .lib and .dll on Windows +2016-10-14 Jocelyn Fiat - Fixed various Unicode text handling. Moved example folder inside the library, - and renamed it "demo" Improved example code. + The network classes are now under http_network library, thus renamed the header file as ew_network.h . - Added support for UTF-8 during decoding. The JSON specification does not - require it, but some json encoders are using utf-8 encoding for json - encoding. Added related autotest case. + Updated simple_ssl example to use directly the standalone connector, and use the new WSF_STANDALONE_SERVICE_OPTIONS class. Added WSF_STANDALONE_SERVICE to make it easy to use directly. -2014-04-10 Jocelyn Fiat +2016-10-14 Jocelyn Fiat - Added an example to embed EWF nino service into a Vision2 desktop - application. This is locally consumed via the embedded web browser component. + Be sure to use ecf custom variable "ssl_enabled" and not the variant "httpd_ssl_enabled" or else. Include again the openssl include folder for EiffelStudio before 16.11, otherwise eif_openssl is not found. -2014-04-09 Jocelyn Fiat + Reverted a few ecf files from ecf version 1-16-0 to ecf version 1-15-0. Added target "http_network_ssl" to test http_network with ssl support. - Updated encoder library, especially URL encoders to reuse implementation of - percent_encoder.e Fixed JSON_ENCODER for %T and related. Updated related - autotest cases. + Fixed http_network compilation for EiffelStudio before version 16.11. - Moved implementation of WSF_PERCENT_ENCODER into "encoder" library, and added - the *partial* variant. +2016-10-14 Jocelyn Fiat - Improved BASE64 to update has_error when decoding. Added manual tests. + Merged changes related to websocket and restructured httpd, http_ network libraries. -2014-04-08 Jocelyn Fiat + Updated ws.ini (for now, keep is_secure False, due to remaining issue with websocket and SSL implementation). - Fixed issue with URL_ENCODER encoding (and small optimization) + Accept "yes" or "true" in wsf launcher option boolean values. Set socket_error when network occurs in `read_to_managed_pointer_noexception`. -2014-03-26 Jocelyn Fiat + Renamed many classes and feature to use "secure" term instead of "ssl". (note, the .ecf are still using the "ssl" terminologie). Provided easy way to set secure settings for Standalone. For wsf launcher boolean option accept "true" or "yes" for True boolean, anything else is False. - Code improvement Cosmetic (comments, names, formatting) +2016-10-13 Jocelyn Fiat -2014-03-19 hassany + Added websocket examples for the server and client. - Fix STRING_32 issues + Use socket `.._noexception` functions in websocket networking. -2014-03-19 severin + Added new WSF_STANDALONE_SERVICE_OPTIONS, a descendant of WSF_SERVICE_LAUNCHER_OPTIONS specialized for standalone connectors. - Added more comments and assertions to all classes; clean up + Do not use `put_readable_string_8_noexception`, and just update `put_string_8_noexception` to accept READABLE_STRING_8. -2014-03-18 Jocelyn Fiat + Reuse http_network library. Reintroduced HTTPD_STREAM_SOCKET for backward compatibility, and ease of usage. Added websocket libraries (client, and protocol). - Added alias "[]" to `item', to get header value for a header name. Added - assigner for `item' to make it easier to add header item without confusing - key and value. Better parameter names (more explicit) +2016-10-12 Jocelyn Fiat -2014-03-17 Jocelyn Fiat + Extracted network socket classes from httpd folder, and created a new library/network/http_network library. Renamed HTTPD_STREAM_SOCKET as HTTP_STREAM_SOCKET. Made http_client (net) library use the new http_network library. - Added comments, used better parameter names. + Moved httpd library from ewsgi/connectors/standalone/lib/httpd to httpd. Reused the http_network library as well inside httpd library. - Extracting HTTP_HEADER_BUILDER from HTTP_HEADER to provide useful interface - on WSF_RESPONSE, and make WSF_SESSION easier to use. +2016-10-12 Jocelyn Fiat -2014-03-12 hassany + Use custom variable `net_ssl_enabled` instead of `httpd_ssl_enabled` for the http_netword lib. - Extend documentation +2016-10-12 Jocelyn Fiat -2014-03-12 severin + Implemented chunked Transfer-Encoding in net_http_client. Implemented support for buffer_size and chunk_size for net_http_client. - Updated comments and added contracts for core controls in webcontrol + Fixed typo in restbuck name. -2014-03-05 severin + Fixed the "wsf_tests" autocase suite, which was wrong for cookies, and other minor changes. - Added assets to library + Added support for debug.ini to debug example. -2014-03-05 YNH Webdev + Fixed potential issue related to PATH_INFO, and `percent_encoded_path_info` computing , when script name is in different path. - Rename WSF_FILE to WSF_FILE_DEFINITION + Fixed issue with input using "Transfer-Encoding: chunked". - Change STRING TO STRING_32 +2016-10-11 Jocelyn Fiat -2014-03-03 Jocelyn Fiat + Fixed regression with persistent connection, be sure to keep the `remote_info` data for all successive requests within a same persistent connection. - Added a demo application server for basic http autorization + Updated desktop_app example with embedded standalone web server. -2014-02-28 Jocelyn Fiat + Updated desktop application example for scoop concurrency mode. - Removed usage of remote anchor types. + Use the `..._noexception` network features in the WGI standalone input and output classes. -2014-02-24 Jocelyn Fiat + Also check for SOCKET.was_error when accessing the socket data. - Fixed the ecf to test global compilation of EWF. +2016-10-10 Jocelyn Fiat -2014-02-23 YNH Webdev + Use `was_error' to get expected behavior on Linux. - Add class description to validators Rename Wsf_progresssource + Fixed C compilation on non Windows platform for EiffelStudio until 16.05 . (the required c function are coming with EiffelNet from EiffelStudio 16.11 ). -2014-02-21 severin +2016-10-10 Jocelyn Fiat - Began with class documentation + Updated deprecated EiffelWeb nino to make it compilable with upcoming EiffelStudio 16.11. Updated various projects to make them up-to-date and compilable with this latest EiffelWeb. -2014-02-03 Jocelyn Fiat +2016-10-08 Jocelyn Fiat - Udated to highest level of void-safety. Fixed obsolete calls. + Improved networking implementation for httpd server and sockets. Use new EiffelNet routines that do not raise exception on error. Made compilable with 16.05 and dev-and-upcoming release 16.11. Fixed various minor issues related to base_url, and added comments. -2014-01-26 YNH Webdev + Replace Nino by Standalone whenever it is relevant. - Finalize WSF_DYNAMIC_MULTI_CONTROL +2016-10-05 Jocelyn Fiat - Add dynamic multicontrol + Updated `has_incoming_data` comment. -2014-01-25 YNH Webdev + Make EiffelWeb standalone easier to debug by using in some locations error instead of exception for network error. - Added C external to use C `recv` feature with error (as opposed to have exception raised on network error). - Image preview + Commented the execute_bad_request, since it is not ready and will trigger error most of the time. - Fix upload state +2016-10-04 Jocelyn Fiat -2014-01-24 Jocelyn Fiat + Improve socket management for EiffelWeb standalone connector. - Update restbucksCRUD example to use "crypto" library rather than "eel". - Updated readme.md to add curl command to test the server. + First attempt to response with bad request message when bad request is detected. -2014-01-11 YNH Webdev + Added ssl test case for standalone wsf connector. - Add set value to value controls + Updated workbook, minor changes (removed mention about nino, added libfcgi info). -2014-01-11 severin +2016-10-02 Jocelyn Fiat - Included time library to set current date in date picker + Also display SSL information when verbose is enabled for EiffelWeb standalone connector. -2014-01-08 severin +2016-09-27 Jocelyn Fiat - Small change on date picker control, removed date input + Include wsf_proxy to the installation process. -2014-01-07 jvelilla +2016-09-27 Jocelyn Fiat - Fixed error with identity encoding. + Fixed SSL support on the httpd component, and also on the EiffelWeb standalone connector. - the standalone connector support for SSL, is using certicate files for now (no in-memory support). - to enable ssl support, set ecf variable `httpd_ssl_enabled=true`. - added the `simple_ssl` example to demonstrate how to have standalone ssl server. (be careful when using EiffelNet SSL and the http_client library, disable the libcurl via ecf variable `libcurl_http_client_disabled=true` ) + Added support for recv timeout to the EiffelWeb standalone connector. + - made EiffelWeb compilable with 16.05 and upcoming 16.11. + Done via ecfs condition on version to accept EiffelNet with recv_timeout (from 16.11), and without (until 16.05). + - adding recv timeout prevents server to hang for ever if a client wait too long to send data. -2014-01-06 severin + Updated various comments. - Modified datepicker control +2016-09-26 Jocelyn Fiat -2014-01-05 severin + Fixed the non void-safe ecf for wsf_proxy. - Removed country chooser widget + Use latest API from http_client using DEFAULT_HTTP_CLIENT, that could use libcurl or EiffelNet depending on the configuration (.ecf). - fixed js +2016-09-19 Jocelyn Fiat - modified country and date/time chooser + Merge branch 'reverse_proxy' -2014-01-04 severin +2016-08-08 Jocelyn Fiat - Included bootstrap datetimepicker + Replaced host+port by uri (http://remotemachine:port/path). Added support for SSL (https). - Added date chooser widget +2016-08-06 Jocelyn Fiat - Removed add_dropdown methods from navbar, some cleanup in different controls + When possible keep ecf location relative within the same EiffelWeb directory structure. - ATTENTION: ugly append_attributes added to stateless control, replaces - set_attributes -> maybe improve + First step towards SSL support. - Moved set_attributes from BASIC_CONTROL to STATELESS_CONTROL +2016-08-05 Jocelyn Fiat -2014-01-02 YNH Webdev + Added a simple reverse proxy handler. - For now, it does not support SSL connection on the target yet. - No external config file support, this is all about coding. - Add disable option + Revisited WSF_REQUEST.read_input_data* functions: - read_input_data_into_file now accepts a IO_MEDIUM argument instead of just FILE. - cleaned the implementation, and make sure that eventual `raw_input_data` is containing only the raw input data. - Allow remove + Ignore empty header line. -2014-01-01 YNH Webdev +2016-06-24 Jocelyn Fiat - Add serverside file id to file structure + Added support for category in ATOM format (input and output). - Demo upload +2016-06-22 Jocelyn Fiat - Workin file upload + Removed unwanted .ecf file. -2013-12-31 YNH Webdev + Added more application logic for the example. - Change parameter type + Renamed WGI_STANDALONE_CONNECTOR_ACCESS as WGI_STANDALONE_CONNECTOR_EXPORTER. Isolate the websocket implementation in descendant of {WEB_SOCKET_EVENT_I}. Added very simple echo websocket example. + code cleaning. - File upload implementation part1 +2016-06-21 Jocelyn Fiat - Fix dropdown list, clean up actions + Added WSF `standalone_websocket` connector, that provides websocket on top of `standalone` connector. -2013-12-03 Jocelyn Fiat + Log when a persistent connection is reused. Use anchor type on `{WGI_STANDALONE_CONNECTOR}.configuration` and `{WSF_STANDALONE_SERVICE_LAUNCHER}.connector`. Add access to the socket of standalone input stream from `{WSF_STANDALONE_CONNECTOR_ACCESS}`. Removed a useless redefination in `WSF_EXECUTION`. - Fixed various issues with libfcgi on Linux, mainly related to - stdout,stderr,stdin, feof and related. Added `reset' to the libfcgi input - stream so that it is possible to reset previous errors. +2016-06-16 Jocelyn Fiat -2013-12-02 Jocelyn Fiat + Fixed signature of `{HTTPD_CONFIGURATION_I}.set_ca_key` . - For Nino connector, ensured that environment variables are percent-encoded in - meta variables. + Make it easier to reuse the http network classes. This is to make it easier for websocket solution to reuse httpd implementation. -2013-11-19 Jocelyn Fiat +2016-06-15 Jocelyn Fiat - http_client: changed some default settings `connect_timeout' and `timeout' to - 0 (never timeout) Updated comments + Moved httpd from src to lib, under standalone connector. -2013-11-18 Jocelyn Fiat + Prepared httpd_stream to be useable for client too. Fixed obsolete tests/dev compilation (mainly to avoid wrong failure reports). added package.iron files. - removed CRLF eol in many files + Added advanced settings for standalone connector - max_concurrent_connections=100 - keep_alive_timeout=15 - max_tcp_clients=100 - socket_timeout=300 - max_keep_alive_requests=300 And then can be set via the options as well, and via .ini file. Also improved the verbose console output system. -2013-11-12 Jocelyn Fiat +2016-06-14 Jocelyn Fiat - Fixed wrong assertion related to upload_data and upload_filename in - HTTP_CLIENT_REQUEST_CONTEXT . Fixed issue #124 Enable all assertion for the - related autotest cases. + Using passive regions. Improve connector options mainly for standalone connector. Updated "simple" example to return a timestamp. -2013-11-11 YNH Webdev +2016-05-31 Jocelyn Fiat - Rename files + Added libfcgi target, in addition to standalone target for the upload_image example. -2013-11-10 YNH Webdev + Fixed bad usage of {SOCKET}.socket_ok that resulted in bad behavior on linux. - Rename validators, Make forms resizable + Using -lfcgi as external linker flag, rather than /usr/lib/libfcgi.so . + Note on Ubuntu: apt-get install libfcgi-dev - Validate all fields and make regexp stricter + Updated link to github pages documentation. - Fix event handler + Fixed link to image or source code in markdown workbook text. - Fix email validation and min and max validator + Updated markdown text to conform strictly to kramdown syntax. -2013-11-09 YNH Webdev +2016-05-27 Jocelyn Fiat - Fix slider + Updated to kramdown markdown syntax (i.e github). Updated various content and nav links. -2013-11-08 YNH Webdev +2016-05-26 Jocelyn Fiat - Fix rendering issue. Add active class + Updated markdown relative links. -2013-11-08 Jocelyn Fiat + Added readme.md in /doc/. And updated workbook readme.md itself. - Fixed issue with unicode login:password Added EIS info Added testing cases. +2016-05-25 Jocelyn Fiat - Updated gewf source code to allow custom settings, and in particular the - location of the templates. Fixed compilation of application launcher, and - make it more flexible. + Removed warning about unknown class in export clause. -2013-11-08 YNH Webdev + updated readme.md to link to workbook. - Adjust layout control and fix navlist +2016-05-20 Colin Adams - Fix autocomplete + Fix for missing error reporting in WSF_PUT/POST_HELPER - Redesign states and implement generated control_name +2016-05-04 Jocelyn Fiat -2013-11-07 jvelilla + Updated HTTP_COOKIE implementation - by default the Cookie does not set max-age and expires, so it defines a Session Cookie. (max_age and expires attributes are not included in the response) - set_* and unset_* features to define max_age and expire attributes. - marked old features as obsolete. Updated test cases. - Updated comments, add DEBUG_OUPUT to JSON_ARRAY. +2016-02-03 Jocelyn Fiat - Fixed normalized line endings + Updated EWF Windows tools to install EWF into EiffelStudio source tree. - Normalize line endings + Removed useless library declarations. -2013-11-06 YNH Webdev +2016-02-02 Jocelyn Fiat - Add stateless widgets + Updated package.iron files. -2013-11-05 severin +2016-01-20 Jocelyn Fiat - Fix Layout Control + Do not html escape ' with ' + reason: the named character reference ' (the apostrophe, U+0027) was introduced in XML 1.0 but does not appear in HTML. Authors should therefore use ' instead of ' to work as expected in HTML 4 user agents. - Added navlist widget +2016-01-18 Jocelyn Fiat - Added WSF_LAYOUT_CONTROL + Eiffel code and ECFs update to support new agent notations. -2013-11-03 YNH Webdev + Added process_transfer to implement process_file. This way, it is easier to redefine the transfert implementation, or the process_file directly, if needed. - Add item alias + Eiffel code and ECFs update to support new agent notations. Removed contrib/library/.../json library. -2013-11-02 severin +2016-01-12 Jocelyn Fiat - Fixed js + Improved error library by refactorying the sync as two way propagation. Now one can setup error handler propagation in one way, or two way (sync). The "reset" applies in both way, even if this is a one way propagation to fit current existing usage. Added optional id for the error handlers. Feature renaming according to design changes. Added related autotest cases. - Added dropdown control + Better EMAIL.message computing. Send end of input file for stdin mode. - Fixed creation procedures (make) +2016-01-08 Jocelyn Fiat -2013-10-30 YNH Webdev + Fixed Reply-To: implementation in notification mailer. Added helper routines to query additional header, and reset Cc:, and Bcc: values. - Fix slider code +2015-12-28 Jocelyn Fiat -2013-10-29 YNH Webdev + Fixed end_of_input by using SOCKET.readable. - Fix path + Removed uuid in wsf_session ecf files. -2013-10-29 severin + Fixed table item output by appending html attribute for WSF widget table item. - Fixed WSF_MULTI_CONTROL (wrong order of subcontrols), completed navbar, - improved slider + Made WSF_TABLE a TABLE_ITERABLE. -2013-10-25 Jocelyn Fiat + Fixed URI mapping with regard to trailing slash handling. - Added content_negotiation to official EWF release. +2015-12-22 Javier Velilla -2013-10-23 Jocelyn Fiat + Updated workbook + Added EWF Deployment title - Removed trimmed_string function and callers, and for now, use - (left_|right_)adjust + Updated workbook + Added deployment document -2013-10-22 jvelilla + Initial commit Deployment file - Reuse trimmed_string from HTTP_HEADER_UTILITIES. Added description to - FITNESS_AND_QUALITY. +2015-11-05 Jocelyn Fiat -2013-10-18 Jocelyn Fiat + removed non void-safe tests.ecf for feeds library - Added content_negotiation in "wsf" library + Comment and code cleaning. - Minor changes in wsf test cases. + Fixed various unicode issue related to query and form parameters. (Especially for the multipart/form-data encoding.) Factorized code related to smart parameters computing (handling list , table, ...) in WSF_VALUE_UTILITIES. Fixed an issue with percent_encoded_path_info computation from request_uri. Fixed issue with cookie addition having same cookie name. Fixed unicode support for uploaded file. WSF_STRING is reusing WSF_PERCENT_ENCODER. Use unicode output for WSF_DEBUG_HANDLER. Code cleaning - Fixed an issue with one short chunk and empty trailer issue#81 +2015-10-19 Jocelyn Fiat - Class renaming for content_negotiation Splitted SERVER_CONTENT_NEGOTIATION in - 4 differents classes for each kind of negotiation Changed to use ITERABLE - over LIST for supported variants arguments Factorized some code for http - parameter parsing such as q=1.0;note="blabla" and so on Integrated within - EWF + Added specific configuration file, so that it is easier to use either libcurl or net implementation. -2013-10-15 Jocelyn Fiat + Fixed timeout issue due to too many "ready_for_reading". Fixed Connection behavior. Fixed Content-Type settings. Removed condition on POST or PUT, since code also applied to any request methods. Added verbose output implementation. - Updated content_negotiation with better class names and feature names. Minor - semantic changes in VARIANTS classes Factorized some code in - HTTP_ACCEPT_LANGUAGE + Added first support for persistent connection in NET http client implementation. Various improvement related to eventual errors. -2013-10-14 Jocelyn Fiat + Updated README.md with configuration topics related to libcurl or net disabling. Fixed ssl test by precising insecure ssl. - Enabled assertion on content_negotiation during autotests The tests project - is now void-safe Using force instead of put_left seems to work fine and is - better for performance, and no need to check for precondition "not before" + Updated a few comments Removed useless NULL_HTTP_CLIENT. Extracted mime code from NET_HTTP_CLIENT_REQUEST.response into specific routine. -2013-09-29 Severin + Added https support with Net implementation. Added notion of default HTTP_CLIENT, to be able to build portable code among http client implementation. - Test + Added null http client for upcoming changes. Refactored NET request implementation. - fixed potential issue with header conflict. - simplified, and extract parts of the code into routine. - Implemented read of chunked Transfer-Encoding - Fixed potential issue with socket handling. First steps to be able to exclude net or libcurl implementation when using http_client lib. Removed from NET implementation the hack related to PUT and upload data (it was used to workaround an issue with libcurl). -2013-09-28 YNH Webdev + Added support for chunked transfer-encoding response. Implemented correctly the redirection support for NET_HTTP_CLIENT... Added the possibility to use HTTP/1.0 . Splitted the manual tests that were using during development. First step to redesign and clean the new code. - Add codeview +2015-10-19 Florian Jacky - Fix load state error + Fixed configuration files - Implement lazy js load wraper + Fixed configuration files - Load needed libraries dynamically + config files -2013-09-27 Severin Münger + correct password for authentication test - Fixed slider + added remaining features -2013-09-27 YNH Webdev + now supports sending requests, receiving headers, receiving message text, redirection, agent header, cookies, basic http authorization, sending data using post using url-encoding, sending file as post as data, sending put data - Create new JSON_OBJECT + implemented http authorization, support for redirection and user-agent -2013-09-25 jvelilla + implemented http authorization, support for redirection and user-agent - Fixed Issue #75 CONNEG doesn't handle accept encodings correcty +2015-10-19 Jocelyn Fiat -2013-09-24 Jocelyn Fiat + Added postcondition to ensure the result of {HTTP_CLIENT_REQUEST}.response is attached. (useless with void-safety compilation, but keep it for non void-safe execution). - Reused string constants from HTTP_HEADER_NAMES + Removed useless redefination of is_equal. - Added WSF_SELF_DOCUMENTED_AGENT_HANDLER and variants for uri, uri_template, - starts_with, ... to provide a way to documentate easily wsf agent handler. + Fixing http_client.ecf file with correct locations. -2013-09-24 Severin Münger + Basic initial Eiffel NET implementation. - Moved to draft + Added skeleton for Eiffel Net implementation of HTTP_CLIENT solution. This is work in progress. - Removed WSF_STATELESS_MULTI_CONTROL +2015-10-14 Jocelyn Fiat - Added slider demo + Added FEED.prune (a_item: FEED_ITEM). -2013-09-24 YNH Webdev +2015-10-10 Jocelyn Fiat - Add table title + Make custom error interface more flexible with READABLE_STRING_... instead of STRING_... - Implement remove +2015-10-09 Jocelyn Fiat -2013-09-23 YNH Webdev + Added feed to xhtml visitor. Updated interfaces, mainly related to date attributes. - Stop interval if deleted +2015-10-08 Jocelyn Fiat - Introduce actions First working modal + Made HTTP_DATE more flexible and support UTC+0000, GMT+0000 and now also +0000. Added comments. -2013-09-22 YNH Webdev + Added FEED + FEED operator to merge two feeds. Added FEED sorting routine. Added FEED_ITEM.link: detachable FEED_LINK that represents the main feed link. Comments. - Set url within page class +2015-10-05 Jocelyn Fiat - Implement control isolation + Fixed compilation of non void-safe feed.ecf - Restructure callbacks +2015-09-16 Jocelyn Fiat -2013-09-22 Severin Münger + Updated a few comments. Renamed generator to follow *_FEED_GENERATOR naming. Renamed feed entry as feed item. Made FEED conforms to ITERABLE [FEED_ITEM] for convenience. - Improved Navbar, changed attribute handling +2015-09-08 Jocelyn Fiat -2013-09-22 YNH Webdev + Improved feed library with comments, bug fixes and code factorization. - Add comments to grid controls +2015-09-07 Jocelyn Fiat -2013-09-21 Severin Münger + Added initial ATOM and RSS feed parser and generator. (work in progress) - Added comments to autocompletion, input, navbar, progressbar, validator, - webcontrol. Some more little changes. +2015-08-26 jvelilla -2013-09-20 YNH Webdev + Removed support for SSLv3 - Fix tuple +2015-08-26 Jocelyn Fiat - Make recommended changes - Implicit casting - Use same_string + Added target "all_stable_with_ssl" to check compilation with ssl enabled. -2013-09-20 jvelilla +2015-08-24 Jocelyn Fiat - Added description to results classes. Removed unnecessary class Clean code: - removed feature out, updated corresponding test cases. + Merge branch 'v1' -2013-09-20 YNH Webdev + Updated installation location of openid and http_authorization in ISE package. Added iron package file for ewsgi. - Rename clusters to singular names +2015-08-06 jvelilla - Move project to wsf_js_widget + Fixed typo: Aug instead of Aou. -2013-09-20 Jocelyn Fiat + Fixed typo: Aug instead of Aou. - Renamed `content_negotation' as `content_negotiation' (fixed typo) Updated - .ecf and Eiffel code depending on previous CONNEG +2015-08-04 Jocelyn Fiat - Minor changes - using http_client library instead of libcurl directly - using - implicit conversion to JSON_STRING to improve code readability - use - ARRAYED_LIST instead of LINKED_LIST .. for performance. - cosmetic .. but - still a lot of feature clauses are missing, comments, assertions ... + Cosmetic true -> True -2013-09-19 jvelilla + Fixing `script_url' that wrongly used `path_info' instead of `percent_encoded_path_info'. (issue on script_url when path info contains unicode character). - Removed http classes related to http expectations. Updated code based on the - code review. Still work in progress + Updated set_value for WSF_FORM_SELECTABLE_INPUT (for example a checkbox). Call the feature set_checked_by_value iff the the current value exist in the list of values, in other case set checked in Flase. If we call set_checked_by_value without filter, previous checked values will be set in False. -2013-09-17 jvelilla + Fixing `script_url' that wrongly used `path_info' instead of `percent_encoded_path_info'. (issue on script_url when path info contains unicode character). - New directory structure (variants, results, parsers) Refactor STRING to - READABLE_STRING_8. Clean code, added documentation and EIS references. + Merge remote-tracking branch 'javier/ewf_html_form' into v1 -2013-09-16 jvelilla +2015-07-31 jvelilla - Renamed CONNEG to content_negotiation. Update MIME_PARSER to use - HTTP_MEDIA_TYPE. + Updated set_value for WSF_FORM_SELECTABLE_INPUT (for example a checkbox). Call the feature set_checked_by_value iff the the current value exist in the list of values, in other case set checked in Flase. If we call set_checked_by_value without filter, previous checked values will be set in False. -2013-09-16 Jocelyn Fiat +2015-07-03 Jocelyn Fiat - Accepts "*" as valid media type (interpreted as */* to be flexible) + Fixed various compilation issues. Ensure the obsolete/v0 ecf has new UUID. - Fixed type having a semicolon in a parameter value such as "text/plain; - param1=%"something;foo=bar%"; param2=%"another-thing%" + Added the possibility to provide the sendmail location in NOTIFICATION_SENDMAIL_MAILER. Added NOTIFICATION_STORAGE_MAILER which allow to store the email in a storage (could be just output, file, database ...) Added SMTP implementation, based on EiffelNet SMTP_PROTOCOL. note: it is possible to exclude this by setting ecf variable "smtp_notification_email_disabled" to "True" this way help to manage dependencies, since the Eiffel Net library would not be included neither. Fixed Date header value computation. - Added autotests to http library in relation with mime type and content type. - Fixed an issue with more than one parameter. +2015-07-02 Jocelyn Fiat -2013-09-16 YNH Webdev + Reverted previous changed related to redefinition of set_status_code which was against existing assertions. - Slow down fetching + Updated eiffelstudio locations for EWF libraries. -2013-09-15 Severin Münger + Fixed WGI_HTTPD_REQUEST_HANDLER.process_rescue Fixed WGI_STANDALONE_OUTPUT_STREAM.is_available Added WGI_STANDALONE_RESPONSE_STREAM.is_persistent_connection_supported - Fixed progressbar +2015-07-01 Jocelyn Fiat - Added progress callback + Merge branch 'v1' of https://github.com/EiffelWebFramework/EWF into v1 -2013-09-15 YNH Webdev + Fixed compilation of all*-safe.ecf files. Corrected a few comments. - Make js files local +2015-06-30 jvelilla - Add all countries to flag list Set encoding (Must be changed to UTF-8 in - future) + Merge branch 'jvelilla-ewf_v1_workbook' into v1 - Rearrange demo Add contact autocompletion + Updated workbook: generating response, handling cookies and headers documents. - Create basepage + Updated workbook form document -2013-09-15 Severin Münger + Updated: workbook headers document. Removed: unnecessary files. - Small changes + Updated Workbook basic documentation. - Added Progress Control + Merge branch 'ewf_v1_workbook' of https://github.com/jvelilla/EWF into ewf_v1_workbook - Included navbar example + Updated basic documentation -2013-09-14 YNH Webdev +2015-06-29 Javier Velilla - Fix change event + Update basics.md - Style demo pages +2015-06-29 jvelilla - Implement repeater + Update basic document - Google news example +2015-06-29 Javier Velilla - - Add event paramenter - Implement Paging control + Update basics.md -2013-09-13 Severin Münger + Update basics.md - Fixed rendering, added navbar + Update workbook.md -2013-09-13 Jocelyn Fiat +2015-06-29 jvelilla - Added PATCH support in http_client, and provided custom_with_upload_data and - custom_with_upload_file. + Update basic document to the new EWF concurrent design - forget about older version of Eiffel cURL +2015-06-22 Jocelyn Fiat -2013-09-13 Severin Münger + Improved code related to cookie management (avoid duplicated cookie). - Small changes/fixes +2015-06-18 Jocelyn Fiat - Small fix removed DOCTYPE + Synchronized wsf-safe.ecf and wsf.ecf - New Control structure +2015-06-17 Jocelyn Fiat -2013-09-13 YNH Webdev + Changed the way SSL is supported with standalone connector (httpd lib). Now by default, SSL is not supported, and if an application wants the SSL support, the related .ecf has to set custom variable "httpd_ssl_enabled" to "true" - Add Grid Widget +2015-06-16 Jocelyn Fiat -2013-09-12 Severin Münger + Updated workbook Eiffel code to follow new EWF concurrent design. - Extended autocompletion with customized templates + Added make_from_execution procedure to ease implementing various use cases. - Autocompletion +2015-06-14 Jocelyn Fiat - Changed structure + Updated ecf from obsolete v0 folder to include the "_v0" suffix in the library names. -2013-09-09 Jocelyn Fiat +2015-06-12 Jocelyn Fiat - Fixing handling of query parameter without value Issue#70 - https://github.com/EiffelWebFramework/EWF/issues/70 + Added wsf_html in the obsolete v0 folder. mostly because it is also dependent on "wsf", so it has to be using the obsolete v0 ecf. -2013-09-08 jvelilla + Simplified file names, and harmonized with estudio wizards. - Moved Selenium web driver to WebDriver-Eiffel repository + Updated EWF estudio wizard. -2013-09-06 YNH Webdev + Updated wizard template ecf to take into account current limitation, or known issue related to libcurl and ssl. - Min/Max validator +2015-06-11 Jocelyn Fiat -2013-09-06 Severin Münger + Made compilable without SSL enabled (i.e when variable named "httpd_ssl_disabled" is set to "true") - Some small changes +2015-06-10 Jocelyn Fiat -2013-09-06 YNH Webdev + Marked most of the *_with_request_methods procedure obsolete by the same feature name without the "_with_request_methods". Added argument passing request methods to feature without the _with_request_methods. Prefer "thread" concurrency for now in examples. - Add HTML control + Added a few example based on the obsolete libraries (v0). Updated the tutorial example. Added WSF_MESSAGE_EXECUTION. -2013-09-06 Jocelyn Fiat + cosmetic, cleaning. - fixed compilation of wsf_extension + Merge branch 'v1' -2013-09-06 YNH Webdev +2015-06-08 Jocelyn Fiat - Implement serverside and client side validatation + Merge branch 'master' into v1 -2013-09-06 Jocelyn Fiat +2015-06-05 Jocelyn Fiat - Added WSF_CUSTOM_HEADER_FILTER which provide a convenient way to add a custom - header from a filter. Added to wsf_extension WSF_DEBUG_FILTER and - WSF_DEBUG_HANDLER that could be convenient to test specific requests - Restructured wsf_extension + Fixed various compilation error or warning. - added policy driven license .lic files +2015-05-29 jvelilla - Added WSF_WIDGET_RAW_TEXT to render text via html encoding. Added - WSF_WIDGET_COMPOSITE.extend_html_text (READABLE_STRING_8) that should replace - the now obsolete "extend_text" Added WSF_WIDGET_COMPOSITE.extend_raw_text - (READABLE_STRING_GENERAL), for text that need to be html encoded during html - rendering. Made WSF_FORM_RAW_TEXT obsolete. + Merge branch 'jvelilla-ewf_wsf_html5' - Used res.put_header_lines (h) rather than res.put_header_text (h.string) + Merge branch 'ewf_wsf_html5' of https://github.com/jvelilla/EWF into jvelilla-ewf_wsf_html5 -2013-09-06 YNH Webdev +2015-05-28 jvelilla - First working checkbox list + Updated code based on comments -2013-09-06 Severin Münger + Updated code based on review - Added checkbox list, modified form validation + Updated code inherit from SHARED_HTML_ENCODER instead of creating new objects. -2013-09-05 Severin Münger + Updated html5 classes based on review - Added validators for decimals and mails +2015-05-22 Jocelyn Fiat - Added Regexp validation (later used for mail, numbers...) + Added WSF_FILE_UTILITIES.new_file (p: PATH): detachable G in order to provide non existing file, but not only for temporary files purpose. -2013-09-05 YNH Webdev +2015-05-21 jvelilla - Fix form and textarea bug + Initial import HTML5 support for attributes and input types. Attributes - Added support for new HTML5 attributes. missing support for : form, list, and multiple attributes. + Input types: added the all the new input types. - Test the new controls + Added test cases, still in progress. -2013-09-05 Severin Münger +2015-05-18 jvelilla - Implemented WSF_CHECKBOX_CONTROL, added id attribute to rendering of - WSF_CONTROL + Moved EWF workbook from ewf_example to EWF main repository. -2013-09-05 YNH Webdev +2015-05-12 Jocelyn Fiat - Fix render function + Added package.iron for nino library. -2013-09-05 Severin Münger + Refactored wsf router dispatching implementation. Now the path to take into account during dispatching is computed once in WSF_ROUTER.path_to_dispatch (req: WSF_REQUEST): READABLE_STRING_8 And this function could be redefined in descendant of WSF_ROUTER. - Restructured validators, fixed form element rendering + improved nino port number validation -2013-09-05 YNH Webdev +2015-05-07 Jocelyn Fiat - Fix render function + Fixed compilation of SSL_TCP_STREAM_SOCKET with recent do_accept changes. -2013-09-05 Severin Münger +2015-05-06 Jocelyn Fiat - Implemented WSF_FORM_ELEMENT_CONTROL + Updated a few comments. - Began with implementation of form handling + Updated readme. -2013-09-05 YNH Webdev + Added abstraction WSF_ROUTED, and WSF_FILTERED. Added under library/server/obsolete/v0 the previous non concurrent friendly version of EWF/WSF, for backward compatiblity. Removed WSF_CALLBACK_SERVICE and WSF_TO_WGI_SERVICE which are not need with new EWF. - Use render tag + Fixed typo. -2013-09-05 Severin Münger + Fixed a typo. - Adapted rendering of multi control + Added a few descriptions and comments. - Changed creation procedures +2015-05-06 jvelilla -2013-09-05 YNH Webdev + Added feature comments. Added missing postconditions. - Change wsf control + Added descriptions and comments -2013-09-04 Olivier Ligot + Added descriptions and feature comments. - Contribute page + Added features comments. -2013-09-03 Severin Münger + Added Missing Class and feature descriptions. Removed author entry. - Added TextArea +2015-05-06 Jocelyn Fiat -2013-09-02 Severin Münger + Export request and response from WGI_EXECUTION to itself. Added WSF_FILTERED_ROUTED_SKELETON_EXECUTION - forgot to add new files + renamed keep_alive_requested as is_persistent_connection_requested. - Added generalized input control similiar to text + Following the spec, use "keep-alive" and "close" in lowercase for Connection header. -2013-08-29 YNH Webdev + Better support for HTTP/1.0 and also related to persistent connection. - Only send changes back to client + Improved support for HTTP/1.0 persistent connection. -2013-08-28 YNH Webdev + Enable support for persistent connections. (test: works fine with curl -k , but weird behavior with ab -k ...) - Add comments Use Precursor + First step to improve a bit error handling related to socket disconnection. Mainly in standalone connector for now. - Clean up code Simplify event + Improved the simple_file example with image, and not found message. Use standalone connector in SCOOP concurrency mode. - Only callback if there is an event attached + Cleaned simple example, and made the standalone target with SCOOP concurrency. - Remove ugly do nothing hack + Updated various indexing notes. Removed a few obsolete classes. Cosmetics - Communication in both directions (Text control) Code regrouping + Added migration note. - Fix multi control Use multi control in example + Migrated most of the example and library to new design. - First working callback + Implemented support for base url in httpd connector. -2013-08-27 Severin Münger + Migrated simple, simple_file and upload_image example. Adapted EWF accordingly. - Added WSF_MULTI_CONTROL to support controls that consist of multiple separate - controls. + Added SCOOP support for WSF. WSF_SERVICE is deeply changed, and addition of WSF_EXECUTION. Todo: code cleaning, removing useless things. - Created first working sample page application. + Support for concurrencies: none, thread and SCOOP -2013-08-27 YNH Webdev + Finally SCOOP supported. - Pretty Print + Experiment to avoid pseudo sequential execution - Add a json state to each control + First attempt to use `{NETWORK_STREAM_SOCKET}.accept_to' - Page structure + First steps to provide a concurrent compliant EWF connector. -2013-08-27 Severin Münger +2015-05-05 Jocelyn Fiat - Created widget-project testapp project. + Renamed a few index.md as README.md -2013-08-21 Jocelyn Fiat + Renamed Home.md as README.md - Updated copyright for policy-driven classes, which is a contribution from - Colin Adams. + Update doc structure, and fixed a few links. -2013-08-20 Jocelyn Fiat + Updated mediawiki and markdown link to local pages, in order to use those files as browseable documentation, and close the github wiki. - Extracted the policy driven classes into their own library for now - "wsf_policy_driven.ecf" Updated the restbucksCRUD example to demonstrate both - approaches. + Merge remote-tracking branch 'ewf_wiki/master' - Moved recent policy-driven classes into "policy" sub folder + update README to add google groups info. - Removed WSF_ROUTING_HANDLER.make_with_router (a_router) It was not used in - existing code, and potentially dangerous, if coder reuses router by accident. +2015-04-07 Jocelyn Fiat -2013-08-16 Colin Adams + Updated code to remove obsolete call on recent version of json library. Updated upload_image example to use PATH instead of DIRECTORY_NAME or similar. Removed unused local variables. - Changed age to max_age + Merge branch 'master' of https://github.com/eiffelhub/json -2013-08-14 Colin Adams +2015-03-20 jvelilla - Further use of constants for execution variables + Merge branch 'jvelilla-ewf_cookie' -2013-08-13 Colin Adams +2015-03-19 jvelilla - Gave symbolic names to execution variables used by the framework + Updated HTTP_COOKIE, enable to add a cookie with empty value. Added feature to check if a date is valid rcf1123 is_valid_rfc1123_date. Added test cases related to valid cookie dates. Updated wsf_response add_cookie basedo on review comments. -2013-08-12 Colin Adams + Updated is_valid_character, using NATURAL_32 as an argument to avoid multiple conversions. Updated add_cookie, added features has_cookie_name and is_cookie line to avoid the use of STRING.split and STRING.start_with. - Added some checks for custom erros being set. +2015-03-17 jvelilla - refactored to allow etags to work properly when multiple representations are - available + Updated HTTP_COOKIE class based on comments. Added missing descriptions in test classes -2013-08-08 Colin Adams + Added the add_cookie feature Added test cases to check cookies in WSF_RESPONSE- Added mock classes use for test cases. - Implemented remaining error response calls +2015-03-13 jvelilla - made deleted into an effective routine + Updated code based on Jocelyn's comments. -2013-08-07 Colin Adams + Added HTTP_COOKIE and test cases. Added WSF_COOKIE class, inherit from HTTP_COOKIE. - Fixes as picked up by code review +2015-03-12 Jocelyn Fiat -2013-08-06 Colin Adams + Completed configuration setting to be compilable with recent changes in EiffelNet / NETWORK_STREAM_SOCKET interface. - restbucksCRUD example changed to use policy-driven framework +2015-03-11 Jocelyn Fiat - Policy-driven URI template handlers + fixed location of before_15_01 folder. - Add CONNEG to wsf*.ecf to support ploicy-driven framework +2015-03-05 Jocelyn Fiat -2013-08-05 Jocelyn Fiat + Removed the -safe since now new project should be void-safe - Enhanced interface of JSON_ARRAY and JSON_OBJECT Added JSON_ITERATOR + moved wizard under tools/estudio_wizard -2013-07-19 Olivier Ligot + moved wizard from tools to helpers - Fix C compilation when using libfcgi connector on OS X (#65) + Updated script to install wizard in current EiffelStudio installation. -2013-07-11 Olivier Ligot + Updated the ewf estudio wizard to have a console and a graphical wizard. Usage: wizard -callback file.cb path-to-rootdir folder. - Tests compile again (fixes #63) +2015-02-18 Jocelyn Fiat -2013-07-05 Jocelyn Fiat + Prepare nino ecf to be compilable with upcoming changes in EiffelNet / NETWORK_STREAM_SOCKET interface. As EiffelNet release is related to EiffelStudio release, the condition "compiler version <= 15.02) is used, which means that before for release 15.01 and previous EiffelStudio releases, the project uses a specific TCP_STREAM_SOCKET, and for upcoming releases, it will use another version of that class). (see rev#96640 from eiffelstudio subversion repository) - Moved gewf under draft/src/gewf + Prepare nino ecf to be compilable with upcoming changes in EiffelNet / NETWORK_STREAM_SOCKET interface. (see rev#96640 from eiffelstudio subversion repository) - licensing and copyright +2015-01-08 Jocelyn Fiat - First working (but limited) tool + Fixed implementation of JSON_PARSER.is_valid_number (STRING): BOOLEAN - Added first attempt to provide a application builder. For now only trying to - have a generic template. Do not expect anything working for now, this is - just the start of a draft +2014-12-02 Jocelyn Fiat -2013-07-02 Jocelyn Fiat + Updated install_ewf.bat to use the new "ecf_tool" from https://svn.eiffel.com/eiffelstudio/trunk/Src/tools/ecf_tool . - Moved the cms component to https://github.com/EiffelWebFramework/cms This is - now out of EWF repository. + Added more test cases for cookies. -2013-06-28 Jocelyn Fiat + Completed change on debug handler and filter, to use WSF_DEBUG_INFORMATION. - Improved Unicode support. +2014-12-01 Jocelyn Fiat - Ensured that EWF compiles with 7.2 (note about ecf version 1-10-0 - void_safety="all" <--> 1-11-0 void_safety="transitional" 1-10-0 - void_safety="all" <--- 1-11-1 void_safety="all" ) + Merge branch 'fix_cgi_value' of github.com:jocelyn/EWF -2013-06-18 Jocelyn Fiat + Added assertions on router helpers, and also agent handler. Closes issue #159 - Removed wsf_support, which is useless and unused +2014-11-28 Jocelyn Fiat -2013-06-17 Jocelyn Fiat + Fixing issues related to status code. - Updated ecf file as workaround to make autotest works fine. + Better code for restbucks ORDER_HANDLER related to allowed_cross_origins and last_modified. -2013-06-13 Jocelyn Fiat +2014-11-25 Jocelyn Fiat - Added notification_email library as official EWF lib. + Fixed compilation of restbucks example using the policy driven framework. - Unicode support for notification_email library + WSF_TRACE_RESPONSE should include "Content-Type: message/http" header Close issue #145 -2013-06-12 Jocelyn Fiat +2014-11-24 Jocelyn Fiat - Removed a few obsolete usages, and benefit from new classes from EiffelStudio - >= 7.2 + Fixed issue#157 (WSF_REQUEST.cookies_table does not terminate on cookies without a value, or ending with semi-colon) Added related autotest. - Updated WGI specification to ease future migration to unicode support. Use - STRING_TABLE, and better interface of READABLE_STRING_GENERAL, this way the - signature are more flexible for unicode keys. Note that for now, unicode - environment variables are not correctly supported in WGI especially the value - of the variables. Any layer on top of EWGSI suffers from the same issues. - Better exception handling + code cleaning +2014-11-19 Colin Adams - minor optimization avoiding to create temporary string that might be big + Added {WSF_REQUEST}.http_content_encoding - Updated CMS support for unicode. + Issue #154 (documentation error in {WSF_SKELETON_HANDLER}.check_request) - Better support for unicode path and values. Added - WSF_REQUEST.percent_encoded_path_info: READABLE_STRING_8 to keep url encoded - path info, as it is useful for specific component The router is now using - WSF_REQUEST.percent_encoded_path_info since URI_TEMPLATE are handling URI - (and not IRI) this fixes an issue with unicode path parameters. This should - not break existing code, and this fixes various unicode related issues - related to PATH parameter and path info but also any component using file - names. (required EiffelStudio >= 7.2) +2014-11-18 Colin Adams -2013-06-12 Olivier Ligot + issue #149 (Simple CORS support for GET requests in policy-driven framework) - Rename notification to notification_email + Issue #150 (VARY header set to header contents rather than heqader name) - Extract notification library from the CMS draft application The new library - is located in library/runtime/process/notification. This allows to use it - apart from the CMS. + Issue #144 (Add last_modified to WSF_SKELETON_HANDLER) -2013-06-11 jvelilla +2014-11-17 Jocelyn Fiat - merge + Merge pull request #148 from colin-adams/response-code-411 + Policy-driven framework should reject PUT requests that contain a Content-Range header + + Close Issue #143 -2013-06-07 Jocelyn Fiat +2014-11-17 Colin Adams - Fixed various void-safety issue with recent compilers. Note that EWF does - now require EiffelStudio 7.2, and is compiling with 7.3 + Issue #143 -2013-05-29 jvelilla +2014-11-17 Jocelyn Fiat - Added command POST /session/:sessionId/modifier Initial implementation of - KeyBoard. Added Mouse class, but not implemented. + Reintroduced parse_object as obsolete, to avoid breaking existing code. -2013-05-28 Jocelyn Fiat + Converted ecf file to complete void-safe. Improved JSON_PRETTY_STRING_VISITOR to support STRING_8 or STRING_32 output. Added examples. Added doc in the folder "doc". Updated Readme and other files. Added package.iron file. - Added WSF_REQUEST.read_input_data_into_file (FILE) +2014-10-28 Jocelyn Fiat -2013-05-22 jvelilla + Updated WSF_FILE_UTILITIES with class comment, and avoid having expanded generic class. - Updated command_executor Added more examples. +2014-10-10 Jocelyn Fiat -2013-05-20 jvelilla + Fixed compilation issue for wsf_js_widget package. - Update find element examples. Improved command executor + Fixed compilation for wsf tests. -2013-05-18 jvelilla + fixed compilation of filter example. - Added new selenium locator examples. Fixed find_elements in WEB_DRIVER. +2014-10-03 Jocelyn Fiat -2013-05-14 jvelilla + Merge pull request #11 from jocelyn/improved_sept_2014 + Fixed various issue with parsing string (such as \t and related), + Implemented escaping of slash '/' only in case of ' + Many feature renaming to match Eiffel style and naming convention, kept previous feature as obsolete. + Restructured the library to make easy extraction of "converter" classes if needed in the future. + Marked converters classes as obsolete. + Updated part of the code to use new feature names. + Updated license and copyright. + Updated classes with bottom indexing notes related to copyright and license. - Move expectation classed under a expectation cluster, added a new expectation - class for header. +2014-10-03 Jocelyn Fiat - Added examples find by id, name and class. + Ensure backward compatibility for `parse' / `is_parsed'. -2013-05-13 jvelilla +2014-10-01 Jocelyn Fiat - Updated selenium WEB_DRIVER_WAIT, the feature until_when now use a predicate. - Updated the related example. + Merge pull request #140 from jvelilla/ewf_router + Updated WSF_ROUTER, to import an existing router definition. -2013-05-10 jvelilla +2014-09-30 Jocelyn Fiat - Initial implementation of HTTP RESPONSE EXPECTATIONS. Added a class to test - http client with httpbin.org and expectations + Marked converters classes as obsolete. -2013-05-08 jvelilla + Updated license and copyright. Updated classes with bottom indexing notes related to copyright and license. - Updated WEB_DRIVER_WAIT class, still need to be improved. Updated Readme and - the example +2014-09-24 Jocelyn Fiat -2013-05-03 jvelilla + Fixed various issue with parsing string (such as \t and related), Implemented escaping of slash '/' only in case of ' Many feature renaming to match Eiffel style and naming convention, kept previous feature as obsolete. Restructured the library to make easy extraction of "converter" classes if needed in the future. Updated part of the code to use new feature names. - Improve the example, Added a new class WEB_DRIVER_WAIT, still under - development. Update web driver, to define time outs. +2014-09-18 Olivier Ligot -2013-04-30 jvelilla + Fix filter example: logging filter must be the last one - Added a simple search example. Updated web_driver, use the API as delegation - instead of inheritance. Updated web_element class. +2014-09-17 Olivier Ligot -2013-04-29 jvelilla + Filter example: add fcgi target - Created new classes to represent a web driver. Added Examples, clean code + Fix authentication filter: use {HTTP_AUTHORIZATION}.is_basic -2013-04-24 jvelilla +2014-09-12 jvelilla - Completed low level methods, clean code. + Updated WSF_ROUTER.import feature. - Implemented more commands from REST API JSONWireProtocol Refactor - COMMAND_EXECUTOR. +2014-09-10 jvelilla -2013-04-23 jvelilla + Updated WSF_ROUTER, to import an existing router definition. - Added more command from JSONWireProtol. +2014-07-11 Olivier Ligot - Added more commands from the JSONWireProtocol. + Merge remote-tracking branch 'upstream/master' -2013-04-22 Jocelyn Fiat +2014-07-08 jvelilla - added header helper feature in the context interface added - HTTP_CLIENT_SESSION.custom (...) to support any kind of request methods + Merge pull request #9 from Conaclos/working + Apply pretty tool. -2013-04-22 jvelilla +2014-07-07 Jocelyn Fiat - Added new classes, implemented more methods from JSONWireProtol API. Added - test cases + Merge pull request #139 from jocelyn/widget_integration + Added custom-template in examples, as a base template to integrate easily other JS widgets. -2013-04-17 Colin Adams +2014-07-07 Jocelyn Fiat - Made changes requested in review + Added custom-template in examples, as a base template to integrate easily other JS widgets. Added custom example (based on custom-template project) that demonstrates how to integrate a thirdparty JS component such as d3 within the application using wsf_js_widget. + Removed various unecessary ecf dependencies. -2013-04-17 jvelilla + Improved comment related to PATH_INFO and stripping multiple slashes sequence to single slash. - Fixed errors in navigate_to_url command, Fixed url templates in - json_wire_protocol_command. Added test cases to AutoTest +2014-07-07 Jocelyn Fiat -2013-04-16 jvelilla + Merge pull request #138 from jocelyn/widget_integration + Integrated WSF_JS_Widget library provided by Yassin Nasir Hassan and Severin Munger as an ETH student project. + It was updated to better support Unicode, and other minor changes, this is still under "draft" folder, as it may need various modifications on the interface and implementation. - Fixed feature typo, improved commands, added AutoTest +2014-07-07 Jocelyn Fiat -2013-04-15 jvelilla + Fixed compilation issue related to old usage of modified JSON library. - Updated RestAPI commands + Merge branch 'master' of github.com:EiffelWebFramework/EWF into widget_integration -2013-04-13 Colin Adams + Move wsf_js_widget library under draft/library/server/wsf_js_widget - If-Match implemented in skeleton handler +2014-07-04 Conaclos - If-Match implemented in skeleton handler + Apply pretty print tool. + Apply on each class in test suite and library. -2013-04-12 jvelilla +2014-07-04 jvelilla - Fixed configurations paths + Merge pull request #8 from Conaclos/working + Tests - Update syntax and improve implementation - Initial import Selenium binding +2014-07-02 Jocelyn Fiat -2013-04-11 Jocelyn Fiat + Replace any multiple slash sequence by a single slash character for PATH_INFO. - Fixed HTTP_CLIENT_RESPONSE when dealing with redirection before it was - storing some header in the body. now we added redirections: .. which is a - list of redirection informations: - status line - header - and eventual - redirection body (but at least by default, libcurl does not cache body) - Enhanced the http_client library to be able to write directly the downloaded - data into a file (or as convenient thanks to agent). +2014-07-01 Jocelyn Fiat -2013-04-11 Colin Adams + Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER. - Fixed bug in 32/8 bit string existance + Fixed various issues related to unicode and CGI variables (assuming that CGI variables are utf-8 encoded, and sometime percent encoded). Delayed computation of `value' and `name' from WSF_STRING. Fixed computation of REQUEST_URI when the server does not provide it (this is rare, but possible). compute it as SERVER_NAME + encoded-PATH_INFO + {? + QUERY_STRING} - Handle Precondition Failed for If-Match: * where there is no handler for the - resource +2014-07-01 jvelilla -2013-04-10 Jocelyn Fiat + Update format - Fixed HEAD request related issue see - https://github.com/EiffelWebFramework/EWF/issues/53 + Created Deployment (markdown) -2013-04-05 Jocelyn Fiat +2014-06-30 Conaclos - Cosmetic fixed various indentations Removed useless dependencies for - ewf_ise_wizard project. + Add documentation and contracts for domain types. -2013-03-30 Jocelyn Fiat + Improve converters. + Replace old syntax with new one and improve + implementation. - fixed name of file with class name + Syntax update. + Replace assigment attempt with object test. -2013-03-29 Jocelyn Fiat +2014-06-30 Jocelyn Fiat - reuse implementation from WSF_REQUEST to get input data for MIME handlers. + Verbose mode for the WSF_DEBUG_HANDLER. - Fixed MIME multipart form data handler And use content-length value if - provided. + Fixed error introduced during refactorying on WSF_DEBUG_FILTER - be sure we got the full content same as content length + Improved the debug example, so that it outputs more information. -2013-03-27 Colin Adams + Ensure that PATH_INFO and REQUEST_URI are following the CGI specifications: - PATH_INFO is percent decoded but still utf-8 encoded, this is available via WGI.path_info and WSF_REQUEST.utf_8_path_info. - Added WSF_REQUEST.percent_encoded_path_info - and WSF_REQUEST.path_info remains the unicode value for PATH_INFO + Added cgi_variables: WGI_REQUEST_CGI_VARIABLES to have a simple and quick view on CGI variables + Added execution_variables to be able to iterate on execution variables. + Added PERCENT_ENCODER.percent_decoded_utf_8_string + Improved the WSF_DEBUG_HANDLER to provide more information thanks to WSF_DEBUG_INFORMATION object. - First attempt at WSF_HTTP_PROTOCOL_VERSION +2014-06-23 Jocelyn Fiat -2013-03-27 Jocelyn Fiat + Merge pull request #133 from jocelyn/better_uploading_file + Improved the uploading of file in regard to temporary filename. - Removed WSF_URI_*_ROUTER_HELPER and use instead the - WSF_URI_*_HELPER_FOR_ROUTED_SERVICE (the removed class were not in latest - release, so this is safe to use the new name) Cosmetic +2014-06-23 Jocelyn Fiat -2013-03-27 Colin Adams + Raised the void-safety level to "complete" Added comments. - Further changes in response to review comments by Jocelyn +2014-06-12 Jocelyn Fiat - now all-safe.ecf compiles again + Fixed library location for http -2013-03-27 Jocelyn Fiat + Avoid decoding PATH_INFO and PATH_TRANSLATED to follow CGI spec. - added wsf_html for (un)installation + Added example to help debugging EWF This is mainly a kind of echo server .. that return the request information. - Updated all-safe.ecf (add all-stable-safe.ecf that includes only the library, - examples and specific draft lib) +2014-06-11 Jocelyn Fiat -2013-03-27 Colin Adams + Improved the uploading of file in regard to temporary filename. Avoid to overwrite the same file for concurrent requests uploading the same filename. - openid demo fixed +2014-05-22 Olivier Ligot -2013-03-26 Colin Adams + Merge remote-tracking branch 'upstream/master' - merging from upstream - stage 4 +2014-05-14 Jocelyn Fiat - Use class URI + Merge pull request #131 from jocelyn/void-safe + Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11 -2013-03-26 Jocelyn Fiat +2014-05-14 Jocelyn Fiat - Moved more components from CMS to wsf_html. This includes WSF_PAGER, and - feature in WSF_THEME .. including WSF_API_OPTIONS used to compute url and - link. + Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11 -2013-03-25 Jocelyn Fiat + Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11 - Added self doc to the wsf file system handler Allow to hide the wsf file - system handler from self documentation Better description format handling for - the self doc + Merge branch 'master' into void-safe -2013-03-22 Jocelyn Fiat + Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11 - added wsf_html-safe.ecf to all-safe.ecf +2014-05-14 Jocelyn Fiat - Extracted the WIDGET and FORM classes out of "cms" component and build the - wsf_html library which also include the previous css lib. + Merge pull request #128 from jocelyn/response_header + Extracting HTTP_HEADER_BUILDER from HTTP_HEADER + Improving wsf session usage + Various unicode related improvement for router and error library. - Fixed default status code for redirection response message object. +2014-05-14 Jocelyn Fiat - Fixed assertion that were broken with recent delayed header response. Changed - semantic of put_header_lines and add_header_lines, Now the arguments are - iterable of string (i.e the header line) The previous features were not - used, and were not well named. So we removed them, and reused the names for - adpated implementation. + Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8. - Fixed self documentation when querying documentation related to a specific - resource (uri, uri-template, ..) Before it was showing only the first found - so if we had "/foo" GET -> FOO_GET_HANDLER "/foo" POST -> FOO_POST_HANDLER It - was showing only the first, now this is working as expected. + Apply recent change on error_handler interface to support unicode error message in response. - Moved the *_CSS_* class in their own (draft) library, since they are not CMS - specific. + Support for unicode error message for the ERROR_HANDLER.as_string_representation: STRING_32 and as well for debug_output, this avoid unecessary unicode string truncation. -2013-03-21 Jocelyn Fiat + debug_output can return a string 32, so avoid truncated unicode value by returning a string 32 value for `debug_output' . - Fixing feature comments + check that cookies data is valid string 8 to follow assertions. - Removed WSF_AGENT_HANDLER since it was an artificial notion, as we have no - common ancestor for WSF_HANDLER having execute (req: WSF_REQUEST; res: - WSF_RESPONSE) + Replaced notion of session uuid by session id which is more generic (could be a uuid, or something else). Use STRING_TABLE for the implementation of session data container. Added a few missing comments. - Now WSF_FILTER_HANDLER is a handler and has formal generic G constrained to - WSF_HANDLER This eases implementation of potential descendants. + Added comment to explain why conversion to string 8 is safe - Introduced WSF_ROUTER_SESSION This fixes CQS violation from - WSF_ROUTER.dispatch_and_return_handler (...): ? WSF_HANDLER and related code, - and this is more compliant with concurrency. In addition, the - WSF_ROUTER_SESSION can be enhanced in the future to answer more advanced - needs. + renamed HTTP_HEADER_BUILDER as HTTP_HEADER_MODIFIER - Fixed WSF_FILE_RESPONSE and WSF_DOWNLOAD_RESPONSE and set the status code to - be Ok by default +2014-04-22 Jocelyn Fiat -2013-03-19 Jocelyn Fiat + Updated ecf files toward complete void-safety Added iron package files. Added libfcgi files to compile .lib and .dll on Windows - mimic design of WSF_ROUTED_SERVICE for WSF_FILTERED_SERVICE and update the - filter example to make it simpler and reuse code. + Added more tests for uri-template matching, especially with url that contains %2F i.e the percent encoded slash '/' - updated install and uninstall scripts + Fixed various Unicode text handling. Moved example folder inside the library, and renamed it "demo" Improved example code. - added WSF_..._ROUTER_HELPER and made the previous WSF_..._ROUTED_SERVICE - obsolete + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki - WSF_CORS_OPTIONS_FILTER should not inherit from WSF_URI_TEMPLATE_HANDLER + Merge branch 'master' of https://github.com/eiffelhub/json - Moved all *_CONTEXT_* router related classes into wsf_router_context.ecf - library This makes wsf simpler to discover. And advanced context enabled - handler, mapping, ... are still available for now in wsf_router_context.ecf - library + Added support for UTF-8 during decoding. The JSON specification does not require it, but some json encoders are using utf-8 encoding for json encoding. Added related autotest case. -2013-03-18 Jocelyn Fiat + Be sure to reset `is_https' to False, in case the wsf_request object is reused by the implementation. - Added deferred WSF_AGENT_HANDLER Added WSF_NOT_IMPLEMENTED_RESPONSE + is_https should not rely on REQUEST_SCHEME which may still be "http" for SSL connection. -2013-03-18 Colin Adams + better comments. - refactored for WSF_ROUTED_SKELETON_SERVICE + Corrected support of https request in `server_url' (and callers). Added query `is_https' to indicate if the request is done via a https connection or not. - prior to refactoring for WSF_ROUTED_SKELETON_SERVICE +2014-04-17 Jocelyn Fiat -2013-03-17 Colin Adams + Updated Documentation__Request (markdown) - implemented OPTIONS * except for Allow header + Updated Documentation__Request (markdown) -2013-03-16 Colin Adams + Updated Documentation__Request (markdown) - Implemented 414 and 503 responses on WSF_ROUTED_SERVICE +2014-04-10 Jocelyn Fiat - Implemented 503 and 414 responses in WSF_ROUTED_SERVICE + Added an example to embed EWF nino service into a Vision2 desktop application. This is locally consumed via the embedded web browser component. -2013-03-15 Colin Adams +2014-04-09 Jocelyn Fiat - Sixth round of contracts for non-Void-safe users + Updated encoder library, especially URL encoders to reuse implementation of percent_encoder.e Fixed JSON_ENCODER for %T and related. Updated related autotest cases. - Fifth round of contracts for non-Void-safe users + Moved implementation of WSF_PERCENT_ENCODER into "encoder" library, and added the *partial* variant. -2013-03-15 Olivier Ligot + Improved BASE64 to update has_error when decoding. Added manual tests. - Use new upstrem method put_header_key_values + fixed code for test_url_encoder -2013-03-15 Colin Adams + Do not try to read more bytes from input than provided Content-Length value. - Third iteration of contracts for non-Void-safe users + For maintenance filter, response with http status code {HTTP_STATUS_CODE}.service_unavailable -2013-03-14 Colin Adams + Fixed all-stable-safe.ecf fusion - Further contracts for non-Void-safe users + Fixing JSON encoding code to include among other TAB (%T <-> \t) - Response to comments from review "Contracts for non-Void-safe users (take 1)" +2014-04-08 Jocelyn Fiat - Added non-Void contracts for classes previously flagged by AutoTest + Fixed issue with URL_ENCODER encoding (and small optimization) -2013-03-08 Jocelyn Fiat +2014-04-02 Jocelyn Fiat - Made it compilable with 7.1 + Updated Documentation__Request (markdown) - Factorized code for checkbox and radio input. Renamed `text' and similar to - `title' and similar + Updated Documentation__Request (markdown) - adding back missing uri template library + Updated Documentation__Request (markdown) - Added support for OpenID identity Added user roles management Improvement - CMS_HOOK_FORM_ALTER design. Factorized code into CMS_WIDGET_COMPOSITE Use - general notion of CMS_WIDGET (and CMS_FORM allows CMS_WIDGET, and not just - CMS_FORM_ITEM) Fixed various CMS_WIDGET traversal, and fixed related issue - for CMS forms Fixed CMS_FORM_CHECKBOX_INPUT when no value was set. Added - CMS_FORM_DATA.cached_value .. to pass computed values during validation to - submit actions (mainly for optimization) Added support for @include=filename - in CMS_CONFIGURATION Added CMS_WIDGET_TABLE as filled version of - CMS_WIDGET_AGENT_TABLE (renamed from previous CMS_WIDGET_TABLE) Many - improvements to the CMS_FORM design Some improvements to CMS_MODULE ... +2014-03-26 Jocelyn Fiat - Use the advanced SED storable to store data on disk (rather than the runtime - storable) + Code improvement Cosmetic (comments, names, formatting) -2013-03-05 Jocelyn Fiat +2014-03-19 hassany - Added WITH_HTML_ATTRIBUTE + Fix STRING_32 issues -2013-03-01 Jocelyn Fiat + Add javascript function - added the notion of site identifier "site.id" (typically this could be a - UUID) +2014-03-19 severin - Also take into account sublink's permission + Updated readme -2013-02-28 Jocelyn Fiat + Added more comments and assertions to all classes; clean up - added CMS widgets demonstration in DEMO_MODULE +2014-03-18 Jocelyn Fiat - add CMS_WIDGET_... to ease html page development. + Added alias "[]" to `item', to get header value for a header name. Added assigner for `item' to make it easier to add header item without confusing key and value. Better parameter names (more explicit) - improved CMS_CSS_STYLE and WITH_CSS_STYLE +2014-03-17 Jocelyn Fiat - Move draft\library\security\openid under library\security\openid + Added comments, used better parameter names. - Made it also compilable with compiler < 7.2 + Extracting HTTP_HEADER_BUILDER from HTTP_HEADER to provide useful interface on WSF_RESPONSE, and make WSF_SESSION easier to use. - Added a version of ISE Library URI modified to be compilable with compiler < - 7.2 Fixed openid when redirection is involved Fixed Openid Attribute Exchange - implementation (AX) Added WSF_REQUEST.items_as_string_items: ... for - convenience, and ease integration with other components (such as the new - openid) +2014-03-13 Jocelyn Fiat - updated relative path + Updated demo_basic example to be easier to read, and demonstrate various scenario. -2013-02-27 Jocelyn Fiat +2014-03-12 hassany - OpenID consumer implementation REQUIRES EiffelStudio 7.2 + Extend documentation - First version of OpenID consumer (light implementation) +2014-03-12 severin - Added a way to call a callback on launched and stopped for Nino connector + Updated comments and added contracts for core controls in webcontrol - Provided a way to report cURL error code back to http_client, via - HTTP_CLIENT_RESPONSE + Merge branch 'widget' of github.com:ynh/EWF into widget - Provided `url_encoded_name' on the WSF_VALUE interface +2014-03-12 hassany -2013-02-26 Jocelyn Fiat + Add file definition - Use append_to_html rather than function to_html: STRING this is mainly to - avoid creating useless intermediary strings. +2014-03-05 severin -2013-02-21 Jocelyn Fiat + Added assets to library - Added functionalities to CMS_FORM_.. classes + Merge branch 'widget' of github.com:ynh/EWF into widget -2013-02-20 Jocelyn Fiat + Simplified WSF_EMAIL_VALIDATOR regexp - Fixing various form urls, that was not taking into account base url +2014-03-05 YNH Webdev -2013-02-19 Jocelyn Fiat + Rename WSF_FILE to WSF_FILE_DEFINITION - Fixed absolute url computing for CMS + Add Basepath - Code cleaning and use HTTP_DATE instead of duplicating code. + Change STRING TO STRING_32 -2013-02-15 Jocelyn Fiat +2014-03-03 Jocelyn Fiat - Now the cms.ini resolves variable ${abc} ... and key is case insensitive + Update README.md - keep compilable with EiffelStudio <= 7.1 +2014-03-03 Olivier Ligot - Refactorying the CMS component, to have an effective CMS_SERVICE, and setup - as CMS_SETUP. This way the application is much simpler, no need to implement - deferred feature of CMS_SERVICE. + json: comment '* text=auto' in .gitattributes -2013-02-14 Jocelyn Fiat +2014-03-03 Jocelyn Fiat - Now also display sublinks if link is expanded. Updated theme + Added a demo application server for basic http autorization - Fixed register and new password link when the CMS's base dir is not the root - / +2014-02-28 Jocelyn Fiat - Improve CMS_LINK to easily add children + Removed usage of remote anchor types. -2013-02-05 Jocelyn Fiat +2014-02-27 Jocelyn Fiat - added CMS_FORM_SELECT.select_value_by_text + added anchor link for wiki and jekyl engine - remove unwanted console output + used instead of form (jekill has trouble with it) -2013-02-04 Jocelyn Fiat +2014-02-27 Jocelyn Fiat - Reviewed initialization and usage of various CMS_SERVICE urls + Merge branch 'master' of https://github.com/eiffelhub/json - more flexible permission control system ... + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki - Updated CMS experimental component Fixed various issues with fieldset or - similar not traversed +2014-02-26 YNH Webdev -2013-01-31 Jocelyn Fiat + Rename progress_source - Fixing global EWF compilation +2014-02-24 Jocelyn Fiat - Updated CMS code. Separated code to have a lib and an example. Improved - design, fixed a few issues related to folder location. This is still - experimental and require more work to be really friendly to use. + Fixed autotests cases compilation of http_authorization library. - Added ANSI C date time string format support in HTTP_DATE. + Fixed the ecf to test global compilation of EWF. - Fixed HTTP_DATE for GMT+ offset (integer value) +2014-02-23 YNH Webdev - Added HTTP_DATE to ease http date manipulation and optimize code rather than - using EiffelTime's code facilities. Added autotests to `http' lib. + Add class description to validators Rename Wsf_progresssource -2013-01-23 Jocelyn Fiat + Extend upload demo - Removed eel and eapml contrib/library from EWF Since there are available from - $ISE_LIBRARY + Fix state transition -2013-01-23 Olivier Ligot +2014-02-21 severin - Use execution_variable instead of context This is mainly to be compatibe - with other classes API. In a lot of classes, we define methods like this: - ```Eiffel method (req: WSF_REQUEST; res: WSF_RESPONSE) do ... end ``` With - the context, the signature becomes: ```Eiffel method (ctx: C; req: - WSF_REQUEST; res: WSF_RESPONSE) do ... end ``` So, I can't build a filter - chain where one filter is with context and one is without context (I can't - call WSF_FILTER.set_next (a_next: WSF_FILTER) with a filter that is a - descendant of WSF_CONTEXT_HANDLER). Moreover, having to play with generic - types just to pass some data from one filter to another is a bit overkill - imho. Because this is really what I use contexts for: to pass data from one - filter to the next one. Regarding execution_variable and strong typing, if - we want to achieve these, I realize we could write a class with one getter - and one setter like this: ```Eiffel class TYPED_DATA feature -- Access - user (req: WSF_REQUEST): detachable USER do if attached {USER} - req.execution_variable ("user") as l_user then Result := l_user end end - feature -- Element change set_user (req: WSF_REQUEST; a_user: USER) do - req.set_execution_variable ("user", a_user) end ``` Now, I realize this is a - major change since the last time we talked about this, but at the end, after - having played with both, I prefer the one with execution_variable. + Began with class documentation -2013-01-09 Olivier Ligot +2014-02-11 colin-adams - Cross-Origin Resource Sharing initial support Initial support for the - Cross-Origin Resource Sharing specification. This allows JavaScript to make - requests across domain boundaries. Also reviewed the filter example to get - rid of the context and the generic classes (we can actually use - {WSF_REQUEST}.execution_variable and {WSF_REQUEST}.set_execution_variable). - Links: * How to enable server-side: http://enable-cors.org/server.html * - Specification: http://www.w3.org/TR/cors/ * Github: - http://developer.github.com/v3/#cross-origin-resource-sharing + Removed warning about not being part of release. -2012-12-22 Jocelyn Fiat +2014-02-03 Jocelyn Fiat - Added http_authorization which is now needed by example filter. + Updated Home (markdown) - minor changes +2014-02-03 Jocelyn Fiat -2012-12-20 Jocelyn Fiat + Udated to highest level of void-safety. Fixed obsolete calls. - added WSF_SUPPORT.environment_item +2014-01-27 Jocelyn Fiat - Added is_available on HTTP_CLIENT_SESSION mainly to check if libcurl is - available. + Updated README.md - Avoid calling ANY.print, prefer io.error.put_string Fixed obsolete calls. +2014-01-26 YNH Webdev - Added support for server_name in nino, and openshift + Finalize WSF_DYNAMIC_MULTI_CONTROL - Added support for server name + Add dynamic multicontrol - updated conneg .ecf +2014-01-25 YNH Webdev - Added openshift connector classes (for experimentation) + Image preview - Added comment to self documentation features + Fix upload state -2012-12-19 Jocelyn Fiat +2014-01-24 Jocelyn Fiat - Added a few library_target to .ecf to be able to build the tests/all-safe.ecf - that enables us to check quickly the compilation state of EWF, and also - perform refactorying over many projects. + Update restbucksCRUD example to use "crypto" library rather than "eel". Updated readme.md to add curl command to test the server. - Breaking changes: added `a_request_methods' argument to - WSF_ROUTER_SELF_DOCUMENTATION_HANDLER.mapping_documentation added similar - argument to WSF_ROUTER_SELF_DOCUMENTATION_ROUTER_MAPPING.documentation - Renamed WSF_ROUTER_METHODS as WSF_REQUEST_METHODS Enhanced - WSF_REQUEST_METHODS with new has_... function Added WSF_ROUTER_VISITOR and - WSF_ROUTER_ITERATOR that may be useful to iterate inside the router. we may - improve the implementation of the router using those visitors in the future. - Improved the WSF_DEFAULT_RESPONSE to embedded suggested items (typically - based on pseudo self documented router) + Added PUT processing for image_uploader EWF example. - Fixed issue in WSF_REQUEST.read_input_data_into when the content is zero - Cleaned the WGI_CHUNKED_INPUT_STREAM and provides access to last extension, - last trailer, ... Improved WSF_TRACE_RESPONSE to support tracing chunked - input back to the client. +2014-01-12 jvelilla - Fixed WSF_RESPONSE chunk transfer implementation and also the optional - extension `a_ext' should now include the ';' Now HTTP_HEADER is an ITERABLE - [READABLE_STRING_8] + Udated to highest level of void-safety. Fixed obsolete calls. - Fixed various assertions. Improved autotests Added target 'server' to be able - to run the server outside the test process. +2014-01-11 severin -2012-12-18 Jocelyn Fiat + Merge branch 'widget' of github.com:ynh/EWF into widget - Fixed reading chunked input data When retrieving data block by block, use - 8_192 instead of 1_024 (since 1_024 is too small most of the time) +2014-01-11 YNH Webdev - Added logger response wrapper, this is mainly to be able to save any response - message to a file. (debugging purpose) + Add set value to value controls - Added basic support for "Expect" http header i.e: WSF_REQUEST.http_expect: - detachable READABLE_STRING_8 Added WSF_REQUEST.request_time_stamp: - INTEGER_64 +2014-01-11 severin -2012-12-14 Jocelyn Fiat + Included time library to set current date in date picker - Added WSF_DEFAULT_*_RESPONSE Fixed the method not allowed by setting the - Allow: header +2014-01-10 severin -2012-12-13 Jocelyn Fiat + Added ability to form element to get value (for convenience/completion) - removed unused local variables +2014-01-08 severin - added code that may be used to avoid breaking compatibility with new Eiffel - Studio 7.2 This is experimental for now. + Added ability to show/hide border of form elements - Added to WSF_REQUEST - raw_header_data: like meta_string_variable - - read_input_data_into (buf: STRING) - is_content_type_accepted - (a_content_type: READABLE_STRING_GENERAL): BOOLEAN Changed raw_input_data to - return IMMUTABLE_STRING_8 Added WSF_METHOD_NOT_ALLOWED_RESPONSE Added - WSF_TRACE_RESPONSE to respond TRACE request Now Not_found response return - html content if the client accepts, other text/plain Implemented TRACE - response, and Method not allowed as implementation of - WSF_ROUTED_SERVICE.execute_default + Small change on date picker control, removed date input - Added missing "context" classes for uri and starts_with mapping+handler (and - helper classes). So that it is address more needs. Factorized code between - "context" and non context classes. +2014-01-07 jvelilla -2012-12-11 Colin Adams + Merge pull request #127 from jvelilla/master + Fixed error with identity encoding. - Actioned Jocelyns comments re. a_req and a_res + Fixed error with identity encoding. -2012-12-10 Olivier Ligot +2014-01-07 Jocelyn Fiat - Fix {JSON_OBJECT}.hash_code implementation Don't call - {HASH_TABLE}.item_for_iteration when {HASH_TABLE}.off Use {HASH_TABLE}.out - instead + Created Documentation__Connector (markdown) -2012-12-10 Jocelyn Fiat + Updated Documentation (markdown) - Get rid of obsolete scripts (we do not use git submodule anymore, so this is - much easier .. for the users) + Created Documentation__Router (markdown) -2012-12-07 Jocelyn Fiat + Updated Documentation _Router (markdown) - make it compiles with EiffelStudio 7.1 and 7.2 + Created Documentation__Response (markdown) -2012-12-06 Colin Adams + Created Documentation__Request (markdown) - Revert do_get_head patch + Created Documentation _Router (markdown) -2012-12-05 Jocelyn Fiat + Updated Documentation (markdown) - corrected null connector ecf files + Created Documentation__Service (markdown) - added tests\all-safe.ecf to compile most of EWF's lib, to quickly check the - compilation state + Updated Home (markdown) - use libfcgi(-safe).ecf rather than fcgi(-safe).ecf + Updated Documentation (markdown) - Prepare upcoming support for unicode environment variables + Updated Documentation (markdown) - removed fcgi(-safe).ecf files ... since there renamed libfcgi(-safe).ecf + Updated Documentation (markdown) -2012-12-04 Olivier Ligot + Updated Documentation (markdown) - ise_wizard Unix shell scripts + Updated Documentation (markdown) -2012-12-03 Olivier Ligot + Updated Documentation (markdown) - Fix ise_wizard * ewf.ini was used instead of template.ecf as configuration - file * remove initialize_router otherwise the compilation failed * remove - unused variables + Updated Documentation (markdown) - Logging filter The logging filter is now part of EWF core (before it was - only available in the filter example) and can therefore be reused by others - needing it. Note that this is a first implementation. It can certainly be - improved in the future to support more fine grained logging. + Updated Documentation (markdown) -2012-12-05 Jocelyn Fiat + draft - added tests\all-safe.ecf to compile most of EWF's lib, to quickly check the - compilation state +2014-01-06 severin - use libfcgi(-safe).ecf rather than fcgi(-safe).ecf + Modified datepicker control - Prepare upcoming support for unicode environment variables +2014-01-05 severin - removed fcgi(-safe).ecf files ... since there renamed libfcgi(-safe).ecf + Removed country chooser widget -2012-12-04 Olivier Ligot + fixed js - ise_wizard Unix shell scripts + modified country and date/time chooser -2012-12-03 Olivier Ligot +2014-01-04 severin - Fix ise_wizard * ewf.ini was used instead of template.ecf as configuration - file * remove initialize_router otherwise the compilation failed * remove - unused variables + Included bootstrap datetimepicker - Logging filter The logging filter is now part of EWF core (before it was - only available in the filter example) and can therefore be reused by others - needing it. Note that this is a first implementation. It can certainly be - improved in the future to support more fine grained logging. + Added date chooser widget -2012-12-03 Jocelyn Fiat + Added precondition in layout control - Fixed various compilation issue with new self documentation Improved the self - documentation handler to provide a make_hidden creation procedure + Removed add_dropdown methods from navbar, some cleanup in different controls - updated ecf path + ATTENTION: ugly append_attributes added to stateless control, replaces set_attributes -> maybe improve -2012-11-26 Jocelyn Fiat + Moved set_attributes from BASIC_CONTROL to STATELESS_CONTROL - Added debug clause to detect in WSF_ROUTER.map_with_request_methods the - existing conflicts with similar mapping. Added smart handling of HEAD - request. Exported some internal features of WSF_REQUEST and WSF_RESPONSE to - respectively WSF_REQUEST_EXPORTER and WSF_RESPONSE_EXPORTER +2014-01-03 severin - added debug_output to WSF_ROUTER_MAPPING + Merge branch 'widget' of github.com:ynh/EWF into widget -2012-11-25 Jocelyn Fiat +2014-01-02 YNH Webdev - Included the library base(-safe).ecf which was forgotten by mistake. + Add disable option -2012-11-24 Colin Adams + Allow remove - Completed first pass for HTTP 1.1 conformace contracts +2014-01-01 YNH Webdev - Added framework for HTTP-conforming contracts + Add serverside file id to file structure -2012-11-23 Jocelyn Fiat + Allow detached values - New design for self documented router. The documentation is built only on - demand. A mapping entry can be hidden for the documentation One can change - the status code when building itself the - WSF_ROUTER_SELF_DOCUMENTATION_MESSAGE + Demo upload - Made encoder and error library compilable with 6.8 +2014-01-01 severin - Added SHARED_... classes for encoders (html, url, xml, json, ...) + Merge branch 'widget' of github.com:ynh/EWF into widget - Updated signatures for the self documentated message + Small page control change - Added WSF_ROUTER.has_item_associated_with_resource and - item_associated_with_resource Added WSF_ROUTER_MAPPING.associated_resource - Added WSF_ROUTER_SELF_DOCUMENTATION_HANDLER and - WSF_ROUTER_SELF_DOCUMENTATION_MESSAGE to provide a self documentation for - WSF_ROUTER (for now, only HTML) +2014-01-01 YNH Webdev -2012-11-21 Jocelyn Fiat + Workin file upload - Include the `url' in the http client response. This way, we can get the real - url used by the lib, especially when there are query parameters. +2013-12-31 YNH Webdev -2012-11-20 Jocelyn Fiat + Change parameter type - Added WSF_ROUTER_ITEM to replace a structure represented with named TUPLE - Added debug_output to ease debugging + File upload implementation part1 - Removed pseudo rest library from draft libraries. + Fix dropdown list, clean up actions -2012-10-22 Jocelyn Fiat +2013-12-03 Jocelyn Fiat - Added WSF_REQUEST_UTILITY_PROXY, that provides the WSF_REQUEST_UTILITY - features to a class that implement request: WSF_REQUEST + Fixed and improved {WSF_REQUEST}.read_input_data_into_file. Now use the content length to get exactly what is expected from the request. Added check assertion - Added WSF_ROUTING_CONTEXT_HANDLER + Fixed various issues with libfcgi on Linux, mainly related to stdout,stderr,stdin, feof and related. Added `reset' to the libfcgi input stream so that it is possible to reset previous errors. -2012-10-08 Jocelyn Fiat +2013-12-02 Jocelyn Fiat - Removed generic parameter in WSF_FILTER_HANDLER, since it is useless and make - code heavy + For Nino connector, ensured that environment variables are percent-encoded in meta variables. - Updated "filter" example +2013-11-20 Jocelyn Fiat -2012-10-04 Jocelyn Fiat + fixed compilation of libfcgi tests. - Updated Copyright + Accept again detachable argument for HTTP_AUTHORIZATION.make (..) to avoid breaking existing code. Note that HTTP_AUTHORIZATION.http_authorization is now detachable. - updated copyright + fixed compilation of the filter example - Added notion of mapping factory, so one can implement a handler without - having to implement new_mapping Added filter context handler Added - WSF_STARTS_WITH_ROUTING_HANDLER and WSF_URI_ROUTING_HANDLER (in addition to - the uri template version) +2013-11-19 Jocelyn Fiat -2012-10-02 jvelilla + The "not implemented" response, now also precise the request method. - Fixed wsf_extension.ecf path, in the example RestBucksCRUD. Replace the - assigment attempt with attached syntax + http_client: changed some default settings `connect_timeout' and `timeout' to 0 (never timeout) Updated comments -2012-10-01 Jocelyn Fiat + Fixed compilation of restbucksCRUD for the policy driven framework target. - Fixed some configuration files (ecf) Fixed various compilation issue Fixed - draft rest library (still experimental and should be removed in the future) +2013-11-18 Jocelyn Fiat -2012-09-28 Jocelyn Fiat + Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino - Added initial experimentation of a CMS built with Eiffel + removed CRLF eol in many files - moved wsf_extension inside wsf/extension as wsf/wsf_extension.ecf added - wsf/session as wsf/wsf_session.ecf In descendants of WSF_HANDLER , we can - keep the result of new_mapping as WSF_ROUTER_MAPPING + merged wiki page changes -2012-09-27 Jocelyn Fiat + Merge branch 'master' of https://github.com/eiffelhub/json - Reviewed the semantic of the handler context. Adapted existing code to fit - the new router design. + native eol -2012-09-25 Jocelyn Fiat +2013-11-12 Jocelyn Fiat - Applied new ROUTER design to the whole EWF project. + Fixed wrong assertion related to upload_data and upload_filename in HTTP_CLIENT_REQUEST_CONTEXT . + Fixed issue #124 + Enable all assertion for the related autotest cases. -2012-09-11 Jocelyn Fiat +2013-11-11 YNH Webdev - Minor implementation changes (feature renaming, ... ) + Rename files -2012-09-10 Jocelyn Fiat +2013-11-10 YNH Webdev - New ROUTER design, much simpler, less generic, easier to extend, and now one - can mix uri map, uri_template map and so on. Update the "tutorial" example. + Rename validators, Make forms resizable -2012-09-12 Olivier Ligot + Validate all fields and make regexp stricter - [FIX] Convertion from HASH_TABLE keys to JSON + Fix event handler -2012-09-11 Jocelyn Fiat + Fix form element control - Added general_encoded_string (..) that accepts READABLE_STRING_GENERAL + Update sample app -2012-09-10 Jocelyn Fiat + Fix email validation and min and max validator - added WSF_VALUE.is_empty: BOOLEAN +2013-11-09 YNH Webdev - Added put_expires_string (s: STRING) and put_expires_date (dt: DATE_TIME) - Better implementation for WSF_FILE_RESPONSE (added last modified, and other - caching related info) + Fix slider -2012-08-28 Jocelyn Fiat + Fix assert path - Fixed source code for building and installing the ISE Wizard +2013-11-08 YNH Webdev -2012-08-13 jocelyn + Fix rendering issue. Add active class - Updated Projects Suggestions (markdown) +2013-11-08 Jocelyn Fiat - Updated Projects Suggestions (markdown) + Fixed issue with unicode login:password Added EIS info Added testing cases. - Updated Project suggestions (markdown) + Updated gewf source code to allow custom settings, and in particular the location of the templates. Fixed compilation of application launcher, and make it more flexible. -2012-08-10 Olivier Ligot +2013-11-08 jvelilla - [ADD] Filter: pre-process incoming data and post-process outgoing data - Filters are part of a filter chain, thus following the chain of - responsability design pattern. More information are available in - library/server/wsf/src/filter/README.md + Added DEBUG_OUTPUT to JSON_OBJECT -2012-08-08 Jocelyn Fiat + Updated readme file - removed "getest" since it is duplication with autotest (and we use mainly the - later for regression testing) + Merge branch 'master' of https://github.com/eiffelhub/json - Added JSON_PRETTY_STRING_VISITOR Added converter for ARRAYED_LIST Fixed - STRING_32 to JSON_VALUE issue in ejson.e Added missing new line character at - the end of some files. Cosmetic + Merge pull request #7 from ynh/simplify_json_object + Simplify the json object by adding type specific put and replace -2012-06-29 Jocelyn Fiat +2013-11-08 YNH Webdev - updated to use WSF_STRING.value instead of obsolete WSF_STRING.string + Adjust layout control and fix navlist - Better code for tutorial example. + Fix autocomplete -2012-06-28 jocelyn + Redesign states and implement generated control_name - Updated EWSGI specification: difference in main proposals (markdown) +2013-11-07 jvelilla -2012-06-27 Jocelyn Fiat + Merge branch 'master' of https://github.com/eiffelhub/json - use svn export instead of svn checkout + Updated comments, add DEBUG_OUPUT to JSON_ARRAY. -2012-06-26 Jocelyn Fiat +2013-11-07 Jocelyn Fiat - If library/cURL exists, do not copy cURL to contrib/library/network/cURL + cosmetic and indexing note description -2012-06-22 Jocelyn Fiat +2013-11-07 jvelilla - Added simple console wizard for Eiffel Studio. (It is not very user friendly, - this is a first draft) It should be improved in the future (with GUI, ...) + Fixed normalized line endings -2012-06-20 Jocelyn Fiat + Normalize line endings - When installing, remove the folder "fonts" from the nino's example + Added gitattribute configuration file -2012-06-19 Jocelyn Fiat +2013-11-06 YNH Webdev - Put examples under examples/web/ewf/... + Add stateless widgets -2012-06-19 Jocelyn Fiat +2013-11-05 severin - IfECF_PATH_UPDATER is defined, let's use it to find ecf_updater executable + Fix Layout Control -2012-06-18 Jocelyn Fiat + Added navlist widget - put everything under contrib for now, eventually svn checkout missing parts +2013-11-05 YNH Webdev -2012-06-18 Jocelyn Fiat + Fix project - Final version of the install scripts. +2013-11-05 severin - Fixed typo and path separators usage in dos batch scripts + Added WSF_LAYOUT_CONTROL - Install script does the same on Windows and Linux +2013-11-04 YNH Webdev - improved install_ewf.sh , and removed usage of deleted router.ecf + Fix navbar state problem -2012-06-15 Jocelyn Fiat +2013-11-03 YNH Webdev - Updated install_ewf.sh + Add item alias - Updated draft library (consider it as draft quality) +2013-11-02 severin - updated eel and eapml from more recent versions. + Fixed js - Moved eel and eapml under the contrib folder. + Added dropdown control - Fixing wrong path for ewsgi connector nino (this was introduced recently when - we moved folder location) + Fixed creation procedures (make) -2012-06-14 Jocelyn Fiat +2013-10-30 YNH Webdev - Updated structure of EWF, applied Now "nino" is under - contrib/library/network/server/nino (as git merge subtree, and not anymore - as submodule) + Fix image sizes -2012-06-13 Jocelyn Fiat + Fix slider code - Change structure of EWF, to follow better categorization +2013-10-30 severin - Better script, do not use default folder without asking. + Slider fix - Added temporary scripts to install EWF on Windows +2013-10-29 YNH Webdev -2012-06-11 Jocelyn Fiat + Fix path - Adopted convention name and value or values for WSF_VALUE and descendant - (WSF_STRING ...) kept `key' as redirection, and also string as obsolete - redirection. Router: provide a way to pass the request methods without using - manifest string, thanks to WSF_ROUTER_METHODS so instead of using manifest - array or manifest strings, just create an instance of WSF_ROUTER_METHODS for - convenience, WSF_ROUTER provides a few `methods_...' returning prebuilt - WSF_ROUTER_METHODS objects Improved code related to unicode handling in URL, - and parameters (before the framework was doing too much) +2013-10-29 severin -2012-05-30 Jocelyn Fiat + Merge branch 'widget_slider' into widget + Conflicts: + draft/library/wsf_js_widget/kernel/webcontrol/wsf_control.e + examples/widgetapp/base_page.e - Added html encoding facility to WSF_STRING Added WSF_STRING.is_empty Improved - HTML_ENCODER to be able to decode a STRING_8 or STRING_32 using - general_decoded_string (s) Improved tutorial example Added precompilation for - WSF library Cosmetic (removed unused locals) + Fixed WSF_MULTI_CONTROL (wrong order of subcontrols), completed navbar, improved slider -2012-05-28 Jocelyn Fiat +2013-10-25 Jocelyn Fiat - Applied recent changes made on EWF Updated copyright + Fixed WSF_FILE_SYSTEM_HANDLER.process_index (..) - Now inherit create_router ; but it is still possible to redefine it. Added - some wsf_reponse_message for redirection Use "found" for the redirec_now ... - Added content to the tutorial + Added content_negotiation to official EWF release. -2012-05-25 Jocelyn Fiat +2013-10-24 Jocelyn Fiat - Added descriptions to WSF_RESPONSE about .send (mesg) Fixed minor issues in - other classes + Removed trimmed_string function and callers, and for now, use (left_|right_)adjust - Added more content to the tutorial +2013-10-23 Jocelyn Fiat - Protected export of WSF_RESPONSE_MESSAGE.send_to Added - WSF_DEFAULT_RESPONSE_SERVICE Added simple - WSF_SERVICE_LAUNCHER_OPTIONS_FROM_INI class to load launch option from ini - file. Removed a few obsolete features + Merge pull request #83 from jvelilla/master + Contracts, comments and cosmetic - added skeleton for tutorial_i text +2013-10-23 Jocelyn Fiat - Updated indexing notes started tutorial Sync + Removed trimmed_string function and callers, and for now, use (left_|right_)adjust -2012-05-15 Jocelyn Fiat +2013-10-22 jvelilla - added some git tips in doc + Reuse trimmed_string from HTTP_HEADER_UTILITIES. Added description to FITNESS_AND_QUALITY. -2012-05-14 Jocelyn Fiat +2013-10-21 jvelilla - Rather use (READABLE_)STRING_GENERAL for argument instead of _8 or _32 - variant Better design to set the WSF_REQUEST.path_parameters especially - handle the case where the request goes trought more than one route (could be - the case when using WSF_ROUTING_HANDLER) + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF - Updated URI Template to follow official RFC6570 +2013-10-21 Jocelyn Fiat -2012-05-07 Jocelyn Fiat + Updated Tasks Roadmap (markdown) - Reviewed WSF_REQUEST.item (..) and items to look into Form, Query, and Path - (cookie are excluded for security) Added WSF_REQUEST.path_parameter (a_name): - detachable WSF_VALUE - fill path_parameters using - `import_raw_path_parameters" when executing the route - reset to previous - value with reset_path_parameters (..), just in case the request is executed - via severals routes. + Updated roadmap (markdown) -2012-05-04 Jocelyn Fiat + Created roadmap (markdown) - Removed HTTP_CLIENT_SESSION.post_multipart .. because it was not doing what - the name might evoque Restrict export of - HTTP_CLIENT_REQUEST_CONTEXT.upload_data and upload_filename (and related) to - .._SESSION and .._REQUEST this is mainly internal data, and is more about - implementation than interface +2013-10-18 Jocelyn Fiat - Now the http_client will send the form parameters urlencoded if this is - possible (instead of multipart form data) Note for now, the library does not - support sending file and form parameters at the same time. + Merge branch 'content_nego_review' + Conflicts: + library/network/protocol/content_negotiation/src/conneg_server_side.e + library/network/protocol/content_negotiation/src/parsers/common_accept_header_parser.e + library/network/protocol/content_negotiation/test/conneg_server_side_test.e -2012-05-03 Jocelyn Fiat + Merge branch 'master' of github.com:EiffelWebFramework/EWF - Fixed typo in .ecf .. curl instead of cURL + Added content_negotiation in "wsf" library - Added geant scripts to compile EWF + Minor changes in wsf test cases. - Improved the libcurl implementation of http_client by adding - HTTP_CLIENT_SESSION.is_debug: BOOLEAN if True, this display verbose debug - information in console Implemented uploading of file for PUT and POST - requests Refactored LIBCURL_HTTP_CLIENT_REQUEST to free used pointer, and - also ease extension of the class if needed. Updated cURL library with - addition of {CURL_EXTERNALS}.slist_free_all (..) + Reintroduced WSF_SERVICE.to_wgi_service: WGI_SERVICE since it was used in the "WSF" test cases. -2012-05-02 Jocelyn Fiat + Fixed issue related to {WSF_WGI_DELAYED_HEADER_RESPONSE} and filter response like the logger response wrapper. + issue#82 - Also removing the implicit conversion from STRING to HTTP_*_TYPE + Fixed an issue with one short chunk and empty trailer + issue#81 - Removed implicit conversion from HTTP_CONTENT_TYPE to STRING_8 because it - could be a source of bug due to hidden conversion (and parameters) Applied - changes to autotest cases Cosmetic + Using the new Content Negotiation library to implement WSF_REQUEST.is_content_type_accepted -2012-04-30 Jocelyn Fiat + Updated README.md for conneg - Fixed signature issue, the argument `name' should be READABLE_STRING_32 + Class renaming for content_negotiation Splitted SERVER_CONTENT_NEGOTIATION in 4 differents classes for each kind of negotiation Changed to use ITERABLE over LIST for supported variants arguments Factorized some code for http parameter parsing such as q=1.0;note="blabla" and so on Integrated within EWF -2012-04-27 Jocelyn Fiat +2013-10-15 Jocelyn Fiat - cosmetic + Updated content_negotiation with better class names and feature names. Minor semantic changes in VARIANTS classes Factorized some code in HTTP_ACCEPT_LANGUAGE -2012-04-13 Jocelyn Fiat +2013-10-14 Jocelyn Fiat - Fixed a last minute regression due to removal REQUEST.chunked_input + Enabled assertion on content_negotiation during autotests The tests project is now void-safe + Using force instead of put_left seems to work fine + and is better for performance, + and no need to check for precondition "not before" - Added WSF_ROUTER.pre_route_execution_actions: ACTION_SEQUENCE [like route] - This way, one can add logger hook to router, to see which "route" was taken - by the request. +2013-10-04 jvelilla - Made WGI_CHUNKED_INPUT_STREAM inherits from WGI_INPUT_STREAM Merged - REQUEST.input and REQUEST.chunked_input Now REQUEST.input handles directly - the chunked transfer encoding, or the non chunked. Kept - REQUEST.is_chunked_input since it matters that Content-Length is 0 even if - there are input (chunked) data. + revert previous change -2012-04-12 Jocelyn Fiat + Assertions turn on. - Fixed compilation of samples + Merge pull request #80 from jvelilla/master + Fixed issue# 79 Bug in CONNEG_SERVER_SIDE - Fixed compilation + Fixed issue# 79 Bug in CONNEG_SERVER_SIDE - Now WGI_RESPONSE.set_status_code (..) has a new argument to pass optional - custom reason phrase. This is a minor breaking change (but prior to the first - release, so acceptable) And then it is now possible to precise a custom - reason phrase (useful for 4xx and 5xx response) At the WSF_RESPONSE level, - the status code is now sent only when the header are sent. thus, it is - possible to change the status code as long as no header is sent. (in the - future, we should also try to delay the sending of headers) Removed - WGI_RESPONSE.put_header_lines (..) which was not used, and WGI is not meant - to provide such user friendly features Now this is available directly on - WSF_RESPONSE +2013-10-02 Jocelyn Fiat -2012-04-05 Jocelyn Fiat + Merge pull request #78 from colin-adams/errors + When custom error is created in check_resource_exists, use it - Removed default handler for WSF_ROUTER Added WSF_ROUTE to replace a TUPLE - [H, C] WSF_ROUTER.route (req): detachable WSF_ROUTE WSF_ROUTER.execute_route - (a_route, req, res) To help usage of Routers Remove WSF_HANDLER_CONTEXT - obsolete features. Added comments +2013-10-01 Colin Adams -2012-03-23 Jocelyn Fiat + When custom error is created in check_resource_exists, use it - Renamed same_media_type as same_simple_type Added comments +2013-09-29 Severin - Added HTTP_MEDIA_TYPE (maybe it will just replace the HTTP_CONTENT_TYPE - later) renamed .media_type as .simple_type for now allow more than one - parameters + Test - Use media_type as replacement for type_and_subtype_string in - HTTP_CONTENT_TYPE +2013-09-28 Olivier Ligot - Added class HTTP_CONTENT_TYPE to help manipulation of Content-Type value Now - WSF_REQUEST return a HTTP_CONTENT_TYPE if available Adapted WSF_MIME_HANDLER - to use this new class Added one manual autotest to test MIME handler + Start to write documentation about connectors -2012-03-21 Jocelyn Fiat +2013-09-28 YNH Webdev - in WSF_RESPONSE, `put_header' now call `put_header_text' Removed unused local - variable + Add codeview -2012-03-20 Jocelyn Fiat + Fix news datasource - Fixing compilation of specific example using the WGI connector directly + Fix load state error - Added WSF_SERVICE.to_wgi_service to ease direct integration with existing WGI - components + Implement lazy js load wraper - Relaxed access to `send_to', now it is exported again to avoid breaking - existing code. + Load needed libraries dynamically - Implemented WSF_RESPONSE.put_error (...) and related Added - WSF_RESPONSE.put_character Renamed WGI_OUTPUT_STREAM.put_character_8 as - put_character to follow style of put_string (and not put_string_8) - Refactored the WSF_DEFAULT_SERVICE_LAUNCHER Added WSF_DEFAULT_SERVICE to be - more user friendly Splitted the wsf/default/ libraries to have - wsf/connector/... and being able to handle more than one connector in the - same application +2013-09-27 Severin Münger - Moved mime handler classes under wsf/src/mime/ + Fixed slider -2012-03-19 Jocelyn Fiat +2013-09-27 YNH Webdev - Updating EWSGI specification classes + Adjust widgetapp - Removed WGI_RESPONSE.write (..) Replaced any internal call to - WGI_RESPONSE.write () by the associated implementation (i.e - output.put_string (...) ) Added WGI_OUTPUT_STREAM.put_crlf Renamed - WSF_RESPONSE.put_response (a_message) as `send (a_message)' - WSF_RESPONSE_MESSAGE.send_to (res) is now exported only to WSF_RESPONSE + Create new JSON_OBJECT -2012-03-17 Berend de Boer + Add boolean - Move wgi_service spec to its own directory else I get a class conflicts with - compile_ise.ecf generated by gexace. +2013-09-25 jvelilla -2012-03-19 Jocelyn Fiat + Merge pull request #76 from jvelilla/master + Fixed Issue #75 CONNEG doesn't handle accept encodings correcty - Improved comment in WSF_RESPONSE.put_response (..) Added - WSF_REDIRECTION_RESPONSE class + Added more scenarios to test accept encoding with identity. - Added WSF_RESPONSE_HANDLER based on WSF_RESPONSE_MESSAGE The descendant has - to implement the function response (ctx: C; req: WSF_REQUEST): - WSF_RESPONSE_MESSAGE Added related features and class in WSF_ROUTER to be - able to use agent easily. + Fixed Issue #75 CONNEG doesn't handle accept encodings correcty - Refactored WSF_HANDLER_CONTEXT - removed path_parameter - added `item' to - include WSF_REQUEST.item - marked obsolete `parameter' The goal is to remove - confusion, remove URI_TEMPLATE specific `path_parameter' and provide a way to - use ctx.item (..) to also include meta variable, query, form, ... items +2013-09-25 YNH Webdev -2012-03-16 Jocelyn Fiat + Remove remaining `detachable` variables - Applied wsf_extension creation, and classes moved from wsf to wsf_extension + Make types attached - Created wsf_extension, and moved some classes from wsf to wsf_extension - WSF_HANDLER_HELPER WSF_RESOURCE_HANDLER_HELPER WSF_HANDLER_ROUTES_RECORDER + Fix formating - Major renaming, adopt the WSF_ prefix for all classes under "wsf", and - simplify some class names Removed in WGI_INPUT_STREAM, the assertion - "same_last_string_reference" Copyright updates + Rename procedures. Change input type of replace_with_string and put_string -2012-03-13 Jocelyn Fiat +2013-09-24 YNH Webdev - Fixed compilation of draft/library/server/request/rest/tests/.. Note the - "rest" library will not be maintained since this is not REST. + Simplify the json object by adding type specific put and replace -2012-03-13 jfiat +2013-09-24 Jocelyn Fiat - Better use C_STRING.substring (1, size) instead of C_STRING.string since we - know the exact size and this way, no risk with \0 character inside the string - itself (for binary data..) Added comments + Removed unwanted call to RT_DEBUGGER in WSF_DEBUG_HANDLER. + This line was committed by error. -2012-03-13 Jocelyn Fiat + Reused string constants from HTTP_HEADER_NAMES - Nino connector: - fixed issue related to `ready_for_reading' now use the - `try_...' variant - for now Nino does not support persistent connection, then - we have to respond with "Connection: close" REQUEST_FILE_SYSTEM_HANDLER: - - added not_found_handler and access_denied_handler, so that the user can - customize related response WSF_REQUEST and WSF_VALUE: - modified how - uploaded file are handled, fixed various issues, and added WSF_UPLOADED_FILE - (it is a WSF_VALUE) WSF_VALUE: - added change_name (a_name: like name) - - added url_encoded_name to other WSF_values WSF_REQUEST: - added `destroy' to - perform end of request cleaning (such as deleting temp uploaded files) - - renamed `raw_post_data_recorded' as `raw_input_data_recorded', and related - feature - do not store the RAW_POST_DATA in meta variable anymore, but in - WSF_REQUEST.raw_input_data is asked Added WSF_HTML_PAGE_RESPONSE to help - user WSF_REPONSE.redirect_... now use "temp_redirect" as default instead of - "moved_permanently" which is specific usage Removed many obsolete features. + Added implicit conversion from agent to WSF_URI_TEMPLATE_AGENT_HANDLER Mainly for convenience. -2012-02-29 Jocelyn Fiat + Use WSF_RESPONSE.put_header_lines (header_object) when possible, instead of put_header_text (header_object.string) - Added assertions to catch if route mapping does not already exists + Added WSF_SELF_DOCUMENTED_AGENT_HANDLER and variants for uri, uri_template, starts_with, ... to provide a way to documentate easily wsf agent handler. -2012-02-28 Jocelyn Fiat +2013-09-24 YNH Webdev - Synchronized with nino and json library + Merge branch 'widget' of github.com:souvarin/EWF into widget -2012-02-17 jvelilla +2013-09-24 Jocelyn Fiat - Refactor REQUEST_RESOURCE_HANDLER_HELPER to figure out the transfer encoding: - Chunked. Added a new method to retrieve_data independently if the transfer is - chunked or not. Updated ORDER_HANLDER to use this new feature. Sync with - Jocelyn repo + Merge pull request #74 from jvelilla/master + Added description to results classes. + Removed unnecessary classes + Clean code: removed feature out, updated corresponding test cases. -2012-02-15 Jocelyn Fiat +2013-09-24 Severin Münger - Fixed error visitor due to recent signature changes + Moved to draft - renamed (add|remove)_synchronized_handler as (add|remove)_synchronization + Removed WSF_STATELESS_MULTI_CONTROL - Removed tests target from encoder(-safe).ecf (now there is a tests-safe.ecf - in folder tests) + Changed slider - Fixed ERROR_HANDLER.destroy Fixed and export - ERROR_HANDLER.remove_synchronized_handler Added comments Added associated - autotests + Added slider demo -2012-02-14 Jocelyn Fiat + Added simple image slider widget - Better signature for encoders Split library .ecf and the autotest .ecf +2013-09-24 YNH Webdev - Added notion of synchronization between error handler this is convenient to - integrate two components using their own ERROR_HANDLER (not sharing the same - object) + Add table title -2012-02-14 larryl + Implement remove - Added cURL multi interface support (most APIs) issue#7305157 The multi - interface offers several abilities that the easy interface doesn't. They are - mainly: 1. Enable a "pull" interface. The application that uses libcurl - decides where and when to ask libcurl to get/send data. 2. Enable multiple - simultaneous transfers in the same thread without making it complicated for - the application. 3. Enable the application to wait for action on its own file - descriptors and curl's file descriptors simultaneous easily. More info: - http://curl.haxx.se/libcurl/c/libcurl-multi.html +2013-09-23 YNH Webdev -2012-02-08 unknown + Stop interval if deleted - libcurl: Applied a workaround to avoid issue on Win32 (see - LIBCURL_HTTP_CLIENT_REQUEST.apply_workaround) Separated the - http_client-safe.ecf and test-safe.ecf Added - HTTP_CLIENT_SESSION.set_max_redirects Fixed broken test due to formatting - trouble. + Introduce actions First working modal -2012-02-07 Jocelyn Fiat +2013-09-22 YNH Webdev - Better code to test similar functions but with chunked input + Set url within page class - Improved the WSF_PAGE_RESPONSE to be more flexible and allow to change some - values as expected. + Fix confict - Added support for chunked input data (see Transfer-Encoding: chunked) + Merge branch 'widget' of github.com:souvarin/EWF into widget_state_redesign + Conflicts: + examples/widgetapp/base_page.e - Added proxy, at least to make it is possible to use http://fiddler2.com/ to - inspect the traffic. + Implement control isolation -2012-02-01 Jocelyn Fiat + Restructure callbacks - removed unwanted set_status_code, since we already use put_header to set the - status code. +2013-09-22 Severin Münger - Eventually fixing trouble with c_strlen being over capacity (added this for - testing, and while waiting a fix from EiffelcURL) + Merge branch 'widget' of github.com:ynh/EWF into widget - Improved redirect_now_custom to allow custom status code, custom header, and - custom content + Improved Navbar, changed attribute handling -2012-01-31 Jocelyn Fiat +2013-09-22 YNH Webdev - Fixed usage of lst[] in web form, now we are url-decoding the name because - the [] could escaped... Fixed bad code for assertion related to variable - url-encoded name + Add comments to grid controls - added REQUEST_HANDLER_CONTEXT.string_array_path_parameter (...) to help user - handling list/array parameters fixed postcondition - WSF_REQUEST.set_meta_string_variable ... +2013-09-21 Severin Münger -2012-01-25 Jocelyn Fiat + Added comments to autocompletion, input, navbar, progressbar, validator, webcontrol. Some more little changes. - Make sure to return a response Added precondition to check URI_TEMPLATE is - valid +2013-09-20 YNH Webdev -2012-01-20 Jocelyn Fiat + Use append - Corrected remaining issue related to recent addition of - REQUEST_ROUTER.make_with_base_url And applied removal of format_name and - format_id, and replaced by accepted_format_name, ... + Fix tuple -2012-01-20 manus + Make recommended changes - Implicit casting - Use same_string - Removed the ECF bounds license file and replaced them with `license.lic' - files. Made sure all license are the Eiffel Forum License 2. +2013-09-20 jvelilla -2012-01-20 Jocelyn Fiat + Added description to results classes. Removed unnecessary class Clean code: removed feature out, updated corresponding test cases. - Removed any "format" related query from router lib, this is too application - specific to be there. Better handling of base_url for REQUEST_ROUTER +2013-09-20 YNH Webdev -2012-01-19 Jocelyn Fiat + Rename clusters to singular names - separate library .ecf and tests .ecf merged tests .ecf for draft 05 and - current implementation + Move project to wsf_js_widget - Fixed WSF_REQUEST.script_url (..) for clean path Added related autotests +2013-09-20 Jocelyn Fiat -2012-01-17 Jocelyn Fiat + Renamed `content_negotation' as `content_negotiation' (fixed typo) Updated .ecf and Eiffel code depending on previous CONNEG - export handler from REQUEST_ROUTER + Integrated changes on content negociation library -2012-01-17 Jocelyn Fiat +2013-09-20 ynh - REQUEST_ROUTER now inherit from ITERABLE [..] + Merge pull request #2 from jocelyn/widget_first_review + Minor changes -2012-01-13 Jocelyn Fiat +2013-09-20 Jocelyn Fiat - Synchronized with ejson library Cleaned JSON_ENCODER + Minor changes - using http_client library instead of libcurl directly - using implicit conversion to JSON_STRING to improve code readability - use ARRAYED_LIST instead of LINKED_LIST .. for performance. - cosmetic .. but still a lot of feature clauses are missing, comments, assertions ... -2012-01-13 jfiat +2013-09-19 jvelilla - Renamed JSON_STRING.unescaped_string as unescaped_string_8 + code cleaning + Forgot to add class description - Better support for special character and unicode (\n \r \" ... and \uXXXX - where XXXX is an hexadecimal value) Added features to JSON_STRING - - make_json_from_string_32 (READABLE_STRING_32) - escaped_string_8: STRING_8 - - escaped_string_32: STRING_32 Added associated autotests + Removed http classes related to http expectations. Updated code based on the code review. Still work in progress -2012-01-12 Jocelyn Fiat +2013-09-17 jvelilla - Added JSON_ENCODER + New directory structure (variants, results, parsers) Refactor STRING to READABLE_STRING_8. Clean code, added documentation and EIS references. -2012-01-09 Jocelyn Fiat + Renamed CONNEG to content_negotiation. Update MIME_PARSER to use HTTP_MEDIA_TYPE. - removed obsolete call on `WSF_RESPONSE.write_..' by using the up-to-date - `WSF_RESPONSE.put_..' +2013-09-16 Jocelyn Fiat -2012-01-06 Jocelyn Fiat + Accepts "*" as valid media type (interpreted as */* to be flexible) - HTTP_HEADER: - added put_last_modified - added RFC1123 http date format - helper - added put_cookie_with_expiration_date as DATE_TIME REQUEST: added - `execution_variable' to provide a way to keep object attached to the request - and indexed by a string. A typical usage is a SESSION object +2013-09-16 jvelilla -2011-12-18 Jocelyn Fiat + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF - added REQUEST.execution_variables ... to provide a solution to store data - during request execution could be used for SESSION, or any "shared" data - inside the same Request +2013-09-16 Jocelyn Fiat - applied write_ as put_ renaming to examples + Fixed type having a semicolon in a parameter value such as "text/plain; param1=%"something;foo=bar%"; param2=%"another-thing%" -2011-12-15 Jocelyn Fiat +2013-09-16 jvelilla - various minor changes + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF - use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so +2013-09-16 Jocelyn Fiat - Applied renaming from write_ to put_ + Added autotests to http library in relation with mime type and content type. Fixed an issue with more than one parameter. - Renamed write_ feature as put_ +2013-09-16 jvelilla - Fixed typo and missing uri_template reference for draft rest library + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF - Now the 'router' library is part of 'wsf' Move hello_routed_world under - tests/dev since it was not really an example, but more a dev workspace/test +2013-09-16 YNH Webdev - Made DEFAULT_SERVICE_LAUNCHER more flexible for the user. + Slow down fetching -2011-12-14 Jocelyn Fiat +2013-09-15 Severin Münger - Use port 9090 for restbuck server mainly to avoid using 80 or 8080 which are - often already used (by current webserver, or even skype, or jenkins, or ...) + Fixed progressbar - Forgot to add make_and_launch_with_options to the creation procedures + Merge branch 'widget' of github.com:ynh/EWF into widget - Added DEFAULT_SERVICE_LAUNCHER.make_and_launch_with_options Added - WSF_RESPONSE.redirect_now_with_content (...) Updated hello_routed_world .. - mainly example use to test/develop... not really a nice example + Added progress callback -2011-12-12 Jocelyn Fiat +2013-09-15 YNH Webdev - Removed dotnet target for now + Make js files local - Fixed HTTP client callers + Add all countries to flag list Set encoding (Must be changed to UTF-8 in future) - Renamed DEFAULT_SERVICE as DEFAULT_SERVICE_LAUNCHER + Rearrange demo Add contact autocompletion - Fixed WSF_FILE_RESPONSE and added WSF_FORCE_DOWNLOAD_RESPONSE + Create basepage - Removed any (put|write)_file_content from the WSF_ or WGI_ OUTPUT classes Now - DEFAULT_SERVICE has to be created instead of inherited. - This seems to be - better for new user, and this avoid potential conflict and difference when - inheriting between the various DEFAULT_SERVICE implementation. - remember - that DEFAULT_SERVICE, is mainly to help the user to build its very first - service. Use READABLE_STRING_8 as argument whenever it is possible. Added - WSF_RESPONSE_MESSAGE, and WSF_RESPONSE.put_response (a_response_message) Now - WSF_RESPONSE inherit from WGI_RESPONSE + Merge branch 'widget_grid' into widget + Conflicts: + examples/widgetapp/widget.coffee + examples/widgetapp/widget.js - Handling bad incoming request (keep a check assertion to help during - debugging period) + Fix suggestions -2011-12-10 jvelilla +2013-09-15 Severin Münger - Update restbuck client, create and read an order. Update JSON converter, the - id is not important, applied the DRY principle. Update the ORDER_HANDLER to - use the meta_string_variable instead of meta_variable from req. Fix, the key - in meta_variable_table, use c.key instead of c.item + Small changes -2011-12-09 jvelilla + Added Progress Control - Update the restbuck_client, still work in progress. Update restbuck_server, - remove unused class in inherit. Update libcurl_http_client_request, to parse - context headers before the execution. Update wgi_input_stream, commented - precondition. + Added Progress Control -2011-12-08 jvelilla + Included navbar example - Updated restbucksCRUD documentation +2013-09-14 YNH Webdev - Added basic two basic examples, refactor rename restbucks to restbucksCRUD + Fix change event -2011-12-07 jvelilla + Remove column from grid - Sync Jocelyn repo + Style demo pages -2011-12-02 Jocelyn Fiat + Implement repeater - Fixed compilation issue for CGI and libFCGI connector due to recent changes - in interface (use READABLE_STRING_8) + Google news example -2011-12-01 Jocelyn Fiat + - Add event paramenter - Implement Paging control - Integrated new system to handle form_parameter, input_data in relation with - MIME handling This is not yet clear how to let the user precise its own MIME - handler but it is in progress +2013-09-13 Severin Münger - Added WSF_RESPONSE.write_chunk (s: ?READABLE_STRING_8) to help user sending - chunk with "Transfer-Encoding: chunked" + Fixed rendering, added navbar - Synchronized with Nino +2013-09-13 YNH Webdev - various renaming and preparation to merge Thread and SCOOP implementation of - Eiffel Web Nino + Fix path in project - sync with Nino, call to put_readable_string_8 +2013-09-13 Jocelyn Fiat -2011-12-01 jvelilla + Merge branch 'master' of github.com:EiffelWebFramework/EWF - Updated Conneg library, added test cases + Added PATCH support in http_client, and provided custom_with_upload_data and custom_with_upload_file. -2011-11-30 Jocelyn Fiat + forget about older version of Eiffel cURL - Removed initial Thread for the HTTP_HANDLER, this is not needed here Removed - HTTP_SERVER_SHARED_CONFIGURATION from the library ... not needed by the - library. Added HTTP_SERVER_SHARED_CONFIGURATION to the example to show how - to share the configuration, if needed +2013-09-13 Severin Münger -2011-11-30 jvelilla + Merge branch 'widget' of github.com:ynh/EWF into widget + Conflicts: + library/server/wsf_html/webcontrol/wsf_control.e - Fixed minor issue, added test cases to check language negotiation. + Small changes/fixes - Update conneg library and test cases +2013-09-13 YNH Webdev -2011-11-25 Jocelyn Fiat + Fix render function - - (WGI|WSF)_RESPONSE(*) renamed write_headers_string as write_header_text - - HTTP_HEADER.string does not have the ending CRLFCRLF .. but just CRLF - - WGI_RESPONSE.write_header_text has the responsibility to handle the last - blank line CRLF (separating the header from the message) - HTTP_HEADER.string - does not set anymore a default content type as text/html - added - WGI_RESPONSE.write_header_lines (ITERABLE [TUPLE [name,value: - READABLE_STRING_8]] mainly as an helper method, this way the WGI user does - not have to know about the CRLF end of line +2013-09-13 Severin Münger - Applied recent renaming from WGI_RESPONSE_BUFFER as WGI_RESPONSE + Small fix removed DOCTYPE - Added `{WGI_REQUEST}.wgi_*' function to WSF_REQUEST + New Control structure - rename `application' as `service' +2013-09-13 YNH Webdev - Use HTTP_HEADER instead of WSF_HEADER (WSF_HEADER is kept for convenience and - existing code) + Merge branch 'widget' of github.com:souvarin/EWF into widget + Conflicts: + library/server/wsf_html/wsf_html-safe.ecf - Moved implementation of WSF_HEADER to HTTP_HEADER in the http library + Add Grid Widget - Simplified EWSGI interfaces Renamed WGI_RESPONSE_BUFFER as WGI_RESPONSE to - avoid confusion Removed EWF_HEADER and removed related caller from WGI - implementation, now this is only part of WSF library Added wgi_version, - wgi_implementation and wgi_connector to the WGI_REQUEST interface to give - more information to the user Added back WGI_CONNECTOR to WGI specification, - mainly because of `{WGI_REQUEST}.wgi_connector' simplified WGI_CONNECTOR to - contain for now only `name' and `version' if the implementation of connector - inherit from WGI_CONNECTOR (recommended) this might gives more access to the - user using a reverse assignment for specific needs (but this usage is not - recommended due to portability issue on other connector) Removed useless - connector.ecf since now EWF/WGI library provides the helper classes +2013-09-12 Severin Münger -2011-11-23 Jocelyn Fiat + Extended autocompletion with customized templates - Fixed sample example config file after recent location change for "rest" lib + Autocompletion - fixed rest(-safe).ecf due to recent location change + Changed structure - Move "rest" library under "draft/..." since it is more an experiment rather - than a real REST library +2013-09-12 oligot -2011-11-21 Jocelyn Fiat + Created Filter (markdown) - updated Eiffel libfcgi README file +2013-09-12 Olivier Ligot - Added scripts to help building the libfcgi.dll and .lib from modified source - of libfcgi Extracted into "libfcgi" only the files needed to compile the - Windows .dll and .lib + README.md: Remove dot in the community section - Added scripts to help building the libfcgi.dll and .lib from modified source - of libfcgi + Added Community section to the README.md file -2011-11-21 jfiat +2013-09-09 Jocelyn Fiat - Removing autotest dotnet target, since Autotest does not support .Net - platform for now + Fixing handling of query parameter without value + Issue#70 https://github.com/EiffelWebFramework/EWF/issues/70 - Fixed code from autotest tests to remove warnings Fixed getest ejson_test.ecf - configuration file Added script to allow using getest from Windows. Note: I - did not fixed warning from getest tests, we should apply same change already - made for autotest. it seems autotest and getests are doing the same checking, - I would suggest to either remove getest files or find a way to share test - code between getest and autotest tests. +2013-09-08 jvelilla -2011-11-18 Jocelyn Fiat + Moved Selenium web driver to WebDriver-Eiffel repository - fixed compilation for tests.ecf +2013-09-07 jvelilla - Updated "draft" folder which contain potential future addition to EWF + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF - Added "draft" folder to contain potential future addition to EWF +2013-09-06 Severin Münger - restructured CONNEG library fixed various issue in .ecf files + Merge branch 'widget' of github.com:ynh/EWF into widget -2011-11-17 jvelilla +2013-09-06 YNH Webdev - Initial import CONNEG library, support server side content negotiation. + Min/Max validator -2011-11-17 Jocelyn Fiat +2013-09-06 Severin Münger - Renamed "ext" folder as "contrib" folder and reorganized a little bit Renamed - any *_APPLICATION as *_SERVICE mainly because those components such as - WSF_APPLICATION, renamed as WSF_SERVICE are not always the main application - entry, and "service" describe them better Minor implementation change in - WSF_REQUEST Cosmetics + Merge branch 'widget' of github.com:ynh/EWF into widget + Conflicts: + examples/widgetapp/sample_page.e -2011-11-16 Jocelyn Fiat + Some small changes - Added request method PATCH even if not really used for now, it might in the - future +2013-09-06 YNH Webdev -2011-11-14 Jocelyn Fiat + Show server side error in validation box - Added various README.md (using the markdown syntax) + Add HTML control - Applied the removal of HTTP_INPUT_STREAM and HTTP_OUTPUT_STREAM to the - example. + Small render fix - Added default WSF_APPLICATION for libfcgi connector +2013-09-06 Jocelyn Fiat - Updated libfcgi source code for Windows AND Linux. Cleaning some code and - feature clauses. + fixed compilation of wsf_extension - Changed the WGI_INPUT_STREAM and WGI_OUTPUT_STREAM interfaces main changes - for existing code `read_stream' is renamed `read_string' +2013-09-06 YNH Webdev -2011-11-10 Jocelyn Fiat + Comment js code - Removed HTTP_(INPUT,OUTPUT)_STREAM, since it is unlikely that we use - something else than TCP_STREAM_SOCKET This way, we remove one indirection for - users, and get smaller code. + Implement serverside and client side validatation -2011-11-04 Jocelyn Fiat +2013-09-06 Jocelyn Fiat - sync with nino and applied changes to connector + Merge branch 'master' of github.com:EiffelWebFramework/EWF - removed useless "a_name" argument Fixed typo in on_launched + Added WSF_CUSTOM_HEADER_FILTER which provide a convenient way to add a custom header from a filter. Added to wsf_extension WSF_DEBUG_FILTER and WSF_DEBUG_HANDLER that could be convenient to test specific requests Restructured wsf_extension - Use recent changes from Nino, to get access to the launched and port - information. Quite useful when launching using port=0 to use a random free - port. This is great for testing, this way we can run many tests in the same - time without any port blocking. + added policy driven license .lic files -2011-11-03 Jocelyn Fiat + Added WSF_WIDGET_RAW_TEXT to render text via html encoding. Added WSF_WIDGET_COMPOSITE.extend_html_text (READABLE_STRING_8) that should replace the now obsolete "extend_text" Added WSF_WIDGET_COMPOSITE.extend_raw_text (READABLE_STRING_GENERAL), for text that need to be html encoded during html rendering. Made WSF_FORM_RAW_TEXT obsolete. - applied recent changes from Nino + removed useless (and unused) function {WSF_SERVICE}.to_wgi_service: WGI_SERVICE - added access to the effective port that the server is listening to (useful - when we set port to 0 it use a random free port) added verbose , so that we - write message to the console only if desired. + Fixed bad output -2011-11-02 Jocelyn Fiat + Used res.put_header_lines (h) rather than res.put_header_text (h.string) - removed compliance on ewsgi, since now we target WSF applied recent changes - related to WSF_VALUE +2013-09-06 YNH Webdev - Safer interface for WSF_VALUE, when related to STRING value + First working checkbox list - sync with submodules + Merge branch 'widget' of github.com:souvarin/EWF into widget - renamed WSF_(.*)_VALUE as WSF_$1 +2013-09-06 Severin Münger -2011-10-31 Jocelyn Fiat + Added checkbox list, modified form validation - fixed path to cURL.ecf file, using the correct uppercase +2013-09-05 YNH Webdev - Better implementation to get http header for http_client, and to get list of - header entries by key,value + Merge branch 'widget' of github.com:souvarin/EWF into widget - updated instructions related to submodules +2013-09-05 Severin Münger - Fixed remaining 6.8 vs 7.0 compilation issue related to UTF8_(URL_)ENCODER + Added validators for decimals and mails - Fixed code to be compilable with EiffelStudio 6.8 and 7.0 (due to recent - change in UNICODE_CONVERSION) UNICODE_CONVERSION + Added Regexp validation (later used for mail, numbers...) -2011-10-27 Jocelyn Fiat +2013-09-05 YNH Webdev - Fixed a previously character changes in WSF_REQUEST (related to - safe_filename), and modified the implementation to use inspect Fixed the - request_content_type computation Cosmetic in REQUEST_RESOURCE_HANDLER_HELPER + Fix form and textarea bug - added script to update current git working copy and submodules recursively + Merge branch 'widget' of github.com:souvarin/EWF into widget + Conflicts: + library/server/wsf_html/webcontrol/wsf_control.e -2011-10-27 Jocelyn Fiat + Test the new controls - cosmetic, or minor changes +2013-09-05 Severin Münger -2011-10-27 jvelilla + Implemented WSF_CHECKBOX_CONTROL, added id attribute to rendering of WSF_CONTROL - Added eel and eapml in EWF libraries. Removed them from gitmodule +2013-09-05 YNH Webdev -2011-10-24 Jocelyn Fiat + Merge branch 'widget' of github.com:ynh/EWF into widget - Added visitor patterns to WSF_VALUE Handling UTF-8 unencoding for WSF_VALUE - ... Added WSF_TABLE_VALUE to handle list[]=a&list[]=b ... Library encoder: - added UTF8 facilities + Fix render function -2011-10-23 jvelilla +2013-09-05 Severin Münger - Update delete method to hanlde method not allowed. Added method not allowed - to request resource handler helper class. Update gitmodules + Restructured validators, fixed form element rendering -2011-10-21 Jocelyn Fiat +2013-09-05 YNH Webdev - Applied recent changes on WGI_ and WSF_ Moved classes away from ewsgi, - restructured, cleaned + Fix render function - Continued reducing WGI and move implementation to WSF (Web Server Framework) - Removed many usage of READABLE_STRING_GENERAL in favor to READABLE_STRING_8 - to avoid potential nasty issues in user's code URI-template is working only - with STRING_8, then changed any _GENERAL or _STRING_32 to _STRING_8 + Merge branch 'widget' of github.com:souvarin/EWF into widget -2011-10-19 Jocelyn Fiat + Add bootstrap - First try to get a limited WGI_ and use WSF_ as default framework +2013-09-05 Severin Münger -2011-10-21 jvelilla + Implemented WSF_FORM_ELEMENT_CONTROL - Update Restbucks example: Conditional GET, PUT. Added a response method to - support resource not modified. Added a ETAG_UTILS class to calcule - md5_digest. Added ext libs eel and eapml. + Merge branch 'widget' of github.com:ynh/EWF into widget + Conflicts: + library/server/wsf_html/webcontrol/wsf_control.e + library/server/wsf_html/webcontrol/wsf_text_control.e -2011-10-14 Jocelyn Fiat + Began with implementation of form handling - fixed cgi and libfcgi connectors due to recent changes from WGI_APPLICATION +2013-09-05 YNH Webdev - Removed handling of internal error from WGI_APPLICATION And for now added it - into nino connector + Use render tag - Added HTTP_FILE_EXTENSION_MIME_MAPPING Added REQUEST_FILE_SYSTEM_HANDLER to - the router library Added file system handler in "hello_routed_world" example +2013-09-05 Severin Münger -2011-10-13 jvelilla + Adapted rendering of multi control - Added handle_resource_conflict_response feature to handle 409 reponse, - Cosmetic. + Merge branch 'widget' of github.com:ynh/EWF into widget -2011-10-12 Jocelyn Fiat + Changed creation procedures - Added data and file for post and put request methods +2013-09-05 YNH Webdev -2011-10-12 Jocelyn Fiat + Generate tag - Using Transfer-Encoding: chunked in example to send response progressively + Change wsf control - sync with submodules +2013-09-04 oligot -2011-10-12 Jocelyn Fiat + Updated Router (markdown) - Addition to "http" library, separated constants into - HTTP_MIME_TYPES - - HTTP_HEADER_NAMES - HTTP_REQUEST_METHODS - HTTP_STATUS_CODE (already - exists) Do not set the "Status" header when using - WGI_RESPONSE_BUFFER.write_header (...) Cosmetic + Updated Router (markdown) -2011-10-11 jvelilla + Updated Request and response (markdown) - Update order_handler, fix json_order_converter + Updated Request and response (markdown) -2011-10-11 Jocelyn Fiat + Updated Request and response (markdown) - Use local curl if compiler is < 7.0.8.7340 otherwise, use ISE_LIBRARY cURL + Created Router (markdown) - Temporary fixed issue of using modified cURL (which is cURL provided with - EiffelStudio 7.0) This changes will be reverted in the future + Updated Connectors (markdown) -2011-10-10 Jocelyn Fiat + Created Request and response (markdown) - added submodule ext/ise_library/curl to use the updated Eiffel cURL from - ISE. + Created Connectors (markdown) -2011-10-07 Jocelyn Fiat +2013-09-04 Olivier Ligot - added http diagrams found on the web + Contribute page -2011-10-07 Jocelyn Fiat +2013-09-03 Severin Münger - Added license.lic and copyright to Javier + Added class for TextArea -2011-10-07 jfiat + Added TextArea - Minor changes + cosmetics Added conversion from STRING to JSON_STRING to help - users. +2013-09-02 Severin Münger -2011-10-07 Jocelyn Fiat + forgot to add new files - Added "Date:" helper feature in EWF_HEADER Added license.lic to restbuck - example, and mainly copyright to Javier Use HTTP_STATUS_CODES Minor - improvements using object tests Cosmetic (indentation, ..) + Added generalized input control similiar to text -2011-10-06 Jocelyn Fiat +2013-08-29 YNH Webdev - Added a first simple test client to test the restbuck client + Only send changes back to client - added support for data in POST request +2013-08-28 YNH Webdev -2011-10-06 jvelilla + Add comments Use Precursor - Added REQUEST_RESOURCE_HANDLER_HELPER class to contain common http method - behavior. Updated ORDER_HANLDER to use this new class. + Clean up code Simplify event -2011-10-05 Jocelyn Fiat + Only callback if there is an event attached - Added `base_url' for REQUEST_ROUTER (and descendants) Fixed implementation - of REST_REQUEST_AGENT_HANDLER to avoid wrong path in inherited routine. Allow - to build a URI_TEMPLATE from another URI TEMPLATE, this way, if later we have - more attribute (status or settings) to URI_TEMPLATE, we'll be able to change - the `template' without breaking the settings + Remove ugly do nothing hack -2011-09-28 Jocelyn Fiat + Communication in both directions (Text control) Code regrouping - Made WGI_VALUE.name as READABLE_STRING_32 .. otherwise it is a pain to - manipulate. Changed return type of meta_variable to be WGI_STRING_VALUE ... - since the meta variable can not be anything else. Made sure REQUEST_URI - starts with one and only one slash Internal implementation: the _table now - compares object Removed SELF variable ... at least for now Be sure to provide - a REQUEST_URI even if the underlying connector does not. + Fix multi control Use multi control in example - cleaned http_client configuration files + Comment and reformat coffee script file - Added library/library.index + First working callback - restructured ewsgi to avoid too many sub cluster +2013-08-27 Severin Münger -2011-09-28 jvelilla + Added WSF_MULTI_CONTROL to support controls that consist of multiple separate controls. - Updated Restbucks examples, handle not method allowed in a better way, added - the readme file. + Created first working sample page application. -2011-09-27 jfiat +2013-08-27 YNH Webdev - Be sure to set the Result /= 0 (i.e ECURLE_OK) when error occurred. + Remove content length -2011-09-26 Jocelyn Fiat + Add html body - fixed compilation of rest example + Add assigner - fixed typo + Add post condition - Changed ITERATION_CURSOR [WGI_VALUE] into ITERABLE [WGI_VALUE] for - WGI_REQUEST.*parameters* and similar Applied recent changes on EWF_HEADER + Move initalize controls -2011-09-23 Jocelyn Fiat + Pretty Print - Updated changelogs.txt sync with nino and doc + Add a json state to each control -2011-09-23 Jocelyn Fiat + Fix path - Added AutoTest simple cases for ewsgi using Nino web server + Page structure - Fixing issue with experimental WGI_MULTIPLE_STRING_VALUE Fixed issue with - RAW_POST_DATA + Test - Use READABLE_STRING(_*) instead of just STRING(_*) +2013-08-27 Severin Münger - Added error reporting in HTTP_CLIENT_RESPONSE Added missing - set_connect_timeout + Created widget-project testapp project. -2011-09-22 Jocelyn Fiat +2013-08-23 oligot - Made all libraries compilable in any mode (voidsafe or not) Fixed related - examples + Updated Web meeting 2012 09 18 (markdown) -2011-09-22 jvelilla + Updated Useful links (markdown) - Initial import, work in progress restbuck example. Only support create a - resource + Updated Tasks Roadmap (markdown) -2011-09-21 Jocelyn Fiat + Updated Projects new suggestions (markdown) - better assertion to ensure `base' is a valid base url + Updated Projects new suggestions (markdown) - better return type for http client functions added helper features + Updated Projects (markdown) -2011-09-20 Jocelyn Fiat + Updated Projects (markdown) - fixed case sensitive path + Updated Projects (markdown) - Now using READABLE_STRING_... type + Updated Projects (markdown) - Added simple HTTP client. For now the implementation is using Eiffel cURL - library. It requires Eiffel cURL coming with next EiffelStudio 7.0 (or from - eiffelstudio's repo from rev#87244 ) + Updated Meetings (markdown) -2011-09-16 Jocelyn Fiat + Updated Home (markdown) - Fixed issues in WGI_REQUEST's invariant Fixed issues with guessing the - default format for REST handling Fixed issue with .._ROUTING_.. component. + Updated Home (markdown) - more flexible authenticated query .. on handler, and not anymore on context - object + Updated Home (markdown) - first version of http authorization .. for now, only basic digest + Updated Home (markdown) - Added "on_handler_mapped" callback to allow any REQUEST_HANDLER to record the - existing routes. + Updated EWSGI specification (markdown) - typo + Updated EWSGI specification (markdown) -2011-09-15 Jocelyn Fiat + Updated EWSGI (markdown) - minor enhancement of error lib + Links - Added WGI_MULTIPLE_STRING_VALUE Renamed value as WGI_STRING_VALUE.string - Renamed a few classes .._CONTEXT_I as .._CONTEXT updated example. + Links -2011-09-14 Jocelyn Fiat +2013-08-21 Jocelyn Fiat - Simplified interface of "router" library classes + Updated copyright for policy-driven classes, which is a contribution from Colin Adams. - applied renaming for rest and router lib +2013-08-21 jvelilla - Reorganized library "server/request/rest" + Merge branch 'master' of https://github.com/jocelyn/EWF - some renaming to use _I for the generic classes, and removed the DEFAULT_ - prefix for default implementation this should makes things easier for new - users +2013-08-21 Jocelyn Fiat - reorganized router library + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki - - Adopted deferred WGI_VALUE design for Result type of *_parameter and - similar functions - Adopted the ITERATION_CURSOR [WGI_VALUE] design for - *_parameters and similar functions - renamed parameter as item - provided - helper function to handle "string" value parameters Experimental for now. +2013-08-20 Jocelyn Fiat -2011-09-13 Jocelyn Fiat + Extracted the policy driven classes into their own library for now "wsf_policy_driven.ecf" Updated the restbucksCRUD example to demonstrate both approaches. - Added first draft for RESTful library note: the interfaces are likely to - change in the future + Moved recent policy-driven classes into "policy" sub folder - updated config file and examples + Merge branch 'handler' of github.com:colin-adams/EWF into colin-adams-handler - adding routing handler few renaming + Removed WSF_ROUTING_HANDLER.make_with_router (a_router) It was not used in existing code, and potentially dangerous, if coder reuses router by accident. -2011-09-09 Jocelyn Fiat +2013-08-19 Colin Adams - changing design to use generic instead of anchor types + Added header comment about redefining for extension methods - make router more easy to inherit from and specialized +2013-08-16 Colin Adams - Added support during match for {/vars} and also handle cases such as - /foo.{format}{/vars} or /foo.{format}{?vars} where no literal exists between - the uri template expressions + Changed age to max_age -2011-09-07 Jocelyn Fiat +2013-08-15 Colin Adams - use `resource' as generic name for uri or uri_template + Changed comment on execute to check assertion - Added request methods criteria for the router component. Now one can decide - map_agent_with_request_methods ("/foo/bar/{bar_id}", agent handle_foo_bar, - <<"GET">>) (and similar for non agent way) This might be useful in pure - RESTful environment. + Improved comment to ensure_content_exists - take 2 - renamed (un)set_meta_parameter as (un)set_meta_variable + Improved comment to ensure_content_exists -2011-09-05 jvelilla + Removed empty feature clause - Fixed ecf files that cause a cat-call in the example web server. +2013-08-14 Colin Adams -2011-08-30 Jocelyn Fiat + Fixed recursion on router bug - Changed prefix from EWSGI_ to WGI_ Changed meta variable type to - READABLE_STRING_32 +2013-08-14 colin-adams -2011-08-30 Jocelyn Fiat + Updated Writing the handlers (markdown) - Changed prefix class name from EWSGI_ to WGI_ changes in interface for - REQUEST and RESPONSE + Updated Writing the handlers (markdown) -2011-08-29 Jocelyn Fiat + Updated Writing the handlers (markdown) - naming: meta_variable(s) changed some string type to READABLE_STRING_32 or - READABLE_STRING_8 for now regarding Meta variables (need decision here..) + Updated Wsf previous policy (markdown) -2011-08-25 Jocelyn Fiat +2013-08-14 Colin Adams - changed prefix GW_ into EWF_ for EiffelWebFramework use - READABLE_STRING_GENERAL instead of just STRING + Further use of constants for execution variables - Merged REQUEST and ENVIRONMENT into REQUEST renamed ENVIRONMENT_NAMES into - META_NAMES better usage of READABLE_STRING_GENERAL, and other strings - abstract RESPONSE_BUFFER in implementation of EWSGI for the implementation, - inheriting from deferred specification (more to come later) +2013-08-13 colin-adams - Merged REQUEST and ENVIRONMENT into REQUEST renamed ENVIRONMENT_NAMES into - META_NAMES better usage of READABLE_STRING_GENERAL, and other strings for the - implementation, inheriting from deferred specification (more to come later) + Updated Writing the handlers (markdown) -2011-08-18 Jocelyn Fiat +2013-08-13 Colin Adams - code cleaning, and prepare for internal review + Gave symbolic names to execution variables used by the framework -2011-08-02 jocelyn +2013-08-13 colin-adams - Updated EWSGI : open questions (markdown) + Updated Writing the handlers (markdown) - Updated EWSGI: open questions (markdown) +2013-08-12 Colin Adams -2011-08-02 Jocelyn Fiat + Added some checks for custom erros being set. - minor improvements on response_as_result code +2013-08-12 colin-adams - cosmetic in config file .ecf + Updated Writing the handlers (markdown) - add "write_headers_string" to RESPONSE_BUFFER + Updated Writing the handlers (markdown) -2011-08-01 Jocelyn Fiat +2013-08-12 Colin Adams - moved ewsgi-full config file under tests (this is mainly for dev purpose, to - be able to compile and edit all classes related to ewsgi) + refactored to allow etags to work properly when multiple representations are available - Tried to reduce gap between both EWSGI proposals Re-adapt the Spec-compliant - solution (instead of Lib-compliant solution). Thus no more 100% deferred - interface. Rename EWSGI_RESPONSE into EWSGI_RESPONSE_BUFFER Added in - extra/response-as-result/ an copy/paste from the implementation of Paul's - proposal (not up to date with Paul's spec). But this is mainly for - information and tests. Removed part of the ewsgi/specification interfaces ... - to be able to test EWSGI compliant library against the pure specification - (experimental). Renamed most of the GW_... into EWSGI_... +2013-08-12 colin-adams -2011-07-29 Jocelyn Fiat + Updated Using the policy driven framework (markdown) - added hello_routed_world example few changes on new `router' library (still - in-progress) +2013-08-08 Colin Adams - Added first draft for a URI and/or URI-template base request router. + Found another TODO - write_error_response in GET processing - Added "flush" to the EWSGI_RESPONSE_STREAM +2013-08-08 colin-adams - added missing non-void-safe .ecf + Updated Using the policy driven framework (markdown) - added missing non-void-safe .ecf +2013-08-08 Colin Adams -2011-07-28 Jocelyn Fiat + Implemented remaining error response calls - Fixed various issue with URI template, added corresponding tests + Errors corrected that were discovered in the course of writing the tutorial - fix hello world example +2013-08-08 colin-adams -2011-07-27 Jocelyn Fiat + Updated Writing the handlers (markdown) - added script to test compilations of .ecf in EWF + Updated Writing the handlers (markdown) - Added the possibility to set the "Status" header (different from the status - line) in GW_HEADER Renamed EWSGI_RESPONSE as EWSGI_RESPONSE_STREAM to avoid - confusion with EWSGI_RESPONSE as stated in Paul's proposal Added default - "configuration" (for nino and cgi) to be independant of the connector (at - compilation time) Added example implementing Paul's proposal on top of EWSGI + Updated Writing the handlers (markdown) - Added an implementation folder in ewsgi_spec, mainly to provide default - implementation just to save the developer of connector some time. changed - structured + Updated Writing the handlers (markdown) - added non void-safe configuration files +2013-08-08 Colin Adams - restructured specification folders + made deleted into an effective routine - Apply prefix renaming from the specification Reduced the number of EWSGI - classes +2013-08-08 colin-adams - now use prefix EWSGI_ instead of GW_ for ewsgi specification + Updated Writing the handlers (markdown) - First step to extract the interface of the EWSGI specification into its own - library Applied the changes +2013-08-07 colin-adams - removed implementation from APPLICATION , RESPONSE and REQUEST classes + Updated Writing the handlers (markdown) - removed the notion of status from GW_HEADER, since it should not be part of - the HTTP header added status setting in GW_RESPONSE added a default - implementation for write_status in OUTPUT_STREAM (it should be moved away in - the future) removed any implementation from GW_REQUEST, and put it in - GW_REQUEST_IMP + Updated Writing the handlers (markdown) -2011-07-26 Jocelyn Fiat + Updated Writing the handlers (markdown) - replace write_string by write in RESPONSE + Updated Writing the handlers (markdown) -2011-07-25 Jocelyn Fiat + Updated Writing the handlers (markdown) - various alternative implementation for response + Created Wsf caching policy (markdown) - Redesigned the RESPONSE to remove the output stream from the deferred - interface Redesigned the uploaded file part to be more object oriented Move - some implementation from REQUEST to REQUEST_IMP + Updated Writing the handlers (markdown) -2011-07-22 Jocelyn Fiat + Created Wsf previous policy (markdown) - added doc/spec for uri template + Updated Writing the handlers (markdown) - Fixed issue with matcher + Updated WSF_OPTIONS_POLICY (markdown) - Improvement and revert back to support draft 04 (but using custom variable, - allow the user to follow draft 05 spec) + Updated Writing the handlers (markdown) - fixing issue with URI TEMPLATE matcher + Created WSF_OPTIONS_POLICY (markdown) - added URI_TEMPLATE_MATCH_RESULT + Updated Writing the handlers (markdown) -2011-07-21 Jocelyn Fiat + Updated Writing the handlers (markdown) - updated README + Updated Writing the handlers (markdown) -2011-07-20 Jocelyn Fiat + Updated Using the policy driven framework (markdown) - added use of URL-encoder to unencode the URL values (to fill the parameters) - review design of GW_RESPONSE to hide the output, and remove the header - attribute added script_url in REQUEST to help the user build url relative to - script_name + cosmetic + Created Writing the handlers (markdown) - First version of URI Template library as specified by - http://tools.ietf.org/html/draft-gregorio-uritemplate-05 (it seems to - contains some error in the spec .. or minor incoherences, to double check) - The matcher is basic, it does not handle all the details of the string - builder, but that seems ok for now. + Updated Using the policy driven framework (markdown) -2011-07-18 Jocelyn Fiat + Updated Using the policy driven framework (markdown) - added format and request method constants classes + license file + Created Using the policy driven framework (markdown) - sync nino and json +2013-08-07 Colin Adams -2011-07-15 Javier Velilla + Fixes as picked up by code review - Refactor to use the new library structure convention. +2013-08-06 Colin Adams -2011-07-14 Jocelyn Fiat + restbucksCRUD example changed to use policy-driven framework - rename new_request_context by new_request + Policy-driven URI template handlers -2011-07-13 Jocelyn Fiat + New routines added to WSF_REQUEST to support ploicy-driven framework - renamed GW_REQUEST_CONTEXT as GW_REQUEST + New routines added to HTTP_HEADER to support ploicy-driven framework - Design change, now we have `req' REQUEST and `res' RESPONSE instead of just - `ctx' + Add CONNEG to wsf*.ecf to support ploicy-driven framework - enhanced comment for `execute' +2013-08-05 jvelilla - Make a simple hello world based on nino + Merge pull request #6 from jocelyn/patch20130805 + Enhanced interface of JSON_ARRAY and JSON_OBJECT and new JSON_ITERATOR -2011-07-12 Jocelyn Fiat +2013-08-05 Jocelyn Fiat - Added GW_HEADER Added pre_, post_ and rescue_execute for GW_APPLICATION Fixed - an unknown class in export clause cosmetic + copyright + Enhanced interface of JSON_ARRAY and JSON_OBJECT Added JSON_ITERATOR - First integration of the new GW_ design more centralized on connector, and - does not require specific feature on GW_APPLICATION depending on the - connector. So this is really more flexible this way, and much easier to write - application supporting CGI, FCGI, Nino and so on .. as demonstrated in - hello_world This is a first version, more will come later, mainly migrating - from Eiffel Web Reloaded to this Eiffel Web Framework project. + removed building the Clib for Eiffel cUrl, since it is not anymore included in EWF. -2011-07-12 Jocelyn Fiat + Cosmetic (removed commented line and fixed bad indentation) - let's have a nino-safe.ecf and also a nino.ecf for non void-safe system +2013-08-05 Jocelyn Fiat -2011-07-11 jvelilla + Merge pull request #67 from berenddeboer/master + Remove invariant violation. - Added test cases from getest to autotest. First version. +2013-08-03 Berend de Boer -2011-07-08 Jocelyn Fiat + Remove invariant violation. - focus on GW_APPLICATION +2013-07-31 Jocelyn Fiat -2011-07-07 Jocelyn Fiat + Merge pull request #66 from oligot/fcgi-osx + FastCGI connector and OS X - a few renaming better GW_ENVIRONMENT interface +2013-07-30 Jocelyn Fiat -2011-07-07 jfiat + Update README.md - Converted the autotest test suite to void-safety + cosmetics +2013-07-19 Olivier Ligot - Now if you want to use the json utilities for gobo, you just need to include - the json_gobo_extension.ecf (note that the related gobo classes are not - void-safe) + cosmetics + Fix C compilation when using libfcgi connector on OS X (#65) -2011-07-07 jvelilla +2013-07-11 jvelilla - Updated eJSON to use Eiffel 6.8 version. Basically the changes are: Replace - ? by detachable indexing by note removing `is' from features, and in some - places replaced by = In the ecf now we need to include every gobo library, - because the gobo.ecf, exclude libraries that are needed. TODO: the test-suite - is not void-safety. + Merge pull request #64 from oligot/all-tests + Tests compile again (fixes #63) -2011-07-06 jvelilla +2013-07-11 Olivier Ligot - Updated History and Readme files. + Tests compile again (fixes #63) -2011-07-06 Jocelyn Fiat +2013-07-08 jvelilla - updated doc + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + Conflicts: + draft/application/cms/README.md + draft/application/cms/src/cms_session.e + draft/src/gewf/license.lic + library/network/http_client/src/expectation/http_client_response_expectation.e -2011-07-05 Jocelyn Fiat +2013-07-08 Colin Adams - cosmetic, license, copyright + Merge branch 'master' into handler pull from upstream -2011-07-05 jocelyn + Merge branch 'master' of github.com:EiffelWebFramework/EWF Routine merge - Updated Tasks Roadmap (markdown) + prior to merging - Updated Tasks (markdown) +2013-07-05 Jocelyn Fiat -2011-07-05 Jocelyn Fiat + Moved gewf under draft/src/gewf - added doc/wiki (wiki from github) + added README for gewf - First draft for the ewsgi spec + licensing and copyright -2011-06-01 Jocelyn Fiat + First working (but limited) tool - Fixed the HTTP_SERVER.shutdown_server + Added first attempt to provide a application builder. For now only trying to have a generic template. + Do not expect anything working for now, this is just the start of a draft -2011-05-30 Jocelyn Fiat +2013-07-04 Jocelyn Fiat - left adjust request_header_map items. + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki -2011-05-28 Javier Velilla +2013-07-04 Jocelyn Fiat - Update Readme files + Updated Doc_Getting_Started (mediawiki) - Commit Jocelyn changes. + Updated Doc_Getting_Started (mediawiki) -2011-05-27 Jocelyn Fiat + Updated Doc_Getting_Started (mediawiki) - Reset values after processing the request Added port information when - starting the server + Updated Doc_Getting_Started (mediawiki) - Added force_single_threaded option Modified the interface of process request - default port is now 80 + Updated Doc_Getting_Started (mediawiki) - Moving things around to make it more structured. and turn into library + Updated Doc_Index (mediawiki) - abstracted the HTTP_HANDLER to let the user integrate at the level of its - choice (either very early so handle itself the header handling, or later to - reuse existing code) + Updated Doc_Index (mediawiki) -2011-05-26 Jocelyn Fiat + Updated Doc_Index (mediawiki) - A few change to make it more customizable and prepare integration to - EiffelWebReloaded (see on github) + Created Doc_Getting_Started (mediawiki) -2011-05-20 Javier Velilla + Created Doc_Index (mediawiki) - Import HTTPD Eiffel +2013-07-02 Jocelyn Fiat -2011-01-13 manus + Moved the cms component to https://github.com/EiffelWebFramework/cms This is now out of EWF repository. - * Use READABLE_STRING_GENERAL instead of STRING_GENERAL for routines - expecting a string. This enables us to use IMMUTABLE_STRINGs as argument - without conversion. * As a consequence we are also now using `same_string' - instead of `is_equal' to compare strings which will handle any type of - strings. * Enforced the rule that arguments are READABLE_STRING_GENERAL and - queries are STRING_32 when unicode is expected. * The most delicate part of - the change was the update of the encoding library. Now we have two - queries:last_converted_string_32 and last_converted_string_8 in addition of - the typeless last_converted_string. The idea is that if you know that you are - converting to something where characters are at least 2 bytes wide, you know - that you have to use STRING_32, otherwise it will be STRING_8. * Unlike - STRING_GENERAL, READABLE_STRING_GENERAL does not have a conversion to - STRING_32 and thus in a few places we had to use `as_string_32' for explicit - conversion which I found better. +2013-06-28 Jocelyn Fiat -2010-03-16 manus + improve file system handler to ignore .* *.swp *~ or using FUNCTION to compute the ignore behavior - Moved the experimental branch to be the default for libraries. + Improved Unicode support. -2010-03-09 jvelilla + Ensured that EWF compiles with 7.2 + (note about ecf version + 1-10-0 void_safety="all" <--> 1-11-0 void_safety="transitional" + 1-10-0 void_safety="all" <--- 1-11-1 void_safety="all" + ) - Removed obsolete cluster. +2013-06-18 jvelilla - Added autotest test suite + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF -2010-03-08 paul.cohen +2013-06-18 Jocelyn Fiat - Added getest based test program + Cosmetic, improve readability of conditions -2010-03-08 jvelilla + Removed wsf_support, which is useless and unused - Updated Eiffel configuration file, updated to the new clusters + Better use append rather than copy here. -2010-03-08 paul.cohen + Try to send 500 Internal error when exception reachs this point - Ported r75 (all JSON value classes) from POC_CONVERTERS_FACTORY branch to - trunk +2013-06-18 jvelilla - Merged converters and factory classes from POC_CONVERTERS_FACTORY to trunk + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + Conflicts: + draft/application/cms/cms.ecf + draft/application/cms/example/src/web_cms.e + draft/application/cms/src/cms_configuration.e + draft/application/cms/src/cms_default_setup.e + draft/application/cms/src/cms_service.e + draft/application/cms/src/cms_setup.e + draft/application/cms/src/handler/cms_file_system_handler.e + draft/application/cms/src/kernel/content/format/filters/cms_html_filter.e + draft/application/cms/src/modules/debug/debug_module.e + draft/application/cms/src/notification/cms_email.e + draft/application/cms/src/notification/cms_storage_mailer.e + draft/application/cms/src/storage/cms_sed_storage.e + draft/application/cms/src/storage/cms_storage.e + library/runtime/process/notification_email/notification_external_mailer.e + tools/bin/ecf_updater.exe - New directory layout created +2013-06-17 Jocelyn Fiat -2010-03-05 jvelilla + Updated ecf file as workaround to make autotest works fine. - Added History, Readme and License files +2013-06-13 Jocelyn Fiat -2009-08-25 larryl + Added notification_email library as official EWF lib. - Added automatic license files for docking and cURL library + Unicode support for notification_email library -2009-08-04 jfiat + Added HTTP_DATE.append_to...string conversion feature Made HTTP_DATE.append_...to...string more flexible by acception STRING_GENERAL, so it is possible to append to STRING_32 (further more, it avoid potential implicit conversion) - Optimized code, and removed extra dependencies. Added void-safe version +2013-06-12 Jocelyn Fiat -2009-05-18 dfurrer + Removed a few obsolete usages, and benefit from new classes from EiffelStudio >= 7.2 - - Adding the necessary platform-specific implementations (stubs atm) to build - EiffelStudio using the Cocoa Vision2 implementation (without GTK+ - dependencies). - There is a new target "bench_cocoa" in ec.ecf which builds - the native Mac version of EiffelStudio +2013-06-12 Jocelyn Fiat -2009-05-18 larryl + Updated WGI specification to ease future migration to unicode support. Use STRING_TABLE, and better interface of READABLE_STRING_GENERAL, this way the signature are more flexible for unicode keys. + Note that for now, unicode environment variables are not correctly supported in WGI + especially the value of the variables. + Any layer on top of EWGSI suffers from the same issues. - Updated cURL library to use API wrapper library Then removed useless classes - such as {API_LOADER} {API_LOADER_IMP}, removed useless library references - such as Vision2 and WEL + Better exception handling -2009-05-01 manus + + code cleaning - Updated to 1-5-0 schema version of ECFs. +2013-06-12 Jocelyn Fiat -2009-04-09 manus + minor optimization avoiding to create temporary string that might be big - Use new `note' syntax. + Updated CMS support for unicode. -2009-03-19 jfiat + Fixing compilation of CMS demo project. - Added curl_easy_getinfo. Associated constants and also CURLOPT_USERPWD. Minor - optimization and cosmetics. +2013-06-12 Jocelyn Fiat -2009-03-18 jfiat + Better support for unicode path and values. + Added WSF_REQUEST.percent_encoded_path_info: READABLE_STRING_8 + to keep url encoded path info, as it is useful for specific component - Cosmetic + Optimization + Assertion + Void-safety (no significant interface - changes) + The router is now using WSF_REQUEST.percent_encoded_path_info + since URI_TEMPLATE are handling URI (and not IRI) + this fixes an issue with unicode path parameters. -2009-02-27 larryl + This should not break existing code, and this fixes various unicode related issues related + to PATH parameter and path info + but also any component using file names. - Added features related with curlopt_readfunction (for setting and using read - function), so users can read data from local machine and send the data to - server. Added curlopt_put and other constance to {CURL_OPT_CONSTATNS} which - used by {CURL_EASY_EXTERNALS} Contributed by Heiko Gering + (required EiffelStudio >= 7.2) -2009-02-24 manus +2013-06-12 Jocelyn Fiat - Use new syntax for object test and attached/detachable type. + Merge pull request #60 from oligot/notification + Extract notification email library from the CMS draft application -2009-02-04 manus +2013-06-12 Olivier Ligot - Added back vision2 since used for the API_LOADER_IMP on Unix but this time - with an explicit conditional. + Rename notification to notification_email - Made the cURL library void-safe. + Extract notification library from the CMS draft application + The new library is located in library/runtime/process/notification. + This allows to use it apart from the CMS. -2008-12-29 manus +2013-06-11 jvelilla - Removal of `is' keyword. Replacement of `is' by `=' for constant definitions. - Replaced `indexing' by `note'. + merge -2008-12-01 manus + Merge https://github.com/EiffelWebFramework/EWF - Moved API_LOADER class to where it was used, i.e. the cURL library. +2013-06-11 Jocelyn Fiat -2008-08-29 jvelilla + Added HTTP_DATE.make_now_utc for convenience. - Add descriptions. Change in skip_withe_spaces to handle newline %N and - carriage Return %R +2013-06-07 Jocelyn Fiat -2008-08-27 berend + Fixed various void-safety issue with recent compilers. + Note that EWF does now require EiffelStudio 7.2, and is compiling with 7.3 - SmartEiffel doesn't have is_space. +2013-05-31 Jocelyn Fiat -2008-08-25 jvelilla + Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino - Add accept method (JSON_VISITOR), remove is_xxx queries, remove to_json - feature. Improve comments + removed unused local variable - Add Visitor Pattern , JSON_VISITOR and PRINT_JSON_VISITOR +2013-05-29 jvelilla -2008-08-05 berend + Merge branch 'master' of https://github.com/jvelilla/EWF - Reformatted code to Gobo standard. + Added command POST /session/:sessionId/modifier Initial implementation of KeyBoard. Added Mouse class, but not implemented. -2008-06-09 jvelilla +2013-05-29 Jocelyn Fiat - Add new files to test ejson, based on json t test material - http://www.json.org/JSON_checker/test.zip + Merge pull request #10 from oligot/reuseaddr + Socket: reuse address to resolve the error "address already in use" - Update JSON_OBJECT, put routine, now follows Eiffel Style based on HAST_TABLE +2013-05-29 Olivier Ligot - Update Parser with is_parsed. Update parse_string + Socket: reuse address to resolve the error "address already in use" + On Unix, when we stop the server, and then re-start it right away, we get an + error that the address is already in use: + http://www.softlab.ntua.gr/facilities/documentation/unix/unix-socket-faq/unix-socket-faq-4.html#ss4.1 + This means that the sockets that were used by the first incarnation of the + server are still active. -2008-05-25 jvelilla + One way to resolve this is to set the socket option SO_REUSEADDR: + http://www.softlab.ntua.gr/facilities/documentation/unix/unix-socket-faq/unix-socket-faq-4.html#ss4.5 - Update test + Tested on Ubuntu 12.04 LTS - Update JSON_VALUE and JSON_OBJECT interface +2013-05-28 Jocelyn Fiat - CDD classes + Improved WGI_INPUT_STREAM.append_to_file (f: FILE; nb: INTEGER) -2008-05-24 jvelilla + update cms style - Update JSON_STRING rutine is_equal Update JSON_OBJECT new features (has_keys, - item,get_keys), and fixed an incorrect use of HASH_TABLE + Merge branch 'master' of github.com:EiffelWebFramework/EWF - eJson tests initial import + Added WSF_REQUEST.read_input_data_into_file (FILE) - eJson initial import +2013-05-27 Jocelyn Fiat -2008-03-05 larryl + Merge pull request #57 from oligot/port + Use port number 9090 instead of 80 - Use precondition instead of raising an exception. Fixed bug#14062: CURL - dynamic library not found exception is causing an internal failure in WEL +2013-05-27 Olivier Ligot -2008-02-29 larryl + Use port number 9090 instead of 80 + Port 80 is often already used by standard webservers (Apache, nginx, ...). + Moreover, on Linux, ports below 1024 can only be opened by root. - Raise an exception when cURL dynamic library not found. +2013-05-23 jvelilla -2008-01-09 larryl + Update readme.md - Added `global_cleanup' which declared as curl_global_cleanup() in C. Added - comments. + Update readme.md -2007-12-31 larryl + Update readme.md - Added http header related features. It means we can change http header by - setting a list ourself. Wrapped more cURL constants. Added `release_item' - in {CURL_FORM} which is useful to clean the {CURL_FORM} generated by - {CURL_EXTERNALS}.formadd_string_string. +2013-05-22 jvelilla -2007-12-07 jfiat + Updated command_executor Added more examples. - Fully automated EiffelStudio's building using geant scripts: It integrates - part of the work done by "es-make" project from ETH (mainly on the checker - script) This is a first step in rewriting the previous - $EIFFEL_SRC/scripts/*.eant scripts to build 'ec' and make a new delivery. - Added a few standalone geant scripts in the EiffelStudio's source code, to - ease the compilation. +2013-05-20 jvelilla -2007-12-07 manus + Update find element examples. Improved command executor - Ensured that the library also works in finalized mode. The issue is that in - finalized mode more than one copy of `eiffel_curl.h' could be present, - meaning that multiple values of each static declared variables could be - present at run-time and in one case, one was properly initialized, but not - the other. Fixes bug#13671. +2013-05-19 jvelilla -2007-11-18 manus + Merge https://github.com/EiffelWebFramework/EWF - Fixed various errors in the C interface. Use new C external syntax. + Added new selenium locator examples. Fixed find_elements in WEB_DRIVER. -2007-11-08 larryl +2013-05-17 Jocelyn Fiat - Improved cURL wrapper library. We can write functions from curl_easy_setopt - in pure Eiffel now. Before we have to implement the functions in C. + Merge pull request #56 from oligot/scrollbar + Fix the CSS so that we don't see the scrollbar -2007-10-30 larryl +2013-05-17 Olivier Ligot - Made cURL wrapper library works on Linux. + Fix the CSS so that we don't see the scrollbar + This commit fixes the CSS so that we don't see the scrollbar anymore. + It just removes the width: 100% property on the div elements. -2007-10-26 larryl +2013-05-17 Jocelyn Fiat - We can start our executables even without dll (so) files. + Merge pull request #55 from oligot/suggestion-method + Display suggestion is now configurable + +2013-05-17 Olivier Ligot + + Display suggestion is now configurable. + Commit 665772bda213e838b3c092075a386ee3b846b0be forces to display only + suggestion for the request's method (this was not the case before). + + This commit allows to configure this behaviour: it keeps the current behaviour + but also allows to use the other behaviour where the suggestion is displayed + for each request method (as it was before). + +2013-05-15 Jocelyn Fiat + + removed unused local variable + + use EWF_tmp- prefix for temp uploaded file name. + + fixed implementation of WSF_UPLOADED_FILE.append_content_to_string + + Added WSF_UPLOADED_FILE.append_content_to_string (s: STRING) which can be used to get the content of the uploaded file. + + Added a way to customize the place to store temporary uploaded files + + code cleaning + +2013-05-14 Jocelyn Fiat + + removed unused local variable + + Added WSF_REQUEST.has_execution_variable (a_name): BOOLEAN Since the related value can be Void. + + Removed unused local variables. + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + + Reuse WSF_LAUNCHABLE_SERVICE code as ancestor of WSF_DEFAULT_SERVICE_I Note that this way, it is easy to redefine `launch' in order to customize the launching instruction if needed (thinking about testing...) This might breaks some code since it adds a `launch' feature, but it is easy to fix and unlikely to happen often. + +2013-05-14 jvelilla + + Move expectation classed under a expectation cluster, added a new expectation class for header. + + Added examples find by id, name and class. + +2013-05-13 jvelilla + + Updated selenium WEB_DRIVER_WAIT, the feature until_when now use a predicate. Updated the related example. + +2013-05-10 jvelilla + + Merge branch 'master' of https://github.com/jvelilla/EWF + + Initial implementation of HTTP RESPONSE EXPECTATIONS. Added a class to test http client with httpbin.org and expectations + +2013-05-10 Colin Adams + + Merge branch 'master' into handler + +2013-05-08 jvelilla + + Update readme.md + + Updated documentation + This documentation is based on Selinum http://docs.seleniumhq.org/ + and adapted to the Eiffel implementation. + + Update readme.md + + Update readme.md + + Updated WEB_DRIVER_WAIT class, still need to be improved. Updated Readme and the example + +2013-05-03 jvelilla + + Merge https://github.com/EiffelWebFramework/EWF + + Improve the example, Added a new class WEB_DRIVER_WAIT, still under development. Update web driver, to define time outs. + +2013-05-03 Jocelyn Fiat + + Merge pull request #54 from colin-adams/master + Handle Precondition Failed for If-Match: * when no handler exists for the resource + +2013-04-30 jvelilla + + Added a simple search example. Updated web_driver, use the API as delegation instead of inheritance. Updated web_element class. + +2013-04-29 jvelilla + + Created new classes to represent a web driver. Added Examples, clean code + +2013-04-24 jvelilla + + Completed low level methods, clean code. + + Implemented more commands from REST API JSONWireProtocol Refactor COMMAND_EXECUTOR. + +2013-04-24 Colin Adams + + merged from master + +2013-04-23 jvelilla + + Added more command from JSONWireProtol. + + Added more commands from the JSONWireProtocol. + +2013-04-22 Jocelyn Fiat + + send the file date for download file response. + + WSF_RESPONSE.put_header_text should use put_raw_header_data (and not append) + + added header helper feature in the context interface + added HTTP_CLIENT_SESSION.custom (...) + to support any kind of request methods + +2013-04-22 jvelilla + + Added new classes, implemented more methods from JSONWireProtol API. Added test cases + +2013-04-17 Colin Adams + + Made changes requested in review + +2013-04-17 jvelilla + + Fixed errors in navigate_to_url command, Fixed url templates in json_wire_protocol_command. Added test cases to AutoTest + +2013-04-16 jvelilla + + Fixed feature typo, improved commands, added AutoTest + +2013-04-15 jvelilla + + Updated RestAPI commands + + Improved error handling, implemented more methods from the REST API from Selenium2 + +2013-04-13 Colin Adams + + If-Match implemented in skeleton handler + + If-Match implemented in skeleton handler + +2013-04-12 jvelilla + + Fixed configurations paths + + Initial import Selenium binding + +2013-04-11 Jocelyn Fiat + + Fixed HTTP_CLIENT_RESPONSE when dealing with redirection before it was storing some header in the body. now we added redirections: .. which is a list of redirection informations: - status line - header - and eventual redirection body (but at least by default, libcurl does not cache body) + Enhanced the http_client library to be able to write directly the downloaded data into a file (or as convenient thanks to agent). + +2013-04-11 Colin Adams + + Merge branch 'master' of git://github.com/colin-adams/EWF + + Fixed Use Proxy response + + Fixed Use Proxy response bug + + Fixed bug in 32/8 bit string existance + + Removed illegal precondition + + Handle Precondition Failed for If-Match: * where there is no handler for the resource + +2013-04-10 Jocelyn Fiat + + Fixed feature comments + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + + Fixed HEAD request related issue + see https://github.com/EiffelWebFramework/EWF/issues/53 + +2013-04-08 Jocelyn Fiat + + Merge pull request #52 from colin-adams/master + Bad postcondition for handle_use_proxy + +2013-04-05 Colin Adams + + Removed incorrect postcondition for handle_use_proxy + +2013-04-05 Jocelyn Fiat + + Cosmetic fixed various indentations Removed useless dependencies for ewf_ise_wizard project. + +2013-03-30 Jocelyn Fiat + + fixed name of file with class name + +2013-03-29 Jocelyn Fiat + + fixed typo in default name for maintenance + + Added a maintenance filter + + added WSF_AGENT_FILTER + + more info in debug_output for uploaded file + + better error output for CGI connector + + Added WSF_LAUNCHABLE_SERVICE which use a deferred `launch' feature. This makes it easy to support multiple connectors support + + reuse implementation from WSF_REQUEST to get input data for MIME handlers. + + Added assertion for mime helper + + Do not change tmp_name from WSF_UPLOADED_FILE ... otherwise the file will be removed at the end of the request + + Fixed MIME multipart form data handler And use content-length value if provided. + + check against capacity not count + + be sure we got the full content same as content length + + Added assertion to WSF_UPLOADED_FILE + +2013-03-28 Jocelyn Fiat + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + + at this point we have no garantie that the header are sent this can be ensured only at {WGI_RESPONSE}.commit exit. + +2013-03-27 Jocelyn Fiat + + Merge pull request #49 from colin-adams/protocol_version + First attempt at WSF_HTTP_PROTOCOL_VERSION + +2013-03-27 Colin Adams + + First attempt at WSF_HTTP_PROTOCOL_VERSION + +2013-03-27 Jocelyn Fiat + + Uncommented code to make recognized_methods supported by the method not allowed response. + Still need to see how to use it and set the recognized methods for the application. + + Removed WSF_URI_*_ROUTER_HELPER and use instead the WSF_URI_*_HELPER_FOR_ROUTED_SERVICE (the removed class were not in latest release, so this is safe to use the new name) Cosmetic + +2013-03-27 Jocelyn Fiat + + Merge pull request #46 from colin-adams/skeleton_router + Skeleton router + + note : + - wsf_method_not_allowed_response.e needs deeper review + - tidy some helper classes + +2013-03-27 Colin Adams + + Further changes in response to review comments by Jocelyn + + now all-safe.ecf compiles again + + delete ecf + +2013-03-27 Jocelyn Fiat + + added wsf_html for (un)installation + + Updated all-safe.ecf (add all-stable-safe.ecf that includes only the library, examples and specific draft lib) + + new integration ecf file that includes most of the library .ecf of EWF (note to include non library ecf, the related ecf should have a library_target) + + better use a root class + + corrected null-safe.ecf + +2013-03-27 Colin Adams + + openid demo fixed + +2013-03-26 Colin Adams + + merging from upstream - stage 4 + + merging from upstream - stage 3 + + merging from upstream - stage 2 + + merging from upstream - stage 1 + + Use class URI + +2013-03-26 Jocelyn Fiat + + fixed compilation + + allow to to set html attribute to the select widget (useful to add code like onchange="this.form.submit()") + + Moved more components from CMS to wsf_html. This includes WSF_PAGER, and feature in WSF_THEME .. including WSF_API_OPTIONS used to compute url and link. + + Added remove_header_named (a_name) + + Do not use socket_ok .. but readable (as specified in precondition of read_stream_thread_aware + +2013-03-25 Jocelyn Fiat + + Added self doc to the wsf file system handler Allow to hide the wsf file system handler from self documentation Better description format handling for the self doc + +2013-03-23 Colin Adams + + Corrected header comment + +2013-03-22 Jocelyn Fiat + + use wsf_html lib in the demo + + removed obsolete call + + added wsf_html-safe.ecf to all-safe.ecf + + restored assertion removed by error + + Extracted the WIDGET and FORM classes out of "cms" component and build the wsf_html library which also include the previous css lib. + + Added WSF_STARTS_WITH_AGENT_HANDLER + + Fixed default status code for redirection response message object. + + Fixed assertion that were broken with recent delayed header response. Changed semantic of put_header_lines and add_header_lines, Now the arguments are iterable of string (i.e the header line) + The previous features were not used, and were not well named. + So we removed them, and reused the names for adpated implementation. + +2013-03-22 Colin Adams + + Merge branch 'master' into skeleton_router + +2013-03-22 Jocelyn Fiat + + Display only suggestion for request's method + + Include cms and css into the all-safe.ecf + + update CMS code due to CMS_CSS_* renaming + + Fixed self documentation when querying documentation related to a specific resource (uri, uri-template, ..) Before it was showing only the first found so if we had "/foo" GET -> FOO_GET_HANDLER "/foo" POST -> FOO_POST_HANDLER It was showing only the first, now this is working as expected. + + Moved the *_CSS_* class in their own (draft) library, since they are not CMS specific. + +2013-03-21 Jocelyn Fiat + + Fixing feature comments + +2013-03-21 Colin Adams + + fix merge conflict from master + +2013-03-21 Jocelyn Fiat + + cosmetic + + Removed WSF_AGENT_HANDLER since it was an artificial notion, as we have no common ancestor for WSF_HANDLER having execute (req: WSF_REQUEST; res: WSF_RESPONSE) + + cosmetic + + Fixed signature of `set_next' to allow redefinition. Added assertions + + Now WSF_FILTER_HANDLER is a handler and has formal generic G constrained to WSF_HANDLER This eases implementation of potential descendants. + + Added WSF_HANDLER_FILTER_WRAPPER to build a bridge from router to filter. + + Added HTTP_AUTHORIZATION.is_basic: BOOLEAN query to know if this is a Basic HTTP Authorization. + +2013-03-21 Jocelyn Fiat + + Introduced WSF_ROUTER_SESSION + This fixes CQS violation from WSF_ROUTER.dispatch_and_return_handler (...): ? WSF_HANDLER + and related code, and this is more compliant with concurrency. + + In addition, the WSF_ROUTER_SESSION can be enhanced in the future to answer more advanced needs. + +2013-03-21 Jocelyn Fiat + + Fixed WSF_FILE_RESPONSE and WSF_DOWNLOAD_RESPONSE and set the status code to be Ok by default + +2013-03-20 Colin Adams + + Amedned class header of WSF_METHOD_NOT_ALLOWED_RESPONSE + + Merge branch 'master' into skeleton_router + +2013-03-19 Jocelyn Fiat + + mimic design of WSF_ROUTED_SERVICE for WSF_FILTERED_SERVICE and update the filter example to make it simpler and reuse code. + + updated install and uninstall scripts + + Updated WSF_NOT_IMPLEMENTED_RESPONSE to include the request uri + + added WSF_..._ROUTER_HELPER and made the previous WSF_..._ROUTED_SERVICE obsolete + + WSF_CORS_OPTIONS_FILTER should not inherit from WSF_URI_TEMPLATE_HANDLER + +2013-03-19 Colin Adams + + added reference to assertion tags in check justiciation + +2013-03-19 Jocelyn Fiat + + Moved all *_CONTEXT_* router related classes into wsf_router_context.ecf library This makes wsf simpler to discover. And advanced context enabled handler, mapping, ... are still available for now in wsf_router_context.ecf library + +2013-03-19 Jocelyn Fiat + + Merge pull request #22 from oligot/cors + Cross-Origin Resource Sharing initial support + + Merge pull request #47 from colin-adams/master + Ignore Emacs backup files + +2013-03-19 Colin Adams + + Added emacs backup giles to .gitignore + +2013-03-18 Jocelyn Fiat + + Added deferred WSF_AGENT_HANDLER Added WSF_NOT_IMPLEMENTED_RESPONSE + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + added small doc on how to include EWF git repo in another git repository + +2013-03-18 Colin Adams + + refactored for WSF_ROUTED_SKELETON_SERVICE + + prior to refactoring for WSF_ROUTED_SKELETON_SERVICE + + prior to refactoring for WSF_ROUTED_SKELETON_SERVICE + +2013-03-17 Colin Adams + + Added missing class + + minor polishing + + added contracts and polished forbidden for OPTIONS * + + implemented OPTIONS * except for Allow header + +2013-03-16 Colin Adams + + Implemented 414 and 503 responses on WSF_ROUTED_SERVICE + + Implemented 503 and 414 responses in WSF_ROUTED_SERVICE + +2013-03-15 Jocelyn Fiat + + Merge pull request #44 from colin-adams/master + Contracts for non-Void-safe users (take 5) + +2013-03-15 Colin Adams + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + Sixth round of contracts for non-Void-safe users + +2013-03-15 Jocelyn Fiat + + Merge pull request #43 from colin-adams/master + Contracts for non-Void-safe users (take 4) + +2013-03-15 Colin Adams + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + Pulling latest merges of other developers commits. + + Fifth round of contracts for non-Void-safe users + +2013-03-15 Olivier Ligot + + Merge remote-tracking branch 'upstream/master' into cors + +2013-03-15 Jocelyn Fiat + + Merge pull request #42 from colin-adams/master + Contracts for non-Void-safe users (take 3) + + Merge pull request #28 from jocelyn/flexible_response + Allow to change status code and header as long as no content is sent. + Note this includes a change in EWSGI classes related to connector and RESPONSE. This modification was required for request processing termination. + +2013-03-15 Olivier Ligot + + Merge branch 'cors' of github.com:oligot/EWF into cors + + Fix indentation + + Use features from the flexible_response branch + + Filter example: remove unused libraries in ecf file + + Use new upstrem method put_header_key_values + + Merge remote-tracking branch 'jocelyn/flexible_response' into cors + Conflicts: + examples/filter/filter-safe.ecf + examples/filter/src/filter_server.e + library/network/protocol/http/src/http_header.e + library/server/wsf/src/wsf_response.e + +2013-03-15 Colin Adams + + Fourth round of contracts for non-Void-safe users + + Third iteration of contracts for non-Void-safe users + +2013-03-14 Jocelyn Fiat + + Merge pull request #41 from colin-adams/master + Contracts for non-Void-safe users (take 2) + +2013-03-14 Colin Adams + + Amended header comment in response to code review of pull-request + + Corrected header comment in response to code review of pull-request + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + Further contracts for non-Void-safe users + +2013-03-14 Jocelyn Fiat + + Merge pull request #40 from colin-adams/master + Contracts for non-Void-safe users (take 1) + +2013-03-14 Colin Adams + + used across for assertion + + Response to comments from review "Contracts for non-Void-safe users (take 1)" + + Added non-Void contracts for classes previously flagged by AutoTest + +2013-03-12 Jocelyn Fiat + + Implemented more user friendly WSF_RESPONSE i.e allow to change the status code and the header as long as no content is really sent back to the client + This requires an addition WGI_RESPONSE, new post_commit_action: PROCEDURE [...] + + Enhanced HTTP_HEADER with new helper features. + +2013-03-08 Jocelyn Fiat + + Made it compilable with 7.1 + + Factorized code for checkbox and radio input. Renamed `text' and similar to `title' and similar + + adding back missing uri template library + + Fixed CMS_HTML_FILTER which was buggy and was including the last processed tag even if it was excluded. + + Added support for OpenID identity Added user roles management Improvement CMS_HOOK_FORM_ALTER design. Factorized code into CMS_WIDGET_COMPOSITE Use general notion of CMS_WIDGET (and CMS_FORM allows CMS_WIDGET, and not just CMS_FORM_ITEM) Fixed various CMS_WIDGET traversal, and fixed related issue for CMS forms Fixed CMS_FORM_CHECKBOX_INPUT when no value was set. Added CMS_FORM_DATA.cached_value .. to pass computed values during validation to submit actions (mainly for optimization) Added support for @include=filename in CMS_CONFIGURATION Added CMS_WIDGET_TABLE as filled version of CMS_WIDGET_AGENT_TABLE (renamed from previous CMS_WIDGET_TABLE) Many improvements to the CMS_FORM design Some improvements to CMS_MODULE ... + + Added `WSF_REQUEST.table_item' to help user get table item with flat name. i.e instead of having item ("foo").item ("bar"), you can do table_item ("foo[bar]") + + Added user friendly function to get returned openid attributes + + better have hash table indexed by STRING_32 rather than READABLE_STRING_32 for now + + Use the advanced SED storable to store data on disk (rather than the runtime storable) + +2013-03-05 Jocelyn Fiat + + Added WITH_HTML_ATTRIBUTE + +2013-03-01 Jocelyn Fiat + + Added missing file from previous commits. + + added make_with_text_and_css on CMS_WIDGET_TABLE_ITEM + + added notion of site identifier .. applied to the session's cookie name + + Fixed HTTP_IF_MODIFIED_SINCE handling in WSF_FILE_SYSTEM_HANDLER ... + + Enhanced HTTP_DATE with yyyy_mmm_dd output string. + + display a message if the user has no email ... to reset password + + Display the login name, instead of just "My Account" + + Does not accept empty password + + added the notion of site identifier "site.id" (typically this could be a UUID) + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + + Also take into account sublink's permission + + Default permission should be set to False, not to True (the previous code was mainly for debugging) + + Fixed url computing when a `base_url' is provided + +2013-02-28 Jocelyn Fiat + + added CMS widgets demonstration in DEMO_MODULE + + add CMS_WIDGET_... to ease html page development. + + improved CMS_CSS_STYLE and WITH_CSS_STYLE + + Move draft\library\security\openid under library\security\openid + + Made it also compilable with compiler < 7.2 + + Added a version of ISE Library URI modified to be compilable with compiler < 7.2 Fixed openid when redirection is involved Fixed Openid Attribute Exchange implementation (AX) Added WSF_REQUEST.items_as_string_items: ... for convenience, and ease integration with other components (such as the new openid) + + updated relative path + +2013-02-27 Jocelyn Fiat + + OpenID consumer implementation REQUIRES EiffelStudio 7.2 + + First version of OpenID consumer (light implementation) + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF + + Added a way to call a callback on launched and stopped for Nino connector + + Provided a way to report cURL error code back to http_client, via HTTP_CLIENT_RESPONSE + + Provided `url_encoded_name' on the WSF_VALUE interface + +2013-02-26 Jocelyn Fiat + + prefer 2 append call, rather than create a temp intermediary string object with + + +2013-02-26 Jocelyn Fiat + + Use append_to_html rather than function to_html: STRING this is mainly to avoid creating useless intermediary strings. + +2013-02-22 Olivier Ligot + + CORS: respect specification regarding Access-Control-Allow-Headers + According to the specification, the value of the response header + Access-Control-Allow-Headers must contain at least all the values of the + request header Access-Control-Request-Headers to be considered a valid request. + Before this commit, only the Authorization value was present, which is enough + for Firefox but not for Chrome. + This should now work as expected. + +2013-02-21 Jocelyn Fiat + + Added functionalities to CMS_FORM_.. classes + +2013-02-20 Jocelyn Fiat + + Fixing various form urls, that was not taking into account base url + +2013-02-19 Jocelyn Fiat + + Fixed absolute url computing for CMS + + Fixed computation of absolute url ... + + Fixed request new password + + Code cleaning and use HTTP_DATE instead of duplicating code. + +2013-02-15 Jocelyn Fiat + + Now the cms.ini resolves variable ${abc} ... and key is case insensitive + + removed unused local variable + + keep compilable with EiffelStudio <= 7.1 + + Refactorying the CMS component, to have an effective CMS_SERVICE, and setup as CMS_SETUP. This way the application is much simpler, no need to implement deferred feature of CMS_SERVICE. + +2013-02-14 Jocelyn Fiat + + Now also display sublinks if link is expanded. Updated theme + + added EIS note documentation link for URI_TEMPLATE + + Fixed register and new password link when the CMS's base dir is not the root / + + Improved CMS PAGER + + Improve CMS_LINK to easily add children + + provide a way to pass style class to sidebars and content blocks + +2013-02-05 Jocelyn Fiat + + Fixed remaining issues with recursion in non flat web forms + + added CMS_FORM_SELECT.select_value_by_text + + fixed is_active by taking into account the query string as well + + cleaning in CMS_CONFIGURATION and added append_to_string (s: STRING) + + remove unwanted console output + +2013-02-04 Jocelyn Fiat + + Reviewed initialization and usage of various CMS_SERVICE urls + + more flexible permission control system ... + + make ANY_CMS_EXECUTION more flexible + + Updated CMS experimental component Fixed various issues with fieldset or similar not traversed + + Fixed implementation of `string_array_item' + +2013-02-03 oligot + + Add support for Apache logging: done + +2013-01-31 Jocelyn Fiat + + Fixing global EWF compilation + + Fixing global EWF compilation + + Updated CMS code. Separated code to have a lib and an example. Improved design, fixed a few issues related to folder location. + This is still experimental and require more work to be really friendly to use. + + Added ANSI C date time string format support in HTTP_DATE. + + Fixed HTTP_DATE for GMT+ offset (integer value) + + Added HTTP_DATE to ease http date manipulation and optimize code rather than using EiffelTime's code facilities. Added autotests to `http' lib. + +2013-01-30 Jocelyn Fiat + + using ARRAYED_LIST rather than LINKED_LIST + +2013-01-23 Jocelyn Fiat + + Removed eel and eapml contrib/library from EWF Since there are available from $ISE_LIBRARY + + Added `append_string_to' to HTTP_HEADER + + Removed useless dependencies on other lib. + +2013-01-23 Jocelyn Fiat + + Merge pull request #26 from oligot/no-context + Use execution_variable instead of context + +2013-01-23 Olivier Ligot + + Use execution_variable instead of context + This is mainly to be compatibe with other classes API. + + In a lot of classes, we define methods like this: + ```Eiffel + method (req: WSF_REQUEST; res: WSF_RESPONSE) + do + ... + end + ``` + + With the context, the signature becomes: + ```Eiffel + method (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE) + do + ... + end + ``` + + So, I can't build a filter chain where one filter is with context + and one is without context (I can't call + WSF_FILTER.set_next (a_next: WSF_FILTER) with a filter that is a + descendant of WSF_CONTEXT_HANDLER). + + Moreover, having to play with generic types just to pass some + data from one filter to another is a bit overkill imho. + Because this is really what I use contexts for: + to pass data from one filter to the next one. + + Regarding execution_variable and strong typing, if we want to achieve these, + I realize we could write a class with one getter and one setter like this: + + ```Eiffel + class + TYPED_DATA + + feature -- Access + + user (req: WSF_REQUEST): detachable USER + do + if attached {USER} req.execution_variable ("user") as l_user then + Result := l_user + end + end + + feature -- Element change + + set_user (req: WSF_REQUEST; a_user: USER) + do + req.set_execution_variable ("user", a_user) + end + ``` + + Now, I realize this is a major change since the last time we talked about this, + but at the end, after having played with both, I prefer the one with + execution_variable. + +2013-01-22 Jocelyn Fiat + + Minor optimization in HTTP_HEADER + +2013-01-22 Jocelyn Fiat + + Merge pull request #24 from oligot/header-values + Added {HTTP_HEADER}.put_header_key_values + +2013-01-22 Olivier Ligot + + Added {HTTP_HEADER}.put_header_key_values + This is mainly a refactoring that is useful for an upcoming PR + regarding CORS (smaller patches are better...) + + Note that this also fixes a small typo where an extra space was + added when calling {HTTP_HEADER}.put_allow + +2013-01-22 Jocelyn Fiat + + Merge pull request #23 from oligot/readonly-ecf + Filter example: all libraries are now readonly + +2013-01-22 Olivier Ligot + + Filter example: all libraries are now readonly + +2013-01-09 Olivier Ligot + + Cross-Origin Resource Sharing initial support + Initial support for the Cross-Origin Resource Sharing specification. + This allows JavaScript to make requests across domain boundaries. + + Also reviewed the filter example to get rid of the context and + the generic classes (we can actually use {WSF_REQUEST}.execution_variable + and {WSF_REQUEST}.set_execution_variable). + + Links: + * How to enable server-side: http://enable-cors.org/server.html + * Specification: http://www.w3.org/TR/cors/ + * Github: http://developer.github.com/v3/#cross-origin-resource-sharing + +2013-01-07 Jocelyn Fiat + + Merge pull request #21 from oligot/typo + Fix a small typo: you are instead of your are + +2013-01-07 Olivier Ligot + + Fix a small typo: you are instead of your are + +2012-12-22 Jocelyn Fiat + + Added http_authorization which is now needed by example filter. + + minor changes + +2012-12-21 Jocelyn Fiat + + Keep compatibility with 7.1 thus not unicode compliant + + using socket_ok does not sounds ok on linux + +2012-12-20 Jocelyn Fiat + + Use WSF_REQUEST.read_input_data_into (buf) + + added WSF_SUPPORT.environment_item + + Added is_available on HTTP_CLIENT_SESSION mainly to check if libcurl is available. + + Avoid calling ANY.print, prefer io.error.put_string Fixed obsolete calls. + + Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino + + removed unused local + + Added support for server_name in nino, and openshift + + updated doc related to git + + Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino + + Added support for server name + + updated conneg .ecf + + Added openshift connector classes (for experimentation) + + Added comment to self documentation features + +2012-12-19 Jocelyn Fiat + + Added a few library_target to .ecf to be able to build the tests/all-safe.ecf that enables us to check quickly the compilation state of EWF, and also perform refactorying over many projects. + + Fixed WSF_TRACE_RESPONSE which was overwritting previously prepared content. + + Breaking changes: added `a_request_methods' argument to WSF_ROUTER_SELF_DOCUMENTATION_HANDLER.mapping_documentation added similar argument to WSF_ROUTER_SELF_DOCUMENTATION_ROUTER_MAPPING.documentation Renamed WSF_ROUTER_METHODS as WSF_REQUEST_METHODS Enhanced WSF_REQUEST_METHODS with new has_... function Added WSF_ROUTER_VISITOR and WSF_ROUTER_ITERATOR that may be useful to iterate inside the router. we may improve the implementation of the router using those visitors in the future. Improved the WSF_DEFAULT_RESPONSE to embedded suggested items (typically based on pseudo self documented router) + + Updated documentation output + + Fixed issue in WSF_REQUEST.read_input_data_into when the content is zero Cleaned the WGI_CHUNKED_INPUT_STREAM and provides access to last extension, last trailer, ... Improved WSF_TRACE_RESPONSE to support tracing chunked input back to the client. + + Fixed WSF_RESPONSE chunk transfer implementation and also the optional extension `a_ext' should now include the ';' Now HTTP_HEADER is an ITERABLE [READABLE_STRING_8] + + changed UUID since this is the same a restbuckCRUD example. + + Fixed various assertions. Improved autotests Added target 'server' to be able to run the server outside the test process. + +2012-12-18 Jocelyn Fiat + + Fixed reading chunked input data When retrieving data block by block, use 8_192 instead of 1_024 (since 1_024 is too small most of the time) + + Fixed sending of chunk, especially the ending where there is an optional Trailer, and a mandatory final CRLF Now put_chunk does not support anymore empty chunk, and thus does not call put_chunk_end if ever it is called with empty chunk content. Fixed the `transfered_content_length' when dealing with chunk transfert encoding + + Added logger response wrapper, this is mainly to be able to save any response message to a file. (debugging purpose) + + Added basic support for "Expect" http header i.e: WSF_REQUEST.http_expect: detachable READABLE_STRING_8 + Added WSF_REQUEST.request_time_stamp: INTEGER_64 + +2012-12-17 Jocelyn Fiat + + fixed autotests compilation + +2012-12-14 Jocelyn Fiat + + Made WSF_REQUEST.is_content_type_accepted safer. + + Added WSF_DEFAULT_*_RESPONSE Fixed the method not allowed by setting the Allow: header + + Improved HTTP_AUTHORIZATION + + Added Authorization and Allow Added is_empty and count + +2012-12-13 Jocelyn Fiat + + Merge pull request #16 from colin-adams/master + Implementation for automatic HEAD and first pass at HTTP 1.1 conformance contracts + +2012-12-13 Jocelyn Fiat + + removed unused local variables + + added code that may be used to avoid breaking compatibility with new Eiffel Studio 7.2 This is experimental for now. + + Added to WSF_REQUEST - raw_header_data: like meta_string_variable - read_input_data_into (buf: STRING) - is_content_type_accepted (a_content_type: READABLE_STRING_GENERAL): BOOLEAN Changed raw_input_data to return IMMUTABLE_STRING_8 Added WSF_METHOD_NOT_ALLOWED_RESPONSE Added WSF_TRACE_RESPONSE to respond TRACE request Now Not_found response return html content if the client accepts, other text/plain Implemented TRACE response, and Method not allowed as implementation of WSF_ROUTED_SERVICE.execute_default + + Fixed WGI_INPUT_STREAM read_to_string and append_to_string + + Merge branch 'master' of https://github.com/eiffelhub/json + + Added missing "context" classes for uri and starts_with mapping+handler (and helper classes). So that it is address more needs. Factorized code between "context" and non context classes. + +2012-12-12 Jocelyn Fiat + + Merge pull request #3 from jvelilla/master + Fixed documentation URI + + Merge pull request #4 from oligot/fix_json_object_hash_code + Fix {JSON_OBJECT}.hash_code implementation + + Merge pull request #20 from oligot/fix_fcgi_safe + use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so + +2012-12-12 Olivier Ligot + + use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so + This was already fixed in libfcgi.ecf + (commit 65a998cec398905d7c9100e61cce5c39864796c6) + This fixes the libfcgi-safe.ecf file + +2012-12-11 Colin Adams + + Actioned Jocelyns comments re. a_req and a_res + +2012-12-10 Olivier Ligot + + Fix {JSON_OBJECT}.hash_code implementation + Don't call {HASH_TABLE}.item_for_iteration when {HASH_TABLE}.off + Use {HASH_TABLE}.out instead + +2012-12-10 Jocelyn Fiat + + Fixed issue related to vars that are already converted to WSF_TABLE + + Get rid of obsolete scripts (we do not use git submodule anymore, so this is much easier .. for the users) + +2012-12-08 Colin Adams + + merged from upstream + +2012-12-07 Jocelyn Fiat + + make it compiles with EiffelStudio 7.1 and 7.2 + +2012-12-06 Colin Adams + + Revert do_get_head patch + +2012-12-05 Jocelyn Fiat + + compile all-safe.ecf as windows or unix, even if not on Windows or unix + + corrected null connector ecf files + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + added tests\all-safe.ecf to compile most of EWF's lib, to quickly check the compilation state + + use libfcgi(-safe).ecf rather than fcgi(-safe).ecf + + Provide a way to log into a file, rather than just console output Minor optimization for WSF_LOGGING_FILTER + + Prepare upcoming support for unicode environment variables + + removed fcgi(-safe).ecf files ... since there renamed libfcgi(-safe).ecf + +2012-12-05 Olivier Ligot + + ise_wizard Unix shell scripts + + Fix ise_wizard + * ewf.ini was used instead of template.ecf as configuration file + * remove initialize_router otherwise the compilation failed + * remove unused variables + + Logging filter + The logging filter is now part of EWF core (before it was only available in + the filter example) and can therefore be reused by others needing it. + Note that this is a first implementation. It can certainly be improved in + the future to support more fine grained logging. + +2012-12-05 Jocelyn Fiat + + added tests\all-safe.ecf to compile most of EWF's lib, to quickly check the compilation state + + use libfcgi(-safe).ecf rather than fcgi(-safe).ecf + + Provide a way to log into a file, rather than just console output Minor optimization for WSF_LOGGING_FILTER + + Prepare upcoming support for unicode environment variables + + removed fcgi(-safe).ecf files ... since there renamed libfcgi(-safe).ecf + +2012-12-05 Jocelyn Fiat + + Merge pull request #17 from oligot/logging_filter + Logging filter + +2012-12-04 Jocelyn Fiat + + Merge pull request #19 from oligot/ise_wizard_sh + ise_wizard Unix shell scripts + +2012-12-04 Olivier Ligot + + ise_wizard Unix shell scripts + +2012-12-04 Jocelyn Fiat + + Merge pull request #18 from oligot/fix_ise_wizard + Fix ise_wizard + +2012-12-03 Olivier Ligot + + Fix ise_wizard + * ewf.ini was used instead of template.ecf as configuration file + * remove initialize_router otherwise the compilation failed + * remove unused variables + + Logging filter + The logging filter is now part of EWF core (before it was only available in + the filter example) and can therefore be reused by others needing it. + Note that this is a first implementation. It can certainly be improved in + the future to support more fine grained logging. + +2012-12-03 Jocelyn Fiat + + Fixed various compilation issue with new self documentation Improved the self documentation handler to provide a make_hidden creation procedure + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + updated ecf path + +2012-11-26 Jocelyn Fiat + + Added debug clause to detect in WSF_ROUTER.map_with_request_methods the existing conflicts with similar mapping. Added smart handling of HEAD request. Exported some internal features of WSF_REQUEST and WSF_RESPONSE to respectively WSF_REQUEST_EXPORTER and WSF_RESPONSE_EXPORTER + + added debug_output to WSF_ROUTER_MAPPING + + Avoid using INDEXABLE_ITERATION_CURSOR.is_last + +2012-11-25 Jocelyn Fiat + + Included the library base(-safe).ecf which was forgotten by mistake. + + Fixed compilation due to recent changes from http_client and corrected design. + +2012-11-24 Colin Adams + + Completed first pass for HTTP 1.1 conformace contracts + + Forced HEAD when GET requested + + First postconditions relating to response codes added + + Added framework for HTTP-conforming contracts + +2012-11-23 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + +2012-11-23 Jocelyn Fiat + + Update README.md + + Update README.md + +2012-11-23 Jocelyn Fiat + + New design for self documented router. The documentation is built only on demand. A mapping entry can be hidden for the documentation One can change the status code when building itself the WSF_ROUTER_SELF_DOCUMENTATION_MESSAGE + +2012-11-23 Jocelyn Fiat + + Update README.md + +2012-11-23 Jocelyn Fiat + + Made encoder and error library compilable with 6.8 + +2012-11-23 Jocelyn Fiat + + Update README.md + +2012-11-23 Jocelyn Fiat + + Added SHARED_... classes for encoders (html, url, xml, json, ...) + + Do not use {INDEXABLE_ITERATION_CURSOR}.is_last since it is added from EiffelStudio v7.2 + + Updated signatures for the self documentated message + + Updated self documentation + + Added WSF_NOT_FOUND_RESPONSE to respond 404 Not found page + + Allow to use WSF_ROUTER_SELF_DOCUMENTATION_MESSAGE without any WSF_ROUTER_SELF_DOCUMENTATION_HANDLER i.e without any specific URL to this self documentation. Added custom value such as header, footer, style css url ... + + Fixed signature of WSF_MIME_HANDLER.handle + + Added WSF_ROUTER.has_item_associated_with_resource and item_associated_with_resource Added WSF_ROUTER_MAPPING.associated_resource Added WSF_ROUTER_SELF_DOCUMENTATION_HANDLER and WSF_ROUTER_SELF_DOCUMENTATION_MESSAGE to provide a self documentation for WSF_ROUTER (for now, only HTML) + + Made WSF_ROUTER_METHODS.new_cursor an INDEXABLE_ITERATION_CURSOR which is richer than just ITERATION_CURSOR + +2012-11-22 oligot + + Updated Useful links (markdown) + + Created Useful links (markdown) + +2012-11-21 Jocelyn Fiat + + minor change: reuse local variable + + Include the `url' in the http client response. This way, we can get the real url used by the lib, especially when there are query parameters. + +2012-11-20 Jocelyn Fiat + + removed "rest" from readme.md + + Added WSF_ROUTER_ITEM to replace a structure represented with named TUPLE Added debug_output to ease debugging + + Removed pseudo rest library from draft libraries. + +2012-11-15 Jocelyn Fiat + + Updated git tips related to subtree to avoid weird issue when "pulling" subtree which was putting files in wrong locations. + + Merge branch 'master' of https://github.com/eiffelhub/json + + Fixed message for exception_failed_to_convert_to_json Fixed indentation + +2012-11-15 jvelilla + + Update Readme.txt + Fixed documentation URI + +2012-10-23 Jocelyn Fiat + + Fixed compilation + + Provide `server_url: STRING' that compute the http://server_name:port or https://... using `server_name', `server_port', `server_protocol' and avoid using `http_host' which is not reliable and could be cause of security issue. + + Fixed Date: formatting, follow RFC 1123 + +2012-10-22 Jocelyn Fiat + + Added WSF_REQUEST_UTILITY_PROXY, that provides the WSF_REQUEST_UTILITY features to a class that implement request: WSF_REQUEST + + added REST_URI_TEMPLATE_ROUTING_HANDLER + + Added WSF_ROUTING_CONTEXT_HANDLER + + Fixing design of draft rest lib (which is going to be removed soon) + + Do not set default status if a status is already set. + + Using anchor type to create the router this is more flexible for eventual descendants redefining the router + +2012-10-08 oligot + + Updated Projects new suggestions (markdown) + +2012-10-08 Jocelyn Fiat + + Removed generic parameter in WSF_FILTER_HANDLER, since it is useless and make code heavy + + Removed unwanted commented line + + Updated "filter" example + +2012-10-04 Jocelyn Fiat + + Updated Copyright + + updated copyright + + Updated filter example to demonstrate the use of context. + (note: this commit is a merged of pull request from Olivier Ligot, and changes from Jocelyn Fiat) + + Fixed compilation for STARTS_WITH_ handler + + Added WSF_RESOURCE_CONTEXT_HANDLER_HELPER + + Added notion of mapping factory, so one can implement a handler without having to implement new_mapping Added filter context handler Added WSF_STARTS_WITH_ROUTING_HANDLER and WSF_URI_ROUTING_HANDLER (in addition to the uri template version) + +2012-10-03 Jocelyn Fiat + + fixed wsf_extension path in filter-safe.ecf file + +2012-10-02 Jocelyn Fiat + + Merge pull request #2 from jvelilla/master + Fix Assignment attempt and wsf_extension path in RestBucksCRUD + +2012-10-02 jvelilla + + Fixed wsf_extension.ecf path, in the example RestBucksCRUD. Replace the assigment attempt with attached syntax + +2012-10-01 Jocelyn Fiat + + Fixed some configuration files (ecf) Fixed various compilation issue Fixed draft rest library (still experimental and should be removed in the future) + +2012-09-28 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + Added initial experimentation of a CMS built with Eiffel + + moved wsf_extension inside wsf/extension as wsf/wsf_extension.ecf added wsf/session as wsf/wsf_session.ecf In descendants of WSF_HANDLER , we can keep the result of new_mapping as WSF_ROUTER_MAPPING + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + +2012-09-27 Jocelyn Fiat + + Fixed wizard generated code with new router design + + Reviewed the semantic of the handler context. Adapted existing code to fit the new router design. + +2012-09-26 Jocelyn Fiat + + Fixed Restbuck examples with new router design + + added missing wsf_routing_filter + +2012-09-25 Jocelyn Fiat + + Applied new ROUTER design to the whole EWF project. + +2012-09-20 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + +2012-09-19 Jocelyn Fiat + + Minor implementation changes (feature renaming, ... ) + + New ROUTER design, much simpler, less generic, easier to extend, and now one can mix uri map, uri_template map and so on. Update the "tutorial" example. + +2012-09-19 jocelyn + + Updated Meetings (markdown) + + Updated Home (markdown) + + Updated Home (markdown) + + Created Meetings (markdown) + + Updated Projects (markdown) + + Updated Projects (markdown) + +2012-09-18 jocelyn + + Updated Web meeting 2012 09 18 (markdown) + +2012-09-18 oligot + + Updated Web meeting 2012 09 18 (markdown) + +2012-09-18 jocelyn + + Updated Web meeting 2012 09 18 (markdown) + + Updated Web meeting 2012 09 18 (markdown) + + Updated Web meeting 2012 09 18 (markdown) + +2012-09-17 oligot + + Updated Web meeting 2012 09 18 (markdown) + +2012-09-17 jocelyn + + Updated Web meeting 2012 09 18 (markdown) + +2012-09-14 oligot + + Created Web meeting 2012 09 18 (markdown) + +2012-09-13 Jocelyn Fiat + + Merge pull request #1 from GroupeS/fix_hash_table_converter + [FIX] Convertion from DS_HASH_TABLE keys to JSON + +2012-09-12 Olivier Ligot + + [FIX] Indentation + +2012-09-12 Jocelyn Fiat + + Merge pull request #2 from oligot/fix_test_compilation + [FIX] Unknown identifier 'unescaped_string' + +2012-09-12 Olivier Ligot + + [FIX] Convertion from HASH_TABLE keys to JSON + + Merge branch 'master' into fix_hash_table_converter + + [FIX] Unknown identifier 'unescaped_string' + +2012-09-11 Jocelyn Fiat + + Added general_encoded_string (..) that accepts READABLE_STRING_GENERAL + +2012-09-10 Jocelyn Fiat + + added WSF_VALUE.is_empty: BOOLEAN + + Added `HTML_ENCODER.general_encoded_string (s: READABLE_STRING_GENERAL): STRING_8' (note: probably we should do similar change for all the encoders) + + Fixed issue when applying URI_TEMPLATE result to WSF_REQUEST to populate `path_parameters', now if we have table parameter for `foo[]' .. we ignore any string parameter with same name `foo' Also fixed issue where the encoded name were changed later, since it kept the same string reference. Added `WSF_REQUEST.is_post_request_method: BOOLEAN' and `WSF_REQUEST.is_get_request_method: BOOLEAN' to ease app code + + Added `WSF_TABLE.is_empty: BOOLEAN' Added `WSF_TABLE.as_array_of_string: detachable ARRAY [READABLE_STRING_32]' + + Added put_expires_string (s: STRING) and put_expires_date (dt: DATE_TIME) Better implementation for WSF_FILE_RESPONSE (added last modified, and other caching related info) + +2012-09-05 Jocelyn Fiat + + Merge pull request #13 from GroupeS/filter + Filter: pre-process incoming data and post-process outgoing data + +2012-09-05 Olivier Ligot + + [FIX] Path to libraries + + Merge remote-tracking branch 'upstream/master' into filter + +2012-08-31 Jocelyn Fiat + + Also convert from STRING_8 to URI_TEMPLATE (not only from READABLE_STRING_8) + +2012-08-28 Jocelyn Fiat + + fixed location of ewf.ini for ISE wizard + + Fixed source code for building and installing the ISE Wizard + +2012-08-24 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + +2012-08-24 oligot + + Add support for Swagger + +2012-08-24 Jocelyn Fiat + + Merge branch 'master' of https://github.com/eiffelhub/json + Conflicts: + draft/library/gobo/shared_gobo_ejson.e + draft/library/kernel/converters/json_converter.e + draft/library/kernel/converters/json_hash_table_converter.e + draft/library/kernel/converters/json_linked_list_converter.e + draft/library/kernel/ejson.e + draft/library/kernel/shared_ejson.e + draft/test/autotest/test_suite/json_author_converter.e + draft/test/autotest/test_suite/json_book_collection_converter.e + draft/test/autotest/test_suite/json_book_converter.e + draft/test/autotest/test_suite/test_json_core.e + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki + Conflicts: + doc/wiki/Home.md + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki + Conflicts: + doc/wiki/Home.md + +2012-08-14 jocelyn + + Updated Projects (markdown) + +2012-08-13 jocelyn + + Updated Projects (markdown) + + Updated Projects Suggestions (markdown) + + Updated Projects Suggestions (markdown) + + Updated Projects (markdown) + + Updated Projects (markdown) + + Updated Projects Suggestions (markdown) + + Updated Projects Suggestions (markdown) + + Updated Projects Suggestions (markdown) + + Updated Project suggestions (markdown) + + Created Project suggestions (markdown) + + Updated Projects (markdown) + + Updated Projects (markdown) + +2012-08-10 Olivier Ligot + + [ADD] Filter: pre-process incoming data and post-process outgoing data + Filters are part of a filter chain, thus following the chain of responsability + design pattern. + More information are available in library/server/wsf/src/filter/README.md + +2012-08-08 Jocelyn Fiat + + removed "getest" since it is duplication with autotest (and we use mainly the later for regression testing) + + Added JSON_PRETTY_STRING_VISITOR Added converter for ARRAYED_LIST Fixed STRING_32 to JSON_VALUE issue in ejson.e Added missing new line character at the end of some files. Cosmetic + +2012-08-02 Olivier Ligot + + [FIX] Convertion from DS_HASH_TABLE keys to JSON + This is useful when the type of the key is something else than a STRING + and we have a JSON converter for this type. + +2012-07-31 jocelyn + + Updated Projects (markdown) + +2012-07-30 jocelyn + + Updated Projects (markdown) + + Updated Projects (markdown) + + Updated Projects (markdown) + + Updated Projects (markdown) + + Updated Projects (markdown) + +2012-07-27 jocelyn + + Updated Projects (markdown) + + Created Projects (markdown) + + Updated Home (markdown) + + Updated Home (markdown) + +2012-07-05 Jocelyn Fiat + + Update master + +2012-06-29 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + updated to use WSF_STRING.value instead of obsolete WSF_STRING.string + + Merge branch 'master' of https://github.com/eiffelhub/json + + Better code for tutorial example. + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki + +2012-06-29 jocelyn + + Updated EWSGI specification: difference in main proposals (markdown) + +2012-06-28 Jocelyn Fiat + + cosmetic + + Merge branch 'master' of https://github.com/eiffelhub/json + Conflicts: + draft/library/kernel/json_object.e + + Merge branch 'master' of https://github.com/eiffelhub/json + Conflicts: + draft/library/kernel/json_object.e + + Added subtree merged in contrib\library\text\parser\json + + Added TABLE_ITERABLE interface to JSON_OBJECT Added JSON_OBJECT.replace (value, key) + +2012-06-27 Jocelyn Fiat + + use svn export instead of svn checkout + +2012-06-26 Jocelyn Fiat + + If library/cURL exists, do not copy cURL to contrib/library/network/cURL + +2012-06-22 Jocelyn Fiat + + Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki + + Added simple console wizard for Eiffel Studio. (It is not very user friendly, this is a first draft) It should be improved in the future (with GUI, ...) + +2012-06-20 jocelyn + + Updated Community collaboration (markdown) + + Updated Task json (markdown) + + Updated Tasks Roadmap (markdown) + +2012-06-20 Jocelyn Fiat + + Updated doc/wiki from branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki + Conflicts: + doc/wiki/Home.md + + When installing, remove the folder "fonts" from the nino's example + + removed git submodule for contrib/ise_library/cURL (replaced by git subtree merged) + + fixed path in uninstall_ewf.bat + + Replaced git submodule by subtree merged in contrib/ise_library/cURL + + Replaced git submodule by subtree merged in contrib/library/text/parser/json + +2012-06-19 Jocelyn Fiat + + Fixed typo in linux command line (should use -option instead of --option ) + + Put examples under examples/web/ewf/... + + Fixed typo + + fixed typo in dos batch script + +2012-06-19 Jocelyn Fiat + + IfECF_PATH_UPDATER is defined, let's use it to find ecf_updater executable + +2012-06-18 Jocelyn Fiat + + put everything under contrib for now, eventually svn checkout missing parts + +2012-06-18 Jocelyn Fiat + + fixed not enought argument for internal shell function (typo..) + + Final version of the install scripts. + + Fixed typo and path separators usage in dos batch scripts + + Install script does the same on Windows and Linux + + improved install_ewf.sh , and removed usage of deleted router.ecf + +2012-06-15 Jocelyn Fiat + + Updated install_ewf.sh + +2012-06-15 colin-adams + + Complete. + + Updated Library conneg (markdown) + + Updated Library conneg (markdown) + + Updated Library conneg (markdown) + + Updated Library conneg (markdown) + +2012-06-15 Jocelyn Fiat + + Cleaned up compile_all.ini + + Updated draft library (consider it as draft quality) + + More flexible signature to allow detachable READABLE_STRING_8 + +2012-06-15 colin-adams + + Created Library conneg (markdown) + +2012-06-15 Jocelyn Fiat + + updated eel and eapml from more recent versions. + + Moved eel and eapml under the contrib folder. + + Fixing wrong path for ewsgi connector nino (this was introduced recently when we moved folder location) + + added methods_head_get_post and methods_head_get + + Fixed previous commit where nino .ecf path was empty. + +2012-06-15 colin-adams + + Updated Tasks Roadmap (markdown) + + Updated Task json (markdown) + +2012-06-14 jocelyn + + Updated Home (markdown) + +2012-06-14 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + Updated structure of EWF, applied Now "nino" is under contrib/library/network/server/nino (as git merge subtree, and not anymore as submodule) + + Fixing issue with HEAD and make_from_iterable + +2012-06-13 Jocelyn Fiat + + Merge remote-tracking branch 'ewf_wiki/master' + +2012-06-13 jocelyn + + Updated Home (markdown) + +2012-06-13 Jocelyn Fiat + + Update master + +2012-06-13 Jocelyn Fiat + + Added "nino" subtree merged in contrib/library/network/server/nino + + Change structure of EWF, to follow better categorization + + Better script, do not use default folder without asking. + + Added temporary scripts to install EWF on Windows + +2012-06-11 Jocelyn Fiat + + updated script with official git repo + + Adopted convention name and value or values for WSF_VALUE and descendant (WSF_STRING ...) kept `key' as redirection, and also string as obsolete redirection. Router: provide a way to pass the request methods without using manifest string, thanks to WSF_ROUTER_METHODS so instead of using manifest array or manifest strings, just create an instance of WSF_ROUTER_METHODS for convenience, WSF_ROUTER provides a few `methods_...' returning prebuilt WSF_ROUTER_METHODS objects Improved code related to unicode handling in URL, and parameters (before the framework was doing too much) + +2012-05-30 Jocelyn Fiat + + Update examples/tutorial/step_4.wiki + + Update examples/tutorial/step_4.wiki + + Update examples/tutorial/step_1.wiki + + Added precompile for step_3 + + Sync with json + + Added html encoding facility to WSF_STRING Added WSF_STRING.is_empty Improved HTML_ENCODER to be able to decode a STRING_8 or STRING_32 using general_decoded_string (s) Improved tutorial example Added precompilation for WSF library Cosmetic (removed unused locals) + +2012-05-28 Jocelyn Fiat + + Applied recent changes made on EWF Updated copyright + + Now inherit create_router ; but it is still possible to redefine it. Added some wsf_reponse_message for redirection Use "found" for the redirec_now ... Added content to the tutorial + +2012-05-25 Jocelyn Fiat + + Better us OK status for redirection by default + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + Added descriptions to WSF_RESPONSE about .send (mesg) Fixed minor issues in other classes + +2012-05-25 Jocelyn Fiat + + Update examples/tutorial/step_3.wiki + + added eiffel code + + cosmetic + + Update examples/tutorial/step_3.wiki + + Update examples/tutorial/step_3.wiki + + Update examples/tutorial/step_1.wiki + + fixed github wikitext usage + + Update examples/tutorial/step_4.wiki + + Update examples/tutorial/step_3.wiki + + Update examples/tutorial/step_2.wiki + + Update examples/tutorial/step_1.wiki + +2012-05-25 Jocelyn Fiat + + Added more content to the tutorial + + Protected export of WSF_RESPONSE_MESSAGE.send_to Added WSF_DEFAULT_RESPONSE_SERVICE Added simple WSF_SERVICE_LAUNCHER_OPTIONS_FROM_INI class to load launch option from ini file. + Removed a few obsolete features + +2012-05-25 Jocelyn Fiat + + Update examples/tutorial/README.wiki + + Update examples/tutorial/README.wiki + +2012-05-25 Jocelyn Fiat + + added skeleton for tutorial_i text + + removed README.md + + Removed to README.wiki + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + Updated indexing notes started tutorial Sync + +2012-05-23 Jocelyn Fiat + + http_client PUT uploaded data is not correctly implemented using libcurl so for now, let's use a real temporary file to use the upload filename implementation + +2012-05-21 Jocelyn Fiat + + fixed typo in curl.ecf + +2012-05-21 Berend de Boer + + Do not use 307 but 302 response + +2012-05-15 Jocelyn Fiat + + Added presentation of EWF from march 2012 + +2012-05-15 jocelyn + + Updated Home (markdown) + +2012-05-15 Jocelyn Fiat + + misc: script to checkout the source code with svn + + added some git tips in doc + + Added subtree merged in doc/wiki + + Removed submodule doc/wiki + +2012-05-14 Jocelyn Fiat + + removed commented lines + + updated ChangeLog + + Rather use (READABLE_)STRING_GENERAL for argument instead of _8 or _32 variant Better design to set the WSF_REQUEST.path_parameters especially handle the case where the request goes trought more than one route (could be the case when using WSF_ROUTING_HANDLER) + + Updated URI Template to follow official RFC6570 + +2012-05-07 Jocelyn Fiat + + Reviewed WSF_REQUEST.item (..) and items to look into Form, Query, and Path (cookie are excluded for security) Added WSF_REQUEST.path_parameter (a_name): detachable WSF_VALUE - fill path_parameters using `import_raw_path_parameters" when executing the route - reset to previous value with reset_path_parameters (..), just in case the request is executed via severals routes. + +2012-05-04 Jocelyn Fiat + + Reverted back to export upload_data and upload_filename to ANY (and related features) + + Removed HTTP_CLIENT_SESSION.post_multipart .. because it was not doing what the name might evoque Restrict export of HTTP_CLIENT_REQUEST_CONTEXT.upload_data and upload_filename (and related) to .._SESSION and .._REQUEST this is mainly internal data, and is more about implementation than interface + + Now the http_client will send the form parameters urlencoded if this is possible (instead of multipart form data) + Note for now, the library does not support sending file and form parameters at the same time. + +2012-05-03 Jocelyn Fiat + + Fixed typo in .ecf .. curl instead of cURL + + Added geant scripts to compile EWF + + Improved the libcurl implementation of http_client by adding HTTP_CLIENT_SESSION.is_debug: BOOLEAN if True, this display verbose debug information in console Implemented uploading of file for PUT and POST requests Refactored LIBCURL_HTTP_CLIENT_REQUEST to free used pointer, and also ease extension of the class if needed. Updated cURL library with addition of {CURL_EXTERNALS}.slist_free_all (..) + +2012-05-02 Jocelyn Fiat + + do not use implicit conversion from HTTP_CONTENT_TYPE + + Fixed wrong signature should be READABLE_STRING_32 instead of _8 + + Also removing the implicit conversion from STRING to HTTP_*_TYPE + + Removed implicit conversion from HTTP_CONTENT_TYPE to STRING_8 because it could be a source of bug due to hidden conversion (and parameters) Applied changes to autotest cases Cosmetic + +2012-04-30 Jocelyn Fiat + + Added comments Added `url' to compute the url from base_url, path and query parameters + + Fixed error in URL encoding, according to the RFC3986, space should not be encoded with '+' but with percent encoding. + + Fixed signature issue, the argument `name' should be READABLE_STRING_32 + + Code cleaning + + Added specific helper function related to `charset' parameter + +2012-04-27 Jocelyn Fiat + + added postcondition status_reason_phrase_unset to `set_status' + + cosmetic + +2012-04-13 Jocelyn Fiat + + Fixed a last minute regression due to removal REQUEST.chunked_input + + Added WSF_ROUTER.pre_route_execution_actions: ACTION_SEQUENCE [like route] This way, one can add logger hook to router, to see which "route" was taken by the request. + + Made WGI_CHUNKED_INPUT_STREAM inherits from WGI_INPUT_STREAM Merged REQUEST.input and REQUEST.chunked_input Now REQUEST.input handles directly the chunked transfer encoding, or the non chunked. Kept REQUEST.is_chunked_input since it matters that Content-Length is 0 even if there are input (chunked) data. + +2012-04-12 Jocelyn Fiat + + Fixed compilation of samples + + Fixed compilation + + Missing commit related to changes on WSF_ROUTER + +2012-04-12 Jocelyn Fiat + + Now WGI_RESPONSE.set_status_code (..) has a new argument to pass optional custom reason phrase. This is a minor breaking change (but prior to the first release, so acceptable) And then it is now possible to precise a custom reason phrase (useful for 4xx and 5xx response) + At the WSF_RESPONSE level, the status code is now sent only when the header are sent. + thus, it is possible to change the status code as long as no header is sent. + (in the future, we should also try to delay the sending of headers) + + Removed WGI_RESPONSE.put_header_lines (..) which was not used, and WGI is not meant to provide such user friendly features + Now this is available directly on WSF_RESPONSE + +2012-04-06 Jocelyn Fiat + + Merge branch 'master' of github.com:EiffelWebFramework/EWF + + updated to EiffelWebFramework/EWF + + sync with json lib. + + Sync with wiki + + Use https://github.com/EiffelWebFramework/EWF.git as master + +2012-04-05 Jocelyn Fiat + + Added `transfered_content_length' to WSF_RESPONSE to provide the information to application This can be used to build logs for instance. + + Relaxed WSF_REDIRECTION_RESPONSE.set_content (.., ..) to allow Void for content type in order to use the one set in header or the default one. + + Removed default handler for WSF_ROUTER Added WSF_ROUTE to replace a TUPLE [H, C] WSF_ROUTER.route (req): detachable WSF_ROUTE WSF_ROUTER.execute_route (a_route, req, res) To help usage of Routers Remove WSF_HANDLER_CONTEXT obsolete features. Added comments + +2012-04-02 Jocelyn Fiat + + Merge remote-tracking branch 'remotes/eiffelworld/master' + + Merge pull request #10 from oligot/unneeded_precondition + Unneeded precondition + +2012-04-02 Olivier Ligot + + [REM] Remove unneeded precondition + + [IMP] Ignore *.swp files + +2012-04-02 Jocelyn Fiat + + removed obsolete message. + +2012-03-27 Olivier Ligot + + [REM] Remove unneeded precondition + + [IMP] Ignore *.swp files + +2012-03-26 Olivier Ligot + + Merge branch 'master', remote branch 'upstream/master' + +2012-03-23 Jocelyn Fiat + + Renamed same_media_type as same_simple_type Added comments + + updated tests.ecf + + Added HTTP_MEDIA_TYPE (maybe it will just replace the HTTP_CONTENT_TYPE later) renamed .media_type as .simple_type for now allow more than one parameters + + Use media_type as replacement for type_and_subtype_string in HTTP_CONTENT_TYPE + + Added class HTTP_CONTENT_TYPE to help manipulation of Content-Type value Now WSF_REQUEST return a HTTP_CONTENT_TYPE if available Adapted WSF_MIME_HANDLER to use this new class Added one manual autotest to test MIME handler + +2012-03-21 Jocelyn Fiat + + in WSF_RESPONSE, `put_header' now call `put_header_text' Removed unused local variable + + Fixed very bad mistake where no Result was ever set for WSF_REQUEST.item (..) + +2012-03-20 Jocelyn Fiat + + fixed compilation issue (typo) + + Do not try to compile_all in "dev" folder + + Reverted a previous change, we should not truncated Content-Type after ; In the case of multipart/form-data the parameter "boundary=" is essential + + Use WSF_DEFAULT_SERVICE for the test echo server + + Fixing compilation of specific example using the WGI connector directly + + Added WSF_SERVICE.to_wgi_service to ease direct integration with existing WGI components + + Relaxed access to `send_to', now it is exported again to avoid breaking existing code. + + remove unused local variable + + WSF_REQUEST.content_type should keep only the relevant part of the content type and forget about the eventual parameters (charset, name) ... + note: it is possible to query meta_string_variable ("CONTENT_TYPE") + to get the complete Content-Type header + + Added HTTP_HEADER.(put|add)_content_type_with_parameters (...) + + removed obsolete + + Implemented WSF_RESPONSE.put_error (...) and related Added WSF_RESPONSE.put_character Renamed WGI_OUTPUT_STREAM.put_character_8 as put_character to follow style of put_string (and not put_string_8) Refactored the WSF_DEFAULT_SERVICE_LAUNCHER Added WSF_DEFAULT_SERVICE to be more user friendly Splitted the wsf/default/ libraries to have wsf/connector/... and being able to handle more than one connector in the same application + + Moved mime handler classes under wsf/src/mime/ + +2012-03-19 Jocelyn Fiat + + removed unwanted rescue clause + + Updating EWSGI specification classes + + Removed WGI_RESPONSE.write (..) Replaced any internal call to WGI_RESPONSE.write () by the associated implementation (i.e output.put_string (...) ) Added WGI_OUTPUT_STREAM.put_crlf + Renamed WSF_RESPONSE.put_response (a_message) as `send (a_message)' + WSF_RESPONSE_MESSAGE.send_to (res) is now exported only to WSF_RESPONSE + +2012-03-19 Berend de Boer + + Avoid another indirection. + +2012-03-19 Berend de Boer + + status must be set, else WGI_SERVICE.execute will report the postcondition violation. + Conflicts: + + library/server/wsf/router/wsf_handler.e + +2012-03-19 Berend de Boer + + Minor code cleanup/typo fix. + + Move wgi_service spec to its own directory else I get a class conflicts with compile_ise.ecf generated by gexace. + +2012-03-19 Jocelyn Fiat + + Improved comment in WSF_RESPONSE.put_response (..) Added WSF_REDIRECTION_RESPONSE class + +2012-03-19 Jocelyn Fiat + + Added WSF_RESPONSE_HANDLER based on WSF_RESPONSE_MESSAGE The descendant has to implement the function + response (ctx: C; req: WSF_REQUEST): WSF_RESPONSE_MESSAGE + + Added related features and class in WSF_ROUTER to be able to use agent easily. + +2012-03-19 Jocelyn Fiat + + Refactored WSF_HANDLER_CONTEXT - removed path_parameter - added `item' to include WSF_REQUEST.item - marked obsolete `parameter' + The goal is to remove confusion, remove URI_TEMPLATE specific `path_parameter' + and provide a way to use ctx.item (..) to also include meta variable, query, form, ... items + + Use local variable to speed up access to `input' + +2012-03-16 Jocelyn Fiat + + Applied wsf_extension creation, and classes moved from wsf to wsf_extension + + Created wsf_extension, and moved some classes from wsf to wsf_extension WSF_HANDLER_HELPER WSF_RESOURCE_HANDLER_HELPER WSF_HANDLER_ROUTES_RECORDER + + applied removal of HTTP_HEADER.put_status (..) + + Removed HTTP_HEADER.put_status (...) It is not recommended to send the status code as part of the HTTP Header, so let's remove this ambiguity and do not encourage EWF user to use it + + Major renaming, adopt the WSF_ prefix for all classes under "wsf", and simplify some class names Removed in WGI_INPUT_STREAM, the assertion "same_last_string_reference" Copyright updates + +2012-03-13 Jocelyn Fiat + + Fixed compilation of draft/library/server/request/rest/tests/.. Note the "rest" library will not be maintained since this is not REST. + + precise that library/server/request/router is now part of "wsf" library and not anymore independant library. + +2012-03-13 Jocelyn Fiat + + Nino connector: - fixed issue related to `ready_for_reading' now use the `try_...' variant - for now Nino does not support persistent connection, then we have to respond with "Connection: close" + REQUEST_FILE_SYSTEM_HANDLER: + - added not_found_handler and access_denied_handler, so that the user can customize related response + + WSF_REQUEST and WSF_VALUE: + - modified how uploaded file are handled, fixed various issues, and added WSF_UPLOADED_FILE (it is a WSF_VALUE) + + WSF_VALUE: + - added change_name (a_name: like name) + - added url_encoded_name to other WSF_values + + WSF_REQUEST: + - added `destroy' to perform end of request cleaning (such as deleting temp uploaded files) + - renamed `raw_post_data_recorded' as `raw_input_data_recorded', and related feature + - do not store the RAW_POST_DATA in meta variable anymore, but in WSF_REQUEST.raw_input_data is asked + + Added WSF_HTML_PAGE_RESPONSE to help user + + WSF_REPONSE.redirect_... now use "temp_redirect" as default + instead of "moved_permanently" which is specific usage + + Removed many obsolete features. + +2012-02-29 Jocelyn Fiat + + use https:// url for git submodules + + Added assertions to catch if route mapping does not already exists + +2012-02-28 Jocelyn Fiat + + Merging changes from Javier Updated restbucksCRUD example, and related class in wsf/router + + Synchronized with nino and json library + +2012-02-17 jvelilla + + Refactor REQUEST_RESOURCE_HANDLER_HELPER to figure out the transfer encoding: Chunked. Added a new method to retrieve_data independently if the transfer is chunked or not. Updated ORDER_HANLDER to use this new feature. Sync with Jocelyn repo + + Merge branch 'master' of git://github.com/jocelyn/Eiffel-Web-Framework + +2012-02-16 Jocelyn Fiat + + Minor correction, to avoid returning 200 as status code, when the client can not connect + +2012-02-15 Jocelyn Fiat + + fixed compilation + + sync with cURL library + + Fixed error visitor due to recent signature changes + + renamed (add|remove)_synchronized_handler as (add|remove)_synchronization + + Removed tests target from encoder(-safe).ecf (now there is a tests-safe.ecf in folder tests) + + Fixed ERROR_HANDLER.destroy Fixed and export ERROR_HANDLER.remove_synchronized_handler Added comments Added associated autotests + +2012-02-14 Jocelyn Fiat + + Better signature for encoders Split library .ecf and the autotest .ecf + + added postcondition to ensure the body string set to the response, is the same reference this is important, since sometime we just do rep.set_body (s) s.append_string ("..") + + Added DEBUG_OUTPUT to ERROR, since this is convenient during debugging + + Added notion of synchronization between error handler this is convenient to integrate two components using their own ERROR_HANDLER (not sharing the same object) + + use WSF_PAGE_RESPONSE, instead of reimplementing it ourself + +2012-02-13 Jocelyn Fiat + + added a JSON encoder test case + + Merge pull request #9 from oligot/fix-libfcgi-location + [FIX] libfcgi.so location + +2012-02-10 Olivier Ligot + + [FIX] libfcgi.so location + On Ubuntu 10.04 LTS, libfcgi.so is in /usr/lib instead of /usr/local/lib + +2012-02-08 Jocelyn Fiat + + added a case in test_json_encoder + +2012-02-08 unknown + + libcurl: Applied a workaround to avoid issue on Win32 (see LIBCURL_HTTP_CLIENT_REQUEST.apply_workaround) Separated the http_client-safe.ecf and test-safe.ecf Added HTTP_CLIENT_SESSION.set_max_redirects Fixed broken test due to formatting trouble. + +2012-02-08 Jocelyn Fiat + + fixed http_client tests + +2012-02-08 jvelilla + + Updated content + +2012-02-07 Jocelyn Fiat + + Better code to test similar functions but with chunked input + + Improved the WSF_PAGE_RESPONSE to be more flexible and allow to change some values as expected. + + Added support for chunked input data (see Transfer-Encoding: chunked) + + Added HTTP_HEADER.append_header_object and append_array. This is helpful to "merge" two HTTP_HEADER and provide user friendly features + + Added proxy, at least to make it is possible to use http://fiddler2.com/ to inspect the traffic. + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework + +2012-02-01 Jocelyn Fiat + + Fixed wrong code for postcondition on HTTP_HEADER.string + Patch provided by Paul-G.Crismer + + removed unwanted set_status_code, since we already use put_header to set the status code. + + Eventually fixing trouble with c_strlen being over capacity (added this for testing, and while waiting a fix from EiffelcURL) + + Improved redirect_now_custom to allow custom status code, custom header, and custom content + +2012-01-31 Jocelyn Fiat + + Fixed usage of lst[] in web form, now we are url-decoding the name because the [] could escaped... Fixed bad code for assertion related to variable url-encoded name + + added REQUEST_HANDLER_CONTEXT.string_array_path_parameter (...) to help user handling list/array parameters fixed postcondition WSF_REQUEST.set_meta_string_variable ... + +2012-01-25 Jocelyn Fiat + + Make sure to return a response Added precondition to check URI_TEMPLATE is valid + +2012-01-24 Jocelyn Fiat + + Fixed wrong assertion, status_committed instead of status_set + +2012-01-23 Jocelyn Fiat + + Fixed issue with WSF_FILE_RESPONSE not setting the status code Added Last-Modified + + Fixed wrong code for postcondition in unset_orig_path_info + + Removed most of the "retry" in rescue clauses, since it was hidding critical issue. This should be the choice of the application to "retry" on exception, otherwise let the framework handle this in the lower part. + Better handling of response termination (alias commit) + Added the notion of "status_committed" + + added "conversion" to ease the use of HTTP_HEADER + +2012-01-20 Jocelyn Fiat + + fixed compilation (was not up to date with tests.ecf) + + Corrected remaining issue related to recent addition of REQUEST_ROUTER.make_with_base_url And applied removal of format_name and format_id, and replaced by accepted_format_name, ... + + Do not add again ctx.headers, since it is already "imported" during the creation of Current request (see HTTP_CLIENT_REQUEST.make) + + Removed any "format" related query from router lib, this is too application specific to be there. Better handling of base_url for REQUEST_ROUTER + +2012-01-19 Jocelyn Fiat + + separate library .ecf and tests .ecf merged tests .ecf for draft 05 and current implementation + + Fixed WSF_REQUEST.script_url (..) for clean path Added related autotests + +2012-01-17 Jocelyn Fiat + + Don't forget to put Content-Length: 0 for redirect without any content + +2012-01-17 Jocelyn Fiat + + export handler from REQUEST_ROUTER + +2012-01-17 Jocelyn Fiat + + REQUEST_ROUTER now inherit from ITERABLE [..] + + Send the Status code, as an header line Status: code reason + + use READABLE_STRING_8 instead of STRING_8 + + According to http://www.fastcgi.com/docs/faq.html#httpstatus send the Status code, as an header line Status: code reason + +2012-01-16 Jocelyn Fiat + + Do not send any Status line back to the FastCGI client + +2012-01-13 Jocelyn Fiat + + Synchronized with ejson library Cleaned JSON_ENCODER + +2012-01-12 Jocelyn Fiat + + Added JSON_ENCODER + +2012-01-09 Jocelyn Fiat + + removed obsolete call on `WSF_RESPONSE.write_..' by using the up-to-date `WSF_RESPONSE.put_..' + +2012-01-06 Jocelyn Fiat + + HTTP_HEADER: - added put_last_modified - added RFC1123 http date format helper - added put_cookie_with_expiration_date as DATE_TIME REQUEST: added `execution_variable' to provide a way to keep object attached to the request and indexed by a string. A typical usage is a SESSION object + +2011-12-21 jvelilla + + Update examples/restbucksCRUD/readme.md + +2011-12-18 Jocelyn Fiat + + added REQUEST.execution_variables ... to provide a solution to store data during request execution could be used for SESSION, or any "shared" data inside the same Request + + applied write_ as put_ renaming to examples + +2011-12-15 Jocelyn Fiat + + Use put_ instead of write_ + + various minor changes + + use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so + + Applied renaming from write_ to put_ + + Renamed write_ feature as put_ + + Fixed stupid mistake in {WGI_NINO_INPUT_SREEAM}.end_of_input + + Fixed typo and missing uri_template reference for draft rest library + + Now the 'router' library is part of 'wsf' Move hello_routed_world under tests/dev since it was not really an example, but more a dev workspace/test + + Made DEFAULT_SERVICE_LAUNCHER more flexible for the user. + +2011-12-15 jvelilla + + Update read_trailer feature. + + Initial implementation of wgi_chunked_input_stream as a wrapper of wgi_input_stream + +2011-12-14 Jocelyn Fiat + + Use port 9090 for restbuck server mainly to avoid using 80 or 8080 which are often already used (by current webserver, or even skype, or jenkins, or ...) + + Forgot to add make_and_launch_with_options to the creation procedures + + Added DEFAULT_SERVICE_LAUNCHER.make_and_launch_with_options Added WSF_RESPONSE.redirect_now_with_content (...) Updated hello_routed_world .. mainly example use to test/develop... not really a nice example + +2011-12-13 Jocelyn Fiat + + Updated readme on how to get source code + + added head and bottom value in WSF_FILE_RESPONSE, to enable the user to set a head and bottom part easily + +2011-12-12 Jocelyn Fiat + + avoid infinite rescue due to internal error or user code not dealing well with socket disconnection + + Removed dotnet target for now + + Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework + + Fixed http_client autotest code + + Break inheritance from WGI_RESPONSE, since it is not flexible for future improvement. + + Fixed HTTP client callers + + Renamed DEFAULT_SERVICE as DEFAULT_SERVICE_LAUNCHER + + Fixed WSF_FILE_RESPONSE and added WSF_FORCE_DOWNLOAD_RESPONSE + +2011-12-12 Jocelyn Fiat + + Merge changes from Javier - update on RESTbuck examples - new example - fixed bad typo in WSF_REQUEST + Reverted some changes such as + - http_client_response: keep the headers as a list to handle multiple message-value with same message-name + + Fixed simple and simple_file example + Improved HTTP_HEADER + + Changed libcurl implementation for http client + - now the header from the context really overwrite any of the session headers + - better design which is more strict, and remove any doubt about context's header usage + +2011-12-12 Jocelyn Fiat + + Removed any (put|write)_file_content from the WSF_ or WGI_ OUTPUT classes Now DEFAULT_SERVICE has to be created instead of inherited. - This seems to be better for new user, and this avoid potential conflict and difference when inheriting between the various DEFAULT_SERVICE implementation. - remember that DEFAULT_SERVICE, is mainly to help the user to build its very first service. Use READABLE_STRING_8 as argument whenever it is possible. Added WSF_RESPONSE_MESSAGE, and WSF_RESPONSE.put_response (a_response_message) Now WSF_RESPONSE inherit from WGI_RESPONSE + +2011-12-10 jvelilla + + Merge branch 'master' of github.com:jvelilla/Eiffel-Web-Framework + + Update restbuck client, create and read an order. Update JSON converter, the id is not important, applied the DRY principle. Update the ORDER_HANDLER to use the meta_string_variable instead of meta_variable from req. Fix, the key in meta_variable_table, use c.key instead of c.item + + Update examples/restbucksCRUD/readme.md + + Merge branch 'master' of github.com:jvelilla/Eiffel-Web-Framework + + Update the restbuck_client, still work in progress. Update restbuck_server, remove unused class in inherit. Update libcurl_http_client_request, to parse context headers before the execution. Update wgi_input_stream, commented precondition. + +2011-12-09 jvelilla + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + + Update examples/restbucksCRUD/readme.md + +2011-12-08 jvelilla + + Update examples/restbucksCRUD/readme.md + + Updated documentation + + Updated restbucksCRUD documentation + + Added basic two basic examples, refactor rename restbucks to restbucksCRUD + +2011-12-07 jvelilla + + Sync Jocelyn repo + +2011-12-03 Jocelyn Fiat + + Update README.md + + Update README.md + + Update README.md + + fixed markdown syntax + +2011-12-02 Jocelyn Fiat + + Remove any useless library include from this .ecf we just need default_"connector", router, wsf and http + + Fixed compilation issue for CGI and libFCGI connector due to recent changes in interface (use READABLE_STRING_8) + +2011-12-01 Jocelyn Fiat + + Integrated new system to handle form_parameter, input_data in relation with MIME handling This is not yet clear how to let the user precise its own MIME handler but it is in progress + + fixed remaining issue or useless code to set http environment variable + + Fixed stupid error where we were concatenating ... value by error + + Added WSF_RESPONSE.write_chunk (s: ?READABLE_STRING_8) to help user sending chunk with "Transfer-Encoding: chunked" + + Synchronized with Nino + + Fixed WSF_RESPONSE.redirect* features + + sync with Nino, call to put_readable_string_8 + + Synchronized with EiffelWebNino + + relative path for README link + +2011-12-01 jvelilla + + Update library/protocol/CONNEG/README.md + + Update library/protocol/CONNEG/README.md + + Updated Conneg library, added test cases + +2011-11-30 jvelilla + + Fixed minor issue, added test cases to check language negotiation. + + Update conneg library and test cases + +2011-11-25 Jocelyn Fiat + + Fixed example due to recent interface changes + + - (WGI|WSF)_RESPONSE(*) renamed write_headers_string as write_header_text - HTTP_HEADER.string does not have the ending CRLFCRLF .. but just CRLF - WGI_RESPONSE.write_header_text has the responsibility to handle the last blank line CRLF (separating the header from the message) - HTTP_HEADER.string does not set anymore a default content type as text/html - added WGI_RESPONSE.write_header_lines (ITERABLE [TUPLE [name,value: READABLE_STRING_8]] mainly as an helper method, this way the WGI user does not have to know about the CRLF end of line + + Applied recent renaming from WGI_RESPONSE_BUFFER as WGI_RESPONSE + + updated WGI specification + + Added missing wgi_connector + + added "redirect" helper feature to WSF_RESPONSE + + Added `{WGI_REQUEST}.wgi_*' function to WSF_REQUEST + + rename `application' as `service' + + Use HTTP_HEADER instead of WSF_HEADER (WSF_HEADER is kept for convenience and existing code) + + better script to check compilation and tests + + Moved implementation of WSF_HEADER to HTTP_HEADER in the http library + + Simplified EWSGI interfaces Renamed WGI_RESPONSE_BUFFER as WGI_RESPONSE to avoid confusion Removed EWF_HEADER and removed related caller from WGI implementation, now this is only part of WSF library Added wgi_version, wgi_implementation and wgi_connector to the WGI_REQUEST interface to give more information to the user Added back WGI_CONNECTOR to WGI specification, mainly because of `{WGI_REQUEST}.wgi_connector' simplified WGI_CONNECTOR to contain for now only `name' and `version' if the implementation of connector inherit from WGI_CONNECTOR (recommended) this might gives more access to the user using a reverse assignment for specific needs (but this usage is not recommended due to portability issue on other connector) Removed useless connector.ecf since now EWF/WGI library provides the helper classes + +2011-11-23 Jocelyn Fiat + + Fixed sample example config file after recent location change for "rest" lib + + Improved run_CI_tests.py and include the compile_all call directly in the python script. If compile_all tool supports -keep ... let's use it. (recent addition) + + fixed rest(-safe).ecf due to recent location change + + Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework + + Updated README.md in relation with "rest" lib relocation + + Move "rest" library under "draft/..." since it is more an experiment rather than a real REST library + +2011-11-21 Jocelyn Fiat + + Update draft/README.md + + updated Eiffel libfcgi README file + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + Conflicts: + library/server/libfcgi/Clib/README.md + + Added scripts to help building the libfcgi.dll and .lib from modified source of libfcgi Extracted into "libfcgi" only the files needed to compile the Windows .dll and .lib + + Added scripts to help building the libfcgi.dll and .lib from modified source of libfcgi + + updated README to apply 'ext' renamed as 'contrib' + +2011-11-18 Jocelyn Fiat + + fixed compilation for tests.ecf + + fixed typo + + Updated "draft" folder which contain potential future addition to EWF + + Added "draft" folder to contain potential future addition to EWF + + restructured CONNEG library fixed various issue in .ecf files + +2011-11-18 jvelilla + + Initial import CONNEG library, support server side content negotiation. + +2011-11-17 Jocelyn Fiat + + Rename "ext" as "contrib" in compile_all.ini as well no need to test the code coming from other projects. + + Renamed "ext" folder as "contrib" folder and reorganized a little bit Renamed any *_APPLICATION as *_SERVICE mainly because those components such as WSF_APPLICATION, renamed as WSF_SERVICE are not always the main application entry, and "service" describe them better Minor implementation change in WSF_REQUEST Cosmetics + +2011-11-16 Jocelyn Fiat + + handle last run failure + + Added request method PATCH even if not really used for now, it might in the future + + Do not print command during script execution + + fixed indentation in python script + + Added information output to run_CI_tests.py + + updated run_CI_tests.py + + updated run_CI_tests.py + + updated run_CI_tests.py + + updated run_CI_tests.py + + removed unused local variables + + added a python script to be use inside jenkins CI server (experimental for now) + +2011-11-14 Jocelyn Fiat + + cosmetic + + cosmetics + + Added various README.md (using the markdown syntax) + + updated README with links to sub READM.md + + sync with Eiffel Web Nino + + Added default WSF_APPLICATION for libfcgi connector + + code removal + + Updated libfcgi source code for Windows AND Linux. Cleaning some code and feature clauses. + + Changed the WGI_INPUT_STREAM and WGI_OUTPUT_STREAM interfaces main changes for existing code `read_stream' is renamed `read_string' + +2011-11-09 Jocelyn Fiat + + Added is_request_method (STRING): BOOLEAN to help users + +2011-11-07 Jocelyn Fiat + + updated readme with better way to get the source code recursively + +2011-11-07 Jocelyn Fiat + + added script to build archive for download area + +2011-11-04 Jocelyn Fiat + + sync with Eiffel Web Nino + + sync with nino and applied changes to connector + + Use recent changes from Nino, to get access to the launched and port information. Quite useful when launching using port=0 to use a random free port. This is great for testing, this way we can run many tests in the same time without any port blocking. + +2011-11-03 Jocelyn Fiat + + applied recent changes from Nino + +2011-11-02 Jocelyn Fiat + + removed compliance on ewsgi, since now we target WSF applied recent changes related to WSF_VALUE + + Safer interface for WSF_VALUE, when related to STRING value + + sync with submodules + + Merge branch 'master' of git://github.com/Eiffel-World/Eiffel-Web-Framework + + renamed WSF_(.*)_VALUE as WSF_$1 + +2011-10-31 Jocelyn Fiat + + Fixed obsolete calls, and compilation error. + + fixed path to cURL.ecf file, using the correct uppercase + + Fixed missing syntax="provisional" , this was preventing compiling with "across" statements + + Better implementation to get http header for http_client, and to get list of header entries by key,value + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework + + updated instructions related to submodules + + Fixed remaining 6.8 vs 7.0 compilation issue related to UTF8_(URL_)ENCODER + + Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework + + removed unused local variable + +2011-10-31 Jocelyn Fiat + + Added convenient features to BASE64 - decode_string_to_buffer (v: STRING; a_buffer: STRING) - decode_string_to_output_medium (v: STRING; a_output: IO_MEDIUM) + +2011-10-31 Jocelyn Fiat + + removed unused local variable + + Fixed code to be compilable with EiffelStudio 6.8 and 7.0 (due to recent change in UNICODE_CONVERSION) UNICODE_CONVERSION + +2011-10-28 jvelilla + + Added headers to response in HTTP_CLIENT_RESPONSE + +2011-10-27 Jocelyn Fiat + + Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework + + use '%/123/' syntax, to make sure no editor replace the accentued characters + +2011-10-27 Jocelyn Fiat + + removed unwanted .rc + +2011-10-27 Jocelyn Fiat + + Fixed a previously character changes in WSF_REQUEST (related to safe_filename), and modified the implementation to use inspect Fixed the request_content_type computation Cosmetic in REQUEST_RESOURCE_HANDLER_HELPER + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework + Conflicts: + library/server/wsf/src/wsf_request.e + + added script to update current git working copy and submodules recursively + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + +2011-10-27 Jocelyn Fiat + + cosmetic, or minor changes + +2011-10-27 Jocelyn Fiat + + Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework + +2011-10-27 jvelilla + + Added eel and eapml in EWF libraries. Removed them from gitmodule + +2011-10-26 jvelilla + + Updated request resource handler. TODO: implement Content-Negotiation + +2011-10-24 Jocelyn Fiat + + Start index for list[]=a&list[]=b ... from 1 instead of 0 Stick to Eiffel spirit + + Added visitor patterns to WSF_VALUE Handling UTF-8 unencoding for WSF_VALUE ... Added WSF_TABLE_VALUE to handle list[]=a&list[]=b ... + Library encoder: added UTF8 facilities + + missing implementation (forgot to uncomment) + +2011-10-24 jvelilla + + Merge remote-tracking branch 'jocelynEWF/master' + Conflicts: + examples/restbucks/restbucks-safe.ecf + examples/restbucks/src/resource/order_handler.e + library/server/request/router/src/misc/request_resource_handler_helper.e + +2011-10-23 jvelilla + + Added eel and eapml modules + + Update delete method to hanlde method not allowed. Added method not allowed to request resource handler helper class. Update gitmodules + +2011-10-21 Jocelyn Fiat + + Applied recent changes on WGI_ and WSF_ Moved classes away from ewsgi, restructured, cleaned + + Continued reducing WGI and move implementation to WSF (Web Server Framework) Removed many usage of READABLE_STRING_GENERAL in favor to READABLE_STRING_8 to avoid potential nasty issues in user's code URI-template is working only with STRING_8, then changed any _GENERAL or _STRING_32 to _STRING_8 + + First try to get a limited WGI_ and use WSF_ as default framework + +2011-10-21 jvelilla + + Update Restbucks example: Conditional GET, PUT. Added a response method to support resource not modified. Added a ETAG_UTILS class to calcule md5_digest. Added ext libs eel and eapml. + +2011-10-19 Jocelyn Fiat + + Used object test + + removed useless local variable + +2011-10-14 Jocelyn Fiat + + fixed cgi and libfcgi connectors due to recent changes from WGI_APPLICATION + + Removed handling of internal error from WGI_APPLICATION And for now added it into nino connector + + Fixed issue with index in uri template matcher + + Added HTTP_FILE_EXTENSION_MIME_MAPPING Added REQUEST_FILE_SYSTEM_HANDLER to the router library Added file system handler in "hello_routed_world" example + +2011-10-13 jvelilla + + Added handle_resource_conflict_response feature to handle 409 reponse, Cosmetic. + +2011-10-12 Jocelyn Fiat + + Added data and file for post and put request methods + +2011-10-12 Jocelyn Fiat + + Using Transfer-Encoding: chunked in example to send response progressively + + sync with submodules + + removed unwanted code + + applied recent changes on HTTP_REQUEST_METHOD_CONSTANTS + +2011-10-12 Jocelyn Fiat + + cosmetic + + Addition to "http" library, separated constants into - HTTP_MIME_TYPES - HTTP_HEADER_NAMES - HTTP_REQUEST_METHODS - HTTP_STATUS_CODE (already exists) + Do not set the "Status" header when using WGI_RESPONSE_BUFFER.write_header (...) + Cosmetic + +2011-10-11 Jocelyn Fiat + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework Conflicts: examples/restbucks/src/domain/json_order_converter.e Cosmetics + + Fixed errors recently introduced + + Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework + + sync with latest JSON + +2011-10-11 jvelilla + + Update order_handler, fix json_order_converter + +2011-10-11 Jocelyn Fiat + + Use local curl if compiler is < 7.0.8.7340 otherwise, use ISE_LIBRARY cURL + + Temporary fixed issue of using modified cURL (which is cURL provided with EiffelStudio 7.0) This changes will be reverted in the future + +2011-10-10 Jocelyn Fiat + + Updated readme related to mirrored Eiffel cURL library + +2011-10-10 Jocelyn Fiat + + added submodule ext/ise_library/curl to use the updated Eiffel cURL from ISE. + +2011-10-10 Jocelyn Fiat + + cosmetic + +2011-10-07 Jocelyn Fiat + + added http diagrams found on the web + + Added the possibility to specify the supported content types Added FIXME + + Cosmetic + + Added "Date:" helper feature in EWF_HEADER Added license.lic to restbuck example, and mainly copyright to Javier Use HTTP_STATUS_CODES Minor improvements using object tests Cosmetic (indentation, ..) + +2011-10-06 Jocelyn Fiat + + Added a first simple test client to test the restbuck client + + added support for data in POST request + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework + +2011-10-06 jvelilla + + Added REQUEST_RESOURCE_HANDLER_HELPER class to contain common http method behavior. Updated ORDER_HANLDER to use this new class. + +2011-10-05 Jocelyn Fiat + + Added `base_url' for REQUEST_ROUTER (and descendants) Fixed implementation of REST_REQUEST_AGENT_HANDLER to avoid wrong path in inherited routine. Allow to build a URI_TEMPLATE from another URI TEMPLATE, this way, if later we have more attribute (status or settings) to URI_TEMPLATE, we'll be able to change the `template' without breaking the settings + + added missing call to pre_execute and post_execute + + Fixed missing http:// in absolute URL + + remove pre_execute, and post_execute, and make process_request frozen this way, the user won't be tempted to redefine feature not being part of pure EWSGI interface. + + better argument name, to precise the timeout is in second also in comment. + +2011-10-04 Jocelyn Fiat + + Fixed agent handler for rest library + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + fixed inheritance and precursor bad usage. + +2011-10-04 Jocelyn Fiat + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework + +2011-10-03 jvelilla + + Updated support for PUT. Now the example support GET, POST, PUT, DELETE. + +2011-09-28 Jocelyn Fiat + + fixed compilation for ewsgi/tests/tests.ecf file + + Made WGI_VALUE.name as READABLE_STRING_32 .. otherwise it is a pain to manipulate. Changed return type of meta_variable to be WGI_STRING_VALUE ... since the meta variable can not be anything else. Made sure REQUEST_URI starts with one and only one slash Internal implementation: the _table now compares object Removed SELF variable ... at least for now Be sure to provide a REQUEST_URI even if the underlying connector does not. + + cleaned http_client configuration files + + Added library/library.index + + restructured ewsgi to avoid too many sub cluster + +2011-09-28 jvelilla + + Updated Restbucks examples, handle not method allowed in a better way, added the readme file. + + Merge remote-tracking branch 'jocelynEWF/master' + +2011-09-26 Jocelyn Fiat + + fixed compilation of rest example + + fixed typo + + Changed ITERATION_CURSOR [WGI_VALUE] into ITERABLE [WGI_VALUE] for WGI_REQUEST.*parameters* and similar Applied recent changes on EWF_HEADER + +2011-09-23 Jocelyn Fiat + + Updated changelogs.txt sync with nino and doc + +2011-09-23 Jocelyn Fiat + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + Added AutoTest simple cases for ewsgi using Nino web server + + Fixing issue with experimental WGI_MULTIPLE_STRING_VALUE Fixed issue with RAW_POST_DATA + + Removed `put_redirection' and replaced by `put_location' Removed useless code in some features + + Use READABLE_STRING(_*) instead of just STRING(_*) + + Added feature to shutdown the Nino http server + + Added error reporting in HTTP_CLIENT_RESPONSE Added missing set_connect_timeout + +2011-09-23 jvelilla + + Added validations. + +2011-09-22 Jocelyn Fiat + + Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework + +2011-09-22 Jocelyn Fiat + + Added code to create an HTTP_AUTHORIZATION from the client side as well. So now we can either interpret an HTTP_AUTHORIZATION or build one HTTP_AUTHORIZATION + So far , only Basic auth is supported. + + Made all libraries compilable in any mode (voidsafe or not) Fixed related examples + +2011-09-22 jvelilla + + Initial import, work in progress restbuck example. Only support create a resource + + Merge remote-tracking branch 'jocelynEWF/master' + +2011-09-21 Jocelyn Fiat + + Fixed issue where Content-Type and Content-Length were translated into HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH instead of just CONTENT_TYPE and CONTENT_LENGTH + + better assertion to ensure `base' is a valid base url + + synch with Nino + + better return type for http client functions added helper features + +2011-09-21 jvelilla + + Merge remote-tracking branch 'jocelynEWF/master' + +2011-09-20 Jocelyn Fiat + + fixed case sensitive path + + missing -safe.ecf config file for http_client + + Now using READABLE_STRING_... type + + Added simple HTTP client. For now the implementation is using Eiffel cURL library. It requires Eiffel cURL coming with next EiffelStudio 7.0 (or from eiffelstudio's repo from rev#87244 ) + +2011-09-16 Jocelyn Fiat + + Fixed issues in WGI_REQUEST's invariant Fixed issues with guessing the default format for REST handling Fixed issue with .._ROUTING_.. component. + + Fixed issue with uri template router .. it was applying on request_uri instead of path_info now it match on PATH_INFO + + more flexible authenticated query .. on handler, and not anymore on context object + + fixed wrong order in parameter for callers of set_meta_string_variable + + added debug_output to WGI_VALUE + + first version of http authorization .. for now, only basic digest + + added request_handler_routes_recorder to provide an implementation for `REQUEST_HANDLER.on_handler_mapped' + + Added "on_handler_mapped" callback to allow any REQUEST_HANDLER to record the existing routes. + + typo + +2011-09-16 jvelilla + + Merge remote-tracking branch 'jocelynEWF/master' + +2011-09-15 Jocelyn Fiat + + minor enhancement of error lib + + Added WGI_MULTIPLE_STRING_VALUE Renamed value as WGI_STRING_VALUE.string Renamed a few classes .._CONTEXT_I as .._CONTEXT updated example. + + cosmetic + + Merge branch 'master' of git://github.com/Eiffel-World/Eiffel-Web-Framework + +2011-09-15 Jocelyn Fiat + + updated README.md + +2011-09-14 Jocelyn Fiat + + Simplified interface of "router" library classes + + applied renaming for rest and router lib + + Reorganized library "server/request/rest" + + some renaming to use _I for the generic classes, and removed the DEFAULT_ prefix for default implementation this should makes things easier for new users + + reorganized router library + + - Adopted deferred WGI_VALUE design for Result type of *_parameter and similar functions - Adopted the ITERATION_CURSOR [WGI_VALUE] design for *_parameters and similar functions - renamed parameter as item - provided helper function to handle "string" value parameters + Experimental for now. + + better result type (using READABLE_..) + + sync with nino + +2011-09-14 jvelilla + + Merge remote-tracking branch 'jocelynEWF/master' + +2011-09-13 Jocelyn Fiat + + updated changelogs + +2011-09-13 Jocelyn Fiat + + Added first draft for RESTful library note: the interfaces are likely to change in the future + + updated config file and examples + + adding routing handler few renaming + +2011-09-09 Jocelyn Fiat + + changing design to use generic instead of anchor types + + make router more easy to inherit from and specialized + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + Added support during match for {/vars} and also handle cases such as /foo.{format}{/vars} or /foo.{format}{?vars} where no literal exists between the uri template expressions + + better type for argument and result (using READABLE_...) + + change to standard default values + +2011-09-08 jvelilla + + Sync to jocelyn EWF master + + Merge remote-tracking branch 'jocelynEWF/master' + + Update + +2011-09-07 Jocelyn Fiat + + sync doc/wiki + + use `resource' as generic name for uri or uri_template + + added changelogs.txt + + Added request methods criteria for the router component. Now one can decide + map_agent_with_request_methods ("/foo/bar/{bar_id}", agent handle_foo_bar, <<"GET">>) + (and similar for non agent way) + This might be useful in pure RESTful environment. + + fixed example .. where we forgot to set the status, and send the header (DbC helped here) + + renamed (un)set_meta_parameter as (un)set_meta_variable + + Missing HTTP_ prefix for header meta variable in REQUEST + +2011-08-30 Jocelyn Fiat + + Changed prefix from EWSGI_ to WGI_ Changed meta variable type to READABLE_STRING_32 + +2011-08-29 Jocelyn Fiat + + naming: meta_variable(s) changed some string type to READABLE_STRING_32 or READABLE_STRING_8 for now regarding Meta variables (need decision here..) + +2011-08-25 Jocelyn Fiat + + changed prefix GW_ into EWF_ for EiffelWebFramework use READABLE_STRING_GENERAL instead of just STRING + + sync wiki doc + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + Conflicts: + library/server/ewsgi/connectors/nino/src/gw_nino_connector.e + library/server/ewsgi/ewsgi-safe.ecf + + Merged REQUEST and ENVIRONMENT into REQUEST renamed ENVIRONMENT_NAMES into META_NAMES better usage of READABLE_STRING_GENERAL, and other strings abstract RESPONSE_BUFFER in implementation of EWSGI for the implementation, inheriting from deferred specification (more to come later) + + Merged REQUEST and ENVIRONMENT into REQUEST renamed ENVIRONMENT_NAMES into META_NAMES better usage of READABLE_STRING_GENERAL, and other strings for the implementation, inheriting from deferred specification (more to come later) + +2011-08-24 Jocelyn Fiat + + fixing wrong feature usage + +2011-08-18 Jocelyn Fiat + + code cleaning, and prepare for internal review + +2011-08-04 Jocelyn Fiat + + enhanced the ERROR_HANDLER + +2011-08-02 Jocelyn Fiat + + minor improvements on response_as_result code + + cosmetic in config file .ecf + + add "write_headers_string" to RESPONSE_BUFFER + +2011-08-01 Jocelyn Fiat + + sync wiki + + moved ewsgi-full config file under tests (this is mainly for dev purpose, to be able to compile and edit all classes related to ewsgi) + + Tried to reduce gap between both EWSGI proposals Re-adapt the Spec-compliant solution (instead of Lib-compliant solution). Thus no more 100% deferred interface. Rename EWSGI_RESPONSE into EWSGI_RESPONSE_BUFFER Added in extra/response-as-result/ an copy/paste from the implementation of Paul's proposal (not up to date with Paul's spec). But this is mainly for information and tests. Removed part of the ewsgi/specification interfaces ... to be able to test EWSGI compliant library against the pure specification (experimental). Renamed most of the GW_... into EWSGI_... + +2011-07-29 Jocelyn Fiat + + added http_accept feature to represent "Accept:" HTTP header + + added hello_routed_world example few changes on new `router' library (still in-progress) + + Added first draft for a URI and/or URI-template base request router. + + cosmetic + + Added "flush" to the EWSGI_RESPONSE_STREAM + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + added missing non-void-safe .ecf + + added missing non-void-safe .ecf + +2011-07-28 Jocelyn Fiat + + Fixed various issue with URI template, added corresponding tests + + It seems good convention to also add the "Status:" header + + fix hello world example + + ignore tests/temp + +2011-07-27 Jocelyn Fiat + + added script to test compilations of .ecf in EWF + + Added the possibility to set the "Status" header (different from the status line) in GW_HEADER Renamed EWSGI_RESPONSE as EWSGI_RESPONSE_STREAM to avoid confusion with EWSGI_RESPONSE as stated in Paul's proposal Added default "configuration" (for nino and cgi) to be independant of the connector (at compilation time) Added example implementing Paul's proposal on top of EWSGI + + Added an implementation folder in ewsgi_spec, mainly to provide default implementation just to save the developer of connector some time. changed structured + + added non void-safe configuration files + + restructured specification folders + + Apply prefix renaming from the specification Reduced the number of EWSGI classes + + now use prefix EWSGI_ instead of GW_ for ewsgi specification + + First step to extract the interface of the EWSGI specification into its own library Applied the changes + + removed implementation from APPLICATION , RESPONSE and REQUEST classes + + removed the notion of status from GW_HEADER, since it should not be part of the HTTP header added status setting in GW_RESPONSE added a default implementation for write_status in OUTPUT_STREAM (it should be moved away in the future) removed any implementation from GW_REQUEST, and put it in GW_REQUEST_IMP + +2011-07-26 Jocelyn Fiat + + replace write_string by write in RESPONSE + + various alternative implementation for response + +2011-07-25 Jocelyn Fiat + + Redesigned the RESPONSE to remove the output stream from the deferred interface Redesigned the uploaded file part to be more object oriented Move some implementation from REQUEST to REQUEST_IMP + + added doc/spec for uri template + +2011-07-22 Jocelyn Fiat + + Fixed issue with matcher + + fixed typo + + Improvement and revert back to support draft 04 (but using custom variable, allow the user to follow draft 05 spec) + + fixing issue with URI TEMPLATE matcher + + Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework + + added URI_TEMPLATE_MATCH_RESULT + +2011-07-21 Jocelyn Fiat + + sync + + updated README + + updated README + +2011-07-20 Jocelyn Fiat + + added use of URL-encoder to unencode the URL values (to fill the parameters) review design of GW_RESPONSE to hide the output, and remove the header attribute added script_url in REQUEST to help the user build url relative to script_name + + cosmetic + + First version of URI Template library as specified by http://tools.ietf.org/html/draft-gregorio-uritemplate-05 (it seems to contains some error in the spec .. or minor incoherences, to double check) The matcher is basic, it does not handle all the details of the string builder, but that seems ok for now. + +2011-07-18 Jocelyn Fiat + + added format and request method constants classes + license file + + added default rescue code on exception rescue + + nicer Eiffel code, let's not try to achieve everything-in-one-line style ... + + restrict creation only by GW_APPLICATION and descendant + + add output helper feature to RESPONSE + + Fixed issue with nino handler and base url + + sync nino and json + +2011-07-14 Jocelyn Fiat + + rename new_request_context by new_request + +2011-07-13 Jocelyn Fiat + + cosmetic + + renamed GW_REQUEST_CONTEXT as GW_REQUEST + + Design change, now we have `req' REQUEST and `res' RESPONSE instead of just `ctx' + + enhanced comment for `execute' + + Make a simple hello world based on nino + +2011-07-12 Jocelyn Fiat + + Added GW_HEADER Added pre_, post_ and rescue_execute for GW_APPLICATION Fixed an unknown class in export clause cosmetic + copyright + +2011-07-12 Jocelyn Fiat + + fixed submodule path ... Windows path separator issue.. + +2011-07-12 Jocelyn Fiat + + added instruction to get the source code + + First integration of the new GW_ design more centralized on connector, and does not require specific feature on GW_APPLICATION depending on the connector. So this is really more flexible this way, and much easier to write application supporting CGI, FCGI, Nino and so on .. as demonstrated in hello_world + This is a first version, more will come later, mainly migrating from Eiffel Web Reloaded to this Eiffel Web Framework project. + +2011-07-08 Jocelyn Fiat + + focus on GW_APPLICATION + +2011-07-07 Jocelyn Fiat + + a few renaming better GW_ENVIRONMENT interface + +2011-07-06 Jocelyn Fiat + + updated doc + +2011-07-05 Jocelyn Fiat + + cosmetic, license, copyright + + added doc/wiki (wiki from github) + + First draft for the ewsgi spec + +2011-06-29 Jocelyn + + Let's start the Eiffel Web Framework