Jocelyn Fiat
ab9c304597
added wsf_html for (un)installation
2013-03-27 15:24:40 +01:00
Jocelyn Fiat
178a48cd7e
Updated all-safe.ecf
...
(add all-stable-safe.ecf that includes only the library, examples and specific draft lib)
2013-03-27 15:22:32 +01:00
Jocelyn Fiat
9f132a7b72
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)
2013-03-27 13:11:49 +01:00
Jocelyn Fiat
403b9f7bde
better use a root class
2013-03-27 13:08:57 +01:00
Jocelyn Fiat
a05e08c207
corrected null-safe.ecf
2013-03-27 13:07:55 +01:00
Jocelyn Fiat
c9d11b3adb
fixed compilation
2013-03-26 16:31:59 +01:00
Jocelyn Fiat
c3c8c66f59
allow to to set html attribute to the select widget
...
(useful to add code like onchange="this.form.submit()")
2013-03-26 15:27:23 +01:00
Jocelyn Fiat
a23871ff5b
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.
2013-03-26 14:17:10 +01:00
Jocelyn Fiat
2eb9abeb37
Added remove_header_named (a_name)
2013-03-26 10:33:06 +01:00
Jocelyn Fiat
955272f505
Do not use socket_ok .. but readable (as specified in precondition of read_stream_thread_aware
2013-03-26 09:16:34 +01:00
Jocelyn Fiat
1ee6ffa725
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-25 19:13:55 +01:00
Jocelyn Fiat
da28baf872
use wsf_html lib in the demo
2013-03-22 20:15:27 +01:00
Jocelyn Fiat
3b87481c93
removed obsolete call
2013-03-22 20:15:09 +01:00
Jocelyn Fiat
53f848758a
added wsf_html-safe.ecf to all-safe.ecf
2013-03-22 20:14:58 +01:00
Jocelyn Fiat
1f7f569d82
restored assertion removed by error
2013-03-22 20:12:12 +01:00
Jocelyn Fiat
52cc356f8e
Extracted the WIDGET and FORM classes out of "cms" component
...
and build the wsf_html library which also include the previous css lib.
2013-03-22 20:11:44 +01:00
Jocelyn Fiat
de57e814c0
Added WSF_STARTS_WITH_AGENT_HANDLER
2013-03-22 16:07:23 +01:00
Jocelyn Fiat
273b4d13f5
Fixed default status code for redirection response message object.
2013-03-22 16:06:45 +01:00
Jocelyn Fiat
c44cf5e983
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 16:06:10 +01:00
Jocelyn Fiat
665772bda2
Display only suggestion for request's method
2013-03-22 15:23:24 +01:00
Jocelyn Fiat
aa479af8fd
Include cms and css into the all-safe.ecf
2013-03-22 15:11:30 +01:00
Jocelyn Fiat
9e2410c284
update CMS code due to CMS_CSS_* renaming
2013-03-22 15:10:49 +01:00
Jocelyn Fiat
eca868f10f
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.
2013-03-22 15:10:26 +01:00
Jocelyn Fiat
a4095b4e16
Moved the *_CSS_* class in their own (draft) library, since they are not CMS specific.
2013-03-22 15:07:45 +01:00
Jocelyn Fiat
5eb1f89273
Fixing feature comments
2013-03-21 17:53:45 +01:00
Jocelyn Fiat
07ac6a6742
cosmetic
2013-03-21 15:55:42 +01:00
Jocelyn Fiat
813caa15e0
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)
2013-03-21 15:50:10 +01:00
Jocelyn Fiat
de8d36d0db
cosmetic
2013-03-21 15:48:07 +01:00
Jocelyn Fiat
62d880a7c1
Fixed signature of `set_next' to allow redefinition.
...
Added assertions
2013-03-21 15:47:52 +01:00
Jocelyn Fiat
1f76fd5360
Now WSF_FILTER_HANDLER is a handler and has formal generic G constrained to WSF_HANDLER
...
This eases implementation of potential descendants.
2013-03-21 15:47:10 +01:00
Jocelyn Fiat
19df76c332
Added WSF_HANDLER_FILTER_WRAPPER to build a bridge from router to filter.
2013-03-21 15:44:29 +01:00
Jocelyn Fiat
78c83a4b69
Added HTTP_AUTHORIZATION.is_basic: BOOLEAN query to know if this is a Basic HTTP Authorization.
2013-03-21 15:42:16 +01:00
Jocelyn Fiat
7c7bf9a3f8
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 15:41:46 +01:00
Jocelyn Fiat
ade9a30c03
Fixed WSF_FILE_RESPONSE and WSF_DOWNLOAD_RESPONSE
...
and set the status code to be Ok by default
2013-03-21 15:23:08 +01:00
Jocelyn Fiat
3f237c737d
mimic design of WSF_ROUTED_SERVICE for WSF_FILTERED_SERVICE
...
and update the filter example to make it simpler and reuse code.
2013-03-19 22:00:25 +01:00
Jocelyn Fiat
115b622724
updated install and uninstall scripts
2013-03-19 17:17:59 +01:00
Jocelyn Fiat
f502e6a6f7
Updated WSF_NOT_IMPLEMENTED_RESPONSE to include the request uri
2013-03-19 17:17:44 +01:00
Jocelyn Fiat
73f675db60
added WSF_..._ROUTER_HELPER and made the previous WSF_..._ROUTED_SERVICE obsolete
2013-03-19 17:17:14 +01:00
Jocelyn Fiat
b629bba5cc
WSF_CORS_OPTIONS_FILTER should not inherit from WSF_URI_TEMPLATE_HANDLER
2013-03-19 17:09:18 +01:00
Jocelyn Fiat
3faa2ab815
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 11:54:01 +01:00
Jocelyn Fiat
4d7660a9e3
Added deferred WSF_AGENT_HANDLER
...
Added WSF_NOT_IMPLEMENTED_RESPONSE
2013-03-18 22:05:34 +01:00
Jocelyn Fiat
b8490eff28
Merge branch 'master' of github.com:EiffelWebFramework/EWF
2013-03-18 16:24:58 +01:00
Jocelyn Fiat
fc954c9521
added small doc on how to include EWF git repo in another git repository
2013-03-18 16:23:13 +01:00
Jocelyn Fiat
86777d75ea
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 [...]
2013-03-12 16:52:45 +01:00
Jocelyn Fiat
82784529fe
Enhanced HTTP_HEADER with new helper features.
2013-03-12 16:19:43 +01:00
Jocelyn Fiat
f6e15b6ce1
Made it compilable with 7.1
2013-03-08 22:13:27 +01:00
Jocelyn Fiat
334f7a362b
Factorized code for checkbox and radio input.
...
Renamed `text' and similar to `title' and similar
2013-03-08 16:01:05 +01:00
Jocelyn Fiat
b278dba565
adding back missing uri template library
2013-03-08 16:00:15 +01:00
Jocelyn Fiat
58adb7ff88
Fixed CMS_HTML_FILTER which was buggy and was including the last processed tag even if it was excluded.
2013-03-08 15:49:25 +01:00
Jocelyn Fiat
617c48adcb
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
...
2013-03-08 15:48:39 +01:00
Jocelyn Fiat
231b263a82
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]")
2013-03-08 15:36:31 +01:00
Jocelyn Fiat
37016a7796
Added user friendly function to get returned openid attributes
2013-03-08 15:35:23 +01:00
Jocelyn Fiat
504baaf859
better have hash table indexed by STRING_32 rather than READABLE_STRING_32 for now
2013-03-08 15:34:35 +01:00
Jocelyn Fiat
0d9e1a84f3
Use the advanced SED storable to store data on disk (rather than the runtime storable)
2013-03-08 15:34:04 +01:00
Jocelyn Fiat
2501bd3495
Added missing file from previous commits.
2013-03-01 18:27:22 +01:00
Jocelyn Fiat
f029c746bc
added make_with_text_and_css on CMS_WIDGET_TABLE_ITEM
2013-03-01 18:21:05 +01:00
Jocelyn Fiat
42bd4fa58f
added notion of site identifier .. applied to the session's cookie name
2013-03-01 18:20:35 +01:00
Jocelyn Fiat
98f3739c7c
Fixed HTTP_IF_MODIFIED_SINCE handling in WSF_FILE_SYSTEM_HANDLER ...
2013-03-01 18:19:51 +01:00
Jocelyn Fiat
441cf86eda
Enhanced HTTP_DATE with yyyy_mmm_dd output string.
2013-03-01 18:11:22 +01:00
Jocelyn Fiat
c1d913e67d
display a message if the user has no email ... to reset password
2013-03-01 18:11:03 +01:00
Jocelyn Fiat
65d8665a64
Display the login name, instead of just "My Account"
2013-03-01 18:10:40 +01:00
Jocelyn Fiat
4a92612441
Does not accept empty password
2013-03-01 18:10:16 +01:00
Jocelyn Fiat
7cf395a9bc
added the notion of site identifier "site.id" (typically this could be a UUID)
2013-03-01 18:10:02 +01:00
Jocelyn Fiat
7efcdb065e
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF
2013-03-01 12:55:54 +01:00
Jocelyn Fiat
218b2e44a7
Also take into account sublink's permission
2013-03-01 12:55:26 +01:00
Jocelyn Fiat
544401c210
Default permission should be set to False, not to True
...
(the previous code was mainly for debugging)
2013-03-01 12:54:58 +01:00
Jocelyn Fiat
f3d37024fb
Fixed url computing when a `base_url' is provided
2013-03-01 12:53:48 +01:00
Jocelyn Fiat
ce7be6ea34
added CMS widgets demonstration in DEMO_MODULE
2013-02-28 19:37:06 +01:00
Jocelyn Fiat
5dd6079fad
add CMS_WIDGET_... to ease html page development.
2013-02-28 19:36:30 +01:00
Jocelyn Fiat
e7b8f398f7
improved CMS_CSS_STYLE and WITH_CSS_STYLE
2013-02-28 19:36:09 +01:00
Jocelyn Fiat
9d8e8eb25a
Move draft\library\security\openid under library\security\openid
2013-02-28 17:00:13 +01:00
Jocelyn Fiat
ff9be2cf8e
Made it also compilable with compiler < 7.2
2013-02-28 14:13:04 +01:00
Jocelyn Fiat
db4f665de1
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)
2013-02-28 13:10:04 +01:00
Jocelyn Fiat
06c9364362
updated relative path
2013-02-28 10:56:58 +01:00
Jocelyn Fiat
69a77dc2c5
OpenID consumer implementation
...
REQUIRES EiffelStudio 7.2
2013-02-27 22:13:31 +01:00
Jocelyn Fiat
d4091a57c9
First version of OpenID consumer
...
(light implementation)
2013-02-27 22:09:06 +01:00
Jocelyn Fiat
2302a91b5b
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF
2013-02-27 21:50:14 +01:00
Jocelyn Fiat
22a725b8be
Added a way to call a callback on launched and stopped for Nino connector
2013-02-27 21:49:42 +01:00
Jocelyn Fiat
92d3f642ac
Provided a way to report cURL error code back to http_client, via HTTP_CLIENT_RESPONSE
2013-02-27 21:49:03 +01:00
Jocelyn Fiat
598f6df366
Provided `url_encoded_name' on the WSF_VALUE interface
2013-02-27 21:48:33 +01:00
Jocelyn Fiat
9c0a2bd6a1
prefer 2 append call, rather than create a temp intermediary string object with +
2013-02-26 15:33:00 +01:00
Jocelyn Fiat
b543a6b6f2
Added functionalities to CMS_FORM_.. classes
2013-02-21 19:08:26 +01:00
Jocelyn Fiat
a417cc1e16
Fixing various form urls, that was not taking into account base url
2013-02-20 19:05:33 +01:00
Jocelyn Fiat
5d05f31d03
Fixed absolute url computing for CMS
2013-02-19 16:22:43 +01:00
Jocelyn Fiat
c9674b9e8e
Fixed computation of absolute url ...
2013-02-19 13:25:12 +01:00
Jocelyn Fiat
fd0d771d43
Fixed request new password
2013-02-19 10:41:50 +01:00
Jocelyn Fiat
0d51189324
Code cleaning
...
and use HTTP_DATE instead of duplicating code.
2013-02-19 10:41:33 +01:00
Jocelyn Fiat
a97235c7b7
Now the cms.ini resolves variable ${abc} ... and key is case insensitive
2013-02-15 19:00:05 +01:00
Jocelyn Fiat
c62ad33ddc
removed unused local variable
2013-02-15 15:10:31 +01:00
Jocelyn Fiat
5eb8baa096
keep compilable with EiffelStudio <= 7.1
2013-02-15 15:08:53 +01:00
Jocelyn Fiat
61c8388eba
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-15 12:33:58 +01:00
Jocelyn Fiat
9be87e8e15
Now also display sublinks if link is expanded.
...
Updated theme
2013-02-14 13:11:34 +01:00
Jocelyn Fiat
84df92de10
added EIS note documentation link for URI_TEMPLATE
2013-02-14 13:09:32 +01:00
Jocelyn Fiat
df9eb65144
Fixed register and new password link when the CMS's base dir is not the root /
2013-02-14 13:09:11 +01:00
Jocelyn Fiat
bf952a9719
Improved CMS PAGER
2013-02-14 13:08:26 +01:00
Jocelyn Fiat
1560752f97
Improve CMS_LINK to easily add children
2013-02-14 13:08:12 +01:00
Jocelyn Fiat
589abc71a7
provide a way to pass style class to sidebars and content blocks
2013-02-14 13:07:49 +01:00
Jocelyn Fiat
61e17a9134
Fixed remaining issues with recursion in non flat web forms
2013-02-05 19:24:46 +01:00
Jocelyn Fiat
09c3e56f86
added CMS_FORM_SELECT.select_value_by_text
2013-02-05 19:24:13 +01:00
Jocelyn Fiat
3dbccc024f
fixed is_active by taking into account the query string as well
2013-02-05 19:23:54 +01:00