Commit Graph
100 Commits
Author SHA1 Message Date
Jocelyn Fiat 0503e63209 Minor implementation changes (feature renaming, ... ) 2012-09-19 10:50:38 +02:00
Jocelyn Fiat ace897ea2b 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 10:50:27 +02:00
Jocelyn Fiat 0f59535696 Added general_encoded_string (..) that accepts READABLE_STRING_GENERAL 2012-09-11 20:53:13 +02:00
Jocelyn Fiat 795f82d51f added WSF_VALUE.is_empty: BOOLEAN 2012-09-10 16:28:25 +02:00
Jocelyn Fiat fbd9cb9588 Added `HTML_ENCODER.general_encoded_string (s: READABLE_STRING_GENERAL): STRING_8'
(note: probably we should do similar change for all the encoders)
2012-09-10 09:36:27 +02:00
Jocelyn Fiat 0d8363aa3f 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
2012-09-10 09:35:47 +02:00
Jocelyn Fiat 153a853df5 Added `WSF_TABLE.is_empty: BOOLEAN'
Added `WSF_TABLE.as_array_of_string: detachable ARRAY [READABLE_STRING_32]'
2012-09-10 09:31:27 +02:00
Jocelyn Fiat 45daa731cf 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-10 09:27:32 +02:00
Jocelyn Fiat bd15133e2b Also convert from STRING_8 to URI_TEMPLATE (not only from READABLE_STRING_8) 2012-08-31 07:03:15 +02:00
Jocelyn Fiat 0c110169de fixed location of ewf.ini for ISE wizard 2012-08-28 17:06:14 +02:00
Jocelyn Fiat 61b7f89e3b Fixed source code for building and installing the ISE Wizard 2012-08-28 16:45:25 +02:00
Jocelyn Fiat 2f94214863 Merge branch 'master' of github.com:EiffelWebFramework/EWF 2012-08-24 12:05:49 +02:00
Jocelyn Fiat 40e524337e 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
2012-08-24 02:40:54 -07:00
Jocelyn Fiat 5487b04922 Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki
Conflicts:
	doc/wiki/Home.md
2012-08-24 02:22:49 -07:00
Jocelyn Fiat 425f3fbb86 Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki
Conflicts:
	doc/wiki/Home.md
2012-08-24 07:54:03 +02:00
Jocelyn Fiat b6464cf5e7 removed "getest" since it is duplication with autotest (and we use mainly the later for regression testing) 2012-08-08 09:13:33 +02:00
Jocelyn Fiat 8b33c77008 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-08 08:51:00 +02:00
Jocelyn Fiat 0665085eee updated to use WSF_STRING.value instead of obsolete WSF_STRING.string 2012-06-29 10:48:21 +02:00
Jocelyn Fiat 0a058882f5 Merge branch 'master' of https://github.com/eiffelhub/json 2012-06-29 10:36:53 +02:00
Jocelyn Fiat 480abdec51 Better code for tutorial example. 2012-06-29 10:27:23 +02:00
Jocelyn Fiat b7be1cb0a2 Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki 2012-06-29 07:44:03 +02:00
Jocelyn Fiat 6fa0d56465 cosmetic 2012-06-28 18:07:18 +02:00
Jocelyn Fiat 14367f9bde Merge branch 'master' of https://github.com/eiffelhub/json
Conflicts:
	draft/library/kernel/json_object.e
2012-06-28 17:55:48 +02:00
Jocelyn Fiat 873f877530 Added TABLE_ITERABLE interface to JSON_OBJECT
Added JSON_OBJECT.replace (value, key)
2012-06-28 16:52:11 +02:00
Jocelyn Fiat 0dae7c6432 use svn export instead of svn checkout 2012-06-27 09:27:55 +02:00
Jocelyn Fiat d539ea061a If library/cURL exists, do not copy cURL to contrib/library/network/cURL 2012-06-26 22:49:14 +02:00
Jocelyn Fiat 39aea2808e Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki 2012-06-22 15:57:35 +02:00
Jocelyn Fiat 9b13aa27dd 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-22 15:54:50 +02:00
Jocelyn Fiat 87c2074d2b Updated doc/wiki from branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki
Conflicts:
	doc/wiki/Home.md
2012-06-20 14:43:39 +02:00
Jocelyn Fiat 756f4f6958 When installing, remove the folder "fonts" from the nino's example 2012-06-20 12:14:22 +02:00
Jocelyn Fiat 4d7e427d7a removed git submodule for contrib/ise_library/cURL (replaced by git subtree merged) 2012-06-20 09:56:45 +02:00
Jocelyn Fiat 5059f4eb1c fixed path in uninstall_ewf.bat 2012-06-20 09:56:06 +02:00
Jocelyn Fiat 2ac7633b80 Replaced git submodule by subtree merged in contrib/ise_library/cURL 2012-06-20 09:55:34 +02:00
Jocelyn Fiat e8fa284c79 Replaced git submodule by subtree merged in contrib/library/text/parser/json 2012-06-20 09:52:07 +02:00
Jocelyn Fiat 51b602b42a Fixed typo in linux command line (should use -option instead of --option ) 2012-06-19 23:46:58 +02:00
Jocelyn Fiat 50146cebf5 Put examples under examples/web/ewf/... 2012-06-19 15:24:16 +02:00
Jocelyn Fiat 1d425d2947 Fixed typo 2012-06-19 14:56:24 +02:00
Jocelyn Fiat 74061f83b3 fixed typo in dos batch script 2012-06-19 14:32:52 +02:00
Jocelyn Fiat 8e9db583cc fixed not enought argument for internal shell function (typo..) 2012-06-18 07:22:15 -07:00
Jocelyn Fiat 1509d68ca6 Final version of the install scripts. 2012-06-18 16:11:01 +02:00
Jocelyn Fiat 3709dec5e9 Fixed typo and path separators usage in dos batch scripts 2012-06-18 14:57:52 +02:00
Jocelyn Fiat ba7886f73d Install script does the same on Windows and Linux 2012-06-18 14:51:26 +02:00
Jocelyn Fiat 0217083d79 improved install_ewf.sh , and removed usage of deleted router.ecf 2012-06-18 02:24:47 -07:00
Jocelyn Fiat 1260ebf999 Updated install_ewf.sh 2012-06-15 14:02:49 -07:00
Jocelyn Fiat f3e1c524db Cleaned up compile_all.ini 2012-06-15 16:43:54 +02:00
Jocelyn Fiat efeb372631 Updated draft library (consider it as draft quality) 2012-06-15 16:32:39 +02:00
Jocelyn Fiat 3389973a75 More flexible signature to allow detachable READABLE_STRING_8
Signed-off-by: Colin Adams <colinpauladams@gmail.com>
2012-06-15 16:28:01 +02:00
Jocelyn Fiat 5f3749e463 updated eel and eapml from more recent versions. 2012-06-15 14:57:12 +02:00
Jocelyn Fiat 0203e0fdc7 Moved eel and eapml under the contrib folder. 2012-06-15 14:24:23 +02:00
Jocelyn Fiat 12d56861e6 Fixing wrong path for ewsgi connector nino
(this was introduced recently when we moved folder location)
2012-06-15 14:15:44 +02:00
Jocelyn Fiat 23de980e57 added methods_head_get_post and methods_head_get 2012-06-15 10:54:53 +02:00
Jocelyn Fiat ad5fed84ca Fixed previous commit where nino .ecf path was empty. 2012-06-15 10:53:32 +02:00
Jocelyn Fiat aa38cf787a Merge branch 'master' of github.com:EiffelWebFramework/EWF 2012-06-14 14:17:02 +02:00
Jocelyn Fiat 3702842337 Updated structure of EWF, applied
Now "nino" is under contrib/library/network/server/nino  (as git merge subtree, and not anymore as submodule)
2012-06-14 13:35:08 +02:00
Jocelyn Fiat 2b730186a2 Fixing issue with HEAD and make_from_iterable 2012-06-14 12:28:52 +02:00
Jocelyn Fiat dbd5e481b8 Merge remote-tracking branch 'ewf_wiki/master' 2012-06-13 23:10:04 +02:00
Jocelyn Fiat 0a31cb38a3 Added "nino" subtree merged in contrib/library/network/server/nino 2012-06-13 22:45:50 +02:00
Jocelyn Fiat db448001a1 Change structure of EWF, to follow better categorization 2012-06-13 22:32:17 +02:00
Jocelyn Fiat 3df1a26220 Better script, do not use default folder without asking. 2012-06-13 19:21:08 +02:00
Jocelyn Fiat 369a63c797 Added temporary scripts to install EWF on Windows 2012-06-13 18:51:19 +02:00
Jocelyn Fiat 52adff29aa updated script with official git repo 2012-06-11 15:20:41 +02:00
Jocelyn Fiat 8a58d62a7e 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-06-11 14:58:13 +02:00
Jocelyn Fiat 171be24d2a Better us OK status for redirection by default 2012-05-25 23:56:10 +02:00
Jocelyn Fiat fb7d5054da Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework 2012-05-25 23:55:35 +02:00
Jocelyn Fiat 03bf467ee5 Added descriptions to WSF_RESPONSE about .send (mesg)
Fixed minor issues in other classes
2012-05-25 23:51:59 +02:00
Jocelyn Fiat 08347da643 Added more content to the tutorial 2012-05-25 22:55:15 +02:00
Jocelyn Fiat 6cff00428b 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 20:17:55 +02:00
Jocelyn Fiat 6d428cf078 added skeleton for tutorial_i text 2012-05-25 18:05:01 +02:00
Jocelyn Fiat bd5238cf10 removed README.md 2012-05-25 17:57:13 +02:00
Jocelyn Fiat e006b476af Removed to README.wiki 2012-05-25 17:56:19 +02:00
Jocelyn Fiat f07fbbe450 Merge branch 'master' of github.com:EiffelWebFramework/EWF 2012-05-25 17:49:54 +02:00
Jocelyn Fiat 00a88e98e5 Updated indexing notes
started tutorial
Sync
2012-05-25 17:47:43 +02:00
jfiat c873d62efa added JSON_OBJECT.is_empty: BOOLEAN 2012-02-21 10:07:58 +00:00
Jocelyn Fiat 4486df14cc export handler from REQUEST_ROUTER 2012-01-17 07:51:26 -08:00
jfiat a6c52c0a7e Renamed JSON_STRING.unescaped_string as unescaped_string_8
+ code cleaning
2012-01-13 17:57:49 +00:00
jfiat d67e01eea6 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
2012-01-13 17:26:23 +00:00
jfiat 1b446caa27 Removing autotest dotnet target, since Autotest does not support .Net platform for now 2011-11-21 13:54:50 +00:00
jfiat 24b1be7482 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.
2011-11-21 09:20:46 +00:00
Jocelyn Fiat a09908c048 added script to build archive for download area 2011-11-07 01:22:14 -08:00
Jocelyn Fiat 4a81d02d12 Fixed obsolete calls, and compilation error. 2011-10-31 18:42:44 +01:00
Jocelyn Fiat 0f5ae7e153 fixed path to cURL.ecf file, using the correct uppercase 2011-10-31 09:14:43 -07:00
Jocelyn Fiat 179dbceaba Fixed missing syntax="provisional" , this was preventing compiling with "across" statements 2011-10-31 16:06:10 +01:00
Jocelyn Fiat 45292e0248 Better implementation to get http header for http_client, and to get list of header entries by key,value 2011-10-31 16:05:34 +01:00
Jocelyn Fiat a38fca267b Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework 2011-10-31 12:33:20 +01:00
Jocelyn Fiat d4266a83ec updated instructions related to submodules 2011-10-31 02:43:44 -07:00
Jocelyn Fiat 83a181ebf1 Fixed remaining 6.8 vs 7.0 compilation issue related to UTF8_(URL_)ENCODER 2011-10-31 09:02:19 +01:00
Jocelyn Fiat 54ecd2b1e8 Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework 2011-10-31 08:48:44 +01:00
Jocelyn Fiat da8a216448 removed unused local variable 2011-10-31 08:48:19 +01:00
Jocelyn Fiat c115a40922 removed unused local variable 2011-10-31 08:43:04 +01:00
Jocelyn Fiat 6f600362e3 Fixed code to be compilable with EiffelStudio 6.8 and 7.0 (due to recent change in UNICODE_CONVERSION) UNICODE_CONVERSION 2011-10-31 08:42:48 +01:00
Jocelyn Fiat 812f521c88 Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework 2011-10-27 16:24:40 +02:00
Jocelyn Fiat beb1bd1599 use '%/123/' syntax, to make sure no editor replace the accentued characters 2011-10-27 16:24:19 +02:00
Jocelyn Fiat 0d637d478a 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
2011-10-27 16:00:33 +02:00
Jocelyn Fiat 8e4e7a5084 Merge branch 'master' of https://github.com/jvelilla/Eiffel-Web-Framework
Conflicts:
	library/server/wsf/src/wsf_request.e
2011-10-27 15:49:12 +02:00
Jocelyn Fiat 95d44890d9 added script to update current git working copy and submodules recursively 2011-10-27 14:58:14 +02:00
Jocelyn Fiat 161a5c720b Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework 2011-10-27 14:45:37 +02:00
Jocelyn Fiat 70ee7ff47a Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework 2011-10-27 14:43:32 +02:00
Jocelyn Fiat fcdc164214 Added data and file for post and put request methods 2011-10-12 21:45:57 +02:00
Jocelyn Fiat 735730b5a0 cosmetic 2011-10-12 11:52:00 +02:00
Jocelyn Fiat 035a133b5b 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-12 11:51:49 +02:00