1625e1771b
- Bootstraps export
2015-11-13 12:25:30 -05:00
10a20935c3
cleanup tests
2015-11-12 14:11:27 +01:00
20a6e6d6de
- Adds import's step 1 method selection logic
2015-11-07 11:09:13 -05:00
0b1fc8f6c3
- Updates webpack config file
...
- Adds an option to watch/compile just the JS files with webpack
2015-11-07 11:05:48 -05:00
b20d92c9b1
fixed unit tests and added form model unit test
2015-11-06 18:43:56 +01:00
5ccf69631a
Remove acceptance commands from Robofile.
2015-10-14 15:57:34 +02:00
9d0ca85490
Last step
...
- improved watch command (much simpler robofile + truly recursive)
- split all form fields into separate files (JSX)
- improved form to allow multiple fields per row
- added selection react class for multi select using select2
- added missing files for select2 (webpack doesn't include them)
2015-10-01 12:25:25 +02:00
2cc24ae965
- Added acceptance tests for the Newsletters page
...
- Added a shim to make PhantomJS work with React (temporary workaround)
- Removed asset compilation during acceptance testing
Closes #111
2015-09-07 20:05:55 -04:00
9f37108b0b
Listings: form
...
- fixed compileCSS so that it watches over all .styl files
- uniform "new" form for newsletters / segments / subscribers
- cleaned up jsx files
2015-09-04 16:41:04 +02:00
7370d19be3
Segment listing
...
- fixed duplicate entry in Robofile for editor styles
- added Segment menu
- added Segment listing
- added listing methods to Segment model
- fixed syntax in both Segment & Subscriber models (MAX LINE 80!!!)
2015-09-04 13:02:23 +02:00
c1d6f9ba44
Fix vendor asset loading, add initial newsletter data
2015-08-28 12:20:51 +03:00
da371e33f4
Set up editor style compilation
2015-08-28 00:56:42 +03:00
3d58728312
Fixing listing
...
- amd style for listing dependencies
- added robo tasks to run failed tests
- created method to start phantomJS server in robofile
- fixed acceptance tests on form widget
- fixed unit test on subscriber
2015-08-27 22:38:42 +02:00
1c77536cf5
Acceptance + Robo task
...
- added $file argument to test:acceptance
- updated test:unit's argument name for consistency
- beefing up form widget acceptance test
2015-08-20 18:09:45 +02:00
384871781c
Merge pull request #83 from mailpoet/webpack
...
Symlinks -> Webpack.
2015-08-20 12:46:05 +02:00
0a408398ae
Add vendor style compilation with Stylus
2015-08-20 12:21:33 +03:00
ce730d7c3b
Settings router.
...
Here's a simple settings router. the createOrUpdate method lives
in the model, and by default all models will return true on save
or false if save went wrong.
2015-08-19 23:55:30 +02:00
bc65836c31
Webpack refactor
...
- added JSX support (webpack + robofile
- added public.js bundle
- refactored webpack config for clarity
- added settings.jsx form example
- fixed acceptance test failing on login
2015-08-19 19:29:11 +02:00
a26cbd6f41
- Renamed Model to BaseModel (make it clear)
...
- Updated RoboFile to compile assets or else tests break
2015-08-17 15:54:48 +00:00
61a372dd86
resolved merge conflicts
2015-08-17 10:00:37 -04:00
a6d4b6ee00
Updated robo task + removed bundled assets
2015-08-17 15:42:59 +02:00
cf3695157a
Update Robo task to compile assets
...
- renamed compile:javascript to compile:js
- renamed compile:styles to compile:css
- added compile:all to compile all of our assets
- added compiled js & css to gitignore
- removed console.log from src/admin.js
2015-08-17 15:04:30 +02:00
b106870e96
Merged master / fixed merge conflict
2015-08-16 22:38:58 -04:00
745700e5fe
Global bash script with Linux and OSX compatibility.
2015-08-14 23:39:38 +02:00
78b5791a46
- Added 'Newsletters' model and wrote tests
...
- Fixed some formatting in unit tests
Closes #68
2015-08-14 13:31:45 +00:00
0b0539dc83
#66 added a build command to RoboFile.php
2015-08-14 12:01:27 +02:00
48f7509dfd
- Fixed environment loading for unit/acceptance tests
...
- Added ability to test single units
2015-08-13 17:45:20 +00:00
9c80429d0d
Merge master/resolved conflicts
2015-08-13 12:26:40 -04:00
b72db327f7
Fix error on test:all command.
2015-08-13 17:42:24 +02:00
c5f67cb371
- Database cleanup uses Models
...
- Formatted code as per Marco's comments
2015-08-12 22:48:42 +00:00
2856a08cdc
- Made changes as per Marco's comments in #54
...
- Implemented database cleanup for tests. Closes #56
2015-08-12 15:36:56 +00:00
12bead358c
- Added Sudzy composer dependency for model validation
...
- All models now extend a generic Model class that extends Sudzy
- Wrote tests for Subscriber and Setting model validation
- Rewrote model tests to make sure they look the same
- Updated both tests with cleanup logic in the beginning
- Added test:unit-single method to Robo for selective unit testing
Closes #54
2015-08-11 23:52:00 +00:00
5d7cbf136d
Final subscriber with ORM.
2015-08-07 18:30:31 +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
7d72df7d08
updated readme
2015-08-03 14:35:28 +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
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
9e2df5c1d7
started migrating form editor + i18n added makepot with twig templates support
2015-07-29 16:54:06 +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
87d69bffb3
Protect loadEnv method from being called during cli usage.
2015-07-23 13:58:59 +02:00
a133a766f7
Avoid polluting the git history with CodeCeption config.
2015-07-22 14:32:28 +02:00
bbfb610126
Use env only in tests, to avoid disabling first user install.
2015-07-22 14:15:55 +02:00
f5cb2467ea
Add .env support.
2015-07-21 18:20:38 +02:00
05af63dc00
removed symlinking from robofile and replaced by manual symlink - added lib folder into JS for dependencies (a.k.a node_modules)
2015-07-21 17:32:40 +02:00
fdddcbea14
added symlink dependencies for node_modules in Robo
2015-07-21 12:35:27 +02:00
8137a30f46
modal library - added automatic setting of template renderer whether Handlebars is defined, defaults to pure html - fixed modal title issue (remove handlebars syntax from overlay template) - added a sample file for acceptance tests config - robo task to auto create acceptance tests config file based on sample
2015-07-20 20:45:47 +02:00
fb5deb7d29
Refactoring commands for an easier use.
2015-07-20 18:10:13 +02:00
eb50d2e536
Watch command.
2015-07-20 18:02:40 +02:00
b4e4cdd1b3
Tests commands in Rubo.
2015-07-17 23:32:35 +02:00
bae0dcba5b
First Robo automation file, Rake-like.
2015-07-17 22:43:22 +02:00