Commit Graph

33 Commits

Author SHA1 Message Date
787ee9f043 Refactor Localizer into a separate class. 2015-08-09 21:44:37 +02:00
60c0bf702a Migrate activation logic to a separate class. 2015-08-09 21:14:44 +02:00
91c230ae04 Clean Initializer from all local variables and use Env. 2015-08-09 21:08:07 +02:00
acc0bb183d Refactor Renderer into another class to avoid polluting the initalizer. 2015-08-08 23:01:23 +02:00
34153e8df6 Refactor all env variables into Env class. 2015-08-08 22:35:46 +02:00
a06919054d Menu and future routing handling class independent from Initializer. 2015-08-08 17:28:26 +02:00
fa16a49c1d Add plugin name as environment variable. 2015-08-08 16:51:44 +02:00
110c5c1cff Separate DB activation from initializer construct method. 2015-08-08 16:48:28 +02:00
3055cb7d47 Remove test log function. 2015-08-08 16:45:04 +02:00
89a67ec44d Disable form widget while waiting for Form refactor. 2015-08-08 16:18:40 +02:00
8ce501178d Settings model. 2015-08-07 22:57:38 +02:00
a6bc4f5d18 Fix test for Migrator. 2015-08-07 22:14:43 +02:00
4378d42274 First implementation of the Subscriber ORM Model. 2015-08-07 15:36:43 +02:00
bb28f0ad5b Initialize ORM in the initializer. 2015-08-07 12:59:28 +02:00
065afb9c61 Add db source name to Env. 2015-08-07 12:57:12 +02:00
3edcc2966e renamed MailPoet\Renderer to MailPoet\Twig - close #34 2015-08-03 15:57:38 +02:00
99c9f7b393 major bugfixes and refactoring on form editor - just waitin' for the db now :) 2015-07-31 23:51:46 +02:00
c1b5b4e1d1 added handlebars extension for Twig + migrated all partials for form editor + added handlebars helpers 2015-07-31 19:00:20 +02:00
1456cd0a85 changed Twig syntax to Ruby style to avoid conflict with HBS templates + added missing files from makepot 2015-07-31 12:44:06 +02:00
8d4a2b6308 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-30 22:01:03 +02:00
1ddd74e991 fixed symlinks of select2 and added missing images + added i18n functions to twig templates (with auto text domain addition) + added rtl stylesheet (updated robofile to watch it separately from admin.styl so it can be included only if necessary 2015-07-30 21:25:39 +02:00
ba436ccc42 Migrator is now able to create real tables.
Because of how WordPress and the dbDelta function works, it's
basically impossile to test it with Unit testing.
We'll have to make sure we properly test this in acceptance testing.
2015-07-30 20:00:58 +02:00
ec20abb1ee added missing modules for makepot task + added suport for plural forms in html templates + added all major i18n methods in twig 2015-07-29 19:15:21 +02:00
acc3854ba9 fixed conflict and removed test in initializer 2015-07-29 16:56:23 +02:00
9e2df5c1d7 started migrating form editor + i18n added makepot with twig templates support 2015-07-29 16:54:06 +02:00
0e5f1a74de Initialize Env in the plugin initializer. 2015-07-29 16:29:15 +02:00
2c73ab9c5f added WP env to unit tests - migrated form widget and form renderer + need orm to finish widget implementation as it relies on forms 2015-07-27 17:40:47 +02:00
4fdf90422d added ajax library + ajax tests in sample page 2015-07-27 12:04:21 +02:00
7e80f40706 WP Option class to set and get options. 2015-07-23 12:28:20 +02:00
fdddcbea14 added symlink dependencies for node_modules in Robo 2015-07-21 12:35:27 +02:00
e601a1e902 added a twig extension class for assets + reorganized assets structure + added command line for stylus in README 2015-07-15 21:43:55 +02:00
99ad7d66af added src folders for assets css & js + added contributing doc + added install instructions for stylus 2015-07-15 20:03:05 +02:00
e88bb87abc Fix autoloading MailPoet initializer. 2015-07-14 13:20:41 +02:00