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
8d50141a49
#40 findOne returns an empty object when none found
2015-08-11 16:54:07 +02:00
236f324f6d
Merge branch 'master' of github.com:mailpoet/mailpoet into issue-40
2015-08-11 16:48:56 +02:00
0df8973b7e
Merge pull request #53 from mailpoet/issue-48
...
Reorganize unit tests into mirroring /lib folder as per #48
2015-08-11 14:04:34 +02:00
4f24a8ed71
#40 adding created_at and update_at timestamps to subscribers and settings
2015-08-11 12:47:24 +02:00
ce691b4a94
Starting the router.
2015-08-11 12:13:03 +02:00
a36bc37b8e
Update Contributing
...
- changed variables rule
2015-08-11 10:38:08 +02:00
9740f3ccc5
Merge branch 'master' of github.com:mailpoet/mailpoet
2015-08-11 10:09:23 +02:00
7f730a8ff2
Reorganize contributing guide.
2015-08-11 10:08:59 +02:00
dc69763601
Reorganize unit tests into mirroring /lib folder as per #48
2015-08-11 00:27:03 +00:00
8f52e7523d
Added the accidentally removed .env.sample
2015-08-10 20:08:44 -04:00
26384d16b8
Fixes #49
2015-08-10 18:37:41 -04:00
27c2a4b402
Fixes #49
2015-08-10 18:35:47 -04:00
a996068626
PHP latest versions don't use the RSA word in the private key.
2015-08-10 17:51:24 +02:00