Nazar Gargol
fd7e118ed5
Returns 404 page instead of crashing a server whenever special characters are used for tag filtering
...
closes #5808
refs #5816
- adds additional filtering any 'slug' containing content in `renderChannel` for frontend
- adds test for invalid characters in tag slug
2015-09-20 22:47:34 +02:00
Hannah Wolfe
ed7bfe8f4a
Merge pull request #5818 from acburdine/infinity-fix
...
Fix config service bug causing client secrets to be rendered as infinite numbers
2015-09-18 13:40:16 +01:00
Sebastian Gierlinger
c57edd67a7
Merge pull request #5817 from ErisDS/issue-5810-sqlite
...
Don't eager load relations on tag update
2015-09-18 14:23:36 +02:00
Sebastian Gierlinger
ef6a99fb34
Merge pull request #5844 from ErisDS/validation-fix
...
Add underscores to general validation
2015-09-18 11:24:04 +02:00
Hannah Wolfe
95623e60ae
Add underscores to general validation
...
fixes #5816
- general slugs and other fields should permit underscores as well as dashes
2015-09-17 12:24:11 +01:00
Hannah Wolfe
0aea83f7d9
Don't eager load relations on tag update
...
closes #5810
- switch from using bookshelf's eager loading, to loading separately
- should resolve the TOO MANY SQL VARIABLES error
2015-09-17 09:59:46 +01:00
Hannah Wolfe
07edc94c84
Merge pull request #5826 from kevinansfield/fix-shortcuts-breaking-editor
...
Fix shortcut keys sometimes not being cleared due to scope changes
2015-09-14 11:39:39 +01:00
Kevin Ansfield
b24e121eb3
Fix shortcut keys sometimes not being cleared due to scope changes
...
closes #5813
- when transitioning away from a shortcuts route, always specify the scope when unbinding in keymaster to avoid issues when we are temporarily be in a different scope at time of transition
2015-09-11 09:54:55 +01:00
Austin Burdine
fdb3ca8167
fix bug with config service interpreting rare client secret strings as exponential numbers
...
closes #5815
- replaces isNaN function call with isFinite in config service
- adds config service unit test
2015-09-09 08:19:45 -05:00
Hannah Wolfe
1cbef8a712
Merge pull request #5802 from sebgie/fix-cache-test
...
Fix cache-control test
2015-09-08 19:17:41 +01:00
Hannah Wolfe
3bb2fd3db5
Merge pull request #5814 from sebgie/middleware-ssl-coverage
...
Improve Middleware Code Coverage
2015-09-08 19:17:23 +01:00
Sebastian Gierlinger
762824690a
Improve Middleware Code Coverage
...
refs #5286
- finished tests for check-ssl.js
2015-09-08 18:05:22 +02:00
Sebastian Gierlinger
c8dd095c36
Merge pull request #5805 from ErisDS/tag-seq
...
Switch to using sequence for updating tags
2015-09-07 13:54:32 +02:00
Hannah Wolfe
449def7234
Switch to using sequence for updating tags
...
no issue
- makes upgrading very large numbers of posts & tags more reliable
2015-09-04 09:22:16 +01:00
Sebastian Gierlinger
93070c60e2
Fix cache-control test
...
no issue
- fixed brackets to execute test again
2015-09-03 17:42:15 +02:00
Hannah Wolfe
c02f7d6afe
Version bump to 0.7.0
2015-09-03 12:23:31 +01:00
Sebastian Gierlinger
7b3d60b727
Merge pull request #5799 from ErisDS/improve-migrations
...
Use sequence for migrations instead of Promise.all
2015-09-03 13:20:39 +02:00
Hannah Wolfe
b422d9d32c
Use sequence for migrations instead of Promise.all
...
no issue
- ensures that all migrations complete before the next one begins
2015-09-03 12:09:58 +01:00
Kevin Ansfield
092330134a
Merge pull request #5796 from ErisDS/user-invite-val
...
Adds rudimentary validation to user invite
2015-09-02 22:51:29 +01:00
Hannah Wolfe
73080dc064
Adds rudimentary validation to user invite
...
refs #5652
- with these changes, validation appears, but doesn't properly prevent closing the modal
- this needs revisiting at some point
2015-09-02 22:26:59 +01:00
Hannah Wolfe
274769455a
Merge pull request #5795 from kevinansfield/fix-console-error
...
Fix teardown of resize handler in content management screen
2015-09-02 22:17:51 +01:00
Kevin Ansfield
1b07d8c8fd
Merge pull request #5788 from ErisDS/search-timeout
...
Reduce search refresh timeout & forgotten link fix
2015-09-02 22:12:55 +01:00
Kevin Ansfield
2a210b5703
Fix teardown of resize handler in content management screen
...
refs #5659 ([comment](https://github.com/TryGhost/Ghost/issues/5659#issuecomment-137114898 ))
- cleans up resize handler on willDestroy hook of gh-content-view-container
2015-09-02 21:41:47 +01:00
Hannah Wolfe
5b4a8c66be
Merge pull request #5792 from kevinansfield/fix-search-listing-selection
...
Fix selected search item appearing as multi-select item in search input
2015-09-02 20:57:03 +01:00
Hannah Wolfe
e79d2a43de
Merge pull request #5794 from novaugust/psm-blog-url
...
Add config.blogUrl key to PSM's seoURL property
2015-09-02 20:50:50 +01:00
Kevin Ansfield
8147a7e062
Fix selected search item appearing as multi-select item in search input
...
no issue
- adds an observer to the component's `selection` property that always clears it if it's assigned a value
2015-09-02 19:34:54 +01:00
Matt Enlow
a4e6dd4dc0
Add config.blogUrl key to PSM's seoURL property
...
Closes #5793
2015-09-02 12:34:48 -06:00
Hannah Wolfe
5e455dfcfb
Merge pull request #5791 from kevinansfield/autohide-nav-translate3d
...
Better flickering auto-nav fix
2015-09-02 18:36:28 +01:00
Hannah Wolfe
dd7dbc1667
Upgrading Casper to 1.2.5
2015-09-02 18:16:52 +01:00
Kevin Ansfield
40cc728f63
Merge pull request #5789 from cobbspur/spinner
...
Keep spinner running on successful signin
2015-09-02 18:02:22 +01:00
Kevin Ansfield
a5005d445c
Merge pull request #5744 from ErisDS/skip-link
...
Make skip link work with Ember
2015-09-02 17:59:06 +01:00
Sebastian Gierlinger
7ce7c71bf0
Merge pull request #5706 from ErisDS/fix-private
...
Database version 004 - Good to merge
2015-09-02 18:53:51 +02:00
Kevin Ansfield
dea28c0533
Better flickering auto-nav fix
...
refs #5652
- reverts previous fix (#5698 ) to return translate3d smoothness
- add separate open-autonav toggle element and style it to always stick to the viewport edge to avoid wandering hover hit areas
2015-09-02 17:41:50 +01:00
Hannah Wolfe
cf4ed913b1
Reduce search refresh timeout & forgotten link fix
...
no issue
- Change timeout from 60secs to 10secs for refreshing search results
- Remove white background from forgotten password link
2015-09-02 17:41:28 +01:00
Hannah Wolfe
4f860ed5a3
Merge pull request #5790 from JohnONolan/htmlosaurus
...
uhbuhbyenow
2015-09-02 17:02:42 +01:00
Hannah Wolfe
b2204f404d
Insert new info post fixture for upgrades
...
no issue
- Inserts an extra post fixture into the DB only when upgrading
- Post fixture is a draft and will appear at the top of the list
2015-09-02 16:59:37 +01:00
John O'Nolan
8ea08f6246
uhbuhbyenow
2015-09-02 17:49:15 +02:00
cobbspur
4b6f28ded5
Keep spinner running on successful signin
...
No Issue
- Removes the toggle of spinner for successful authentication
2015-09-02 16:49:04 +01:00
Hannah Wolfe
a3f107da8e
Maintain tag order for posts
...
refs #5727 , #5602
- Add new 'order' column to posts_tags table
- Migrate all existing posts_tags to have a correct value for 'order'
- Rewrite updateTags to not remove all tags, and to correctly maintain order
- Add transaction support for tag operations
- Many tests
2015-09-02 16:39:34 +01:00
Sebastian Gierlinger
f22796ff7d
Add dynamic client_id/client_secret
...
no issue
- added ghost-admin client_id to admin
- added ghost-admin client_secret to admin
- added client.read() api endpoint
- added random generation of client_secret to migration
- removed addClientSecret method
- updated tests
2015-09-02 16:39:34 +01:00
Hannah Wolfe
6926e20478
Fix upgrade path from really old versions
...
closes #5692 , refs felixrieseberg/Ghost-Azure#1
- fix broken promise code
- fix incorrect handling of hash in user.add which causes 'Error: Invalid salt version 2' if owner user fixture is not present
2015-09-02 16:39:13 +01:00
Hannah Wolfe
9507d68a60
Merge pull request #5786 from JohnONolan/searchmobile
...
Search mobile fixes
2015-09-02 16:15:47 +01:00
John O'Nolan
fdede1c814
Search mobile fixes
2015-09-02 16:13:18 +02:00
Hannah Wolfe
8237612501
Make skip link work with Ember
...
refs #5652
- handles the skip link using js so that ember doesn't interfere with the anchor
- uses the code suggested here: https://www.codehive.io/boards/pZUuwIk
2015-09-02 14:56:46 +01:00
Hannah Wolfe
95e6b0a59d
Add migration to modify badly formatted tags
...
refs #5685 , #5709
- cycle through all tags, removing leading commas and trim spaces
- if the string is empty, change to 'tag' - the slug base for this model
- if there is a change, save it
2015-09-02 13:39:23 +01:00
Hannah Wolfe
114696f7e2
Change type for private blog settings
...
refs #5614 and #5503
- update private blog type, including update to settings.edit
- switch order of populate settings & update fixtures + populate all settings
Private blog settings should not be returned by public endpoints
therefore they need a type which is not `blog` or `theme`.
`core` doesn't suit either, as those settings don't usually have UI
To resolve this, I created a new type `private` which can be used
for any setting which has a UI but should not be public data
2015-09-02 13:39:23 +01:00
Sebastian Gierlinger
d215983d53
Update client fixtures
...
closes 4184
- update ghost-admin client
- add ghost-frontend client
2015-09-02 13:39:23 +01:00
Joe Cannatti
6938216984
Add tour field to User
...
closes #5171
- adds tour field to user model
- Bump Schema version
- Update tests
2015-09-02 13:39:22 +01:00
Austin Burdine
6c5fea40ca
Remove auto-inclusion of jQuery via ghost_foot
...
closes #5298
- remove all harcoded instances of jQuery throughout the front-end of the blog
- add migration function to add cdn link to ghost_foot code injection when migrating up from version 003
- migration version bump
2015-09-02 13:39:22 +01:00
Sebastian Gierlinger
52e35a282b
Add table columns for OAuth
...
closes #4174
- added trusted domains
- removed unique constraint from secret
2015-09-02 13:39:22 +01:00