Commit Graph

  • da5226a891 Updated code to remove VRDS(4) errors master Jocelyn Fiat 2019-05-30 17:40:50 +02:00
  • 256f7581f1 Updated changelogs Jocelyn Fiat 2019-05-30 16:38:27 +02:00
  • 5df220beef Removed redefinitions that violates VDRS(4). Jocelyn Fiat 2019-05-30 16:21:53 +02:00
  • 5ff361af54 Simplified proxy example, no more proxy.conf file. Added forwarding case based on server name. Jocelyn Fiat 2019-01-24 11:19:05 +01:00
  • 65525aa112 updated proxy example's README file. Jocelyn Fiat 2019-01-24 09:23:47 +01:00
  • d4bbdea5e4 Removed unneeded redefine. Jocelyn Fiat 2019-01-23 23:50:26 +01:00
  • 8260336d6c Added support for X-Forwarded-For .., and Forwarded header, for the simple proxy implementation. Also added the possibility to "keep" the original host name. Updated related example. Jocelyn Fiat 2019-01-23 23:46:35 +01:00
  • 19c14d28c7 Updated EiffelWeb wizard. Jocelyn Fiat 2018-11-19 19:10:26 +01:00
  • f1e8dfa40b Updated to use ARGUMENTS_32 as client. Jocelyn Fiat 2018-11-19 18:04:35 +01:00
  • e73302639d updated changelog. Jocelyn Fiat 2018-11-16 19:39:13 +01:00
  • 1c58674523 Updated notes for JWS. Jocelyn Fiat 2018-11-16 19:35:34 +01:00
  • 7cfe0cc5ed Removed obsolete v0 code. Jocelyn Fiat 2018-10-29 12:32:48 +01:00
  • 4f8341e04e Updated JWT library with class descriptions and better features names. JWT library fixed to use agorithms names in upper case. Updated README. Jocelyn Fiat 2018-11-16 19:26:12 +01:00
  • 7f36e539f1 Accepts string general in html_encoded_string. Jocelyn Fiat 2018-11-16 18:55:23 +01:00
  • 8241c0209a Updated JWT README content. Jocelyn Fiat 2018-10-29 15:17:31 +01:00
  • 45179b58a3 Fixed custom error creation, do not create default message, otherwise the info will be duplicated in error output. Jocelyn Fiat 2018-10-29 15:14:28 +01:00
  • 31fa31bd53 Updated changelog Jocelyn Fiat 2018-10-29 13:22:01 +01:00
  • a8a3ca5b97 typo. Jocelyn Fiat 2018-10-29 13:15:32 +01:00
  • 7c6fe5a04a Added HTTP_COOKIE.set_expiration_from_max_age, to add the "Expiration:" based on the max-age value. Jocelyn Fiat 2018-10-29 13:15:14 +01:00
  • c8e2009638 Use double quotes only when needed for put_content_type_with_parameters. Jocelyn Fiat 2018-10-29 13:11:19 +01:00
  • 627ec7aefc removed unneeded inheritance. Jocelyn Fiat 2018-10-29 12:33:48 +01:00
  • e7087bcbc1 Added missing WSF_TIMEOUT_UTILITIES file. Jocelyn Fiat 2018-10-29 12:19:36 +01:00
  • 8d881bcd7d Updated changelog.md Jocelyn Fiat 2018-10-29 12:16:01 +01:00
  • ed3ad962d1 Updated a few classes from http_client to use nanoseconds as timeout precision. Fixed typo in comments. Jocelyn Fiat 2018-02-13 18:46:18 +01:00
  • d3e865cf6c Fixed setting of socket.timeout in httpd (was not currently set before). Adopted the nanoseconds timeout precision - in config file added support for ns, us, ms, s timeout precision (without indication, it uses seconds precision). Jocelyn Fiat 2018-10-29 11:27:26 +01:00
  • 9fcd30b4e1 removed useless JWT_ENCODER Jocelyn Fiat 2018-10-17 14:25:56 +02:00
  • 0baa05cf63 JWT: updated to make JWT algorithm support more flexible, and simple to extend with specific algorithm. Jocelyn Fiat 2018-10-17 10:59:57 +02:00
  • f97f59b703 renamed a png file to avoid blank character. Jocelyn Fiat 2018-09-27 22:01:34 +02:00
  • dc377b84d3 Duplicated images to see expected images embedded in github markdown pages, and also in github web pages (jekyll on eiffelweb.org). Jocelyn Fiat 2018-09-27 21:57:16 +02:00
  • f14431fc05 Update basics.md Jocelyn Fiat 2018-09-27 21:50:02 +02:00
  • 9577d7d82a Update basics.md Jocelyn Fiat 2018-09-27 21:48:45 +02:00
  • 99f8377721 Include images twices to see them under github pages, and also in markdown pages Jocelyn Fiat 2018-09-27 21:47:48 +02:00
  • 73d5555532 test (ignore) Jocelyn Fiat 2018-09-27 21:39:58 +02:00
  • ce3c7ac57a try change for related links. Jocelyn Fiat 2018-09-27 21:34:18 +02:00
  • 8754c2d67d Update basics.md Javier Velilla 2018-09-27 16:22:20 -03:00
  • 5e928b9a47 use image location that works for md files, and also generated web files (jekyll) Jocelyn Fiat 2018-09-27 21:10:04 +02:00
  • 9cdfbd2538 Update basics.md Javier Velilla 2018-09-27 16:08:39 -03:00
  • e4fcc863ca Updated image locations Jocelyn Fiat 2018-09-27 21:05:54 +02:00
  • 7c8d6b9eef Updated path to Application execution png file Javier Velilla 2018-09-27 15:58:09 -03:00
  • a97eb4b062 Added missing dependencies. Jocelyn Fiat 2018-05-30 19:27:04 +02:00
  • bd5aba3db6 Updated Windows DOS script to build the libfcgi binary lib files. Jocelyn Fiat 2018-05-30 17:30:05 +02:00
  • d43c4edb7d Updated the default rescue response (i.e when exception or bad internal error occurs). Factorized the implementation in WGI_RESCUE_EXECUTION, and now by redefining the WGI_EXECUTION.execute_rescue (...) procedure, it is possible to have a custom response on such rescued execution. Jocelyn Fiat 2018-05-30 17:28:24 +02:00
  • 9cdd676417 Fixed HTTP_HEADER.put_raw_header (..) by ignoring any empty line of the argument value. (note: "%R" is considered as empty line here.) Jocelyn Fiat 2018-05-30 17:25:04 +02:00
  • cb273c3176 Updated to compile with upcoming EiffelStudio 18.05 (with and without ssl). Jocelyn Fiat 2018-05-28 17:21:11 +02:00
  • ec7d504502 Fixed EOL. Jocelyn Fiat 2018-05-28 16:18:59 +02:00
  • 7ed1e815b0 Updated to compile with upcoming EiffelStudio 18.05 . Jocelyn Fiat 2018-05-28 16:11:24 +02:00
  • da2e26f697 Renamed the fcgi executable. Jocelyn Fiat 2018-04-26 11:58:00 +02:00
  • bc169d6b26 Fixed remaining issues with docker setup. Jocelyn Fiat 2018-04-26 10:58:01 +02:00
  • cf2f0f09fa Updated container files. Jocelyn Fiat 2018-04-24 15:13:47 +02:00
  • 207a109e44 Updated to match docker expectation. Jocelyn Fiat 2018-04-24 10:36:20 +02:00
  • 2f2e2067ba Added an example to run the debug app with apache2+libfcgi inside a docker container. Jocelyn Fiat 2018-04-23 22:13:07 +02:00
  • 7aa7bf1ab2 Updated travis CI config. Updated install dos script to include wsf_security. Jocelyn Fiat 2018-02-13 18:49:14 +01:00
  • 8e8c3602c6 Allow (websocket) upgrade even without persistent connection for normal http request. (note: this allows to use websocket in single-threaded mode, and avoid the keep-alive-timeout delay before websocket begins its execution) Jocelyn Fiat 2018-02-13 18:39:47 +01:00
  • ffd7dd8540 Improved WSF download response implementation. - Do not set Transfer-Encoding to binary for download response. - Use WSF_RESPONSE.put_file_content (...) Jocelyn Fiat 2018-02-05 21:02:23 +01:00
  • 947c94644e Apply win32 workaround only on Windows 32bits. Jocelyn Fiat 2018-02-02 22:43:50 +01:00
  • 6a779797a5 Removed a few obsolete calls. Updated tests/all.ecf to include a few missing libraries. Jocelyn Fiat 2018-02-02 22:40:18 +01:00
  • 7b0ccc0aec Merge branch 'develop' Jocelyn Fiat 2018-01-29 22:16:57 +01:00
  • 74001fe674 Properly JSON encode null character as \u0000 . Jocelyn Fiat 2018-01-29 22:13:03 +01:00
  • c7eb12ad8e Return NotFound response for "/favicon.ico" request instead of returning wrong plain text response. Jocelyn Fiat 2017-12-18 19:15:19 +01:00
  • 36eeff9285 Fixed the websocket example to also work for remote client. (i.e not from the same machine). Jocelyn Fiat 2017-12-18 14:52:09 +01:00
  • e9292b3eac Reverted last change as error_message on curl is not available for 17.05. Jocelyn Fiat 2017-12-01 12:05:01 +01:00
  • 30625d460f Added curl error message to the response error message (in addition to just the curl error code). Jocelyn Fiat 2017-11-30 20:08:58 +01:00
  • 24eb0a4002 Updated changelog Jocelyn Fiat 2017-11-30 15:05:54 +01:00
  • 7d738a164d Added missing comments. Jocelyn Fiat 2017-11-30 14:54:46 +01:00
  • 1037256ea6 Refactored using an abstraction WSF_PROTECTION. This protection could be implemented with a regular expression, or using another solution (as manual parsing). Also, when a protection detects an issue, instead of returning empty string, it returns Void. If the value is a multiple string value, if an item is detected for an issue, the returned multiple string value is now Void. This abstraction will allow to return either Void, or a "corrected" value, for instance the string value, without the detected "<script..>..</script>" text. TODO: improve the WSF_PROTECTION_REGEXP to allow replacement strategy. Jocelyn Fiat 2017-11-27 15:44:19 +01:00
  • 4d79bba04b Merge branch 'ewf_xss' Jocelyn Fiat 2017-11-23 11:50:47 +01:00
  • 5de024923e Updated xss support. Added a new library wsf_security. Updated test cases to cover protections policy. Added a simple filter using an XSS implementation with WSF_XSS_REQUEST, but it's possible to build custom filters and request using different protection patterns. jvelilla 2017-11-22 17:22:02 -03:00
  • 8b90241986 Moved XSS protection to WSF_EXTENSION. Updated code to protect meta_variables. Fixed typos. Updated ecf's to use 1-16-0. jvelilla 2017-11-13 15:06:02 -03:00
  • da1c0b8545 Fixed typo in script. Jocelyn Fiat 2017-11-13 19:01:16 +01:00
  • 603bedf71d Reverted change that made WSF_URI_FILTER_HANDLER and WSF_URI_TEMPLATE_FILTER_HANDLER inheriting from WSF_EXECUTE_FILTER_HANDLER as it breaks existing projects using EiffelWeb. Jocelyn Fiat 2017-11-13 18:58:29 +01:00
  • 5fedad7f2e Updated Changelog. Jocelyn Fiat 2017-11-13 12:31:19 +01:00
  • e83f5654d8 Updated NOTIFICATION_SMTP_MAILER to follow the EiffelNet EMAIL design. Jocelyn Fiat 2017-11-13 12:29:16 +01:00
  • 25446cac12 Initial import WSF XSS protection. Added an utility class to get safe query and form parameters. Added a new WSF_XSS_REQUEST to use safe parameters. Added a filter WSF_XSS_FILTER using WSF_XSS_REQUEST. Added test cases jvelilla 2017-11-10 10:37:32 -03:00
  • ccff084642 Updated travis CI config to use install script. Jocelyn Fiat 2017-11-08 10:20:50 +01:00
  • 830adbe10c Fixed response handlers compilation. Jocelyn Fiat 2017-11-07 23:52:42 +01:00
  • e6d998953e Updated changelog. Jocelyn Fiat 2017-11-07 23:17:39 +01:00
  • 6ca3cca88b Reverted change that made WSF_URI_HANDLER and WSF_URI_TEMPLATE_HANDLER inheriting from WSF_EXECUTE_HANDLER, as it breaks existing project using EiffelWeb. Jocelyn Fiat 2017-11-07 23:05:22 +01:00
  • f91a676f41 fixed obsolete v0 wsf_extension ecf file. Jocelyn Fiat 2017-11-04 22:44:27 +01:00
  • 1c75e11e34 removed unused local variable. Jocelyn Fiat 2017-11-03 18:54:46 +01:00
  • b5b4fa6b2f added develop branch for CI Jocelyn Fiat 2017-11-03 18:06:47 +01:00
  • 211fc425a3 Added handler to add support for CGI scripts. Added a new tool httpd which is a basic httpd server product (with file server and CGI handler). Jocelyn Fiat 2017-11-03 18:00:39 +01:00
  • 95cebe26bb Added routing condition mapping. Added WSF_EXECUTE_HANDLER as common ancestor for handler with execute (WSF_REQUEST, WSF_RESPONSE) .. routine. Made more flexible a few routine by accepting ITERABLE instead of ARRAY, and READABLE_STRING_GENERAL when possible. Jocelyn Fiat 2017-11-03 17:59:10 +01:00
  • f770c236d5 Improved support for absolute url passed tp HTTP_REQUEST_SESSION . Jocelyn Fiat 2017-10-27 19:24:52 +02:00
  • 503e5f7915 Merge branch 'master' into v1 Jocelyn Fiat 2017-10-26 10:23:33 +02:00
  • 39f01e95fd Use single ecf file. Jocelyn Fiat 2017-10-26 10:19:56 +02:00
  • c725159d7e Merge branch 'master' into with_compression Jocelyn Fiat 2017-10-26 10:13:27 +02:00
  • e66f1cf7be updated changelog Jocelyn Fiat 2017-10-24 17:51:55 +02:00
  • c03d28cabc Use new on_timer solution, to check every 1 second, the presence of ".stop" file. If this file exists, close all active websockets. Jocelyn Fiat 2017-10-24 17:45:08 +02:00
  • e834b2b360 Added on_timer callback event so that server can check regularly external state. This is a basic solution to implement a way to check for time to time for events to notify websocket clients. Jocelyn Fiat 2017-10-24 17:43:06 +02:00
  • d089fd3a03 Merge branch 'master' into v1 Jocelyn Fiat 2017-10-19 11:20:55 +02:00
  • a0c1ab5232 updated simple.ini settings. Jocelyn Fiat 2017-10-19 11:20:14 +02:00
  • a8ddd10b46 Merge branch 'master' into v1 Jocelyn Fiat 2017-10-19 10:57:45 +02:00
  • db39068ceb Updated documentation for standalone connector. Changed default_max_keep_alive_requests from 100 to 300. Jocelyn Fiat 2017-10-19 00:14:23 +02:00
  • a1b4337438 Set keep_alive_timeout to 2, this way for single threaded case, browser does not wait too much to start the websocket connection. Set max_keep_alive_requests to -1, to allow unlimited number of requests within a same websocket connection. Jocelyn Fiat 2017-10-18 23:41:03 +02:00
  • 74121be470 Support persistent connection, even in single thread mode (i.e concurrency=none). Warning: as there is no concurrent request handling in single threaded mode, it is recommended to either set the keep_alive_timeout to a small value, or disable persistent connection by setting max_keep_alive_requests to 0. Change the default keep_alive_timeout from 15 to 5 seconds. Accept -1 as value of max_keep_alive_requests to have unlimited number of request in the same persistent connection. Jocelyn Fiat 2017-10-18 23:29:16 +02:00
  • 1c9f5ac0e7 Merge branch 'master' into v1 Jocelyn Fiat 2017-10-17 14:52:17 +02:00
  • edec837c4e Made interface of wsf forms and widgets a bit more flexible by accepting READABLE_STRING_GENERAL. Jocelyn Fiat 2017-10-17 14:34:50 +02:00
  • f1642a444a Improved support of absolute/relative https:// and http:// in http_client. Jocelyn Fiat 2017-10-17 14:30:44 +02:00
  • 48af63af83 Fixed typo to process relative or absolute url. Jocelyn Fiat 2017-10-09 14:23:45 +02:00
  • 2f98d7031f Updated a few package.iron files. Jocelyn Fiat 2017-10-06 14:06:46 +02:00