Merge pull request #86 from monarc-project/deliveriesTemplatesForClients

Deliveries templates for clients
pull/137/head
Cédric Bonhomme 2018-04-26 14:58:33 +02:00 committed by GitHub
commit 8967ec3672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 35 additions and 3 deletions

3
.gitignore vendored
View File

@ -17,11 +17,14 @@ vendor/
public/css/ public/css/
public/js/ public/js/
public/img/ public/img/
public/flags/
public/views/ public/views/
module/ module/
npm-debug.log
node_modules/ node_modules/
bin/ bin/
data/DoctrineORMModule/ data/DoctrineORMModule/
data/monarc/
data/json/ data/json/
go-pear.phar go-pear.phar
scripts/public/ scripts/public/

View File

@ -1,6 +1,27 @@
MONARC Changelog MONARC Changelog
================ ================
## 2.3.0 (not yet released)
### New
- an administrator of a MONARC front office instance is now able to set custom
templates for deliveries per step.
### Enhancement
- default deliveries templates were improved;
- the section dedicated to the management of the organization has been moved in
a dedicated view;
- improved the switching between the different available languages;
- improved the generation of the deliveries.
### Fix
- fixed a bug in the generation of the deliveries (#84);
- Inconsistency of Threat and Vulnerability Tables (#82).
## 2.2.1 (2018-02-14) ## 2.2.1 (2018-02-14)
### Enhancement ### Enhancement

View File

@ -1 +1 @@
{"major":2, "minor":2, "hotfix":1} {"major":2, "minor":3, "hotfix":0}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
{ {
"name": "MONARC", "name": "MONARC",
"version": "2.2.1", "version": "2.3.0",
"description": "MONARC Frontoffice App", "description": "MONARC Frontoffice App",
"private": true, "private": true,
"repository": { "repository": {

View File

@ -12,6 +12,13 @@ if [ ! -d public/css ]; then
else else
find -L public/css -type l -exec rm {} \; find -L public/css -type l -exec rm {} \;
fi fi
if [ ! -d public/flags ]; then
mkdir public/flags
else
find -L public/flags -type l -exec rm {} \;
fi
if [ ! -d public/views/dialogs ]; then if [ ! -d public/views/dialogs ]; then
mkdir -p public/views/dialogs mkdir -p public/views/dialogs
else else
@ -38,6 +45,7 @@ if [ -d node_modules/ng_backoffice ]; then
cd ../../js/ && find ../../node_modules/ng_backoffice/src -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null cd ../../js/ && find ../../node_modules/ng_backoffice/src -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null
cd ../css/ && find ../../node_modules/ng_backoffice/css -name "*" -exec ln -s {} \; 2>/dev/null cd ../css/ && find ../../node_modules/ng_backoffice/css -name "*" -exec ln -s {} \; 2>/dev/null
cd ../img/ && find ../../node_modules/ng_backoffice/img -name "*" -exec ln -s {} \; 2>/dev/null cd ../img/ && find ../../node_modules/ng_backoffice/img -name "*" -exec ln -s {} \; 2>/dev/null
cd ../flags/ && find ../../node_modules/ng_backoffice/node_modules/ng-country-flags/dist/flags -mindepth 1 -type d -exec ln -s {} \; 2>/dev/null
if [ -d ../../node_modules/ng_anr ]; then if [ -d ../../node_modules/ng_anr ]; then
cd ../js/ cd ../js/
@ -69,6 +77,7 @@ if [ -d node_modules/ng_client ]; then
cd ../../js/ && find ../../node_modules/ng_client/src -name "*" -exec ln -s {} \; 2>/dev/null cd ../../js/ && find ../../node_modules/ng_client/src -name "*" -exec ln -s {} \; 2>/dev/null
cd ../css/ && find ../../node_modules/ng_client/css -name "*" -exec ln -s {} \; 2>/dev/null cd ../css/ && find ../../node_modules/ng_client/css -name "*" -exec ln -s {} \; 2>/dev/null
cd ../img/ && find ../../node_modules/ng_client/img -name "*" -exec ln -s {} \; 2>/dev/null cd ../img/ && find ../../node_modules/ng_client/img -name "*" -exec ln -s {} \; 2>/dev/null
cd ../flags/ && find ../../node_modules/ng_client/node_modules/ng-country-flags/dist/flags -mindepth 1 -type d -exec ln -s {} \; 2>/dev/null
if [ -d ../../node_modules/ng_anr ]; then if [ -d ../../node_modules/ng_anr ]; then
cd ../js/ cd ../js/
@ -93,4 +102,3 @@ if [ -d node_modules/ng_client ]; then
grunt concat grunt concat
popd popd
fi fi