Commit Graph

4239 Commits

Author SHA1 Message Date
Benjamin Perche
081a70ef9d Complete sql files and apply special rule from login forms
modifié:         core/lib/Thelia/Form/AdminLogin.php
	modifié:         core/lib/Thelia/Form/CustomerLogin.php
	modifié:         setup/insert.sql
	modifié:         setup/update/2.0.3.sql
2014-07-16 09:14:31 +02:00
Benjamin Perche
3469a56c17 Add new sql table in update file
modifié:         core/lib/Thelia/Form/FirewallForm.php
	modifié:         setup/insert.sql
	modifié:         setup/update/2.0.3.sql
2014-07-16 08:50:50 +02:00
lovenunu
ee11915feb Add french and english translation
modified:   core/lib/Thelia/Config/I18n/en_US.php
	modified:   core/lib/Thelia/Config/I18n/fr_FR.php
2014-07-16 08:28:53 +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
b926f27711 Add firewall on login forms
modified:   core/lib/Thelia/Form/AdminLogin.php
	modified:   core/lib/Thelia/Form/CustomerLogin.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
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
Julien
da5e43c8a7 Merge pull request #525 from zzuutt/patch-5
Added sort order on quantity in ProductSaleElements's loop
2014-07-15 16:01:03 +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
f8ad3e34ae Merge pull request #522 from lovenunu/patch-1
Fix brand auth loop name
Fixes issue [#520](https://github.com/thelia/thelia/issues/520)
2014-07-10 14:46:06 +02:00
Benjamin Perche
98ed617aab Fix brand auth loop name 2014-07-10 14:26:28 +02:00
Julien
87d80cc5a1 Merge pull request #519 from lovenunu/patch-2
Update CHANGELOG.md
2014-07-09 18:39:26 +02:00
Benjamin Perche
70a5d46641 Update CHANGELOG.md 2014-07-09 15:39:55 +02:00
Julien
d44233bd05 Merge pull request #518 from bibich/improvements
updated changelog
2014-07-08 15:35:26 +02:00
Julien Chanséaume
46c124b519 sanitized store description 2014-07-08 15:33:42 +02:00
Julien Chanséaume
e0732573a4 updated changelog 2014-07-08 15:33:07 +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
c520f1e581 Fixed wrong "alt" attribute 2014-07-07 23:24:03 +02:00
Franck Allimant
f651a267c5 Fixed wrong escapin of "required" attribute 2014-07-07 23:23:16 +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
Franck Allimant
082a1905f6 Fixed "it doesn't save anything when you want to edit textarea" 2014-07-07 22:42:44 +02:00
Julien
5784e251f4 Merge pull request #513 from lovenunu/fix
End fix #511
2014-07-07 15:35:06 +02:00
Benjamin Perche
7a0399b303 End fix #511
modifié:         core/lib/Thelia/Action/Customer.php
2014-07-07 14:41:38 +02:00
Julien
c07ea4e324 Merge pull request #512 from lovenunu/fix
Fix issue #511
2014-07-07 14:24:08 +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
Franck Allimant
b7d98d8648 Fixed typos 2014-07-04 16:10:39 +02:00
Benjamin Perche
5412f9891d Merge branch 'master' of https://github.com/thelia/thelia 2014-07-04 15:45:01 +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
Benjamin Perche
794b5ef948 Merge branch 'master' of https://github.com/thelia/thelia 2014-07-04 09:33:45 +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