Commit Graph

93 Commits

Author SHA1 Message Date
Kevin Ansfield
719aed29cf deps: ember@2.11.0 2017-02-01 17:03:38 -06:00
Kevin Ansfield
9b7a8cdc55 clean up duplicated / no-longer-needed bower dependencies 2017-01-30 19:33:12 +00:00
Austin Burdine
52b6668955 deps: ember-cli-mirage@0.2.0
- remove lodash from bower
- move all resources to /mirage instead of /app/mirage
- update endpoints to use ORM
- general cleanup
2017-01-13 15:59:37 +00:00
Kevin Ansfield
91dfd0cbf7 switch from jshint/jscs to eslint
no issue
- drop `jshint`, `jscs`, and `ember-suave` dependencies
- remove `grunt` related linting dependencies and tasks
- remove linting build from Travis so that linting can be performed as part of the normal test suite (refs TryGhost/Ghost#7427)
- add `ember-cli-eslint` and `eslint-plugin-ember-suave` dependencies
- configure `eslint` to match our previous coding style
- update config to run eslint tests as part of the normal test run
- add `npm run lint` command to only run linter tests
2016-11-14 13:25:36 +00:00
Tobias Bieniek
4ff887c326 Update "ember-cli-mocha" to v0.11.0 (#393)
no issue
- chore(package): update ember-cli-mocha to version 0.11.0
- bower.json: Cleanup "ember-cli-mocha" dependencies
2016-11-14 09:06:00 +00:00
Kevin Ansfield
389357db6c deps: ember@2.9.0 (#359)
no issue
- Glimmer2 was backed out of the 2.9 branch as it wasn't considered ready yet, 2.9 is therefore safe to upgrade to as changes are very minimal from the previous 2.8.2 version
2016-10-21 11:45:11 +02:00
Kevin Ansfield
02bc150e6d deps: ember-mocha@0.9.1 2016-10-07 17:32:30 +01:00
Kevin Ansfield
ef0c7a2bf3 deps: ember@2.8.2 2016-10-07 17:32:30 +01:00
Kevin Ansfield
3b466973f7 deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
Greenkeeper
8ff5b3de45 Update ember-cli to version 2.7.0 🚀 (#148)
* chore(package): update ember-cli to version 2.7.0

https://greenkeeper.io/

* update app from ember-cli blueprint

* deps: ember-cli-test-loader@1.1.0
2016-07-31 20:47:19 +01:00
Kevin Ansfield
861d79299f convert bower deps to npm deps
no issue
- convert moment + moment-timezone to npm dependencies
- convert password-generator to npm dependency
- convert keymaster.js to npm dependency
- convert blueimp-md5 to npm dependency
2016-06-29 11:52:10 +01:00
Kevin Ansfield
8192d6fd64 deps: jquery-deparam@0.5.2 as npm module 2016-06-29 11:28:53 +01:00
Kevin Ansfield
1650069bcb deps: codemirror@5.16.0 as npm module 2016-06-29 11:28:53 +01:00
Kevin Ansfield
0dccda345e deps: ember-cli-shims@0.1.3 2016-06-29 11:28:53 +01:00
Kevin Ansfield
e3167c9afd deps: ember@2.6.1
no issue
- bugfix release: https://github.com/emberjs/ember.js/releases/tag/v2.6.1
2016-06-29 11:28:53 +01:00
Kevin Ansfield
12cda07e94 deps: ember@2.6.0
no issue
- bugfix & cleanup release https://github.com/emberjs/ember.js/releases/tag/v2.6.0
- fix tests that were relying on not having the `rootURL` prefixed in `href`s
2016-06-09 16:58:09 +01:00
Aileen Nowak
24e71ffdaa Timezones: Always use the timezone of blog setting
closes TryGhost/Ghost#6406

follow-up PR of #2

- adds a `timeZone` Service to provide the offset (=timezone reg. moment-timezone) of the users blog settings
- `gh-datetime-input` will read the offset of the timezone now and adjust the `publishedAt` date with it. This is the date which will be shown in the PSM 'Publish Date' field. When the user writes a new date/time, the offset is considered and will be deducted again before saving it to the model. This way, we always work with a UTC publish date except for this input field.
- gets `availableTimezones` from `configuration/timezones` API endpoint
- adds a `moment-utc` transform on all date attr (`createdAt`, `updatedAt`, `publishedAt`, `unsubscribedAt` and `lastLogin`) to only work with UTC times on serverside
- when switching the timezone in the select box, the user will be shown the local time of the selected timezone
- `createdAt`-property in `gh-user-invited` returns now `moment(createdAt).fromNow()` as `createdAt` is a moment date already
- added clock service to show actual time ticking below select box
- default timezone is '(GMT) Greenwich Mean Time : Dublin, Edinburgh, London'
- if no timezone is saved in the settings yet, the default value will be used
- shows the local time in 'Publish Date'  in PSM by default, until user overwrites it
- adds dependency `moment-timezone 0.5.4` to `bower.json`

---------

**Tests:**

- sets except for clock service in test env
- adds fixtures to mirage
- adds `service.ajax` and `service:ghostPaths` to navigation-test.js
- adds unit test for `gh-format-timeago` helper
- updates acceptance test `general-setting`
- adds acceptance test for `editor`
- adds integration tests for `services/config` and `services/time-zone`

---------

**Todos:**

- [ ] Integration tests: ~~`services/config`~~, ~~`services/time-zone`~~, `components/gh-datetime-input`
- [x] Acceptance test: `editor`
- [ ] Unit tests: `utils/date-formatting`
- [ ] write issue for renaming date properties (e. g. `createdAt` to `createdAtUTC`) and translate those for server side with serializers
2016-06-03 16:23:39 +02:00
Kevin Ansfield
8c58424bfe deps: pretender@1.1.0 2016-06-01 12:26:56 +01:00
Kevin Ansfield
1fd0981f3b deps: moment@2.13.0 2016-06-01 12:21:57 +01:00
Kevin Ansfield
20989bcf57 deps: jquery-file-upload@9.12.3 2016-06-01 12:15:00 +01:00
Kevin Ansfield
e1d5dfa971 deps: google-caja@6005.0.0 2016-06-01 12:02:00 +01:00
Kevin Ansfield
c56f22122f deps: codemirror@5.15.2 2016-06-01 11:50:18 +01:00
Austin Burdine
0017a5ace9 deps: ember@2.5.1
- removes Ember.merge deprecation
2016-04-28 07:15:15 -05:00
Austin Burdine
4a5c7d953e lock jquery-deparam version 2016-04-20 06:18:47 -05:00
Austin Burdine
692d3afc39 deps: password-generator@2.0.2 2016-04-20 06:17:44 -05:00
Austin Burdine
2cbe3546be allow ember to specify jQuery version
- fix slight acceptance test bug
2016-04-19 14:08:36 -05:00
Austin Burdine
e07a3f4145 deps: ember@2.5.0 2016-04-15 00:24:57 -05:00
Kevin Ansfield
7d558f4596 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
832bf0007b 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
e7c7696872 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
7747ce988e deps: remove unused es5-shim bower dependency 2016-04-08 15:34:21 +01:00
Kevin Ansfield
c896c73fe2 deps: codemirror@5.13.2
no issue
- https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md#520-2015-04-20
2016-04-08 15:30:50 +01:00
Kevin Ansfield
e62612832c deps: blueimp-md5@2.3.0
no issue
- https://github.com/blueimp/JavaScript-MD5/compare/1.1.0...v2.3.0
2016-04-08 15:28:30 +01:00
Austin Burdine
99e8869105 deps: ember@2.4.4 2016-04-03 19:01:36 -05:00
Jason Williams
23d630bdc7 Merge pull request #6663 from kevinansfield/fix-xregexp-issues
Drop XRegExp dependency
2016-03-31 10:06:47 -05:00
Kevin Ansfield
adaf15d830 deps: ember-cli@2.4.3
no issue
- https://github.com/ember-cli/ember-cli/releases/tag/v2.4.3
2016-03-31 10:13:15 +01:00
Kevin Ansfield
ed1d6c98b3 Drop XRegExp dependency
closes #6102
- removes the `xregexp` dependency
- pulls in the non-alphnumeric unicode list directly from the XRegExp library to ensure the word count helper still takes into account unicode strings

The XRegExp dependency was breaking as new browsers add more es6 support as evidenced in #6102. Upgrading to version 3.1.0 fixed the Chrome "experimental JS" issue but was still broken in Safari Technology Preview.

We only use one feature of `XRegExp` in a single place for a relatively non-critical feature: calculating the word count. As such I figured it may be better to drop the 63KB minified dependency and simply copy the result of the compiled regex directly until such time as XRegExp has native support in our supported browsers.
2016-03-30 19:45:20 +01:00
Kevin Ansfield
0ca160bfde deps: ember-sinon@0.5.0
no issue
- pulls sinon.js from NPM instead of bower - https://github.com/csantero/ember-sinon/releases/tag/v0.5.0
- only dependency updates and ember-cli changes - https://github.com/csantero/ember-sinon/compare/v0.3.0...v0.5.0
2016-03-29 13:03:59 +01:00
Kevin Ansfield
c7ea692393 Remove jquery-hammerjs bower dependency
no issue
- removes `jquery-hammerjs` as it doesn't appear to be used anywhere and isn't included in the build by ember-cli
2016-03-24 10:04:52 +00:00
Kevin Ansfield
fb4900086c deps: ember@2.4.3
no issue
- https://github.com/emberjs/ember.js/releases/tag/v2.4.2
- https://github.com/emberjs/ember.js/releases/tag/v2.4.3
2016-03-21 14:10:18 +00:00
Kevin Ansfield
a8c9bff9d0 deps: ember@2.4.1 2016-03-01 12:49:43 +00:00
Austin Burdine
cec22372a9 deps: ember-cli@2.3.0 2016-02-16 12:32:48 -06:00
Kevin Ansfield
3e57af2118 deps: ember@2.3.1
no issue

Bugfix release: https://github.com/emberjs/ember.js/releases/tag/v2.3.1
2016-02-05 11:16:49 +00:00
Kevin Ansfield
7fcb10674f deps: ember-cli-mocha@0.10.0 2016-02-04 10:53:01 +00:00
Kevin Ansfield
407bca6447 deps: ember@2.3.0
no issue
- predominantly a bugfix and performance related release
- https://github.com/emberjs/ember.js/releases/tag/v2.3.0
- http://emberjs.com/blog/2016/01/15/ember-2-3-released.html
- some deprecations are introduced around the use of injected `container` objects, these are from `ember-simple-auth` and should be rectified with an up-coming release
2016-01-20 13:16:15 +00:00
Kevin Ansfield
d52989c982 deps: ember-data@2.3.2
no issue
- updates ember-data dependency and switches to direct es6 module import instead of destructuring assignment
- fixes issue with `authenticationFailed` action being called before transitions have finished
2016-01-19 14:36:39 +00:00
Austin Burdine
9069034e95 deps: ember@2.2.1 2016-01-16 10:35:56 -06:00
Kevin Ansfield
6bbb749e65 deps: ember-mocha@0.8.6 2016-01-13 11:29:59 +00:00
Austin Burdine
46786e7065 deps: ember/ember-data@2.2.0 2015-11-30 12:23:47 -06:00
Austin Burdine
77a44907a9 deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00