Commit Graph

597 Commits

Author SHA1 Message Date
Julien
9d1dfcb61c Merge pull request #556 from lovenunu/fix-database
Add foreign key constraints for order_address
2014-07-30 10:29:15 +02:00
Benjamin Perche
c39e6bcf85 Add foreign key constraints for order_address
modifié:         core/lib/Thelia/Model/Base/Country.php
	modifié:         core/lib/Thelia/Model/Base/CountryQuery.php
	modifié:         core/lib/Thelia/Model/Base/CustomerTitle.php
	modifié:         core/lib/Thelia/Model/Base/CustomerTitleQuery.php
	modifié:         core/lib/Thelia/Model/Base/OrderAddress.php
	modifié:         core/lib/Thelia/Model/Base/OrderAddressQuery.php
	modifié:         core/lib/Thelia/Model/Map/CountryTableMap.php
	modifié:         core/lib/Thelia/Model/Map/CustomerTitleTableMap.php
	modifié:         core/lib/Thelia/Model/Map/OrderAddressTableMap.php
	modifié:         local/config/schema.xml
	modifié:         setup/thelia.sql
	modifié:         setup/update/2.0.3.sql
2014-07-29 14:14:46 +02:00
Benjamin Perche
b4eb12f12a Fix method that prevents orders to be set as Paid in the BO
modifié:         core/lib/Thelia/Model/Order.php
2014-07-29 11:34:57 +02:00
lovenunu
c3ef1ab6b7 Fix logicial error on counting attempts
modified:   core/lib/Thelia/Form/FirewallForm.php
	modified:   core/lib/Thelia/Model/FormFirewall.php
2014-07-16 08:28:53 +02:00
lovenunu
13cb3dbbdc Fix cs and refactor FormFirewall raw values usage
modified:   core/lib/Thelia/Form/FirewallForm.php
	modified:   core/lib/Thelia/Model/FormFirewallQuery.php
	modified:   core/lib/Thelia/Model/Tax.php
2014-07-16 08:28:53 +02:00
lovenunu
978f15357c Apply firewall security on BaseForm::validateForm
modified:   core/lib/Thelia/Controller/BaseController.php
	modified:   core/lib/Thelia/Form/AddressCreateForm.php
	new file:   core/lib/Thelia/Form/FirewallForm.php
	modified:   core/lib/Thelia/Model/FormFirewall.php
	modified:   setup/insert.sql
2014-07-16 08:28:53 +02:00
lovenunu
b42ff568e0 Define firewall model
new file:   core/lib/Thelia/Model/Base/FormFirewall.php
	new file:   core/lib/Thelia/Model/Base/FormFirewallQuery.php
	new file:   core/lib/Thelia/Model/FormFirewall.php
	new file:   core/lib/Thelia/Model/FormFirewallQuery.php
	new file:   core/lib/Thelia/Model/Map/FormFirewallTableMap.php
	modified:   local/config/schema.xml
	modified:   setup/thelia.sql
2014-07-16 08:28:53 +02:00
Julien
f06854ce48 Merge pull request #505 from roadster31/brands
- Brands implementation
- image + documents refactoring
- new smarty functions for form generation.
- lots of code enhancements
2014-07-08 11:45:44 +02:00
Franck Allimant
6ebf2c7e42 Fixed "with the close or save and close button you get an exception" 2014-07-07 22:44:39 +02:00
Julien Chanséaume
791323776a added strict test === 2014-07-02 10:32:25 +02:00
Julien Chanséaume
3a9ce68694 added cache to get default country and currency 2014-07-02 09:55:14 +02:00
Franck Allimant
b4f3e3b60a Fixed wrong fk in product table 2014-07-01 02:36:46 +02:00
Franck Allimant
811e89f740 PHP-CS fixer pass 2014-07-01 01:07:56 +02:00
Benjamin Perche
fd1a34604e Add load requirements in getTypeInstance
modifié:         core/lib/Thelia/Model/Tax.php
2014-06-27 10:03:14 +02:00
Franck Allimant
ca862b07e4 Merge branch 'master' into brands
Conflicts:
	core/lib/Thelia/Tools/FileManager.php
	setup/update/2.0.3.sql
2014-06-26 16:35:08 +02:00
Franck Allimant
65dd2fb129 Changed product_brand fk 2014-06-26 15:50:00 +02:00
Franck Allimant
9b455e6c87 Fixed unit tests 2014-06-26 11:26:49 +02:00
Franck Allimant
0dde8b888a Added brands management 2014-06-26 10:52:13 +02:00
Franck Allimant
2cf405c267 Refactoring of images and documents management 2014-06-26 10:42:57 +02:00
Franck Allimant
114a55c1e8 Refactoring of images and documents management 2014-06-26 10:36:12 +02:00
Michaël Espeche
6661341eb4 Replace findOneById by findPk 2014-06-26 08:59:21 +02:00
Michaël Espeche
ed464db6fd Add substitution 2014-06-25 16:43:06 +02:00
Guillaume Barral
69d496715e Merge branch 'master' of https://github.com/thelia/thelia into yochima-branch 2014-06-19 13:59:16 +02:00
Guillaume Barral
60124feb17 modification of model Order to not insert two times the order_version (when we insert for the first time an order object) 2014-06-19 12:02:58 +02:00
Franck Allimant
d66d2b3839 PHP-CS fixer pass. 2014-06-19 00:33:24 +02:00
Franck Allimant
f842f90e00 Merge branch 'master' into tinymce
Conflicts:
	local/modules/Tinymce/templates/backOffice/default/include/tinymce_init.tpl
2014-06-19 00:16:21 +02:00
Franck Allimant
0d0f04bf29 Added getConfiguredShopUrl() to access url_site variable 2014-06-18 19:34:43 +02:00
Guillaume Barral
6e9412f3ac Add the table order_version to Thelia 2014-06-18 14:22:15 +02:00
Manuel Raynaud
101197c0de various fixes from insight 2014-06-18 09:33:32 +02:00
Franck Allimant
ee47488cc8 getDefaultSaleElements() returns a single ProductSaleElement 2014-06-14 17:45:05 +02:00
Franck Allimant
ec26ebac32 php-cs fixer passed. 2014-06-12 17:10:38 +02:00
Franck Allimant
992100f145 Added helper to chek if number of uses is reached 2014-06-12 16:40:07 +02:00
Manuel Raynaud
2ddc0fb6a3 fix cs 2014-06-11 17:14:13 +02:00
Manuel Raynaud
5edeee6996 fix cs 2014-06-11 16:09:44 +02:00
Manuel Raynaud
4856a5f733 remove unused variable 2014-06-11 15:59:20 +02:00
Manuel Raynaud
6084d9ac00 implement new breadcrumb on image and document edition in the catalog. Fix #460 2014-06-11 14:50:19 +02:00
Manuel Raynaud
476bda3d4a implement new breadcrumb on image and document edition in the catalog 2014-06-11 14:50:19 +02:00
Franck Allimant
0683d20d2c Improved and simplified coupon form management 2014-06-11 09:43:09 +02:00
Manuel Raynaud
980cd08704 fix cs 2014-06-05 17:39:15 +02:00
Manuel Raynaud
86c34f589c fix payment and delivery form. Fix #434 2014-06-05 17:21:37 +02:00
Benjamin Perche
946a671c4d Fix cs
modifié:         core/lib/Thelia/Core/Event/SessionEvent.php
	modifié:         core/lib/Thelia/Core/EventListener/SessionListener.php
	modifié:         core/lib/Thelia/Core/TheliaKernelEvents.php
	modifié:         core/lib/Thelia/Model/CartItem.php
2014-06-04 13:43:03 +02:00
Manuel Raynaud
d439197133 translate product in car. Fix #416 2014-05-30 17:07:55 +02:00
Manuel Raynaud
087fc6e9bf reset modified column after admin connection 2014-05-27 17:09:53 +02:00
Franck Allimant
d576e62082 Removed uses of Base in core/lib/Thelia/Model 2014-05-19 09:50:18 +02:00
Franck Allimant
ab060486d0 Fixed Thelia\Model\Base uses. 2014-05-18 20:19:48 +02:00
Franck Allimant
cae0db00eb Applied Windows version of php-cs script 2014-05-17 12:00:08 +02:00
Franck Allimant
2c7337d8e0 Applied php-cs-fixer with level psr2 2014-05-17 10:56:29 +02:00
Franck Allimant
f8ccea1899 Added per-user coupon maximum usage count 2014-05-17 10:56:19 +02:00
Franck Allimant
90947bcda9 Free shipping restricitions based on Countries and Shipping module 2014-05-16 10:30:15 +02:00
Franck Allimant
392abff271 Free shipping for selected countries and/or shipping methods 2014-05-15 20:25:22 +02:00