156406f9ac
Fixed various compilation issue with new self documentation Improved the self documentation handler to provide a make_hidden creation procedure
Jocelyn Fiat2012-12-03 12:20:12 +01:00
e0166a4c44
Merge branch 'master' of github.com:EiffelWebFramework/EWF
Jocelyn Fiat2012-12-03 11:30:47 +01:00
c2fa3cd70a
Merge branch 'master' of github.com:EiffelWebFramework/EWF
Jocelyn Fiat2012-12-03 11:13:59 +01:00
125d44ff67
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
Jocelyn Fiat2012-11-26 22:58:48 +01:00
bdee22f647
added debug_output to WSF_ROUTER_MAPPING
Jocelyn Fiat2012-11-26 22:37:44 +01:00
8b5353df0a
Avoid using INDEXABLE_ITERATION_CURSOR.is_last
Jocelyn Fiat2012-11-26 16:06:08 +01:00
f18ef477b8
Included the library base(-safe).ecf which was forgotten by mistake.
Jocelyn Fiat2012-11-25 21:30:10 +01:00
63b4f6509e
Fixed compilation due to recent changes from http_client and corrected design.
Jocelyn Fiat2012-11-25 17:28:27 +01:00
a9d83f97a8
Completed first pass for HTTP 1.1 conformace contracts
Colin Adams2012-11-24 15:45:42 +00:00
af07986eec
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
Jocelyn Fiat2012-11-23 22:49:11 +01:00
d8b6f80411
Added WSF_NOT_FOUND_RESPONSE to respond 404 Not found page
Jocelyn Fiat2012-11-23 15:52:39 +01:00
9fcb897b0b
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 ...
Jocelyn Fiat2012-11-23 14:12:13 +01:00
5926bbc0c2
Fixed signature of WSF_MIME_HANDLER.handle
Jocelyn Fiat2012-11-23 12:39:16 +01:00
52cc743997
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)
Jocelyn Fiat2012-11-23 12:38:49 +01:00
ee13393a91
Made WSF_ROUTER_METHODS.new_cursor an INDEXABLE_ITERATION_CURSOR which is richer than just ITERATION_CURSOR
Jocelyn Fiat2012-11-23 10:07:33 +01:00
86540814b3
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.
Jocelyn Fiat2012-11-21 09:48:28 +01:00
59316c9c65
Added WSF_ROUTER_ITEM to replace a structure represented with named TUPLE Added debug_output to ease debugging
Jocelyn Fiat2012-11-20 13:49:40 +01:00
ead896e870
Updated git tips related to subtree to avoid weird issue when "pulling" subtree which was putting files in wrong locations.
Jocelyn Fiat2012-11-15 16:32:11 +01:00
56214129bd
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.
Jocelyn Fiat2012-10-23 12:10:33 +02:00
50d5254060
Added WSF_REQUEST_UTILITY_PROXY, that provides the WSF_REQUEST_UTILITY features to a class that implement request: WSF_REQUEST
Jocelyn Fiat2012-10-22 17:09:57 +02:00
b781caa2c2
Fixing design of draft rest lib (which is going to be removed soon)
Jocelyn Fiat2012-10-22 14:04:42 +02:00
84d1f20fd0
Do not set default status if a status is already set.
Jocelyn Fiat2012-10-22 11:15:52 +02:00
fb3148aeea
Using anchor type to create the router this is more flexible for eventual descendants redefining the router
Jocelyn Fiat2012-10-22 11:15:23 +02:00
92cbf48b49
Updated Projects new suggestions (markdown)
oligot2012-10-08 03:38:12 -07:00
aa743c0a7d
Removed generic parameter in WSF_FILTER_HANDLER, since it is useless and make code heavy
Jocelyn Fiat2012-10-08 10:40:44 +02:00
2f6a6cbf5f
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)
Jocelyn Fiat2012-10-04 14:31:03 +02:00
a0ebdb6098
Fixed wsf_extension.ecf path, in the example RestBucksCRUD. Replace the assigment attempt with attached syntax
jvelilla2012-10-02 07:12:42 -03:00
6619349f7b
Fixed some configuration files (ecf) Fixed various compilation issue Fixed draft rest library (still experimental and should be removed in the future)
Jocelyn Fiat2012-10-01 12:04:17 +02:00
e0a88aec26
Merge branch 'master' of github.com:EiffelWebFramework/EWF
Jocelyn Fiat2012-09-28 14:54:01 +02:00
58d4decc58
Added initial experimentation of a CMS built with Eiffel
Jocelyn Fiat2012-09-28 14:53:16 +02:00
291bb3a33b
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
Jocelyn Fiat2012-09-28 14:42:31 +02:00
fed7b1d1e6
Merge branch 'master' of github.com:EiffelWebFramework/EWF
Jocelyn Fiat2012-09-28 11:00:38 +02:00
80c1cc1c0d
Fixed wizard generated code with new router design
Jocelyn Fiat2012-09-27 16:10:50 +02:00
e01c5bec57
Reviewed the semantic of the handler context. Adapted existing code to fit the new router design.
Jocelyn Fiat2012-09-27 15:09:41 +02:00
cdb88059bc
Fixed Restbuck examples with new router design
Jocelyn Fiat2012-09-26 16:41:13 +02:00
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.
Jocelyn Fiat2012-09-10 20:45:19 +02:00