Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
repanier
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris
repanier
Commits
3c92c5ed
Commit
3c92c5ed
authored
Mar 12, 2014
by
Patrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release candidate
parent
c24211cb
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
7 additions
and
1163 deletions
+7
-1163
install/createdb/DB_initiale.ods
install/createdb/DB_initiale.ods
+0
-0
install/createdb/customers.csv
install/createdb/customers.csv
+0
-81
install/createdb/groups.csv
install/createdb/groups.csv
+0
-175
install/createdb/producers.csv
install/createdb/producers.csv
+0
-48
install/createdb/products.csv
install/createdb/products.csv
+0
-468
install/createdb/sites.csv
install/createdb/sites.csv
+0
-6
install/createdb/staffs.csv
install/createdb/staffs.csv
+0
-13
install/install_new_site.sh
install/install_new_site.sh
+0
-39
install/install_new_virtualenv.sh
install/install_new_virtualenv.sh
+0
-68
mysite/apero_settings.py
mysite/apero_settings.py
+0
-55
mysite/lelensois_settings.py
mysite/lelensois_settings.py
+0
-55
mysite/producer_settings.py
mysite/producer_settings.py
+0
-55
mysite/repanier_settings.py
mysite/repanier_settings.py
+0
-67
repanier/admin_send_mail.py
repanier/admin_send_mail.py
+7
-7
repanier/templates/repanier/order_test_form.html
repanier/templates/repanier/order_test_form.html
+0
-26
No files found.
install/createdb/DB_initiale.ods
deleted
100644 → 0
View file @
c24211cb
File deleted
install/createdb/customers.csv
deleted
100644 → 0
View file @
c24211cb
This diff is collapsed.
Click to expand it.
install/createdb/groups.csv
deleted
100644 → 0
View file @
c24211cb
"content_type_id","app_label","model","permission codename","Administration","All","Order","Account","Webmaster"
22,"admin","logentry","add_logentry",,"x",,,"x"
22,"admin","logentry","change_logentry",,"x",,,"x"
22,"admin","logentry","delete_logentry",,"x",,,"x"
3,"auth","group","add_group",," ",,,
3,"auth","group","change_group",," ",,,
3,"auth","group","delete_group",," ",,,
2,"auth","permission","add_permission",," ",,,
2,"auth","permission","change_permission",," ",,,
2,"auth","permission","delete_permission",," ",,,
4,"auth","user","add_user",,,,,
4,"auth","user","change_user"," ",,,,
4,"auth","user","delete_user",,,,,
10,"cms","cmsplugin","add_cmsplugin",,,,,"x"
10,"cms","cmsplugin","change_cmsplugin",,,,,"x"
10,"cms","cmsplugin","delete_cmsplugin",,,,,"x"
13,"cms","globalpagepermission","add_globalpagepermission",,,,,"x"
13,"cms","globalpagepermission","change_globalpagepermission",,,,,"x"
13,"cms","globalpagepermission","delete_globalpagepermission",,,,,"x"
11,"cms","page","add_page",,,,,"x"
11,"cms","page","change_page",,,,,"x"
11,"cms","page","delete_page",,,,,"x"
11,"cms","page","publish_page",,,,,"x"
11,"cms","page","view_page",,,,,"x"
12,"cms","pagemoderatorstate","add_pagemoderatorstate",,,,,"x"
12,"cms","pagemoderatorstate","change_pagemoderatorstate",,,,,"x"
12,"cms","pagemoderatorstate","delete_pagemoderatorstate",,,,,"x"
14,"cms","pagepermission","add_pagepermission",,,,,"x"
14,"cms","pagepermission","change_pagepermission",,,,,"x"
14,"cms","pagepermission","delete_pagepermission",,,,,"x"
15,"cms","pageuser","add_pageuser",,,,,"x"
15,"cms","pageuser","change_pageuser",,,,,"x"
15,"cms","pageuser","delete_pageuser",,,,,"x"
16,"cms","pageusergroup","add_pageusergroup",,,,,"x"
16,"cms","pageusergroup","change_pageusergroup",,,,,"x"
16,"cms","pageusergroup","delete_pageusergroup",,,,,"x"
9,"cms","placeholder","add_placeholder",,,,,"x"
9,"cms","placeholder","change_placeholder",,,,,"x"
9,"cms","placeholder","delete_placeholder",,,,,"x"
18,"cms","placeholderreference","add_placeholderreference",,,,,"x"
18,"cms","placeholderreference","change_placeholderreference",,,,,"x"
18,"cms","placeholderreference","delete_placeholderreference",,,,,"x"
19,"cms","staticplaceholder","add_staticplaceholder",,,,,"x"
19,"cms","staticplaceholder","change_staticplaceholder",,,,,"x"
19,"cms","staticplaceholder","delete_staticplaceholder",,,,,"x"
17,"cms","title","add_title",,,,,"x"
17,"cms","title","change_title",,,,,"x"
17,"cms","title","delete_title",,,,,"x"
8,"cms","usersettings","add_usersettings",,,,,"x"
8,"cms","usersettings","change_usersettings",,,,,"x"
8,"cms","usersettings","delete_usersettings",,,,,"x"
33,"cmsplugin_filer_file","filerfile","add_filerfile",,,,,"x"
33,"cmsplugin_filer_file","filerfile","change_filerfile",,,,,"x"
33,"cmsplugin_filer_file","filerfile","delete_filerfile",,,,,"x"
34,"cmsplugin_filer_folder","filerfolder","add_filerfolder",,,,,"x"
34,"cmsplugin_filer_folder","filerfolder","change_filerfolder",,,,,"x"
34,"cmsplugin_filer_folder","filerfolder","delete_filerfolder",,,,,"x"
35,"cmsplugin_filer_image","filerimage","add_filerimage",,,,,"x"
35,"cmsplugin_filer_image","filerimage","change_filerimage",,,,,"x"
35,"cmsplugin_filer_image","filerimage","delete_filerimage",,,,,"x"
36,"cmsplugin_filer_image","thumbnailoption","add_thumbnailoption",,"x",,,
36,"cmsplugin_filer_image","thumbnailoption","change_thumbnailoption",,"x",,,
36,"cmsplugin_filer_image","thumbnailoption","delete_thumbnailoption",,"x",,,
37,"cmsplugin_filer_teaser","filerteaser","add_filerteaser",,,,,"x"
37,"cmsplugin_filer_teaser","filerteaser","change_filerteaser",,,,,"x"
37,"cmsplugin_filer_teaser","filerteaser","delete_filerteaser",,,,,"x"
38,"cmsplugin_filer_video","filervideo","add_filervideo",,,,,"x"
38,"cmsplugin_filer_video","filervideo","change_filervideo",,,,,"x"
38,"cmsplugin_filer_video","filervideo","delete_filervideo",,,,,"x"
5,"contenttypes","contenttype","add_contenttype",,,,,"x"
5,"contenttypes","contenttype","change_contenttype",,,,,"x"
5,"contenttypes","contenttype","delete_contenttype",,,,,"x"
7,"djangocms_text_ckeditor","text","add_text",,,,,"x"
7,"djangocms_text_ckeditor","text","change_text",,,,,"x"
7,"djangocms_text_ckeditor","text","delete_text",,,,,"x"
31,"easy_thumbnails","source","add_source",,,,,"x"
31,"easy_thumbnails","source","change_source",,,,,"x"
31,"easy_thumbnails","source","delete_source",,,,,"x"
32,"easy_thumbnails","thumbnail","add_thumbnail",,,,,"x"
32,"easy_thumbnails","thumbnail","change_thumbnail",,,,,"x"
32,"easy_thumbnails","thumbnail","delete_thumbnail",,,,,"x"
28,"filer","clipboard","add_clipboard",,"x",,,
28,"filer","clipboard","change_clipboard",,"x",,,
28,"filer","clipboard","delete_clipboard",,"x",,,
29,"filer","clipboarditem","add_clipboarditem",,"x",,,
29,"filer","clipboarditem","change_clipboarditem",,"x",,,
29,"filer","clipboarditem","delete_clipboarditem",,"x",,,
27,"filer","file","add_file","x",,"x",,"x"
27,"filer","file","change_file","x",,"x",,"x"
27,"filer","file","delete_file","x","x",,,"x"
25,"filer","folder","add_folder","x","x","x",,"x"
25,"filer","folder","can_use_directory_listing","x","x","x",,"x"
25,"filer","folder","change_folder","x","x","x",,"x"
25,"filer","folder","delete_folder","x","x",,,
26,"filer","folderpermission","add_folderpermission",,"x",,,
26,"filer","folderpermission","change_folderpermission",,"x",,,
26,"filer","folderpermission","delete_folderpermission",,"x",,,
30,"filer","image","add_image","x",,"x",,"x"
30,"filer","image","change_image","x",,"x",,"x"
30,"filer","image","delete_image","x","x",,,
23,"googlemap","googlemap","add_googlemap",,,,,"x"
23,"googlemap","googlemap","change_googlemap",,,,,"x"
23,"googlemap","googlemap","delete_googlemap",,,,,"x"
24,"link","link","add_link",,,,,"x"
24,"link","link","change_link",,,,,"x"
24,"link","link","delete_link",,,,,"x"
20,"menus","cachekey","add_cachekey",,"x",,,
20,"menus","cachekey","change_cachekey",,"x",,,
20,"menus","cachekey","delete_cachekey",,"x",,,
55,"repanier","bankaccount","add_bankaccount",,,,"x",
55,"repanier","bankaccount","change_bankaccount",,,,"x",
55,"repanier","bankaccount","delete_bankaccount",,,,"x",
47,"repanier","customer","add_customer","x",,,,
47,"repanier","customer","change_customer","x",,,,
47,"repanier","customer","delete_customer","x",,,,
42,"repanier","lut_departmentforcustomer","add_lut_departmentforcustomer","x",,,,
42,"repanier","lut_departmentforcustomer","change_lut_departmentforcustomer","x",,,,
42,"repanier","lut_departmentforcustomer","delete_lut_departmentforcustomer","x",,,,
43,"repanier","lut_departmentforproducer","add_lut_departmentforproducer","x",,,,
43,"repanier","lut_departmentforproducer","change_lut_departmentforproducer","x",,,,
43,"repanier","lut_departmentforproducer","delete_lut_departmentforproducer","x",,,,
44,"repanier","lut_permanencerole","add_lut_permanencerole","x",,,,
44,"repanier","lut_permanencerole","change_lut_permanencerole","x",,,,
44,"repanier","lut_permanencerole","delete_lut_permanencerole","x",,,,
41,"repanier","lut_productionmode","add_lut_productionmode","x",,,,
41,"repanier","lut_productionmode","change_lut_productionmode","x",,,,
41,"repanier","lut_productionmode","delete_lut_productionmode","x",,,,
53,"repanier","offeritem","add_offeritem",,,"x",,
53,"repanier","offeritem","change_offeritem",,,"x",,
53,"repanier","offeritem","delete_offeritem",,,"x",,
51,"repanier","permanence","add_permanence",,"x",,,
51,"repanier","permanence","add_permanencedone",,,,"x",
51,"repanier","permanence","add_permanenceinpreparation",,,"x",,
51,"repanier","permanence","change_permanence",,"x",,,
51,"repanier","permanence","change_permanencedone",,,,"x",
51,"repanier","permanence","change_permanenceinpreparation",,,"x",,
51,"repanier","permanence","delete_permanence",,"x",,,
51,"repanier","permanence","delete_permanencedone",,,,"x",
51,"repanier","permanence","delete_permanenceinpreparation",,,"x",,
52,"repanier","permanenceboard","add_permanenceboard",,,"x",,
52,"repanier","permanenceboard","change_permanenceboard",,,"x",,
52,"repanier","permanenceboard","delete_permanenceboard",,,"x",,
45,"repanier","producer","add_producer","x",,,,
45,"repanier","producer","change_producer","x",,,,
45,"repanier","producer","delete_producer","x",,,,
50,"repanier","product","add_product",,,"x",,
50,"repanier","product","change_product",,,"x",,
50,"repanier","product","delete_product",,,"x",,
54,"repanier","purchase","add_purchase",,,,"x",
54,"repanier","purchase","change_purchase",,,"x","x",
54,"repanier","purchase","delete_purchase",,"x",,,
48,"repanier","sitecustomer","add_sitecustomer",,,"x",,
48,"repanier","sitecustomer","change_sitecustomer",,,"x",,
48,"repanier","sitecustomer","delete_sitecustomer",,,"x",,
46,"repanier","siteproducer","add_siteproducer",,,"x",,
46,"repanier","siteproducer","change_siteproducer",,,"x",,
46,"repanier","siteproducer","delete_siteproducer",,,"x",,
49,"repanier","sitestaff","add_sitestaff","x",,,,
49,"repanier","sitestaff","change_sitestaff","x",,,,
49,"repanier","sitestaff","delete_sitestaff","x",,,,
39,"reversion","revision","add_revision",,"x",,,
39,"reversion","revision","change_revision",,"x",,,
39,"reversion","revision","delete_revision",,"x",,,
40,"reversion","version","add_version",,"x",,,
40,"reversion","version","change_version",,"x",,,
40,"reversion","version","delete_version",,"x",,,
6,"sessions","session","add_session",,"x",,,
6,"sessions","session","change_session",,"x",,,
6,"sessions","session","delete_session",,"x",,,
1,"sites","site","add_site",,,,,
1,"sites","site","change_site",,,,,
1,"sites","site","delete_site",,,,,
21,"south","migrationhistory","add_migrationhistory",,"x",,,
21,"south","migrationhistory","change_migrationhistory",,"x",,,
21,"south","migrationhistory","delete_migrationhistory",,"x",,,
install/createdb/producers.csv
deleted
100644 → 0
View file @
c24211cb
"site","username","password","email","first_name","last_name","phone1","phone2","fax","bank_account","address","short_profile_name","long_profile_name","memo","date_previous_balance","previous_balance","amount_in","amount_out","represent_this_buyinggroup"
3,,,,,,,,,"IBAN","address","ZZC-CRASEN","ZZC-CRASEN","Mémo ZZC-CRASEN",2013-10-31,0,0,0,"False"
3,,,,,,,,,"IBAN","address","ZZC-GASATH ASBL","ZZC-GASATH ASBL","Mémo ZZC-GASATH ASBL",2013-10-31,0,0,0,"False"
3,,,,,,,,,"IBAN","address","ZZC-SITE WEB","ZZC-SITE WEB","Mémo ZZC-SITE WEB",2013-10-31,0,0,0,"False"
3,,,,,,,,,"IBAN","address","ZZC-COTISATIONS PTI DEJ","ZZC-COTISATIONS PTI DEJ","Mémo ZZC-COTISATIONS PTI DEJ",2013-10-31,0,0,0,"True"
3,"BELOEIL","demo","BELOEIL@ask.it","BELOEIL","demo","phone1","phone2","fax","IBAN","address","BELOEIL","BELOEIL","Mémo BELOEIL",2013-10-31,0,0,0,"False"
3,"BLONDEEL","demo","BLONDEEL@ask.it","BLONDEEL","demo","phone1","phone2","fax","IBAN","address","BLONDEEL","BLONDEEL","Mémo BLONDEEL",2013-10-31,0,0,0,"False"
3,"BRUYERE","demo","BRUYERE@ask.it","BRUYERE","demo","phone1","phone2","fax","IBAN","address","BRUYERE","BRUYERE","Mémo BRUYERE",2013-10-31,0,0,0,"False"
3,"CAUCHIE","demo","CAUCHIE@ask.it","CAUCHIE","demo","phone1","phone2","fax","IBAN","address","CAUCHIE","CAUCHIE","Mémo CAUCHIE",2013-10-31,0,0,0,"False"
3,"D'HONDT","demo","D'HONDT@ask.it","D'HONDT","demo","phone1","phone2","fax","IBAN","address","D'HONDT","D'HONDT","Mémo D'HONDT",2013-10-31,0,0,0,"False"
3,"DORLOU","demo","DORLOU@ask.it","DORLOU","demo","phone1","phone2","fax","IBAN","address","DORLOU","DORLOU","Mémo DORLOU",2013-10-31,0,0,0,"False"
3,"FOURMANOY","demo","FOURMANOY@ask.it","FOURMANOY","demo","phone1","phone2","fax","IBAN","address","FOURMANOY","FOURMANOY","Mémo FOURMANOY",2013-10-31,0,0,0,"False"
3,"FRISHKORN","demo","FRISHKORN@ask.it","FRISHKORN","demo","phone1","phone2","fax","IBAN","address","FRISHKORN","FRISHKORN","Mémo FRISHKORN",2013-10-31,0,0,0,"False"
3,"HOSTIE","demo","HOSTIE@ask.it","HOSTIE","demo","phone1","phone2","fax","IBAN","address","HOSTIE","HOSTIE","Mémo HOSTIE",2013-10-31,0,0,0,"False"
3,"LONGLUNE","demo","LONGLUNE@ask.it","LONGLUNE","demo","phone1","phone2","fax","IBAN","address","LONGLUNE","LONGLUNE","Mémo LONGLUNE",2013-10-31,0,0,0,"False"
3,"MOTTE","demo","MOTTE@ask.it","MOTTE","demo","phone1","phone2","fax","IBAN","address","MOTTE","MOTTE","Mémo MOTTE",2013-10-31,0,0,0,"False"
3,"MOULIN","demo","MOULIN@ask.it","MOULIN","demo","phone1","phone2","fax","IBAN","address","MOULIN","MOULIN","Mémo MOULIN",2013-10-31,0,0,0,"False"
3,"POM D'HAPPY","demo","POM D'HAPPY@ask.it","POM D'HAPPY","demo","phone1","phone2","fax","IBAN","address","POM D'HAPPY","POM D'HAPPY","Mémo POM D'HAPPY",2013-10-31,"-130.70",0,0,"False"
3,"PORTOIS","demo","PORTOIS@ask.it","PORTOIS","demo","phone1","phone2","fax","IBAN","address","PORTOIS","PORTOIS","Mémo PORTOIS",2013-10-31,0,0,0,"False"
3,"RAUCQ","demo","RAUCQ@ask.it","RAUCQ","demo","phone1","phone2","fax","IBAN","address","RAUCQ","RAUCQ","Mémo RAUCQ",2013-10-31,0,0,0,"False"
3,"URBAIN","demo","URBAIN@ask.it","URBAIN","demo","phone1","phone2","fax","IBAN","address","URBAIN","URBAIN","Mémo URBAIN",2013-10-31,0,0,0,"False"
4,,,,,,,,,"IBAN","address","ZZC-CRASEN","ZZC-CRASEN","Mémo ZZC-CRASEN",2013-10-31,0,0,0,"False"
4,,,,,,,,,"IBAN","address","ZZC-GASATH ASBL","ZZC-GASATH ASBL","Mémo ZZC-GASATH ASBL",2013-10-31,0,0,0,"False"
4,,,,,,,,,"IBAN","address","ZZC-SITE WEB","ZZC-SITE WEB","Mémo ZZC-SITE WEB",2013-10-31,0,0,0,"False"
4,,,,,,,,,"IBAN","address","ZZC-COTISATIONS APERO","ZZC-COTISATIONS APERO","Mémo ZZC-COTISATIONS APERO",2013-10-31,0,0,0,"True"
4,"BELOEIL","demo","BELOEIL@ask.it","BELOEIL","demo","phone1","phone2","fax","IBAN","address","BELOEIL","BELOEIL","Mémo BELOEIL",2013-10-31,0,0,0,"False"
4,"BLONDEEL","demo","BLONDEEL@ask.it","BLONDEEL","demo","phone1","phone2","fax","IBAN","address","BLONDEEL","BLONDEEL","Mémo BLONDEEL",2013-10-31,0,0,0,"False"
4,"BRUYERE","demo","BRUYERE@ask.it","BRUYERE","demo","phone1","phone2","fax","IBAN","address","BRUYERE","BRUYERE","Mémo BRUYERE",2013-10-31,0,0,0,"False"
4,"CAUCHIE","demo","CAUCHIE@ask.it","CAUCHIE","demo","phone1","phone2","fax","IBAN","address","CAUCHIE","CAUCHIE","Mémo CAUCHIE",2013-10-31,0,0,0,"False"
4,"D'HONDT","demo","D'HONDT@ask.it","D'HONDT","demo","phone1","phone2","fax","IBAN","address","D'HONDT","D'HONDT","Mémo D'HONDT",2013-10-31,0,0,0,"False"
4,"DORLOU","demo","DORLOU@ask.it","DORLOU","demo","phone1","phone2","fax","IBAN","address","DORLOU","DORLOU","Mémo DORLOU",2013-10-31,0,0,0,"False"
4,"FOURMANOY","demo","FOURMANOY@ask.it","FOURMANOY","demo","phone1","phone2","fax","IBAN","address","FOURMANOY","FOURMANOY","Mémo FOURMANOY",2013-10-31,0,0,0,"False"
4,"FRISHKORN","demo","FRISHKORN@ask.it","FRISHKORN","demo","phone1","phone2","fax","IBAN","address","FRISHKORN","FRISHKORN","Mémo FRISHKORN",2013-10-31,0,0,0,"False"
4,"HOSTIE","demo","HOSTIE@ask.it","HOSTIE","demo","phone1","phone2","fax","IBAN","address","HOSTIE","HOSTIE","Mémo HOSTIE",2013-10-31,0,0,0,"False"
4,"LONGLUNE","demo","LONGLUNE@ask.it","LONGLUNE","demo","phone1","phone2","fax","IBAN","address","LONGLUNE","LONGLUNE","Mémo LONGLUNE",2013-10-31,0,0,0,"False"
4,"MOTTE","demo","MOTTE@ask.it","MOTTE","demo","phone1","phone2","fax","IBAN","address","MOTTE","MOTTE","Mémo MOTTE",2013-10-31,0,0,0,"False"
4,"MOULIN","demo","MOULIN@ask.it","MOULIN","demo","phone1","phone2","fax","IBAN","address","MOULIN","MOULIN","Mémo MOULIN",2013-10-31,0,0,0,"False"
4,"POM D'HAPPY","demo","POM D'HAPPY@ask.it","POM D'HAPPY","demo","phone1","phone2","fax","IBAN","address","POM D'HAPPY","POM D'HAPPY","Mémo POM D'HAPPY",2013-10-31,"-130.70",0,0,"False"
4,"PORTOIS","demo","PORTOIS@ask.it","PORTOIS","demo","phone1","phone2","fax","IBAN","address","PORTOIS","PORTOIS","Mémo PORTOIS",2013-10-31,0,0,0,"False"
4,"RAUCQ","demo","RAUCQ@ask.it","RAUCQ","demo","phone1","phone2","fax","IBAN","address","RAUCQ","RAUCQ","Mémo RAUCQ",2013-10-31,0,0,0,"False"
4,"URBAIN","demo","URBAIN@ask.it","URBAIN","demo","phone1","phone2","fax","IBAN","address","URBAIN","URBAIN","Mémo URBAIN",2013-10-31,0,0,0,"False"
5,,,,,,,,,"IBAN","address","ZZC-LE PANIER LENSOIS","ZZC-LE PANIER LENSOIS","Mémo ZZC-LE PANIER LENSOIS",2013-10-31,0,0,0,"True"
5,"ROISIN","demo","ROISIN@ask.it","ROISIN","demo","phone1","phone2","fax","IBAN","address","ROISIN","ROISIN","Mémo ROISIN",2013-10-31,0,0,0,"False"
5,"BEAUREGARD","demo","BEAUREGARD@ask.it","BEAUREGARD","demo","phone1","phone2","fax","IBAN","address","BEAUREGARD","BEAUREGARD","Mémo BEAUREGARD",2013-10-31,0,0,0,"False"
5,"BETTE","demo","BETTE@ask.it","BETTE","demo","phone1","phone2","fax","IBAN","address","BETTE","BETTE","Mémo BETTE",2013-10-31,0,0,0,"False"
5,"BRUYERE","demo","BRUYERE@ask.it","BRUYERE","demo","phone1","phone2","fax","IBAN","address","BRUYERE","BRUYERE","Mémo BRUYERE",2013-10-31,0,0,0,"False"
5,"HOSTIE","demo","HOSTIE@ask.it","HOSTIE","demo","phone1","phone2","fax","IBAN","address","HOSTIE","HOSTIE","Mémo HOSTIE",2013-10-31,0,0,0,"False"
5,"RAUCQ","demo","RAUCQ@ask.it","RAUCQ","demo","phone1","phone2","fax","IBAN","address","RAUCQ","RAUCQ","Mémo RAUCQ",2013-10-31,0,0,0,"False"
install/createdb/products.csv
deleted
100644 → 0
View file @
c24211cb
This diff is collapsed.
Click to expand it.
install/createdb/sites.csv
deleted
100644 → 0
View file @
c24211cb
"id","domain","name"
1,"$REPANIER.BE$","Site $REPANIER.BE$"
2,"producer.$REPANIER.BE$","Site producer.$REPANIER.BE$"
3,"ptidej.$REPANIER.BE$","Site ptidej.$REPANIER.BE$"
4,"apero.$REPANIER.BE$","Site apero.$REPANIER.BE$"
5,"lelensois.$REPANIER.BE$","Site lelensois.$REPANIER.BE$"
install/createdb/staffs.csv
deleted
100644 → 0
View file @
c24211cb
"site","username","password","email","first_name","last_name","long_name","customer_responsible","permission"
3,"ptidej-web","demo","ptidej-web@ask.it","Webmaster","Ptidej","Webmaster Ptidej","Bawamby","Webmaster"
3,"ptidej-cde","demo","ptidej-cde@ask.it","Order","Ptidej","Order Ptidej","Bawamby","Order"
3,"ptidej-adm","demo","ptidej-adm@ask.it","Administration","Ptidej","Administration Ptidej","Bawamby","Administration"
3,"ptidej-cpt","demo","ptidej-cpt@ask.it","Account","Ptidej","Account Ptidej","Bawamby","Account"
4,"apero-web","demo","apero-web@ask.it","Webmaster","Apéro","Webmaster Apéro","Amores","Webmaster"
4,"apero-cde","demo","apero-cde@ask.it","Order","Apéro","Order Apéro","Amores","Order"
4,"apero-adm","demo","apero-adm@ask.it","Administration","Apéro","Administration Apéro","Amores","Administration"
4,"apero-cpt","demo","apero-cpt@ask.it","Account","Apéro","Account Apéro","Amores","Account"
5,"lelensois-web","demo","lelensois-web@ask.it","Webmaster","Le Lensois","Webmaster Le Lensois","1003-Philippe","Webmaster"
5,"lelensois-cde","demo","lelensois-cde@ask.it","Order","Le Lensois","Order Le Lensois","1003-Philippe","Order"
5,"lelensois-adm","demo","lelensois-adm@ask.it","Administration","Le Lensois","Administration Le Lensois","1003-Philippe","Administration"
5,"lelensois-cpt","demo","lelensois-cpt@ask.it","Account","Le Lensois","Account Le Lensois","1003-Philippe","Account"
install/install_new_site.sh
deleted
100644 → 0
View file @
c24211cb
#!/bin/bash
if
[
-z
"
$1
"
]
;
then
echo
"usage:
$0
directory_of_the_new_virtualenv domain name of the site"
exit
fi
cd
~
sudo
-k
sudo
-l
cd
~/
$1
/mysite/mysite/media
mkdir
$2
cd
$2
mkdir
public
cd
public
mkdir
cms
mkdir
cms_page_media
sudo chgrp
www-data cms_page_media
chmod
g+w cms_page_media
mkdir
tmp
sudo chgrp
www-data tmp
chmod
g+w tmp
mkdir
filer_public
sudo chgrp
www-data filer_public
chmod
g+w filer_public
mkdir
filer_public_thumbnails
sudo chgrp
www-data filer_public_thumbnails
chmod
g+w filer_public_thumbnails
mkdir
uploaded_pictures
sudo chgrp
www-data uploaded_pictures
chmod
g+w uploaded_pictures
cd
..
mkdir
smedia
cd
smedia
mkdir
filer_private
sudo chgrp
www-data filer_private
chmod
g+w filer_private
mkdir
filer_private_thumbnails
sudo chgrp
www-data filer_private_thumbnails
chmod
g+w filer_private_thumbnails
cd
~
install/install_new_virtualenv.sh
deleted
100644 → 0
View file @
c24211cb
#!/bin/bash
if
[
-z
"
$1
"
]
;
then
echo
"usage:
$0
directory_of_the_new_virtualenv"
exit
fi
cd
~
sudo
-k
sudo
-l
mkdir
$1
virtualenv
$1
cd
$1
source
bin/activate
sudo
apt-get
install
gettext unzip
sudo
apt-get
install
libpq-dev python-dev python-setuptools
pip
install
psycopg2
# IF installing the latest stable version
# pip install django-cms
# ELSE installing the latest development version
# pip install https://github.com/divio/django-cms/archive/develop.zip
# ELSE installing a specific version
pip
install
https://github.com/divio/django-cms/archive/3.0.0.beta3.zip
# ENDIF
pip
install
djangocms-text-ckeditor
# For easy_thumbnails which need Pillow (https://github.com/python-imaging/Pillow)
sudo
apt-get
install
libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms1-dev libwebp-dev tcl8.5-dev tk8.5-dev
pip
install
Pillow
pip
install
cmsplugin-filer
pip
install
django-reversion
pip
install
django_compressor
pip
install
django-admin-sortable2
pip
install
openpyxl
sudo
apt-get
install
libxml2-dev libxslt1-dev
pip
install
docx
# pip install django_debug_toolbar
# pip install django-dajaxice ! not working with Django 1.6
# pip install django-custom-user
# pip install django-registration
pip
install
django-crispy-forms
pip
install
crispy-forms-foundation
export
DJANGO_SETTINGS_MODULE
=
django-admin.py startproject mysite
cd
~/
$1
/mysite/mysite
mkdir
media
mkdir
collect-static
mkdir
templates
# ----------------- Use compressor
cd
~/
$1
/mysite/mysite/collect-static
mkdir
compressor
cd
compressor
mkdir
css
sudo chgrp
www-data css
chmod
g+w css
mkdir
js
sudo chgrp
www-data js
chmod
g+w js
# ----------------- Use django cache
cd
/var/tmp
mkdir
django_cache
sudo chgrp
www-data django_cache
chmod
g+w django_cache
rm
-rf
/var/tmp/django_cache/
*
# ----------------- Use django file session
cd
/var/tmp
mkdir
django_session
sudo chgrp
www-data django_session
chmod
g+w django_session
rm
-rf
/var/tmp/django_session/
*
cd
~
mysite/apero_settings.py
deleted
100644 → 0
View file @
c24211cb
# -*- coding: utf-8 -*-
from
common_settings
import
*
### Site 4 specific parameters
SITE_ID
=
4
if
os
.
getenv
(
'DJANGO_SETTINGS_MODULE_SITE_ID'
,
''
)
==
'4'
else
1
/
0
ALLOWED_HOSTS
=
[
'apero.$REPANIER.BE$'
,]
EMAIL_SUBJECT_PREFIX
=
'['
+
ALLOWED_HOSTS
[
0
]
+
']'
MEDIA_ROOT
=
os
.
path
.
join
(
PROJECT_DIR
,
"media"
,
ALLOWED_HOSTS
[
0
],
"public"
)
TEMPLATE_DIRS
=
(
os
.
path
.
join
(
PROJECT_DIR
,
"templates"
),
)
CACHE_MIDDLEWARE_KEY_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_CACHE_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_TEMPLATES
=
(
(
'home.html'
,
gettext
(
"Homepage"
)),
(
'subpage.html'
,
gettext
(
"Secondary Page"
)),
)
CMS_LANGUAGES
[
SITE_ID
]
=
[
{
'code'
:
'fr'
,
'name'
:
gettext
(
'French'
),
# 'fallbacks': ['en', 'nl'],
'public'
:
True
,
# 'redirect_on_fallback':False,
},
]
CMS_PLACEHOLDER_CONF
=
{
'home-hero'
:
{
'name'
:
gettext
(
'Hero'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-1'
:
{
'name'
:
gettext
(
'Column 1'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-2'
:
{
'name'
:
gettext
(
'Column 2'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-3'
:
{
'name'
:
gettext
(
'Column 3'
),
'plugins'
:
[
'TextPlugin'
,],
# 'limits': {
# 'global': 2,
# 'TextPlugin': 1,
# 'PollPlugin': 1,
# },
},
'subpage_content'
:
{
'name'
:
gettext
(
'Content'
),
},
}
\ No newline at end of file
mysite/lelensois_settings.py
deleted
100644 → 0
View file @
c24211cb
# -*- coding: utf-8 -*-
from
common_settings
import
*
### Site 5 specific parameters
SITE_ID
=
5
if
os
.
getenv
(
'DJANGO_SETTINGS_MODULE_SITE_ID'
,
''
)
==
'5'
else
1
/
0
ALLOWED_HOSTS
=
[
'lelensois.$REPANIER.BE$'
,]
EMAIL_SUBJECT_PREFIX
=
'['
+
ALLOWED_HOSTS
[
0
]
+
']'
MEDIA_ROOT
=
os
.
path
.
join
(
PROJECT_DIR
,
"media"
,
ALLOWED_HOSTS
[
0
],
"public"
)
TEMPLATE_DIRS
=
(
os
.
path
.
join
(
PROJECT_DIR
,
"templates"
),
)
CACHE_MIDDLEWARE_KEY_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_CACHE_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_TEMPLATES
=
(
(
'home.html'
,
gettext
(
"Homepage"
)),
(
'subpage.html'
,
gettext
(
"Secondary Page"
)),
)
CMS_LANGUAGES
[
SITE_ID
]
=
[
{
'code'
:
'fr'
,
'name'
:
gettext
(
'French'
),
# 'fallbacks': ['en', 'nl'],
'public'
:
True
,
# 'redirect_on_fallback':False,
},
]
CMS_PLACEHOLDER_CONF
=
{
'home-hero'
:
{
'name'
:
gettext
(
'Hero'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-1'
:
{
'name'
:
gettext
(
'Column 1'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-2'
:
{
'name'
:
gettext
(
'Column 2'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-3'
:
{
'name'
:
gettext
(
'Column 3'
),
'plugins'
:
[
'TextPlugin'
,],
# 'limits': {
# 'global': 2,
# 'TextPlugin': 1,
# 'PollPlugin': 1,
# },
},
'subpage_content'
:
{
'name'
:
gettext
(
'Content'
),
},
}
\ No newline at end of file
mysite/producer_settings.py
deleted
100644 → 0
View file @
c24211cb
# -*- coding: utf-8 -*-
from
common_settings
import
*
### Site 2 specific parameters
SITE_ID
=
2
if
os
.
getenv
(
'DJANGO_SETTINGS_MODULE_SITE_ID'
,
''
)
==
'2'
else
1
/
0
ALLOWED_HOSTS
=
[
'producer.$REPANIER.BE$'
,]
EMAIL_SUBJECT_PREFIX
=
'['
+
ALLOWED_HOSTS
[
0
]
+
']'
MEDIA_ROOT
=
os
.
path
.
join
(
PROJECT_DIR
,
"media"
,
ALLOWED_HOSTS
[
0
],
"public"
)
TEMPLATE_DIRS
=
(
os
.
path
.
join
(
PROJECT_DIR
,
"templates"
),
)
CACHE_MIDDLEWARE_KEY_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_CACHE_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_TEMPLATES
=
(
(
'home.html'
,
gettext
(
"Homepage"
)),
(
'subpage.html'
,
gettext
(
"Secondary Page"
)),
)
CMS_LANGUAGES
[
SITE_ID
]
=
[
{
'code'
:
'fr'
,
'name'
:
gettext
(
'French'
),
# 'fallbacks': ['en', 'nl'],
'public'
:
True
,
# 'redirect_on_fallback':False,
},
]
CMS_PLACEHOLDER_CONF
=
{
'home-hero'
:
{
'name'
:
gettext
(
'Hero'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-1'
:
{
'name'
:
gettext
(
'Column 1'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-2'
:
{
'name'
:
gettext
(
'Column 2'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-3'
:
{
'name'
:
gettext
(
'Column 3'
),
'plugins'
:
[
'TextPlugin'
,],
# 'limits': {
# 'global': 2,
# 'TextPlugin': 1,
# 'PollPlugin': 1,
# },
},
'subpage_content'
:
{
'name'
:
gettext
(
'Content'
),
},
}
\ No newline at end of file
mysite/repanier_settings.py
deleted
100644 → 0
View file @
c24211cb
# -*- coding: utf-8 -*-
from
common_settings
import
*
### Site 1 specific parameters
SITE_ID
=
1
if
os
.
getenv
(
'DJANGO_SETTINGS_MODULE_SITE_ID'
,
''
)
==
'1'
else
1
/
0
ALLOWED_HOSTS
=
[
'.$REPANIER.BE$'
,]
EMAIL_SUBJECT_PREFIX
=
'['
+
ALLOWED_HOSTS
[
0
]
+
']'
MEDIA_ROOT
=
os
.
path
.
join
(
PROJECT_DIR
,
"media"
,
ALLOWED_HOSTS
[
0
],
"public"
)
TEMPLATE_DIRS
=
(
os
.
path
.
join
(
PROJECT_DIR
,
"templates"
),
)
CACHE_MIDDLEWARE_KEY_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_CACHE_PREFIX
=
ALLOWED_HOSTS
[
0
]
CMS_TEMPLATES
=
(
(
'home.html'
,
gettext
(
"Homepage"
)),
(
'subpage.html'
,
gettext
(
"Secondary Page"
)),
)
CMS_LANGUAGES
[
SITE_ID
]
=
[
{
'code'
:
'fr'
,
'name'
:
gettext
(
'French'
),
# 'fallbacks': ['en', 'nl'],
'public'
:
True
,
# 'redirect_on_fallback':False,
# 'hide_untranslated': False,
},
{
'code'
:
'nl'
,
'name'
:
gettext
(
'Dutch'
),
# 'fallbacks': ['en', 'fr'],
'public'
:
True
,
},
{
'code'
:
'en'
,
'name'
:
gettext
(
'English'
),
'public'
:
True
,
},
]
CMS_PLACEHOLDER_CONF
=
{
'home-hero'
:
{
'name'
:
gettext
(
'Hero'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-1'
:
{
'name'
:
gettext
(
'Column 1'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-2'
:
{
'name'
:
gettext
(
'Column 2'
),
'plugins'
:
[
'TextPlugin'
,],
},
'home-col-3'
:
{
'name'
:
gettext
(
'Column 3'
),
'plugins'
:
[
'TextPlugin'
,],
# 'limits': {
# 'global': 2,
# 'TextPlugin': 1,
# 'PollPlugin': 1,
# },
},
'subpage_content'
:
{
'name'
:
gettext
(
'Content'
),
},
}
\ No newline at end of file
repanier/admin_send_mail.py
View file @
3c92c5ed
...
...
@@ -62,7 +62,7 @@ def email_offers(permanence_id, current_site):
bcc
=
bcc_email
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
def
email_orders
(
permanence_id
,
current_site
):
permanence
=
Permanence
.
objects
.
get
(
id
=
permanence_id
)
...
...
@@ -110,7 +110,7 @@ def email_orders(permanence_id, current_site):
save_virtual_workbook
(
wb
),
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
customer_set
=
Customer
.
objects
.
filter
(
purchase__permanence
=
permanence_id
)
.
order_by
()
.
distinct
()
for
customer
in
customer_set
:
...
...
@@ -127,7 +127,7 @@ def email_orders(permanence_id, current_site):
save_virtual_workbook
(
wb
),
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
wb
=
export_orders_xlsx
(
permanence
=
permanence
,
wb
=
None
)
to_email_board
=
[]
for
permanenceboard
in
PermanenceBoard
.
objects
.
filter
(
...
...
@@ -146,7 +146,7 @@ def email_orders(permanence_id, current_site):
save_virtual_workbook
(
wb
),
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
def
email_invoices
(
permanence_id
,
current_site
):
permanence
=
Permanence
.
objects
.
get
(
id
=
permanence_id
)
...
...
@@ -174,7 +174,7 @@ def email_invoices(permanence_id, current_site):
save_virtual_workbook
(
wb
),
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
customer_set
=
Customer
.
objects
.
filter
(
purchase__permanence
=
permanence_id
)
.
order_by
()
.
distinct
()
for
customer
in
customer_set
:
...
...
@@ -191,7 +191,7 @@ def email_invoices(permanence_id, current_site):
save_virtual_workbook
(
wb
),
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
wb
=
export_invoices_xlsx
(
permanence
=
permanence
,
wb
=
None
)
for
permanenceboard
in
PermanenceBoard
.
objects
.
filter
(
permanence
=
permanence_id
)
.
order_by
():
...
...
@@ -208,4 +208,4 @@ def email_invoices(permanence_id, current_site):
save_virtual_workbook
(
wb
),
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
email
.
attach_alternative
(
html_content
,
"text/html"
)
#
email.send()
email
.
send
()
repanier/templates/repanier/order_test_form.html
deleted
100644 → 0
View file @
c24211cb
{% extends 'subpage_base.html' %}
{% load cms_tags sekizai_tags i18n l10n crispy_forms_tags %}
{% block sub_content %}
<div
class=
"col-md-12"
>
{% crispy form %}
</div>
<div
class=
"col-md-12"
>
{{ email }}
{{ permanence_memo |safe }}
<ul>
{% for producer in siteproducer_set %}
<li>
{{ producer.long_profile_name }}
</li>
{% endfor %}
</ul>
<ul>
{% for offeritem in offeritem_set %}
{% ifchanged offeritem.product.site_producer %}
<b>
{{ offeritem.product.site_producer.long_profile_name }}
</b>
{% endifchanged %}
<li>
{{ offeritem.product.long_name }}
</li>
{% empty %}
<li>
Sorry, no product in this list.
</li>
{% endfor %}
</ul>
</div>
{% endblock %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment