Hannah Wolfe
37bf348142
Merge pull request #2826 from jaswilli/route-cleanup
...
Clean up routes. Use new slug endpoint in admin.
2014-05-29 15:20:42 +01:00
Jason Williams
503c407090
Clean up routes. Use new slug endpoint in admin.
...
refs #2814
-removed route /posts/slug/:title due to API change
-changed admin to use new slug endpoint
-removed duplicate notifications routes
2014-05-28 03:59:06 +00:00
Hannah Wolfe
97011e5eca
Merge pull request #2814 from lennerd/issue-2601
...
Refactore slug API for generating tag and post slugs
2014-05-27 10:21:39 +03:00
Hannah Wolfe
c05f5d7500
Merge pull request #2818 from jaswilli/issue-2817
...
Fix up url helper unit tests
2014-05-27 09:09:37 +03:00
Jason Williams
a5d4e1db94
Fix up url helper unit tests
...
Closes #2817
-use async semantics for tests
-fix api.settings.read stub for the url helper describe block
-rename test to describe actual behavior (return '/' instead of '')
2014-05-26 20:53:21 +00:00
lennerd
bebafdc9a9
Refactore slug API for generating tag and post slugs.
...
Closes #2601
- Removed slug generation from the post API
- Added new, self-contained slug API
- Fixed slug permissions in the fixtures files
- Added a HTTP route for the new API method
- Added integrational tests
2014-05-26 10:07:05 +02:00
Hannah Wolfe
40d4cc7e55
Merge pull request #2807 from novaugust/ember-user-cover-default
...
Fix default user cover on ember settings pane
2014-05-25 16:48:15 +03:00
Hannah Wolfe
ef005c0d4c
Merge pull request #2786 from novaugust/ember-editor-save-and-publish
...
Ember editor save and publish button functionality
2014-05-25 16:45:19 +03:00
Hannah Wolfe
2ae78c05d9
Merge pull request #2804 from novaugust/ember-settings-currently-active-pane
...
Add active class to settings tabs
2014-05-25 16:03:25 +03:00
Hannah Wolfe
d1d0db8644
Merge pull request #2810 from shindakun/fixtureupdate
...
Update ember post fixture data.
2014-05-25 15:37:10 +03:00
Steve
d03ccf47aa
Update ember post fixture data.
...
closes #2803
- corrected status published string
- corrected page to not use invalid choices
- updated id integer to start at 1 and not 0
- updated to repeat 31, added a note about removing post id:0
2014-05-24 11:14:33 -07:00
Matt Enlow
b4d2f662ce
Fix default user cover on settings pane
...
Closes #2806
- Ensures that the user's cover property is a string, otherwise uses the
default cover.
2014-05-24 08:43:53 -06:00
Matt Enlow
84d2a948aa
Add active class to settings tabs
...
Closes #2751
2014-05-24 08:02:42 -06:00
Matt Enlow
cef680aa6b
Ember editor save and publish button functionality
...
Closes #2747
- Added new 'editor-save-button' view and template.
- Added save action to post controller.
- Set a new post as the default model for the /editor/ route.
- Set the `posts/post` controller as the controller for the /editor/
route.
- Needs ghost-popover #2418 component for full pop-up functionality
2014-05-24 07:47:55 -06:00
Hannah Wolfe
51090acf54
Merge pull request #2799 from jaswilli/issue-2798
...
Fix content preview actions and add tests
2014-05-24 12:23:56 +03:00
Hannah Wolfe
403fc4cd26
Merge pull request #2795 from appleYaks/fix-editor-scroll
...
fix mirrored scrolling in markdown editor
2014-05-24 09:43:12 +03:00
Hannah Wolfe
2aad15373c
Merge pull request #2780 from jgable/ember-signup
...
Implement signup in Ember
2014-05-24 09:29:39 +03:00
Sebastian Gierlinger
ec46dc93ec
Merge pull request #2801 from ErisDS/issue-2773
...
correct settings.edit call signature for installedApps
2014-05-24 08:19:16 +02:00
Hannah Wolfe
4aabce4474
correct settings.edit call signature for installedApps
...
closes #2773
- this is left over from my refactoring work
2014-05-24 08:21:17 +02:00
Hannah Wolfe
b6528c0494
Merge pull request #2754 from sebgie/issue#2187
...
Improve status codes
2014-05-24 09:14:23 +03:00
Hannah Wolfe
9663c2a61f
Merge pull request #2768 from jgable/emberPaths
2014-05-24 09:06:06 +02:00
Jacob Gable
f795a907f0
Add ghostPaths util and initializer
...
No Issue
- Move the ghostPaths from base model to utils
- Add initializer that injects it into every route, model and controller
- Add a adminUrl and apiUrl helper method
2014-05-24 08:52:47 +02:00
Sebastian Gierlinger
217e3ed7ad
Improve status codes
...
closes #2187
- added UnsupportedMediaTypeError (code: 415)
- added status code 201 if a new object was created
- Updated tests
2014-05-24 08:05:12 +02:00
Jason Williams
669f7f8b0c
Fix content preview actions and add tests
...
Closes #2798
-fetch full model for active post in Backbone content preview view
-remove unnecessary type check in Models.Post.saving
-add functional tests for all post settings menu actions in editor screen
-add functional tests for all post actions in content preview
screen for posts with and without tags
2014-05-23 20:54:02 +00:00
Jacob Gable
006aedfb84
Implement signup in Ember
...
Closes #2410
- Add signup action that posts to signup endpoint
- Fix nav bar showing on signup page
- Fix image link when a user hasn't set their image yet
- Redirect to the ember/signin page if requesting an ember page
2014-05-23 12:17:28 -05:00
Hannah Wolfe
11cf0ae125
Merge pull request #2791 from shindakun/assetcache
...
Make cache max-age on theme assets one year.
2014-05-23 19:05:49 +03:00
Hannah Wolfe
83f7cfe08b
Merge pull request #2788 from jaswilli/issue-1842-tests
...
Add tests for handlebars core helper functions
2014-05-23 16:15:16 +03:00
Hannah Wolfe
1aa97c7c52
Merge pull request #2794 from Swaagie/patch-1
...
[docs] absolute=true will add options.hash
2014-05-23 15:58:22 +03:00
Martijn Swaagman
f7d2b6bd82
[fix] always add quotes
2014-05-23 14:37:03 +02:00
David Arvelo
7c7b1060f4
fix mirrored scrolling in markdown editor
...
issue #2426
- ember markdown component now looks for preview element as a DOM ancestor rather than a descendent
2014-05-22 18:35:43 -04:00
Martijn Swaagman
83742837c2
[docs] absolute=true will add options.hash
...
Ran into this will calling the helper from a theme, tried to get the absolute url, but just providing {{url absolute}} wasn't enough. After explicitly adding `=true` it worked.
2014-05-22 21:06:26 +02:00
Steve
5f7182b7a2
Make cache max-age on theme assets one year.
...
closes #2790
- Added one year in ms var.
- refs: #2447
2014-05-22 07:55:38 -07:00
Jason Williams
9d16e72bb0
Add tests for handlebars core helper functions
...
Closes #1842
-add unit tests for core helper functions
-fix up coreHelpers.e
-clean up coreHelpers.pagination
2014-05-22 03:57:52 +00:00
Hannah Wolfe
38f1e5f38e
Merge pull request #2787 from jcrugzz/patch-1
...
[dist] update sqlite version
2014-05-22 06:54:27 +03:00
Jarrett Cruger
d424c3e85e
[dist] update sqlite version
...
Current version os sqlite does not compile on smartos/sunos flavors. This will enable it to do so
2014-05-21 13:05:44 -04:00
Hannah Wolfe
c7bbb9e789
Merge pull request #2782 from morficus/master
...
updating fixtures for posts data
2014-05-20 21:02:04 +03:00
Maurice Williams
33e3ad679e
Modifying "posts" fixture to match the new API data structure
...
closes #2415
- data now match the new Posts API data structure
- has enough entries to allow for scrolling
- also including the generator template (as a txt file) used in json-generator.com
2014-05-20 09:37:31 -05:00
Hannah Wolfe
cdedf93a45
Merge pull request #2762 from fabfou/fix-issue-2743
2014-05-19 19:18:33 +02:00
fabfou
789f1bd968
Move debug page from /settings/debug to /debug
...
closes #2743
- remove settings/debug route and associated files
- reimplementation at debug route
2014-05-19 19:18:07 +02:00
Hannah Wolfe
6b1dd06364
Merge pull request #2769 from novaugust/ember-settings-fade
...
Added fade-in to ember settings panes
2014-05-19 20:01:16 +03:00
Hannah Wolfe
e30ea91234
Merge pull request #2764 from jgable/emberSignin
...
Improve signin
2014-05-18 15:56:54 +01:00
Hannah Wolfe
c15534c4de
Merge pull request #2771 from halfdan/2741-trailing-slashes
...
Correct behaviour for trailing slashes
2014-05-17 20:27:58 +01:00
Hannah Wolfe
b139bb6380
Merge pull request #2765 from novaugust/ember-content-redirect
...
Add /content redirect to Ember admin.
2014-05-17 20:24:10 +01:00
Hannah Wolfe
3ca815cc3d
Merge pull request #2772 from shindakun/profilelink
...
Corrected link to user profile settings
2014-05-17 20:23:07 +01:00
Hannah Wolfe
1c7a6f4a98
Merge pull request #2734 from shindakun/userurl
...
Validate user URL input to ensure protocol is present
2014-05-17 20:22:32 +01:00
Matt Enlow
992433a131
Added fade-in to ember settings panes
...
Closes #2749
- Add fade-in class to settings panes headers and contents
2014-05-15 19:59:06 -06:00
Matt Enlow
a29289c448
Add /content redirect to Ember admin.
...
Closes #2746
- Adds content route to router
- Content route transitions to posts route in the beforeModel hook.
2014-05-15 18:52:10 -06:00
Fabian Becker
f64203cdf7
Correct behaviour for trailing slashes
...
fixes #2741
- Extend HistoryLocation
- Add trailing slash to path
2014-05-15 22:28:05 +00:00
Jacob Gable
42a1d55858
Improve signin
...
Ref #2413
- Remove fixture and use actual API
- Store and send down actual logged in user data
- Refactor isLoggedIn to use computed property on application
- After signin, update user data in dependency container
- Add CSRF to all routes and controllers via initializer
- Update authenticated route to check for user.isLoggedIn
- Add notifications for signin error
- Add notifications.showAPIError helper
- Add plumbing for refreshless signup to doSignUp in admin controller
2014-05-15 09:18:43 -05:00
Steve
e0e9bf2046
Validate user URL input to ensure protocol is present
...
closes #1623
- added protocol validation to isURL on user settings validator.
- added placeholder URL to user profile template
- ref: https://github.com/sethlilly/Vapor/issues/10
- ref: https://github.com/oswaldoacauan/ghostium/issues/38
2014-05-15 06:34:07 -07:00