Commit Graph

2772 Commits

Author SHA1 Message Date
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
5f6871154c Apply firewall on sensitive forms
modified:   core/lib/Thelia/Form/ContactForm.php
	modified:   core/lib/Thelia/Form/CustomerLostPasswordForm.php
	modified:   core/lib/Thelia/Form/OrderPayment.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
zzuutt
2e9b42053b change min_quantity & max_quantity
change :

min_quantity by quantity
max_quantity by quantity_reverse
2014-07-15 13:09:13 +02:00
zzuutt
a6a6269742 Add in loop ProductSaleElements the order argument
add order arguments 'min_quantity' and 'max_quantity'
2014-07-10 17:21:01 +02:00
Julien
f7c5e96e2e Merge pull request #503 from mespeche/mespeche
Added store_description
2014-07-08 15:21:33 +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
6c1e45276b PHP-CS fixer passed 2014-07-08 10:33:47 +02:00
Franck Allimant
ab484973e1 Fixed "success_url" appearing twice in forms 2014-07-07 23:24:39 +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
Franck Allimant
77a94d06a0 Fixed "you can not delete an image or a document" 2014-07-07 22:43:37 +02:00
Benjamin Perche
7a0399b303 End fix #511
modifié:         core/lib/Thelia/Action/Customer.php
2014-07-07 14:41:38 +02:00
Benjamin Perche
6da2e2a183 Fix issue #511
When the user is registred in the session, the method "eraseCredentials" is cal$
( Thelia\Core\Security\SecurityContext::setCustomerUser ).
The form checks if the customer user of the session has the password given,
or, in the session, the password is null, so it doesn't work.

        modifié:         core/lib/Thelia/Form/CustomerPasswordUpdateForm.php
2014-07-07 14:05:27 +02:00
Julien
924fef8047 Merge pull request #510 from bibich/improvements
fixed new issue on rewriting test due to blank titles on some locale
2014-07-04 15:39:16 +02:00
Franck Allimant
7580d5c869 Template fragments are now in a subdirectory 2014-07-04 15:27:56 +02:00
Franck Allimant
3708fb317b Typo 2014-07-04 15:27:14 +02:00
Julien Chanséaume
ff8350352f small improvement 2014-07-04 15:25:09 +02:00
Julien Chanséaume
c8a4cbcb8a optimization 2014-07-04 14:57:10 +02:00
Franck Allimant
a57d668e3c Improved brand form declarations 2014-07-04 11:54:02 +02:00
Julien Chanséaume
71f4380dff added title for all available langages 2014-07-04 11:27:44 +02:00
Julien Chanséaume
5dae84f0fd fixed new issue on rewriting test due to blank titles on some locale 2014-07-04 10:34:00 +02:00
Julien
e26df0d120 Merge pull request #507 from bibich/improvements
Improvements :
- added cache on default country / currency
- fixed issues on RSS links in default front office template
- fixed random issues on position tests
2014-07-04 09:09:50 +02:00
Franck Allimant
f46168f518 Fixed some typos 2014-07-03 19:19:21 +02:00
Franck Allimant
7576b9990b Fixed minor typos, improved field attributes generation 2014-07-03 16:54:42 +02:00
Franck Allimant
af5e0bde23 Refined form fields HTML bindings 2014-07-03 16:27:18 +02:00
Franck Allimant
c70a296ff2 Refined the form fields html bindings 2014-07-03 16:26:37 +02:00
Franck Allimant
c0541e3aa2 Added getTemplateDirectories method to ParserInterface 2014-07-03 16:25:50 +02:00
Julien Chanséaume
9d79f42ae1 addded test data for position tests 2014-07-03 16:25:18 +02:00
Julien Chanséaume
8436c25c45 fixed painful issues on tests that generated random errors on positions 2014-07-02 15:07:27 +02:00
Guillaume Barral
182ba26045 correction of the filter visible in categoryTree. 2014-07-02 11:47:27 +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
b4e9f34290 Added Brand action test 2014-07-01 01:28:18 +02:00
Franck Allimant
544060d062 NULL no longer returned by $BRAND_ID and $LOGO_IMAGE_ID 2014-07-01 01:21:59 +02:00
Franck Allimant
811e89f740 PHP-CS fixer pass 2014-07-01 01:07:56 +02:00
Franck Allimant
f820a09a1a Added brand loop test 2014-07-01 01:07:03 +02:00
Franck Allimant
e6f7baccb2 Integrated into SmartyParser.php 2014-07-01 01:00:34 +02:00
Franck Allimant
189ad9f782 Added html_output_trim_level config var, fix for #490 2014-07-01 00:57:41 +02:00
Franck Allimant
c1e3694ab8 Typo 2014-06-30 23:02:03 +02:00
Franck Allimant
a4806132a1 Fixed again excaption image is not found 2014-06-30 22:56:00 +02:00
Franck Allimant
63d8ea52dd No more Exception if ID cannot be found (e.g. content=0) 2014-06-30 22:04:09 +02:00
Franck Allimant
7a10a25780 Added "current" loop parameter 2014-06-30 20:13:51 +02:00
Franck Allimant
c209df59f5 Added "brand" loop parameter 2014-06-30 20:13:30 +02:00
Franck Allimant
4f7f26380a Fixed some more method comments 2014-06-30 19:30:00 +02:00
Franck Allimant
e972a4be60 Fixed renderRaw method comment 2014-06-30 19:24:47 +02:00
Franck Allimant
a3a2b8ad8e Added brand data access 2014-06-30 15:18:22 +02:00
Franck Allimant
7ab306cb6c Tra,slations of strings moved from templates to form definitions 2014-06-30 14:51:04 +02:00
Franck Allimant
31182c07fc Added product parapter 2014-06-30 14:49:58 +02:00