* Makefile:

* CatalogManager.cs: Let the catalog manager ensure all command form
  are instancied

* PhysicalProduct.cs: A better ToString method

* SaleForm.cs: doc

* NpgsqlContentProvider.cs: registers a command

* FrontOfficeApiController.cs: Set the catalog referer uri in each
  command form found in the catalog

* FrontOfficeController.cs: creates the catalog with referer uri

* instdbws.sql: the command has got a client, as registered user

* Commande.cs: The command has an id and a product reference

* IContentProvider.cs: new RegisterCommand method

* WorkFlowManager.cs: yavscModel/WorkFlow/IContentProvider.cs
This commit is contained in:
Paul Schneider 2015-01-26 16:44:41 +01:00
commit b835053e5f
11 changed files with 122 additions and 19 deletions

View file

@ -3,8 +3,10 @@ VERSION=1.1
CONFIG=Debug
DESTDIR=build/web/$(CONFIG)
COPYUNCHANGED="false"
PREPRODHOSTDIR=localhost:/srv/www/yavsc
PRODHOSTDIR=localhost:/srv/www/lua
LOCALHOSTDIR=localhost:/srv/www/lua
TESTHOSTDIR=localhost:/srv/www/yavsc
PREPRODHOSTDIR=lua.localdomain:/srv/yavsc
PRODHOSTDIR=lua.localdomain:/srv/www/lua
all: deploy
ddir:
@ -24,12 +26,20 @@ clean:
xbuild /t:Clean
rm -rf $(DESTDIR)
rsync-local: deploy
rsync -ravu build/web/$(CONFIG)/ root@$(LOCALHOSTDIR)
rsync-test: deploy
rsync -ravu build/web/$(CONFIG)/ root@$(TESTHOSTDIR)
rsync-preprod: deploy
rsync -ravu build/web/$(CONFIG)/ root@$(PREPRODHOSTDIR)
rsync-prod: deploy
rsync -ravu build/web/$(CONFIG)/ root@$(PRODHOSTDIR)
rsync-all: rsync-local rsync-test rsync-preprod rsync-prod
sourcepkg:
git archive --format=tar --prefix=yavsc-$(CONFIG)/ $(CONFIG) | bzip2 > yavsc-$(CONFIG).tar.bz2