Marco
087d96838b
Merge pull request #120 from mailpoet/listings
...
Listings fixes + Subscriber Edit/New.
2015-09-11 12:38:04 +02:00
Jonathan Labreuille
97db902529
Subscriber Edit page
2015-09-09 15:58:57 +02:00
MrCasual
b0de8e8c47
Moved the shim javascript file into the /assets/src/ folder
2015-09-08 09:27:03 -04: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
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
Jonathan Labreuille
27883a232a
Listings
...
- listing component
- subscribers listing
- newsletters listing
2015-09-01 16:21:25 +02:00
Tautvidas Sipavičius
1c4fba27f5
Include back admin.js in layout.html
2015-08-28 12:53:03 +03:00
Tautvidas Sipavičius
4cb98f267c
Fix missing translation
2015-08-28 12:35:34 +03:00
Tautvidas Sipavičius
0c9c959b31
Fix one column layout of default newsletter structure
2015-08-28 12:35:33 +03:00
Tautvidas Sipavičius
4d1fd2b2d8
Load TinyMCE directly from lib/, disable ajax functions
2015-08-28 12:21:40 +03:00
Tautvidas Sipavičius
fdfd0a6c4f
Fix URLs of remaining editor image assets
2015-08-28 12:20:52 +03:00
Tautvidas Sipavičius
7b6236e09c
Add image_url
Twig function
2015-08-28 12:20:52 +03:00
Tautvidas Sipavičius
c1d6f9ba44
Fix vendor asset loading, add initial newsletter data
2015-08-28 12:20:51 +03:00
Tautvidas Sipavičius
40507d2cad
Wrap editor JS code in AMD modules and load them
2015-08-28 12:17:18 +03:00
Tautvidas Sipavičius
da371e33f4
Set up editor style compilation
2015-08-28 00:56:42 +03:00
Tautvidas Sipavičius
42586a72e9
Move over initial editor code, split templates into smaller pieces
2015-08-28 00:43:01 +03:00
marco
d0264a3882
Correct routes for the Newsletters page.
2015-08-27 22:44:16 +02:00
marco
374eb0e004
React router can correctly route routes in WordPress.
2015-08-27 22:44:16 +02:00
Jonathan Labreuille
097b638e6b
cleanup
2015-08-27 22:38:42 +02:00
Jonathan Labreuille
5b93e1c8a6
example using react-waypoint
2015-08-27 22:38:41 +02:00
Jonathan Labreuille
3c46c3cd3a
added listing JSX
2015-08-27 22:38:41 +02:00
marco
e33153c112
Newsletters list and form.
2015-08-21 18:43:49 +02:00
Jonathan Labreuille
bf5d7f273b
Settings JSX
...
- fixed issue with token in MailPoet Ajax / JSX
- added settings form with get/set
- reformated some code in subscribers.jsx
2015-08-21 13:12:14 +02:00
marco
8894b821c1
Multiple React components working together.
2015-08-20 22:00:55 +02:00
marco
ec0c20a1c5
First React in Subscribers.
2015-08-20 20:13:12 +02:00
marco
ce730d7c3b
Settings router.
...
Here's a simple settings router. the createOrUpdate method lives
in the model, and by default all models will return true on save
or false if save went wrong.
2015-08-19 23:55:30 +02:00
marco
bb6abf3c7d
Newsletters page, with test.
2015-08-18 17:07:14 +02:00
marco
347706e119
Added Subscribers empty page, with test.
2015-08-18 16:57:13 +02:00
Jonathan Labreuille
58d83f5fbe
fixed MPAjax to behave with router
2015-08-18 15:29:00 +02:00
Vlad
a26cbd6f41
- Renamed Model to BaseModel (make it clear)
...
- Updated RoboFile to compile assets or else tests break
2015-08-17 15:54:48 +00:00
Tautvidas Sipavičius
6ed4ce0de2
Swap app code with bundles in assets/js/src
folder
2015-08-17 14:31:32 +03:00
marco
60919e6171
Router works for POST requests.
2015-08-16 20:21:34 +02:00
marco
60f63ccfe6
Router skeleton.
2015-08-13 21:57:05 +02:00
Tautvidas Sipavičius
a0a50407b9
Split modules into different entry points, separate vendor modules
2015-08-13 18:08:44 +03:00
Tautvidas Sipavičius
91f839dc49
Wrap existing JS modules in AMD module style
2015-08-12 16:33:15 +03:00
Tautvidas Sipavičius
c1f9fb915b
Add webpack for frontend dependency loading
2015-08-12 14:40:57 +03:00
marco
02fc4b81aa
Cleanup templates.
2015-08-09 22:05:11 +02:00
Jonathan Labreuille
7d72df7d08
updated readme
2015-08-03 14:35:28 +02:00
Jonathan Labreuille
99c9f7b393
major bugfixes and refactoring on form editor - just waitin' for the db now :)
2015-07-31 23:51:46 +02:00
Jonathan Labreuille
bac0823429
fixed gitignore on cache folder
2015-07-31 19:05:21 +02:00
Jonathan Labreuille
8b1b38d721
addd cache folder for views
2015-07-31 19:04:24 +02:00
Jonathan Labreuille
17ccf1cc81
- added codemirror symlinks + missing files from previous commit
2015-07-31 19:02:44 +02:00
Jonathan Labreuille
c1b5b4e1d1
added handlebars extension for Twig + migrated all partials for form editor + added handlebars helpers
2015-07-31 19:00:20 +02:00
Jonathan Labreuille
1456cd0a85
changed Twig syntax to Ruby style to avoid conflict with HBS templates + added missing files from makepot
2015-07-31 12:44:06 +02:00
Jonathan Labreuille
9ae8ffb0a3
fixed notices positioning + added views/templates to store .hbs templates + added templates block in main layout + started looking into i18n in HBS
2015-07-30 21:48:32 +02:00
Jonathan Labreuille
1ddd74e991
fixed symlinks of select2 and added missing images + added i18n functions to twig templates (with auto text domain addition) + added rtl stylesheet (updated robofile to watch it separately from admin.styl so it can be included only if necessary
2015-07-30 21:25:39 +02:00
Jonathan Labreuille
ec20abb1ee
added missing modules for makepot task + added suport for plural forms in html templates + added all major i18n methods in twig
2015-07-29 19:15:21 +02:00
Jonathan Labreuille
9e2df5c1d7
started migrating form editor + i18n added makepot with twig templates support
2015-07-29 16:54:06 +02:00
Jonathan Labreuille
85b592bbb0
fixed bug in setRenderer in Modals + updated ajax example to use Modals
2015-07-27 12:45:50 +02:00