jvelilla
de282948e6
Merge pull request #9 from Conaclos/working
...
Apply pretty tool.
2014-07-08 17:25:35 +02:00
Jocelyn Fiat
93f1fed997
Merge pull request #139 from jocelyn/widget_integration
...
Added custom-template in examples, as a base template to integrate easily other JS widgets.
2014-07-07 12:30:10 +02:00
f6ebd414d6
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.
2014-07-07 12:15:18 +02:00
ff19adc6c8
Improved comment related to PATH_INFO and stripping multiple slashes sequence to single slash.
2014-07-07 11:27:31 +02:00
Jocelyn Fiat
41d24c91b4
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.
2014-07-07 11:19:43 +02:00
0427f7a8d3
Fixed compilation issue related to old usage of modified JSON library.
2014-07-07 11:14:36 +02:00
985a5e5ce7
Merge branch 'master' of github.com:EiffelWebFramework/EWF into widget_integration
2014-07-07 10:30:42 +02:00
fe4c283336
Move wsf_js_widget library under draft/library/server/wsf_js_widget
2014-07-07 10:26:10 +02:00
Conaclos
20e704604a
Apply pretty print tool.
...
Apply on each class in test suite and library.
2014-07-04 17:59:05 +02:00
jvelilla
0db02a8c52
Merge pull request #8 from Conaclos/working
...
Tests - Update syntax and improve implementation
2014-07-04 14:07:41 +02:00
1b4b50ee80
Replace any multiple slash sequence by a single slash character for PATH_INFO.
2014-07-02 11:36:43 +02:00
446c692f97
Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER.
2014-07-01 19:59:08 +02:00
7dfc6ea67a
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}
2014-07-01 19:57:14 +02:00
jvelilla
a5a257f452
Update format
2014-07-01 04:47:23 -07:00
jvelilla
bde0e2900b
Created Deployment (markdown)
2014-07-01 04:42:56 -07:00
Conaclos
361773101e
Add documentation and contracts for domain types.
2014-06-30 18:32:14 +02:00
Conaclos
052860b62c
Improve converters.
...
Replace old syntax with new one and improve
implementation.
2014-06-30 18:31:42 +02:00
Conaclos
c5e1b1ee69
Syntax update.
...
Replace assigment attempt with object test.
2014-06-30 18:28:13 +02:00
0b1697f20d
Verbose mode for the WSF_DEBUG_HANDLER.
2014-06-30 15:45:54 +02:00
add71543a4
Fixed error introduced during refactorying on WSF_DEBUG_FILTER
2014-06-30 15:21:03 +02:00
66a1e0629c
Improved the debug example, so that it outputs more information.
2014-06-30 15:16:31 +02:00
425c976032
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.
2014-06-30 15:13:47 +02:00
Jocelyn Fiat
397dcc6128
Merge pull request #133 from jocelyn/better_uploading_file
...
Improved the uploading of file in regard to temporary filename.
2014-06-23 16:06:29 +02:00
a3c403323d
Raised the void-safety level to "complete"
...
Added comments.
2014-06-23 16:05:20 +02:00
942896aa0c
Fixed library location for http
2014-06-12 20:02:57 +02:00
93c92c0e38
Avoid decoding PATH_INFO and PATH_TRANSLATED to follow CGI spec.
2014-06-12 19:54:30 +02:00
394ca46f03
Added example to help debugging EWF
...
This is mainly a kind of echo server .. that return the request information.
2014-06-12 19:52:41 +02:00
67641da44d
Improved the uploading of file in regard to temporary filename.
...
Avoid to overwrite the same file for concurrent requests uploading the same filename.
2014-06-11 16:52:22 +02:00
Olivier Ligot
a826051979
Merge remote-tracking branch 'upstream/master'
2014-05-22 22:09:00 +02:00
Jocelyn Fiat
ce4c62a989
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
v0.4.0
2014-05-14 16:21:21 +02:00
b59966595e
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 16:18:10 +02:00
fcf8b63666
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 16:16:32 +02:00
cad9322839
Merge branch 'master' into void-safe
2014-05-14 11:32:28 +02:00
31fcd61401
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 10:14:51 +02:00
Jocelyn Fiat
0b11663da4
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.
2014-05-14 10:06:58 +02:00
5a179f514c
Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8.
2014-05-14 10:04:17 +02:00
f099a70b87
Apply recent change on error_handler interface to support unicode error message in response.
2014-05-14 10:03:15 +02:00
1163b99f39
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.
2014-05-14 10:02:38 +02:00
ca6ccc7291
debug_output can return a string 32, so avoid truncated unicode value by returning a string 32 value for `debug_output' .
2014-05-14 09:59:29 +02:00
bb11c24681
check that cookies data is valid string 8 to follow assertions.
2014-05-14 09:53:04 +02:00
d158579bdc
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.
2014-05-14 09:45:15 +02:00
02f5a09689
Added comment to explain why conversion to string 8 is safe
2014-05-14 09:36:22 +02:00
cb3de17be9
renamed HTTP_HEADER_BUILDER as HTTP_HEADER_MODIFIER
2014-05-14 09:35:55 +02:00
fd66d79ecb
Updated ecf files toward complete void-safety
...
Added iron package files.
Added libfcgi files to compile .lib and .dll on Windows
2014-04-22 21:47:29 +02:00
d6b77e938b
Added more tests for uri-template matching, especially with url that contains %2F i.e the percent encoded slash '/'
2014-04-22 19:25:07 +02:00
3c8dc0a9e1
Fixed various Unicode text handling.
...
Moved example folder inside the library, and renamed it "demo"
Improved example code.
2014-04-22 16:36:29 +02:00
fdfeea508e
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki
2014-04-22 15:50:44 +02:00
99d0340e1b
Merge branch 'master' of https://github.com/eiffelhub/json
2014-04-22 15:50:30 +02:00
a74cda2f33
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.
2014-04-22 15:45:31 +02:00
322fd80f40
Be sure to reset `is_https' to False, in case the wsf_request object is reused by the implementation.
2014-04-22 10:18:16 +02:00