Jocelyn Fiat
211fc425a3
Added handler to add support for CGI scripts.
...
Added a new tool `httpd` which is a basic httpd server product (with file server and CGI handler).
2017-11-03 18:00:39 +01:00
Jocelyn Fiat
95cebe26bb
Added routing condition mapping.
...
Added WSF_EXECUTE_HANDLER as common ancestor for handler with `execute (WSF_REQUEST, WSF_RESPONSE) ..` routine.
Made more flexible a few routine by accepting ITERABLE instead of ARRAY, and READABLE_STRING_GENERAL when possible.
2017-11-03 17:59:10 +01:00
Jocelyn Fiat
f770c236d5
Improved support for absolute url passed tp HTTP_REQUEST_SESSION .
2017-10-27 19:24:52 +02:00
Jocelyn Fiat
503e5f7915
Merge branch 'master' into v1
2017-10-26 10:23:33 +02:00
Jocelyn Fiat
39f01e95fd
Use single ecf file.
2017-10-26 10:19:56 +02:00
Jocelyn Fiat
c725159d7e
Merge branch 'master' into with_compression
2017-10-26 10:13:27 +02:00
Jocelyn Fiat
e66f1cf7be
updated changelog
2017-10-24 17:51:55 +02:00
Jocelyn Fiat
c03d28cabc
Use new on_timer solution, to check every 1 second, the presence of ".stop" file.
...
If this file exists, close all active websockets.
Redesigned the commands implementation for this example.
2017-10-24 17:45:08 +02:00
Jocelyn Fiat
e834b2b360
Added on_timer callback event so that server can check regularly external state.
...
This is a basic solution to implement a way to check for time to time for events to notify websocket clients.
2017-10-24 17:43:06 +02:00
Jocelyn Fiat
d089fd3a03
Merge branch 'master' into v1
2017-10-19 11:20:55 +02:00
Jocelyn Fiat
a0c1ab5232
updated simple.ini settings.
2017-10-19 11:20:14 +02:00
Jocelyn Fiat
a8ddd10b46
Merge branch 'master' into v1
2017-10-19 10:57:45 +02:00
Jocelyn Fiat
db39068ceb
Updated documentation for standalone connector.
...
Changed `default_max_keep_alive_requests` from 100 to 300.
2017-10-19 00:14:23 +02:00
Jocelyn Fiat
a1b4337438
Set keep_alive_timeout to 2, this way for single threaded case, browser does not wait too much to start the websocket connection.
...
Set max_keep_alive_requests to -1, to allow unlimited number of requests within a same websocket connection.
2017-10-18 23:41:03 +02:00
Jocelyn Fiat
74121be470
Support persistent connection, even in single thread mode (i.e concurrency=none).
...
Warning: as there is no concurrent request handling in single threaded mode,
it is recommended to either set the keep_alive_timeout to a small value,
or disable persistent connection by setting max_keep_alive_requests to 0.
Change the default keep_alive_timeout from 15 to 5 seconds.
Accept -1 as value of max_keep_alive_requests to have unlimited number of request in the same persistent connection.
2017-10-18 23:29:16 +02:00
Jocelyn Fiat
1c9f5ac0e7
Merge branch 'master' into v1
2017-10-17 14:52:17 +02:00
Jocelyn Fiat
edec837c4e
Made interface of wsf forms and widgets a bit more flexible by accepting READABLE_STRING_GENERAL.
2017-10-17 14:34:50 +02:00
Jocelyn Fiat
f1642a444a
Improved support of absolute/relative https:// and http:// in http_client.
2017-10-17 14:30:44 +02:00
Jocelyn Fiat
48af63af83
Fixed typo to process relative or absolute url.
2017-10-09 14:23:45 +02:00
Jocelyn Fiat
2f98d7031f
Updated a few package.iron files.
2017-10-06 14:06:46 +02:00
Jocelyn Fiat
70f00651c7
update test case.
2017-10-06 13:58:54 +02:00
Jocelyn Fiat
199f84c7ef
Updated Readme file with Build Status on Master Branch.
2017-10-06 10:37:11 +02:00
Jocelyn Fiat
9b97627c76
Update package.iron files.
2017-10-06 10:27:32 +02:00
Jocelyn Fiat
72c87cd74d
Fixed curl implementation by setting Content-Type to x-www-form-urlencoded (if not set) when POST send data as x-www-form-urlencoded.
2017-10-06 10:24:48 +02:00
Jocelyn Fiat
2ed4d03168
Renamed ciphers_settings as ciphers_setting .
2017-10-06 09:34:08 +02:00
Jocelyn Fiat
18ed92a61d
Moved to unique .ecf from ecf version 1-16-0 .
...
Requires 17.05 or newer.
2017-10-06 09:02:10 +02:00
Jocelyn Fiat
0a6a4281e7
Merge branch 'master' into es17.05
2017-10-06 08:18:50 +02:00
Jocelyn Fiat
38cf5d7a6f
Updated requirements, now EiffelWeb requires 17.05 or newer.
...
Improved support for future 17.11 version with new openssl library.
2017-10-05 22:07:05 +02:00
Jocelyn Fiat
8ff20d34a7
Merge branch 'master' into v1
2017-09-21 21:22:38 +02:00
Jocelyn Fiat
498e4a6ec2
Fixed validation of iss and aud when issuer and audience are not set.
2017-09-21 10:46:08 +02:00
Jocelyn Fiat
ab507d543a
Now HTTP_AUTHORIZATION acceps READABLE_STRING_GENERAL for username and password argument.
2017-09-21 10:45:40 +02:00
Jocelyn Fiat
20a90db2e3
If url is relative, use session.url (...) to get valid url.
...
It could happen with relative url in `Location: ...` header (for redirection).
2017-09-21 10:45:08 +02:00
Jocelyn Fiat
97fe16b4c2
Code cleaning.
2017-09-21 10:26:29 +02:00
Jocelyn Fiat
cdada71f7e
Corrected wsf_compression.ecf which was missing a few libraries.
...
The -safe.ecf was correct.
2017-09-02 21:49:41 +02:00
Jocelyn Fiat
a7d0398ec6
Introduce WSF_COMPRESSION and applied to WSF_*_WITH_COMPRESSION classes.
...
Modified the example to send the file with or without compression.
2017-09-01 18:59:18 +02:00
Jocelyn Fiat
6425482070
Fixed ecf by removing the override declaration.
2017-08-08 15:55:52 +02:00
Jocelyn Fiat
818c3fb460
Made compilable with EiffelStudio 17.05 and probably before as well.
2017-08-08 15:54:21 +02:00
Jocelyn Fiat
dac50b490d
Added output for the travis CI job.
2017-08-08 14:10:12 +02:00
Jocelyn Fiat
16d5076fe5
Added Travis CI support with 17.05.
2017-08-08 14:03:39 +02:00
Jocelyn Fiat
2748e1d9ee
Now JWT_LOADER takes the alg as argument, to avoid security issue where the lib is taking alg from the header (which may be a bad security weakness).
2017-07-11 23:32:11 +02:00
Jocelyn Fiat
27ee20f99b
Added convenient get and custom functions on HTTP_CLIENT directly.
2017-07-11 23:29:42 +02:00
Jocelyn Fiat
21adef6998
Merge branch 'master' into es17.05
...
# Conflicts:
# library/network/http_client/http_client-safe.ecf
# library/network/http_client/libcurl_http_client-safe.ecf
# library/network/http_client/net_http_client-safe.ecf
2017-06-21 09:01:27 +02:00
Jocelyn Fiat
c7ef652322
Made the parameters not hidden implementation classes.
2017-06-21 08:59:07 +02:00
Jocelyn Fiat
67bdcfb6ef
Made the parameters not hidden implementation classes.
2017-06-21 08:58:15 +02:00
Jocelyn Fiat
ca4043b102
Merge branch 'master' into v1
2017-06-20 18:17:30 +02:00
Jocelyn Fiat
310e96e185
Updated EOL for 2 ecf files.
2017-06-20 18:16:43 +02:00
Jocelyn Fiat
46a48625ac
Merge branch 'master' into es17.05
2017-06-20 18:15:03 +02:00
Jocelyn Fiat
7feb45b549
Updated error library (cosmetic, and loop iteration).
2017-06-20 18:08:50 +02:00
Jocelyn Fiat
aeb3392ad8
Merge branch 'master' into es17.05
...
# Conflicts:
# contrib/library/network/server/nino/example/SimpleWebServer/web_server-safe.ecf
# contrib/library/network/server/nino/example/SimpleWebServer/web_server.ecf
# library/network/http_client/libcurl_http_client-safe.ecf
# library/network/http_client/net_http_client-safe.ecf
2017-06-20 17:52:40 +02:00
Jocelyn Fiat
5bbd031275
Update EOL on ecf files.
2017-06-20 17:49:28 +02:00
Jocelyn Fiat
90e60fad26
Updated changelog.
2017-06-20 17:47:17 +02:00
Jocelyn Fiat
98c20ee7c1
Fixed specific ecf files for http_client library.
2017-06-20 17:37:24 +02:00
Jocelyn Fiat
9fc5a7c364
Merge branch 'v1' into es17.05
2017-06-20 09:54:07 +02:00
Jocelyn Fiat
64027f56bd
Merge branch 'master' into v1
2017-06-20 09:53:29 +02:00
Jocelyn Fiat
0b99e84728
Added installation of JWT into Eiffel installation.
2017-06-20 09:53:13 +02:00
Jocelyn Fiat
c51a0a4788
Merge branch 'v1' into es17.05
...
# Conflicts:
# library/network/http_client/tests/test.ecf
2017-06-20 09:49:51 +02:00
Jocelyn Fiat
a6806c676a
Updated ecf files to version 1-16-0 .
...
Minor cosmetic changes.
2017-06-20 09:48:10 +02:00
Jocelyn Fiat
9e5e8bb1bf
Added simple way to set the issued_at claim value to current UTC date time.
2017-06-14 16:27:24 +02:00
Jocelyn Fiat
10a83c6ad8
Added possibility to create JWS object with specific algo hs256 or none easily.
2017-06-14 16:26:31 +02:00
Jocelyn Fiat
1ec3b8e7a4
Added support for multiple file in form data.
...
Made clear what is the meaning of upload_filename, upload_data and form_data.
2017-06-14 16:19:43 +02:00
Jocelyn Fiat
0783049fb4
updated package.iron
2017-06-08 11:25:26 +02:00
Jocelyn Fiat
7e54825b84
Updated JWT library, add supports for claim exp, iat, nbf, iss, aud .
2017-06-07 23:24:46 +02:00
Jocelyn Fiat
40cbe7dfc9
Merge branch 'master' into dev_jwt
2017-06-06 10:58:38 +02:00
Jocelyn Fiat
d4b9301a57
Reverted to previous TYPE.name to be compilable with version prior to 17.05.
...
(TYPE.name_32 exists since 17.05).
2017-06-02 17:40:53 +02:00
Jocelyn Fiat
06cda97535
New JSON Web Token (JWT) library.
2017-05-24 11:56:15 +02:00
Jocelyn Fiat
406a46816e
Merge branch 'master' into es17.05
2017-05-17 17:40:44 +02:00
Jocelyn Fiat
c83b9d4231
Updated CHANGELOG.md
2017-05-17 17:38:25 +02:00
Jocelyn Fiat
49c46f8d8b
Merge branch 'master' into es17.01
2017-05-17 13:54:01 +02:00
Jocelyn Fiat
69b5ce637e
Improved query and form data encoding (based on a very early version of the general URI percent-encoding rules).
...
- now correct encoding of space by '%20' in path segment, and '+' in query parameters.
Unify and fixed query parameters handling for libcurl and net implementation.
Fixed file uploading (various issue in libcurl, and net implementation).
Fixed form multipart encoding by using correctly the boundary.
Updated autotest cases.
Code cleaning.
2017-05-17 12:16:35 +02:00
Jocelyn Fiat
cd382bca64
Merge branch 'master' into es17.01
2017-05-15 13:20:24 +02:00
Jocelyn Fiat
485a3812d9
Integrated recent changes on SOCKET.socket_buffer splitted as read_socket_buffer and put_socket_buffer.
2017-05-15 12:20:52 +02:00
Jocelyn Fiat
24d834fb0b
Revert changes on notification_email lib.
2017-05-12 14:57:29 +02:00
Jocelyn Fiat
7028892374
Removed unwanted committed files.
2017-05-12 14:55:02 +02:00
Jocelyn Fiat
88dec34a1e
Made "common" targets as abstract.
2017-05-12 14:39:48 +02:00
Jocelyn Fiat
a928f27b1a
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:31:35 +02:00
Jocelyn Fiat
fb9af26d32
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:11:22 +02:00
Jocelyn Fiat
7ba678d726
Added empty .travis.yml for now (see https://travis-ci.com/ )
2017-04-14 13:32:37 +02:00
Jocelyn Fiat
3d146d9be9
Merge branch 'v1' into es17.01
2017-04-14 12:52:48 +02:00
Jocelyn Fiat
2371ad4bd1
Commented unwanted change.
2017-04-14 12:52:08 +02:00
Jocelyn Fiat
146b78e5b0
Updated code regarding to string 32 vs string 8.
2017-04-14 12:49:34 +02:00
Jocelyn Fiat
94ba19920e
Merge branch 'v1' into es17.01
...
# Conflicts:
# library/text/parser/uri_template/uri_template-safe.ecf
# library/text/parser/uri_template/uri_template.ecf
2017-04-14 12:04:33 +02:00
Jocelyn Fiat
273a55d93c
Merge branch 'pr177'
2017-04-14 11:48:29 +02:00
Jocelyn Fiat
2e920f063a
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF
2017-04-14 11:48:14 +02:00
Jocelyn Fiat
3b8261ff08
Updated code regarding to string 32 vs string 8.
2017-04-14 11:45:38 +02:00
Jocelyn Fiat
a530bbebb4
Merge remote-tracking branch 'javier/ewf_get_rid_obsolete_messages' into pr177
2017-04-13 22:58:12 +02:00
Jocelyn Fiat
d41dbb9f47
Syntax in ecf files.
2017-04-13 22:56:40 +02:00
Jocelyn Fiat
a57e041003
Added precondition to WSF_FILTER.set_next (..) to avoid cycle.
2017-04-13 22:55:39 +02:00
Jocelyn Fiat and GitHub
d4d988e532
Update README.md
2017-03-21 15:20:11 +01:00
Jocelyn Fiat and GitHub
ce11a3c0fc
Fixed markdown links related to network libraries.
2017-03-21 15:17:43 +01:00
Jocelyn Fiat
4eb743fa58
Updated CHANGELOG.md
...
Added full commit log in doc/CommitLog
2017-03-15 18:58:41 +01:00
Jocelyn Fiat
358b6bfb77
Updated ChangeLog using gitlog-to-changelog script for now.
2017-03-15 18:27:13 +01:00
Jocelyn Fiat
1792c956f4
New location for the workbook doc.
2017-02-15 18:02:13 +01:00
Jocelyn Fiat
56f48d8c72
workbook moved from doc/workbook to docs/workbook
2017-02-15 17:59:47 +01:00
Jocelyn Fiat
e0d3ceb4e8
Removed extra indentations.
2017-02-15 17:54:17 +01:00
Jocelyn Fiat
94f3c3b849
Updated workbook content.
...
cosmetic.
2017-02-15 17:49:31 +01:00
Jocelyn Fiat
fa2fa6f35c
use workbook.md as main entry.
2017-02-15 17:35:01 +01:00
Jocelyn Fiat
e0d95ee4bd
Fixed jekyll syntax.
2017-02-15 17:28:06 +01:00
Jocelyn Fiat
2cac9c73d1
Try again to have github pages fixed.
2017-02-15 17:24:14 +01:00
Jocelyn Fiat
5f96e56386
Use {{ site.url }} instead of page.base_url.
2017-02-15 17:21:30 +01:00
Jocelyn Fiat
687402930a
Fixed the jeykill page.baseurl variable name.
2017-02-15 17:16:17 +01:00