5a1cd9a756
improved listing's custom actions
2015-09-25 11:20:00 +02:00
7ab4741705
Merge branch 'react_editor' of github.com:mailpoet/mailpoet into react_editor
2015-09-25 10:28:47 +02:00
7562ac22ee
Edit newsletter
...
- added custom item_actions to listings
- added special function in order to register pages that aren't present in the menu
- removed useless test.hbs
- added wp_nonce_field & params functions to Twig
- created a separate "newsletter/form.html" (copy of editor.html) but properly formatted
2015-09-25 10:25:50 +02:00
66f2dc456f
Merge pull request #142 from mailpoet/newsletter_json
...
Move newsletter content attributes into data object
2015-09-25 09:35:52 +02:00
30d0d1594d
- Modifies Newsletter router save() and get() methods
...
- Adds Newsletter router render() method
- Adds 'body' validation to Newsletter model
- Adds new 'preheader' column to Migrator
- Corrects Nesletters acceptance test class name conflict
- Updates Newsletter model tests
Closes #138
2015-09-24 18:26:44 -04:00
d7029f3d29
Move newsletter content attributes into data
object
2015-09-24 19:49:56 +03:00
38150a05b1
Composer lock update.
2015-09-24 17:48:50 +02:00
8846bc9e43
Fix editor's newsletter saving tests
2015-09-24 17:07:23 +03:00
246089b4b6
Add call wrappers for saving and previewing newsletters
2015-09-24 13:54:52 +03:00
4f8e1483f4
Update Backbone.Marionette to new 2.4.3 version
2015-09-24 13:54:18 +03:00
14cf783544
Add placeholders for getting and saving newsletters
2015-09-24 12:51:32 +03:00
38fb33d2eb
Merge pull request #123 from mailpoet/rendering_engine
...
Newsletter rendering engine.
2015-09-24 10:16:23 +02:00
a2494cfa1b
- Adds tests for newsletter renderer
2015-09-23 22:42:11 -04:00
9175c5308b
Merge pull request #127 from mailpoet/posts_api
...
Wordpress Posts API endpoints
2015-09-23 18:31:18 +02:00
6c37bd5611
Merge pull request #130 from mailpoet/bulk_actions
...
Bulk actions
2015-09-23 18:30:07 +02:00
b3e376cd01
- Refactored using @badshark's comments
...
- Integrated changes to JSON data
2015-09-23 11:24:08 -04:00
01b5416882
Refactors Newsletters as per @badshark's comments
2015-09-23 09:28:00 -04:00
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
1e6e59f58f
Refactored using PSEUDO* as per Marco's advice
2015-09-23 09:27:59 -04:00
42d659472e
- Made all rendering classes dynamic except for single blocks
2015-09-23 09:27:59 -04:00
7e4bd0d044
Indented HTML code as per Marco's comment
2015-09-23 09:27:58 -04:00
42c5885cbd
- Ported newsletter rendering engine
2015-09-23 09:27:58 -04:00
c8956018b4
Merge pull request #137 from mailpoet/newsletter_json
...
Change names of newsletter JSON keys
2015-09-23 15:25:14 +02:00
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
17564d85fe
Rename subject and preheader, fix tests
2015-09-23 14:24:24 +03:00
fd7312fbf9
Change names of newsletter JSON attributes
2015-09-23 14:16:37 +03:00
27a90f5ef1
Merge pull request #136 from mailpoet/fix_initial_newsletter
...
Fix the initial malformed newsletter
2015-09-23 12:19:22 +02:00
df8af5610f
Disable wplink integration for Text, Header, Footer blocks
2015-09-22 15:54:27 +03:00
6b5e775ddd
Fix the initial malformed newsletter and change it to a proper one
2015-09-22 13:02:47 +03:00
be76e016b3
Fix addition of dividers, do general refactoring
2015-09-18 19:01:34 +03:00
239e2583d2
refactored bulk actions & implemented bulk trash for all listings
2015-09-18 17:39:25 +02:00
6a6d2391c1
Split posts transformer into smaller classes
2015-09-17 16:55:35 +03:00
cbcd614b6f
implemented all bulk actions for Subscribers
2015-09-16 19:44:46 +02:00
4e6768c4f1
Start working on batch actions
2015-09-16 12:20:37 +02:00
c053daac84
Merge pull request #125 from mailpoet/forms
...
Forms
2015-09-16 12:17:46 +02:00
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
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
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
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
e8abc4cb47
- Model returns validation errors upon save ( Closes #122 )
...
- Fixed acceptance test for Newsletters (Closes #126 )
2015-09-13 19:40:42 -04:00
96d5162708
Refactor endpoint query component, add additional tests
2015-09-11 18:34:06 +03:00
bf3e0832a3
Split post transformation code into smaller functions
2015-09-11 18:34:06 +03:00
c030858562
Hook up post fetching and post transformation
2015-09-11 18:34:05 +03:00
a4d1f80418
Add getPosts endpoint to fetch a list of posts for search
2015-09-11 18:34:05 +03:00
087d96838b
Merge pull request #120 from mailpoet/listings
...
Listings fixes + Subscriber Edit/New.
2015-09-11 12:38:04 +02:00
c86fd822a6
Unit test for Model/Subscriber createOrUpdate
2015-09-11 09:38:29 +02:00
575e748d84
moved logic from Subscribers router to model
2015-09-10 11:50:26 +02:00
b9244c2faf
Merge pull request #118 from mailpoet/newsletter_acceptance_test
...
Acceptance tests for newsletters.
2015-09-09 23:27:56 +02:00
97db902529
Subscriber Edit page
2015-09-09 15:58:57 +02:00
49f505c6db
Update composer.lock.
2015-09-09 14:46:40 +02:00