Commit Graph

2075 Commits

Author SHA1 Message Date
45dccf6c50 First step complete 2015-09-30 15:56:13 +02:00
4889598387 Hook up editor call to save as template 2015-09-30 16:06:31 +03:00
2e3b565e8a Type & Template
- fixed endpoint's name causing issues on case sensitive systems
- improved behaviour of delete
- added loading state for boxes
- added Breadcrumb ReactClass
- added common styles for breadcrumb
2015-09-30 11:44:06 +02:00
37bace359a Template selection
- templates are now loaded via ajax
- added "template" deletion
2015-09-29 17:29:31 +02:00
e56b6767a8 JSX templates for types & templates
- added type selection
- added template selection
- added "box" styles
- bugfix on select all checkboxes in listings
2015-09-29 17:00:34 +02:00
e3ef36ac4e fixed rendering issue of listings' select all checkbox 2015-09-29 13:23:12 +02:00
e46a5d465e Bulk action fix
- bulk action can now be run on single items
- fixed wrong label for Lists column in subscribers listing (affects responsive view)
2015-09-28 13:56:28 +02:00
9dc4dfac55 Hook up preview in browser call 2015-09-25 19:26:53 +03:00
7777ba1180 Hook up newsletter editor saving 2015-09-25 18:15:46 +03:00
dc40d84a22 Merge pull request #141 from mailpoet/react_editor
Newsletter Editor on newsletters listing
2015-09-25 16:18:21 +02:00
89a9c040a8 Rename data attribute to body 2015-09-25 12:42:46 +03:00
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
d7029f3d29 Move newsletter content attributes into data object 2015-09-24 19:49:56 +03: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
14cf783544 Add placeholders for getting and saving newsletters 2015-09-24 12:51:32 +03: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
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
df8af5610f Disable wplink integration for Text, Header, Footer blocks 2015-09-22 15:54:27 +03:00
239e2583d2 refactored bulk actions & implemented bulk trash for all listings 2015-09-18 17:39:25 +02:00
cbcd614b6f implemented all bulk actions for Subscribers 2015-09-16 19:44: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
96d5162708 Refactor endpoint query component, add additional tests 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
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
7cdf8e70c7 Fix ALC and Posts jQuery dependencies 2015-09-09 14:30:22 +03:00
8ac9799df6 Move modules from Marionette to AMD modules, fix tests 2015-09-09 14:19:08 +03:00
a25a8f2560 Add tests for Wordpress component, fix ALC/Posts endpoint calls 2015-09-09 14:19:07 +03:00
2aac4f2a70 Rename editor's modules to be anonymous 2015-09-09 14:19:07 +03:00
bfc6c83d00 Hook up post type and term search endpoint calls for Posts block 2015-09-09 14:19:07 +03:00
befcd24164 Integrate post type and term search endpoint calls to ALC blocks 2015-09-09 14:19:07 +03:00
e8badf8beb Add caching endpoint calls for term search 2015-09-09 14:19:07 +03:00
be6adfc158 Fix dependencies of Posts block 2015-09-09 14:19:07 +03:00
b0de8e8c47 Moved the shim javascript file into the /assets/src/ folder 2015-09-08 09:27:03 -04:00
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
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
20e88afcd6 fixed selectAll in listings 2015-09-06 18:07:41 +02:00
0063972a2d fixed Subscriber form not using the proper field names 2015-09-06 15:33:13 +02: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