Commit Graph

6393 Commits

Author SHA1 Message Date
Kevin Ansfield
5eb120cc8b deps: ember-one-way-controls@0.6.2
no issue
- https://github.com/DockYard/ember-one-way-controls/compare/v0.5.4...v0.6.2
- bugfixes
- dynamic attribute binding (attributes no longer need to be explicitly defined in the components in order to be recognised)
- adds `one-way-radio` component
2016-04-19 10:22:29 +01:00
Hannah Wolfe
164dda9af7 Merge pull request #6738 from jaswilli/update-contribs
deps: top-gh-contribs@2.0.3
2016-04-19 09:41:40 +01:00
Jason Williams
b4adc322f8 deps: top-gh-contribs@2.0.3 2016-04-18 22:50:48 -05:00
Joerg Henning
0f3cb44227 deps: validator@5.1.0
closes #6462

- monkey-patch validator.extends() since it was dropped by validator @5.0.0
- coerce input to string prior to validation (custom toString func)
- need to handle boolean validation based on column type not isIn()
- use `lodash.tostring` to convert input values to strings
2016-04-19 09:39:12 +08:00
Hannah Wolfe
b450fba5e3 Merge pull request #6722 from kirrg001/6413/post-scheduling-events
add events for post scheduling (scheduled, unscheduled, rescheduled)
2016-04-18 19:56:29 +01:00
Kevin Ansfield
7cb03f8c91 Merge pull request #6732 from acburdine/ember-cli-update
Ember-CLI 2.5 update
2016-04-18 17:06:28 +01:00
Katharina Irrgang
d24466a284 add events for post scheduling
refs #6413
- accept scheduled status
- add a lot of tests for all kinds of edge cases
- compare dates without ms because mysql does not store ms
2016-04-18 16:44:41 +02:00
Austin Burdine
3461ef96ed deps: ember-cli@2.5.0 2016-04-17 20:05:42 -05:00
Sebastian Gierlinger
817a302885 Merge pull request #6628 from ErisDS/migration-005
Data & Fixture Migrations v005
2016-04-15 15:51:52 +02:00
Kevin Ansfield
63dd3e2cb9 Merge pull request #6729 from acburdine/ember-2.5
Ember Dependency Updates
2016-04-15 08:56:56 +01:00
Austin Burdine
e12e976c58 deps: ember-data@2.5.2 2016-04-15 00:32:57 -05:00
Austin Burdine
71474c4422 deps: ember@2.5.0 2016-04-15 00:24:57 -05:00
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
5884fe0323 Add permissions models & relations for clients
refs #6301, #4176

Add migration for:
- 5 new client permissions
- 15 relations between the admin, editor & author role and the 5 new permissions
- updates to tests to show that permissions get updated properly
2016-04-14 19:02:56 +01:00
Hannah Wolfe
8b9734ea31 Add new ghost-scheduler client
refs #6301, #6399

- new scheduler client will be used by any web app that handles time and calls back to the scheduling API at the right time
- new scheduler client will need to be confidential, rather than public, hence the 'web' type instead of 'ua'
- adds validation to client type that it must have a type of 'ua', 'web', or 'native'
2016-04-14 19:02:49 +01:00
Hannah Wolfe
739977a368 Add social media columns to users
refs #6301, #6534

- adds facebook and twitter columns, which should contain urls
2016-04-14 18:59:15 +01:00
Hannah Wolfe
2685970d96 Add mobiledoc column to posts
refs #6301, #6255

- new, extra-long, column for storing mobiledoc content format
2016-04-14 18:59:15 +01:00
Hannah Wolfe
e7cc18d5fb Add visibility column to posts, tags and users
refs #6301, #6165

- visibility is added as a new column on posts, tags and users.
- has a relevant default value for each table
2016-04-14 18:59:14 +01:00
Hannah Wolfe
b4ae469c12 Drop hidden column from tags table
refs #6301

- column is not used and we'll be adding a visibility column to serve the intended purpose
2016-04-14 18:59:14 +01:00
Hannah Wolfe
f08fe28834 Move fixClientSecret to 005 fixture migration
refs  #6301

- move the temporary `fixClientSecret` function from migration.init into being a proper fixture migration task
- update the tests accordingly
2016-04-14 18:59:14 +01:00
Hannah Wolfe
fa8555bda2 Initial commit of 005 version
refs #6301

- bump the default version & update corresponding test
- add empty task folders for 005 data & fixture migrations
- update tests to cover the new 005 upgrades
2016-04-14 18:59:13 +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