Commit Graph

5329 Commits

Author SHA1 Message Date
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
e5c09862a4 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-27 17:41:02 +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
8a246260a6 New composer lock. 2015-07-27 16:35:33 +02:00
3417c63a7b Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-27 16:18:03 +02:00
85b592bbb0 fixed bug in setRenderer in Modals + updated ajax example to use Modals 2015-07-27 12:45:50 +02:00
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
4fdf90422d added ajax library + ajax tests in sample page 2015-07-27 12:04:21 +02:00
95042d68e5 migrated form renderer with basic unit tests 2015-07-24 17:47:08 +02:00
f58d5c42b6 removed try catch in Activation AccTest 2015-07-24 17:08:37 +02:00
7a832ebddb fixing method name in HomePage acceptance test 2015-07-24 16:53:47 +02:00
b10edea821 added user and password in dot env file + updated activation acceptance test - fixing issue #18 2015-07-24 16:52:58 +02:00
ab9ae71799 fixed issue #13 - migrated all dependencies 2015-07-24 16:30:19 +02:00
07bf040bc3 fixed method name case on unit tests 2015-07-24 12:01:44 +02:00
96fe85de3b Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-24 11:53:28 +02:00
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
87d69bffb3 Protect loadEnv method from being called during cli usage. 2015-07-23 13:58:59 +02:00
100e785705 Fix camelCase. 2015-07-23 13:56:45 +02:00
98cfbf02b2 Fix camelCase. 2015-07-23 13:55:49 +02:00
1e7ae9d55d Fix camelCase. 2015-07-23 13:54:22 +02:00
d92eb2b6e1 Fix camelCase. 2015-07-23 13:54:06 +02:00
93cb71468d Fix camelCase for methods. 2015-07-23 13:53:31 +02:00
a14134eb35 Fix indentation of JS files. 2015-07-23 13:52:24 +02:00
95ee1902c3 Fix indentation on styles. 2015-07-23 13:51:15 +02:00
5cebe1d1f9 Refactoring contributing guidelines. 2015-07-23 13:47:34 +02:00
342cb829be Added class rules. 2015-07-23 13:46:23 +02:00
391e29e7f3 Replaced settings tests with stubbed WP class.
Settings classes must be merged.
2015-07-23 12:58:41 +02:00
ad68ed4f05 Settings class and stubbed WP class in tests. 2015-07-23 12:56:28 +02:00
02a8e0883a Add option prefix. 2015-07-23 12:31:17 +02:00
7e80f40706 WP Option class to set and get options. 2015-07-23 12:28:20 +02:00