Commit Graph

8788 Commits

Author SHA1 Message Date
02fc4b81aa Cleanup templates. 2015-08-09 22:05:11 +02:00
8dace3f56a Refactor initialization process. 2015-08-09 21:57:30 +02:00
e089918fdb Remove old CSS and JS loaders from the Initializer. 2015-08-09 21:47:45 +02:00
787ee9f043 Refactor Localizer into a separate class. 2015-08-09 21:44:37 +02:00
62c0f18c03 Refactor activator class. 2015-08-09 21:15:52 +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
0cf526375d Db name generator should be private. 2015-08-08 16:52: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
77f9107678 Git flow guidelines. 2015-08-08 16:25:11 +02:00
268c330249 Remove waiting two seconds for each acceptance test.
Tests are too slow when using wait: 2 in CodeCeption. Let's not
use a global wait and just wait in a single test if we
see issues with JavaScript UIs.
2015-08-08 16:23:22 +02:00
89a67ec44d Disable form widget while waiting for Form refactor. 2015-08-08 16:18:40 +02:00
8994f3c165 Move Form to another branch, so that Jo can refactor it.
In order to keep the master branch clean, the form logic
is now lining in a feature branch, so that it can be refactored
and cleaned up to be compatible with the core.
2015-08-08 16:11:57 +02:00
e8da94b679 Reimport Host settings at a later time, when we'll need them.
Right now we don't need the hosts settings, and it makes sense
to just keep what we really need into the new container, so
that we can migrate things in pull requests, step by step,
and review code before merging.
2015-08-08 16:08:15 +02:00
6b9c4739b9 Merge pull request #45 from JoN1oP/settings_model
Settings model
2015-08-07 23:00:02 +02:00
756f2deab6 Settings is now a model in our DB. 2015-08-07 22:59:22 +02:00
8ce501178d Settings model. 2015-08-07 22:57:38 +02:00
7f13ccc9df Merge pull request #39 from JoN1oP/subscriber_model
Subscriber model.
2015-08-07 22:32:04 +02:00
f6c0607033 Add unique index to subscriber email attribute. 2015-08-07 22:29:51 +02:00
a6bc4f5d18 Fix test for Migrator. 2015-08-07 22:14:43 +02:00
e2e5f94304 Fix inconsistency in tests when deleting a subscriber in the after filter. 2015-08-07 18:34:31 +02:00
5d7cbf136d Final subscriber with ORM. 2015-08-07 18:30:31 +02:00
4378d42274 First implementation of the Subscriber ORM Model. 2015-08-07 15:36:43 +02:00
cffec78d38 Initialize the ORM in unit testing bootstrap. 2015-08-07 13:13:36 +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
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