MrCasual
01b5416882
Refactors Newsletters as per @badshark's comments
2015-09-23 09:28:00 -04:00
marco
692e69d567
Pretty newsletter json test data.
...
I'm trying to uderstand more about how the generated json
works.
2015-09-23 09:28:00 -04:00
MrCasual
1e6e59f58f
Refactored using PSEUDO* as per Marco's advice
2015-09-23 09:27:59 -04:00
MrCasual
42d659472e
- Made all rendering classes dynamic except for single blocks
2015-09-23 09:27:59 -04:00
MrCasual
7e4bd0d044
Indented HTML code as per Marco's comment
2015-09-23 09:27:58 -04:00
MrCasual
42c5885cbd
- Ported newsletter rendering engine
2015-09-23 09:27:58 -04:00
Marco
c8956018b4
Merge pull request #137 from mailpoet/newsletter_json
...
Change names of newsletter JSON keys
2015-09-23 15:25:14 +02:00
Jonathan Labreuille
56e40feb56
Bulk actions + Extra data
...
- fixed issue on bulk action being run even without any items selected
- added WP like feature regarding item selection, if all items are checked, it also checks the header/footer checkboxes
- fixed issue where the selection state was not properly reset
- added List column to subscribers
- added json_encode/json_decode to Twig
2015-09-23 14:13:25 +02:00
Tautvidas Sipavičius
17564d85fe
Rename subject and preheader, fix tests
2015-09-23 14:24:24 +03:00
Tautvidas Sipavičius
fd7312fbf9
Change names of newsletter JSON attributes
2015-09-23 14:16:37 +03:00
Marco
27a90f5ef1
Merge pull request #136 from mailpoet/fix_initial_newsletter
...
Fix the initial malformed newsletter
2015-09-23 12:19:22 +02:00
Tautvidas Sipavičius
df8af5610f
Disable wplink integration for Text, Header, Footer blocks
2015-09-22 15:54:27 +03:00
Tautvidas Sipavičius
6b5e775ddd
Fix the initial malformed newsletter and change it to a proper one
2015-09-22 13:02:47 +03:00
Tautvidas Sipavičius
be76e016b3
Fix addition of dividers, do general refactoring
2015-09-18 19:01:34 +03:00
Jonathan Labreuille
239e2583d2
refactored bulk actions & implemented bulk trash for all listings
2015-09-18 17:39:25 +02:00
Tautvidas Sipavičius
6a6d2391c1
Split posts transformer into smaller classes
2015-09-17 16:55:35 +03:00
Jonathan Labreuille
cbcd614b6f
implemented all bulk actions for Subscribers
2015-09-16 19:44:46 +02:00
Jonathan Labreuille
4e6768c4f1
Start working on batch actions
2015-09-16 12:20:37 +02:00
Marco
c053daac84
Merge pull request #125 from mailpoet/forms
...
Forms
2015-09-16 12:17:46 +02:00
Jonathan Labreuille
2a4945c956
Listing & Form & Refactoring
...
- finished implementing forms
- fixed form reset when clicking on new
- fixed responsive for select all checkbox and toggle item details
- refactored listing items' actions
- added Trash action
- cleaned up validations on models
- fixed syntax
- fixed tests
2015-09-16 12:14:04 +02:00
Jonathan Labreuille
79f1896cf3
Listing & form
...
- improved Listing in order to make it more DRY
- form builder with all field types
- added support for data array in ValidModel->set()
- updated models to comply with Listing & Form methods
2015-09-16 12:12:14 +02:00
Jonathan Labreuille
e471d45827
Form.jsx
...
- basic implementation of Form.jsx
- fixed "colspan" issue on listings with no bulk actions and no records
2015-09-16 12:07:30 +02:00
Marco
4a4fd1080e
Merge pull request #128 from mailpoet/model_validation_errors
...
Model validation errors improvement & acceptance test fix
2015-09-14 21:40:59 +02:00
MrCasual
e8abc4cb47
- Model returns validation errors upon save ( Closes #122 )
...
- Fixed acceptance test for Newsletters (Closes #126 )
2015-09-13 19:40:42 -04:00
Tautvidas Sipavičius
96d5162708
Refactor endpoint query component, add additional tests
2015-09-11 18:34:06 +03:00
Tautvidas Sipavičius
bf3e0832a3
Split post transformation code into smaller functions
2015-09-11 18:34:06 +03:00
Tautvidas Sipavičius
c030858562
Hook up post fetching and post transformation
2015-09-11 18:34:05 +03:00
Tautvidas Sipavičius
a4d1f80418
Add getPosts endpoint to fetch a list of posts for search
2015-09-11 18:34:05 +03:00
Marco
087d96838b
Merge pull request #120 from mailpoet/listings
...
Listings fixes + Subscriber Edit/New.
2015-09-11 12:38:04 +02:00
Jonathan Labreuille
c86fd822a6
Unit test for Model/Subscriber createOrUpdate
2015-09-11 09:38:29 +02:00
Jonathan Labreuille
575e748d84
moved logic from Subscribers router to model
2015-09-10 11:50:26 +02:00
Marco
b9244c2faf
Merge pull request #118 from mailpoet/newsletter_acceptance_test
...
Acceptance tests for newsletters.
2015-09-09 23:27:56 +02:00
Jonathan Labreuille
97db902529
Subscriber Edit page
2015-09-09 15:58:57 +02:00
marco
49f505c6db
Update composer.lock.
2015-09-09 14:46:40 +02:00
Marco
4e8e8732d4
Merge pull request #106 from mailpoet/wordpress_endpoint
...
Wordpress Router Endpoint for the Visual editor.
2015-09-09 14:42:34 +02:00
Tautvidas Sipavičius
7cdf8e70c7
Fix ALC and Posts jQuery dependencies
2015-09-09 14:30:22 +03:00
Tautvidas Sipavičius
8ac9799df6
Move modules from Marionette to AMD modules, fix tests
2015-09-09 14:19:08 +03:00
Tautvidas Sipavičius
a25a8f2560
Add tests for Wordpress component, fix ALC/Posts endpoint calls
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
2aac4f2a70
Rename editor's modules to be anonymous
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
9c6955c8cf
Stub wordpress calls and fix tests for ALC and Posts
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
bfc6c83d00
Hook up post type and term search endpoint calls for Posts block
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
befcd24164
Integrate post type and term search endpoint calls to ALC blocks
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
e8badf8beb
Add caching endpoint calls for term search
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
be6adfc158
Fix dependencies of Posts block
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
27afb53393
Add Wordpress endpoints for post types, taxonomies and terms
2015-09-09 14:19:07 +03:00
MrCasual
b0de8e8c47
Moved the shim javascript file into the /assets/src/ folder
2015-09-08 09:27:03 -04:00
Jonathan Labreuille
bec7f3d5bf
Listings: bulk actions
...
- renamed actions -> bulk_actions
- introduced item_actions for per item actions
- remove checkboxes (selectAll + item's) when there is no bulk actions
2015-09-08 12:20:24 +02:00
MrCasual
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
Jonathan Labreuille
bca01d9843
Listings selection and naming
...
- fixed select all items on page
- added select all pages
- removed module names (as discussed with @flakas)
2015-09-07 17:22:33 +02:00
Jonathan Labreuille
20e88afcd6
fixed selectAll in listings
2015-09-06 18:07:41 +02:00