95 Commits

Author SHA1 Message Date
Pascal Obry
a411db2116 Use project Artifacts attribute to install the documentation/templates.
Further clean-up of the makefile.
2014-01-26 12:15:53 +01:00
Pascal Obry
9f4055b2d8 Rework the installation using gprinstall.
This simplifies the makefile circuitry and will make the maintenance
of this part of the code easier.

For MA30-041.
2013-11-08 13:23:19 +01:00
Emmanuel Briot
30e53aaf68 Implement Draft76 protocol for websockets.
Improve the websockets demo so that the websocket is not started on page load.
 This makes it easier to look at packets that are exchanged, without reloading
 the full javascript each time. Also change javascript so that new status do
 not replace the message on the page, but add to it (so that we can see "open"
 and "close", not just "close" for instance)
L629-010
2012-08-23 15:23:30 +02:00
Pascal Obry
f147687503 Merge branches 'po/update-prototype' and 'po/websockets'
* po/update-prototype:
  Add proper XML header to web_elements demo.
  Update to prototype.js v1.7

* po/websockets:
  Add overriding as keyword to highlight into the spec.
  Integrate WebSocket into AWS.
  Add WebSocket implementation following RFC-6455.
  Add Sec_WebSocket_Origin_Token, check this token in Messages.Origin.
  Add new response for WebSocket.
  Add new config parameter WebSocket_Origin.
  Add support for regular expressions in AWS.Config.
  Add new config parameter WebSocket_Message_Queue_Size.
  Add new config parameter Max_WebSocket_Handler.
  Add support for WebSocket headers/messages.
  Use private with instead of standard with clauses.
  Remove superfluous use type.
  Minor reformatting.
2012-06-26 15:42:03 +02:00
Pascal Obry
2ff328da30 Integrate WebSocket into AWS.
Add a WebSocket demo.

For L608-003.
2012-06-26 15:41:55 +02:00
Pascal Obry
f6d7409620 Update to prototype.js v1.7 2012-06-26 15:40:59 +02:00
Pascal Obry
eaff6db33e Move to GPLv3.
For KC20-036.
2012-01-03 18:55:45 +01:00
John Marino
f0b16592c4 Add $DESTDIR functionality to makefiles
All the makefile installation targets have been modified with the
optionally defined $DESTDIR environment variable to support
installation in chroots and package frameworks.
2011-10-09 16:40:28 +02:00
Pascal Obry
c20d3f5d88 Enhance support for MIME types in AWS.
It is now possible to configure the name of the file containing
the MIME types to load. A standard MIME types file is also provided.
--
For JB05-029.
2010-12-04 14:26:49 +00:00
Pascal Obry
0ec2e80e4c Add three new XML Ajax actions (disabled, read_only, reset).
Part of this has been contributed by Ali Bendriss.
Use those new features into the Web_Elements demo.
--
For J930-037.
2010-10-01 08:30:14 +00:00
Pascal Obry
28f8be09b3 Use the new templates_parser macro support for AWS/Ajax implementation.
AWS now provides an ajax_api.tjs file containing macros to do Ajax
development. This is cleaner than using include file. The two
Ajax demos have been rewritten to use this new feature.

Update the documentation accordingly.
--
For J706-026.
2010-08-02 17:12:10 +00:00
Pascal Obry
ac3495cd4a Minor clean-up in template comments. 2010-07-30 13:55:37 +00:00
Pascal Obry
fb2f15f02e New implementation of the Web_Block context support.
This new implementation separate the context from the session handling.
This new context is now content based. A context id depends on the
content in the context. Each page generated will have a different context
id if the context has been updated.

This fix a serious problem with the browser's tab or back button which
could corrupt an application by using a wrong context.
--
Work for I804-012.
2009-11-18 17:55:35 +00:00
Pascal Obry
0849192758 Minor reformatting. 2009-11-18 17:55:23 +00:00
Pascal Obry
7bc16136fb Upgrade prototype Javascript framework.
Upgrade to version 1.6.1 as prior versions have been reported
to be insecure.
2009-11-09 14:10:31 +00:00
Pascal Obry
5c3fac9f46 Add support for adding Ajax action in table.
To be able to add a set of Ajax actions into a TABLE
statement we need to be able to specify unique JavaScript
id/name. For this a new parameter has been added to be
able to pass an ID_INDEX (as parameter 18). For example
this parameter can be passed the @_TABLE_LINE_@ tag.
2009-07-03 16:22:14 +00:00
Pascal Obry
a0373ee896 Minor reformatting. 2009-07-03 16:22:09 +00:00
Pascal Obry
fbc060431e Handle properly internal location url (starting with #). 2009-07-03 16:22:05 +00:00
Pascal Obry
0ba90ec721 Add support for handling client's timezone.
The Javascript AWS runtime can now compute and send the timezone
offset to the web browser using a cookie.
2009-07-03 16:22:00 +00:00
Pascal Obry
46dd8d6918 Fix condition to insert context when non exists.
The condition was wrong and we failed to insert
a context into a FORM when non context was present.
This was causing a loss of context in some cases.
2008-11-20 09:17:23 +00:00
Olivier Ramonat
2eefd2b8a1 Keep an old context to revert last changes when duplicating context
When the user open a link in a webpage in a new tab, the original tab
had is context modified. To avoid this, we should keep the old context
and revert the last changes when a new tab creation is detected.
2008-11-03 11:30:36 +00:00
Pascal Obry
b4cb854872 Update prototype framework to version 1.6.0.2.
At the same time aws_kernel.tjs has been updated
to properly work with this new version. A change
in the way the serialize routine was implemented in
the new framework was causing problem.
2008-10-13 11:53:59 +00:00
Pascal Obry
4f6cb71413 Minor style fixes. 2008-08-08 14:55:46 +00:00
Pascal Obry
c2de1b0c0f Remove obsolete $ CVS tags. 2008-08-08 14:55:41 +00:00
Pascal Obry
ce0512668a Better support for new context on different browsers. 2008-06-19 15:11:36 +00:00