Commit Graph

84 Commits

Author SHA1 Message Date
fGaillard
b62049e8ce [-] Classes : #PSCFI-4569 : BugFix : Get module instance by name fixed
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12032 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-03 09:31:19 +00:00
rMalie
07207496d7 // Rename correctly all hooks
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12006 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-02 15:52:40 +00:00
rMalie
50e4dff4e5 // Refactoring of Hook class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11998 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-02 14:42:05 +00:00
rMalie
fd48572a94 // Remove cleanPositions() in modules when a hook module is added (since the hook module go in last position, we don't need to recalculate all positions) -> greatly improve module installation phase in new installer
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11930 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-30 10:58:25 +00:00
vSchoener
2f7f6b3a3b [-] BO : Fixed bug #PSFV-276. Translates work with module tab
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11891 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-29 14:45:59 +00:00
fSerny
99295113e2 [-] BO : AdminModule now sort modules by alphabetical order
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11825 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-28 10:19:36 +00:00
rMalie
1f7c5e246b [+] MO: Add Module controller, Cheque and Bankwire modules use it
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11635 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-22 16:31:03 +00:00
fSerny
7f1c45e1d9 [-] PROJECT : Fixing register hook retrocompatibility
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11613 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-22 14:47:48 +00:00
fSerny
ec93df4efa [*] BO : Addons modules are now downloaded and installed at the same time (when you click on install button)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11567 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-22 09:40:29 +00:00
fSerny
b204c0f896 [*] BO : Native modules are now downloadable without login on addons
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11525 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-21 17:24:59 +00:00
vSchoener
45044d1a0c // Add the version of the module in database during the install
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11497 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-21 15:05:49 +00:00
jBreux
edd23a9517 // Fix writable test of config.xml file
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11484 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-21 14:00:36 +00:00
fSerny
0b1e2ba0a3 [-] PROJECT : Moving xml files to xml directory
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11438 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-20 17:37:14 +00:00
vSchoener
4b8097e154 // Add module upgrader
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11388 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-19 17:54:54 +00:00
fSerny
e390031c83 // Adding an error message in class Module
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11300 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-16 10:57:50 +00:00
fSerny
2ab9ff175d [-] PROJECT : Cleaning Class Module
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11299 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-16 10:52:45 +00:00
fSerny
5f639b3319 [-] PROJECT : Modules now handle PrestaShop version compliancy and dependencies check
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11289 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-15 20:11:43 +00:00
fSerny
d1baa08bf8 [-] PROJECT : Class Hook cleaned
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11187 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-13 17:28:13 +00:00
vChabot
c0ee7a1306 // removing group_module_restriction table to set every restrictions in an only table : module_group
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10936 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 16:17:42 +00:00
rMalie
ca79a68011 // Fix table / identifier for Module class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10929 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 15:35:21 +00:00
rMalie
d56cb00d8d // Remove Module->templateAssign() from modules (use $this->smarty->assign() instead)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10914 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 14:04:35 +00:00
rMalie
86683a963e // Remove $table and $identifier property from all classes, and add static $definition instead
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10912 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 13:56:03 +00:00
fSerny
a50b0af067 [-] PROJECT : isHookableOn function is now retrocompatible with old hook
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10905 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 12:56:43 +00:00
rMalie
6b61051a16 [*] MO: remove all static call of Module::display() method. Use it as a method on a Module instance.
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10695 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-28 10:04:41 +00:00
rMalie
fe435bdeea // Log edited, this modification on Module::displayTemplate was reverted in a better one
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10675 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-25 16:09:13 +00:00
rMalie
93f4be96b0 [*] Classes: modules templates are now executed in a local space
// Remove Gender::getStaticImage()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10673 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-25 16:02:20 +00:00
fSerny
4c83dce8f4 [-] BO : AdminModule Addons Icon now appear in AutoComplete Search
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10527 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-23 13:49:15 +00:00
lLefevre
a6b66fb288 // Fix bug in AdminPaymentController && added toolbar
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10521 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-23 13:21:39 +00:00
fSerny
79867d0a75 [-] BO : AdminModules fix on Addons Connection
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10514 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-23 11:31:39 +00:00
fSerny
c68c8be6e8 [-] BO : AdminModules - Fix on GetModulesOnDisk and general ergonomy
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10434 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-22 14:53:58 +00:00
fSerny
ef9d7c62b6 // Fix on Module Class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10380 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-21 23:21:49 +00:00
fSerny
c333d84530 [*] BO : Admin Modules now works in Ajax :)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10379 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-21 21:44:52 +00:00
fSerny
2190551536 [*] BO : New module interface tab now connected to PrestaShop Addons
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10365 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-21 17:11:01 +00:00
rMalie
14c94558a6 // Some fix on objectModel children classes (fields not valid, etc.)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9985 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-09 12:16:37 +00:00
fSerny
86e51ee01a // Fix on Module API for retrocompatibility
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9793 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-02 12:42:48 +00:00
fSerny
0ba4fe9c7e [*] PROJECT : New Module API (part 1)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9790 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-02 10:49:01 +00:00
mMarinetti
edbac35e4f // die2Exception
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9698 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-28 08:49:21 +00:00
rMalie
fb601c96f8 // Little fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9606 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-24 15:47:09 +00:00
rMalie
a7bc16dadd // Replace shop->sqlAsso(), shop->sqlLang() and shop->sqlRestriction() with shop->addSqlAssociation(), shop->addSqlRestrictionOnLang() and shop->addSqlRestriction()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9384 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-17 09:46:08 +00:00
rMalie
ca010e3a20 [-] MO: fix blocktopmenu install
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9220 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-11 11:28:31 +00:00
rMalie
577221ff08 // Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9178 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-10 12:18:56 +00:00
vChabot
02026b1c8c // little fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9132 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-07 12:31:58 +00:00
vChabot
4134ed3f5d [*] BO : Modules can now be authorized or not by client group
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9108 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-06 15:22:25 +00:00
rMalie
b4d436ca21 // Merge -> revision 9061
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9069 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-05 15:21:55 +00:00
rMalie
ef17d0b7da // Merge -> revision 8952
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8957 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-03 09:14:01 +00:00
vAugagneur
09338a79bf //small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8954 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-03 08:35:50 +00:00
rMalie
4181a8ea5b // Rename Module->smartyAssign to Module->templateAssign
[+] Front: Add module controller + url dispatch for modules

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8738 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-23 13:50:33 +00:00
rMalie
4f2a090e24 // Merge -> revision 8720
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8722 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-22 15:45:10 +00:00
rMalie
2dbea99b61 [+] MO: Add Module->smartyAssign method, in order to assign variables with module name as prefix in module's templates
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8718 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-22 12:05:49 +00:00
aFolletete
b3d60e169b [*] Project : Version 2 of Smarty has been removed for using only version 3
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8569 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-14 13:27:32 +00:00