├── .alire ├── awa_blogs.gpr ├── awa_changelogs.gpr ├── awa_comments.gpr ├── awa_counters.gpr ├── awa_countries.gpr ├── awa_images.gpr ├── awa_jobs.gpr ├── awa_mail.gpr ├── awa_questions.gpr ├── awa_settings.gpr ├── awa_setup.gpr ├── awa_storages.gpr ├── awa_tags.gpr ├── awa_votes.gpr ├── awa_wikis.gpr ├── awa_workspaces.gpr └── dynamo.xml ├── .gitmodules ├── .readthedocs.yaml ├── .travis.yml ├── LICENSE.txt ├── Makefile ├── Makefile.defaults ├── NEWS.md ├── NOTICE.txt ├── README.md ├── alire-setup.sh ├── alire.toml ├── awa ├── LICENSE.txt ├── Makefile ├── Makefile.defaults ├── NEWS.md ├── NOTICE.txt ├── README ├── awa.gpr ├── awa.iml ├── awa_config.gpr ├── bundles │ ├── commands.properties │ ├── dates.properties │ ├── dates_fr.properties │ ├── layout.properties │ ├── layout_fr.properties │ ├── users.properties │ └── users_fr.properties ├── config │ ├── awa.xml │ ├── mail.xml │ └── users.xml ├── coverage.sh ├── db │ ├── command-audits.xml │ ├── command-jobs.xml │ ├── command-sessions.xml │ ├── command-users.xml │ ├── migrate │ │ ├── awa-0.3-migrate.sql │ │ ├── awa-0.4-migrate.sql │ │ ├── awa-1.0-migrate.sql │ │ ├── awa-1.1-migrate.sql │ │ ├── awa-1.2-migrate.sql │ │ ├── awa-2.0-migrate.sql │ │ └── awa │ │ │ ├── 2 │ │ │ ├── 1-mysql-user-status.sql │ │ │ ├── 1-postgresql-user-status.sql │ │ │ ├── 1-sqlite-user-status.sql │ │ │ └── depend.conf │ │ │ └── 3 │ │ │ ├── 1-mysql-auth.sql │ │ │ ├── 1-postgresql-auth.sql │ │ │ ├── 1-sqlite-auth.sql │ │ │ └── depend.conf │ ├── mysql │ │ ├── awa-drop-mysql.sql │ │ ├── awa-mysql.sql │ │ └── mysql.cnf │ ├── permissions.xml │ ├── postgresql │ │ ├── awa-drop-postgresql.sql │ │ └── awa-postgresql.sql │ ├── queue-messages.xml │ ├── regtests │ │ ├── mysql │ │ │ ├── create-regtests-mysql.sql │ │ │ └── drop-regtests-mysql.sql │ │ ├── postgresql │ │ │ ├── create-regtests-postgresql.sql │ │ │ └── drop-regtests-postgresql.sql │ │ └── sqlite │ │ │ ├── create-regtests-sqlite.sql │ │ │ └── drop-regtests-sqlite.sql │ └── sqlite │ │ ├── awa-drop-sqlite.sql │ │ └── awa-sqlite.sql ├── docs │ ├── AWA.md │ ├── AWA_Blogs.md │ ├── AWA_Changelogs.md │ ├── AWA_Comments.md │ ├── AWA_Counters.md │ ├── AWA_Countries.md │ ├── AWA_Images.md │ ├── AWA_Jobs.md │ ├── AWA_Mail.md │ ├── AWA_Questions.md │ ├── AWA_Settings.md │ ├── AWA_Setup.md │ ├── AWA_Storages.md │ ├── AWA_Tags.md │ ├── AWA_Users.md │ ├── AWA_Votes.md │ ├── AWA_Wikis.md │ ├── AWA_Workspaces.md │ ├── Installation.md │ ├── Tips.md │ ├── Tutorial.md │ ├── awa-book.pdf │ ├── command.md │ ├── eisvogel.tex │ ├── filter.py │ ├── images │ │ ├── OAuthAuthenticateFlow.png │ │ ├── awa-features.png │ │ ├── awa_architecture_overview.png │ │ ├── awa_blogs_bean.png │ │ ├── awa_blogs_model.png │ │ ├── awa_changelogs_model.png │ │ ├── awa_comments_bean.png │ │ ├── awa_comments_model.png │ │ ├── awa_counters_bean.png │ │ ├── awa_counters_model.png │ │ ├── awa_countries_model.png │ │ ├── awa_country_model.png │ │ ├── awa_events_model.png │ │ ├── awa_images_model.png │ │ ├── awa_jobs_model.png │ │ ├── awa_mail_model.png │ │ ├── awa_oauth_model.png │ │ ├── awa_permissions_model.png │ │ ├── awa_questions_bean.png │ │ ├── awa_questions_model.png │ │ ├── awa_settings_model.png │ │ ├── awa_settings_module.png │ │ ├── awa_storages_bean.png │ │ ├── awa_storages_model.png │ │ ├── awa_storages_module.png │ │ ├── awa_tags_model.png │ │ ├── awa_user_model.png │ │ ├── awa_users_model.png │ │ ├── awa_votes_bean.png │ │ ├── awa_votes_model.png │ │ ├── awa_wikis_bean.png │ │ ├── awa_wikis_model.png │ │ ├── awa_workspace_model.png │ │ ├── demo-awa-argouml-review-tagged.png │ │ ├── demo-awa-argouml-setup.png │ │ ├── demo-awa-argouml-text-tagged.png │ │ ├── demo-awa-eclipse-project-explorer.png │ │ ├── demo-awa-model-review_list_bean.png │ │ ├── demo-awa-request-flow.png │ │ ├── demo-awa-review-list-flow-800.png │ │ ├── demo-awa-uml-review-model.png │ │ ├── demo-awa-uml-review-table.png │ │ └── demo-awa-use-case.png │ ├── index.md │ ├── links.txt │ ├── pagebreak.tex │ ├── pandoc.css │ ├── requirements.txt │ └── title.md ├── dynamo.xml ├── plugins │ ├── awa-blogs │ │ ├── Makefile │ │ ├── awa_blogs.gpr │ │ ├── bundles │ │ │ ├── blogs.properties │ │ │ └── blogs_fr.properties │ │ ├── config │ │ │ └── blogs.xml │ │ ├── db │ │ │ ├── blog-admin-post-list.xml │ │ │ ├── blog-comment-list.xml │ │ │ ├── blog-images-info.xml │ │ │ ├── blog-images.xml │ │ │ ├── blog-list.xml │ │ │ ├── blog-post-list.xml │ │ │ ├── blog-stat.xml │ │ │ ├── blog-tags.xml │ │ │ ├── mysql │ │ │ │ ├── awa-blogs-drop-mysql.sql │ │ │ │ └── awa-blogs-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-blogs-drop-postgresql.sql │ │ │ │ └── awa-blogs-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-blogs-drop-sqlite.sql │ │ │ │ └── awa-blogs-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-blogs-modules-tests.adb │ │ │ ├── awa-blogs-modules-tests.ads │ │ │ ├── awa-blogs-tests.adb │ │ │ └── awa-blogs-tests.ads │ │ ├── src │ │ │ ├── awa-blogs-beans.adb │ │ │ ├── awa-blogs-beans.ads │ │ │ ├── awa-blogs-modules.adb │ │ │ ├── awa-blogs-modules.ads │ │ │ ├── awa-blogs-servlets.adb │ │ │ ├── awa-blogs-servlets.ads │ │ │ ├── awa-blogs.ads │ │ │ └── model │ │ │ │ ├── awa-blogs-models.adb │ │ │ │ └── awa-blogs-models.ads │ │ └── web │ │ │ ├── blogs │ │ │ ├── admin │ │ │ │ ├── create-blog.xhtml │ │ │ │ ├── create.xhtml │ │ │ │ ├── edit.xhtml │ │ │ │ ├── forms │ │ │ │ │ ├── blog-create-form-response.xhtml │ │ │ │ │ ├── blog-create-form.xhtml │ │ │ │ │ ├── comment-delete-response.xhtml │ │ │ │ │ ├── comment-delete.xhtml │ │ │ │ │ ├── comment-edit.xhtml │ │ │ │ │ ├── post-create.xhtml │ │ │ │ │ ├── post-delete-response.xhtml │ │ │ │ │ ├── post-delete.xhtml │ │ │ │ │ └── post-form.xhtml │ │ │ │ ├── list-comments.xhtml │ │ │ │ ├── list.xhtml │ │ │ │ ├── lists │ │ │ │ │ ├── blog-list.xhtml │ │ │ │ │ ├── comment-list.xhtml │ │ │ │ │ ├── menu-list.xhtml │ │ │ │ │ ├── post-list.xhtml │ │ │ │ │ └── tag-search.xhtml │ │ │ │ ├── preview.xhtml │ │ │ │ └── views │ │ │ │ │ ├── blog-stats.xhtml │ │ │ │ │ ├── post-stats.xhtml │ │ │ │ │ └── publish-response.xhtml │ │ │ ├── feeds.xhtml │ │ │ ├── forms │ │ │ │ ├── comment-add-form-response.xhtml │ │ │ │ └── comment-add-form.xhtml │ │ │ ├── index.xhtml │ │ │ ├── lists │ │ │ │ ├── post-info.xhtml │ │ │ │ └── post-list.xhtml │ │ │ ├── post-missing.xhtml │ │ │ ├── post.xhtml │ │ │ ├── tagged.xhtml │ │ │ └── view.xhtml │ │ │ ├── css │ │ │ └── blogs.css │ │ │ ├── images │ │ │ └── blogs │ │ │ │ ├── blog-icon.png │ │ │ │ ├── check-on.png │ │ │ │ ├── check-wrn.png │ │ │ │ ├── ico_comm.gif │ │ │ │ ├── ico_entry.gif │ │ │ │ ├── icon-check-box-green.png │ │ │ │ ├── icon-check-box-grey.png │ │ │ │ ├── icon-check-box-orange.png │ │ │ │ ├── icon-check-box-red.png │ │ │ │ ├── icon-post-comments-64.png │ │ │ │ ├── icon-post-create-64.png │ │ │ │ ├── icon-post-list-64.png │ │ │ │ ├── icon-spam-grey.png │ │ │ │ └── icon-spam-red.png │ │ │ └── js │ │ │ └── awa-blogs.js │ ├── awa-changelogs │ │ ├── Makefile │ │ ├── awa_changelogs.gpr │ │ ├── config │ │ │ └── changelogs.xml │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-changelogs-drop-mysql.sql │ │ │ │ └── awa-changelogs-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-changelogs-drop-postgresql.sql │ │ │ │ └── awa-changelogs-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-changelogs-drop-sqlite.sql │ │ │ │ └── awa-changelogs-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-changelogs-modules-tests.adb │ │ │ └── awa-changelogs-modules-tests.ads │ │ └── src │ │ │ ├── awa-changelogs-modules.adb │ │ │ ├── awa-changelogs-modules.ads │ │ │ ├── awa-changelogs.ads │ │ │ └── model │ │ │ ├── awa-changelogs-models.adb │ │ │ └── awa-changelogs-models.ads │ ├── awa-comments │ │ ├── Makefile │ │ ├── awa_comments.gpr │ │ ├── bundles │ │ │ ├── comments.properties │ │ │ └── comments_fr.properties │ │ ├── config │ │ │ └── comments.xml │ │ ├── db │ │ │ ├── comment-queries.xml │ │ │ ├── mysql │ │ │ │ ├── awa-comments-drop-mysql.sql │ │ │ │ └── awa-comments-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-comments-drop-postgresql.sql │ │ │ │ └── awa-comments-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-comments-drop-sqlite.sql │ │ │ │ └── awa-comments-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-comments-modules-tests.adb │ │ │ └── awa-comments-modules-tests.ads │ │ ├── src │ │ │ ├── awa-comments-beans.adb │ │ │ ├── awa-comments-beans.ads │ │ │ ├── awa-comments-modules.adb │ │ │ ├── awa-comments-modules.ads │ │ │ ├── awa-comments.ads │ │ │ └── model │ │ │ │ ├── awa-comments-models.adb │ │ │ │ └── awa-comments-models.ads │ │ └── web │ │ │ ├── comments │ │ │ ├── forms │ │ │ │ └── comment-form.xhtml │ │ │ └── lists │ │ │ │ └── comment-list.xhtml │ │ │ └── css │ │ │ └── comments.css │ ├── awa-counters │ │ ├── Makefile │ │ ├── awa_counters.gpr │ │ ├── config │ │ │ └── counters.xml │ │ ├── db │ │ │ ├── counter-update.xml │ │ │ ├── mysql │ │ │ │ ├── awa-counters-drop-mysql.sql │ │ │ │ └── awa-counters-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-counters-drop-postgresql.sql │ │ │ │ └── awa-counters-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-counters-drop-sqlite.sql │ │ │ │ └── awa-counters-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-counters-modules-tests.adb │ │ │ └── awa-counters-modules-tests.ads │ │ └── src │ │ │ ├── awa-counters-beans.adb │ │ │ ├── awa-counters-beans.ads │ │ │ ├── awa-counters-components.adb │ │ │ ├── awa-counters-components.ads │ │ │ ├── awa-counters-definition.ads │ │ │ ├── awa-counters-modules.adb │ │ │ ├── awa-counters-modules.ads │ │ │ ├── awa-counters.adb │ │ │ ├── awa-counters.ads │ │ │ └── model │ │ │ ├── awa-counters-models.adb │ │ │ └── awa-counters-models.ads │ ├── awa-countries │ │ ├── Makefile │ │ ├── awa_countries.gpr │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-countries-drop-mysql.sql │ │ │ │ └── awa-countries-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-countries-drop-postgresql.sql │ │ │ │ └── awa-countries-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-countries-drop-sqlite.sql │ │ │ │ └── awa-countries-sqlite.sql │ │ ├── dynamo.xml │ │ ├── src │ │ │ ├── awa-countries.ads │ │ │ └── model │ │ │ │ ├── awa-countries-models.adb │ │ │ │ └── awa-countries-models.ads │ │ ├── tools.gpr │ │ └── tools │ │ │ └── import_country.adb │ ├── awa-easymde │ │ ├── MIT-LICENSE.txt │ │ ├── Makefile │ │ ├── dynamo.xml │ │ └── web │ │ │ ├── css │ │ │ ├── easymde.min.css │ │ │ └── fontawesome.min.css │ │ │ ├── js │ │ │ └── easymde │ │ │ │ └── easymde.min.js │ │ │ └── webfonts │ │ │ ├── fa-regular-400.ttf │ │ │ ├── fa-regular-400.woff2 │ │ │ └── fontawesome-webfont.woff2 │ ├── awa-flotcharts │ │ ├── Makefile │ │ ├── dynamo.xml │ │ └── web │ │ │ └── js │ │ │ ├── jquery.canvaswrapper.js │ │ │ ├── jquery.colorhelpers.js │ │ │ ├── jquery.flot.axislabels.js │ │ │ ├── jquery.flot.browser.js │ │ │ ├── jquery.flot.categories.js │ │ │ ├── jquery.flot.composeImages.js │ │ │ ├── jquery.flot.crosshair.js │ │ │ ├── jquery.flot.drawSeries.js │ │ │ ├── jquery.flot.errorbars.js │ │ │ ├── jquery.flot.fillbetween.js │ │ │ ├── jquery.flot.flatdata.js │ │ │ ├── jquery.flot.hover.js │ │ │ ├── jquery.flot.image.js │ │ │ ├── jquery.flot.js │ │ │ ├── jquery.flot.legend.js │ │ │ ├── jquery.flot.logaxis.js │ │ │ ├── jquery.flot.navigate.js │ │ │ ├── jquery.flot.pie.js │ │ │ ├── jquery.flot.resize.js │ │ │ ├── jquery.flot.saturated.js │ │ │ ├── jquery.flot.selection.js │ │ │ ├── jquery.flot.stack.js │ │ │ ├── jquery.flot.symbol.js │ │ │ ├── jquery.flot.threshold.js │ │ │ ├── jquery.flot.time.js │ │ │ ├── jquery.flot.touch.js │ │ │ ├── jquery.flot.touchNavigate.js │ │ │ └── jquery.flot.uiConstants.js │ ├── awa-images │ │ ├── Makefile │ │ ├── awa_images.gpr │ │ ├── config │ │ │ └── images.xml.in │ │ ├── db │ │ │ ├── image-info.xml │ │ │ ├── image-list.xml │ │ │ ├── mysql │ │ │ │ ├── awa-images-drop-mysql.sql │ │ │ │ └── awa-images-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-images-drop-postgresql.sql │ │ │ │ └── awa-images-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-images-drop-sqlite.sql │ │ │ │ └── awa-images-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-images-modules-tests.adb │ │ │ ├── awa-images-modules-tests.ads │ │ │ ├── awa-images-tests.adb │ │ │ └── awa-images-tests.ads │ │ ├── src │ │ │ ├── awa-images-beans.adb │ │ │ ├── awa-images-beans.ads │ │ │ ├── awa-images-modules.adb │ │ │ ├── awa-images-modules.ads │ │ │ ├── awa-images-servlets.adb │ │ │ ├── awa-images-servlets.ads │ │ │ ├── awa-images.ads │ │ │ └── model │ │ │ │ ├── awa-images-models.adb │ │ │ │ └── awa-images-models.ads │ │ └── web │ │ │ ├── js │ │ │ └── awa-images.js │ │ │ └── storages │ │ │ ├── forms │ │ │ ├── upload-image-failed-response.xhtml │ │ │ ├── upload-image-response.xhtml │ │ │ └── upload-image.xhtml │ │ │ ├── image-info.xhtml │ │ │ ├── image-selector.xhtml │ │ │ ├── images.xhtml │ │ │ ├── lists │ │ │ ├── image-list.xhtml │ │ │ └── images.xhtml │ │ │ └── views │ │ │ ├── image-content.xhtml │ │ │ └── image-info.xhtml │ ├── awa-jobs │ │ ├── Makefile │ │ ├── awa_jobs.gpr │ │ ├── config │ │ │ └── jobs.xml │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-jobs-drop-mysql.sql │ │ │ │ └── awa-jobs-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-jobs-drop-postgresql.sql │ │ │ │ └── awa-jobs-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-jobs-drop-sqlite.sql │ │ │ │ └── awa-jobs-sqlite.sql │ │ ├── dynamo.xml │ │ └── src │ │ │ ├── awa-jobs-beans.adb │ │ │ ├── awa-jobs-beans.ads │ │ │ ├── awa-jobs-modules.adb │ │ │ ├── awa-jobs-modules.ads │ │ │ ├── awa-jobs-services.adb │ │ │ ├── awa-jobs-services.ads │ │ │ ├── awa-jobs.ads │ │ │ └── model │ │ │ ├── awa-jobs-models.adb │ │ │ └── awa-jobs-models.ads │ ├── awa-mail │ │ ├── Makefile │ │ ├── awa_mail.gpr │ │ ├── dynamo.xml │ │ ├── src │ │ │ ├── awa-mail-beans.adb │ │ │ ├── awa-mail-beans.ads │ │ │ ├── awa-mail-clients-files.adb │ │ │ ├── awa-mail-clients-files.ads │ │ │ ├── awa-mail-clients.adb │ │ │ ├── awa-mail-clients.ads │ │ │ ├── awa-mail-components-attachments.adb │ │ │ ├── awa-mail-components-attachments.ads │ │ │ ├── awa-mail-components-factory.adb │ │ │ ├── awa-mail-components-factory.ads │ │ │ ├── awa-mail-components-messages.adb │ │ │ ├── awa-mail-components-messages.ads │ │ │ ├── awa-mail-components-recipients.adb │ │ │ ├── awa-mail-components-recipients.ads │ │ │ ├── awa-mail-components.adb │ │ │ ├── awa-mail-components.ads │ │ │ ├── awa-mail-modules.adb │ │ │ ├── awa-mail-modules.ads │ │ │ ├── awa-mail.ads │ │ │ ├── aws │ │ │ │ ├── awa-mail-clients-aws_smtp-initialize_nossl.adb │ │ │ │ ├── awa-mail-clients-aws_smtp-initialize_ssl.adb │ │ │ │ ├── awa-mail-clients-aws_smtp-initialize_ssl_24.adb │ │ │ │ ├── awa-mail-clients-aws_smtp.adb │ │ │ │ ├── awa-mail-clients-aws_smtp.ads │ │ │ │ └── awa-mail-clients-factory.adb │ │ │ └── no-aws │ │ │ │ └── awa-mail-clients-factory.adb │ │ └── web │ │ │ └── mail │ │ │ ├── invite-user-email.xhtml │ │ │ ├── user-lost-password-email.xhtml │ │ │ ├── user-register-email.xhtml │ │ │ ├── user-reset-password-email.xhtml │ │ │ └── welcome-message.xhtml │ ├── awa-markedit │ │ ├── MIT-LICENSE.txt │ │ ├── Makefile │ │ ├── awa-markedit.properties │ │ ├── bundles │ │ │ ├── markedit.properties │ │ │ └── markedit_fr.properties │ │ ├── dynamo.xml │ │ └── web │ │ │ ├── css │ │ │ └── markedit │ │ │ │ └── jquery.markedit.css │ │ │ ├── images │ │ │ └── markedit │ │ │ │ ├── wmd-buttons-dark.png │ │ │ │ ├── wmd-buttons-dark.psd │ │ │ │ ├── wmd-buttons.png │ │ │ │ └── wmd-buttons.psd │ │ │ ├── js │ │ │ └── markedit │ │ │ │ ├── jquery.markedit.js │ │ │ │ ├── lang │ │ │ │ ├── markedit.lang.de.js │ │ │ │ ├── markedit.lang.es.js │ │ │ │ ├── markedit.lang.template.js │ │ │ │ └── markedit.lang.zh.js │ │ │ │ └── showdown.js │ │ │ └── markedit │ │ │ └── syntax.xhtml │ ├── awa-questions │ │ ├── Makefile │ │ ├── awa_questions.gpr │ │ ├── bundles │ │ │ ├── questions.properties │ │ │ └── questions_fr.properties │ │ ├── config │ │ │ └── questions.xml │ │ ├── db │ │ │ ├── answer-list.xml │ │ │ ├── mysql │ │ │ │ ├── awa-questions-drop-mysql.sql │ │ │ │ └── awa-questions-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-questions-drop-postgresql.sql │ │ │ │ └── awa-questions-postgresql.sql │ │ │ ├── question-info.xml │ │ │ ├── question-list.xml │ │ │ └── sqlite │ │ │ │ ├── awa-questions-drop-sqlite.sql │ │ │ │ └── awa-questions-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-questions-modules-tests.adb │ │ │ ├── awa-questions-modules-tests.ads │ │ │ ├── awa-questions-tests.adb │ │ │ └── awa-questions-tests.ads │ │ ├── src │ │ │ ├── awa-questions-beans.adb │ │ │ ├── awa-questions-beans.ads │ │ │ ├── awa-questions-modules.adb │ │ │ ├── awa-questions-modules.ads │ │ │ ├── awa-questions.ads │ │ │ └── model │ │ │ │ ├── awa-questions-models.adb │ │ │ │ └── awa-questions-models.ads │ │ └── web │ │ │ ├── css │ │ │ └── questions.css │ │ │ ├── images │ │ │ └── vote-icons.png │ │ │ └── questions │ │ │ ├── ask.xhtml │ │ │ ├── edit-answer.xhtml │ │ │ ├── edit.xhtml │ │ │ ├── forms │ │ │ ├── answer-form.xhtml │ │ │ ├── ask-form.xhtml │ │ │ ├── delete-answer.xhtml │ │ │ ├── delete-question-response.xhtml │ │ │ ├── delete-question.xhtml │ │ │ └── refresh-answer-response.xhtml │ │ │ ├── list.xhtml │ │ │ ├── lists │ │ │ ├── answer-list.xhtml │ │ │ ├── question-list.xhtml │ │ │ └── tag-search.xhtml │ │ │ ├── missing.xhtml │ │ │ ├── tagged.xhtml │ │ │ ├── view.xhtml │ │ │ └── views │ │ │ ├── deny-response.xhtml │ │ │ ├── question-nav.xhtml │ │ │ ├── question-tags.xhtml │ │ │ ├── question.xhtml │ │ │ ├── vote-answer-response.xhtml │ │ │ └── vote-response.xhtml │ ├── awa-settings │ │ ├── Makefile │ │ ├── awa_settings.gpr │ │ ├── config │ │ │ └── settings.xml │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-settings-drop-mysql.sql │ │ │ │ └── awa-settings-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-settings-drop-postgresql.sql │ │ │ │ └── awa-settings-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-settings-drop-sqlite.sql │ │ │ │ └── awa-settings-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-settings-modules-tests.adb │ │ │ └── awa-settings-modules-tests.ads │ │ └── src │ │ │ ├── awa-settings-modules.adb │ │ │ ├── awa-settings-modules.ads │ │ │ ├── awa-settings.adb │ │ │ ├── awa-settings.ads │ │ │ └── model │ │ │ ├── awa-settings-models.adb │ │ │ └── awa-settings-models.ads │ ├── awa-setup │ │ ├── Makefile │ │ ├── awa_setup.gpr │ │ ├── bundles │ │ │ └── setup.properties │ │ ├── config │ │ │ └── setup.xml │ │ ├── dynamo.xml │ │ ├── setup.properties │ │ ├── src │ │ │ ├── awa-commands-setup.adb │ │ │ ├── awa-commands-setup.ads │ │ │ ├── awa-setup-applications.adb │ │ │ ├── awa-setup-applications.ads │ │ │ └── awa-setup.ads │ │ └── web │ │ │ ├── WEB-INF │ │ │ └── layouts │ │ │ │ ├── setup-footer.xhtml │ │ │ │ ├── setup-steps.xhtml │ │ │ │ └── setup.xhtml │ │ │ ├── css │ │ │ └── setup.css │ │ │ └── setup │ │ │ ├── forms │ │ │ ├── auth-response.xhtml │ │ │ ├── auth.xhtml │ │ │ ├── database-response.xhtml │ │ │ ├── database.xhtml │ │ │ ├── finish-redirect.xhtml │ │ │ ├── finish-response.xhtml │ │ │ ├── finish.xhtml │ │ │ ├── oauth-response.xhtml │ │ │ ├── oauth.xhtml │ │ │ ├── settings-response.xhtml │ │ │ └── settings.xhtml │ │ │ └── install.xhtml │ ├── awa-storages │ │ ├── Makefile │ │ ├── awa_storages.gpr │ │ ├── bundles │ │ │ ├── storages.properties │ │ │ └── storages_fr.properties │ │ ├── config │ │ │ └── storages.xml │ │ ├── db │ │ │ ├── folder-queries.xml │ │ │ ├── mysql │ │ │ │ ├── awa-storages-drop-mysql.sql │ │ │ │ └── awa-storages-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-storages-drop-postgresql.sql │ │ │ │ └── awa-storages-postgresql.sql │ │ │ ├── sqlite │ │ │ │ ├── awa-storages-drop-sqlite.sql │ │ │ │ └── awa-storages-sqlite.sql │ │ │ ├── storage-info.xml │ │ │ ├── storage-list.xml │ │ │ └── storage-queries.xml │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-storages-services-tests.adb │ │ │ ├── awa-storages-services-tests.ads │ │ │ ├── awa-storages-tests.adb │ │ │ └── awa-storages-tests.ads │ │ ├── src │ │ │ ├── awa-storages-beans.adb │ │ │ ├── awa-storages-beans.ads │ │ │ ├── awa-storages-modules.adb │ │ │ ├── awa-storages-modules.ads │ │ │ ├── awa-storages-services.adb │ │ │ ├── awa-storages-services.ads │ │ │ ├── awa-storages-servlets.adb │ │ │ ├── awa-storages-servlets.ads │ │ │ ├── awa-storages-stores-databases.adb │ │ │ ├── awa-storages-stores-databases.ads │ │ │ ├── awa-storages-stores-files.adb │ │ │ ├── awa-storages-stores-files.ads │ │ │ ├── awa-storages-stores.ads │ │ │ ├── awa-storages.adb │ │ │ ├── awa-storages.ads │ │ │ └── model │ │ │ │ ├── awa-storages-models.adb │ │ │ │ └── awa-storages-models.ads │ │ └── web │ │ │ ├── css │ │ │ └── storages.css │ │ │ ├── images │ │ │ └── storages │ │ │ │ ├── doc-private.png │ │ │ │ ├── folder.png │ │ │ │ ├── icon-document-64.png │ │ │ │ ├── icon-folder.png │ │ │ │ ├── icon-gallery-64.png │ │ │ │ ├── icon-images.png │ │ │ │ ├── icon-internet.png │ │ │ │ ├── icon-pdf-64.png │ │ │ │ └── icon-upload-file-64.png │ │ │ ├── js │ │ │ └── awa-storages.js │ │ │ └── storages │ │ │ ├── documents.xhtml │ │ │ ├── file-info.xhtml │ │ │ ├── forms │ │ │ ├── file-delete-form-response.xhtml │ │ │ ├── file-delete-form.xhtml │ │ │ ├── folder-create-first-response.xhtml │ │ │ ├── folder-create-first.xhtml │ │ │ ├── folder-create-response.xhtml │ │ │ ├── folder-create.xhtml │ │ │ ├── publish-response.xhtml │ │ │ ├── upload-form-response.xhtml │ │ │ └── upload-form.xhtml │ │ │ ├── lists │ │ │ ├── document-list.xhtml │ │ │ ├── documents.xhtml │ │ │ ├── folder-list.xhtml │ │ │ └── folders.xhtml │ │ │ └── views │ │ │ ├── file-content.xhtml │ │ │ ├── file-info.xhtml │ │ │ └── storage-nav.xhtml │ ├── awa-sysadmin │ │ ├── Makefile │ │ ├── awa_sysadmin.gpr │ │ ├── config │ │ │ └── sysadmin.xml │ │ ├── db │ │ │ ├── sysadmin-jobs.xml │ │ │ ├── sysadmin-sessions.xml │ │ │ └── sysadmin-users.xml │ │ ├── dynamo.xml │ │ ├── src │ │ │ ├── awa-sysadmin-beans.adb │ │ │ ├── awa-sysadmin-beans.ads │ │ │ ├── awa-sysadmin-filters.adb │ │ │ ├── awa-sysadmin-filters.ads │ │ │ ├── awa-sysadmin-modules.adb │ │ │ ├── awa-sysadmin-modules.ads │ │ │ ├── awa-sysadmin.ads │ │ │ └── model │ │ │ │ ├── awa-sysadmin-models.adb │ │ │ │ └── awa-sysadmin-models.ads │ │ └── web │ │ │ ├── WEB-INF │ │ │ └── layouts │ │ │ │ ├── sysadmin-footer.xhtml │ │ │ │ └── sysadmin.xhtml │ │ │ ├── js │ │ │ └── awa-sysadmin.js │ │ │ └── sysadmin │ │ │ ├── index.xhtml │ │ │ └── login.xhtml │ ├── awa-tags │ │ ├── Makefile │ │ ├── Tagedit.README │ │ ├── Tagedit.license │ │ ├── awa_tags.gpr │ │ ├── config │ │ │ └── tags.xml │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-tags-drop-mysql.sql │ │ │ │ └── awa-tags-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-tags-drop-postgresql.sql │ │ │ │ └── awa-tags-postgresql.sql │ │ │ ├── sqlite │ │ │ │ ├── awa-tags-drop-sqlite.sql │ │ │ │ └── awa-tags-sqlite.sql │ │ │ └── tag-queries.xml │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-tags-modules-tests.adb │ │ │ └── awa-tags-modules-tests.ads │ │ ├── src │ │ │ ├── awa-tags-beans.adb │ │ │ ├── awa-tags-beans.ads │ │ │ ├── awa-tags-components.adb │ │ │ ├── awa-tags-components.ads │ │ │ ├── awa-tags-modules.adb │ │ │ ├── awa-tags-modules.ads │ │ │ ├── awa-tags.ads │ │ │ └── model │ │ │ │ ├── awa-tags-models.adb │ │ │ │ └── awa-tags-models.ads │ │ └── web │ │ │ ├── css │ │ │ └── jquery.tagedit.css │ │ │ ├── images │ │ │ ├── cross.png │ │ │ ├── delete.png │ │ │ ├── disc.png │ │ │ ├── edit.png │ │ │ ├── go.png │ │ │ ├── tick.png │ │ │ └── undo.png │ │ │ ├── js │ │ │ ├── jquery.autoGrowInput.js │ │ │ └── jquery.tagedit.js │ │ │ └── tags │ │ │ └── lists │ │ │ ├── list.xhtml │ │ │ └── search.xhtml │ ├── awa-trumbowyg │ │ ├── MIT-LICENSE.txt │ │ ├── Makefile │ │ ├── dynamo.xml │ │ └── web │ │ │ ├── css │ │ │ └── trumbowyg │ │ │ │ ├── sass │ │ │ │ └── trumbowyg.scss │ │ │ │ └── trumbowyg.css │ │ │ └── js │ │ │ └── trumbowyg │ │ │ ├── langs │ │ │ ├── ar.js │ │ │ ├── bg.js │ │ │ ├── bn.js │ │ │ ├── by.js │ │ │ ├── ca.js │ │ │ ├── cs.js │ │ │ ├── da.js │ │ │ ├── de.js │ │ │ ├── el.js │ │ │ ├── es.js │ │ │ ├── es_ar.js │ │ │ ├── et.js │ │ │ ├── fa.js │ │ │ ├── fi.js │ │ │ ├── fr.js │ │ │ ├── he.js │ │ │ ├── hr.js │ │ │ ├── hu.js │ │ │ ├── id.js │ │ │ ├── it.js │ │ │ ├── ja.js │ │ │ ├── ko.js │ │ │ ├── lt.js │ │ │ ├── mn.js │ │ │ ├── my.js │ │ │ ├── nl.js │ │ │ ├── no_nb.js │ │ │ ├── ph.js │ │ │ ├── pl.js │ │ │ ├── pt.js │ │ │ ├── pt_br.js │ │ │ ├── ro.js │ │ │ ├── rs.js │ │ │ ├── rs_latin.js │ │ │ ├── ru.js │ │ │ ├── sk.js │ │ │ ├── sl.js │ │ │ ├── sq.js │ │ │ ├── sv.js │ │ │ ├── th.js │ │ │ ├── tr.js │ │ │ ├── ua.js │ │ │ ├── vi.js │ │ │ ├── zh_cn.js │ │ │ └── zh_tw.js │ │ │ ├── plugins │ │ │ ├── allowtagsfrompaste │ │ │ │ └── trumbowyg.allowtagsfrompaste.js │ │ │ ├── base64 │ │ │ │ └── trumbowyg.base64.js │ │ │ ├── cleanpaste │ │ │ │ └── trumbowyg.cleanpaste.js │ │ │ ├── colors │ │ │ │ ├── trumbowyg.colors.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.colors.scss │ │ │ │ │ └── trumbowyg.colors.css │ │ │ ├── emoji │ │ │ │ ├── trumbowyg.emoji.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.emoji.scss │ │ │ │ │ └── trumbowyg.emoji.css │ │ │ ├── fontfamily │ │ │ │ └── trumbowyg.fontfamily.js │ │ │ ├── fontsize │ │ │ │ └── trumbowyg.fontsize.js │ │ │ ├── giphy │ │ │ │ ├── trumbowyg.giphy.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.giphy.scss │ │ │ │ │ └── trumbowyg.giphy.css │ │ │ ├── highlight │ │ │ │ ├── trumbowyg.highlight.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.highlight.scss │ │ │ │ │ └── trumbowyg.highlight.css │ │ │ ├── history │ │ │ │ └── trumbowyg.history.js │ │ │ ├── indent │ │ │ │ └── trumbowyg.indent.js │ │ │ ├── insertaudio │ │ │ │ └── trumbowyg.insertaudio.js │ │ │ ├── lineheight │ │ │ │ └── trumbowyg.lineheight.js │ │ │ ├── mathml │ │ │ │ ├── trumbowyg.mathml.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.mathml.scss │ │ │ │ │ └── trumbowyg.mathml.css │ │ │ ├── mention │ │ │ │ ├── trumbowyg.mention.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.mention.scss │ │ │ │ │ └── trumbowyg.mention.css │ │ │ ├── noembed │ │ │ │ └── trumbowyg.noembed.js │ │ │ ├── pasteembed │ │ │ │ └── trumbowyg.pasteembed.js │ │ │ ├── pasteimage │ │ │ │ └── trumbowyg.pasteimage.js │ │ │ ├── preformatted │ │ │ │ └── trumbowyg.preformatted.js │ │ │ ├── resizimg │ │ │ │ └── trumbowyg.resizimg.js │ │ │ ├── ruby │ │ │ │ └── trumbowyg.ruby.js │ │ │ ├── specialchars │ │ │ │ ├── trumbowyg.specialchars.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.specialchars.scss │ │ │ │ │ └── trumbowyg.specialchars.css │ │ │ ├── table │ │ │ │ ├── trumbowyg.table.js │ │ │ │ └── ui │ │ │ │ │ ├── sass │ │ │ │ │ └── trumbowyg.table.scss │ │ │ │ │ └── trumbowyg.table.css │ │ │ ├── template │ │ │ │ └── trumbowyg.template.js │ │ │ └── upload │ │ │ │ └── trumbowyg.upload.js │ │ │ ├── trumbowyg.js │ │ │ └── ui │ │ │ ├── icons.svg │ │ │ ├── sass │ │ │ └── trumbowyg.scss │ │ │ └── trumbowyg.css │ ├── awa-votes │ │ ├── Makefile │ │ ├── awa_votes.gpr │ │ ├── config │ │ │ └── votes.xml │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-votes-drop-mysql.sql │ │ │ │ └── awa-votes-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-votes-drop-postgresql.sql │ │ │ │ └── awa-votes-postgresql.sql │ │ │ └── sqlite │ │ │ │ ├── awa-votes-drop-sqlite.sql │ │ │ │ └── awa-votes-sqlite.sql │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-votes-modules-tests.adb │ │ │ └── awa-votes-modules-tests.ads │ │ ├── src │ │ │ ├── awa-votes-beans.adb │ │ │ ├── awa-votes-beans.ads │ │ │ ├── awa-votes-modules.adb │ │ │ ├── awa-votes-modules.ads │ │ │ ├── awa-votes.ads │ │ │ └── model │ │ │ │ ├── awa-votes-models.adb │ │ │ │ └── awa-votes-models.ads │ │ └── web │ │ │ └── js │ │ │ └── awa-votes.js │ ├── awa-wikis │ │ ├── Makefile │ │ ├── awa_wikis.gpr │ │ ├── bin │ │ │ └── awa-wiki-preview.sh │ │ ├── bundles │ │ │ ├── wikis.properties │ │ │ └── wikis_fr.properties │ │ ├── config │ │ │ ├── wiki_previews.xml │ │ │ └── wikis.xml │ │ ├── db │ │ │ ├── mysql │ │ │ │ ├── awa-wikis-drop-mysql.sql │ │ │ │ └── awa-wikis-mysql.sql │ │ │ ├── postgresql │ │ │ │ ├── awa-wikis-drop-postgresql.sql │ │ │ │ └── awa-wikis-postgresql.sql │ │ │ ├── sqlite │ │ │ │ ├── awa-wikis-drop-sqlite.sql │ │ │ │ └── awa-wikis-sqlite.sql │ │ │ ├── wiki-history.xml │ │ │ ├── wiki-images-info.xml │ │ │ ├── wiki-images.xml │ │ │ ├── wiki-list.xml │ │ │ ├── wiki-page.xml │ │ │ ├── wiki-pages.xml │ │ │ └── wiki-stat.xml │ │ ├── dynamo.xml │ │ ├── regtests │ │ │ ├── awa-wikis-modules-tests.adb │ │ │ ├── awa-wikis-modules-tests.ads │ │ │ ├── awa-wikis-tests.adb │ │ │ └── awa-wikis-tests.ads │ │ ├── src │ │ │ ├── awa-wikis-beans.adb │ │ │ ├── awa-wikis-beans.ads │ │ │ ├── awa-wikis-modules.adb │ │ │ ├── awa-wikis-modules.ads │ │ │ ├── awa-wikis-previews.adb │ │ │ ├── awa-wikis-previews.ads │ │ │ ├── awa-wikis-servlets.adb │ │ │ ├── awa-wikis-servlets.ads │ │ │ ├── awa-wikis.ads │ │ │ └── model │ │ │ │ ├── awa-wikis-models.adb │ │ │ │ └── awa-wikis-models.ads │ │ └── web │ │ │ ├── css │ │ │ └── wikis.css │ │ │ ├── images │ │ │ └── wikis │ │ │ │ ├── icon-edit.png │ │ │ │ ├── wiki-cloud.png │ │ │ │ ├── wiki-create.png │ │ │ │ ├── wiki-document.png │ │ │ │ ├── wiki-grid.png │ │ │ │ ├── wiki-list.png │ │ │ │ ├── wiki-private-26.png │ │ │ │ ├── wiki-private.png │ │ │ │ ├── wiki-settings.png │ │ │ │ ├── wiki-view-26.png │ │ │ │ └── wiki-view.png │ │ │ ├── js │ │ │ └── awa-wikis.js │ │ │ ├── preview │ │ │ └── wikis.css │ │ │ └── wikis │ │ │ ├── admin │ │ │ ├── create-page.xhtml │ │ │ ├── forms │ │ │ │ ├── create-response.xhtml │ │ │ │ └── create.xhtml │ │ │ ├── view.xhtml │ │ │ └── wikis.xhtml │ │ │ ├── create.xhtml │ │ │ ├── edit.xhtml │ │ │ ├── forms │ │ │ ├── delete-page-response.xhtml │ │ │ ├── delete-page.xhtml │ │ │ ├── page-create.xhtml │ │ │ ├── page-form.xhtml │ │ │ ├── settings-form.xhtml │ │ │ ├── upload-form-response.xhtml │ │ │ ├── upload-form.xhtml │ │ │ └── wiki-create.xhtml │ │ │ ├── grid.xhtml │ │ │ ├── history.xhtml │ │ │ ├── image-info.xhtml │ │ │ ├── info.xhtml │ │ │ ├── list.xhtml │ │ │ ├── lists │ │ │ ├── grid.xhtml │ │ │ ├── images.xhtml │ │ │ ├── links.xhtml │ │ │ ├── list.xhtml │ │ │ ├── page-grid.xhtml │ │ │ ├── page-list.xhtml │ │ │ ├── pages.xhtml │ │ │ ├── tag-search.xhtml │ │ │ ├── templates.xhtml │ │ │ └── version-list.xhtml │ │ │ ├── missing.xhtml │ │ │ ├── previewer │ │ │ └── view.xhtml │ │ │ ├── protected.xhtml │ │ │ ├── settings.xhtml │ │ │ ├── setup.xhtml │ │ │ ├── tagged-grid.xhtml │ │ │ ├── tagged.xhtml │ │ │ ├── tags.xhtml │ │ │ ├── view.xhtml │ │ │ └── views │ │ │ ├── image-info.xhtml │ │ │ ├── list-header.xhtml │ │ │ ├── page-history.xhtml │ │ │ ├── page-info.xhtml │ │ │ ├── page-stats.xhtml │ │ │ ├── page-view.xhtml │ │ │ └── wiki-nav.xhtml │ └── awa-workspaces │ │ ├── Makefile │ │ ├── awa_workspaces.gpr │ │ ├── bundles │ │ ├── workspaces.properties │ │ └── workspaces_fr.properties │ │ ├── config │ │ └── workspaces.xml │ │ ├── db │ │ ├── member-list.xml │ │ ├── mysql │ │ │ ├── awa-workspaces-drop-mysql.sql │ │ │ └── awa-workspaces-mysql.sql │ │ ├── postgresql │ │ │ ├── awa-workspaces-drop-postgresql.sql │ │ │ └── awa-workspaces-postgresql.sql │ │ ├── sqlite │ │ │ ├── awa-workspaces-drop-sqlite.sql │ │ │ └── awa-workspaces-sqlite.sql │ │ └── workspace-permissions.xml │ │ ├── dynamo.xml │ │ ├── regtests │ │ ├── awa-workspaces-tests.adb │ │ └── awa-workspaces-tests.ads │ │ ├── src │ │ ├── awa-workspaces-beans.adb │ │ ├── awa-workspaces-beans.ads │ │ ├── awa-workspaces-modules.adb │ │ ├── awa-workspaces-modules.ads │ │ ├── awa-workspaces.ads │ │ └── model │ │ │ ├── awa-workspaces-models.adb │ │ │ └── awa-workspaces-models.ads │ │ └── web │ │ ├── auth │ │ ├── forms │ │ │ └── accept-form.xhtml │ │ ├── invitation-invalid.xhtml │ │ └── invitation.xhtml │ │ ├── images │ │ └── workspaces │ │ │ ├── icon-add-members-64.png │ │ │ └── icon-members-64.png │ │ └── workspaces │ │ ├── forms │ │ ├── delete-member-response.xhtml │ │ ├── delete-member.xhtml │ │ └── invite-form.xhtml │ │ ├── invite.xhtml │ │ ├── lists │ │ └── member-list.xhtml │ │ ├── main.xhtml │ │ ├── members.xhtml │ │ └── views │ │ └── workspace-nav.xhtml ├── regtests │ ├── alire.toml │ ├── awa_tests.gpr │ ├── config │ │ ├── awa.xml │ │ ├── event-test.xml │ │ ├── master-mysql.key │ │ ├── master-postgresql.key │ │ ├── master-sqlite.key │ │ ├── master.key │ │ ├── password.key │ │ ├── regtests.xml │ │ ├── secure-2-mysql.akt │ │ ├── secure-2-postgresql.akt │ │ ├── secure-2-sqlite.akt │ │ ├── secure-mysql.akt │ │ ├── secure-mysql.properties │ │ ├── secure-postgresql.akt │ │ ├── secure-postgresql.properties │ │ ├── secure-sqlite.akt │ │ ├── secure-sqlite.properties │ │ └── test-module.xml │ ├── dynamo.xml │ ├── files │ │ ├── images │ │ │ ├── Ada-Lovelace.jpg │ │ │ └── bast-12.jpg │ │ └── mail │ │ │ ├── mail-bcc.xhtml │ │ │ ├── mail-cc.xhtml │ │ │ └── mail-info.xhtml │ ├── regtests.gpr │ └── src │ │ ├── awa-commands-tests.adb │ │ ├── awa-commands-tests.ads │ │ ├── awa-events-services-tests.adb │ │ ├── awa-events-services-tests.ads │ │ ├── awa-helpers-selectors-tests.adb │ │ ├── awa-helpers-selectors-tests.ads │ │ ├── awa-jobs-modules-tests.adb │ │ ├── awa-jobs-modules-tests.ads │ │ ├── awa-jobs-services-tests.adb │ │ ├── awa-jobs-services-tests.ads │ │ ├── awa-mail-clients-tests.adb │ │ ├── awa-mail-clients-tests.ads │ │ ├── awa-mail-modules-tests.adb │ │ ├── awa-mail-modules-tests.ads │ │ ├── awa-modules-tests.adb │ │ ├── awa-modules-tests.ads │ │ ├── awa-testsuite.adb │ │ ├── awa-testsuite.ads │ │ ├── awa-users-services-tests.adb │ │ ├── awa-users-services-tests.ads │ │ ├── awa-users-tests.adb │ │ ├── awa-users-tests.ads │ │ ├── awa_command.adb │ │ ├── awa_harness.adb │ │ ├── awa_test_app.adb │ │ ├── awa_test_app.ads │ │ ├── security-auth-fake.adb │ │ └── security-auth-fake.ads ├── src │ ├── awa-applications-configs.adb │ ├── awa-applications-configs.ads │ ├── awa-applications-factory.adb │ ├── awa-applications-factory.ads │ ├── awa-applications.adb │ ├── awa-applications.ads │ ├── awa-audits-services.adb │ ├── awa-audits-services.ads │ ├── awa-audits.ads │ ├── awa-commands-drivers.adb │ ├── awa-commands-drivers.ads │ ├── awa-commands-info.adb │ ├── awa-commands-info.ads │ ├── awa-commands-list.adb │ ├── awa-commands-list.ads │ ├── awa-commands-migrate.adb │ ├── awa-commands-migrate.ads │ ├── awa-commands-start.adb │ ├── awa-commands-start.ads │ ├── awa-commands-stop.adb │ ├── awa-commands-stop.ads │ ├── awa-commands-user.adb │ ├── awa-commands-user.ads │ ├── awa-commands.adb │ ├── awa-commands.ads │ ├── awa-components-factory.adb │ ├── awa-components-factory.ads │ ├── awa-components-inputs.adb │ ├── awa-components-inputs.ads │ ├── awa-components-redirect.adb │ ├── awa-components-redirect.ads │ ├── awa-components-wikis.adb │ ├── awa-components-wikis.ads │ ├── awa-components.ads │ ├── awa-converters-dates.adb │ ├── awa-converters-dates.ads │ ├── awa-converters.ads │ ├── awa-events-action_method.ads │ ├── awa-events-configs-reader_config.adb │ ├── awa-events-configs-reader_config.ads │ ├── awa-events-configs.adb │ ├── awa-events-configs.ads │ ├── awa-events-dispatchers-actions.adb │ ├── awa-events-dispatchers-actions.ads │ ├── awa-events-dispatchers-tasks.adb │ ├── awa-events-dispatchers-tasks.ads │ ├── awa-events-dispatchers.adb │ ├── awa-events-dispatchers.ads │ ├── awa-events-queues-fifos.adb │ ├── awa-events-queues-fifos.ads │ ├── awa-events-queues-maps.ads │ ├── awa-events-queues-observers.ads │ ├── awa-events-queues-persistents.adb │ ├── awa-events-queues-persistents.ads │ ├── awa-events-queues.adb │ ├── awa-events-queues.ads │ ├── awa-events-services.adb │ ├── awa-events-services.ads │ ├── awa-events.adb │ ├── awa-events.ads │ ├── awa-helpers-requests.adb │ ├── awa-helpers-requests.ads │ ├── awa-helpers-selectors.adb │ ├── awa-helpers-selectors.ads │ ├── awa-helpers.adb │ ├── awa-helpers.ads │ ├── awa-index_arrays.adb │ ├── awa-index_arrays.ads │ ├── awa-modules-beans.adb │ ├── awa-modules-beans.ads │ ├── awa-modules-get.adb │ ├── awa-modules-get.ads │ ├── awa-modules-lifecycles.adb │ ├── awa-modules-lifecycles.ads │ ├── awa-modules-reader.adb │ ├── awa-modules-reader.ads │ ├── awa-modules.adb │ ├── awa-modules.ads │ ├── awa-oauth-filters.adb │ ├── awa-oauth-filters.ads │ ├── awa-oauth-services.ads │ ├── awa-oauth.ads │ ├── awa-permissions-beans.adb │ ├── awa-permissions-beans.ads │ ├── awa-permissions-controllers.adb │ ├── awa-permissions-controllers.ads │ ├── awa-permissions-services.adb │ ├── awa-permissions-services.ads │ ├── awa-permissions.adb │ ├── awa-permissions.ads │ ├── awa-services-contexts.adb │ ├── awa-services-contexts.ads │ ├── awa-services-filters.adb │ ├── awa-services-filters.ads │ ├── awa-services.ads │ ├── awa-users-beans.adb │ ├── awa-users-beans.ads │ ├── awa-users-filters.adb │ ├── awa-users-filters.ads │ ├── awa-users-modules.adb │ ├── awa-users-modules.ads │ ├── awa-users-principals.adb │ ├── awa-users-principals.ads │ ├── awa-users-services.adb │ ├── awa-users-services.ads │ ├── awa-users-servlets.adb │ ├── awa-users-servlets.ads │ ├── awa-users.ads │ ├── awa.ads │ └── model │ │ ├── awa-audits-models.adb │ │ ├── awa-audits-models.ads │ │ ├── awa-commands-models.ads │ │ ├── awa-events-models.adb │ │ ├── awa-events-models.ads │ │ ├── awa-oauth-models.adb │ │ ├── awa-oauth-models.ads │ │ ├── awa-permissions-models.adb │ │ ├── awa-permissions-models.ads │ │ ├── awa-users-models.adb │ │ └── awa-users-models.ads ├── test-mysql.properties ├── test-postgresql.properties ├── test-server.properties ├── test-sqlite.properties ├── uml │ ├── README │ ├── awa.zargo │ └── convert.sh ├── unit │ ├── alire.toml │ ├── awa_unit.gpr │ └── src │ │ ├── awa-tests-helpers-contexts.adb │ │ ├── awa-tests-helpers-contexts.ads │ │ ├── awa-tests-helpers-users.adb │ │ ├── awa-tests-helpers-users.ads │ │ ├── awa-tests-helpers.adb │ │ ├── awa-tests-helpers.ads │ │ ├── awa-tests.adb │ │ └── awa-tests.ads └── web │ ├── WEB-INF │ └── layouts │ │ ├── anonymous.xhtml │ │ ├── footer.xhtml │ │ ├── layout.xhtml │ │ ├── mail.xhtml │ │ └── top-bar.xhtml │ ├── auth │ ├── change-password.xhtml │ ├── forms │ │ ├── login-dialog.xhtml │ │ ├── login-form.xhtml │ │ ├── login-openid.xhtml │ │ ├── lost-password-form.xhtml │ │ ├── register-form.xhtml │ │ └── reset-password-form.xhtml │ ├── login.xhtml │ ├── logout.xhtml │ ├── lost-password.xhtml │ ├── register.xhtml │ ├── validate.xhtml │ └── views │ │ ├── welcome-login.xhtml │ │ └── welcome-register.xhtml │ ├── css │ ├── awa.css │ ├── highlight │ │ ├── a11y-dark.css │ │ ├── a11y-light.css │ │ ├── agate.css │ │ ├── an-old-hope.css │ │ ├── androidstudio.css │ │ ├── arduino-light.css │ │ ├── arta.css │ │ ├── ascetic.css │ │ ├── atelier-cave-dark.css │ │ ├── atelier-cave-light.css │ │ ├── atelier-dune-dark.css │ │ ├── atelier-dune-light.css │ │ ├── atelier-estuary-dark.css │ │ ├── atelier-estuary-light.css │ │ ├── atelier-forest-dark.css │ │ ├── atelier-forest-light.css │ │ ├── atelier-heath-dark.css │ │ ├── atelier-heath-light.css │ │ ├── atelier-lakeside-dark.css │ │ ├── atelier-lakeside-light.css │ │ ├── atelier-plateau-dark.css │ │ ├── atelier-plateau-light.css │ │ ├── atelier-savanna-dark.css │ │ ├── atelier-savanna-light.css │ │ ├── atelier-seaside-dark.css │ │ ├── atelier-seaside-light.css │ │ ├── atelier-sulphurpool-dark.css │ │ ├── atelier-sulphurpool-light.css │ │ ├── atom-one-dark-reasonable.css │ │ ├── atom-one-dark.css │ │ ├── atom-one-light.css │ │ ├── brown-paper.css │ │ ├── brown-papersq.png │ │ ├── codepen-embed.css │ │ ├── color-brewer.css │ │ ├── darcula.css │ │ ├── dark.css │ │ ├── default.css │ │ ├── docco.css │ │ ├── dracula.css │ │ ├── far.css │ │ ├── foundation.css │ │ ├── github-gist.css │ │ ├── github.css │ │ ├── gml.css │ │ ├── googlecode.css │ │ ├── gradient-dark.css │ │ ├── grayscale.css │ │ ├── gruvbox-dark.css │ │ ├── gruvbox-light.css │ │ ├── hopscotch.css │ │ ├── hybrid.css │ │ ├── idea.css │ │ ├── ir-black.css │ │ ├── isbl-editor-dark.css │ │ ├── isbl-editor-light.css │ │ ├── kimbie.dark.css │ │ ├── kimbie.light.css │ │ ├── lightfair.css │ │ ├── lioshi.css │ │ ├── magula.css │ │ ├── mono-blue.css │ │ ├── monokai-sublime.css │ │ ├── monokai.css │ │ ├── night-owl.css │ │ ├── nnfx-dark.css │ │ ├── nnfx.css │ │ ├── nord.css │ │ ├── obsidian.css │ │ ├── ocean.css │ │ ├── paraiso-dark.css │ │ ├── paraiso-light.css │ │ ├── pojoaque.css │ │ ├── pojoaque.jpg │ │ ├── purebasic.css │ │ ├── qtcreator_dark.css │ │ ├── qtcreator_light.css │ │ ├── railscasts.css │ │ ├── rainbow.css │ │ ├── routeros.css │ │ ├── school-book.css │ │ ├── school-book.png │ │ ├── shades-of-purple.css │ │ ├── solarized-dark.css │ │ ├── solarized-light.css │ │ ├── srcery.css │ │ ├── sunburst.css │ │ ├── tomorrow-night-blue.css │ │ ├── tomorrow-night-bright.css │ │ ├── tomorrow-night-eighties.css │ │ ├── tomorrow-night.css │ │ ├── tomorrow.css │ │ ├── vs.css │ │ ├── vs2015.css │ │ ├── xcode.css │ │ ├── xt256.css │ │ └── zenburn.css │ ├── iframe.css │ └── users.css │ ├── errors │ ├── 401.xhtml │ ├── 403.xhtml │ ├── 404.xhtml │ └── 500.xhtml │ ├── images │ ├── icons-1.png │ └── open-id-logos-3.png │ ├── index.xhtml │ └── js │ ├── awa-list.js │ ├── awa.js │ └── highlight.pack.js ├── docker ├── Dockerfile ├── gnat-ada-bionic │ └── Dockerfile └── gnat-ada-focal │ └── Dockerfile ├── external └── trumbowyg │ └── Trumbowyg-2.26.0.tar.gz └── mkdocs.yml /.alire/awa_blogs.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | with "awa_tags"; 4 | with "awa_comments"; 5 | with "awa_images"; 6 | with "awa_counters"; 7 | library project Awa_Blogs is 8 | Version := Awa.Version; 9 | Name := "awa_blogs"; 10 | for Source_Dirs use ("../awa/plugins/awa-blogs/src", "../awa/plugins/awa-blogs/src/model"); 11 | for Library_Name use Name; 12 | for Library_Kind use Awa.Library_Type; 13 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 14 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 15 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 16 | for Exec_Dir use Awa.Exec_Dir; 17 | package Binder renames Awa.Binder; 18 | package Builder renames Awa.Builder; 19 | package Compiler renames Awa.Compiler; 20 | end Awa_Blogs; 21 | -------------------------------------------------------------------------------- /.alire/awa_changelogs.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Changelogs is 3 | Version := Awa.Version; 4 | Name := "awa_changelogs"; 5 | for Source_Dirs use ("../awa/plugins/awa-changelogs/src", "../awa/plugins/awa-changelogs/src/model"); 6 | for Library_Name use Name; 7 | for Library_Kind use Awa.Library_Type; 8 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 9 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 10 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 11 | for Exec_Dir use Awa.Exec_Dir; 12 | package Binder renames Awa.Binder; 13 | package Builder renames Awa.Builder; 14 | package Compiler renames Awa.Compiler; 15 | end Awa_Changelogs; 16 | -------------------------------------------------------------------------------- /.alire/awa_comments.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Comments is 3 | 4 | Version := awa.Version; 5 | Name := "awa_comments"; 6 | 7 | for Source_Dirs use ("../awa/plugins/awa-comments/src", "../awa/plugins/awa-comments/src/model"); 8 | 9 | for Library_Name use Name; 10 | for Library_Dir use Awa.Library_Dir & "/" & Name; 11 | for Library_Kind use Awa.Library_Type; 12 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 13 | 14 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 15 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 16 | for Exec_Dir use Awa.Exec_Dir; 17 | 18 | package Binder renames AWA.Binder; 19 | package Builder renames AWA.Builder; 20 | package Compiler renames AWA.Compiler; 21 | 22 | end Awa_Comments; 23 | -------------------------------------------------------------------------------- /.alire/awa_counters.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Counters is 3 | Version := Awa.Version; 4 | Name := "awa_counters"; 5 | for Source_Dirs use ("../awa/plugins/awa-counters/src", "../awa/plugins/awa-counters/src/model"); 6 | for Library_Name use Name; 7 | for Library_Kind use Awa.Library_Type; 8 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 9 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 10 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 11 | for Exec_Dir use Awa.Exec_Dir; 12 | package Binder renames Awa.Binder; 13 | package Builder renames Awa.Builder; 14 | package Compiler renames Awa.Compiler; 15 | end Awa_Counters; 16 | -------------------------------------------------------------------------------- /.alire/awa_countries.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Countries is 3 | Version := Awa.Version; 4 | Name := "awa_countries"; 5 | for Source_Dirs use ("../awa/plugins/awa-countries/src", "../awa/plugins/awa-countries/src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Countries; 17 | -------------------------------------------------------------------------------- /.alire/awa_images.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_storages"; 3 | with "awa_jobs"; 4 | library project Awa_Images is 5 | Version := Awa.Version; 6 | Name := "awa_images"; 7 | for Source_Dirs use ("../awa/plugins/awa-images/src", "../awa/plugins/awa-images/src/model"); 8 | for Library_Name use Name; 9 | for Library_Dir use Awa.Library_Dir & "/" & Name; 10 | for Library_Kind use Awa.Library_Type; 11 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 12 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 13 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 14 | for Exec_Dir use Awa.Exec_Dir; 15 | package Binder renames Awa.Binder; 16 | package Builder renames Awa.Builder; 17 | package Compiler renames Awa.Compiler; 18 | end Awa_Images; 19 | -------------------------------------------------------------------------------- /.alire/awa_jobs.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Jobs is 3 | Version := Awa.Version; 4 | Name := "awa_jobs"; 5 | for Source_Dirs use ("../awa/plugins/awa-jobs/src", "../awa/plugins/awa-jobs/src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "../awa/lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "../awa/obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Jobs; 17 | -------------------------------------------------------------------------------- /.alire/awa_questions.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | with "awa_tags"; 4 | library project Awa_Questions is 5 | Version := Awa.Version; 6 | Name := "awa_questions"; 7 | for Source_Dirs use ("../awa/plugins/awa-questions/src", "../awa/plugins/awa-questions/src/model"); 8 | for Library_Name use Name; 9 | for Library_Dir use Awa.Library_Dir & "/" & Name; 10 | for Library_Kind use Awa.Library_Type; 11 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 12 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 13 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 14 | package Binder renames Awa.Binder; 15 | package Builder renames Awa.Builder; 16 | package Compiler renames Awa.Compiler; 17 | end Awa_Questions; 18 | -------------------------------------------------------------------------------- /.alire/awa_settings.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Settings is 3 | Version := Awa.Version; 4 | Name := "awa_settings"; 5 | for Source_Dirs use ("../awa/plugins/awa-settings/src", "../awa/plugins/awa-settings/src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Settings; 17 | -------------------------------------------------------------------------------- /.alire/awa_setup.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | project Awa_Setup is 3 | Version := Awa.Version; 4 | Name := "awa_setup"; 5 | for Source_Dirs use ("../awa/plugins/awa-setup/src"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Setup; 17 | -------------------------------------------------------------------------------- /.alire/awa_storages.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | library project Awa_Storages is 4 | Version := Awa.Version; 5 | Name := "awa_storages"; 6 | for Source_Dirs use ("../awa/plugins/awa-storages/src", "../awa/plugins/awa-storages/src/model"); 7 | for Library_Name use Name; 8 | for Library_Dir use Awa.Library_Dir & "/" & Name; 9 | for Library_Kind use Awa.Library_Type; 10 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 11 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 12 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 13 | for Exec_Dir use Awa.Exec_Dir; 14 | package Binder renames Awa.Binder; 15 | package Builder renames Awa.Builder; 16 | package Compiler renames Awa.Compiler; 17 | end Awa_Storages; 18 | -------------------------------------------------------------------------------- /.alire/awa_tags.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Tags is 3 | Version := Awa.Version; 4 | Name := "awa_tags"; 5 | for Source_Dirs use ("../awa/plugins/awa-tags/src", "../awa/plugins/awa-tags/src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Tags; 17 | -------------------------------------------------------------------------------- /.alire/awa_votes.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | library project Awa_Votes is 4 | Version := Awa.Version; 5 | Name := "awa_votes"; 6 | for Source_Dirs use ("../awa/plugins/awa-votes/src", "../awa/plugins/awa-votes/src/model"); 7 | for Library_Name use Name; 8 | for Library_Dir use Awa.Library_Dir & "/" & Name; 9 | for Library_Kind use Awa.Library_Type; 10 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 11 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 12 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Votes; 17 | -------------------------------------------------------------------------------- /.alire/awa_wikis.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | with "awa_tags"; 4 | with "awa_storages"; 5 | with "awa_images"; 6 | with "awa_jobs"; 7 | with "awa_counters"; 8 | 9 | library project Awa_Wikis is 10 | Version := Awa.Version; 11 | Name := "awa_wikis"; 12 | for Source_Dirs use ("../awa/plugins/awa-wikis/src", "../awa/plugins/awa-wikis/src/model"); 13 | for Library_Name use Name; 14 | for Library_Dir use Awa.Library_Dir & "/" & Name; 15 | for Library_Kind use Awa.Library_Type; 16 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 17 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 18 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 19 | for Exec_Dir use Awa.Exec_Dir; 20 | package Binder renames Awa.Binder; 21 | package Builder renames Awa.Builder; 22 | package Compiler renames Awa.Compiler; 23 | end Awa_Wikis; 24 | -------------------------------------------------------------------------------- /.alire/awa_workspaces.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Workspaces is 3 | Version := Awa.Version; 4 | Name := "awa_workspaces"; 5 | for Source_Dirs use ("../awa/plugins/awa-workspaces/src", "../awa/plugins/awa-workspaces/src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "../lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "../obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Workspaces; 17 | -------------------------------------------------------------------------------- /.alire/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa 3 | Stephane.Carrez@gmail.com 4 | apache 5 | Stephane Carrez 6 | ../awa 7 | ../awa/db 8 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ada-util"] 2 | path = ada-util 3 | url = https://github.com/stcarrez/ada-util.git 4 | [submodule "ada-el"] 5 | path = ada-el 6 | url = https://github.com/stcarrez/ada-el.git 7 | [submodule "ada-wiki"] 8 | path = ada-wiki 9 | url = https://github.com/stcarrez/ada-wiki.git 10 | [submodule "ada-security"] 11 | path = ada-security 12 | url = https://github.com/stcarrez/ada-security.git 13 | [submodule "ada-asf"] 14 | path = ada-asf 15 | url = https://github.com/stcarrez/ada-asf.git 16 | [submodule "ada-ado"] 17 | path = ada-ado 18 | url = https://github.com/stcarrez/ada-ado.git 19 | [submodule "dynamo"] 20 | path = dynamo 21 | url = https://github.com/stcarrez/dynamo.git 22 | [submodule "ada-servlet"] 23 | path = ada-servlet 24 | url = https://github.com/stcarrez/ada-servlet.git 25 | [submodule "swagger-ada"] 26 | path = openapi-ada 27 | url = https://github.com/stcarrez/swagger-ada.git 28 | [submodule "ada-lzma"] 29 | path = ada-lzma 30 | url = https://github.com/stcarrez/ada-lzma.git 31 | [submodule "ada-keystore"] 32 | path = ada-keystore 33 | url = https://github.com/stcarrez/ada-keystore.git 34 | -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | version: 2 2 | 3 | build: 4 | os: ubuntu-22.04 5 | tools: 6 | python: "3.11" 7 | 8 | mkdocs: 9 | configuration: mkdocs.yml 10 | 11 | python: 12 | install: 13 | - requirements: awa/docs/requirements.txt 14 | -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- 1 | Ada Web Application 2 | Copyright 2009-2021 Stephane Carrez 3 | 4 | This product includes software developed by: 5 | Stephane Carrez (https://blog.vacs.fr/). 6 | 7 | ------------------------------------------------------------------------ 8 | See the file LICENSE.txt 9 | See licenses for accompanying products in the "/licenses" subdirectory. 10 | ------------------------------------------------------------------------ 11 | 12 | -------------------------------------------------------------------------------- /alire-setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | CONVERT=`which convert` 4 | USE_CONVERT="-unused" 5 | USE_MAGICK="-unused" 6 | if test x"$CONVERT" != x; then 7 | USE_CONVERT="" 8 | else 9 | MAGICK=`which magick` 10 | if test x"$MAGICK" != x; then 11 | USE_MAGICK="" 12 | fi 13 | fi 14 | sed -e "s,@USE_CONVERT@,$USE_CONVERT,g" \ 15 | -e "s,@USE_MAGICK@,$USE_MAGICK,g" \ 16 | awa/plugins/awa-images/config/images.xml.in > awa/plugins/awa-images/config/images.xml 17 | -------------------------------------------------------------------------------- /awa/NOTICE.txt: -------------------------------------------------------------------------------- 1 | Ada Web Application 2 | Copyright 2009-2019 Stephane Carrez 3 | 4 | This product includes software developed by: 5 | Stephane Carrez (http://blog.vacs.fr/). 6 | 7 | ------------------------------------------------------------------------ 8 | See the file LICENSE.txt 9 | See licenses for accompanying products in the "/licenses" subdirectory. 10 | ------------------------------------------------------------------------ 11 | 12 | -------------------------------------------------------------------------------- /awa/awa.gpr: -------------------------------------------------------------------------------- 1 | with "awa_config"; 2 | with "utilada_sys"; 3 | with "elada"; 4 | with "wikiada"; 5 | with "ado"; 6 | with "asf"; 7 | with "security"; 8 | with "keystoreada"; 9 | 10 | library project Awa is 11 | 12 | Name := "awa"; 13 | Version := "2.5.0"; 14 | Library_Dir := "lib"; 15 | Library_Type : Awa_Config.Library_Type_Type := external ("AWA_LIBRARY_TYPE", "static"); 16 | Exec_Dir := Awa_Config'Exec_Dir & "/bin"; 17 | 18 | Aws_Status : Awa_Config.Yes_No := "yes"; 19 | SMTP_SSL_Status : Awa_Config.Yes_No := "no"; 20 | 21 | for Source_Dirs use ("src", "src/model"); 22 | 23 | for Library_Name use Name; 24 | for Library_Dir use Library_Dir & "/" & Name; 25 | for Library_Kind use Library_Type; 26 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 27 | 28 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 29 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 30 | for Exec_Dir use Project'Exec_Dir; 31 | 32 | package Binder renames Awa_Config.Binder; 33 | package Builder renames Awa_Config.Builder; 34 | package Compiler renames Awa_Config.Compiler; 35 | 36 | end Awa; 37 | -------------------------------------------------------------------------------- /awa/awa.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /awa/bundles/commands.properties: -------------------------------------------------------------------------------- 1 | command_user_list_name=Name:20 2 | command_user_list_id=Id:6 3 | command_user_list_email=Email:25 4 | command_user_list_status=Status:7 5 | command_user_list_acl_count=ACL:6 6 | command_user_list_auth_count=Login Count:15 7 | command_user_list_last_login=Last login:23 8 | command_session_list_id=Id:6 9 | command_session_list_name=Name:20 10 | command_session_list_session_id=Session:8 11 | command_session_list_start_date=Start date:23 12 | command_session_list_end_date=End date:23 13 | command_session_list_auth_date=Auth date:23 14 | command_job_list_id=Id:8 15 | command_job_list_name=Name:10 16 | command_job_list_status=Status:7 17 | command_job_list_create_date=Created:25 18 | command_job_list_start_date=Started:23 19 | command_job_list_finish_date=Duration:23 20 | command_job_list_user_id=User:8 21 | command_job_list_uname=User:15 22 | command_audit_list_date=Date:23 23 | command_audit_list_entity_id=Entity:8 24 | command_audit_list_name=Table:25 25 | command_audit_list_field=Field:20 26 | command_audit_list_old_value=Old value:20 27 | command_audit_list_new_value=New value:20 28 | 29 | -------------------------------------------------------------------------------- /awa/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | NAME=awa.cov 3 | alr exec -- lcov --quiet --base-directory . --directory . \ 4 | --no-external \ 5 | --exclude '*/' \ 6 | --exclude '*/b__*.adb' \ 7 | --exclude '*/samples/*' \ 8 | --exclude '*/awaunit/*' \ 9 | --exclude '*/ada-util/*' \ 10 | --exclude '*/ada-el/*' \ 11 | --exclude '*/ada-servlet/*' \ 12 | --exclude '*/ada-security/*' \ 13 | --exclude '*/ada-wiki/*' \ 14 | --exclude '*/ada-asf/*' \ 15 | --exclude '*/ada-keystore/*' \ 16 | --exclude '*/openapi-ada/*' \ 17 | --exclude '*/ada-ado/*' \ 18 | --exclude '*/model/*' \ 19 | --exclude '*/regtests*' -c -o $NAME 20 | rm -rf cover 21 | genhtml --quiet --ignore-errors source -o ./cover -t "test coverage" --num-spaces 4 $NAME 22 | 23 | -------------------------------------------------------------------------------- /awa/db/command-audits.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | List audit records 4 | 5 | 6 | 7 | List the last audit fields 8 | 9 | SELECT 10 | au.date, 11 | au.entity_id, 12 | ent.name, 13 | field.name AS field, 14 | au.old_value, 15 | au.new_value 16 | FROM awa_audit AS au 17 | INNER JOIN awa_audit_field AS field ON field.id = au.field 18 | INNER JOIN ado_entity_type AS ent ON ent.id = au.entity_type 19 | ORDER by au.date DESC LIMIT 100 20 | 21 | 22 | SELECT 23 | count(au.id) 24 | FROM awa_audit AS au 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /awa/db/command-sessions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | List of sessions 4 | 5 | 6 | 7 | Get the list of sessions 8 | 9 | SELECT 10 | u.id AS id, 11 | u.name AS name, 12 | session.id AS session_id, 13 | session.start_date AS start_date, 14 | session.end_date AS end_date, 15 | auth.start_date AS auth_date 16 | FROM awa_session AS session 17 | INNER JOIN awa_user AS u ON session.user_id = u.id 18 | INNER JOIN awa_session AS auth ON session.auth_id = auth.id 19 | WHERE session.stype = 0 20 | 21 | 22 | SELECT 23 | count(session.id) 24 | FROM awa_session AS session WHERE session.stype = 0 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /awa/db/command-users.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | List of users 4 | 5 | 6 | 7 | Get the list of users with login sessions 8 | 9 | SELECT 10 | u.id AS id, 11 | u.name AS name, 12 | u.status AS status, 13 | email.email AS email, 14 | (SELECT COUNT(*) FROM awa_acl AS acl 15 | WHERE u.id = acl.user_id) AS acl_count, 16 | (SELECT COUNT(*) FROM awa_session AS session 17 | WHERE session.user_id = u.id AND session.stype = 1) AS auth_count, 18 | (SELECT MAX(session.start_date) FROM awa_session AS session 19 | WHERE session.user_id = u.id AND session.stype = 1) AS last_login 20 | FROM awa_user AS u 21 | LEFT JOIN awa_email AS email ON u.email_id = email.id 22 | 23 | 24 | SELECT 25 | count(u.id) 26 | FROM awa_user AS u 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /awa/db/migrate/awa-0.4-migrate.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE awa_access_key CHANGE `expire_date` `expire_date` DATE NOT NULL; 2 | ALTER TABLE awa_store_local CHANGE `expire_date` `expire_date` DATE NOT NULL; 3 | 4 | /* File generated automatically by dynamo */ 5 | /* The tag definition. */ 6 | CREATE TABLE awa_tag ( 7 | /* the tag identifier */ 8 | `id` BIGINT NOT NULL, 9 | /* the tag name */ 10 | `name` VARCHAR(255) BINARY NOT NULL, 11 | PRIMARY KEY (`id`) 12 | ); 13 | /* */ 14 | CREATE TABLE awa_tagged_entity ( 15 | /* the tag entity identifier */ 16 | `id` BIGINT NOT NULL, 17 | /* Title: Tag model 18 | Date: 2013-02-23the database entity to which the tag is associated */ 19 | `for_entity_id` BIGINT NOT NULL, 20 | /* the entity type */ 21 | `entity_type` INTEGER NOT NULL, 22 | /* */ 23 | `tag_id` BIGINT NOT NULL, 24 | PRIMARY KEY (`id`) 25 | ); 26 | INSERT INTO entity_type (name) VALUES 27 | ("awa_tag") 28 | ,("awa_tagged_entity") 29 | ; 30 | -------------------------------------------------------------------------------- /awa/db/migrate/awa-2.0-migrate.sql: -------------------------------------------------------------------------------- 1 | /* Migrate from AWA 2.0 to AWA 2.1 */ 2 | 3 | ALTER TABLE awa_post CHANGE `summary` `summary` VARCHAR(4096) BINARY NOT NULL; 4 | -------------------------------------------------------------------------------- /awa/db/migrate/awa/2/1-mysql-user-status.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE awa_user ADD COLUMN `status` TINYINT NOT NULL DEFAULT 1; 2 | INSERT IGNORE INTO awa_audit_field (entity_type, name) 3 | VALUES ((SELECT id FROM ado_entity_type WHERE name = "awa_user"), "status"); 4 | -------------------------------------------------------------------------------- /awa/db/migrate/awa/2/1-postgresql-user-status.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE awa_user ADD COLUMN "status" SMALLINT NOT NULL DEFAULT 1; 2 | INSERT INTO awa_audit_field (entity_type, name) 3 | VALUES ((SELECT id FROM ado_entity_type WHERE name = 'awa_user'), 'status') 4 | ON CONFLICT DO NOTHING; 5 | -------------------------------------------------------------------------------- /awa/db/migrate/awa/2/1-sqlite-user-status.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE awa_user ADD COLUMN `status` TINYINT NOT NULL DEFAULT 1; 2 | INSERT OR IGNORE INTO awa_audit_field (entity_type, name) 3 | VALUES ((SELECT id FROM ado_entity_type WHERE name = "awa_user"), "status"); 4 | -------------------------------------------------------------------------------- /awa/db/migrate/awa/2/depend.conf: -------------------------------------------------------------------------------- 1 | ado:2 2 | -------------------------------------------------------------------------------- /awa/db/migrate/awa/3/depend.conf: -------------------------------------------------------------------------------- 1 | ado:2 2 | -------------------------------------------------------------------------------- /awa/db/mysql/awa-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_user`; 3 | DROP TABLE IF EXISTS `awa_session`; 4 | DROP TABLE IF EXISTS `awa_email`; 5 | DROP TABLE IF EXISTS `awa_authenticate`; 6 | DROP TABLE IF EXISTS `awa_access_key`; 7 | DROP TABLE IF EXISTS `awa_permission`; 8 | DROP TABLE IF EXISTS `awa_acl`; 9 | DROP TABLE IF EXISTS `awa_oauth_session`; 10 | DROP TABLE IF EXISTS `awa_callback`; 11 | DROP TABLE IF EXISTS `awa_application`; 12 | DROP TABLE IF EXISTS `awa_queue`; 13 | DROP TABLE IF EXISTS `awa_message_type`; 14 | DROP TABLE IF EXISTS `awa_message`; 15 | DROP TABLE IF EXISTS `awa_audit_field`; 16 | DROP TABLE IF EXISTS `awa_audit`; 17 | -------------------------------------------------------------------------------- /awa/db/mysql/mysql.cnf: -------------------------------------------------------------------------------- 1 | [client] 2 | host = localhost 3 | user = awa_user 4 | password = 5 | database = awa_test 6 | 7 | 8 | -------------------------------------------------------------------------------- /awa/db/postgresql/awa-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_user; 3 | DROP TABLE IF EXISTS awa_session; 4 | DROP TABLE IF EXISTS awa_email; 5 | DROP TABLE IF EXISTS awa_authenticate; 6 | DROP TABLE IF EXISTS awa_access_key; 7 | DROP TABLE IF EXISTS awa_permission; 8 | DROP TABLE IF EXISTS awa_acl; 9 | DROP TABLE IF EXISTS awa_oauth_session; 10 | DROP TABLE IF EXISTS awa_callback; 11 | DROP TABLE IF EXISTS awa_application; 12 | DROP TABLE IF EXISTS awa_queue; 13 | DROP TABLE IF EXISTS awa_message_type; 14 | DROP TABLE IF EXISTS awa_message; 15 | DROP TABLE IF EXISTS awa_audit_field; 16 | DROP TABLE IF EXISTS awa_audit; 17 | -------------------------------------------------------------------------------- /awa/db/queue-messages.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Get the list of messages 4 | 5 | 6 | 7 | Get the messages which have been queued on a given message queue 8 | 9 | SELECT 10 | m.id, 11 | m.version, 12 | m.priority, 13 | m.server_id, 14 | m.task_id, 15 | m.parameters, 16 | m.create_date, 17 | m.processing_date, 18 | m.finish_date, 19 | m.status, 20 | m.entity_type, 21 | m.entity_id, 22 | m.message_type_id, 23 | m.user_id, 24 | m.session_id, 25 | m.queue_id 26 | FROM awa_message AS m 27 | WHERE m.status = 0 AND m.queue_id = :queue 28 | ORDER BY m.priority DESC, m.id ASC LIMIT :max 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /awa/db/sqlite/awa-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_user`; 3 | DROP TABLE IF EXISTS `awa_session`; 4 | DROP TABLE IF EXISTS `awa_email`; 5 | DROP TABLE IF EXISTS `awa_authenticate`; 6 | DROP TABLE IF EXISTS `awa_access_key`; 7 | DROP TABLE IF EXISTS `awa_permission`; 8 | DROP TABLE IF EXISTS `awa_acl`; 9 | DROP TABLE IF EXISTS `awa_oauth_session`; 10 | DROP TABLE IF EXISTS `awa_callback`; 11 | DROP TABLE IF EXISTS `awa_application`; 12 | DROP TABLE IF EXISTS `awa_queue`; 13 | DROP TABLE IF EXISTS `awa_message_type`; 14 | DROP TABLE IF EXISTS `awa_message`; 15 | DROP TABLE IF EXISTS `awa_audit_field`; 16 | DROP TABLE IF EXISTS `awa_audit`; 17 | -------------------------------------------------------------------------------- /awa/docs/AWA_Changelogs.md: -------------------------------------------------------------------------------- 1 | # Changelogs Module 2 | The Changelog module associate logs produced by users to any database entity. 3 | It is intended to be used to track changes and produce a change log for actions performed 4 | by users. The change log entry can be associated with specific database entities so 5 | that each database entity can have its own change log history. 6 | 7 | ## Model 8 | ![](http://ada-awa.googlecode.com/svn/wiki/awa_changelogs_model.png) 9 | 10 | 11 | -------------------------------------------------------------------------------- /awa/docs/AWA_Countries.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | The Countries module defines a database model to represent countries and regions. 3 | 4 | 5 | -------------------------------------------------------------------------------- /awa/docs/awa-book.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/awa-book.pdf -------------------------------------------------------------------------------- /awa/docs/images/OAuthAuthenticateFlow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/OAuthAuthenticateFlow.png -------------------------------------------------------------------------------- /awa/docs/images/awa-features.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa-features.png -------------------------------------------------------------------------------- /awa/docs/images/awa_architecture_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_architecture_overview.png -------------------------------------------------------------------------------- /awa/docs/images/awa_blogs_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_blogs_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_blogs_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_blogs_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_changelogs_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_changelogs_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_comments_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_comments_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_comments_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_comments_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_counters_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_counters_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_counters_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_counters_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_countries_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_countries_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_country_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_country_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_events_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_events_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_images_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_images_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_jobs_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_jobs_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_mail_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_mail_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_oauth_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_oauth_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_permissions_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_permissions_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_questions_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_questions_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_questions_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_questions_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_settings_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_settings_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_settings_module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_settings_module.png -------------------------------------------------------------------------------- /awa/docs/images/awa_storages_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_storages_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_storages_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_storages_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_storages_module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_storages_module.png -------------------------------------------------------------------------------- /awa/docs/images/awa_tags_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_tags_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_user_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_user_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_users_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_users_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_votes_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_votes_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_votes_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_votes_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_wikis_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_wikis_bean.png -------------------------------------------------------------------------------- /awa/docs/images/awa_wikis_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_wikis_model.png -------------------------------------------------------------------------------- /awa/docs/images/awa_workspace_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/awa_workspace_model.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-argouml-review-tagged.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-argouml-review-tagged.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-argouml-setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-argouml-setup.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-argouml-text-tagged.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-argouml-text-tagged.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-eclipse-project-explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-eclipse-project-explorer.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-model-review_list_bean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-model-review_list_bean.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-request-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-request-flow.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-review-list-flow-800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-review-list-flow-800.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-uml-review-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-uml-review-model.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-uml-review-table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-uml-review-table.png -------------------------------------------------------------------------------- /awa/docs/images/demo-awa-use-case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/docs/images/demo-awa-use-case.png -------------------------------------------------------------------------------- /awa/docs/pagebreak.tex: -------------------------------------------------------------------------------- 1 | \newpage 2 | -------------------------------------------------------------------------------- /awa/docs/requirements.txt: -------------------------------------------------------------------------------- 1 | mkdocs==1.6.1 2 | mkdocs-material==9.5.34 3 | Pygments==2.18.0 4 | pymdown-extensions==10.9 5 | markdown==3.7 6 | mkdocs-markdownextradata-plugin==0.2.6 7 | markdown-include==0.8.1 8 | mkdocs-redirects==1.2.1 9 | jinja2==3.1.4 10 | -------------------------------------------------------------------------------- /awa/docs/title.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Ada Web Application Programmer's Guide" 3 | author: [Stephane Carrez] 4 | date: 2022-08-02 5 | subject: "Ada Web Application" 6 | tags: [Ada, Security, Permission, OAuth2, Web, Services, Jobs, Users, Mail, Events, Wikis] 7 | titlepage: true 8 | titlepage-color: 06386e 9 | titlepage-text-color: FFFFFF 10 | titlepage-rule-color: FFFFFF 11 | titlepage-rule-height: 1 12 | ... 13 | -------------------------------------------------------------------------------- /awa/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa 3 | 3 4 | docs/links.txt 5 | Stephane.Carrez@gmail.com 6 | apache 7 | Stephane Carrez 8 | mysql://localhost:3306/awa_test?user=awa_user 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_blogs_dir=$(ROOTDIR)/plugins/awa-blogs 6 | awa_blogs_dynamo=--package AWA.Blogs.Models db ../../uml/awa.zargo 7 | awa_blogs_install_dirs=config db bundles web 8 | 9 | $(eval $(call awa_plugin,awa_blogs)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/awa_blogs.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | with "awa_tags"; 4 | with "awa_comments"; 5 | with "awa_images"; 6 | with "awa_counters"; 7 | library project Awa_Blogs is 8 | Version := Awa.Version; 9 | Name := "awa_blogs"; 10 | for Source_Dirs use ("src", "src/model"); 11 | for Library_Name use Name; 12 | for Library_Kind use Awa.Library_Type; 13 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 14 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 15 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 16 | for Exec_Dir use Awa.Exec_Dir; 17 | package Binder renames Awa.Binder; 18 | package Builder renames Awa.Builder; 19 | package Compiler renames Awa.Compiler; 20 | end Awa_Blogs; 21 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/db/blog-tags.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Get the list of tags associated with all the database entities of a given type 5 | 6 | SELECT 7 | t.name, count(e.id) 8 | FROM awa_post AS p 9 | INNER JOIN awa_tagged_entity AS e ON e.entity_id = p.id AND e.entity_type = :entity_type 10 | INNER JOIN awa_tag AS t ON t.id = e.tag_id 11 | WHERE p.status > 0 12 | GROUP BY t.id 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/db/mysql/awa-blogs-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_post`; 3 | DROP TABLE IF EXISTS `awa_blog`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/db/postgresql/awa-blogs-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_post; 3 | DROP TABLE IF EXISTS awa_blog; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/db/sqlite/awa-blogs-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_post`; 3 | DROP TABLE IF EXISTS `awa_blog`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-blogs 3 | 1 4 | Stephane.Carrez@gmail.com 5 | none 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/blogs/admin/forms/blog-create-form-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | [ 20 | { "action": "redirect", "url": "#{contextPath}/blogs/admin/list.html" } 21 | ] 22 | 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/blogs/admin/forms/comment-delete-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | [ 20 | { "action": "delete", "id": "#c_#{blogDeleteComment.id}" }, 21 | { "action": "closeDialog", "id": "#deleteDialog_#{blogDeleteComment.id}" }, 22 | { "action": "clear", "id": "#message" } 23 | ] 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/blogs/admin/forms/post-delete-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | [ 20 | { "action": "delete", "id": "#p_#{post.id}" }, 21 | { "action": "closeDialog", "id": "#deleteDialog_#{post.id}" }, 22 | { "action": "clear", "id": "#message" } 23 | ] 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/blogs/admin/lists/tag-search.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | 20 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/blogs/admin/views/post-stats.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 20 | 21 | 22 | 23 | {"data":[["#{stat.date}", #{stat.count}],[0,0]]} 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/blogs/index.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | 20 | -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/blog-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/blog-icon.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/check-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/check-on.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/check-wrn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/check-wrn.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/ico_comm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/ico_comm.gif -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/ico_entry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/ico_entry.gif -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-check-box-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-check-box-green.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-check-box-grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-check-box-grey.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-check-box-orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-check-box-orange.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-check-box-red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-check-box-red.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-post-comments-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-post-comments-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-post-create-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-post-create-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-post-list-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-post-list-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-spam-grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-spam-grey.png -------------------------------------------------------------------------------- /awa/plugins/awa-blogs/web/images/blogs/icon-spam-red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-blogs/web/images/blogs/icon-spam-red.png -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_changelogs_dir=$(ROOTDIR)/plugins/awa-changelogs 6 | awa_changelogs_dynamo=--package AWA.Changelogs.Models db ../../uml/awa.zargo 7 | awa_changelogs_install_dirs=config db 8 | 9 | $(eval $(call awa_plugin,awa_changelogs)) 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/awa_changelogs.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Changelogs is 3 | Version := Awa.Version; 4 | Name := "awa_changelogs"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Kind use Awa.Library_Type; 8 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 9 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 10 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 11 | for Exec_Dir use Awa.Exec_Dir; 12 | package Binder renames Awa.Binder; 13 | package Builder renames Awa.Builder; 14 | package Compiler renames Awa.Compiler; 15 | end Awa_Changelogs; 16 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/config/changelogs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/db/mysql/awa-changelogs-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_changelog`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/db/mysql/awa-changelogs-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* */ 3 | CREATE TABLE IF NOT EXISTS awa_changelog ( 4 | /* the changelog identifier. */ 5 | `id` BIGINT NOT NULL, 6 | /* the changelog date. */ 7 | `date` DATETIME NOT NULL, 8 | /* the changelog text. */ 9 | `text` VARCHAR(255) BINARY NOT NULL, 10 | /* the optional entity to which the changelog is associated. */ 11 | `for_entity_id` BIGINT NOT NULL, 12 | /* */ 13 | `user_id` BIGINT NOT NULL, 14 | /* */ 15 | `entity_type` INTEGER NOT NULL, 16 | PRIMARY KEY (`id`) 17 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 18 | INSERT IGNORE INTO ado_entity_type (name) VALUES 19 | ("awa_changelog"); 20 | INSERT IGNORE INTO ado_version (name, version) VALUES ("awa-changelogs", 1); 21 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/db/postgresql/awa-changelogs-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_changelog; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/db/postgresql/awa-changelogs-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* */ 3 | CREATE TABLE IF NOT EXISTS awa_changelog ( 4 | /* the changelog identifier. */ 5 | "id" BIGINT NOT NULL, 6 | /* the changelog date. */ 7 | "date" TIMESTAMP NOT NULL, 8 | /* the changelog text. */ 9 | "text" VARCHAR(255) NOT NULL, 10 | /* the optional entity to which the changelog is associated. */ 11 | "for_entity_id" BIGINT NOT NULL, 12 | /* */ 13 | "user_id" BIGINT NOT NULL, 14 | /* */ 15 | "entity_type" INTEGER NOT NULL, 16 | PRIMARY KEY ("id") 17 | ); 18 | INSERT INTO ado_entity_type (name) VALUES 19 | ('awa_changelog') 20 | ON CONFLICT DO NOTHING; 21 | INSERT INTO ado_version (name, version) 22 | VALUES ("awa-changelogs", 1) 23 | ON CONFLICT DO NOTHING; 24 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/db/sqlite/awa-changelogs-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_changelog`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/db/sqlite/awa-changelogs-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* */ 3 | CREATE TABLE IF NOT EXISTS awa_changelog ( 4 | /* the changelog identifier. */ 5 | `id` BIGINT NOT NULL, 6 | /* the changelog date. */ 7 | `date` DATETIME NOT NULL, 8 | /* the changelog text. */ 9 | `text` VARCHAR(255) NOT NULL, 10 | /* the optional entity to which the changelog is associated. */ 11 | `for_entity_id` BIGINT NOT NULL, 12 | /* */ 13 | `user_id` BIGINT NOT NULL, 14 | /* */ 15 | `entity_type` INTEGER NOT NULL, 16 | PRIMARY KEY (`id`) 17 | ); 18 | INSERT OR IGNORE INTO ado_entity_type (name) VALUES ("awa_changelog"); 19 | INSERT OR IGNORE INTO ado_version (name, version) VALUES ("awa-changelogs", 1); 20 | -------------------------------------------------------------------------------- /awa/plugins/awa-changelogs/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-changelogs 3 | 1 4 | Stephane.Carrez@gmail.com 5 | Apache 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_comments_dir=$(ROOTDIR)/plugins/awa-comments 6 | awa_comments_dynamo=--package AWA.Comments.Models db ../../uml/awa.zargo 7 | awa_comments_install_dirs=config db bundles web 8 | 9 | $(eval $(call awa_plugin,awa_comments)) 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/awa_comments.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Comments is 3 | 4 | Version := awa.Version; 5 | Name := "awa_comments"; 6 | 7 | for Source_Dirs use ("src", "src/model"); 8 | 9 | for Library_Name use Name; 10 | for Library_Dir use Awa.Library_Dir & "/" & Name; 11 | for Library_Kind use Awa.Library_Type; 12 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 13 | 14 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 15 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 16 | for Exec_Dir use Awa.Exec_Dir; 17 | 18 | package Binder renames AWA.Binder; 19 | package Builder renames AWA.Builder; 20 | package Compiler renames AWA.Compiler; 21 | 22 | end Awa_Comments; 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/bundles/comments.properties: -------------------------------------------------------------------------------- 1 | comment_add_button=Add comment 2 | comment_edit_label=Edit 3 | comment_publish_label=Publish 4 | comment_spam_label=Spam 5 | comment_wait_label=Waiting 6 | comment_delete_label=Delete 7 | 8 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/bundles/comments_fr.properties: -------------------------------------------------------------------------------- 1 | comment_add_button=Ajouter un commentaire 2 | comment_edit_label=Editer 3 | comment_publish_label=Publier 4 | comment_spam_label=Spam 5 | comment_wait_label=En attente 6 | comment_delete_label=Supprimer 7 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/config/comments.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/db/mysql/awa-comments-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_comment`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/db/postgresql/awa-comments-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_comment; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/db/sqlite/awa-comments-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_comment`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-comments/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-comments 3 | 1 4 | Stephane.Carrez@gmail.com 5 | TRUE 6 | Stephane Carrez 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_counters_dir=$(ROOTDIR)/plugins/awa-counters 6 | awa_counters_dynamo=--package AWA.Counters.Models db ../../uml/awa.zargo 7 | awa_counters_install_dirs=config db 8 | 9 | $(eval $(call awa_plugin,awa_counters)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/awa_counters.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Counters is 3 | Version := Awa.Version; 4 | Name := "awa_counters"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Kind use Awa.Library_Type; 8 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 9 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 10 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 11 | for Exec_Dir use Awa.Exec_Dir; 12 | package Binder renames Awa.Binder; 13 | package Builder renames Awa.Builder; 14 | package Compiler renames Awa.Compiler; 15 | end Awa_Counters; 16 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/config/counters.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | counters.counter_age_limit 6 | 300 7 | 8 | The maximum age limit in seconds for a pending counter increment to stay in 9 | the internal table. When a pending counter reaches this age limit, the pending 10 | counter increments are flushed and the table is cleared. The default is 5 minutes. 11 | 12 | 13 | 14 | 15 | counters.counter_limit 16 | 1000 17 | 18 | The maximum number of different counters which can be stored in the internal 19 | table before flushing the pending increments to the database. When this limit is 20 | reached, the pending counter increments are flushed and the table is cleared. 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/db/mysql/awa-counters-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_visit`; 3 | DROP TABLE IF EXISTS `awa_counter_definition`; 4 | DROP TABLE IF EXISTS `awa_counter`; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/db/postgresql/awa-counters-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_visit; 3 | DROP TABLE IF EXISTS awa_counter_definition; 4 | DROP TABLE IF EXISTS awa_counter; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/db/sqlite/awa-counters-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_visit`; 3 | DROP TABLE IF EXISTS `awa_counter_definition`; 4 | DROP TABLE IF EXISTS `awa_counter`; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-counters/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-counters 3 | 1 4 | Stephane.Carrez@gmail.com 5 | apache 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_countries_dir=$(ROOTDIR)/plugins/awa-countries 6 | awa_countries_dynamo=--package AWA.Countries.Models db ../../uml/awa.zargo 7 | awa_countries_install_dirs=db 8 | 9 | $(eval $(call awa_plugin,awa_countries)) 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/awa_countries.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Countries is 3 | Version := Awa.Version; 4 | Name := "awa_countries"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Countries; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/db/mysql/awa-countries-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_region`; 3 | DROP TABLE IF EXISTS `awa_country_neighbor`; 4 | DROP TABLE IF EXISTS `awa_country`; 5 | DROP TABLE IF EXISTS `awa_city`; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/db/postgresql/awa-countries-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_region; 3 | DROP TABLE IF EXISTS awa_country_neighbor; 4 | DROP TABLE IF EXISTS awa_country; 5 | DROP TABLE IF EXISTS awa_city; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/db/sqlite/awa-countries-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_region`; 3 | DROP TABLE IF EXISTS `awa_country_neighbor`; 4 | DROP TABLE IF EXISTS `awa_country`; 5 | DROP TABLE IF EXISTS `awa_city`; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-countries 3 | 1 4 | Stephane.Carrez@gmail.com 5 | apache 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/src/awa-countries.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-countries -- Country module 3 | -- Copyright (C) 2013 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | -- == Introduction == 20 | -- The Countries module defines a database model to represent countries and regions. 21 | -- 22 | package AWA.Countries is 23 | 24 | pragma Preelaborate; 25 | 26 | end AWA.Countries; 27 | -------------------------------------------------------------------------------- /awa/plugins/awa-countries/tools.gpr: -------------------------------------------------------------------------------- 1 | with "../../awa"; 2 | with "awa_countries"; 3 | 4 | project tools is 5 | 6 | Name := "awa-countries"; 7 | Mains := ("import_country.adb"); 8 | for Main use Mains; 9 | for Source_Dirs use ("tools"); 10 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 11 | for Exec_Dir use awa.Exec_Dir; 12 | 13 | package Binder renames awa.Binder; 14 | package Builder renames awa.Builder; 15 | package Compiler renames awa.Compiler; 16 | package Linker renames awa.Linker; 17 | 18 | end tools; 19 | -------------------------------------------------------------------------------- /awa/plugins/awa-easymde/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_easymde_dir=$(ROOTDIR)/plugins/awa-easymde 6 | awa_easymde_install_dirs=web 7 | awa_easymde_install_files=MIT-LICENSE.txt 8 | 9 | $(eval $(call awa_install_plugin,awa_easymde)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-easymde/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-easymde 3 | Stephane.Carrez@gmail.com 4 | MIT 5 | Stephane Carrez 6 | TRUE 7 | -------------------------------------------------------------------------------- /awa/plugins/awa-easymde/web/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-easymde/web/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /awa/plugins/awa-easymde/web/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-easymde/web/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /awa/plugins/awa-easymde/web/webfonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-easymde/web/webfonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /awa/plugins/awa-flotcharts/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_flotcharts_dir=$(ROOTDIR)/plugins/awa-flotcharts 6 | awa_flotcharts_install_dirs=web 7 | 8 | $(eval $(call awa_install_plugin,awa_flotcharts)) 9 | 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-flotcharts/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-flotcharts 3 | Stephane.Carrez@gmail.com 4 | apache 5 | Stephane Carrez 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-flotcharts/web/js/jquery.flot.uiConstants.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 'use strict'; 3 | $.plot.uiConstants = { 4 | SNAPPING_CONSTANT: 20, 5 | PANHINT_LENGTH_CONSTANT: 10, 6 | MINOR_TICKS_COUNT_CONSTANT: 4, 7 | TICK_LENGTH_CONSTANT: 10, 8 | ZOOM_DISTANCE_MARGIN: 25 9 | }; 10 | })(jQuery); 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-images/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_images_dir=$(ROOTDIR)/plugins/awa-images 6 | awa_images_dynamo=--package AWA.Images.Models db ../../uml/awa.zargo 7 | awa_images_install_dirs=config db web 8 | 9 | $(eval $(call awa_plugin,awa_images)) 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-images/awa_images.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_storages"; 3 | with "awa_jobs"; 4 | library project Awa_Images is 5 | Version := Awa.Version; 6 | Name := "awa_images"; 7 | for Source_Dirs use ("src", "src/model"); 8 | for Library_Name use Name; 9 | for Library_Dir use Awa.Library_Dir & "/" & Name; 10 | for Library_Kind use Awa.Library_Type; 11 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 12 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 13 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 14 | for Exec_Dir use Awa.Exec_Dir; 15 | package Binder renames Awa.Binder; 16 | package Builder renames Awa.Builder; 17 | package Compiler renames Awa.Compiler; 18 | end Awa_Images; 19 | -------------------------------------------------------------------------------- /awa/plugins/awa-images/db/mysql/awa-images-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_image`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-images/db/postgresql/awa-images-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_image; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-images/db/sqlite/awa-images-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_image`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-images/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-images 3 | 1 4 | Stephane.Carrez@gmail.com 5 | TRUE 6 | Stephane Carrez 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_jobs_dir=$(ROOTDIR)/plugins/awa-jobs 6 | awa_jobs_dynamo=--package AWA.Jobs.Models db ../../uml/awa.zargo 7 | awa_jobs_install_dirs=config db 8 | 9 | $(eval $(call awa_plugin,awa_jobs)) 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/awa_jobs.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Jobs is 3 | Version := Awa.Version; 4 | Name := "awa_jobs"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Jobs; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/config/jobs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | The jobHandler is the bean that is created to execute a job. 6 | jobHandler 7 | AWA.Jobs.Beans.Process_Bean 8 | request 9 | 10 | 11 | 13 | 14 | #{jobHandler.execute} 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/db/mysql/awa-jobs-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_job`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/db/mysql/awa-jobs-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* The job is associated with a dispatching queue. */ 3 | CREATE TABLE IF NOT EXISTS awa_job ( 4 | /* the job identifier */ 5 | `id` BIGINT NOT NULL, 6 | /* the job status */ 7 | `status` TINYINT NOT NULL, 8 | /* the job name */ 9 | `name` VARCHAR(255) BINARY NOT NULL, 10 | /* the job start date */ 11 | `start_date` DATETIME , 12 | /* the job creation date */ 13 | `create_date` DATETIME NOT NULL, 14 | /* the job finish date */ 15 | `finish_date` DATETIME , 16 | /* the job progress indicator */ 17 | `progress` INTEGER NOT NULL, 18 | /* the job parameters */ 19 | `parameters` TEXT NOT NULL, 20 | /* the job result */ 21 | `results` TEXT NOT NULL, 22 | /* */ 23 | `version` INTEGER NOT NULL, 24 | /* the job priority */ 25 | `priority` INTEGER NOT NULL, 26 | /* */ 27 | `user_id` BIGINT , 28 | /* */ 29 | `event_id` BIGINT , 30 | /* */ 31 | `session_id` BIGINT , 32 | PRIMARY KEY (`id`) 33 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 34 | INSERT IGNORE INTO ado_entity_type (name) VALUES 35 | ("awa_job"); 36 | INSERT IGNORE INTO ado_version (name, version) VALUES ("awa-jobs", 1); 37 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/db/postgresql/awa-jobs-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_job; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/db/sqlite/awa-jobs-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_job`; 3 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/db/sqlite/awa-jobs-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* The job is associated with a dispatching queue. */ 3 | CREATE TABLE IF NOT EXISTS awa_job ( 4 | /* the job identifier */ 5 | `id` BIGINT NOT NULL, 6 | /* the job status */ 7 | `status` TINYINT NOT NULL, 8 | /* the job name */ 9 | `name` VARCHAR(255) NOT NULL, 10 | /* the job start date */ 11 | `start_date` DATETIME , 12 | /* the job creation date */ 13 | `create_date` DATETIME NOT NULL, 14 | /* the job finish date */ 15 | `finish_date` DATETIME , 16 | /* the job progress indicator */ 17 | `progress` INTEGER NOT NULL, 18 | /* the job parameters */ 19 | `parameters` TEXT NOT NULL, 20 | /* the job result */ 21 | `results` TEXT NOT NULL, 22 | /* */ 23 | `version` INTEGER NOT NULL, 24 | /* the job priority */ 25 | `priority` INTEGER NOT NULL, 26 | /* */ 27 | `user_id` BIGINT , 28 | /* */ 29 | `event_id` BIGINT , 30 | /* */ 31 | `session_id` BIGINT , 32 | PRIMARY KEY (`id`) 33 | ); 34 | INSERT OR IGNORE INTO ado_entity_type (name) VALUES ("awa_job"); 35 | INSERT OR IGNORE INTO ado_version (name, version) VALUES ("awa-jobs", 1); 36 | -------------------------------------------------------------------------------- /awa/plugins/awa-jobs/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-jobs 3 | 1 4 | Stephane.Carrez@gmail.com 5 | none 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-mail/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_mail_dir=$(ROOTDIR)/plugins/awa-mail 6 | awa_mail_install_dirs=web 7 | 8 | $(eval $(call awa_plugin,awa_mail)) 9 | -------------------------------------------------------------------------------- /awa/plugins/awa-mail/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-mail 3 | Stephane.Carrez@gmail.com 4 | Stephane Carrez 5 | TRUE 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-mail/src/awa-mail-clients.adb: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-mail-client -- Mail client interface 3 | -- Copyright (C) 2012 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | package body AWA.Mail.Clients is 20 | 21 | function Factory (Name : in String; 22 | Props : in Util.Properties.Manager'Class) 23 | return Mail_Manager_Access is separate; 24 | 25 | end AWA.Mail.Clients; 26 | -------------------------------------------------------------------------------- /awa/plugins/awa-mail/src/awa-mail-components-factory.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-mail-components-factory -- Mail UI Component Factory 3 | -- Copyright (C) 2012 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | with ASF.Factory; 19 | 20 | package AWA.Mail.Components.Factory is 21 | 22 | -- Get the AWA Mail component factory. 23 | function Definition return ASF.Factory.Factory_Bindings_Access; 24 | 25 | end AWA.Mail.Components.Factory; 26 | -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_markedit_dir=$(ROOTDIR)/plugins/awa-markedit 6 | awa_markedit_install_dirs=bundles web 7 | awa_markedit_install_files=MIT-LICENSE.txt 8 | 9 | $(eval $(call awa_install_plugin,awa_markedit)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/awa-markedit.properties: -------------------------------------------------------------------------------- 1 | dynamo_author_email=Stephane.Carrez@gmail.com 2 | dynamo_license=none 3 | dynamo_author=Stephane Carrez 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/bundles/markedit.properties: -------------------------------------------------------------------------------- 1 | header1_label=Header 1 2 | header2_label=Header 2 3 | header3_label=Header 3 4 | header4_label=Header 4 5 | bold_label=Bold item 6 | italic_label=Italic item 7 | inline_label=Inline code item 8 | strike_label=Strike item 9 | underline_label=Underline item 10 | bullet_label=Bullet list 11 | numbered_label=Numbered list 12 | link_label=Link label 13 | link_url=Link URL 14 | markup_header_help=Syntax for headers 15 | markup_text_help=Text style syntax 16 | markup_link_help=Links and images 17 | markup_lists_help=Syntax for lists 18 | insert_label=Inserted 19 | deleted_label=Deleted 20 | image_label=Image label 21 | image_link=Image link 22 | -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/bundles/markedit_fr.properties: -------------------------------------------------------------------------------- 1 | header1_label=En-tête 1 2 | header2_label=En-tête 2 3 | header3_label=En-tête 3 4 | header4_label=En-tête 4 5 | bold_label=Gras 6 | italic_label=Italique 7 | inline_label=Code en ligne 8 | strike_label=Barré 9 | underline_label=Souligné 10 | bullet_label=Liste de points 11 | numbered_label=Liste numérotée 12 | link_label=Lien 13 | link_url=URL du lien 14 | markup_header_help=Syntaxe des en-têtes 15 | markup_text_help=Syntaxe des styles de texte 16 | markup_link_help=Liens et images 17 | markup_lists_help=Syntaxe des listes 18 | insert_label=Insérer 19 | deleted_label=Supprimé 20 | image_label=Nom de l'image 21 | image_link=Lien de l'image -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-markedit 3 | Stephane.Carrez@gmail.com 4 | none 5 | Stephane Carrez 6 | TRUE 7 | -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/web/images/markedit/wmd-buttons-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-markedit/web/images/markedit/wmd-buttons-dark.png -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/web/images/markedit/wmd-buttons-dark.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-markedit/web/images/markedit/wmd-buttons-dark.psd -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/web/images/markedit/wmd-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-markedit/web/images/markedit/wmd-buttons.png -------------------------------------------------------------------------------- /awa/plugins/awa-markedit/web/images/markedit/wmd-buttons.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-markedit/web/images/markedit/wmd-buttons.psd -------------------------------------------------------------------------------- /awa/plugins/awa-questions/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_questions_dir=$(ROOTDIR)/plugins/awa-questions 6 | awa_questions_dynamo=--package AWA.Questions.Models db ../../uml/awa.zargo 7 | awa_questions_install_dirs=config db bundles web 8 | 9 | $(eval $(call awa_plugin,awa_questions)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/awa_questions.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | with "awa_tags"; 4 | library project Awa_Questions is 5 | Version := Awa.Version; 6 | Name := "awa_questions"; 7 | for Source_Dirs use ("src", "src/model"); 8 | for Library_Name use Name; 9 | for Library_Dir use Awa.Library_Dir & "/" & Name; 10 | for Library_Kind use Awa.Library_Type; 11 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 12 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 13 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 14 | package Binder renames Awa.Binder; 15 | package Builder renames Awa.Builder; 16 | package Compiler renames Awa.Compiler; 17 | end Awa_Questions; 18 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/db/mysql/awa-questions-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_question`; 3 | DROP TABLE IF EXISTS `awa_answer`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/db/postgresql/awa-questions-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_question; 3 | DROP TABLE IF EXISTS awa_answer; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/db/sqlite/awa-questions-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_question`; 3 | DROP TABLE IF EXISTS `awa_answer`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-questions 3 | 1 4 | Stephane.Carrez@gmail.com 5 | awa_questions.gpr 6 | none 7 | TRUE 8 | Stephane Carrez 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/web/images/vote-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-questions/web/images/vote-icons.png -------------------------------------------------------------------------------- /awa/plugins/awa-questions/web/questions/forms/delete-question-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 20 | [ 21 | { "action": "redirect", "url": "#{contextPath}/questions/list.html" } 22 | ] 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/web/questions/forms/refresh-answer-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 20 | [ 21 | { "action": "redirect", "url": "#{contextPath}/questions/view/#{answer.question_id}" } 22 | ] 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-questions/web/questions/lists/tag-search.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | 20 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_settings_dir=$(ROOTDIR)/plugins/awa-settings 6 | awa_settings_dynamo=--package AWA.Settings.Models db ../../uml/awa.zargo 7 | awa_settings_install_dirs=config db 8 | 9 | $(eval $(call awa_plugin,awa_settings)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/awa_settings.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Settings is 3 | Version := Awa.Version; 4 | Name := "awa_settings"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Settings; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/config/settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/db/mysql/awa-settings-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_user_setting`; 3 | DROP TABLE IF EXISTS `awa_setting`; 4 | DROP TABLE IF EXISTS `awa_global_setting`; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/db/postgresql/awa-settings-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_user_setting; 3 | DROP TABLE IF EXISTS awa_setting; 4 | DROP TABLE IF EXISTS awa_global_setting; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/db/sqlite/awa-settings-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_user_setting`; 3 | DROP TABLE IF EXISTS `awa_setting`; 4 | DROP TABLE IF EXISTS `awa_global_setting`; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-settings/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-settings 3 | 1 4 | Stephane.Carrez@gmail.com 5 | none 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-setup/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_setup_dir=$(ROOTDIR)/plugins/awa-setup 6 | awa_setup_install_dirs=config bundles web 7 | 8 | $(eval $(call awa_plugin,awa_setup)) 9 | 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-setup/awa_setup.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | project Awa_Setup is 3 | Version := Awa.Version; 4 | Name := "awa_setup"; 5 | for Source_Dirs use ("src"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Setup; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-setup/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-setup 3 | Stephane.Carrez@gmail.com 4 | apache 5 | true 6 | Stephane Carrez 7 | -------------------------------------------------------------------------------- /awa/plugins/awa-setup/setup.properties: -------------------------------------------------------------------------------- 1 | dynamo_author_email=Stephane.Carrez@gmail.com 2 | dynamo_license=apache 3 | dynamo_author=Stephane Carrez 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-setup/web/WEB-INF/layouts/setup-steps.xhtml: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /awa/plugins/awa-setup/web/setup/forms/finish-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 20 | [ 21 | { "action": "hide", "id": "#setup-finish" }, 22 | { "action": "show", "id": "#setup-starting" }, 23 | { "action": "get", "url": "#{contextPath}/setup/forms/finish-redirect.html" } 24 | ] 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_storages_dir=$(ROOTDIR)/plugins/awa-storages 6 | awa_storages_dynamo=--package AWA.Storages.Models db ../../uml/awa.zargo 7 | awa_storages_install_dirs=config db bundles web 8 | 9 | $(eval $(call awa_plugin,awa_storages)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/awa_storages.gpr: -------------------------------------------------------------------------------- 1 | with "awa_workspaces"; 2 | with "awa"; 3 | library project Awa_Storages is 4 | Version := Awa.Version; 5 | Name := "awa_storages"; 6 | for Source_Dirs use ("src", "src/model"); 7 | for Library_Name use Name; 8 | for Library_Dir use Awa.Library_Dir & "/" & Name; 9 | for Library_Kind use Awa.Library_Type; 10 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 11 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 12 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 13 | for Exec_Dir use Awa.Exec_Dir; 14 | package Binder renames Awa.Binder; 15 | package Builder renames Awa.Builder; 16 | package Compiler renames Awa.Compiler; 17 | end Awa_Storages; 18 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/db/mysql/awa-storages-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_store_local`; 3 | DROP TABLE IF EXISTS `awa_storage_folder`; 4 | DROP TABLE IF EXISTS `awa_storage_data`; 5 | DROP TABLE IF EXISTS `awa_storage`; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/db/postgresql/awa-storages-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_store_local; 3 | DROP TABLE IF EXISTS awa_storage_folder; 4 | DROP TABLE IF EXISTS awa_storage_data; 5 | DROP TABLE IF EXISTS awa_storage; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/db/sqlite/awa-storages-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_store_local`; 3 | DROP TABLE IF EXISTS `awa_storage_folder`; 4 | DROP TABLE IF EXISTS `awa_storage_data`; 5 | DROP TABLE IF EXISTS `awa_storage`; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-storages 3 | 1 4 | Stephane.Carrez@gmail.com 5 | awa_storages.gpr 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/doc-private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/doc-private.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/folder.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-document-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-document-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-folder.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-gallery-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-gallery-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-images.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-images.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-internet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-internet.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-pdf-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-pdf-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/images/storages/icon-upload-file-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-storages/web/images/storages/icon-upload-file-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/storages/forms/folder-create-first-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | [ 20 | { "action": "redirect", "url": "#{contextPath}/storages/documents.html" } 21 | ] 22 | 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-storages/web/storages/lists/folder-list.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | 20 |
21 |
#{folder.name}
22 |
23 |
24 |
25 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_sysadmin_dir=$(ROOTDIR)/plugins/awa-sysadmin 6 | awa_sysadmin_dynamo=--package AWA.Sysadmin.Models db ../../uml/awa.zargo 7 | awa_sysadmin_install_dirs=config db web 8 | 9 | $(eval $(call awa_plugin,awa_sysadmin)) 10 | 11 | generate:: 12 | rm -rf $(ROOTDIR)/plugins/awa-sysadmin/db/sqlite \ 13 | $(ROOTDIR)/plugins/awa-sysadmin/db/mysql \ 14 | $(ROOTDIR)/plugins/awa-sysadmin/db/postgresql 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/awa_sysadmin.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "openapi_server"; 3 | 4 | library project Awa_Sysadmin is 5 | Version := awa.Version; 6 | Name := "awa_sysadmin"; 7 | for Source_Dirs use ("src", "src/model"); 8 | for Library_Name use Name; 9 | for Library_Dir use awa.Library_Dir & "/" & Name; 10 | for Library_Kind use awa.Library_Type; 11 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 12 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 13 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 14 | for Exec_Dir use awa.Exec_Dir; 15 | package Binder renames awa.Binder; 16 | package Builder renames awa.Builder; 17 | package Compiler renames awa.Compiler; 18 | end Awa_Sysadmin; 19 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/db/sysadmin-jobs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | List of jobs 4 | 5 | 6 | 7 | Get the list of jobs 8 | 9 | SELECT 10 | job.id, 11 | job.name, 12 | job.status, 13 | job.create_date, 14 | job.start_date, 15 | job.finish_date, 16 | job.user_id, 17 | user.name, 18 | session.start_date, 19 | session.end_date, 20 | auth.start_date 21 | FROM awa_job AS job 22 | LEFT JOIN awa_user AS user ON job.user_id = user.id 23 | 24 | 25 | SELECT 26 | count(job.id) 27 | FROM awa_job AS job 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/db/sysadmin-sessions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | List of sessions 4 | 5 | 6 | 7 | Get the list of sessions 8 | 9 | SELECT 10 | user.id, 11 | user.name, 12 | session.id, 13 | session.start_date, 14 | session.end_date, 15 | auth.start_date 16 | FROM awa_session AS session 17 | INNER JOIN awa_user AS user ON session.user_id = user.id 18 | INNER JOIN awa_session AS auth ON session.auth_id = auth.id 19 | WHERE session.stype = 0 20 | 21 | 22 | SELECT 23 | count(session.id) 24 | FROM awa_session AS session WHERE session.stype = 0 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/db/sysadmin-users.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | List of users pages 4 | 5 | 6 | 7 | Get the list of users with login sessions 8 | 9 | SELECT 10 | user.id, 11 | user.name, 12 | user.first_name, 13 | user.last_name, 14 | email.email, 15 | (SELECT COUNT(*) FROM awa_acl AS acl 16 | WHERE user.id = acl.user_id) AS acl_count, 17 | (SELECT COUNT(*) FROM awa_session AS session 18 | WHERE session.user_id = user.id AND session.stype = 1) AS auth_count, 19 | (SELECT MAX(session.start_date) FROM awa_session AS session 20 | WHERE session.user_id = user.id AND session.stype = 1) AS last_login 21 | FROM awa_user AS user 22 | LEFT JOIN awa_email AS email ON user.email_id = email.id 23 | 24 | 25 | SELECT 26 | count(user.id) 27 | FROM awa_user AS user 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-sysadmin 3 | 1 4 | Stephane.Carrez@gmail.com 5 | awa_wikis.gpr 6 | none 7 | TRUE 8 | Stephane Carrez 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-sysadmin/src/awa-sysadmin.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-sysadmin -- sysadmin module 3 | -- Copyright (C) 2019, 2022 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | package AWA.Sysadmin is 19 | 20 | pragma Pure; 21 | 22 | end AWA.Sysadmin; 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_tags_dir=$(ROOTDIR)/plugins/awa-tags 6 | awa_tags_dynamo=--package AWA.Tags.Models db ../../uml/awa.zargo 7 | awa_tags_install_dirs=config db web 8 | 9 | $(eval $(call awa_plugin,awa_tags)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/Tagedit.license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010, Oliver Albrecht 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /awa/plugins/awa-tags/awa_tags.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Tags is 3 | Version := Awa.Version; 4 | Name := "awa_tags"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Tags; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/config/tags.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/db/mysql/awa-tags-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_tagged_entity`; 3 | DROP TABLE IF EXISTS `awa_tag`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/db/mysql/awa-tags-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* The tag definition. */ 3 | CREATE TABLE IF NOT EXISTS awa_tag ( 4 | /* the tag identifier */ 5 | `id` BIGINT NOT NULL, 6 | /* the tag name */ 7 | `name` VARCHAR(255) BINARY NOT NULL, 8 | PRIMARY KEY (`id`) 9 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 10 | /* */ 11 | CREATE TABLE IF NOT EXISTS awa_tagged_entity ( 12 | /* the tag entity identifier */ 13 | `id` BIGINT NOT NULL, 14 | /* Title: Tag model 15 | Date: 2013-02-23the database entity to which the tag is associated */ 16 | `for_entity_id` BIGINT NOT NULL, 17 | /* the entity type */ 18 | `entity_type` INTEGER NOT NULL, 19 | /* */ 20 | `tag_id` BIGINT NOT NULL, 21 | PRIMARY KEY (`id`) 22 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 23 | INSERT IGNORE INTO ado_entity_type (name) VALUES 24 | ("awa_tag"), ("awa_tagged_entity"); 25 | INSERT IGNORE INTO ado_version (name, version) VALUES ("awa-tags", 1); 26 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/db/postgresql/awa-tags-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_tagged_entity; 3 | DROP TABLE IF EXISTS awa_tag; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/db/postgresql/awa-tags-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* The tag definition. */ 3 | CREATE TABLE IF NOT EXISTS awa_tag ( 4 | /* the tag identifier */ 5 | "id" BIGINT NOT NULL, 6 | /* the tag name */ 7 | "name" VARCHAR(255) NOT NULL, 8 | PRIMARY KEY ("id") 9 | ); 10 | /* */ 11 | CREATE TABLE IF NOT EXISTS awa_tagged_entity ( 12 | /* the tag entity identifier */ 13 | "id" BIGINT NOT NULL, 14 | /* Title: Tag model 15 | Date: 2013-02-23the database entity to which the tag is associated */ 16 | "for_entity_id" BIGINT NOT NULL, 17 | /* the entity type */ 18 | "entity_type" INTEGER NOT NULL, 19 | /* */ 20 | "tag_id" BIGINT NOT NULL, 21 | PRIMARY KEY ("id") 22 | ); 23 | INSERT INTO ado_entity_type (name) VALUES 24 | ('awa_tag'), ('awa_tagged_entity') 25 | ON CONFLICT DO NOTHING; 26 | INSERT INTO ado_version (name, version) 27 | VALUES ("awa-tags", 1) 28 | ON CONFLICT DO NOTHING; 29 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/db/sqlite/awa-tags-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_tagged_entity`; 3 | DROP TABLE IF EXISTS `awa_tag`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/db/sqlite/awa-tags-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* The tag definition. */ 3 | CREATE TABLE IF NOT EXISTS awa_tag ( 4 | /* the tag identifier */ 5 | `id` BIGINT NOT NULL, 6 | /* the tag name */ 7 | `name` VARCHAR(255) NOT NULL, 8 | PRIMARY KEY (`id`) 9 | ); 10 | /* */ 11 | CREATE TABLE IF NOT EXISTS awa_tagged_entity ( 12 | /* the tag entity identifier */ 13 | `id` BIGINT NOT NULL, 14 | /* Title: Tag model 15 | Date: 2013-02-23the database entity to which the tag is associated */ 16 | `for_entity_id` BIGINT NOT NULL, 17 | /* the entity type */ 18 | `entity_type` INTEGER NOT NULL, 19 | /* */ 20 | `tag_id` BIGINT NOT NULL, 21 | PRIMARY KEY (`id`) 22 | ); 23 | INSERT OR IGNORE INTO ado_entity_type (name) VALUES ("awa_tag"); 24 | INSERT OR IGNORE INTO ado_entity_type (name) VALUES ("awa_tagged_entity"); 25 | INSERT OR IGNORE INTO ado_version (name, version) VALUES ("awa-tags", 1); 26 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-tags 3 | 1 4 | Stephane.Carrez@gmail.com 5 | none 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/cross.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/cross.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/delete.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/disc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/disc.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/edit.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/go.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/tick.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/images/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-tags/web/images/undo.png -------------------------------------------------------------------------------- /awa/plugins/awa-tags/web/tags/lists/list.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 24 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2012-2016 Alexandre Demode (Alex-D) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_trumbowyg_dir=$(ROOTDIR)/plugins/awa-trumbowyg 6 | awa_trumbowyg_install_dirs=web 7 | awa_trumbowyg_install_files=MIT-LICENSE.txt 8 | 9 | $(eval $(call awa_install_plugin,awa_trumbowyg)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa_trumbowyg 3 | contact@alex-d.fr 4 | none 5 | Alexandre Demode 6 | TRUE 7 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/highlight/ui/sass/trumbowyg.highlight.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Default stylesheet for Trumbowyg editor plugin 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | .trumbowyg-highlight-form-group { 13 | margin: 15px 10px; 14 | 15 | .trumbowyg-highlight-form-control { 16 | width: 100%; 17 | border: 1px solid #DEDEDE; 18 | font-size: 14px; 19 | padding: 7px; 20 | 21 | &.code { 22 | height: 200px; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Trumbowyg plugin stylesheet 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | .trumbowyg-highlight-form-group { 13 | margin: 15px 10px; } 14 | .trumbowyg-highlight-form-group .trumbowyg-highlight-form-control { 15 | width: 100%; 16 | border: 1px solid #DEDEDE; 17 | font-size: 14px; 18 | padding: 7px; } 19 | .trumbowyg-highlight-form-group .trumbowyg-highlight-form-control.code { 20 | height: 200px; } 21 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/mathml/ui/sass/trumbowyg.mathml.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Default stylesheet for Trumbowyg editor plugin 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | [formulas] { 13 | position: relative; 14 | display: inline-block; 15 | pointer-events: none; 16 | 17 | &[inline="false"] { 18 | display: block; 19 | width: 100%; 20 | } 21 | 22 | &::after { 23 | content: '\270E'; 24 | position: absolute; 25 | top: 0; 26 | right: 0; 27 | bottom: 0; 28 | left: 0; 29 | opacity: 0; 30 | background-color: rgba(255, 255, 255, 0.83); 31 | box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83); 32 | cursor: pointer; 33 | pointer-events: auto; 34 | } 35 | 36 | &:hover { 37 | &::after { 38 | opacity: 1; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Trumbowyg plugin stylesheet 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | [formulas] { 13 | position: relative; 14 | display: inline-block; 15 | pointer-events: none; } 16 | [formulas][inline="false"] { 17 | display: block; 18 | width: 100%; } 19 | [formulas]::after { 20 | content: '\270E'; 21 | position: absolute; 22 | top: 0; 23 | right: 0; 24 | bottom: 0; 25 | left: 0; 26 | opacity: 0; 27 | background-color: rgba(255, 255, 255, 0.83); 28 | -webkit-box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83); 29 | box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83); 30 | cursor: pointer; 31 | pointer-events: auto; } 32 | [formulas]:hover::after { 33 | opacity: 1; } 34 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/mention/ui/sass/trumbowyg.mention.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Default stylesheet for Trumbowyg editor plugin 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | .trumbowyg-dropdown-mention { 13 | button { 14 | position: relative; 15 | white-space: nowrap; 16 | 17 | &:after { 18 | content: ""; 19 | position: absolute; 20 | top: 0; 21 | right: 0; 22 | width: 15%; 23 | height: 100%; 24 | background-size: 100%; 25 | background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%); 26 | pointer-events: none; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/table/ui/sass/trumbowyg.table.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Default stylesheet for Trumbowyg editor plugin 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | .trumbowyg-editor table { 13 | width: 100%; 14 | 15 | td { 16 | border: 1px dotted #e7eaec; 17 | padding: 8px; 18 | } 19 | } 20 | 21 | .trumbowyg-dropdown-table { 22 | table { 23 | margin: 10px; 24 | display: inline-block; 25 | } 26 | 27 | table td { 28 | display: inline-block; 29 | height: 20px; 30 | width: 20px; 31 | margin: 1px; 32 | padding: 0; 33 | background-color: #fff; 34 | box-shadow: 0 0 0 1px #cecece inset; 35 | 36 | &.active { 37 | background-color: #00b393; 38 | box-shadow: none; 39 | cursor: pointer; 40 | } 41 | } 42 | 43 | .trumbowyg-table-size { 44 | text-align: center; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /awa/plugins/awa-trumbowyg/web/js/trumbowyg/plugins/table/ui/trumbowyg.table.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Trumbowyg v2.26.0 - A lightweight WYSIWYG editor 3 | * Trumbowyg plugin stylesheet 4 | * ------------------------ 5 | * @link http://alex-d.github.io/Trumbowyg 6 | * @license MIT 7 | * @author Alexandre Demode (Alex-D) 8 | * Twitter : @AlexandreDemode 9 | * Website : alex-d.fr 10 | */ 11 | 12 | .trumbowyg-editor table { 13 | width: 100%; } 14 | .trumbowyg-editor table td { 15 | border: 1px dotted #e7eaec; 16 | padding: 8px; } 17 | 18 | .trumbowyg-dropdown-table table { 19 | margin: 10px; 20 | display: inline-block; } 21 | 22 | .trumbowyg-dropdown-table table td { 23 | display: inline-block; 24 | height: 20px; 25 | width: 20px; 26 | margin: 1px; 27 | padding: 0; 28 | background-color: #fff; 29 | -webkit-box-shadow: 0 0 0 1px #cecece inset; 30 | box-shadow: 0 0 0 1px #cecece inset; } 31 | .trumbowyg-dropdown-table table td.active { 32 | background-color: #00b393; 33 | -webkit-box-shadow: none; 34 | box-shadow: none; 35 | cursor: pointer; } 36 | 37 | .trumbowyg-dropdown-table .trumbowyg-table-size { 38 | text-align: center; } 39 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_votes_dir=$(ROOTDIR)/plugins/awa-votes 6 | awa_votes_dynamo=--package AWA.Votes.Models db ../../uml/awa.zargo 7 | awa_votes_install_dirs=config db web 8 | 9 | $(eval $(call awa_plugin,awa_votes)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/awa_votes.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | library project Awa_Votes is 4 | Version := Awa.Version; 5 | Name := "awa_votes"; 6 | for Source_Dirs use ("src", "src/model"); 7 | for Library_Name use Name; 8 | for Library_Dir use Awa.Library_Dir & "/" & Name; 9 | for Library_Kind use Awa.Library_Type; 10 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 11 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 12 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Votes; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/config/votes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/db/mysql/awa-votes-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_vote`; 3 | DROP TABLE IF EXISTS `awa_rating`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/db/mysql/awa-votes-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* */ 3 | CREATE TABLE IF NOT EXISTS awa_rating ( 4 | /* the rating identifier */ 5 | `id` BIGINT NOT NULL, 6 | /* the rating taking into account all votes */ 7 | `rating` INTEGER NOT NULL, 8 | /* the number of votes */ 9 | `vote_count` INTEGER NOT NULL, 10 | /* */ 11 | `for_entity_id` BIGINT NOT NULL, 12 | /* the entity type */ 13 | `for_entity_type` INTEGER NOT NULL, 14 | PRIMARY KEY (`id`) 15 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 16 | /* The vote table tracks a vote action by a user on a given database entity. 17 | The primary key is made of the user, the entity id and entity type. */ 18 | CREATE TABLE IF NOT EXISTS awa_vote ( 19 | /* */ 20 | `rating` INTEGER NOT NULL, 21 | /* */ 22 | `entity_id` BIGINT NOT NULL, 23 | /* */ 24 | `user_id` BIGINT NOT NULL, 25 | PRIMARY KEY (`entity_id`, `user_id`) 26 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 27 | INSERT IGNORE INTO ado_entity_type (name) VALUES 28 | ("awa_rating"), ("awa_vote"); 29 | INSERT IGNORE INTO ado_version (name, version) VALUES ("awa-votes", 1); 30 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/db/postgresql/awa-votes-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_vote; 3 | DROP TABLE IF EXISTS awa_rating; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/db/postgresql/awa-votes-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* */ 3 | CREATE TABLE IF NOT EXISTS awa_rating ( 4 | /* the rating identifier */ 5 | "id" BIGINT NOT NULL, 6 | /* the rating taking into account all votes */ 7 | "rating" INTEGER NOT NULL, 8 | /* the number of votes */ 9 | "vote_count" INTEGER NOT NULL, 10 | /* */ 11 | "for_entity_id" BIGINT NOT NULL, 12 | /* the entity type */ 13 | "for_entity_type" INTEGER NOT NULL, 14 | PRIMARY KEY ("id") 15 | ); 16 | /* The vote table tracks a vote action by a user on a given database entity. 17 | The primary key is made of the user, the entity id and entity type. */ 18 | CREATE TABLE IF NOT EXISTS awa_vote ( 19 | /* */ 20 | "rating" INTEGER NOT NULL, 21 | /* */ 22 | "entity_id" BIGINT NOT NULL, 23 | /* */ 24 | "user_id" BIGINT NOT NULL, 25 | PRIMARY KEY ("entity_id", "user_id") 26 | ); 27 | INSERT INTO ado_entity_type (name) VALUES 28 | ('awa_rating'), ('awa_vote') 29 | ON CONFLICT DO NOTHING; 30 | INSERT INTO ado_version (name, version) 31 | VALUES ("awa-votes", 1) 32 | ON CONFLICT DO NOTHING; 33 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/db/sqlite/awa-votes-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_vote`; 3 | DROP TABLE IF EXISTS `awa_rating`; 4 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/db/sqlite/awa-votes-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | /* */ 3 | CREATE TABLE IF NOT EXISTS awa_rating ( 4 | /* the rating identifier */ 5 | `id` BIGINT NOT NULL, 6 | /* the rating taking into account all votes */ 7 | `rating` INTEGER NOT NULL, 8 | /* the number of votes */ 9 | `vote_count` INTEGER NOT NULL, 10 | /* */ 11 | `for_entity_id` BIGINT NOT NULL, 12 | /* the entity type */ 13 | `for_entity_type` INTEGER NOT NULL, 14 | PRIMARY KEY (`id`) 15 | ); 16 | /* The vote table tracks a vote action by a user on a given database entity. 17 | The primary key is made of the user, the entity id and entity type. */ 18 | CREATE TABLE IF NOT EXISTS awa_vote ( 19 | /* */ 20 | `rating` INTEGER NOT NULL, 21 | /* */ 22 | `entity_id` BIGINT NOT NULL, 23 | /* */ 24 | `user_id` BIGINT NOT NULL, 25 | PRIMARY KEY (`entity_id`, `user_id`) 26 | ); 27 | INSERT OR IGNORE INTO ado_entity_type (name) VALUES ("awa_rating"); 28 | INSERT OR IGNORE INTO ado_entity_type (name) VALUES ("awa_vote"); 29 | INSERT OR IGNORE INTO ado_version (name, version) VALUES ("awa-votes", 1); 30 | -------------------------------------------------------------------------------- /awa/plugins/awa-votes/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-votes 3 | 1 4 | Stephane.Carrez@gmail.com 5 | none 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_wikis_dir=$(ROOTDIR)/plugins/awa-wikis 6 | awa_wikis_dynamo=--package AWA.Wikis.Models db ../../uml/awa.zargo 7 | awa_wikis_install_dirs=config db bundles web 8 | 9 | $(eval $(call awa_plugin,awa_wikis)) 10 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/awa_wikis.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | with "awa_workspaces"; 3 | with "awa_tags"; 4 | with "awa_storages"; 5 | with "awa_images"; 6 | with "awa_jobs"; 7 | with "awa_counters"; 8 | 9 | library project Awa_Wikis is 10 | Version := Awa.Version; 11 | Name := "awa_wikis"; 12 | for Source_Dirs use ("src", "src/model"); 13 | for Library_Name use Name; 14 | for Library_Dir use Awa.Library_Dir & "/" & Name; 15 | for Library_Kind use Awa.Library_Type; 16 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 17 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 18 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 19 | for Exec_Dir use Awa.Exec_Dir; 20 | package Binder renames Awa.Binder; 21 | package Builder renames Awa.Builder; 22 | package Compiler renames Awa.Compiler; 23 | end Awa_Wikis; 24 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/bin/awa-wiki-preview.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Usage: awa-wiki-preview.sh 3 | if [ $# -ne 3 ]; then 4 | echo "Usage: awa-wiki-preview.sh " 1>&2 5 | exit 1 6 | fi 7 | DIR=`dirname $3` 8 | mkdir -p $DIR && 9 | wkhtmltoimage -q --enable-local-file-access --user-style-sheet $1 --zoom 1.5 --crop-h 512 --crop-w 1024 $2 $3.tmp.png && 10 | convert $3.tmp.png -resize 256x128 $3 && 11 | rm -f $3.tmp.png 12 | 13 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/db/mysql/awa-wikis-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_wiki_space`; 3 | DROP TABLE IF EXISTS `awa_wiki_page`; 4 | DROP TABLE IF EXISTS `awa_wiki_content`; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/db/postgresql/awa-wikis-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_wiki_space; 3 | DROP TABLE IF EXISTS awa_wiki_page; 4 | DROP TABLE IF EXISTS awa_wiki_content; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/db/sqlite/awa-wikis-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_wiki_space`; 3 | DROP TABLE IF EXISTS `awa_wiki_page`; 4 | DROP TABLE IF EXISTS `awa_wiki_content`; 5 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/db/wiki-stat.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Several queries to collect statistics about wiki pages. 4 | 5 | 6 | 7 | Get statistics about the wiki page access. 8 | 9 | SELECT 10 | cnt.date, 11 | cnt.counter 12 | FROM awa_counter AS cnt 13 | INNER JOIN awa_wiki_page AS page ON page.id = :entity_id 14 | INNER JOIN awa_counter_definition AS def ON def.entity_type = :entity_type AND cnt.definition_id = def.id AND def.name = :counter_name 15 | WHERE 16 | cnt.object_id = :entity_id AND cnt.date >= :first_date AND cnt.date <= :last_date 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-wikis 3 | 1 4 | Stephane.Carrez@gmail.com 5 | awa_wikis.gpr 6 | none 7 | TRUE 8 | Stephane Carrez 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/icon-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/icon-edit.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-cloud.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-create.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-document.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-document.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-grid.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-list.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-private-26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-private-26.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-private.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-settings.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-view-26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-view-26.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/images/wikis/wiki-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-wikis/web/images/wikis/wiki-view.png -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/wikis/admin/forms/create-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | [ 20 | { "action": "redirect", "url": "#{contextPath}/wikis/admin/list.html" } 21 | ] 22 | 23 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/wikis/forms/delete-page-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | [ 20 | { "action": "delete", "id": "#p_#{wikiPage.id}" }, 21 | { "action": "closeDialog", "id": "#deleteDialog_#{wikiPage.id}" }, 22 | { "action": "clear", "id": "#message" } 23 | ] 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/wikis/forms/page-create.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 |
20 | 21 | 22 | 23 |
24 | 25 |
26 | 27 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/wikis/forms/upload-form-response.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 21 | 24 | 25 | -------------------------------------------------------------------------------- /awa/plugins/awa-wikis/web/wikis/lists/tag-search.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 19 | 20 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/Makefile: -------------------------------------------------------------------------------- 1 | ROOTDIR ?= ../.. 2 | 3 | include $(ROOTDIR)/Makefile.defaults 4 | 5 | awa_workspaces_dir=$(ROOTDIR)/plugins/awa-workspaces 6 | awa_workspaces_dynamo=--package AWA.Workspaces.Models db ../../uml/awa.zargo 7 | awa_workspaces_install_dirs=config db bundles web 8 | 9 | $(eval $(call awa_plugin,awa_workspaces)) 10 | 11 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/awa_workspaces.gpr: -------------------------------------------------------------------------------- 1 | with "awa"; 2 | library project Awa_Workspaces is 3 | Version := Awa.Version; 4 | Name := "awa_workspaces"; 5 | for Source_Dirs use ("src", "src/model"); 6 | for Library_Name use Name; 7 | for Library_Dir use Awa.Library_Dir & "/" & Name; 8 | for Library_Kind use Awa.Library_Type; 9 | for Library_Version use "lib" & Project'Library_Name & ".so." & Version; 10 | for Library_Dir use "lib/" & Name & "/" & Project'Library_Kind; 11 | for Object_Dir use "obj/" & Name & "/" & Project'Library_Kind; 12 | for Exec_Dir use Awa.Exec_Dir; 13 | package Binder renames Awa.Binder; 14 | package Builder renames Awa.Builder; 15 | package Compiler renames Awa.Compiler; 16 | end Awa_Workspaces; 17 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/db/mysql/awa-workspaces-drop-mysql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_workspace_member`; 3 | DROP TABLE IF EXISTS `awa_workspace_feature`; 4 | DROP TABLE IF EXISTS `awa_workspace`; 5 | DROP TABLE IF EXISTS `awa_invitation`; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/db/postgresql/awa-workspaces-drop-postgresql.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS awa_workspace_member; 3 | DROP TABLE IF EXISTS awa_workspace_feature; 4 | DROP TABLE IF EXISTS awa_workspace; 5 | DROP TABLE IF EXISTS awa_invitation; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/db/sqlite/awa-workspaces-drop-sqlite.sql: -------------------------------------------------------------------------------- 1 | /* File generated automatically by dynamo */ 2 | DROP TABLE IF EXISTS `awa_workspace_member`; 3 | DROP TABLE IF EXISTS `awa_workspace_feature`; 4 | DROP TABLE IF EXISTS `awa_workspace`; 5 | DROP TABLE IF EXISTS `awa_invitation`; 6 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/db/workspace-permissions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | The list of workspace members for the workspace administrator. 4 | 5 | 6 | 7 | Get the list of workspace members having a given role 8 | 9 | SELECT 10 | user_member.member_id 11 | FROM awa_workspace_member AS user_member 12 | 13 | user_member.workspace_id = :workspace_id 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/dynamo.xml: -------------------------------------------------------------------------------- 1 | 2 | awa-workspaces 3 | 1 4 | Stephane.Carrez@gmail.com 5 | Apache 6 | TRUE 7 | Stephane Carrez 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/web/images/workspaces/icon-add-members-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-workspaces/web/images/workspaces/icon-add-members-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/web/images/workspaces/icon-members-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/plugins/awa-workspaces/web/images/workspaces/icon-members-64.png -------------------------------------------------------------------------------- /awa/plugins/awa-workspaces/web/workspaces/forms/delete-member-response.xhtml: -------------------------------------------------------------------------------- 1 | 6 | [ 7 | { "action": "delete", "id": "#m_#{workspaceMember.id}" }, 8 | { "action": "closeDialog", "id": "#deleteDialog_#{workspaceMember.id}" }, 9 | { "action": "clear", "id": "#message" } 10 | ] 11 | 12 | -------------------------------------------------------------------------------- /awa/regtests/alire.toml: -------------------------------------------------------------------------------- 1 | description = "Ada Web Application unit tests" 2 | name = "awa_tests" 3 | version = "2.5.0" 4 | tags = ["web", "users", "jobs", "framework", "testing"] 5 | website = "https://gitlab.com/stcarrez/ada-awa" 6 | 7 | licenses = "Apache-2.0" 8 | authors = ["Stephane.Carrez@gmail.com"] 9 | maintainers = ["Stephane.Carrez@gmail.com"] 10 | maintainers-logins = ["stcarrez"] 11 | 12 | project-files = ["awa_tests.gpr"] 13 | 14 | [[depends-on]] 15 | awa = "^2.5.0" 16 | awa_unit = "^2.5.0" 17 | ado_all = "^2.4.0" 18 | serverfaces_unit = "^1.6.0" 19 | servletada_unit = "^1.7.0" 20 | 21 | [gpr-externals] 22 | AWA_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] 23 | AWA_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] 24 | 25 | [configuration] 26 | disabled = true 27 | 28 | [[pins]] 29 | awa = { path = '../..' } 30 | awa_unit = { path = '../unit' } 31 | -------------------------------------------------------------------------------- /awa/regtests/config/awa.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | layout 6 | 7 | 8 | 9 | #{empty awa.dispatcher.count ? 1 : awa.dispatcher.count} 10 | #{empty awa.dispatcher.priority ? 1 : awa.dispatcher.priority} 11 | 12 | 13 | 14 | 15 | view.ext 16 | .html 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /awa/regtests/config/master-mysql.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/master-mysql.key -------------------------------------------------------------------------------- /awa/regtests/config/master-postgresql.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/master-postgresql.key -------------------------------------------------------------------------------- /awa/regtests/config/master-sqlite.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/master-sqlite.key -------------------------------------------------------------------------------- /awa/regtests/config/master.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/master.key -------------------------------------------------------------------------------- /awa/regtests/config/password.key: -------------------------------------------------------------------------------- 1 | Thi7taiw OoVohn8i Rai2ceiz eeJe5OhC rei5Oogi le4eaRio ahLeeki3 oajoh5Ce 2 | shieNg4y nohl2Gip Daiph8sh quaiC5to Waid8Sha Oongoo5N ohng4She ohb4Ohno 3 | Hi3Aecho eeG1thai Eir9laem lahF6Hei Xei7ooch aeNgo6xe shaeY2aw ohQuoth6 4 | meSh7aiw EeXae1oo queGhi6u Oj3ohcho oos7Ebae odai6EeH Iep4waiF Ou2ahNoa 5 | Dahqua5i pheicu7S iec7Ooro eukai5Ph yie3Oosh esit5Ei5 Ziegh1Va aiz1Rois 6 | Tie0gai5 ri1ATh7E cheeNg7E Xohth2oX eFuto2ug meiBen6u ic6yoo5Y xah4ooWu 7 | Ca7xaeci eiz7Phee ahbii6Ai Haer6Aiz Eewee5ne eifa1aiJ ahF8aoji aedeZ0si 8 | -------------------------------------------------------------------------------- /awa/regtests/config/secure-2-mysql.akt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/secure-2-mysql.akt -------------------------------------------------------------------------------- /awa/regtests/config/secure-2-postgresql.akt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/secure-2-postgresql.akt -------------------------------------------------------------------------------- /awa/regtests/config/secure-2-sqlite.akt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/secure-2-sqlite.akt -------------------------------------------------------------------------------- /awa/regtests/config/secure-mysql.akt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/secure-mysql.akt -------------------------------------------------------------------------------- /awa/regtests/config/secure-mysql.properties: -------------------------------------------------------------------------------- 1 | keystore-path=regtests/config/secure-2-mysql.akt 2 | keystore-masterkey-path=regtests/config/master-mysql.key 3 | keystore-password-path=regtests/config/password.key 4 | 5 | app_search_dirs=.;#{dynamo_search_dirs} 6 | app.modules.dir=#{fn:composePath(app_search_dirs,'config')} 7 | dynamo_search_dirs=plugins/awa-workspaces;plugins/awa-counters;plugins/awa-jobs;plugins/awa-blogs;plugins/awa-images;plugins/awa-markedit;plugins/awa-jobs;plugins/awa-mail;plugins/awa-storages;plugins/awa-comments;plugins/awa-questions;plugins/awa-tags;plugins/awa-wikis;plugins/awa-votes;plugins/awa-changelogs;plugins/awa-settings 8 | 9 | bundle.dir=bundles;#{fn:composePath(app_search_dirs,'bundles')} 10 | 11 | test.config=test-mysql.properties 12 | 13 | -------------------------------------------------------------------------------- /awa/regtests/config/secure-postgresql.akt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/secure-postgresql.akt -------------------------------------------------------------------------------- /awa/regtests/config/secure-postgresql.properties: -------------------------------------------------------------------------------- 1 | keystore-path=regtests/config/secure-2-postgresql.akt 2 | keystore-masterkey-path=regtests/config/master-postgresql.key 3 | keystore-password-path=regtests/config/password.key 4 | 5 | app_search_dirs=.;#{dynamo_search_dirs} 6 | app.modules.dir=#{fn:composePath(app_search_dirs,'config')} 7 | dynamo_search_dirs=plugins/awa-workspaces;plugins/awa-counters;plugins/awa-jobs;plugins/awa-blogs;plugins/awa-images;plugins/awa-markedit;plugins/awa-jobs;plugins/awa-mail;plugins/awa-storages;plugins/awa-comments;plugins/awa-questions;plugins/awa-tags;plugins/awa-wikis;plugins/awa-votes;plugins/awa-changelogs;plugins/awa-settings 8 | 9 | bundle.dir=bundles;#{fn:composePath(app_search_dirs,'bundles')} 10 | 11 | test.config=test-postgresql.properties 12 | -------------------------------------------------------------------------------- /awa/regtests/config/secure-sqlite.akt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/config/secure-sqlite.akt -------------------------------------------------------------------------------- /awa/regtests/config/secure-sqlite.properties: -------------------------------------------------------------------------------- 1 | keystore-path=regtests/config/secure-2-sqlite.akt 2 | keystore-masterkey-path=regtests/config/master-sqlite.key 3 | keystore-password-path=regtests/config/password.key 4 | 5 | app_search_dirs=.;#{dynamo_search_dirs} 6 | app.modules.dir=#{fn:composePath(app_search_dirs,'config')} 7 | dynamo_search_dirs=plugins/awa-workspaces;plugins/awa-counters;plugins/awa-jobs;plugins/awa-blogs;plugins/awa-images;plugins/awa-markedit;plugins/awa-jobs;plugins/awa-mail;plugins/awa-storages;plugins/awa-comments;plugins/awa-questions;plugins/awa-tags;plugins/awa-wikis;plugins/awa-votes;plugins/awa-changelogs;plugins/awa-settings 8 | 9 | bundle.dir=bundles;#{fn:composePath(app_search_dirs,'bundles')} 10 | 11 | test.config=test-sqlite.properties 12 | -------------------------------------------------------------------------------- /awa/regtests/files/images/Ada-Lovelace.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/files/images/Ada-Lovelace.jpg -------------------------------------------------------------------------------- /awa/regtests/files/images/bast-12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/regtests/files/images/bast-12.jpg -------------------------------------------------------------------------------- /awa/regtests/files/mail/mail-bcc.xhtml: -------------------------------------------------------------------------------- 1 | 3 | John.Balt@nowhere.com 4 | Joe@nowhere.com 5 | #{email} 6 | #{email} 7 | Joe@nowhere.com 8 | Hello from a test application 9 | 10 | 11 | Dear #{name}, 12 | 13 | Welcome to this application 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /awa/regtests/files/mail/mail-cc.xhtml: -------------------------------------------------------------------------------- 1 | 3 | John.Balt@nowhere.com 4 | #{email} 5 | 6 | 7 | Hello from a test application 8 | 9 | 10 | Dear #{name}, 11 | 12 | Welcome to this application 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /awa/regtests/files/mail/mail-info.xhtml: -------------------------------------------------------------------------------- 1 | 3 | John.Balt@nowhere.com 4 | #{email} 5 | Hello from a test application 6 | 7 | 8 | Dear #{name}, 9 | 10 | Welcome to this application 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /awa/regtests/regtests.gpr: -------------------------------------------------------------------------------- 1 | -- A GNAT project for Dynamo usage only 2 | with "../awa"; 3 | with "../plugins/awa-workspaces/awa_workspaces"; 4 | with "../plugins/awa-counters/awa_counters"; 5 | with "../plugins/awa-storages/awa_storages"; 6 | with "../plugins/awa-images/awa_images"; 7 | with "../plugins/awa-mail/awa_mail"; 8 | with "../plugins/awa-jobs/awa_jobs"; 9 | with "../plugins/awa-blogs/awa_blogs"; 10 | with "../plugins/awa-votes/awa_votes"; 11 | with "../plugins/awa-questions/awa_questions"; 12 | with "../plugins/awa-tags/awa_tags"; 13 | with "../plugins/awa-settings/awa_settings"; 14 | with "../plugins/awa-comments/awa_comments"; 15 | with "../plugins/awa-changelogs/awa_changelogs"; 16 | with "../plugins/awa-wikis/awa_wikis"; 17 | with "../plugins/awa-counters/awa_counters"; 18 | with "../plugins/awa-setup/awa_setup"; 19 | with "../plugins/awa-sysadmin/awa_sysadmin"; 20 | 21 | project Regtests is 22 | 23 | for Languages use ("Ada"); 24 | 25 | Mains := (); 26 | 27 | for Source_Dirs use ("."); 28 | 29 | for Main use Mains; 30 | 31 | end Regtests; 32 | -------------------------------------------------------------------------------- /awa/src/awa-audits.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-audits -- Audit manager module 3 | -- Copyright (C) 2018 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | package AWA.Audits is 20 | 21 | pragma Preelaborate; 22 | 23 | end AWA.Audits; 24 | -------------------------------------------------------------------------------- /awa/src/awa-components-factory.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-components-factory -- Factory for AWA UI Components 3 | -- Copyright (C) 2011, 2018 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | with ASF.Factory; 20 | package AWA.Components.Factory is 21 | 22 | -- Get the AWA component factory. 23 | function Definition return ASF.Factory.Factory_Bindings_Access; 24 | 25 | end AWA.Components.Factory; 26 | -------------------------------------------------------------------------------- /awa/src/awa-components.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-components -- UI Components 3 | -- Copyright (C) 2011 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | package AWA.Components is 20 | 21 | end AWA.Components; 22 | -------------------------------------------------------------------------------- /awa/src/awa-converters.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-converters -- Converters 3 | -- Copyright (C) 2012 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | package AWA.Converters is 20 | 21 | end AWA.Converters; 22 | -------------------------------------------------------------------------------- /awa/src/awa-events-action_method.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-events-action_method -- AWA Events 3 | -- Copyright (C) 2012 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | with EL.Methods.Proc_In; 19 | 20 | package AWA.Events.Action_Method is 21 | new EL.Methods.Proc_In (Param1_Type => AWA.Events.Module_Event'Class); 22 | -------------------------------------------------------------------------------- /awa/src/awa-events-queues-observers.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-events-queues-observers -- Event queue observers 3 | -- Copyright (C) 2020 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | with Util.Listeners.Observers; 20 | 21 | package AWA.Events.Queues.Observers is new Util.Listeners.Observers (Queue_Ref); 22 | -------------------------------------------------------------------------------- /awa/src/awa-oauth.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa-oauth -- OAuth Server Side 3 | -- Copyright (C) 2017 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | package AWA.OAuth is 20 | 21 | end AWA.OAuth; 22 | -------------------------------------------------------------------------------- /awa/src/awa.ads: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | -- awa -- Ada Web Application 3 | -- Copyright (C) 2009 - 2020 Stephane Carrez 4 | -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) 5 | -- 6 | -- Licensed under the Apache License, Version 2.0 (the "License"); 7 | -- you may not use this file except in compliance with the License. 8 | -- You may obtain a copy of the License at 9 | -- 10 | -- http://www.apache.org/licenses/LICENSE-2.0 11 | -- 12 | -- Unless required by applicable law or agreed to in writing, software 13 | -- distributed under the License is distributed on an "AS IS" BASIS, 14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | -- See the License for the specific language governing permissions and 16 | -- limitations under the License. 17 | ----------------------------------------------------------------------- 18 | 19 | -- = AWA Core == 20 | -- 21 | -- @include awa-applications.ads 22 | -- @include awa-modules.ads 23 | -- @include awa-permissions.ads 24 | -- @include awa-events.ads 25 | -- @include awa-commands.ads 26 | package AWA is 27 | 28 | pragma Pure; 29 | 30 | end AWA; 31 | -------------------------------------------------------------------------------- /awa/uml/README: -------------------------------------------------------------------------------- 1 | This directory contains the UML model for the generation of Ada and 2 | SQL files. The UML model was created using ArgoUML 0.34. 3 | You can get ArgoUML at: http://argouml.tigris.org/ 4 | -------------------------------------------------------------------------------- /awa/uml/awa.zargo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/uml/awa.zargo -------------------------------------------------------------------------------- /awa/unit/awa_unit.gpr: -------------------------------------------------------------------------------- 1 | with "utilada_base"; 2 | with "utilada_unit"; 3 | with "elada"; 4 | with "servletada"; 5 | with "servletada_unit"; 6 | with "asf"; 7 | with "asf_unit"; 8 | with "awa"; 9 | 10 | library project Awa_Unit is 11 | 12 | for Source_Dirs use ("src"); 13 | 14 | for Library_Name use "awa_unit"; 15 | for Library_Kind use Awa.Library_Type; 16 | for Library_Version use "lib" & Project'Library_Name & ".so." & Awa.Version; 17 | 18 | for Library_Dir use "../../lib/awa_unit/" & Project'Library_Kind; 19 | for Object_Dir use "../../obj/awa_unit/" & Project'Library_Kind; 20 | 21 | for Exec_Dir use Awa.Exec_Dir; 22 | 23 | package Binder renames Awa.Binder; 24 | package Builder renames Awa.Builder; 25 | package Compiler renames Awa.Compiler; 26 | 27 | end Awa_Unit; 28 | -------------------------------------------------------------------------------- /awa/web/auth/change-password.xhtml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /awa/web/auth/forms/login-dialog.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /awa/web/auth/validate.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /awa/web/auth/views/welcome-login.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 18 | -------------------------------------------------------------------------------- /awa/web/auth/views/welcome-register.xhtml: -------------------------------------------------------------------------------- 1 | 17 | 18 | -------------------------------------------------------------------------------- /awa/web/css/highlight/androidstudio.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 24 Fev 2015 3 | Author: Pedro Oliveira 4 | */ 5 | 6 | .hljs { 7 | color: #a9b7c6; 8 | background: #282b2e; 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | } 13 | 14 | .hljs-number, 15 | .hljs-literal, 16 | .hljs-symbol, 17 | .hljs-bullet { 18 | color: #6897BB; 19 | } 20 | 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-deletion { 24 | color: #cc7832; 25 | } 26 | 27 | .hljs-variable, 28 | .hljs-template-variable, 29 | .hljs-link { 30 | color: #629755; 31 | } 32 | 33 | .hljs-comment, 34 | .hljs-quote { 35 | color: #808080; 36 | } 37 | 38 | .hljs-meta { 39 | color: #bbb529; 40 | } 41 | 42 | .hljs-string, 43 | .hljs-attribute, 44 | .hljs-addition { 45 | color: #6A8759; 46 | } 47 | 48 | .hljs-section, 49 | .hljs-title, 50 | .hljs-type { 51 | color: #ffc66d; 52 | } 53 | 54 | .hljs-name, 55 | .hljs-selector-id, 56 | .hljs-selector-class { 57 | color: #e8bf6a; 58 | } 59 | 60 | .hljs-emphasis { 61 | font-style: italic; 62 | } 63 | 64 | .hljs-strong { 65 | font-weight: bold; 66 | } 67 | -------------------------------------------------------------------------------- /awa/web/css/highlight/arta.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 17.V.2011 3 | Author: pumbur 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #222; 11 | } 12 | 13 | .hljs, 14 | .hljs-subst { 15 | color: #aaa; 16 | } 17 | 18 | .hljs-section { 19 | color: #fff; 20 | } 21 | 22 | .hljs-comment, 23 | .hljs-quote, 24 | .hljs-meta { 25 | color: #444; 26 | } 27 | 28 | .hljs-string, 29 | .hljs-symbol, 30 | .hljs-bullet, 31 | .hljs-regexp { 32 | color: #ffcc33; 33 | } 34 | 35 | .hljs-number, 36 | .hljs-addition { 37 | color: #00cc66; 38 | } 39 | 40 | .hljs-built_in, 41 | .hljs-builtin-name, 42 | .hljs-literal, 43 | .hljs-type, 44 | .hljs-template-variable, 45 | .hljs-attribute, 46 | .hljs-link { 47 | color: #32aaee; 48 | } 49 | 50 | .hljs-keyword, 51 | .hljs-selector-tag, 52 | .hljs-name, 53 | .hljs-selector-id, 54 | .hljs-selector-class { 55 | color: #6644aa; 56 | } 57 | 58 | .hljs-title, 59 | .hljs-variable, 60 | .hljs-deletion, 61 | .hljs-template-tag { 62 | color: #bb1166; 63 | } 64 | 65 | .hljs-section, 66 | .hljs-doctag, 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | 71 | .hljs-emphasis { 72 | font-style: italic; 73 | } 74 | -------------------------------------------------------------------------------- /awa/web/css/highlight/ascetic.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | } 14 | 15 | .hljs-string, 16 | .hljs-variable, 17 | .hljs-template-variable, 18 | .hljs-symbol, 19 | .hljs-bullet, 20 | .hljs-section, 21 | .hljs-addition, 22 | .hljs-attribute, 23 | .hljs-link { 24 | color: #888; 25 | } 26 | 27 | .hljs-comment, 28 | .hljs-quote, 29 | .hljs-meta, 30 | .hljs-deletion { 31 | color: #ccc; 32 | } 33 | 34 | .hljs-keyword, 35 | .hljs-selector-tag, 36 | .hljs-section, 37 | .hljs-name, 38 | .hljs-type, 39 | .hljs-strong { 40 | font-weight: bold; 41 | } 42 | 43 | .hljs-emphasis { 44 | font-style: italic; 45 | } 46 | -------------------------------------------------------------------------------- /awa/web/css/highlight/brown-paper.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background:#b7a68e url(./brown-papersq.png); 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal { 17 | color:#005599; 18 | font-weight:bold; 19 | } 20 | 21 | .hljs, 22 | .hljs-subst { 23 | color: #363c69; 24 | } 25 | 26 | .hljs-string, 27 | .hljs-title, 28 | .hljs-section, 29 | .hljs-type, 30 | .hljs-attribute, 31 | .hljs-symbol, 32 | .hljs-bullet, 33 | .hljs-built_in, 34 | .hljs-addition, 35 | .hljs-variable, 36 | .hljs-template-tag, 37 | .hljs-template-variable, 38 | .hljs-link, 39 | .hljs-name { 40 | color: #2c009f; 41 | } 42 | 43 | .hljs-comment, 44 | .hljs-quote, 45 | .hljs-meta, 46 | .hljs-deletion { 47 | color: #802022; 48 | } 49 | 50 | .hljs-keyword, 51 | .hljs-selector-tag, 52 | .hljs-literal, 53 | .hljs-doctag, 54 | .hljs-title, 55 | .hljs-section, 56 | .hljs-type, 57 | .hljs-name, 58 | .hljs-strong { 59 | font-weight: bold; 60 | } 61 | 62 | .hljs-emphasis { 63 | font-style: italic; 64 | } 65 | -------------------------------------------------------------------------------- /awa/web/css/highlight/brown-papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/web/css/highlight/brown-papersq.png -------------------------------------------------------------------------------- /awa/web/css/highlight/codepen-embed.css: -------------------------------------------------------------------------------- 1 | /* 2 | codepen.io Embed Theme 3 | Author: Justin Perry 4 | Original theme - https://github.com/chriskempson/tomorrow-theme 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #222; 12 | color: #fff; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #777; 18 | } 19 | 20 | .hljs-variable, 21 | .hljs-template-variable, 22 | .hljs-tag, 23 | .hljs-regexp, 24 | .hljs-meta, 25 | .hljs-number, 26 | .hljs-built_in, 27 | .hljs-builtin-name, 28 | .hljs-literal, 29 | .hljs-params, 30 | .hljs-symbol, 31 | .hljs-bullet, 32 | .hljs-link, 33 | .hljs-deletion { 34 | color: #ab875d; 35 | } 36 | 37 | .hljs-section, 38 | .hljs-title, 39 | .hljs-name, 40 | .hljs-selector-id, 41 | .hljs-selector-class, 42 | .hljs-type, 43 | .hljs-attribute { 44 | color: #9b869b; 45 | } 46 | 47 | .hljs-string, 48 | .hljs-keyword, 49 | .hljs-selector-tag, 50 | .hljs-addition { 51 | color: #8f9c6c; 52 | } 53 | 54 | .hljs-emphasis { 55 | font-style: italic; 56 | } 57 | 58 | .hljs-strong { 59 | font-weight: bold; 60 | } 61 | -------------------------------------------------------------------------------- /awa/web/css/highlight/dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Dark style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #444; 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal, 17 | .hljs-section, 18 | .hljs-link { 19 | color: white; 20 | } 21 | 22 | .hljs, 23 | .hljs-subst { 24 | color: #ddd; 25 | } 26 | 27 | .hljs-string, 28 | .hljs-title, 29 | .hljs-name, 30 | .hljs-type, 31 | .hljs-attribute, 32 | .hljs-symbol, 33 | .hljs-bullet, 34 | .hljs-built_in, 35 | .hljs-addition, 36 | .hljs-variable, 37 | .hljs-template-tag, 38 | .hljs-template-variable { 39 | color: #d88; 40 | } 41 | 42 | .hljs-comment, 43 | .hljs-quote, 44 | .hljs-deletion, 45 | .hljs-meta { 46 | color: #777; 47 | } 48 | 49 | .hljs-keyword, 50 | .hljs-selector-tag, 51 | .hljs-literal, 52 | .hljs-title, 53 | .hljs-section, 54 | .hljs-doctag, 55 | .hljs-type, 56 | .hljs-name, 57 | .hljs-strong { 58 | font-weight: bold; 59 | } 60 | 61 | .hljs-emphasis { 62 | font-style: italic; 63 | } 64 | -------------------------------------------------------------------------------- /awa/web/css/highlight/far.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | FAR Style (c) MajestiC 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000080; 12 | } 13 | 14 | .hljs, 15 | .hljs-subst { 16 | color: #0ff; 17 | } 18 | 19 | .hljs-string, 20 | .hljs-attribute, 21 | .hljs-symbol, 22 | .hljs-bullet, 23 | .hljs-built_in, 24 | .hljs-builtin-name, 25 | .hljs-template-tag, 26 | .hljs-template-variable, 27 | .hljs-addition { 28 | color: #ff0; 29 | } 30 | 31 | .hljs-keyword, 32 | .hljs-selector-tag, 33 | .hljs-section, 34 | .hljs-type, 35 | .hljs-name, 36 | .hljs-selector-id, 37 | .hljs-selector-class, 38 | .hljs-variable { 39 | color: #fff; 40 | } 41 | 42 | .hljs-comment, 43 | .hljs-quote, 44 | .hljs-doctag, 45 | .hljs-deletion { 46 | color: #888; 47 | } 48 | 49 | .hljs-number, 50 | .hljs-regexp, 51 | .hljs-literal, 52 | .hljs-link { 53 | color: #0f0; 54 | } 55 | 56 | .hljs-meta { 57 | color: #008080; 58 | } 59 | 60 | .hljs-keyword, 61 | .hljs-selector-tag, 62 | .hljs-title, 63 | .hljs-section, 64 | .hljs-name, 65 | .hljs-strong { 66 | font-weight: bold; 67 | } 68 | 69 | .hljs-emphasis { 70 | font-style: italic; 71 | } 72 | -------------------------------------------------------------------------------- /awa/web/css/highlight/mono-blue.css: -------------------------------------------------------------------------------- 1 | /* 2 | Five-color theme from a single blue hue. 3 | */ 4 | .hljs { 5 | display: block; 6 | overflow-x: auto; 7 | padding: 0.5em; 8 | background: #eaeef3; 9 | color: #00193a; 10 | } 11 | 12 | .hljs-keyword, 13 | .hljs-selector-tag, 14 | .hljs-title, 15 | .hljs-section, 16 | .hljs-doctag, 17 | .hljs-name, 18 | .hljs-strong { 19 | font-weight: bold; 20 | } 21 | 22 | .hljs-comment { 23 | color: #738191; 24 | } 25 | 26 | .hljs-string, 27 | .hljs-title, 28 | .hljs-section, 29 | .hljs-built_in, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-addition, 33 | .hljs-tag, 34 | .hljs-quote, 35 | .hljs-name, 36 | .hljs-selector-id, 37 | .hljs-selector-class { 38 | color: #0048ab; 39 | } 40 | 41 | .hljs-meta, 42 | .hljs-subst, 43 | .hljs-symbol, 44 | .hljs-regexp, 45 | .hljs-attribute, 46 | .hljs-deletion, 47 | .hljs-variable, 48 | .hljs-template-variable, 49 | .hljs-link, 50 | .hljs-bullet { 51 | color: #4c81c9; 52 | } 53 | 54 | .hljs-emphasis { 55 | font-style: italic; 56 | } 57 | -------------------------------------------------------------------------------- /awa/web/css/highlight/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/web/css/highlight/pojoaque.jpg -------------------------------------------------------------------------------- /awa/web/css/highlight/school-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/web/css/highlight/school-book.png -------------------------------------------------------------------------------- /awa/web/css/highlight/vs.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Visual Studio-like style based on original C# coloring by Jason Diamond 4 | 5 | */ 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: white; 11 | color: black; 12 | } 13 | 14 | .hljs-comment, 15 | .hljs-quote, 16 | .hljs-variable { 17 | color: #008000; 18 | } 19 | 20 | .hljs-keyword, 21 | .hljs-selector-tag, 22 | .hljs-built_in, 23 | .hljs-name, 24 | .hljs-tag { 25 | color: #00f; 26 | } 27 | 28 | .hljs-string, 29 | .hljs-title, 30 | .hljs-section, 31 | .hljs-attribute, 32 | .hljs-literal, 33 | .hljs-template-tag, 34 | .hljs-template-variable, 35 | .hljs-type, 36 | .hljs-addition { 37 | color: #a31515; 38 | } 39 | 40 | .hljs-deletion, 41 | .hljs-selector-attr, 42 | .hljs-selector-pseudo, 43 | .hljs-meta { 44 | color: #2b91af; 45 | } 46 | 47 | .hljs-doctag { 48 | color: #808080; 49 | } 50 | 51 | .hljs-attr { 52 | color: #f00; 53 | } 54 | 55 | .hljs-symbol, 56 | .hljs-bullet, 57 | .hljs-link { 58 | color: #00b0e8; 59 | } 60 | 61 | 62 | .hljs-emphasis { 63 | font-style: italic; 64 | } 65 | 66 | .hljs-strong { 67 | font-weight: bold; 68 | } 69 | -------------------------------------------------------------------------------- /awa/web/css/iframe.css: -------------------------------------------------------------------------------- 1 | /** 2 | * iframe.css - CSS for embedded iframes 3 | * Copyright (C) 2011, 2012 Stephane Carrez 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | */ 6 | html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, label { 7 | margin: 0; 8 | padding: 0; 9 | } -------------------------------------------------------------------------------- /awa/web/images/icons-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/web/images/icons-1.png -------------------------------------------------------------------------------- /awa/web/images/open-id-logos-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/awa/web/images/open-id-logos-3.png -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ciceron/ada-focal:latest 2 | 3 | MAINTAINER Stephane Carrez 4 | 5 | # We have to setup a timezone otherwise installation of tzdata will hang. 6 | ENV TZ=Europe/Paris 7 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 8 | 9 | RUN apt-get update \ 10 | && apt-get install -y sqlite3 unzip imagemagick pngcrush libjpeg-progs \ 11 | yui-compressor liblzma-dev libfuse-dev pkg-config 12 | 13 | RUN mkdir -p /usr/src \ 14 | && cd /usr/src \ 15 | && git clone https://github.com/stcarrez/ada-awa.git ada-awa \ 16 | && cd ada-awa \ 17 | && git submodule init \ 18 | && git submodule update --recursive --remote \ 19 | && ./configure --enable-ahven --disable-shared --prefix=/usr \ 20 | && make -s \ 21 | && make -s install 22 | 23 | WORKDIR /usr/src/ada-awa 24 | -------------------------------------------------------------------------------- /docker/gnat-ada-bionic/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:bionic 2 | 3 | MAINTAINER Stephane Carrez 4 | 5 | RUN apt-get update \ 6 | && apt-get install -y --no-install-recommends make gcc \ 7 | gnat gprbuild libaws3.3.2.2-dev \ 8 | libsqlite3-dev libcurl4-openssl-dev git unzip \ 9 | libgpr1-dev ca-certificates openssl man 10 | 11 | WORKDIR /usr/src 12 | -------------------------------------------------------------------------------- /docker/gnat-ada-focal/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:focal 2 | 3 | MAINTAINER Stephane Carrez 4 | 5 | RUN apt-get update \ 6 | && apt-get install -y --no-install-recommends make gcc \ 7 | gnat gprbuild libaws19-dev \ 8 | libsqlite3-dev libcurl4-openssl-dev git unzip \ 9 | libgnatprj7-dev ca-certificates openssl man 10 | 11 | WORKDIR /usr/src 12 | -------------------------------------------------------------------------------- /external/trumbowyg/Trumbowyg-2.26.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stcarrez/ada-awa/3e028f6d035b23ded1bf5ff4d4f399e89b180704/external/trumbowyg/Trumbowyg-2.26.0.tar.gz -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- 1 | site_name: Ada Web Application 2 | docs_dir: awa/docs 3 | nav: 4 | - Introduction: index.md 5 | - Installation: Installation.md 6 | - Tutorial: Tutorial.md 7 | - AWA: AWA.md 8 | - Users: AWA_Users.md 9 | - Jobs: AWA_Jobs.md 10 | - Mail: AWA_Mail.md 11 | - Workspaces: AWA_Workspaces.md 12 | - Storages: AWA_Storages.md 13 | - Images: AWA_Images.md 14 | - Wikis: AWA_Wikis.md 15 | - Blogs: AWA_Blogs.md 16 | - Counters: AWA_Counters.md 17 | - Votes: AWA_Votes.md 18 | - Tags: AWA_Tags.md 19 | - Comments: AWA_Comments.md 20 | - Settings: AWA_Settings.md 21 | - Setup: AWA_Setup.md 22 | - Tips: Tips.md 23 | theme: readthedocs 24 | --------------------------------------------------------------------------------