Commit graph

326 commits

Author SHA1 Message Date
jsdelfino
c5e532242f Port REST support improvements to AppEngine Python integration scripts and add a sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053004 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 05:59:31 +00:00
jsdelfino
fe9add6a09 Simplify relay sample a bit.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053003 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 05:59:24 +00:00
jsdelfino
349630f676 Merge changes from apr-2 branch. Port to APR 1.4.x and enable mod_session_crypto.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053002 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 05:59:19 +00:00
jsdelfino
3941252017 Port to HTTPD 2.3.10 alpha release.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052741 13f79535-47bb-0310-9956-ffa450edef68
2010-12-25 01:58:38 +00:00
jsdelfino
69b7a8dddb Improve component and reference rendering and layout. Recurse over wired references to calculate correct dimensions of each component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052446 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:35:57 +00:00
jsdelfino
86fa951ba9 Apply roundtripping fixes from SVN r1052432 to Python and Javascript scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052445 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:35:53 +00:00
jsdelfino
150feb74a6 Fix content types. Removed duplicate function.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052444 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:35:47 +00:00
jsdelfino
8b3a6ecfaa Turn off URL canonicalization when routing a request through HTTPD's reverse proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052434 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:51 +00:00
jsdelfino
f5f3443357 Add a sample showing how to relay various REST requests.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052433 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:46 +00:00
jsdelfino
74aef8947b Fix roundtripping of JSON arrays, booleans and numbers, ATOM / RSS feed detection, and support REST-style JSON and XML payloads in server handler and client proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052432 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:39 +00:00
jsdelfino
e5f662ac57 Preserve HTTP request path when routing a request through a component reference.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052431 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:32 +00:00
jsdelfino
a4f8fcde0e Add support for XML and JSON formats to file database component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052430 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:28 +00:00
jsdelfino
aaffeb9983 Refactor some of the Javascript scripts to use a different namespace per script.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044875 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 18:37:57 +00:00
jsdelfino
7661a3bec8 Port XML, ATOM and SCDL parsing logic to Javascript. Implement minimal component rendering functions.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044594 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 08:59:40 +00:00
jsdelfino
7c6f4f6ff1 Add XML and JSON to/from Scheme conversion test programs.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044593 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 08:59:36 +00:00
jsdelfino
22333d2e9b Add a test file-based database component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043296 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 03:52:27 +00:00
jsdelfino
2a70a69d92 Move JavaScript eval functions to the js module.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043295 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 03:52:21 +00:00
jsdelfino
47017915e4 Move HTTPD Require configuration for openid resources to the openid configuration scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043294 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 03:52:15 +00:00
jsdelfino
08c6180772 Add a CSS style sheet. Fix HTTPD Require configuration for files in the js module.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043293 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 03:52:12 +00:00
jsdelfino
5b6af38117 Create a js module for client side javascripts. Move client component script to that module and add a few utility scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1042535 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 07:19:24 +00:00
jsdelfino
5bc169ce65 Upgrade to Google appengine version 1.4.0.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1042534 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 07:19:13 +00:00
jsdelfino
8d13a8e4db Add scripts to support 'Require valid-user' and 'Require group' authz configurations separately.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041681 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 03:59:19 +00:00
jsdelfino
6f3e045ffe Reset auth cookie before re-auth in login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041680 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 03:59:11 +00:00
jsdelfino
14f1ada7b2 Use different servers for cert-based and password-based auth and use event MPMs for tunnel and proxy servers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1039840 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 07:17:11 +00:00
jsdelfino
40d310c40e Minor build fixes. Create missing .so links in sample. Unpack httpd-2.3.8-deps.tar.gz. Update EC2 build scripts to use Ubuntu 10.10 64-bit images.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035553 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 08:16:41 +00:00
jsdelfino
bab50be6e3 Minor build fixes. Link against tinycdb shared library instead of static lib to fix 'relocation R_X86_64_PC32 against undefined symbol' error on 64-bit. Remove deleted scripts from ubuntu/Makefile.am.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035165 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 07:38:44 +00:00
jsdelfino
2c7009b520 Port to Ubuntu server 10.10 64-bit. C++ code fixes required to compile and run on 64-bit. Update INSTALL doc and build scripts. Remove a few obsolete scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034963 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 09:27:28 +00:00
jsdelfino
3ac22b097d Port to HTTPD 2.3.8. Add an auth module to make OpenID, OAuth 1/2 and HTTPD 2.3 Form auth modules play nice together.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034693 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 07:53:10 +00:00
jsdelfino
f46949c289 Add .componentType files describing the utility components. Refactor chat component in two separate components for sending and receiving messages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030527 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:40:19 +00:00
jsdelfino
11894ea5ef Add missing return statement in proxy function.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030526 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:40:01 +00:00
jsdelfino
034b527d25 Improvements to OAuth and OpenID modules. Store client app in an environment variable. Add support for more OAuth providers. Fix a cookie parsing bug.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030524 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:39:53 +00:00
jsdelfino
e378323396 Minor improvements to HTTPD configuration scripts. Add a mod-rewrite rule to redirect requests to configured canonical host name. Move HTTPS redirect mod-rewrite rules under the HTTP virtual host configurations.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1028209 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 07:29:11 +00:00
jsdelfino
1d8cd73b84 Fix path to JavaScript file.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1028208 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 07:29:08 +00:00
jsdelfino
0fa885699a Simplify Javascript component reference API a bit. Rename tuscany-ref.js to ref.js. Add a function to declare reference proxy methods.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027835 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 06:57:31 +00:00
jsdelfino
cd59eb1d7f Fix invocation of ip-redirect commands as they need sudo to execute.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026940 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:18:20 +00:00
jsdelfino
a2a2cb76e9 Support python method invocation style on references, ref.func(...) in addition to ref('func', ...). Minor cleanup of the various samples, renamed gettotal to total and getcatalog to items, for consistency with the python sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026939 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:18:16 +00:00
jsdelfino
0dd33c3859 Improve format of HTTP and HTTPS logs.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026938 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:17:56 +00:00
jsdelfino
a21eaf4bec Adjust location of httpd-2.2.16 distro download as it's now archived.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026937 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:17:52 +00:00
jsdelfino
4503cce859 Minor fixes to get all samples working in a target install dir.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024522 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 05:00:08 +00:00
jsdelfino
ac736cca82 Remove unnecessary javaClass hint attribute from JSON objects.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024521 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:59 +00:00
jsdelfino
86c8643e95 Upgrade to memcached 1.4.5, postgresql 9.0.1 and gae 1.3.7.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:46 +00:00
jsdelfino
9558dae78c Renamed frontcache to datacache and add a memo cache that memoizes function applications.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024519 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:43 +00:00
jsdelfino
96dd2d5cd1 Strip the leading '.' added by some JSON-RPC clients to method names.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999229 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 05:56:51 +00:00
jsdelfino
6f23b6edf6 Change content of sample catalogs to show different results when the app is wired to one or another.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999180 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 01:43:58 +00:00
jsdelfino
6cf128a718 Remove 'javaClass' JSON property as it's not needed anymore.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999176 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 01:18:04 +00:00
jsdelfino
98a4810fb6 Minor change, renamed getcatalog to items.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999159 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 23:30:12 +00:00
jsdelfino
ddf34aa2e6 Improvements to the oauth module and support for oauth 1.0a using liboauth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998571 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 00:09:52 +00:00
lresende
65ed45b968 Fixing compilation issues in 64Bit environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998301 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 20:16:30 +00:00
jsdelfino
35e8051a42 Accept JSON-RPC requests with application/x-www-form-urlencoded content type.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@997187 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 05:08:17 +00:00
jsdelfino
fe52f0dc58 Upgrade build scripts to on Ubuntu 10.04.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@997186 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 05:08:05 +00:00