Hannah Wolfe
55045ae784
Version bump to 0.7.2
2015-11-27 13:13:25 +08:00
Hannah Wolfe
2ea4f67dd4
Merge pull request #6131 from sebgie/issue#6106-1
...
Origin Header revisited
2015-11-27 00:32:51 +08:00
Hannah Wolfe
a8d13dd332
Merge pull request #6129 from kevinansfield/invalid-origin-errors
...
Display error message on setup if origin doesn't match config.js url
2015-11-27 00:25:57 +08:00
Hannah Wolfe
cd5188a32a
Merge pull request #6130 from kevinansfield/missing-signin-error
...
Fix missing error on signin when server has gone away
2015-11-26 23:07:44 +08:00
Sebastian Gierlinger
245095c199
Origin Header revisited
...
closes #6106
- added override for my-ghost-blog.com
- added local IP addresses to be allowed
- changed localhost/127.0.0.1 to be allowed in production
2015-11-26 13:11:31 +01:00
Kevin Ansfield
0462dfed39
Display error message on setup if origin doesn't match config.js url
...
refs #6106
- add error handler for authentication step of blog setup
- move setup acceptance test out of 'settings' folder
2015-11-26 11:22:16 +00:00
Kevin Ansfield
f2c7e34c3f
Fix missing error on signin when server has gone away
...
no issue
- `session.authenticate` calls out to jQuery for the ajax request which then raises it's own error but returns nothing when the server is not reachable. This is a quick fix so that we don't error and can pass through to the default error handler in the authentication step.
2015-11-26 11:15:17 +00:00
Sebastian Gierlinger
03760c3674
Merge pull request #6128 from ErisDS/startup-check
...
Docs link & unique error codes for startup checks
2015-11-26 10:32:22 +01:00
Hannah Wolfe
f25039c4b9
Docs link & unique error codes for startup checks
...
refs #5821 , #6063
- switch out help test to go to a comprehensive doc
- change error codes from 1 to unique codes
2015-11-26 16:20:11 +08:00
Hannah Wolfe
34d329ef56
Upgrading Casper to 1.2.6
2015-11-26 09:33:40 +08:00
Sebastian Gierlinger
787554bdbb
Merge pull request #6123 from kevinansfield/fix-bower
...
Specify full SHAs when importing packages in bower.json
2015-11-24 19:36:35 +01:00
Kevin Ansfield
18472d7b33
Specify full SHAs when importing packages in bower.json
...
no issue
- removes warning: `bower password-generator#49accd7 short-sha Consider using longer commit SHA to avoid conflicts`
- fixes error: `bower jqueryui-touch-punch#* error key must be a string or number. undefined`
2015-11-24 16:39:14 +00:00
Sebastian Gierlinger
a156a1ed08
Merge pull request #6117 from ErisDS/node-v4
...
Adding node 4.2 LTS to engines
2015-11-24 11:14:16 +01:00
Sebastian Gierlinger
ac53fc9c3f
Merge pull request #6119 from boennemann/chore-grunt-release
...
Dynamically build file patterns for release task
2015-11-24 11:14:08 +01:00
Hannah Wolfe
d758acd4d0
Merge pull request #6118 from kevinansfield/rename-post_count
...
Update client for tag.post_count -> tag.count.posts rename
2015-11-24 06:42:37 +00:00
Stephan Bönnemann
c22c866e93
Dynamically build file patterns for release task
...
- converted release task to function task
- dynamically setting config for copy task by reading `.npmignore` on demand
- speeds up all other tasks because `.npmignore` is no longer read from filesystem
2015-11-23 22:45:48 +01:00
Kevin Ansfield
161591fc3d
Update client for tag.post_count -> tag.count.posts rename
...
refs #6105
- adds `raw` ember-data transform to handle standard JSON `count` attribute
- update mirage factory to return correct `count.posts` format
- rename all uses of `post_count` to `count.posts`
2015-11-23 19:57:56 +00:00
Hannah Wolfe
059e19ee63
Adding node 4.2 LTS to engines
...
closes #5821
2015-11-23 18:56:13 +00:00
Hannah Wolfe
904620ac23
Merge pull request #6116 from sebgie/issue#6106
...
Handling Origin Header
2015-11-23 17:46:20 +00:00
Sebastian Gierlinger
8c50609491
Handling Origin Header
...
closes #6106
- added better error message for client and console
- added exclusion of localhost/127.0.0.1 for dev mode
2015-11-23 18:21:19 +01:00
Kevin Ansfield
431ccb16c9
Merge pull request #6099 from acburdine/user-adapter
...
Implement custom user adapter to pull users by slug
2015-11-23 14:52:01 +00:00
Sebastian Gierlinger
98e802c8ec
Merge pull request #6115 from ErisDS/sqlite-update
...
deps:sqlite3@3.1.1
2015-11-23 15:09:34 +01:00
Austin Burdine
1f834521b6
implement custom user adapter to pull users by slug
...
closes #6095
- implements custom user adapter for the `/team/:slug/` route
- abstracts slug-url behavior into a mixin (used in /settings/tags/ as well)
- adds unit tests for both tag and user adapters
2015-11-23 07:48:08 -06:00
Hannah Wolfe
649b558969
deps:sqlite3@3.1.1
2015-11-23 10:23:09 +00:00
Hannah Wolfe
8f620b6dce
Merge pull request #6063 from jgillich/version-check
...
Enable Node 4.2 testing
2015-11-23 09:56:27 +00:00
Jakob Gillich
faa1655a50
Enable Node 4.2 testing
...
* Do not error when node unsupported if GHOST_NODE_VERSION_CHECK=false is set
* Run engine check in preinstall script
* Add 4.2 to travis
issue #5821
2015-11-23 06:45:40 +01:00
Sebastian Gierlinger
8d414880f4
Merge pull request #6109 from ErisDS/count-order
...
Support ordering by count
2015-11-22 18:31:06 +01:00
Hannah Wolfe
d4c8b69673
Support ordering by count
...
refs #6009
- super quick and dirty way to support ordering by counts
- @TODO refactor :)
2015-11-22 17:18:30 +00:00
Sebastian Gierlinger
0be7513eff
Merge pull request #6105 from ErisDS/count-rename
...
Rename post_count to count.posts
2015-11-22 18:10:00 +01:00
Kevin Ansfield
cda3a52f54
Merge pull request #6107 from mixonic/no-rerender-plz
...
Minimize rerender warnings
2015-11-21 15:22:29 +00:00
Matthew Beale
2fa9a2e98a
Use private properties for unobserved render state
...
* Drop set for local private editor property
* Only run preview setup on didInsertElement
* Drop set for local scrollWrapper prop
* Selectize setup on afterRender instead of next
* Use local props for editor save timers
2015-11-21 09:25:21 -05:00
Kevin Ansfield
89030580b8
Merge pull request #6110 from mixonic/style-bindings
...
Properly use htmlSafe styles
2015-11-21 11:07:34 +00:00
Matthew Beale
85f2361049
Properly use htmlSafe styles
2015-11-20 17:48:48 -05:00
Hannah Wolfe
2aa16514a3
Rename post_count to count.posts
...
refs #6009
- This is a straight rename, no functionality is added
- The dot syntax requires pre/post processing to convert the name
- This PR also includes several updates to the tests, as they weren't being run as part of Travis!
2015-11-20 14:59:58 +00:00
Hannah Wolfe
5df3cd5cfd
Merge pull request #6064 from acburdine/ajax-helper
...
Add themes 'ajax' helper
2015-11-20 11:54:23 +00:00
Kevin Ansfield
d4eecb6e1d
Merge pull request #6101 from ErisDS/client-filter-update2
...
Fix & futureproof author filter
2015-11-20 10:24:27 +00:00
Hannah Wolfe
fd79ed5317
Fix & futureproof author filter
...
refs #5943
2015-11-20 10:13:30 +00:00
Kevin Ansfield
4cac084bd0
Merge pull request #6090 from ErisDS/client-filter-updates
...
Update author query to use filter
2015-11-20 09:29:50 +00:00
Hannah Wolfe
4cd5222ee0
Update author query to use filter
...
refs #5943
2015-11-19 21:53:24 +00:00
Austin Burdine
250edf2b06
add themes ajax helper
...
closes #5942
- adds helper script for calling the api in themes
- adds tests for said helper script
2015-11-19 07:13:54 -06:00
Sebastian Gierlinger
55564e3daf
Merge pull request #6091 from ErisDS/safe-count
...
Safe post_count for Tags & Users
2015-11-19 10:34:14 +01:00
Sebastian Gierlinger
67129fe2cf
Merge pull request #6084 from ErisDS/filter-debug
...
Debugging tools for filters
2015-11-18 20:31:59 +01:00
Hannah Wolfe
770f45245c
Safe post_count for Tags & Users
...
refs #6009 , #5614
- Use the new isPublicContext method to detect whether to add extra clauses to the count
- Add count to users
2015-11-18 19:19:11 +00:00
Hannah Wolfe
f8d9af1010
Add some debugging tools to filters
...
- pass debug: true to the API to get some useful debug output
- does not work in production mode
Note: I have added these lines back in so many times in the past month or so so that I could
figure out what was happening, I figured everyone else might find them useful.
TODO: use a proper logging method dependent on env
2015-11-18 19:17:06 +00:00
Sebastian Gierlinger
4a25a017c3
Merge pull request #6049 from ErisDS/labs-text
...
Update public API labs flag text
2015-11-18 09:05:29 +01:00
Hannah Wolfe
180c95ec2f
Update public API labs flag text
2015-11-17 21:28:16 +00:00
Sebastian Gierlinger
c53d31a059
Merge pull request #6082 from ErisDS/filter-plugin
...
Filter plugin
2015-11-17 12:32:56 +01:00
Hannah Wolfe
6a0f1cf231
Filter plugin with enforce/default logic
...
refs #5614 , #5943
- adds a new 'filter' bookshelf plugin which extends the model
- the filter plugin provides handling for merging/combining various filters (enforced, defaults and custom/user-provided)
- the filter plugin also handles the calls to gql
- post processing is also moved to the plugin, to be further refactored/removed in future
- adds tests showing how filter could be abused prior to this commit
2015-11-17 10:39:44 +00:00
Sebastian Gierlinger
6b31f362a2
Merge pull request #6083 from ErisDS/filter-missing
...
Add filter param for tags & users
2015-11-17 08:33:56 +01:00
Sebastian Gierlinger
088d5131cf
Merge pull request #6027 from reinoudk/bp-limit
...
Make bodyparser limit configurable to allow for posts larger than 100kB
2015-11-17 08:25:56 +01:00