Commit Graph

5940 Commits

Author SHA1 Message Date
renovate[bot]
7254e805a6 Update dependency grunt to v1.3.0 (#1682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 08:52:04 +01:00
Umur Dinçer
2051b65e51 🐛 Fixed missing start date in members chart (#1644)
closes https://github.com/TryGhost/Ghost/issues/12014

- `startDateLabel` was never populated after refactoring the members chart to use the members stats service
- use the first date that's returned as part of the members stats days array so that we can account for any potential time period being selected

Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
2020-09-22 08:51:29 +01:00
Paul Davis
8062fa8994 Added margin to bottom of Admin when installed as PWA on newer iOS devices (#1667)
no issue

On newer iOS devices with no home button, we have this bar at the bottom of the screen instead. When installed as a PWA, the mobile nav sits under that bar. I'm unsure how much Ghost is used this way, but this is a small QOL improvement for those who do.

This PR uses the native `env` CSS custom properties Safari has to add a propriety amount of `padding-bottom` to the mobile nav bar, and also the global container to prevent anything in the iframe from being hidden by the taller nav bar. If the device does not support these `env` vars, is has no adverse affect. In order for this to work, the `<meta name="viewport" />` tag needs `viewport-fit=cover` added to it.

MDN docs for reference: https://developer.mozilla.org/en-US/docs/Web/CSS/env
2020-09-22 07:43:17 +01:00
Kukhyeon Heo
c38ca94683 🐛 Fixed Ctrl/Cmd+S triggering browser save when tags or authors input has focus (#1707)
closes https://github.com/TryGhost/Ghost/issues/11786

`GhTokenInput` uses `PowerSelect` component of `ember-power-select` internally in `app/components/gh-token-input/select-multiple`. 

When you open that component, [you can find](d36f38f39e/addon/components/power-select.ts (L262-L278)) that it calls `stopImmediatePropagation` when ctrl/cmd or meta key is down.

```js
  handleTriggerKeydown(e: KeyboardEvent) {
    if (this.args.onKeydown && this.args.onKeydown(this.storedAPI, e) === false) {
      e.stopImmediatePropagation();
      return;
    }
    if (e.ctrlKey || e.metaKey) {
      e.stopImmediatePropagation();
      return;
    }
    if ((e.keyCode >= 48 && e.keyCode <= 90) || isNumpadKeyEvent(e)) { // Keys 0-9, a-z or numpad keys
      (this.triggerTypingTask as unknown as Performable).perform(e);
    } else if (e.keyCode === 32) {  // Space
      this._handleKeySpace(this.storedAPI, e);
    } else {
      return this._routeKeydown(this.storedAPI, e);
    }
  }
```

Because of that, I had to dispatch event directly to the root of the Ghost admin app.
2020-09-21 18:14:57 +01:00
Kevin Ansfield
c4ca317fb2 Switched from uglify to terser
refs https://github.com/TryGhost/Ghost-Admin/pull/1701

- swap `ember-cli-uglify` for `ember-cli-terser` to match ember-cli 3.21.1's generated package.json
- swap `broccoli-uglify-sourcemap` for `broccoli-terser-sourcemap` used manually in our production builds to keep dependencies the same across custom and built-in build artefacts
2020-09-21 17:13:00 +01:00
Kevin Ansfield
9a7093231b Lock file maintenance 2020-09-21 16:25:16 +01:00
Fabien 'egg' O'Carroll
213434c389 Updated magic link expiry information to 4 hours (#1715)
no-issue

Since https://github.com/TryGhost/Ghost/pull/12218 magic links now have
an expiry of 4 hours.
2020-09-21 16:08:10 +01:00
renovate[bot]
bc9fbbd06a Update dependency postcss-custom-properties to v9.2.0 (#1712)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 07:57:24 +01:00
renovate[bot]
429b3eca8b Update dependency markdown-it to v11.0.1 (#1706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 07:56:41 +01:00
renovate[bot]
a4a39d286d Update dependency ember-modifier to v2.1.1 (#1711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 07:56:07 +01:00
renovate[bot]
37a66dd405 Update dependency @glimmer/component to v1.0.2 (#1713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 07:55:42 +01:00
renovate[bot]
f885a88cd9 Update dependency ember-classic-decorator to v2 (#1709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 07:54:36 +01:00
Rish
ede24fec24 Moved Portal settings behind dedicated flag
no issue
depends on https://github.com/TryGhost/Ghost/pull/12211

- Other than dev flag, the Portal is now also enabled behind a dedicated `portal` flag
- Shows/hides Portal settings based on dev or Portal flag
2020-09-17 19:50:41 +05:30
Peter Zimon
6dc0489b7b Updated Portal icons
no refs.

- updated Portal icons so that it matches the one on members.js
2020-09-16 16:04:38 +02:00
Sanne de Vries
710d6178c1 Added message box on Staff user page that indicates user is locked, and improved boxes naming and styling 2020-09-16 15:37:33 +02:00
Peter Zimon
fc3d83e869 Fixed date format in member Stripe details
no refs.
2020-09-15 07:33:58 +02:00
Daniel Lockyer
8ab33e2958 v3.33.0 2020-09-14 12:39:47 +01:00
Sanne de Vries
3c6923989e Changed locked state badge into lock icon and clarified its meaning with tooltip on hover. This commit builds on top of PR #1668 2020-09-14 12:34:18 +02:00
Renovate Bot
1cbe47aadd Update dependency eslint to v7.9.0 2020-09-14 00:04:31 +00:00
Daniel Lockyer
39a0f447f9 v3.32.2 2020-09-10 16:55:17 +01:00
Daniel Lockyer
aa8351e05f Added updated lockfile 2020-09-10 16:46:30 +01:00
Kevin Ansfield
3e83675175 🐛 Fix author/tag management in post settings menu (dependency revert)
closes https://github.com/TryGhost/Ghost/issues/12198

- Revert "Switched from uglify to terser" (commit e5b4960170)
- Revert "Update dependency ember-cli to v3.21.1 (commit 7e64683836)"
- Revert "Update ember core (commit 9866a840c6)"
2020-09-10 16:01:51 +01:00
Kevin Ansfield
e5b4960170 Switched from uglify to terser
refs https://github.com/TryGhost/Ghost-Admin/pull/1701

- swap `ember-cli-uglify` for `ember-cli-terser` to match ember-cli 3.21.1's generated package.json
- swap `broccoli-uglify-sourcemap` for `broccoli-terser-sourcemap` used manually in our production builds to keep dependencies the same across custom and built-in build artefacts
2020-09-09 17:22:23 +01:00
renovate[bot]
27c0ea0635 Update dependency ember-concurrency to v1.3.0 (#1700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 17:09:12 +01:00
renovate[bot]
7e64683836 Update dependency ember-cli to v3.21.1 (#1701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 17:08:53 +01:00
Sanne de Vries
6a7745c9a8 Adjusted dark mode styling of top menu dropdowns on the members page for consistency 2020-09-08 17:56:50 +02:00
renovate[bot]
af1462e66f Update dependency ember-power-select to v4.0.4 (#1699)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 23:09:52 +01:00
Kevin Ansfield
d8a93d00fc Update dependency broccoli-uglify-sourcemap to v4
refs 51d44c76d8, fe30958a19

- re-applying dependency update with required changes to application code
2020-09-07 14:42:53 +01:00
Daniel Lockyer
1f789f8742 Added production build test to CI
- we recently had an issue where a dependency update broke the
  release process because it was building in production mode, but our CI
  never ran in this mode and we missed it
- this commit adds a test to run in prod mode so hopefully we catch it
  next time
2020-09-07 12:47:10 +01:00
Daniel Lockyer
1713375adb v3.32.1 2020-09-07 12:06:05 +01:00
Daniel Lockyer
fe30958a19 Revert "Update dependency broccoli-uglify-sourcemap to v4 (#1697)"
- this reverts commit 51d44c76d8.
- fixes the build when running in production mode
2020-09-07 12:03:43 +01:00
Daniel Lockyer
661578bf26 v3.32.0 2020-09-07 11:54:59 +01:00
renovate[bot]
c1a9021d74 Update dependency blueimp-md5 to v2.18.0 (#1698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 09:32:59 +01:00
renovate[bot]
51d44c76d8 Update dependency broccoli-uglify-sourcemap to v4 (#1697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 09:32:30 +01:00
Sanne de Vries
7898e22e82 Removed white background and border in code editor in dark mode 2020-09-04 22:17:43 +02:00
Sanne de Vries
5cbd9f0f78 Adjusted code injection fields in settings to dark mode 2020-09-04 21:41:19 +02:00
Peter Zimon
ed1433b809 Added logic to custom portal icon delete
no refs.
- fixed issue that users can't reselect custom icon in portal by making the delete button only visible when the custom icon is selected
2020-09-04 16:10:46 +02:00
Peter Zimon
d65195aba4 Portal custom icon style refinement
no refs.
- refined delete icon style for portal
- refined icon sizes
2020-09-04 15:59:13 +02:00
Sanne de Vries
11699d5172 Fixed transparent background pattern for blog logo and icon in dark mode 2020-09-04 15:25:32 +02:00
Sanne de Vries
0b27a366ff Adjusted styling for user role badges in light and dark mode for improved consistency 2020-09-04 15:25:32 +02:00
Daniel Lockyer
a8ce77b1f7 Removed warning banner for mobile/tablet devices
closes https://github.com/TryGhost/Team/issues/347

- removes the warning banner directing users to use Ghost Desktop/a
  desktop browser because users are happy with the experience of editing
  on mobile/tablets
2020-09-03 17:55:45 +01:00
Daniel Lockyer
47f428b9af Removed suggestion to use Ghost-Desktop
- Ghost-Desktop is now deprecated and so we shouldn't suggest it to
  users
2020-09-03 13:16:44 +01:00
renovate[bot]
84e0dd033f Lock file maintenance (#1694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 12:22:40 +01:00
renovate[bot]
9866a840c6 Update ember core (#1674)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 12:09:58 +01:00
renovate[bot]
701ac2594f Update dependency ember-test-selectors to v5 (#1696)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 10:54:42 +01:00
renovate[bot]
6e380fdeaf Update dependency ember-composable-helpers to v4.3.0 (#1695)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 10:54:03 +01:00
renovate[bot]
07fc861480 Update dependency @ember/optional-features to v2 (#1692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 10:53:03 +01:00
renovate[bot]
ba81055ca5 Update dependency faker to v5.1.0 (#1691)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 10:52:34 +01:00
renovate[bot]
083d4dcff5 Update dependency papaparse to v5.3.0 (#1690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 10:51:34 +01:00
Peter Zimon
4ec6aa3d3e Success button fixes in member email settings
no refs.
- fixed checkmark being too small on support or newsletter success button
- fixed case style for success button
2020-09-02 20:45:52 +02:00