Hannah Wolfe
b943948d24
Set a higher maxListeners value
...
fixes #5373
- Set Max Listeners on our Event Emitter to 100
- Stops the '11 listeners added' error on node 0.12 during tests
2015-10-09 19:27:49 +01:00
Sebastian Gierlinger
4c1828c027
Merge pull request #5877 from ErisDS/pr-5864-nav-url
...
Support for more URL schemes in url helpers
2015-10-09 09:46:56 +02:00
Austin Burdine
19b117d33d
add tag description validation to tag settings menu
...
refs #5845
- adds validation to description field
- fixes css to word-wrap on words that are too long
2015-10-08 23:01:59 -05:00
Leonard Camacho
35c533effc
Shows image on Tag settings
...
closes #5800
2015-10-08 14:27:41 -04:30
Hannah Wolfe
eed6879845
Merge pull request #5892 from yanntech/fix/pg-upgrade
...
Public is the default schema but if you use different name your are
2015-10-08 08:54:12 +01:00
Hannah Wolfe
6e8bb1d979
Merge pull request #5916 from kevinansfield/fix-persisting-nav-settings
...
Fix unsaved nav settings persisting across transitions
2015-10-07 17:46:32 +01:00
Kevin Ansfield
8c4a9105b7
Fix unsaved nav settings persisting across transitions
...
closes #5852
- resets navigation settings controller's model when transitioning away
- fixes `locationType` config setting so acceptance tests don't mess with the URL
- configure the ephemeral session store for ember-simple-auth during tests
- adds dummy env-config meta fields so acceptance tests don't fail
- adds `ember-cli-simple-auth-testing` dependency for auth testing helpers
- adds Pretender dependency to mock API requests for acceptance tests
2015-10-07 15:57:14 +01:00
Hannah Wolfe
62acd48c6b
Merge pull request #5920 from kevinansfield/fix-upload-autoscroll
...
Fix preview scroll jump when adding/removing images
2015-10-07 12:46:56 +01:00
Hannah Wolfe
b77326bc7a
Merge pull request #5839 from kevinansfield/ember-1-13-9
...
Ember-cli, Ember, & Ember Data 1.13.x upgrades
2015-10-07 10:55:33 +01:00
Hannah Wolfe
b784ba0f4c
Merge pull request #5921 from kevinansfield/standardise-test-names
...
Standardize ember test names and file names
2015-10-06 18:49:10 +01:00
Kevin Ansfield
739443bb72
Standardize ember test names and file names
...
no issue
- standardize on "{TestType}: {ModuleType}: {module-name}" for test description strings
- standardize on `{module-name}-test.js` for test file names
- fix deprecation notices for ember component unit tests without explicit `unit: test` or `needs: []`
2015-10-06 17:31:03 +01:00
Yann Verry
eb5a03c8d8
Ghost can now handle a different schema than the default 'public' in PostgreSQL
...
closes #5891
- use CURRENT_SCHEMA() instead of 'public'
- remove the WHERE condition
2015-10-06 18:19:23 +02:00
Kevin Ansfield
a0ec07f797
Ember-cli, Ember, & Ember Data 1.13.x upgrades
...
closes #5630
- upgrade ember-cli to latest version
- upgrade ember to latest 1.13.x release
- upgrade ember data to latest 1.13.x release
- update custom adapters and serialisers for new internal JSON-API compatible formats [(docs)][1]
- update all store queries to use new standardised query methods [(docs)][2]
- add ember-data-filter addon ready for store.filter removal in ember-data 2.0 [(docs)][3]
- remove use of prototype extensions for computed properties and observers
- consolidate pagination into a single route mixin and simplify configuration
[1]: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_transition-to-the-new-jsonserializer-and-restserializer-apis
[2]: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_simplified-find-methods
[3]: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_ds-store-filter-moved-to-an-addon
2015-10-06 16:09:05 +01:00
Kevin Ansfield
746fd237fe
Fix preview scroll jump when adding/removing images
...
closes #5917
- fixes duplication of dropzone event handlers by filtering for an added data-attribute
- avoid running dropzone code if only scrollPosition attr changes
- fix scroll position jump when adding/removing images by only adjusting preview scroll position when editor scroll position changes
2015-10-06 14:47:06 +01:00
Sebastian Gierlinger
6ee930ea22
Merge pull request #5909 from delgermurun/remove-findall
...
Remove findAll from models that has findPage
2015-10-06 15:20:53 +02:00
Hannah Wolfe
1bfd5768bc
Merge pull request #5704 from kevinansfield/export-default-cleanup
...
Standardize on var-less `export default` across ember app
2015-10-06 13:39:31 +01:00
Kevin Ansfield
3f361f8742
Standardize on var-less export default
across ember app
...
no issue
- drops the `var Foo = Ember.Thing.extend({}); export default Foo;` syntax in favour of exporting directly, eg: `export default Ember.Thing.extend({})`
- discussion on this change [here](https://github.com/TryGhost/Ghost/pull/5340#issuecomment-105828423 ) and [here](https://github.com/TryGhost/Ghost/pull/5694#discussion-diff-37511606 )
2015-10-06 10:59:50 +01:00
Delgermurun
a501711e71
Remove findAll from models that has findPage
...
closes #4577
- removed findAll from Post and User
- refactored deleteAllContent and data importer
2015-10-02 18:01:35 +08:00
Sebastian Gierlinger
f7015600b8
Merge pull request #5899 from ErisDS/theme-lookup
...
Remove unnecessary API lookup for activeTheme
2015-09-29 23:27:57 +02:00
Hannah Wolfe
b0f6a15433
Merge pull request #5886 from javorszky/iss_5885
...
Make grunt test fail if no filename provided
2015-09-29 23:05:37 +02:00
Hannah Wolfe
390d5fcea2
Remove unnecessary API lookup for activeTheme
...
- the active theme is already managed and kept up to date as a property
of the express app
- this can be accessed via `req.app` inside of middleware
2015-09-29 22:54:55 +02:00
Hannah Wolfe
794bd87e04
Merge pull request #5896 from JohnONolan/byeforum
...
Remove forum mentions
2015-09-29 16:08:21 +02:00
John O'Nolan
1add453733
Remove forum mentions
2015-09-29 13:10:04 +02:00
Gabor Javorszky
309356e90c
Make grunt test fail if no filename provided
...
Closes #5885
Instead of hiding a notice in a sea of printed stack traces among the
eventual error, this change will cause grunt test to halt and output an
error message with some helpful info as to what went wrong.
2015-09-27 18:30:59 +01:00
Hannah Wolfe
f8caa1f091
Version bump to 0.7.1
2015-09-27 14:36:14 +01:00
Kevin Ansfield
769d6bfe13
Merge pull request #5871 from cobbspur/preventEnter
...
Prevent enter button reloading page when focus is on meta-title in PSM
2015-09-27 14:03:47 +01:00
cobbspur
a8121c8230
Prevent enter button reloading page when focus is on meta-title in PSM
...
closes #5854
- adds an action that returns false on form submission
2015-09-27 13:59:08 +01:00
Hannah Wolfe
77447fc42d
Merge pull request #5876 from sebgie/issue#5872
...
Fix client.secret for new installs
2015-09-27 13:50:36 +01:00
Hannah Wolfe
20273f3e12
Merge pull request #5843 from kevinansfield/fix-nav-regressions
...
Fix nav regressions in admin client
2015-09-27 13:36:04 +01:00
Hannah Wolfe
20c192557d
Test support for various URL schemes
...
refs #5801
2015-09-27 10:31:49 +01:00
Sebastian Gierlinger
dbc53dc853
Merge pull request #5858 from ErisDS/issue-5808
...
Show a single 422 error for invalid values
2015-09-26 12:14:12 +02:00
Sebastian Gierlinger
67f759df33
Merge pull request #5875 from ErisDS/no-published-by-override
...
Don't allow published_by override
2015-09-26 12:08:53 +02:00
Kevin Ansfield
621b633079
Fix front-end URL output for more URL schemes
...
- allows direct pass-through of protocol-relative (`//host`), alternate-scheme (`tel:`), and anchor-only urls (`#contact`)
2015-09-25 22:58:37 +01:00
Hannah Wolfe
d4a236345b
Merge pull request #5874 from sebgie/fix-redirect-ssl
...
SSL redirects
2015-09-25 20:07:33 +01:00
Sebastian Gierlinger
a87715f688
Fix client.secret for new installs
...
closes #5872
- added random secret for new databases
- added temporary fix for existing databases
- secret is still static (`not_available`) during tests
- fixed fork mechanism to keep active environment (never change
NODE_ENV!!!)
2015-09-25 21:03:33 +02:00
Hannah Wolfe
0462607296
Don't allow published_by override
...
- published_by should be set by business logic, rather than by users
Credits: An anonymous researcher working with Beyond Security's SecuriTeam Secure Disclosure program
2015-09-25 17:44:49 +01:00
Sebastian Gierlinger
bc25348fcc
SSL redirects
...
closes #5873
- replaced redirectPathname with url method
- added tests
2015-09-25 12:02:14 +02:00
Hannah Wolfe
545bea0eaf
Return a single 422 error for invalid values
...
refs #5808
- Fix the API to return a single 422 error when an invalid value is passed
- Only affects Browse, and not Read at present due to differences in how they are handled
- Frontend was changed to always 404 in #5851
- Adds tests to ensure all cases are covered
2015-09-25 10:30:49 +01:00
Sebastian Gierlinger
63f09687bb
Merge pull request #5870 from ErisDS/uncapitalise-subdir
...
Uncapitalise respects subdirectories & no encoding
2015-09-25 10:29:36 +02:00
Hannah Wolfe
f91c241443
Merge pull request #5857 from kevinansfield/fix-ff-editor-widths-v2
...
Fix over-sized editor pane widths
2015-09-25 09:08:26 +01:00
Hannah Wolfe
8895f41ee2
Uncapitalise respects subdirectories & no encoding
...
no issue
- Uncapitalise was dropping the subdirectory when redirecting - so the base url has been added where present
- Uncapitalise was also working differently in node 0.10 and 0.12 - so the path is decoded before testing for uppercase
- Adds some test coverage
2015-09-24 18:52:30 +01:00
Kevin Ansfield
cdd6cf7d3e
Fix over-sized editor pane widths
...
closes #5804 , supersedes and closes #5820
- adds a fixed width that flexbox can expand from to prevent flexbox content dictating the width (see https://github.com/TryGhost/Ghost/issues/5804#issuecomment-141416812 )
- adds a hack to the casperjs tests reverting the CSS change because phantomjs and flexbox don't get along
2015-09-24 18:46:13 +01:00
Sebastian Gierlinger
cce1cc55ca
Merge pull request #5867 from ErisDS/api-password
...
Don't alter password from User.edit endpoint
2015-09-24 13:37:24 +02:00
Sebastian Gierlinger
4351dfd179
Merge pull request #5866 from cobbspur/import
...
Fix handling of slugs on import
2015-09-24 12:46:16 +02:00
Hannah Wolfe
07e18cbdff
Merge pull request #5863 from acburdine/author-edit
...
Add `/author/:slug/edit/` route to frontend
2015-09-24 08:42:55 +01:00
Hannah Wolfe
00656a729b
Don't alter password from User.edit endpoint
...
- password changes should only be possible from the password change endpoint
Credits: An anonymous researcher working with Beyond Security's SecuriTeam Secure Disclosure program
2015-09-23 23:07:49 +01:00
Sebastian Gierlinger
48919a96c0
Merge pull request #5859 from ErisDS/plural
...
Add replacement for zero in plural helper
2015-09-23 18:42:01 +02:00
cobbspur
c0b5de6e81
Fix handling of slugs on import
...
closes Issue #5812
- pass importing property through to utils
- fix safeString method for imports
2015-09-23 17:41:44 +01:00
Hannah Wolfe
09d0d5d26e
Merge pull request #5851 from Gargol/issue-5808-error-500-with-illegal-character
...
Returns 404 page instead of crashing when special chars are used in tag slugs
2015-09-23 17:25:45 +01:00
Hannah Wolfe
c89459a7d8
Merge pull request #5862 from sebgie/npm-dedupe
...
Optimize release dependencies
2015-09-23 17:24:42 +01:00