cf01756c1c
Using the new Content Negotiation library to implement WSF_REQUEST.is_content_type_accepted
2013-10-18 20:46:08 +02:00
58dc2ec792
Updated README.md for conneg
2013-10-18 20:44:36 +02:00
88e6837222
Class renaming for content_negotiation
...
Splitted SERVER_CONTENT_NEGOTIATION in 4 differents classes for each kind of negotiation
Changed to use ITERABLE over LIST for supported variants arguments
Factorized some code for http parameter parsing such as q=1.0;note="blabla" and so on
Integrated within EWF
2013-10-18 16:18:22 +02:00
d376f99832
Updated content_negotiation with better class names and feature names.
...
Minor semantic changes in VARIANTS classes
Factorized some code in HTTP_ACCEPT_LANGUAGE
2013-10-15 23:19:12 +02:00
3072ce7dec
Enabled assertion on content_negotiation during autotests
...
The tests project is now void-safe
Using force instead of put_left seems to work fine
and is better for performance,
and no need to check for precondition "not before"
2013-10-14 18:54:36 +02:00
jvelilla
9a10e6f2a3
Merge pull request #80 from jvelilla/master
...
Fixed issue# 79 Bug in CONNEG_SERVER_SIDE
2013-10-04 06:29:25 -07:00
jvelilla
60d77892e5
Fixed issue# 79 Bug in CONNEG_SERVER_SIDE
2013-10-04 10:24:19 -03:00
Colin Adams
8fe7f4db82
When custom error is created in check_resource_exists, use it
2013-10-01 08:40:16 +01:00
jvelilla
f14728c1a7
Merge pull request #76 from jvelilla/master
...
Fixed Issue #75 CONNEG doesn't handle accept encodings correcty
2013-09-25 12:20:04 -07:00
jvelilla
295e6e9198
Added more scenarios to test accept encoding with identity.
2013-09-25 16:15:27 -03:00
jvelilla
e21af4a0e8
Fixed Issue #75 CONNEG doesn't handle accept encodings correcty
2013-09-25 15:22:57 -03:00
0f7dca0701
Removed unwanted call to RT_DEBUGGER in WSF_DEBUG_HANDLER.
...
This line was committed by error.
2013-09-24 17:19:29 +02:00
843955b7b8
Reused string constants from HTTP_HEADER_NAMES
2013-09-24 15:27:02 +02:00
88192335b6
Added implicit conversion from agent to WSF_URI_TEMPLATE_AGENT_HANDLER
...
Mainly for convenience.
2013-09-24 15:26:16 +02:00
b04159fb35
Use WSF_RESPONSE.put_header_lines (header_object) when possible, instead of put_header_text (header_object.string)
2013-09-24 15:24:34 +02:00
1d0eb14918
Added WSF_SELF_DOCUMENTED_AGENT_HANDLER and variants for uri, uri_template, starts_with, ...
...
to provide a way to documentate easily wsf agent handler.
2013-09-24 15:23:15 +02:00
Severin Münger
83329ca4b7
Moved to draft
2013-09-24 15:18:14 +02:00
Severin Münger
f51201eae1
Removed WSF_STATELESS_MULTI_CONTROL
2013-09-24 15:02:33 +02:00
Severin Münger
c52a513378
Changed slider
2013-09-24 14:38:01 +02:00
Severin Münger
6908bfe7bf
Added slider demo
2013-09-24 02:38:36 +02:00
Severin Münger
a5fa428e98
Added simple image slider widget
2013-09-24 01:28:29 +02:00
YNH Webdev
ca633d3524
Introduce actions
...
First working modal
2013-09-23 00:15:43 +02:00
YNH Webdev
7dd726ca42
Set url within page class
2013-09-22 22:47:29 +02:00
YNH Webdev
5a18cb4246
Merge branch 'widget' of github.com:souvarin/EWF into widget_state_redesign
...
Conflicts:
examples/widgetapp/base_page.e
2013-09-22 19:11:46 +02:00
YNH Webdev
b33de9985f
Implement control isolation
2013-09-22 19:11:07 +02:00
YNH Webdev
3a9ede6e8c
Restructure callbacks
2013-09-22 18:30:48 +02:00
Severin Münger
87569ccee9
Merge branch 'widget' of github.com:ynh/EWF into widget
2013-09-22 18:20:53 +02:00
Severin Münger
16b79ef193
Improved Navbar, changed attribute handling
2013-09-22 18:20:17 +02:00
YNH Webdev
f360e8a867
Add comments to grid controls
2013-09-22 14:35:26 +02:00
Severin Münger
57dd4ce259
Added comments to autocompletion, input, navbar, progressbar, validator, webcontrol. Some more little changes.
2013-09-21 23:01:36 +02:00
YNH Webdev
252b5ff758
Use append
2013-09-20 20:53:51 +02:00
YNH Webdev
b19598d902
Fix tuple
2013-09-20 20:51:19 +02:00
YNH Webdev
b5ef1fbbb5
Make recommended changes
...
- Implicit casting
- Use same_string
2013-09-20 20:49:03 +02:00
jvelilla
bc864bde39
Added description to results classes.
...
Removed unnecessary class
Clean code: removed feature out, updated corresponding test cases.
2013-09-20 15:34:00 -03:00
YNH Webdev
0a2883e040
Rename clusters to singular names
2013-09-20 19:22:46 +02:00
YNH Webdev
24474e6b31
Move project to wsf_js_widget
2013-09-20 19:19:34 +02:00
dd31970b01
Renamed content_negotation' as content_negotiation' (fixed typo)
...
Updated .ecf and Eiffel code depending on previous CONNEG
2013-09-20 15:18:56 +02:00
f31ed103d0
Integrated changes on content negociation library
2013-09-20 15:04:50 +02:00
48f5cb78d5
Minor changes
...
- using http_client library instead of libcurl directly
- using implicit conversion to JSON_STRING to improve code readability
- use ARRAYED_LIST instead of LINKED_LIST .. for performance.
- cosmetic .. but still a lot of feature clauses are missing, comments, assertions ...
2013-09-20 10:27:00 +02:00
jvelilla
20a768749f
Forgot to add class description
2013-09-19 15:16:26 -03:00
jvelilla
2d964b1137
Removed http classes related to http expectations.
...
Updated code based on the code review.
Still work in progress
2013-09-19 13:44:03 -03:00
jvelilla
a1245b77fd
New directory structure (variants, results, parsers)
...
Refactor STRING to READABLE_STRING_8.
Clean code, added documentation and EIS references.
2013-09-17 10:09:46 -03:00
jvelilla
f2ee91764d
Renamed CONNEG to content_negotiation.
...
Update MIME_PARSER to use HTTP_MEDIA_TYPE.
2013-09-16 23:56:01 -03:00
fff08a29e7
Accepts "*" as valid media type (interpreted as */* to be flexible)
2013-09-16 22:33:18 +02:00
jvelilla
a6260ed5a2
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF
2013-09-16 13:08:09 -03:00
2f3a462c42
Fixed type having a semicolon in a parameter value such as
...
"text/plain; param1=%"something;foo=bar%"; param2=%"another-thing%"
2013-09-16 18:04:43 +02:00
jvelilla
37e6d74a34
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF
2013-09-16 11:26:18 -03:00
f8a0bbf88b
Added autotests to http library in relation with mime type and content type.
...
Fixed an issue with more than one parameter.
2013-09-16 16:24:05 +02:00
jvelilla
cbd7dc8176
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF
2013-09-16 09:16:38 -03:00
Severin Münger
fccb6776b0
Fixed progressbar
2013-09-15 23:47:04 +02:00