Jason Williams
f794490e61
Update Ember-Data, remove unneeded code
...
No Issue.
- Ember-Data@1.0.0-beta.14.1.
- Remove code from serializers for a workaround that's no longer needed.
2015-01-25 20:00:55 +00:00
Hannah Wolfe
3c86f67fca
Merge pull request #4831 from jaswilli/edit-user
...
Fix up users API so admin role can edit owner
2015-01-23 22:55:08 +01:00
Jason Williams
786ec6be28
Format database-related error responses
...
Closes #4735
- Shows error message on client instead of "[object Object]".
- Server log shows error message instead of uknown error.
2015-01-21 18:09:09 +00:00
Hannah Wolfe
8454a1c0bb
Merge pull request #4830 from jaswilli/find-by-role
...
Fixup finding user by role name
2015-01-21 11:01:44 +00:00
Jason Williams
0fc152b2ad
Fix up users API so admin role can edit owner
...
No Issue.
- Make sure that a user with the Admin role can edit the Owner.
- Add test for behavior.
2015-01-20 21:34:24 +00:00
Hannah Wolfe
e26d1a9257
Merge pull request #4826 from jaswilli/issue-4807
...
Implement Navigation item input behaviors
2015-01-20 19:31:04 +00:00
Jason Williams
7578d674ae
Fixup finding user by role name
...
No Issue.
- Build up query object to lookup a user by the name of a role. Return
user with "roles" objects included.
- Add test for findOne by role.
2015-01-20 18:31:17 +00:00
Hannah Wolfe
c946230171
Merge pull request #4823 from jaswilli/fixup-test
...
Assume datetime in import filename is UTC
2015-01-19 18:49:08 +00:00
Jason Williams
d446ad84ea
Implement Navigation item input behaviors
...
Closes #4807
2015-01-18 23:08:03 -06:00
Jason Williams
d5d7919d26
Assume datetime in import filename is UTC
...
No issue.
- Add missing catch handlers to async tests.
2015-01-18 21:20:51 +00:00
Fabian Becker
90ac1fdd16
Fix footnote handling for n-digit numbers
...
fixes #4815
- Fix regex
- Add new test
2015-01-17 14:56:13 +00:00
Jason Williams
1c07273f5a
Update grunt-jscs dependency
...
No Issue
- grunt-jscs@1.2.0
- Clean up some instances of multiple spaces.
- Remove jscs:disable for regexes now that jscs better supports them.
2015-01-16 18:06:20 +00:00
Jason Williams
aee472eb65
Check all users when generating slug
...
No Issue
- Set 'status: all` when calling generateSlug from the user model
so that all user slugs are checked for duplicates instead of
only active users.
2015-01-16 06:56:53 +00:00
Matt Enlow
3982e0f871
Merge pull request #4804 from jaswilli/issue-4539
...
Connect Navigation page to live data
2015-01-14 15:45:04 -07:00
Jason Williams
a007ae1442
Connect Navigation page to live data
...
Closes #4539
2015-01-14 21:24:08 +00:00
Hannah Wolfe
b9db60e3bb
Merge pull request #4801 from halfdan/4800-role-select
...
Fix user role select
2015-01-14 13:30:51 +00:00
Sebastian Gierlinger
023a37b074
Merge pull request #4772 from ekulabuhov/4262_NextPrevPostWIP
...
[API] Retrieve next and previous post
2015-01-14 10:32:07 +01:00
Fabian Becker
7090fa0430
Fix user role select
...
fixes #4800
- Correctly reference the user role for initial value
2015-01-14 00:58:15 +01:00
Jason Williams
9151f53323
Don't assume order of results in import test
...
No Issue
- Fixes intermittent test failure when order of results
returned by loadFile() changes.
2015-01-13 16:40:46 +00:00
Ivan Votti
a63d3ec350
Fix typo in disallow-object-controller
2015-01-13 22:13:26 +07:00
Eugene Kulabuhov
0e2709c42f
[API] Retrieve next and previous post
...
closes #4262
- implementation based on #1545
- added integration test. Modified mocked posts because code requires published_at timestamps to be different.
- fixed 2 broken tests that depended on mocked posts to have "new Date()" as their timestamps
- added checks to only query db if next/previous post requested
2015-01-13 12:49:16 +00:00
Hannah Wolfe
0cb3483bc0
Merge pull request #4694 from PaulAdamDavis/navigation-ember
...
Navigation UI Ember Integration
2015-01-13 09:31:32 +00:00
Hannah Wolfe
e8fa276fea
Update about page copyright
2015-01-12 17:46:11 +00:00
Hannah Wolfe
e6305e83fa
Merge pull request #4765 from martinnormark/master
...
Load next page if scrollHeight <= clientHeight
2015-01-12 14:17:51 +00:00
Jason Williams
66154145f1
Fixup validation engine to handle lack of proxying
...
Closes #4766
- Adjust ValidationEngine so it no longer assumes the properties
it is validating are proxies via ObjectController.
- Fixup controllers, templates, and routes to use models where
data needs to be validated.
2015-01-12 03:27:47 +00:00
Paul Adam Davis
6cc5a58b68
Navigation UI Ember Integration
...
Closes #4537
- Adds Navigation to the Settings menu
- Adds a `navigationUI` config flag (redirects if not an editor or author)
2015-01-11 20:04:01 +00:00
Jason Williams
be462d8d94
Merge pull request #4781 from ErisDS/has-tag-fix
...
Fix has helper tag matching
2015-01-11 13:01:55 -06:00
Hannah Wolfe
5ceb721fa4
Fixes post sort order
...
fixes #4788
2015-01-11 16:46:43 +00:00
Jason Williams
1afd6091a9
Merge pull request #4784 from ErisDS/test-cleanup
...
Misc test cleanup
2015-01-10 10:33:49 -06:00
Hannah Wolfe
fb46b7d356
Misc test cleanup
...
refs #4644
- Changes tests using assert style to use should style for consistency
- Updates moment().subtract() to remove deprecation warning
- Changes test and test-coverage grunt commands to run in a way which is
compatible with both *nix and win envs
- refs #4644 as this is a step towards getting coverage working properly
again
2015-01-10 11:39:18 +00:00
Hannah Wolfe
3f34162fd9
Fix has helper tag matching
...
fixes #4780
2015-01-09 21:52:23 +00:00
Hannah Wolfe
283deb2461
Fix email sending fail when blog title has a comma
...
no issue
- We send emails from Blog Title <ghost@blog-url.com>, but it should be from "Blog Title" <ghost@blog-url.com>
- It worked fine without quotes unless you have a comma in your Blog Title in which case different mail systems get confused in different ways
2015-01-09 21:34:24 +00:00
Jason Williams
7501b4478d
Merge pull request #4692 from ErisDS/markdown-importer
...
Add markdown file handler to importer
2015-01-09 14:44:46 -06:00
Hannah Wolfe
fbdabce086
Add markdown file handler to importer
...
closes #4691
- adds a file handler for markdown file (.md and .markdown)
- handles titles and featured images
- gets status, date, and slug from the filename
- has a test suite
2015-01-09 20:04:56 +00:00
Jason Williams
481af2ddee
Merge pull request #4774 from felixrieseberg/iss4768
...
Editor Save Button/Notifcations: Post vs Page
2015-01-09 11:26:31 -06:00
Jeremiah Hoyet
bbe3ceb025
Fixed issue where Gravatars with rating higher than G would cause a 404 error.
...
closes #4770
- Check for Gravatar now allows the highest rating for images
- Defaults to silhouette in the event a user deletes their Gravatar
- Allows highest rating for Gravatars (x), since Ghost should have no opinion on image ratings.
2015-01-08 19:34:28 -05:00
Felix Rieseberg
d7bf4258fe
Editor Save Button/Notifcations: Post vs Page
...
Closes #4768
- Notifications that used to read ‘View Post’ now read ‘View Page’ if
the post is actually a page
- The Editor Save Button now also makes a distinction between posts and
pages
2015-01-08 10:23:48 -08:00
Hannah Wolfe
7860818a2f
Reset the store after import
...
no issue
- without this, the content screen doesn't update properly after an import
2015-01-08 13:42:45 +00:00
Martin H. Normark
3faf4deca0
Load next page if scrollHeight <= clientHeight
...
closes #4764
- call loadNextPage in attachCheckScroll, if element scrollHeight <=
clientHeight
2015-01-07 00:16:16 +01:00
Jason Williams
04180bc83b
Merge pull request #4763 from ErisDS/no-tag-flag
...
Move tag management from behind config/labs flags
2015-01-06 13:41:19 -06:00
Hannah Wolfe
1f22d8c28c
Move tag management from behind config/labs flags
...
issue #4248
- tag management is ready for release, this takes the training wheels off :)
- remove config flag
- remove labs checkbox and related code
2015-01-06 18:56:42 +00:00
Jason Williams
ce11c728c6
Reset upload component on tag switch
...
Closes #4755
2015-01-05 22:45:19 +00:00
Jason Williams
a7b405924a
Merge pull request #4759 from ErisDS/importer-test-fix
...
Fix importer tests on windows
2015-01-05 16:25:35 -06:00
Hannah Wolfe
02d091bbbc
Fix importer tests on windows
2015-01-05 21:59:43 +00:00
Jason Williams
7f753acff1
Merge pull request #4752 from ErisDS/importer-updates
...
Image Importer Improvements
2015-01-05 10:39:35 -06:00
Jason Williams
05877124ae
Remove unneeded promises and fix tests
2015-01-04 21:05:31 +00:00
Jason Williams
e6fd1b89c0
Rework Labs feature toggling
...
Refs #4750
- Make "Feature" a Controller with promise support.
- Use via 'needs' instead of injecting from an initializer because
we need authenticated access to the API.
- Check whether feature is enabled when entering Code Injection route.
2015-01-04 20:05:25 +00:00
Jason Williams
7c7dbb911c
Merge pull request #4750 from ErisDS/labs-thing
...
Labs page checkboxes
2015-01-04 13:44:47 -06:00
Hannah Wolfe
3310dba9ea
Merge pull request #4738 from jaswilli/socket-perms
...
Allow socket permissions to be set from config
2015-01-03 19:41:27 +00:00
Hannah Wolfe
c0fc7c5bcd
Adds global feature manager
...
closes #4409
2015-01-03 14:25:04 +00:00