48f7509dfd
- Fixed environment loading for unit/acceptance tests
...
- Added ability to test single units
2015-08-13 17:45:20 +00:00
f11a961a2e
Merge pull request #55 from mailpoet/models_validation
...
Models validation
2015-08-13 18:34:42 +02:00
9c80429d0d
Merge master/resolved conflicts
2015-08-13 12:26:40 -04:00
ed3e3b0eb8
Fix indentation.
2015-08-13 18:18:12 +02:00
3183e34afc
Fix indentation and naming on Setting test.
2015-08-13 18:11:14 +02:00
1202032ab6
Fix function and map when destroying models.
2015-08-13 18:07:36 +02:00
d7f7e48d8b
Fix indentation.
2015-08-13 18:05:49 +02:00
ed27b5716b
Fix indentation.
2015-08-13 18:05:26 +02:00
781e016be5
Fix indentation.
2015-08-13 18:04:28 +02:00
81c8b22b36
Fix indentation.
2015-08-13 18:03:36 +02:00
0074ade376
Fix indentation.
2015-08-13 17:44:48 +02:00
b72db327f7
Fix error on test:all command.
2015-08-13 17:42:24 +02:00
32fb4ee6fa
Update composer.lock
2015-08-13 17:25:42 +02:00
02f1f4354d
Merge pull request #58 from mailpoet/dependency_loader
...
Require frontend dependencies.
2015-08-13 17:09:26 +02:00
a0a50407b9
Split modules into different entry points, separate vendor modules
2015-08-13 18:08:44 +03:00
d19c1bca60
Explain how to deal with module loading in README.md
2015-08-13 17:42:40 +03:00
df0048bdd0
#16 added lang to the white list
2015-08-13 16:16:54 +02:00
0996be363d
#16 whitelist what goes into the zip file; moved napa from dev to production in package.json
2015-08-13 16:12:06 +02:00
c5fce75630
Merge pull request #61 from mailpoet/revert-59-form_widget
...
Revert "Form Widget"
2015-08-13 16:10:20 +02:00
1ead513437
Revert "Form Widget"
2015-08-13 16:07:46 +02:00
357c2f474a
Merge pull request #59 from mailpoet/form_widget
...
Form Widget
2015-08-13 16:05:15 +02:00
304c114dd3
Merge remote-tracking branch 'origin/master' into models_validation
...
Conflicts:
lib/Models/Setting.php
lib/Models/Subscriber.php
tests/unit/Models/SettingCest.php
tests/unit/Models/SubscriberCest.php
2015-08-13 14:04:27 +00:00
5d1b8524ea
Added Laurent's tests/model save() method
2015-08-13 09:58:41 -04:00
8ec5bd4ffd
refactor form widget to remove pure HTML
2015-08-13 15:37:54 +02:00
480f835b99
#16 a command to build mailpoet.zip from sources
2015-08-13 15:26:07 +02:00
3b0a6edc22
Remove relative path for jQuery inclusion in tests
2015-08-13 14:59:01 +03:00
7a43980f32
Add mocha test bundling with webpack and test running
2015-08-13 14:11:10 +03:00
ca45214a64
fixed dkim unit test
2015-08-13 13:09:12 +02:00
6b46ef7fea
Form Widget validation
...
- reorganized jquery validation lib to include languages
- added Widget initializer class
- fixed cache method in initializer
- added widget front JS to validate and submit (ajax / post)
2015-08-13 12:26:11 +02:00
ef777cfe0e
Merge pull request #52 from mailpoet/issue-40
...
Add created_at and update_at to subscribers and settings
2015-08-13 10:48:27 +02:00
c5f67cb371
- Database cleanup uses Models
...
- Formatted code as per Marco's comments
2015-08-12 22:48:42 +00:00
bbe4d1d853
fixed 80 char limit line
2015-08-12 22:44:12 +02:00
b8b349fc20
added submit button
2015-08-12 22:41:13 +02:00
79cea39238
added basic form widget
2015-08-12 22:37:37 +02:00
d5cd2b6bd9
Tests must test created_at and updated_at behavior.
2015-08-12 18:40:39 +02:00
cce9d49c4c
Starting Form Widget
2015-08-12 18:34:59 +02:00
9402074bed
Removed unused alias from composer.json
2015-08-12 15:47:47 +00:00
820913156b
Simplified database cleanup
2015-08-12 15:41:57 +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
5aa7e20695
Indentation.
2015-08-12 16:52:08 +02:00
d5593b770b
REmove old initialization code in Subscriber test.
2015-08-12 16:50:55 +02:00
82c9c33b58
Methods declaration syntax.
2015-08-12 16:49:58 +02:00
9f8a8f2311
Methods should be declared with parentheses immediately after the name.
2015-08-12 16:48:42 +02:00
e01316f9f3
Merge branch 'dependency_loader' of github.com:mailpoet/mailpoet into dependency_loader
2015-08-12 16:33:33 +03:00
91f839dc49
Wrap existing JS modules in AMD module style
2015-08-12 16:33:15 +03:00
1cfee3fe36
Robo task for compiling and watching assets
...
- updated `watch` task to monitor both css (.styl) and js assets
- fixed max line 80 char / cc @flakas
2015-08-12 14:49:44 +02:00
c1f9fb915b
Add webpack for frontend dependency loading
2015-08-12 14:40:57 +03:00
344a7dc92c
#40 overide save in models Setting and Subscriber
2015-08-12 12:43:33 +02:00
fcabee0749
#40 splitted the test in two; added test for Setting too
2015-08-12 09:54:20 +02: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