marco
5d7cbf136d
Final subscriber with ORM.
2015-08-07 18:30:31 +02:00
marco
4378d42274
First implementation of the Subscriber ORM Model.
2015-08-07 15:36:43 +02:00
marco
bb28f0ad5b
Initialize ORM in the initializer.
2015-08-07 12:59:28 +02:00
marco
065afb9c61
Add db source name to Env.
2015-08-07 12:57:12 +02:00
marco
a76ccbd6a8
Add email column to the subscriber schema.
2015-08-03 19:59:54 +02:00
marco
eee532c62a
Add a global plugin prefix to the environment class.
2015-08-03 19:57:13 +02:00
marco
dc00abb0da
Refactor Migrator to support functional sql generators.
2015-08-03 17:12:05 +02:00
Jonathan Labreuille
3edcc2966e
renamed MailPoet\Renderer to MailPoet\Twig - close #34
2015-08-03 15:57:38 +02:00
marco
d76725e186
Remove old settings class.
...
The new settings class will be a model mapped to the Database.
Ref #30
2015-08-03 15:29:30 +02:00
Jonathan Labreuille
99c9f7b393
major bugfixes and refactoring on form editor - just waitin' for the db now :)
2015-07-31 23:51:46 +02:00
Jonathan Labreuille
17ccf1cc81
- added codemirror symlinks + missing files from previous commit
2015-07-31 19:02:44 +02:00
Jonathan Labreuille
c1b5b4e1d1
added handlebars extension for Twig + migrated all partials for form editor + added handlebars helpers
2015-07-31 19:00:20 +02:00
Jonathan Labreuille
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
marco
8d4a2b6308
Merge branch 'master' of github.com:JoN1oP/namp2
2015-07-30 22:01:03 +02:00
marco
838d696346
Simple subscriber table.
2015-07-30 22:00:34 +02:00
Jonathan Labreuille
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
marco
408f43cc47
Pluralize migrator methods.
2015-07-30 20:02:11 +02:00
marco
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
marco
006a1015f0
Merge branch 'master' of github.com:JoN1oP/namp2
2015-07-30 15:32:56 +02:00
marco
47b874725b
Add DB charset to Env.
2015-07-30 15:32:38 +02:00
Jonathan Labreuille
f9a2d0026c
reduced mapped i18n functions to a strict minimum and updated README
2015-07-29 19:30:37 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
acc3854ba9
fixed conflict and removed test in initializer
2015-07-29 16:56:23 +02:00
Jonathan Labreuille
9e2df5c1d7
started migrating form editor + i18n added makepot with twig templates support
2015-07-29 16:54:06 +02:00
marco
8b9cc8c109
Add all WP db variable to the Env.
2015-07-29 16:35:10 +02:00
marco
0e5f1a74de
Initialize Env in the plugin initializer.
2015-07-29 16:29:15 +02:00
marco
8e0217674f
Env class to hold all environment variables.
...
We are going to use this class to store all variables
that we would store with globals and defines.
It will be initialized in the initializer and we'll be
able to get any variable with static methods.
2015-07-29 16:23:50 +02:00
marco
ebe3c5547f
First Migrator class and test.
2015-07-29 16:03:47 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
b563dd179b
added MAILPOET_VERSION constant + tried to add tests for form render but need WP env in unit test
2015-07-27 12:27:46 +02:00
Jonathan Labreuille
4fdf90422d
added ajax library + ajax tests in sample page
2015-07-27 12:04:21 +02:00
Jonathan Labreuille
95042d68e5
migrated form renderer with basic unit tests
2015-07-24 17:47:08 +02:00
Jonathan Labreuille
96fe85de3b
Merge branch 'master' of github.com:JoN1oP/namp2
2015-07-24 11:53:28 +02:00
Jonathan Labreuille
e753a36acf
- migrated Host Web & SMTP classes from MP3 (with unit tests)
...
- added dependencies in relation to issue #13 (still ongoing)
2015-07-24 11:51:32 +02:00
marco
391e29e7f3
Replaced settings tests with stubbed WP class.
...
Settings classes must be merged.
2015-07-23 12:58:41 +02:00
marco
ad68ed4f05
Settings class and stubbed WP class in tests.
2015-07-23 12:56:28 +02:00
marco
02a8e0883a
Add option prefix.
2015-07-23 12:31:17 +02:00
marco
7e80f40706
WP Option class to set and get options.
2015-07-23 12:28:20 +02:00
Jonathan Labreuille
d3ec721eae
updated Settings class and added unit tests
2015-07-23 12:06:10 +02:00
Jonathan Labreuille
3a572a99ff
- renamed DKIM class method to camelCase and updated unit test - re-added acceptance suite yml file to the repo and updated gitignore
2015-07-22 11:42:17 +02:00
Jonathan Labreuille
43275b5085
migrated and added unit test for \MailPoet\Util\DKIM class
2015-07-21 19:02:59 +02:00
Jonathan Labreuille
fdddcbea14
added symlink dependencies for node_modules in Robo
2015-07-21 12:35:27 +02:00
marco
5b70529978
XlsxWriter test to make sure it's properly namespaced.
2015-07-17 16:05:22 +02:00
marco
45c59433e2
Make XLSXWriter a static dependency.
2015-07-17 15:50:56 +02:00
marco
878fcd005a
Unit tests.
2015-07-16 16:45:25 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
99ad7d66af
added src folders for assets css & js + added contributing doc + added install instructions for stylus
2015-07-15 20:03:05 +02:00
Jonathan Labreuille
86cd5b09ab
removed RedbeanPHP, not a valid orm candidate afterall
2015-07-14 16:19:30 +02:00
marco
e88bb87abc
Fix autoloading MailPoet initializer.
2015-07-14 13:20:41 +02:00
Jonathan Labreuille
1d0a412f7a
started playing with RedBean - introduced mailpoet model as a middle layer
2015-07-14 13:07:19 +02:00