AWA 2.2.0

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. This is a new release with 99 Debian packages ready to be installed on Ubuntu 20.04 or 18.04 and also Debian 10.

The framework provides several ready to use and extendable modules that are common to many web applications. This includes the login, authentication, users, permissions, managing comments, tags, votes, documents, images. It provides a complete blog, question and answers and a wiki module.

AWA simplifies the Web Application development by taking care of user management authentication and by providing the foundations on top of which you can construct your own application. AWA provides a powerful permission management that gives flexibility to applications to grant access and protect your user's resources.

A typical architecture of an AWA application is represented by the picture below:

((Ada/awa_architecture_overview.png|awa_architecture_overview.png|C|Ada Web Application architecture)

This version of AWA integrates smoothly with Ada Keystore in order to protect the server sensitive configuration.

AWA, Version 2.2.0

  • Fixed the Markdown js editor configuration
  • Send an event when a blog post is published (allows customisation such as sending e-mails)
  • Use Dynamo 1.2.1, Ada Server Faces 1.4.2, Ada Servlet 1.5.1, OpenAPI Ada 0.4.0
  • Use Ada Security 1.4.0, Ada Wiki 1.3.1, Ada Database Objects 2.1.2
  • Use Ada Keystore 1.3.1, Ada EL 1.8.2, Ada Utility Library 2.4.0

Download: http://download.vacs.fr/ada-awa/ada-awa-2.2.0.tar.gz

GitHub: https://github.com/stcarrez/ada-awa

GitLab: https://gitlab.com/stcarrez/ada-awa

Dynamo, Version 1.2.1

  • Fix uninitialized float values in generated code

Download: http://download.vacs.fr/dynamo/dynamo-1.2.1.tar.gz

GitHub: https://github.com/stcarrez/dynamo

GitLab: https://gitlab.com/stcarrez/dynamo

Swagger Ada, Version 0.4.0

  • Update the openapi generator to version 5.1.0

Download: http://download.vacs.fr/swagger-ada/swagger-ada-0.4.0.tar.gz

GitHub: https://github.com/stcarrez/swagger-ada

GitLab: https://gitlab.com/stcarrez/swagger-ada

Ada Servlet, Version 1.5.1

  • Cleanup the examples
  • Fix registration and support of application with an empty registration URI

Download: http://download.vacs.fr/ada-servlet/ada-servlet-1.5.1.tar.gz

GitHub: https://github.com/stcarrez/ada-servlet

GitLab: https://github.com/stcarrez/ada-servlet

Ada Wiki Library, Version 1.3.1

  • Minor cleanup for the build

Download: http://download.vacs.fr/ada-wiki/ada-wiki-1.3.1.tar.gz

GitHub: https://github.com/stcarrez/ada-wiki

GitLab: https://gitlab.com/stcarrez/ada-wiki

Ada Server Faces, Version 1.4.2

  • Fix compilation warnings
  • Cleanup build and examples

Download: http://download.vacs.fr/ada-asf/ada-asf-1.4.2.tar.gz

GitHub: https://github.com/stcarrez/ada-asf

GitLab: https://gitlab.com/stcarrez/ada-asf

Ada Database Objects, Version 2.1.2

  • Fix uninitialized float values in generated code used by unit tests

Download: http://download.vacs.fr/ada-ado/ada-ado-2.1.2.tar.gz

GitHub: https://github.com/stcarrez/ada-ado

GitLab: https://gitlab.com/stcarrez/ada-ado

Ada EL Library, Version 1.8.2

  • Minor build cleanup

Download: http://download.vacs.fr/ada-el/ada-el-1.8.2.tar.gz

GitHub: https://github.com/stcarrez/ada-el

GitLab: https://gitlab.com/stcarrez/ada-el

Ada Utility Library, Version 2.4.0

  • Add support to customize and provide application specific log appenders (example in ada-keystore)
  • Improvement of read/write streams to chain LZMA, AES, Base64
  • Add examples to show LZMA compress+AES encryption, AES decryption+LZMA decompress
  • Fix compilation with GNAT 10
  • New package Util.Properties.Form to help in parsing application/x-www-form-urlencoded
  • Fixed the Util.Tests.Get_Test_Path semantic and use the results directory
  • Drop detection of buggy gcc 4.7.2

Download: http://download.vacs.fr/ada-util/ada-util-2.4.0.tar.gz

GitHub: https://github.com/stcarrez/ada-util

GitLab: https://gitlab.com/stcarrez/ada-util

Ada Security Library, Version 1.4.0

  • Add support to authenticate with Gitlab and GitHub
  • Update Yahoo! authenticate to use OpenId connect
  • Update the AWS demo to add Gitlab and Github

Download: http://download.vacs.fr/ada-security/ada-security-1.4.0.tar.gz

GitHub: https://github.com/stcarrez/ada-security

GitLab: https://github.com/stcarrez/ada-security

All these Ada projects can be downloaded individually but they are also packaged together to help in their download and build process. You can also download everything at http://download.vacs.fr/ada-awa/awa-all-2.2.0.tar.gz

After downloading the awa-all-2.2.0.tar.gz package, have a look at the Ada Web Application Programmer's Guide to learn how to build, install and start using all this.

If you don't have time to build all this, a docker container is available: https://hub.docker.com/r/ciceron/ada-awa/

Debian packages

I've created and setup a Debian repository to give access to several Debian packages for several Ada projects that I manage. The goal is to provide some easy and ready to use packages to simplify and help in the installation of various Ada libraries.

Access to the repository

The repository packages are signed with GPG. To get the verification key and setup the apt-get tool, you should run the following command:

wget -O - https://apt.vacs.fr/apt.vacs.fr.gpg.key | sudo apt-key add -

Ubuntu 18.04 Bionic Beaver

A first repository provides Debian packages targeted at Ubuntu 18.04 bionic. They are built with the gnat-7 package and depend on libgpr1-dev, libaws3.3.2.2-dev and libxmlada-sax7-dev. Add the following line to your /etc/apt/sources.list configuration:

deb https://apt.vacs.fr/ubuntu-bionic bionic main

Ubuntu 20.04 Focal Fossa

A second repository provides Debian packages targeted at Ubuntu 20.04 focal. They are built with the gnat-9 package and depend on libgnatprj7-dev, libaws19-dev and libxmlada-sax9-dev. Add the following line to your /etc/apt/sources.list configuration:

deb https://apt.vacs.fr/ubuntu-focal focal main

Debian 10 Buster

A third repository provides Debian packages targeted at Debian 10 buster. They are built with the gnat-8 package and depend on libgpr2-dev, libaws18-dev and libxmlada-sax8-dev. Add the following line to your /etc/apt/sources.list configuration:

deb https://apt.vacs.fr/debian-buster buster main

Installation

Once you've added the configuration line, you can install the packages:

sudo apt-get update
sudo apt-get install -y dynamo akt libawa2-dev libawa-unit2-dev

The Ada Web Application framework contains several plugins which are provided by separate Debian packages.

sudo apt-get install -y libawa-blogs2-dev libawa-questions2-dev libawa-wikis2-dev libawa-setup2-dev

The documentation is packaged in separate Debian packages, you can install them with:

sudo apt-get install -y libawa-doc libado-doc libawa-doc libkeystoreada-doc libsecurity-doc libutilada-doc libwikiada-doc

For the curious, you may browse the repository here.

Add a comment

To add a comment, you must be connected. Login