Commit Graph

6273 Commits

Author SHA1 Message Date
Sebastian Gierlinger
10abe3e100 Merge pull request #6724 from ErisDS/internal-apps
Minor internal apps improvements
2016-04-14 22:51:10 +02:00
Hannah Wolfe
999f7d43e2 Merge pull request #6714 from kevinansfield/allow-mocked-endpoints-in-dev
Enable ability to mock endpoints in development mode
2016-04-14 19:12:43 +01:00
Hannah Wolfe
c5eda57f1e Minor internal apps improvements
refs #6589

- add internalAppsPath as a proper config path
- middleware/routes will be setup for any internal apps which have the function
- this should be refactored into some sort of proper hooks system as part of apps
- internal apps get permission to do anything the proxy allows
2016-04-14 19:05:48 +01:00
Hannah Wolfe
31ebc7f3dd Merge pull request #6685 from kirrg001/fix/setup-for-some-single-tests
fix: update_check_spec setup, serve-shared-file_spec setup
2016-04-14 18:51:24 +01:00
Katharina Irrgang
54347e2a31 fix: update_check_spec setup, serve-shared-file_spec setup
revert whitespace changes
2016-04-14 18:24:53 +02:00
Hannah Wolfe
c53e45fc8a Merge pull request #6651 from kevinansfield/uploader-js-must-die
Replace jQuery-based uploader.js with ember components
2016-04-14 16:57:57 +01:00
Kevin Ansfield
d83142e67d Enable ability to mock endpoints in development mode
no issue
- moves existing mirage config into the `testConfig()` function to retain full mocks during testing
- configure mirage to passthrough all requests when in development mode
2016-04-14 15:26:39 +01:00
Sebastian Gierlinger
9a674018b0 Merge pull request #6696 from ErisDS/fixture-migration-amends
Improve code for handling fixture migrations
2016-04-14 16:17:58 +02:00
Austin Burdine
23a11e328f Merge pull request #6716 from kevinansfield/test-travis-trusty
Switch to using Ubuntu Trusty on Travis
2016-04-14 09:11:51 -05:00
Hannah Wolfe
4b641bba7c Version bump to 0.7.9 2016-04-14 12:21:36 +01:00
Kevin Ansfield
36f90fb62a Switch to using Ubuntu Trusty on Travis
no issue
- Chrome has dropped support for Ubuntu Precise so it's no longer possible to install the latest stable version - https://github.com/travis-ci/travis-ci/issues/5899
2016-04-14 12:14:59 +01:00
Kevin Ansfield
75f48b87b7 Merge pull request #6721 from ErisDS/page-url-fix
Fixing undefined page case for page_url helper
2016-04-14 12:06:25 +01:00
Kevin Ansfield
a58c5fa751 Merge pull request #6718 from ErisDS/release-fix
Temp add minification in grunt for prod JS files
2016-04-14 12:05:08 +01:00
Hannah Wolfe
352f4eb2fc Fixing undefined page case for page_url helper
closes #6719

- covers the case that no page should be the same as page 1
2016-04-14 11:22:23 +01:00
Hannah Wolfe
f5fe772c09 Temp add minification in grunt for prod JS files
no issue

- This is required due to a bug in ember-cli, see: ember-cli/ember-cli#5795
2016-04-14 10:34:14 +01:00
Hannah Wolfe
8b53308f10 Update location of download page
- https://ghost.org/downloads/ is now https://ghost.org/developers/
2016-04-13 19:49:07 +01:00
Hannah Wolfe
21a4bdfd62 Merge pull request #6712 from jaswilli/issue-6710
Fix test conflicts
2016-04-13 19:40:04 +01:00
Hannah Wolfe
2e9c8a9421 Merge pull request #6713 from acburdine/follow-up-6711
Follow up from #6711
2016-04-13 19:31:54 +01:00
Kevin Ansfield
72023d3ff2 Fix redirect to posts list when saving a new post as an author
no issue
- replace deprecated `normalizeHash` with `normalize` in post serializer
- ensure we check for both `post` and `posts` properties as it will vary depending on the expected response type
2016-04-13 12:28:11 -05:00
Jason Williams
7559bb7b26 Fix test conflicts
Closes #6710
- Restore config to baseline before testing.
- Don't mutate fixture data.
2016-04-13 11:27:26 -05:00
Sebastian Gierlinger
b2cdfb802f Merge pull request #6704 from ErisDS/grunt-test-cleanup
Dev tooling clean up
2016-04-13 17:00:31 +02:00
Hannah Wolfe
6b74e1a34a Dev tooling clean up
- remove old casper.js tests
- cleanup mochacli groups that are less useful than `grunt test:path`
- improve inline Gruntfile.js docs
- fixup coverage for new internal apps
- add new coverage-all task which works for all our tests
- reverse order of master-warn messages to make this clearer
- remove bluebird from greenkeeper ignores
2016-04-13 13:21:33 +01:00
Hannah Wolfe
37f855cede Merge pull request #6708 from king6cong/email-error-template-fix
fix email error log templat
2016-04-13 11:23:43 +01:00
Kevin Ansfield
4f40d24e52 Merge pull request #6705 from acburdine/follow-up-6680
Fix leave editor modal
2016-04-13 09:12:22 +01:00
king6cong
104e73bd4a fix email error log templat 2016-04-13 14:51:00 +08:00
Austin Burdine
b8e1f82f37 fix leave editor modal
no issue
- following up from 6680, fixes a missing set of parentheses
2016-04-12 14:04:59 -05:00
Austin Burdine
5cba0810fc Merge pull request #6697 from jeffjewiss/save-draft-title-on-blur
Saves post title on focus blur if status is draft
2016-04-12 13:55:09 -05:00
Hannah Wolfe
359ea77d7f Merge pull request #6657 from jaswilli/issue-6625
Return computed columns when used in "columns"
2016-04-12 17:41:40 +01:00
Jason Williams
b69477e838 Return computed columns when used in "columns"
Closes #6625
- Adds a failing test for not returning computed columns as well
  as for the bookshelf bug where extra columns passed into a fetch
  will result in the model having an extra "quoted" column.
- Filter model attributes for passing into "fetch" but used the
  entire list of columns for `toJSON`.
2016-04-11 09:58:07 -05:00
Hannah Wolfe
b0ab3f0273 Merge pull request #6617 from acburdine/private-blogging-app
Move private-blogging into an internal app
2016-04-11 15:55:06 +01:00
Austin Burdine
1181707a9d move private-blogging functionality into an internal app
closes #5914, #6589
- moves all private-blogging related code & tests into /server/apps/private-blogging/
- rework Grunt to run private-blogging tests
- modify server apps code to have a place for internal apps
2016-04-11 08:58:41 -05:00
Hannah Wolfe
7ff74010fd Merge pull request #6659 from jaswilli/multer
Replace busboy upload middleware with multer
2016-04-11 11:07:34 +01:00
Jeff Jewiss
619647fd53 Saves post title on focus blur if status is draft
Closes #6656
- adds an action to update the title
- checks if the post title has changed and is a draft and sends a silent + background save action
- includes the action on the focus-out event on the post title
2016-04-10 21:47:28 -04:00
Hannah Wolfe
a96a74c5a1 Improve code for handling fixture migrations
refs #6301, #4176

- always check existence of items before attempting to create them, in order to prevent duplicates
- provide stats on how many object creations are expected vs done
- split out and improve fixture utils tests (100% covers utils)
2016-04-10 19:02:22 +01:00
Hannah Wolfe
0fd5cea07d Merge pull request #6695 from jaswilli/emitter
Make sure events gets initialized
2016-04-10 17:56:38 +01:00
Austin Burdine
b510d9a12c Merge pull request #6694 from jaswilli/bind
Remove Function.bind polyfill
2016-04-10 00:53:19 -05:00
Jason Williams
f17d29c5a2 Make sure events gets initialized 2016-04-09 19:52:37 -05:00
Jason Williams
267ddef9b7 Merge pull request #6693 from ErisDS/auth-events
Add user and client authentication events
2016-04-09 19:13:29 -05:00
Jason Williams
0feb66224b Remove Function.bind polyfill
- Not used anymore, and phantomjs 2 has a native .bind
2016-04-09 13:06:54 -05:00
Austin Burdine
3b8414e620 Merge pull request #6680 from kevinansfield/cleanup-attrs-actions
Avoid use of this.attrs for closure actions
2016-04-09 11:25:26 -05:00
Kevin Ansfield
eb1cf51bf6 Avoid use of this.attrs for closure actions
no issue
- `this.attrs` is a glimmer-component thing (which doesn't exist in Ghost yet), to avoid confusion we should avoid using it
- https://locks.svbtle.com/to-attrs-or-not-to-attrs
- https://github.com/cibernox/ember-power-select/issues/233#issuecomment-170352572
2016-04-09 10:46:19 +01:00
Hannah Wolfe
1f8a4fe97d Add user and client authentication events
no issue

- slowly rolling out events across the app
2016-04-08 23:11:33 +01:00
Hannah Wolfe
0ed304f446 Merge pull request #6690 from kevinansfield/ember-suave-2-0
deps: ember-suave@2.0.1
2016-04-08 23:05:51 +01:00
Hannah Wolfe
09c4b26f95 Merge pull request #6689 from kevinansfield/client-dependency-updates
Client dependency updates
2016-04-08 23:05:15 +01:00
Hannah Wolfe
098974917f Merge pull request #6644 from jaswilli/auth-origin
Relax origin header checking and add more CORS support
2016-04-08 22:10:02 +01:00
Kevin Ansfield
1849dc1158 deps: ember-suave@2.0.1
no issue
- https://github.com/DockYard/ember-suave/releases/tag/v2.0.0
- fix linting errors arising from new rules
2016-04-08 16:27:24 +01:00
Kevin Ansfield
1667150a4a deps: pretender@1.0.0
no issue
- https://github.com/pretenderjs/pretender/blob/master/CHANGELOG.md#10
- https://github.com/pretenderjs/pretender/compare/0.10.1...1.0.0
2016-04-08 15:54:23 +01:00
Kevin Ansfield
7d051777aa deps: moment@2.12.0
no issue
- https://github.com/moment/moment/blob/develop/CHANGELOG.md#2103-see-full-changelog
2016-04-08 15:51:55 +01:00
Kevin Ansfield
e8b840a493 deps: Faker@3.1.0
no issue
- https://github.com/Marak/faker.js/compare/v3.0.1...v3.1.0
2016-04-08 15:36:37 +01:00
Kevin Ansfield
56637fe4fa deps: remove unused es5-shim bower dependency 2016-04-08 15:34:21 +01:00