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
Jocelyn Fiat
993f1ad6b9
cleaning in CMS_CONFIGURATION
...
and added append_to_string (s: STRING)
2013-02-05 15:14:55 +01:00
Jocelyn Fiat
7028ce07f4
remove unwanted console output
2013-02-05 13:19:59 +01:00
Jocelyn Fiat
461cb4a4db
Reviewed initialization and usage of various CMS_SERVICE urls
2013-02-04 22:04:55 +01:00
Jocelyn Fiat
cffc02daee
more flexible permission control system ...
2013-02-04 18:44:21 +01:00
Jocelyn Fiat
451aa7773d
make ANY_CMS_EXECUTION more flexible
2013-02-04 16:47:29 +01:00
Jocelyn Fiat
7db054a36d
Updated CMS experimental component
...
Fixed various issues with fieldset or similar not traversed
2013-02-04 15:35:23 +01:00
Jocelyn Fiat
dc6255d410
Fixed implementation of `string_array_item'
2013-02-04 15:32:46 +01:00
Jocelyn Fiat
56df2b085e
Fixing global EWF compilation
2013-01-31 16:21:16 +01:00
Jocelyn Fiat
a5c9329ada
Fixing global EWF compilation
2013-01-31 16:20:38 +01:00
Jocelyn Fiat
ce469b6ede
Updated CMS code.
...
Separated code to have a lib and an example.
Improved design, fixed a few issues related to folder location.
This is still experimental and require more work to be really friendly to use.
2013-01-31 15:33:24 +01:00
Jocelyn Fiat
40ea982293
Added ANSI C date time string format support in HTTP_DATE.
2013-01-31 15:30:39 +01:00
Jocelyn Fiat
d172dedf31
Fixed HTTP_DATE for GMT+ offset (integer value)
2013-01-31 13:54:10 +01:00
Jocelyn Fiat
20d5798444
Added HTTP_DATE to ease http date manipulation and optimize code rather than using EiffelTime's code facilities.
...
Added autotests to `http' lib.
2013-01-31 11:23:11 +01:00
Jocelyn Fiat
4369637140
using ARRAYED_LIST rather than LINKED_LIST
2013-01-30 22:40:29 +01:00
Jocelyn Fiat
860959879c
Removed eel and eapml contrib/library from EWF
...
Since there are available from $ISE_LIBRARY
2013-01-23 18:13:22 +01:00
Jocelyn Fiat
8f232bd627
Added `append_string_to' to HTTP_HEADER
2013-01-23 16:23:10 +01:00
Jocelyn Fiat
393a4fc1bf
Removed useless dependencies on other lib.
2013-01-23 16:22:03 +01:00
Jocelyn Fiat
acd942b720
Minor optimization in HTTP_HEADER
2013-01-22 21:13:40 +01:00
Jocelyn Fiat
1d8cce9947
Added http_authorization which is now needed by example filter.
2012-12-22 16:36:36 +01:00
Jocelyn Fiat
e16d96f613
minor changes
2012-12-22 16:18:52 +01:00
Jocelyn Fiat
3376ec1288
Keep compatibility with 7.1
...
thus not unicode compliant
2012-12-21 09:54:22 +01:00
Jocelyn Fiat
4ff7b33471
using socket_ok does not sounds ok on linux
2012-12-21 07:19:13 +01:00
Jocelyn Fiat
a7e6651806
Use WSF_REQUEST.read_input_data_into (buf)
2012-12-20 22:57:38 +01:00
Jocelyn Fiat
facdfd0b4a
added WSF_SUPPORT.environment_item
2012-12-20 18:37:13 +01:00
Jocelyn Fiat
e4270b6297
Added is_available on HTTP_CLIENT_SESSION mainly to check if libcurl is available.
2012-12-20 18:36:58 +01:00
Jocelyn Fiat
a362e7d9c6
Avoid calling ANY.print, prefer io.error.put_string
...
Fixed obsolete calls.
2012-12-20 18:32:56 +01:00
Jocelyn Fiat
d46fbeaedd
Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino
2012-12-20 15:44:08 +01:00
Jocelyn Fiat
ef9494e7e8
removed unused local
2012-12-20 15:43:01 +01:00
Jocelyn Fiat
394ca05579
Added support for server_name in nino, and openshift
2012-12-20 15:41:18 +01:00
Jocelyn Fiat
b4c8c70360
updated doc related to git
2012-12-20 15:40:42 +01:00
Jocelyn Fiat
633a5afe7f
Merge branch 'master' of https://github.com/Eiffel-World/EiffelWebNino
2012-12-20 15:39:27 +01:00
Jocelyn Fiat
00d6caba93
Added support for server name
2012-12-20 15:35:48 +01:00