Commit Graph

1166 Commits

Author SHA1 Message Date
Colin Adams
acc0f4ae94 Merge branch 'master' of github.com:EiffelWebFramework/EWF
Pulling latest merges of other developers commits.
2013-03-15 14:08:37 +00:00
Colin Adams
a303783204 Fifth round of contracts for non-Void-safe users 2013-03-15 14:06:37 +00:00
Jocelyn Fiat
3e3869e391 Merge pull request #42 from colin-adams/master
Contracts for non-Void-safe users (take 3)
2013-03-15 06:39:47 -07:00
Jocelyn Fiat
8db9e85843 Merge pull request #28 from jocelyn/flexible_response
Allow to change status code and header as long as no content is sent.
Note this includes a change in EWSGI classes related to connector and RESPONSE. This modification was required for request processing termination.
2013-03-15 06:37:44 -07:00
Colin Adams
bb56166f95 Fourth round of contracts for non-Void-safe users 2013-03-15 12:01:54 +00:00
Colin Adams
c6d022bf18 Third iteration of contracts for non-Void-safe users 2013-03-15 10:16:32 +00:00
Jocelyn Fiat
a2b63cb9ba Merge pull request #41 from colin-adams/master
Contracts for non-Void-safe users (take 2)
2013-03-14 10:35:16 -07:00
Colin Adams
049f769638 Amended header comment in response to code review of pull-request 2013-03-14 16:44:15 +00:00
Colin Adams
aef30966de Corrected header comment in response to code review of pull-request 2013-03-14 16:14:07 +00:00
Colin Adams
e14772fcc1 Merge branch 'master' of github.com:EiffelWebFramework/EWF 2013-03-14 15:36:36 +00:00
Colin Adams
3206bcc4fd Further contracts for non-Void-safe users 2013-03-14 15:29:11 +00:00
Jocelyn Fiat
1627fd6d94 Merge pull request #40 from colin-adams/master
Contracts for non-Void-safe users (take 1)
2013-03-14 07:54:47 -07:00
Colin Adams
a96a143fe0 used across for assertion 2013-03-14 14:45:31 +00:00
Colin Adams
4ec2832375 Response to comments from review "Contracts for non-Void-safe users (take 1)" 2013-03-14 14:17:03 +00:00
Colin Adams
ca5619c6fc Added non-Void contracts for classes previously flagged by AutoTest 2013-03-14 11:48:46 +00: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
f280f9b0de Added WITH_HTML_ATTRIBUTE 2013-03-05 17:21:03 +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