Commit Graph

20858 Commits

Author SHA1 Message Date
065afb9c61 Add db source name to Env. 2015-08-07 12:57:12 +02:00
90d941acb8 Add Paris ORM dependency. 2015-08-04 22:40:20 +02:00
31345b12a1 Do not specify public on public methods. 2015-08-03 21:35:00 +02:00
e24faf8b65 Public keyword is not needed. 2015-08-03 21:34:15 +02:00
a76ccbd6a8 Add email column to the subscriber schema. 2015-08-03 19:59:54 +02:00
eee532c62a Add a global plugin prefix to the environment class. 2015-08-03 19:57:13 +02:00
a8c08fecb6 Require 'use' when loading namespaced classes. 2015-08-03 19:43:49 +02:00
12418fe28d Rename test method. 2015-08-03 19:40:43 +02:00
dc00abb0da Refactor Migrator to support functional sql generators. 2015-08-03 17:12:05 +02:00
cd990f40ce Merge pull request #38 from JoN1oP/test_data
Remove generated tests from the repo.
2015-08-03 16:05:51 +02:00
8cc1ad69b9 Typo on generated class. 2015-08-03 16:04:55 +02:00
46c96f80d3 Merge pull request #37 from JoN1oP/rename_renderer_to_twig
renamed MailPoet\Renderer to MailPoet\Twig
2015-08-03 16:01:23 +02:00
3edcc2966e renamed MailPoet\Renderer to MailPoet\Twig - close #34 2015-08-03 15:57:38 +02:00
304bc9419e Remove generated tests from the repo.
Codeception creates a dynamic class to handle test helpers.
It shouldn't be on git.
2015-08-03 15:56:06 +02:00
b1bc92f39e Merge pull request #31 from JoN1oP/settings
Remove old settings class.
2015-08-03 15:37:40 +02:00
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
86f85d7ce9 Merge branch 'master' of github.com:JoN1oP/namp2 2015-08-03 14:35:36 +02:00
7d72df7d08 updated readme 2015-08-03 14:35:28 +02:00
7b291ae594 Support tests. 2015-08-03 14:31:26 +02:00
99c9f7b393 major bugfixes and refactoring on form editor - just waitin' for the db now :) 2015-07-31 23:51:46 +02:00
bac0823429 fixed gitignore on cache folder 2015-07-31 19:05:21 +02:00
8b1b38d721 addd cache folder for views 2015-07-31 19:04:24 +02:00
17ccf1cc81 - added codemirror symlinks + missing files from previous commit 2015-07-31 19:02:44 +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
0974053042 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-31 12:05:19 +02:00
021192a4c5 Test helpers. 2015-07-30 22:02:36 +02:00
8d4a2b6308 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-30 22:01:03 +02:00
838d696346 Simple subscriber table. 2015-07-30 22:00:34 +02:00
9ae8ffb0a3 fixed notices positioning + added views/templates to store .hbs templates + added templates block in main layout + started looking into i18n in HBS 2015-07-30 21:48:32 +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
408f43cc47 Pluralize migrator methods. 2015-07-30 20:02:11 +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
006a1015f0 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-30 15:32:56 +02:00
47b874725b Add DB charset to Env. 2015-07-30 15:32:38 +02:00
f9a2d0026c reduced mapped i18n functions to a strict minimum and updated README 2015-07-29 19:30:37 +02:00
f727a73297 added translations 2015-07-29 19:18:01 +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
8b9cc8c109 Add all WP db variable to the Env. 2015-07-29 16:35:10 +02:00
0e5f1a74de Initialize Env in the plugin initializer. 2015-07-29 16:29:15 +02:00
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
ebe3c5547f First Migrator class and test. 2015-07-29 16:03:47 +02:00
3c6239066a Support tests. 2015-07-29 15:38:40 +02:00
4bcfb4e71c Remove PEAR repository and POP3 dependency.
We already have PHPMailer as a dependency, and it comes with
a good POP3 class.
Close #25.
2015-07-29 12:23:42 +02:00
d736420f3d Support tests. 2015-07-28 23:17:40 +02:00
ffbc54ffb7 added loadEnv to unit test and removed bootstrap code + added basic acceptance test for form widget (had to increase the wait value oh web driver to bypass JS animations delay) 2015-07-28 11:40:31 +02:00
5e98806f8b added missing dependency and symlink 2015-07-27 19:12:47 +02:00
8aea2675f2 added acceptance test for formwidget + added utility method to login into WP for acceptance tests + fixed unit test of form renderer 2015-07-27 18:12:47 +02:00