1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

2617 commits

Author SHA1 Message Date
Austin Burdine
5fdafec503 Merge pull request #59 from TryGhost/greenkeeper-ember-cli-2.6.1
Update ember-cli to version 2.6.1 🚀
2016-06-11 07:16:06 -06:00
greenkeeperio-bot
ae2f7ec39d chore(package): update ember-cli to version 2.6.1
https://greenkeeper.io/
2016-06-11 10:38:22 +01:00
Kevin Ansfield
a946112757 Merge pull request #53 from TryGhost/greenkeeper-loader.js-4.0.8
Update loader.js to version 4.0.8 🚀
2016-06-10 11:00:40 +01:00
greenkeeperio-bot
29f7d2938a chore(package): update loader.js to version 4.0.8
https://greenkeeper.io/
2016-06-10 10:18:14 +01:00
Kevin Ansfield
6e401a0371 Merge pull request #54 from TryGhost/greenkeeper-ember-route-action-helper-0.3.2
Update ember-route-action-helper to version 0.3.2 🚀
2016-06-10 10:17:59 +01:00
greenkeeperio-bot
4ab0ec2ab8 chore(package): update ember-route-action-helper to version 0.3.2
https://greenkeeper.io/
2016-06-10 10:04:29 +01:00
Kevin Ansfield
f79c147bc6 Merge pull request #56 from TryGhost/greenkeeper-ember-cli-2.6.0
Update ember-cli to version 2.6.0 🚀
2016-06-10 10:04:14 +01:00
greenkeeperio-bot
0137269b97 chore(package): update ember-cli to version 2.6.0
https://greenkeeper.io/
2016-06-10 09:41:13 +01:00
Kevin Ansfield
855e106fee Merge pull request #55 from ErisDS/labs-subscribe
Labs Subscribers option clearer & with docs link
2016-06-10 09:20:26 +01:00
Hannah Wolfe
26b24d94bb Labs Subscribers option clearer & with docs link
no issue

- changes wording to not indicate that we already send emails
- adds link to documentation
2016-06-10 08:51:44 +01:00
Austin Burdine
3c7d8a8f2d Merge pull request #52 from kevinansfield/deps-ember
deps: ember@2.6.0
2016-06-09 10:39:05 -06:00
Kevin Ansfield
2c7d5a97c2 Merge pull request #50 from TryGhost/greenkeeper-ember-data-2.6.0
Update ember-data to version 2.6.0 🚀
2016-06-09 17:12:28 +01:00
Kevin Ansfield
1d5e410fdd 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
Austin Burdine
4bbb2c6eea Merge pull request #47 from kevinansfield/rename-tz-offset
Rename "offset" to "blogTimezone"
2016-06-09 09:35:49 -06:00
Kevin Ansfield
15b4690650 Merge pull request #49 from acburdine/readme-update
add travis build status to readme
2016-06-09 11:40:43 +01:00
greenkeeperio-bot
8543e08d5d chore(package): update ember-data to version 2.6.0
https://greenkeeper.io/
2016-06-08 22:23:54 +01:00
Austin Burdine
d46a91d063 add travis build status to readme 2016-06-08 14:35:38 -06:00
Austin Burdine
4f64a47bba Merge pull request #48 from TryGhost/greenkeeper-ember-wormhole-0.4.0
Update ember-wormhole to version 0.4.0 🚀
2016-06-08 14:08:47 -06:00
greenkeeperio-bot
5cb3018e68 chore(package): update ember-wormhole to version 0.4.0
https://greenkeeper.io/
2016-06-08 20:41:37 +01:00
Kevin Ansfield
af1f383ff8 Rename "offset" to "blogTimezone"
refs https://github.com/TryGhost/Ghost/pull/6941#issuecomment-224553575
- `blogTimezone` and `timezone` better reflect their values (a string representing a timezone in the format `Europe/Dublin`) than `offset` which suggests a fixed value
2016-06-08 12:09:19 +01:00
Austin Burdine
4d0546b2d7 Merge pull request #16 from TryGhost/deps-ember-ajax
deps: ember-ajax@2.4.1
2016-06-06 09:39:18 -06:00
Kevin Ansfield
bf8c05a990 deps: ember-ajax@2.4.1
no issue
- update ember-ajax
- update error handling to match recommended approach
- update error normalization for handling a returned array of strings
2016-06-06 11:54:15 +01:00
Kevin Ansfield
4b3bc50b04 Version bump to 0.9.0-beta1 2016-06-06 10:21:16 +01:00
Kevin Ansfield
504ebe7d1c Merge pull request #43 from TryGhost/greenkeeper-ember-one-way-controls-0.8.2
Update ember-one-way-controls to version 0.8.2 🚀
2016-06-04 14:33:33 +01:00
greenkeeperio-bot
381dbcb7c7 chore(package): update ember-one-way-controls to version 0.8.2
https://greenkeeper.io/
2016-06-04 13:57:12 +01:00
Austin Burdine
643679500a Merge pull request #42 from TryGhost/greenkeeper-ember-one-way-controls-0.8.1
Update ember-one-way-controls to version 0.8.1 🚀
2016-06-04 03:30:22 -06:00
greenkeeperio-bot
319246d48e chore(package): update ember-one-way-controls to version 0.8.1
https://greenkeeper.io/
2016-06-04 10:05:55 +01:00
Hannah Wolfe
51ad4a336f Merge pull request #40 from kevinansfield/package-json
Update package.json details, rename module to `ghost-admin`
2016-06-03 17:39:30 +01:00
Kevin Ansfield
604fda4348 Update package.json details, rename module to ghost-admin
no issue
- updates `package.json` details to better reflect the separation from the `Ghost` package
- update ember config and all import statements to reflect the new `ghost-admin` module name in `package.json`
2016-06-03 16:12:54 +01:00
Kevin Ansfield
97df819d98 Merge pull request #29 from AileenCGN/timezones-finish-up
Always use the timezone of blog setting
2016-06-03 15:32:35 +01:00
Aileen Nowak
be8b31ec85 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
Hannah Wolfe
f0af686c6d Merge pull request #39 from kevinansfield/version-header-fixes
Minor version header fixes
2016-06-03 15:16:33 +01:00
Kevin Ansfield
fd25213b37 Minor version header fixes
refs #38
- use same version regex as `safeVersion` does on the server
- remove errant `console.log` from store service test
2016-06-03 14:47:47 +01:00
Austin Burdine
0e9ba345ea Merge pull request #38 from kevinansfield/version-header
Add version header to API requests
2016-06-03 05:09:18 -06:00
Kevin Ansfield
c559bbe572 Add version header to API requests
no issue
- modifies the version info included in `env.APP.version` to only include the `major.minor` version numbers
- update base adapter to include `X-Ghost-Version` header
- update `ajax` service to include `X-Ghost-Version` header
2016-06-03 11:53:29 +01:00
Austin Burdine
cf41515c94 Merge pull request #33 from kevinansfield/bower-deps
Bower dependency updates
2016-06-02 21:34:56 -06:00
Hannah Wolfe
4fe39fb2da Merge pull request #36 from kevinansfield/linting
Add Gruntfile.js, setup linting task and Travis build
2016-06-02 17:32:44 +01:00
Kevin Ansfield
b8dc8c698f Add Gruntfile.js, setup linting task and Travis build
refs #23
- add `grunt lint`
- add lint build to Travis matrix
2016-06-02 17:19:30 +01:00
Kevin Ansfield
4f8c4fbd7d Merge pull request #35 from TryGhost/greenkeeper-ember-wormhole-0.3.6
Update ember-wormhole to version 0.3.6 🚀
2016-06-02 16:55:24 +01:00
greenkeeperio-bot
450e49e33c chore(package): update ember-wormhole to version 0.3.6
https://greenkeeper.io/
2016-06-02 16:36:38 +01:00
Kevin Ansfield
c1613fc13b deps: pretender@1.1.0 2016-06-01 12:26:56 +01:00
Kevin Ansfield
8511eb3a15 deps: moment@2.13.0 2016-06-01 12:21:57 +01:00
Kevin Ansfield
b1f4daef2c deps: jquery-file-upload@9.12.3 2016-06-01 12:15:00 +01:00
Kevin Ansfield
49475aea4c deps: google-caja@6005.0.0 2016-06-01 12:02:00 +01:00
Kevin Ansfield
594bd0c980 deps: codemirror@5.15.2 2016-06-01 11:50:18 +01:00
Kevin Ansfield
9c724846a0 Merge pull request #31 from TryGhost/greenkeeper-ember-power-select-0.10.10
Update ember-power-select to version 0.10.10 🚀
2016-05-31 15:38:51 +01:00
greenkeeperio-bot
ad2fd28053 chore(package): update ember-power-select to version 0.10.10
https://greenkeeper.io/
2016-05-31 15:28:59 +01:00
Hannah Wolfe
5cec40ff07 Merge pull request #27 from kevinansfield/improve-file-upload-tests
Improve uploader tests + test subscribers CSV import
2016-05-27 19:29:07 +01:00
Kevin Ansfield
3ce26bc347
Improve uploader tests + test subscribers CSV import
no issue
- override `x-file-input` in `gh-file-input` to look for a custom property on the change event if we are in testing mode (this is necessary because Ember 2.5+ use native rather than jQuery events so `target.files` is readonly, see https://github.com/emberjs/ember.js/issues/13540)
- migrate unit tests for the uploader components to the integration tests
- add skipped acceptance tests for the subscribers CSV import now that it's possible to simulate file uploads
2016-05-27 13:34:31 +01:00
Hannah Wolfe
c8afbc51a0 Merge pull request #26 from kevinansfield/remove-search-outline
Remove outline from search input
2016-05-25 18:20:49 +01:00