Commit Graph

5348 Commits

Author SHA1 Message Date
Renovate Bot
3ecdda8cf0 Update dependency @tryghost/helpers to v1.1.25 2020-04-03 08:17:15 +00:00
renovate[bot]
bb6474ba99 Update dependency broccoli-merge-trees to v4.2.0 (#1539)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 09:36:31 +01:00
Renovate Bot
fc67b60999 Update dependency ember-fetch to v8.0.1 2020-03-30 21:56:13 +00:00
renovate[bot]
b51a427ed9 Update dependency ember-fetch to v8 (#1538)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-30 10:58:05 +01:00
renovate[bot]
b8e75b9eb4 Update dependency ember-fetch to v7.1.0 (#1537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-30 10:05:43 +01:00
renovate[bot]
d78c2a87df Update dependency ember-cli-babel to v7.19.0 (#1536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-30 10:05:13 +01:00
renovate[bot]
33d30494f7 Update dependency blueimp-md5 to v2.13.0 (#1534)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-30 10:03:12 +01:00
Renovate Bot
fd62d82b00 Update dependency ember-concurrency to v1.1.7 2020-03-30 00:16:52 +00:00
Renovate Bot
f875d9de72 Update dependency reframe.js to v2.2.8 2020-03-27 07:40:28 +00:00
Renovate Bot
147abf61fb Update dependency @tryghost/timezone-data to v0.2.21 2020-03-27 00:43:12 +00:00
Renovate Bot
2ccd8adc1e Update dependency @tryghost/helpers to v1.1.24 2020-03-26 23:16:48 +00:00
Renovate Bot
75af61c4e7 Update dependency @tryghost/string to v0.1.7 2020-03-26 21:31:02 +00:00
Daniel Lockyer
13352fd542 Version bump to 3.12.1 2020-03-26 14:29:11 +00:00
Kevin Ansfield
6f5c2a9557 Switched to explicit mobiledoc version for new posts
no issue

- when the mobiledoc spec changes due to a mobiledoc-kit version bump, any posts created with that version will fail to load in the editor if a rollback to an earlier Ghost version occurs
- use an explicit version to avoid the problem - we should only be bumping the mobiledoc spec version if we start using features from that version and mark it as a breaking change
2020-03-26 14:27:41 +00:00
Kevin Ansfield
6497f5b7e3 Reverted ember-source to 3.16.1
closes https://github.com/TryGhost/Ghost/issues/11685

- `ember-source` 3.17.x has an incompatibility with `ember-power-select`
    - see https://github.com/cibernox/ember-power-select/issues/1338
- add `ember-source` to renovate ignore list to avoid unintentional bumps
2020-03-26 14:23:06 +00:00
Daniel Lockyer
f513f39340 Enabled CI on Renovate branches
no issue
2020-03-26 09:46:05 +00:00
renovate[bot]
46ffc15544 Update dependency ember-cli-postcss to v6 (#1531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-26 09:18:48 +00:00
Daniel Lockyer
7039ff0f69 Fixed trailing comma
no issue
2020-03-26 07:53:49 +00:00
Daniel Lockyer
67aeaff83f Updated Renovate config with latest presets
no issue
2020-03-26 07:53:26 +00:00
Renovate Bot
a1d9fbec38 Update dependency @tryghost/kg-parser-plugins to v0.9.2 2020-03-25 21:15:38 +00:00
Daniel Lockyer
6b0218e5cb Configured Renovate to automerge patches from branches
no issue
2020-03-25 20:50:30 +00:00
Renovate Bot
59e5dd9ad6 Update dependency @tryghost/kg-clean-basic-html to v0.1.7 2020-03-25 20:15:44 +00:00
Daniel Lockyer
497279b173 Removed Travis maintenance option from Renovate
no issue

- we no longer use Travis
2020-03-25 15:38:54 +00:00
Renovate Bot
8ec1bf5027 Update dependency @tryghost/kg-parser-plugins to v0.9.1 2020-03-25 15:17:01 +00:00
Renovate Bot
7df7125e26 Update dependency @tryghost/kg-clean-basic-html to v0.1.6 2020-03-25 14:19:41 +00:00
Renovate Bot
888d1ffa48 Update dependency autoprefixer to v9.7.5 2020-03-24 01:15:54 +00:00
Renovate Bot
62ce47772b Update dependency ember-source to v3.17.1 2020-03-23 13:18:23 +00:00
Daniel Lockyer
335513c3de Version bump to 3.12.0 2020-03-23 12:23:44 +00:00
Renovate Bot
ee62d58e19 Update dependency testem to v3.0.3 2020-03-23 08:16:54 +00:00
renovate[bot]
3be0258b5b Update dependency pretender to v3.4.0 (#1525)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-23 07:59:25 +00:00
renovate[bot]
4345b955b9 Update dependency fs-extra to v9 (#1524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-23 07:58:08 +00:00
Renovate Bot
1a95a7c52f Update dependency babel-eslint to v10.1.0 2020-03-19 15:17:47 +00:00
Peter Zimon
44e0376792 Fixed toaster content spacing
no issue
- fixed spacing for title, description and actions on toasters
2020-03-18 13:43:11 +01:00
Daniel Lockyer
49d0736d00 Renamed GitHub Actions workflow file
no issue
2020-03-17 12:49:49 +00:00
Renovate Bot
4887510c40 Update dependency grunt to v1.1.0 2020-03-17 07:11:41 +00:00
Kevin Ansfield
039e36c27e Lock file maintenance 2020-03-16 12:27:53 +00:00
renovate[bot]
5d2f59a62d Update dependency ember-source to v3.17.0 (#1519)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-16 12:24:47 +00:00
Renovate Bot
07e7f42628 Update dependency @tryghost/helpers to v1.1.23 2020-03-16 10:17:09 +00:00
Kevin Ansfield
102a7f735a Removed ember-source from Renovate ignore list
no issue

- 3.17.0 has been released which includes fix for infinite scroll addon bug
2020-03-16 09:27:41 +00:00
Kevin Ansfield
f0bf41a1f8 Update dependency @tryghost/mobiledoc-kit to v0.12.4-ghost.1
no issue

- includes fixes for html->mobiledoc conversion (used when copy/pasting from external sources)
  - fixes multiple spaces appearing in text content if source content is indented and has newlines
  - fixes crash if source content has `<li>` elements containing headers
  - fixes crash if source content has non-`<li>` top-level elements inside a list
  - fixes `blockquote>p` markup in source content losing blockquote styling
2020-03-16 09:27:41 +00:00
renovate[bot]
5d04a77dc5 Update ember core to v3.17.0 (#1518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-16 09:24:49 +00:00
Nazar Gargol
cfa766c4e4 Cleaned up use of members isPaid flag
refs https://github.com/TryGhost/Ghost/pull/11651

- The flag is being removed from the backend, so can be safely removed on client as well
2020-03-16 13:44:14 +08:00
Renovate Bot
e61c8642e7 Update dependency @tryghost/timezone-data to v0.2.20 2020-03-16 02:16:23 +00:00
Renovate Bot
eeb7fdd24a Update ember core 2020-03-16 01:17:41 +00:00
Renovate Bot
de13218691 Update dependency @tryghost/string to v0.1.6 2020-03-16 01:12:27 +00:00
Nazar Gargol
ecf718b028 🐛 Fixed complimentary plan currency change when yearly currency was changed
refs https://github.com/TryGhost/Ghost/issues/11649

- The bug was changing all complimentary plan prices to the value of yearly.
- This is another point to putting in place validation of plan setting object on the server side so we don't accidentally allow values like this to slip through
2020-03-13 11:59:18 +08:00
Fabien O'Carroll
da3f92fac4 Updated URL and response handling for identity token
no-issue

This just keeps the admin in line with the changes made in
https://github.com/TryGhost/Ghost/pull/11559/files
2020-03-12 13:35:57 +01:00
Daniel Lockyer
6cc70f8918 Version bump to 3.11.0 2020-03-10 13:02:54 +00:00
Nazar Gargol
c341cf4638 🐛 Fixed complimentary plan creation when there was none in plans collection
closes https://github.com/TryGhost/Ghost/issues/11649
closes https://github.com/TryGhost/Ghost/issues/11648

- When complimentary plan with new currency is created for the first time it doesn't have a reference to a previously default "Complimentary USD" plan which caused problems when switching currencies for the first time.
- Value for complimentary plan taken from  https://github.com/TryGhost/Ghost/blob/3.10.0/core/server/services/members/config.js#L8-L13
2020-03-10 13:39:38 +08:00
Daniel Lockyer
2a8ae8b17f Version bump to 3.10.0 2020-03-09 10:49:09 +00:00
renovate[bot]
448adc50e2 Update dependency ember-exam to v5 (#1512)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 10:00:12 +00:00
Kevin Ansfield
0df2a5da55 🐛 Fixed Ctrl+h and Ctrl+d breaking the editor when used on card boundaries in macOS
closes https://github.com/TryGhost/Ghost/issues/10240

- intercept known macOS content-modifying keyboard shortcuts and simulate the "normal" keyboard events that they map to
  - `ctrl+h`: `Backspace`
  - `ctrl+d`: `Delete`
2020-03-07 21:33:12 +00:00
Kevin Ansfield
98e0f66c59 🐛 Fixed scroll jump in editor when pasting a url onto a selection to create a link
closes https://github.com/TryGhost/Ghost/issues/10090

- when mobiledoc-kit replaces the selection the caret window selection is temporarily set to the whole editor element which was causing our scroll-cursor-into-view routine to scroll incorrectly
- adding the guard allows the first replacement cursor change to be ignored but the second cursor change to be picked up which will do nothing if the text is on-screen, or scroll if it's off screen as normal
2020-03-07 20:23:23 +00:00
Kevin Ansfield
f021badb9f 🐛 Fixed unreachable toolbar when editing wrapped links (#1511)
closes https://github.com/TryGhost/Ghost/issues/9792

- use `getClientRects()` to get separate rectangles for each line of a link and use the mouse position to find the closest one so that the toolbar can be positioned relative to that link section on that line rather than always in the middle of the editor canvas
- pass the rectangle used for positioning the link toolbar through to the link input component so that there is no jumping of position when clicking the edit button
2020-03-07 18:22:56 +00:00
Peter Zimon
7678c410f5 Updated suspended badge for staff list
Displaying the role of suspended staff users is misleading, giving the false impression that those users still have access to the publication.

no refs.
- updated label to "Suspended" for all suspended staff user
2020-03-05 12:12:09 +01:00
Peter Zimon
0b5b93376e Fixed arrow position bug on tags list
no refs.
- fixed size issue for arrow cell on tags list screen in Firefox
2020-03-05 11:36:35 +01:00
Daniel Lockyer
5e62f407cc Updated README with new CI badge
no issue
2020-03-04 15:24:03 +00:00
Daniel Lockyer
e65b4f06c5 Switched testing to GitHub Actions
no issue
2020-03-04 15:18:23 +00:00
Nazar Gargol
1c9a4399e0 Added support for setting custom currency on member's plans
refs c0512e30bb

- Adds a dropdown allowing to select and set custom currency.
- At the moment we don't have a specific way to interface with the members configuration API so all values are set directly on existing "config JSON". Ideally we should add more validations and be more precise what values can be set for the `stripeProcessor.config.*` values.
- Saves selected currency in `stripeProcessor.config.currency` variable.
2020-03-04 13:31:39 +08:00
renovate[bot]
86460ffef6 Update dependency element-resize-detector to v1.2.1 (#1469)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-03 14:51:51 +00:00
Daniel Lockyer
1857cf301a Version bump to 3.9.0 2020-03-02 12:02:24 +00:00
renovate[bot]
5023c59baf Update dependency ember-sinon to v5 (#1510)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 09:50:57 +00:00
Fabien O'Carroll
ee4c1fc927 Added billing route and iframe behind config
no-issue

* Updated the iframe src

* Moved billing behind config

* Transition to home route for missing billing config

* Replaced jquery element selection with native
2020-03-02 10:36:54 +05:30
Renovate Bot
e09c8b3b41 Update dependency ember-data to v3.16.2 2020-03-02 02:19:45 +00:00
Renovate Bot
5372cf80de Update dependency ember-concurrency to v1.1.6 2020-03-02 01:20:34 +00:00
Kevin Ansfield
5f9fbc47f2 Lock file maintenance 2020-02-27 15:36:29 +00:00
Peter Zimon
95fed28028 Refined members list mobile styles
no refs.
- fixed mobile styles for members list to comply with locaiton info
2020-02-27 16:32:32 +01:00
André Borud
377084a60d 🐛 Fixed redirect to posts list when deleting a page (#1486)
no issue

- success routine when deleting a post/page was not taking into consideration the type of record being deleted
  - deleting a post should keep previous behaviour of redirecting to posts list
  - deleting a page should redirect to the pages list
2020-02-27 15:19:31 +00:00
renovate[bot]
926fd8f01c Update dependency ember-simple-auth to v3 (#1496)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-27 15:15:02 +00:00
Kevin Ansfield
dfe0b6f810 Updated image card to trigger file browse immediately when inserting
no issue

- removes number of clicks required to insert images, especially when using the `/image` shortcut
- strips `triggerBrowse` property from the payload after inserting to avoid triggering file browse when a post with blank image cards is rendered/re-rendered
2020-02-27 14:38:53 +00:00
Peter Zimon
74b5327dbe Member geolocation design refinements
no refs.
- refined copy and styles for member list
- added geolocation data for member detail screen
2020-02-27 15:14:26 +01:00
Kevin Ansfield
de70ef1e25 Fixed template error 2020-02-27 13:00:57 +00:00
Kevin Ansfield
13a9a2802b Added member's geographic location to admin
no issue

- added `geolocation` attribute to member model with json-string transform
- prevent geolocation from being sent back to the API in member serializer
- add "Location" column to members list
  - if country is "US" then display "{State}, US" otherwise show full country name such as "United Kingdom"
  - displays "-" if no geolocation data has been collected for the member
2020-02-27 12:56:26 +00:00
Kevin Ansfield
b5d560750f Refactored <GhMemberAvatar> to glimmer component
no issue

- cleaned up property access in template to differentiate between passed-in args and component-defined properties
- tidied up logic in `backgroundStyle` and `initials` getters
2020-02-27 12:33:33 +00:00
Kevin Ansfield
ab8334dae2 Refactored <GhMembersListItem>
no issue

- switched to using a glimmer component
  - cleaned up property access in the template
  - used helpers for basic display logic in the template
- removed unused computed properties, aliases, and injected services
2020-02-27 12:17:48 +00:00
Peter Zimon
4b5f538552 Updated notifications design (#1498)
no issue

- updating toaster design for better discoverability
2020-02-27 09:19:29 +00:00
renovate[bot]
a4cb96a258 Update dependency ember-test-selectors to v4 (#1502)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-27 09:14:24 +00:00
renovate[bot]
cae8d9457e Update dependency postcss-custom-properties to v9.1.1 (#1501)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-27 09:14:12 +00:00
Naz
ff4fd2fc9a Added member impersonation (#1497)
refs b0ff1e7cac

- Adds "impersonate" button which would be triggering a popup window with "login url" that allows to log in as a member
2020-02-27 11:50:15 +08:00
Daniel Lockyer
4675fb911c Version bump to 3.8.0 2020-02-24 11:53:34 +00:00
Kevin Ansfield
2a2a207e14 🐛 Fixed infinite scroll on posts/pages lists in admin
closes https://github.com/TryGhost/Ghost/issues/11608

- reverts `ember-source` to a working version and temporarily blocks renovate from auto-updating
- ember-infinity issue https://github.com/ember-infinity/ember-infinity/issues/421
- related ember-source issue https://github.com/emberjs/ember.js/issues/18750
2020-02-24 11:28:25 +00:00
Nazar Gargol
ed14ffed02 Hidden subscriptions section on member profile when no connected Stripe
no issue

- There is no way to turn on "Complimentary" subscription when Stripe is not connected
- There is no constructiove information that can be shown about subscriptions
2020-02-24 17:08:47 +08:00
Rish
7f465278c6 Fixed lint
no issue
2020-02-24 13:39:59 +05:30
Rishabh Garg
fa577adcdb Updated send email messaging for Editors (#1505)
no issue

Fixes incorrect member count for Editors when trying to publish/schedule post with send email.

Note: This is a short-term fix till we fix fetching member data for Editors for proper count.
2020-02-24 13:22:39 +05:30
Rishabh Garg
491c5abdc9 Allowed editors to send email on publish (#1504)
no issue

So far, only owners or Admins were allowed to control the send email setting while publishing/scheduling a post. This change allows Editors to see the setting as well and toggle as needed.

No changes on the API side were needed.
2020-02-24 12:20:29 +08:00
Renovate Bot
d664cf45b5 Update dependency ember-source to v3.16.3 2020-02-24 02:19:52 +00:00
Renovate Bot
c560108750 Update dependency ember-cli-htmlbars to v4.2.3 2020-02-24 01:19:45 +00:00
Renovate Bot
2fba8c489d Update dependency broccoli-funnel to v3.0.2 2020-02-24 00:28:16 +00:00
Peter Zimon
b0b01acd03 Updated style definition for staff dropdowns
no refs.
- updated style for staff dropdown to make it generic for reuse
2020-02-21 10:20:08 +01:00
Nazar Gargol
13d9611b4c Enabled editing email field on member profile page
refs b9db9fa15e

- Now that Admin API allows to edit email, there is no reason to keep this field disabled
2020-02-21 16:12:35 +08:00
Daniel Lockyer
c0834ae221 Increased browser disconnect timeout to 30s
no issue

- browser tests would intermittently fail because they would hit the
  timeout limit
- this commit increases the limit to allow for more variability in the
  CI environment
2020-02-18 18:11:31 +00:00
Daniel Lockyer
e5f20d6b9e Version bump to 3.7.0 2020-02-18 12:23:18 +00:00
Renovate Bot
55b1bcdab1 Update dependency ember-fetch to v7.0.1 2020-02-17 02:16:47 +00:00
Renovate Bot
1198f251f6 Update dependency ember-composable-helpers to v3.1.1 2020-02-17 01:18:31 +00:00
renovate[bot]
3485e4f995 Lock file maintenance (#1487)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-14 12:33:27 +00:00
renovate[bot]
acfccdd2e8 Update ember core (#1485)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-14 12:26:14 +00:00
renovate[bot]
a3c9851526 Update dependency pretender to v3.3.1 (#1491)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-14 12:19:05 +00:00
renovate[bot]
198deea921 Update dependency ember-cli-babel to v7.18.0 (#1488)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-14 12:18:51 +00:00
Daniel Lockyer
b0119fcf98 Version bump to 3.6.0 2020-02-14 11:50:36 +00:00
Peter Zimon
64e4ea16e4 🐛 Fixed visual bug for members label dropdowns
no refs.
- fixed spacing issue for member label dropdown edit icon
- added max width to member label dropdown
2020-02-14 12:39:36 +01:00
Rishabh Garg
78e453c1b0 Fixed tests for labels (#1493)
no issue

- Updated member settings css property in tests
- Added mock for label API
2020-02-14 16:37:25 +05:30
Rishabh Garg
d115204d9f Added labels for Members (#1477)
no issue

refs TryGhost/Ghost#11538

* Added members label handling v1

* Added members label dropdown in list screen

* Updated selected labels and member list UI refactor

* Added v1 label add/delete modal

* Added add label modal v1

* Fixed disabled check for new label save

* First stab at member filters layout

* Updated member detail screen design

* Member detail refinements

* Added basic editing for member labels

* Fixed label deletion from members list

* Updated filtered list header

* Refinements for dropdown and empty filter state

* Refined label modal

* Updated member labels fetch logic

* Added custom dropdown component for labels

* Refined style for dropdown

* Refined dropdown button

* Restructure and refine members dropdown styles

* Added selected indication to dropdown

* Fixed dropdown footer style

* Removed member label placeholder

* Removed add label from member list actions

* New label refinements

* Added confirmation modal for label delete

* Added duplicate validation check for labels

* Updated validation check with slug

* Updated copy

* Updated actions dropdown copy

* Fixed visual glitch of dropdown on FF

* Hide scrollbar for labels dropdown

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2020-02-14 15:04:01 +05:30
Peter Zimon
a376219453 🐛 Fixed visual bugs on integration details screen
no refs.
- fixed misalignment of icon container and icon
- fixed icon color for "Copied" link status indication
2020-02-12 09:33:27 +01:00
Daniel Lockyer
ffb3a34ee7 Version bump to 3.5.2 2020-02-11 09:37:50 +00:00
Peter Zimon
441146d316 🐛 Style fix for custom views
no refs.
- fixed misalignment of expand button for site custom views
2020-02-10 16:05:57 +01:00
Daniel Lockyer
4225f414e0 Version bump to 3.5.1 2020-02-10 12:55:55 +00:00
Peter Zimon
4ce559a169 Updated staff delete modal copy 2020-02-10 12:41:35 +00:00
Peter Zimon
fc46a97b18 Updated copy 2020-02-10 12:41:35 +00:00
Peter Zimon
0382ea7336 Added note about site backup to delete popup 2020-02-10 12:41:35 +00:00
Kevin Ansfield
9186280ac9 updated to use new model._meta
- use model._meta to access the meta object in the delete response
- removed unused `_deleteUser` method
- move the success/failure method bodies into the main `deleteUser` task to improve readability
- added a timeout after calling `_exportDb()` so that the iframe is not removed from the DOM immediately after it's `src` value is set due to a transition away from the member screen
2020-02-10 12:41:35 +00:00
Kevin Ansfield
7bb24df7b9 Added hacky method for accessing meta value of single-record requests
no issue

- Ember Data does not support accessing meta data included in the response to single-record requests such as save/delete
- approach to allow it taken from https://github.com/emberjs/data/pull/4077#issuecomment-200780097
2020-02-10 12:41:35 +00:00
Nazar Gargol
f42f2a29a3 Rewrote delete into generator function
- Wasn't necessary, but thought this might fix the problem when there's no 'meta' in the reponse object
2020-02-10 12:41:35 +00:00
Nazar Gargol
70524c55a4 Basic flow for triggering db export on user deletion 2020-02-10 12:41:35 +00:00
Kevin Ansfield
8883a1e6f6 Lock file cleanup
no issue

- previous `yarn.lock` was missing some cleanup
2020-02-05 16:19:00 +00:00
Daniel Lockyer
32de94197f Version bump to 3.5.0 2020-02-05 11:42:31 +00:00
Nazar Gargol
21aaf7a46a Renamed members subscribed flag label
no issue

- This change comes to keep the name consistent to the naming used in the CSV import file - `subscribed_to_emails`
2020-02-04 13:27:51 +08:00
Peter Zimon
767ce72212 💄Added shadow to What's new footer
no refs.
- improved discoverability of having more content/scrollable area by adding a small shadow to the footer
2020-02-03 20:58:20 +01:00
Peter Zimon
1756180025 🐛 Fixed mobile style bug for sidebar views
no refs.
- fixed the size of the expand/collapse chevron in sidebar for mobile
2020-02-03 20:18:51 +01:00
Kevin Ansfield
a3c71b8ba8 Fixed query params not resetting when deleting a custom view
no issue

- added a `transitionTo` after deleting a custom view that transitions to the `posts` route with default query params
- refactored `reset-posts-query` helper to a more generic `reset-query-params` helper
  - moved default query params definitions to this helper and expose them so we have a single source of truth
  - exposed `resetQueryParams()` function from the helper for use outside of templates
  - adjust the function and helper behaviour to accept the route name as the first param so that `router.currentRouteName` can be used as a generic reset
2020-02-03 16:38:14 +00:00
Peter Zimon
2c137f0b38 Refined sidebar view icons
no refs.
- replaced icons for custom views for circles so it's more scannable
2020-02-03 14:45:18 +01:00
Kevin Ansfield
1adae0d041 Fixed missing default views when user.accessibility is null
no issue

- removed an old guard that was exiting early when `user.accessibility` was null which meant that the default views were never being inserted into the custom views list
2020-02-03 12:34:23 +00:00
Kevin Ansfield
7c205c1a55 Fixed "Authorization failed" errors during setup and signin
no issue

- the `custom-views` and `navigation` services would trigger their observers immediately when `this.session.user` changed but that would occur before authentication had fully finished which was resulting in the `this.session.user` access triggering a request with no cookie/an old cookie set and causing a 403 error that interrupted the setup and authentication flows
2020-02-03 12:27:18 +00:00
Kevin Ansfield
2226861e17 🐛 Fixed deletion of custom integrations
no issue

- the named arguments for the `<GhTaskButton>` in the integration deletion modal were missing the `@` prefix
2020-01-30 16:48:37 +00:00
Kevin Ansfield
2a77c0fe51 Added default and custom post views (filters) to the admin sidebar (#1474)
no issue

- list custom post views in collapsable sidebar navigation
  - default views: Draft, Scheduled, Published (except for contributors)
  - record expanded/collapsed state of the navigation menus in user settings via new `navigation` service
- adds `customViews` service that manages custom views
  - provides list of default views
  - gives access to "active" custom view based on current route and query params
  - manages loading/saving of custom views to user settings
- show "Add view" button in the content filter when the posts list has been filtered
- show "Edit view" button in the content filter when the posts list filter matches a saved view

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2020-01-30 15:35:36 +00:00
Kevin Ansfield
2b37f6aaae Version bump to 3.4.0 2020-01-28 17:23:42 +00:00
Naz Gargol
76c1341666 Added "Complimentary" plan toggle (#1476)
refs TryGhost/Ghost#11537

- Adds support for "Complimentary" plan toggle only when editing an existing member. The same functionality for adding a new member was left out intentionally for simplicity sake. 

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2020-01-28 11:27:19 +07:00
Kevin Ansfield
1e77a4c915 Removed <GhDownloadCount>
no issue

- the count.ghost.org service is being shut down
- replaced the fetch+poll component with a hardcoded figure
2020-01-27 09:51:45 +00:00
renovate[bot]
c8625d6a42 Update dependency @tryghost/kg-parser-plugins to v0.9.0 (#1483)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-27 09:27:28 +00:00
Renovate Bot
c815191d41 Update ember core 2020-01-27 04:16:57 +00:00
Renovate Bot
3472f332e3 Update dependency @tryghost/kg-clean-basic-html to v0.1.5 2020-01-27 03:16:30 +00:00
Renovate Bot
910250006f Update dependency @tryghost/timezone-data to v0.2.19 2020-01-27 02:16:55 +00:00
Renovate Bot
05bb69b7d9 Update dependency @tryghost/helpers to v1.1.22 2020-01-27 01:16:27 +00:00
Rish
32cceb8a54 Fixed members chart dropdown style
no issue

We switched to angle bracket syntax and some PowerSelect properties were not properly auto configured here which enabled search box on members chart range dropdown
2020-01-23 13:46:37 +05:30
Daniel Lockyer
ba6389aaf5 Added Node 10 testing to CI
no issue

- we want to test on all supported Node versions
2020-01-22 12:47:50 +07:00
Kevin Ansfield
1e46306129 Fixed linting 2020-01-21 17:48:54 +00:00
Kevin Ansfield
4b40346ff4 Cleaned up unused code in bookmark card
no issue

- the `willDestroyElement` hook is referencing event handlers that aren't used in the bookmark card
- stopped setting `type` in the card payload as it's not used anywhere (possible hangover from when bookmarks were a type of embed card)
2020-01-21 17:45:33 +00:00
Peter Zimon
397e18c7c0 🐛 Fixed dark mode link input bug
no refs.
- fixed style bug for link input in Koenig having no blue border in dark mode
2020-01-21 12:27:30 +01:00
Peter Zimon
d2ac367371 🐛 Fixed button style for staff creation
no refs.
- Fixed Create button being visually detached and incorrect size on the Create (staff) account screen
2020-01-21 12:14:35 +01:00
Kevin Ansfield
d873f929e1 Changed content filters to show "unknown" if a deleted tag/author is selected
refs https://github.com/TryGhost/Ghost-Admin/pull/1474

- show some indicitive text rather than a blank dropdown button when type/author/tag/order query param is present but doesn't match something in our data sets (eg, if a tag/author has been deleted or a query param has been incorrectly typed)
2020-01-20 15:40:32 +00:00
Kevin Ansfield
9cad64cd76 Fixed toaster notification not clearing
no issue

- we switched to using native event listeners rather than jQuery but were still looking for the jQuery-specific `event.originalEvent`
2020-01-20 15:30:24 +00:00
Kevin Ansfield
942e09db9d Lock file maintenance 2020-01-20 09:27:10 +00:00
renovate[bot]
5d9458283e Update dependency ember-composable-helpers to v3.1.0 (#1471)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-20 09:21:13 +00:00
renovate[bot]
0dc30910a2 Update dependency ember-cli-chart to v3.6.0 (#1470)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-20 09:20:33 +00:00
Renovate Bot
28ce0b0dc3 Update dependency ember-route-action-helper to v2.0.8 2020-01-20 07:23:51 +00:00
Renovate Bot
0263b02ffa Update dependency ember-infinity to v2.0.3 2020-01-20 06:18:15 +00:00
Renovate Bot
50b88fba05 Update dependency ember-concurrency to v1.1.5 2020-01-20 05:18:07 +00:00
Renovate Bot
7c8ddab16a Update dependency autoprefixer to v9.7.4 2020-01-20 04:18:14 +00:00
Renovate Bot
51f272b235 Update dependency ember-cli-htmlbars to v4.2.2 2020-01-20 03:17:48 +00:00
Renovate Bot
55a41c6bb5 Update dependency @tryghost/timezone-data to v0.2.18 2020-01-20 02:18:50 +00:00
Renovate Bot
b3a184d5a3 Update dependency @tryghost/helpers to v1.1.21 2020-01-20 01:18:57 +00:00