Commit Graph

5388 Commits

Author SHA1 Message Date
Renovate Bot
acc3e96b3c Update dependency autoprefixer to v9.7.3 2019-12-13 19:38:46 +00:00
Kevin Ansfield
a6c005e5be 🐛 Fixed unexpected "unsaved changes" modals when accessing screens
no issue

We weren't correctly clearing state for the "display modal" booleans when leaving screens. This meant that it was possible to end up in a state where where every time you access a screen you get the unsaved changes modal
2019-12-13 17:09:06 +00:00
renovate[bot]
4c9fc47df8 Lock file maintenance (#1419) 2019-12-13 17:14:46 +01:00
Kevin Ansfield
2d507c47b1 Converted <GhErrorMessage> to glimmer component
no issue

- fixes `isVisible` deprecation warning that was showing up for every component invocation since the Ember 3.14 upgrade
2019-12-13 16:12:04 +00:00
renovate[bot]
fbcb8476d5 Update ember core (#1389) 2019-12-13 16:15:06 +01:00
Kevin Ansfield
3c851293c1 Ran "no implicit this in templates" codemod
no issue

We were in a part-way state where some touched files had been (sometimes partially) migrated to explicit `this`. The codemod that was available has now fixed the formatting issues it had so it was a good time to run it.

https://github.com/ember-codemods/ember-no-implicit-this-codemod

- part of the migration path for https://github.com/emberjs/rfcs/pull/308
- starts to make template resolution rules more explicit
  - `<MyComponent />` - always a component
  - `{{my-component}}` - component or helper (components _must_ have a `-`. This style of component will go away once fully migrated to angle bracket components)
  - `{{value}}` - a helper or local template variable
  - `{{this.value}}` - reference to a property on the backing context (either a controller or a component JS file)
2019-12-13 14:20:29 +00:00
Kevin Ansfield
c10e245c9d Fixed linter errors 2019-12-13 13:55:59 +00:00
Kevin Ansfield
7d997d5c2d Fixed member count after deleting a member
no issue

- the member count is automatically calculated via the length of the live members array so there's no need to manually decrement it - if we do manually decrement then the count is off by one because the auto calculation runs to get the new value before the manual decrement
2019-12-13 11:38:37 +00:00
Kevin Ansfield
866d6eae9a 🐛 Fixed unsaved changes modal when using Cmd+S on tag/member screens
no issue

- keep a scratch model on the tag/member controllers rather than inside of the form components
  - allows the controller's `save` task to transfer scratch values to real values before saving
  - means that pressing Cmd+S whilst a field is still focused will save the expected value rather than the old value avoiding unsaved changes modals when trying to leave the screen when you think you've already saved
- fixed route and url not changing after saving a new member
- fixed error when clicking delete tag button
- cleaned up unused `showDeleteTagModal` actions
2019-12-13 11:37:01 +00:00
Kevin Ansfield
56ce6aa824 Tidied up <GhMemberSettingsForm>
no issue

- removed unused `isViewingSubview` property
- replaced `hasMultipleSubscriptions` CP with the `gt` CP macro
- fixed indentation in the template
2019-12-12 18:22:31 +00:00
Kevin Ansfield
5585a781b9 Unified tag and member screen code
no issue

The tag and member screens share the same underlying UI/UX patterns but were using different code patterns. This brings both in line so that we have consistent code patterns that can be re-used for other screens.

- fixed cleanup of new tags by adding the `deactivate` hook to the `tag` route
- updated `member` and `member.new` route/controller setup to match tag route/controller setup
  - added `save` action to member controller so that Ctrl/Cmd+S works on member screen
  - updated tag route/controller to utilise the same instant display w/background refresh when accessing the tag details screen
- completed transition of non-component tag/members templates over to angle bracket component syntax
2019-12-12 13:59:46 +00:00
Naz Gargol
51ded01ed3 Added members cancel subscription fields on members page (#1423)
refs https://github.com/TryGhost/Members/pull/107

- Added 'cancel at period end' logic to members subscription details
- Added stripe subscription link in subscriptions details
2019-12-12 20:00:57 +07:00
Kevin Ansfield
c53e4f9cd7 Fixed tag deletion
no issue

- don't show "Delete tag" button when we're displaying a new/unsaved tag
- refactor the `_deleteTag()` method to be more explicit and remove handling that is no longer required since the tag screen is not nested in the tags screen
- revised the condition in `showUnsavedChangesModal()` method so that it's body doesn't fire twice when leaving the `tag` or `tag.new` route
- revised the `showUnsavedChangesModal()` method body to look at the number of changed properties on the tag rather than relying on `tag.hasChangedAttributes` which is always `true` for new models
2019-12-10 12:18:20 +00:00
Kevin Ansfield
4496ea41c4 Fixed linting 2019-12-09 17:45:51 +00:00
Kevin Ansfield
5c0cfca479 Cleaned up and re-organised tag and new tag routes/controllers
no issue

- removed unused `<GhTagsManagementContainer>` component and related `isMobile` CPs
- un-nested `tag` and `tag.new` routes
  - nested routes in Ember are used for nested UI but these are both separate screens
  - removes usage of `selectedTag` property in favour of using Ember's built-in model handling
  - removed unnecessary `tags/new` controller
  - sets up `tag.new` route which extends the `tag` route to avoid duplicate code
2019-12-09 17:44:16 +00:00
Renovate Bot
ccaece5e8d Update ember testing 2019-12-04 22:21:20 +00:00
Renovate Bot
eca532639b Update ember addons 2019-12-04 20:54:43 +00:00
Nazar Gargol
a524faf56c Version bump to 3.1.1 2019-12-04 20:39:08 +07:00
Peter Zimon
d0a0e70caf 🎨 Refined new member avatar style
no issue.
- removed outline from manually created member avatar on member detail screen
2019-12-04 11:42:58 +01:00
Hannah Wolfe
00ce91ce3a Added Secondary Navigation (#1410)
refs: https://github.com/TryGhost/Ghost/pull/11409

- Added a new UI for a second set of navigation links
- This should support most concepts of nav, e.g. left and right, or header and footer
- This PR mostly updates the design and nav components to cope with a second set of nav
2019-12-04 11:14:45 +07:00
Peter Zimon
a50cc62617 Added white border to member gravatar on member list 2019-12-03 15:40:46 +01:00
Peter Zimon
1f2e41e5e8 Refined member gravatar design
no issue.
- removed halo from member gravatars
2019-12-03 15:32:01 +01:00
Peter Zimon
97940742cf 🎨 Scaled email mobile preview
no issue.

- scaled email mobile preview to resemble mobile proportions better
2019-12-03 15:04:32 +01:00
Renovate Bot
a93fc6fd88 Update Test & linting packages 2019-12-03 12:24:26 +00:00
Naz Gargol
1df0e2b917 🎨 Added gravatars for member avatars (#1417)
no issue

- When an email has a valid gravatar handle it displays an image instead of initials for the member
- Introduces new {{gravatar}} helper which accepts an email as parameter and size/d as named parameters. The output is a URL to gravatar image
- Refactored usage of "splattribute" to explicit property. There was a need to duplicate class property usage in the component and doing that through splatttibute feature is unsafe as pointed ou here - https://github.com/TryGhost/Ghost-Admin/pull/1417#discussion_r351837584
2019-12-03 18:10:47 +07:00
Peter Zimon
6d2bc8fccc 🐛 Fixed email preview header position
no issue.
- fixed email preview header being off in Firefox and Safari
2019-12-03 11:23:51 +01:00
Peter Zimon
137f8eae7c Refined mobile email preview
no refs.
Issue was that the ratio of email mobile preview UI was completely off on higher screen resolutions.

- set the email mobile preview UI to fixed size
2019-12-03 11:18:02 +01:00
Nazar Gargol
02fe1591e5 Fixed members acceptance test
- The `await wait()` worked in combination with correct assertions
2019-12-03 16:05:56 +07:00
Naz Gargol
4bd4825902 Improved adding first members on no-members screen (#1416)
no issue

- There was a need to make the experience of adding a first member(s) as frictionless as possible, which lead to adding some actionable controls to the "no-members" screen.
- Adds the ability to make yourself a member
- Adds the ability to import CSV member
- Link to add a member manually
2019-12-03 12:04:04 +07:00
Nazar Gargol
a4ad1f6576 Fixed flaky new member test
no issue

- The test is failing only when run purely from the console if run from the browser window it alway succeeds
- Commented out intended condition and left the tricky one out for future review
2019-12-03 11:24:16 +07:00
Naz Gargol
c41c184762 Added member "add" screen (#1411)
no issue

- We have a need to create a member manually, this changeset solves this problem.
- Added new member button to the member's screen
- Needed to be able to perform add member action
- Fixed inconsistent `createAt` naming. All models use consistent `createdAtUTC`, fixed it up so that members model follows the same pattern. If we want to change this pattern should probably happen for all models at once
- Fixed member avatar when creating a new member. If the values are completely empty the screen ends up being filled with empty space. Added some dummy initials which are recalculated once the member enters the name or an email
- Refactored DS naming for consistency. Nowhere else in the codebase 'DS' name is ever used, made this consistent
- Added missing validations in members form
- Simplified if conditions in the member list template. When using the if/esle statements unnecessary new-line symbols were inserted which made it hard to test. Also by using computed property view is much cleaner
- Updated member's model default value for `subscribed` to "true". It is turned on by default in the model layer  on the backend (ref: https://github.com/TryGhost/Ghost/blob/3.1.0/core/server/data/schema/schema.js#L330), this behavior is intended and should be the same on the frontend
2019-11-28 18:30:21 +07:00
Kevin Ansfield
c376fc016a Version bump to 3.1.0 2019-11-27 14:11:19 +00:00
Peter Zimon
8d45e95ee4 Updated post paragraph spacing 2019-11-27 13:36:12 +00:00
Peter Zimon
02387ab50a Refined editor post title styles
no issue.
- fixed editor post title placeholder font-weight
- fixed spacing between editor post title and first paragraph/card
2019-11-27 13:36:12 +00:00
Kevin Ansfield
1837adf336 Lock file maintenance 2019-11-27 12:18:08 +00:00
Kevin Ansfield
47b441c41d Merge branch 'mega' 2019-11-27 12:15:09 +00:00
Rish
55cd5bbb32 Fixed lint 2019-11-27 13:21:16 +05:30
Kevin Ansfield
6aecfbfcce Fixed members count in confirm email modal
no issue

- the members count used to disable the email toggle and shown in the confirm modal was incorrect as it didn't take into account subscribed vs non-subscribed members
- adjusts the filter in the count query to only fetch subscribed members
2019-11-26 15:08:33 +00:00
Peter Zimon
5674323d2a Removed link to settings for admins in email error copy 2019-11-26 13:38:43 +01:00
Peter Zimon
e866808193 Updated email role restrictions
no issue.
Only admins and owners should have access to sending emails. Updated relevant templates
to restrict access to emails for non-admins/owners
2019-11-26 13:20:49 +01:00
Peter Zimon
727a38d5d1 Updated email copy 2019-11-26 12:10:51 +01:00
Peter Zimon
b06484553f Updated PSM/Email wording 2019-11-25 17:44:50 +01:00
Peter Zimon
8350098e45 Updated post list design for scheduled posts 2019-11-25 17:44:18 +01:00
Peter Zimon
1d78b9a903 Updated email error design in PSM 2019-11-25 17:03:54 +01:00
Kevin Ansfield
a3c17c2757 Added failed state with retry button to PSM email pane
no issue

- follow similar retry-then-poll behaviour as the confirm email modal
2019-11-25 13:20:16 +00:00
Renovate Bot
feecca2a1a Update ember testing 2019-11-25 03:28:12 +00:00
Renovate Bot
6f5c933cea Update dependency ember-source to v3.12.1 2019-11-25 02:28:22 +00:00
Renovate Bot
4c19c86fd7 Update dependency autoprefixer to v9.7.2 2019-11-25 01:31:45 +00:00
Peter Zimon
8a757cef9a 🐛 Fixed tooltip width
no issue.
- fixed a CSS bug that cut the width of tooltips
2019-11-23 10:27:22 +01:00
Peter Zimon
82ffc5a967 Updated email failure modal with dynamic error 2019-11-22 17:17:29 +01:00
Peter Zimon
5bedffdc00 Removing error box in email failure modal 2019-11-22 16:37:39 +01:00
Peter Zimon
8bf287d81e Refined email status on post list 2019-11-22 16:25:11 +01:00
Kevin Ansfield
c1039f929c Added ability to retry failed emails from the confirm modal (#1412)
no issue

- adds a `.retry()` method to the email model+adapter
- adds a retry email task to the publishmenu that follows the same retry-then-poll behaviour as the regular email confirmation
- show a retry button in the confirm email modal if the original send failed
- increases max "immediate failure" poll timeout to 15sec (an 8sec retry-to-failure time has been seen locally)
2019-11-22 15:09:48 +00:00
Peter Zimon
8be0c78c8e Refined email error modal 2019-11-22 14:31:03 +01:00
Kevin Ansfield
ca8c75b034 Removed "and sent to x members" from publish toast notification
no issue

- the toast notification occurs before polling for a successful email occurs so it was confusing to have different states represented in the UI simultaneously
2019-11-22 11:00:47 +00:00
Peter Zimon
0fef1f61e0 Getting rid of super-thin font weights 2019-11-22 11:53:57 +01:00
Kevin Ansfield
535f50ad9f Show "email failed" state in posts list 2019-11-20 23:37:37 +00:00
Kevin Ansfield
30b23f2a7c Added polling when confirming email to show immediate error
no issue

- when confirming email send, after initial save in, poll every second for a maximum of 10 seconds and check the status of the email
  - if it's `'success'` close the modal immediately
  - if it's `'failure'` switch the confirm modal to an error state
  - if the save fails for some other reason (validation, server error) close the modal immediately and let the normal editor error handling do it's thing
- fixed confirm modal not appearing when retrying a save after a post validation failed
- show email status in post status area
    - `"and sending to x members"` when email is pending or submitting
    - `"and sent to x members"` once email is fully submitted
2019-11-20 23:27:09 +00:00
renovate[bot]
31b5b9319d Lock file maintenance (#1393) 2019-11-18 11:13:39 +00:00
Renovate Bot
50dcc82c62 Update dependency @tryghost/kg-clean-basic-html to v0.1.4 2019-11-18 11:13:38 +00:00
Renovate Bot
f5aa02592f Update dependency @tryghost/timezone-data to v0.2.16 2019-11-18 11:13:38 +00:00
Renovate Bot
ec7ecab0a4 Update dependency @tryghost/kg-parser-plugins to v0.8.1 2019-11-18 11:13:38 +00:00
Renovate Bot
9c31616c75 Update dependency @tryghost/helpers to v1.1.19 2019-11-18 11:13:38 +00:00
Nazar Gargol
871dcd9ddc Version bump to 3.0.3 2019-11-18 11:13:38 +00:00
Renovate Bot
cb3c17e438 Update dependency reframe.js to v2.2.6 2019-11-18 11:13:38 +00:00
Renovate Bot
105f92d9b2 Update dependency glob to v7.1.6 2019-11-18 11:13:38 +00:00
Peter Zimon
d6c016e770 🐛 Fixed code injection input sizes when they have long lines (#1394)
no issue
2019-11-18 11:13:38 +00:00
Renovate Bot
abc0c1147a Update dependency autoprefixer to v9.7.1 2019-11-18 11:13:38 +00:00
Renovate Bot
38ae6be5d6 Update dependency @tryghost/timezone-data to v0.2.15 2019-11-18 11:13:38 +00:00
Renovate Bot
a001608d25 Update dependency @tryghost/helpers to v1.1.18 2019-11-18 11:13:38 +00:00
Peter Zimon
e936e04300 Updated copy for Mailgun error 2019-11-18 10:55:05 +01:00
renovate[bot]
f9e3e797f1 Lock file maintenance (#1393) 2019-11-18 09:51:42 +00:00
Renovate Bot
db7c492993 Update dependency @tryghost/kg-clean-basic-html to v0.1.4 2019-11-18 04:24:36 +00:00
Renovate Bot
bf04821f43 Update dependency @tryghost/timezone-data to v0.2.16 2019-11-18 03:11:52 +00:00
Renovate Bot
a8ab98cfe4 Update dependency @tryghost/kg-parser-plugins to v0.8.1 2019-11-18 02:24:31 +00:00
Renovate Bot
4da3bceb04 Update dependency @tryghost/helpers to v1.1.19 2019-11-18 01:29:23 +00:00
Peter Zimon
5305e53121 Fix power select visual bug in PSM 2019-11-16 16:44:30 +01:00
Peter Zimon
3a8b6f897b Fixed subject for email preview 2019-11-16 13:07:51 +01:00
Peter Zimon
a8dadc1a3b Fixed word wrapping bug in Members labs settings 2019-11-15 16:11:26 +01:00
Peter Zimon
ee4a61b021 Refined mailgun settings in Labs 2019-11-15 14:38:59 +01:00
Rish
c274b5fc35 Updated send test mail error for mailgun
no issue
2019-11-15 18:55:40 +05:30
Kevin Ansfield
a95f8182f8 Swapped baseUrl input for region selection for bulk email settings
no issue

- Mailgun makes it really difficult to find your baseUrl from their UI if you've previously sent emails on a domain
- use a dropdown with flag and region name instead to better match what you can see in their UI
2019-11-15 13:10:45 +00:00
Rish
813b15d1c5 Fixed custom subject not saving on post
no issue
2019-11-15 12:35:49 +05:30
Rish
8fb9710f33 Allowed pointer-events on prerview modal 2019-11-15 11:37:04 +05:30
Kevin Ansfield
6fe159c8d9 Updated handling of send_email_when_published
refs 5fd2b7fed1

- sends `?send_email_when_published=true` query param when scheduling/publishing a post with the toggle turned on
  - adds support to the posts adapter for handling the `adapterOptions` option
  - updates the editor `save` task to pass through the required adapter option when a post is being published or scheduled with the toggle checked
- moves state for the email toggle into the publish menu so that we don't try to toggle the model attribute which should only be fetched from the API
- prevent `post.send_email_when_published` being sent to the API via the serializer as it's now a read-only attribute
2019-11-14 17:33:35 +00:00
Kevin Ansfield
f49268c5fa Hid email toggle on scheduled state of publish menu if email already sent 2019-11-14 17:20:53 +00:00
Peter Zimon
8dcf5f8428 Updated copy on email confirmation popup 2019-11-14 18:05:45 +01:00
Peter Zimon
f977d32146 Reorder mailgun settings in labs 2019-11-14 16:05:37 +01:00
Peter Zimon
d5a9465ca5 Design for minimal email stats 2019-11-14 14:30:49 +01:00
Peter Zimon
61f9f6e380 Updated post list 2019-11-14 13:53:43 +01:00
Rish
db899a90f0 Updated mailgun check to use isEnabled from settings
no issue
2019-11-13 22:38:16 +05:30
Rish
6a972d8b9e Wired admin bulk email settings UI to read/write setting
no issue
2019-11-13 22:38:16 +05:30
Rish
0e43505db1 Added new top-level bulk email settings
no issue
2019-11-13 22:38:16 +05:30
Kevin Ansfield
3d1962622b Added "View email" button to view already-sent email
no issue

- refactored `renderEmailPreview` into separate fetch and render functions
- grab email info from an existing email resource if it exists on the post rather than fetching a preview
- added "View email" button the the email-sent state of the newsletter settings PSM section
2019-11-13 16:38:32 +00:00
Kevin Ansfield
11dc0f553b Fixed tests 2019-11-13 16:10:29 +00:00
Peter Zimon
dc9ad61bc7 Updated scheduled publishmenu to display email setting 2019-11-13 15:36:54 +01:00
Peter Zimon
e56b10a728 Remove GhScheduledPostCountdown component 2019-11-13 15:33:57 +01:00
Peter Zimon
f5dd75e2e5 Updated post status in editor 2019-11-13 15:31:42 +01:00
Kevin Ansfield
7351a962b7 Fixed email subject field not being disabled if mailgun is not configured
no issue

- changed `disabled=deliveredAction` to `disabled=mailgunError` so that it's switching on the correct property
- removed all references to the unused `deliveredAction` property
2019-11-13 11:17:36 +00:00
Kevin Ansfield
74cbcad362 Use logged-in-user's email as the default test email address
no issue

- removed unnecessary scratch value handling for a non-model property
- use [`oneWay`](https://api.emberjs.com/ember/release/functions/@ember%2Fobject%2Fcomputed/oneWay) to bind the logged in user's email address to the `testEmailAddress` property on the component - this allows for the default value to always be the logged in users email but changing the property value only changes the value on the component, not upstream on the user model
- use default two-way binding of the `<Input>` helper to avoid unnecessary boilerplate
- removed unnecessary usage of the `truncate` helper for the placeholder
2019-11-13 10:52:09 +00:00
Kevin Ansfield
3daf46dcf8 Display "all paid members" instead of incorrect count in email confirm modal 2019-11-13 10:17:00 +00:00
Rish
17ef3efcef Fixed tests for copy changes 2019-11-13 11:45:58 +05:30
Nazar Gargol
fe54d9566c Version bump to 3.0.3 2019-11-11 18:55:36 +07:00
Kevin Ansfield
fd26864c28 Fixed linting 2019-11-11 10:42:37 +00:00
Kevin Ansfield
875e495728 Fixed email icon not showing for scheduled posts in posts list 2019-11-11 10:37:44 +00:00
Renovate Bot
a17c9a760b Update dependency reframe.js to v2.2.6 2019-11-11 02:20:16 +00:00
Renovate Bot
597f0acfcf Update dependency glob to v7.1.6 2019-11-11 01:20:32 +00:00
Peter Zimon
829702db84 Refined email icon on post list 2019-11-08 17:17:37 +07:00
Kevin Ansfield
682c5e4190 Display basic info in PSM once an email has been sent 2019-11-08 17:07:47 +07:00
Peter Zimon
43feb624b7 Updated tag for email icon in post list 2019-11-08 16:50:07 +07:00
Peter Zimon
8532c13a12 Updated copy for scheduled posts 2019-11-08 16:46:10 +07:00
Peter Zimon
8c55d57593 Added link to mailgun domain 2019-11-08 16:46:10 +07:00
Kevin Ansfield
35b13abb98 Show email icon in posts list 2019-11-08 16:44:56 +07:00
Kevin Ansfield
1d79a1f191 Fix missed wording change from merge conflict 2019-11-08 16:17:36 +07:00
Kevin Ansfield
a54cb48e5f Fixed tests 2019-11-08 16:01:40 +07:00
Kevin Ansfield
2777856a29 Extracted PSM email settings into separate component 2019-11-08 15:56:56 +07:00
Kevin Ansfield
3fd2a8d62c Removed unnecessary post+email normalization 2019-11-08 15:42:57 +07:00
Peter Zimon
d6ad183948 Refined post status and email warning copy 2019-11-08 15:38:25 +07:00
Peter Zimon
9127c72df4 Refined member detail copy 2019-11-08 13:37:28 +07:00
Peter Zimon
aabbbdc858 Updated PSM copy 2019-11-08 13:19:19 +07:00
Peter Zimon
bd214fbf1d Refined publish menu 2019-11-08 11:46:45 +07:00
Kevin Ansfield
2106f27df6 Fixed linting 2019-11-08 11:25:00 +07:00
Kevin Ansfield
41e1cf3ecb Fixed tests 2019-11-08 11:14:04 +07:00
Rish
f74060b08b Removed subdirectory from blog host in email setting field
no issue
2019-11-07 17:47:34 +07:00
Kevin Ansfield
5aac467b3f Removed errant console.log 2019-11-07 17:40:48 +07:00
Peter Zimon
25237a2d6d Refined mailgun warning 2019-11-07 17:14:08 +07:00
Kevin Ansfield
f23703c8b0 Fixed scrolling and hid scrollbars in email preview 2019-11-07 17:11:53 +07:00
Rish
90a6fe8cbb Removed redundant email serialization on post
no issue
2019-11-07 16:13:23 +07:00
Rish
e3616f177c Fixed lint 2019-11-07 16:02:32 +07:00
Kevin Ansfield
79074bceaf Added temporary workaround on client for API sending email: {} 2019-11-07 16:00:46 +07:00
Kevin Ansfield
0c0da3813e Added confirmation modal and use email model in place of action 2019-11-07 15:56:41 +07:00
Peter Zimon
71ded80e8c Refined disabled states more 2019-11-07 15:49:49 +07:00
Peter Zimon
48449ee222 Refined disabled states and copy 2019-11-07 15:32:29 +07:00
Peter Zimon
e5271b534d Styled disabled email checkbox 2019-11-07 13:21:23 +07:00
Rish
2aa781eef1 Added error for incorrect mailgun config in publish and settings menu 2019-11-07 12:44:37 +07:00
Peter Zimon
04d1efac5f Refined members email settings 2019-11-07 11:47:29 +07:00
Rish
ae39e79ce7 Revert "Added preview modal toggle in publish menu"
This reverts commit 80d58f99cb.
2019-11-07 11:47:16 +07:00
Rish
ea302d66b6 Added mailgun domain to admin settings 2019-11-07 11:32:38 +07:00
Peter Zimon
3838686aa8 Refined email preview in publish menu 2019-11-07 11:32:10 +07:00
Peter Zimon
6dbcf96ab0 Refined styles for test email 2019-11-07 11:20:21 +07:00
Rish
61972b01ce Enabled fetch members count on post only if members is enabled 2019-11-07 11:15:31 +07:00
Peter Zimon
44819d1fbf Refined email preview 2019-11-07 11:09:55 +07:00
Rish
cec378f6b1 Fixed valid test email check 2019-11-07 10:55:55 +07:00
Rish
80d58f99cb Added preview modal toggle in publish menu 2019-11-07 10:54:26 +07:00
Rish
f98920aa12 Added test email validation in settings 2019-11-07 10:54:04 +07:00
Rish
089174d72b Fixed publish menu input toggle not disabled for 0 members 2019-11-07 10:19:46 +07:00
Rish
18a882e6b0 Added send test email button loading states 2019-11-07 09:58:25 +07:00
Kevin Ansfield
0e3dc13418 Actually fix email toggle positioning 2019-11-06 18:34:05 +07:00
Peter Zimon
a436521e4c Minor design refinements 2019-11-06 18:22:57 +07:00
Rish
904114d844 Added email subject to preview modal header 2019-11-06 18:18:37 +07:00
Peter Zimon
df8968f13d Updated member details screen 2019-11-06 18:00:03 +07:00
Kevin Ansfield
03547df97e Fixed send email checkbox label clickiness 2019-11-06 16:06:42 +07:00
Peter Zimon
c32c3ce444 Email preview refinements 2019-11-06 15:58:10 +07:00
Rish
6d0f8984af Disabled email toggle in publish menu if no members 2019-11-06 15:28:40 +07:00
Rish
6b4c430985 Disabled email subject based on delivered action 2019-11-06 15:28:40 +07:00
Peter Zimon
15366dd8b2 Removing sent indicator from publishmenu 2019-11-06 15:08:47 +07:00
Peter Zimon
96cdab64d4 Refined mobile email preview 2019-11-06 12:36:39 +07:00
Peter Zimon
2ef9ade0ae Refined browser preview 2019-11-06 12:07:52 +07:00
Rish
06e9dc7209 Fixed email preview fetch for draft posts
no issue
2019-11-06 11:58:17 +07:00
Peter Zimon
edef8eb9b0 Updated email settings design in PSM 2019-11-06 11:23:20 +07:00
Peter Zimon
63ed2a27df Updated publishmenu design 2019-11-06 11:01:42 +07:00
Peter Zimon
20ecc20e20 🐛 Fixed code injection input sizes when they have long lines (#1394)
no issue
2019-11-06 08:53:13 +07:00
Nazar Gargol
b427b3ca93 Removed post specific fields from page model serializer 2019-11-05 18:43:26 +07:00
Kevin Ansfield
22fa89fea8 Hid email settings in PSM when editing a post 2019-11-05 18:34:10 +07:00
Rish
7faff0993e Hide members mail config setting in admin
no issue
2019-11-05 18:23:27 +07:00
Nazar Gargol
6aa64e77d1 Added subscribed toggle to member profile page 2019-11-05 18:00:07 +07:00
Rish
f6660d9116 Added mail provider API key setting
no issue
2019-11-05 17:26:25 +07:00
Rish
caff822706 Added test preview email to post email settings
no issue
2019-11-05 16:10:24 +07:00
Rish
b23288a41b Added email preview modal flow 2019-11-05 13:10:49 +07:00
Kevin Ansfield
049b2a4949 Fixed unwanted "unsaved changes" modal if changing email toggle without publishing 2019-11-04 17:25:24 +07:00
Kevin Ansfield
e9eb5ab8c6 Display email sent info on published state of publish menu 2019-11-04 16:59:46 +07:00
Kevin Ansfield
d77b059716 Display real member count in publish menu 2019-11-04 16:44:18 +07:00
Kevin Ansfield
56cfbf2cd2 Display "sent" info in publish menu 2019-11-04 16:13:18 +07:00
Kevin Ansfield
6419222f31 Put email post toggle behind members feature flag 2019-11-04 13:38:48 +07:00
Rishabh Garg
7866546fab Added email settings to post settings menu (#1398)
no issue
2019-11-04 13:15:13 +07:00
Kevin Ansfield
ff5f46ae1b Added "email when published" toggle to publish menu 2019-11-04 12:41:38 +07:00
Renovate Bot
82fee140e8 Update dependency autoprefixer to v9.7.1 2019-11-04 04:30:08 +00:00
Renovate Bot
a4dc894156 Update dependency @tryghost/timezone-data to v0.2.15 2019-11-04 02:28:23 +00:00
Renovate Bot
d197fabc01 Update dependency @tryghost/helpers to v1.1.18 2019-11-04 01:29:00 +00:00
Kevin Ansfield
3c850068db Added "Member updated" event to the webhook dropdown
refs 6b420d0cbd
2019-10-31 14:36:00 +00:00
Peter Zimon
de0ea09416 🎨 Refreshed Koenig styles
no issue.

- updated basic typographic style of Koenig to match better with Casper 3.0
- fixed vertical spacings of paragraphs and lists
- changed color of code text to make it more theme agnostic
- refined Koenig mobile typography
2019-10-31 14:21:18 +01:00
Kevin Ansfield
ee3a96ac19 Added member.deleted webhook
requires https://github.com/TryGhost/Ghost/pull/11307

- the empty payload bug has been fixed in Ghost so the webhook is usable now
2019-10-31 10:50:18 +00:00
Kevin Ansfield
ef71c7d14c Version bump to 3.0.2 2019-10-30 11:07:59 +00:00
Peter Zimon
e39ebcd856 Fixed generic card action toolbar height
no issue
2019-10-29 15:55:02 +01:00
Kevin Ansfield
5cdd6c19ed Version bump to 3.0.1 2019-10-29 14:20:09 +00:00
Peter Zimon
794efd26a5 Fixed misaligned arrow for Koenig action bar
no issue
- fixed Koenig action bar arrow misalignement in dark mode
2019-10-29 13:03:28 +01:00
Kevin Ansfield
595110f354 🐛 Fixed editor showing incorrect domain and "unsaved changes" modal for relative links
no issue

- convert relative links to absolute based on the configured blog url when displaying URLs in the link toolbar and when manually setting a relative link
  - converting to absolute in the editor prevents the in-memory mobiledoc getting out of sync with the server response when it converts relative urls to absolute
2019-10-29 11:57:29 +00:00
Kevin Ansfield
2b4a3b75d9 Removed "Public API" toggle in Labs screen
no issue

- the v0.1 "Public API" was removed in Ghost 3.0 so the toggle was non-functional
2019-10-29 09:46:59 +00:00
Rishabh Garg
e8d8980da3 🐛 Fixed members export limiting to 15 members only (#1391)
closes https://github.com/TryGhost/Ghost/issues/11298

The members admin API by default paginates the result and only returns upto 15 members. This change passes `limit` param to the API with `limit=all` to fetch all members in result.
2019-10-29 10:21:10 +05:30
Kevin Ansfield
1413c894d7 Lock file maintenance 2019-10-28 11:46:29 +00:00
renovate[bot]
28dd0b5f24 Update dependency markdown-it-mark to v3 (#1329) 2019-10-28 11:21:50 +00:00
renovate[bot]
fe04883330 Update dependency markdown-it to v10 (#1328) 2019-10-28 11:20:57 +00:00
renovate[bot]
b28d834e62 Update dependency autoprefixer to v9.7.0 (#1387) 2019-10-28 10:53:49 +00:00
renovate[bot]
1a22b842b8 Update ember addons (#1388) 2019-10-28 10:53:31 +00:00
Renovate Bot
bfe5d93885 Update dependency autoprefixer to v9.6.5 2019-10-28 04:33:12 +00:00
Renovate Bot
a6d3e5b9c6 Update dependency glob to v7.1.5 2019-10-28 03:31:47 +00:00
Renovate Bot
ec1e889df0 Update dependency @tryghost/timezone-data to v0.2.14 2019-10-28 02:37:21 +00:00
Renovate Bot
2bb1c15ecd Update dependency @tryghost/helpers to v1.1.17 2019-10-28 01:35:35 +00:00
John O'Nolan
af9c4de315 Correct Stripe dashboard URL for members detail 2019-10-24 17:31:55 +07:00
Fabien O'Carroll
fa7dcacc16 Version bump to 3.0.0 2019-10-21 22:41:48 +07:00
Kevin Ansfield
c7e51059bf Fixed enter in tag screen inputs triggering save (#1381)
no issue

- `{{gh-task-button}}` was used inside a form but didn't have a `type="button"` property which meant the browser was treating it as a submit button and triggering the save action and related animation before the field's focus-out was called resulting in a save request before the scratch value is transferred to the model
- removed the submit action from the `<form>` element to prevent any other accidental triggers before scratch values have been transferred into real model values
2019-10-21 21:03:27 +05:30
Kevin Ansfield
dd94a10890 Prevented enter key submitting misleading member details save request (#1380)
no issue

- `{{gh-task-button}}` was used inside a form but didn't have a `type="button"` property which meant the browser was treating it as a submit button and triggering the save action and related animation before the field's focus-out was called resulting in a save request before the scratch value is transferred to the model
- removed the submit action from the `<form>` element to prevent any other accidental triggers before scratch values have been transferred into real model values
2019-10-21 16:24:57 +01:00
Kevin Ansfield
00b38d9f1c Fixed Cmd+S in member details form (#1379)
no issue

- a route-level `save` action was set up on the `member` route which calls `controller.send('save')` but the corresponding `save` action was never set up on the controller which meant the action bubbled back up to the route creating an infinite loop
2019-10-21 20:32:44 +05:30
Fabien O'Carroll
638c83820b Version bump to 3.0.0-beta.8 2019-10-21 18:34:46 +07:00
Peter Zimon
5bfe1c2095 V3 css fixes (#1377)
* Fixed Firefox bug for input groups
* Moved from `rem` based responsive styles to `px` based
* Fixed invisible clickable menus for member/user list
* Added responsive CSS for meembers list header
* Updated member list responsive styles
* Fix list header responsive style
2019-10-21 13:09:56 +02:00
John O'Nolan
38482311da Refined copy for members settings 2019-10-21 15:24:50 +07:00
Rish
3bb9a9a164 Fixed default fromAddress for members
no issue
2019-10-21 12:40:42 +05:30
Fabien O'Carroll
671d7c4d68 Version bump to 3.0.0-beta.7 2019-10-21 13:05:33 +07:00
Peter Zimon
821dc47774 Replaced favicon for better legibility (#1374) 2019-10-20 22:31:03 +05:30
Rish
28668b19c1 Version bump to 3.0.0-beta.6 2019-10-20 16:11:09 +05:30
Rish
c94d95aee1 Version bump to 3.0.0-beta.5 2019-10-20 14:19:55 +05:30
John O'Nolan
3c7e990e59 Corrected members yearly pricing label (#1372)
no issue
2019-10-20 14:14:17 +05:30
Peter Zimon
549fb7193a Dark mode related fixes
no issue

- fixed double border for tags tabs
- refined view action button border
- fixed border for staff avatar
- fixed member avatar label color
2019-10-20 10:41:03 +02:00
Peter Zimon
f60fce91ca Fixed dark mode form group style 2019-10-20 10:41:03 +02:00
Peter Zimon
295d0442b1 Fixed CSS bugs on what's new popup 2019-10-20 10:41:03 +02:00
Rish
9075668f61 Version bump to 3.0.0-beta.4 2019-10-19 18:40:27 +05:30
John O'Nolan
92df04ac03 Amended Stripe signup link (#1371)
no issue
2019-10-19 18:37:54 +05:30
Rishabh Garg
9926ea8173 🐛 Fixed members count on list page (#1369)
no issue

Members calculation was breaking when viewed on admin without refresh after adding/deleting new members, updated to more robust calculation logic.
2019-10-19 18:06:38 +05:30
Fabien O'Carroll
4332f7eed6 Version bump to 3.0.0-beta.3 2019-10-18 19:30:44 +07:00
Peter Zimon
b8da3ab22f Responsive fixes on tags list screen
no issue
- fixed filter responsive CSS
- fixed list behavior
2019-10-18 14:08:46 +02:00
Peter Zimon
02d8fe89eb Post list responsive CSS fixes
no issue
- fixed title display for mobile
- fixed scrolling for content filters
- fixed list cells styles
2019-10-18 13:05:34 +02:00
Peter Zimon
aee7430263 Fixed Stripe info box responsive behavior
no issue
2019-10-18 11:44:45 +02:00
Fabien O'Carroll
78351fe168 Version bump to 3.0.0-beta.2 2019-10-17 18:53:17 +07:00
Fabien O'Carroll
87861fe000 Version bump to 3.0.0-beta.1 2019-10-17 17:36:15 +07:00
Peter Zimon
e8b423b48d Added input groups with append value
no issue
- members price and email settings share the same pattern now: the uneditable parts of the input value is inside the input
2019-10-16 21:35:06 +02:00
Peter Zimon
4d60592cb7 Updated favicon
no issue
2019-10-16 20:18:45 +02:00
Peter Zimon
0f976f3722 Updated featured star alignment for post list
no issue
2019-10-16 20:03:35 +02:00
Peter Zimon
dce6e70b59 Added Stripe info to members labs settings
no issue
2019-10-16 19:54:49 +02:00
John O'Nolan
d1a5608755 Refined copy for members settings (#1366)
no-issue
2019-10-16 15:27:46 +07:00
Rish
6b7aef9628 Updated to password input for member settings keys
no issue
2019-10-16 11:45:14 +05:30
Peter Zimon
22c2ce0cf6 Refined member details
no issue
- updated copy for member since date
- added note to note field
- added subscription value to plan data
2019-10-15 16:24:20 +02:00
Peter Zimon
b7f83fad2c Refined member list
no issue
- added list headings
- added active state to search field when it has value
- set position of actions dropdown
- refined avatar typography
2019-10-15 16:11:43 +02:00
Peter Zimon
3cc22b5528 Moved Member settings section to top in labs
no issue
2019-10-15 14:43:22 +02:00
Fabien O'Carroll
580e2d8f77 Version bump to 2.37.0 (#1365)
Version bump to 2.37.0
2019-10-15 18:06:56 +07:00
Kevin Ansfield
61a3255274 Version bump to 2.37.0 2019-10-14 13:50:09 +01:00
Kevin Ansfield
56786f370c Merge branch 'master' into v3 2019-10-14 11:08:10 +01:00
Renovate Bot
0f1d6d7786 Update ember addons 2019-10-14 09:25:48 +00:00
Kevin Ansfield
4743d372d9 Added "Member added" event to webhooks list (#1359)
requires https://github.com/TryGhost/Ghost/pull/11230

- allows member webhooks to be created
2019-10-14 09:55:38 +01:00
Kevin Ansfield
538d031908 Remove deprecated ember-cli-htmlbars-inline-precompile dependency 2019-10-14 09:51:40 +01:00
renovate[bot]
5af5b29ae4 Update dependency ember-mocha to v0.16.1 (#1363) 2019-10-14 09:45:03 +01:00
renovate[bot]
5fb5a9d3f1 Update dependency @tryghost/timezone-data to v0.2.12 (#1362) 2019-10-14 09:44:35 +01:00
renovate[bot]
a66d2ff52a Update dependency @tryghost/helpers to v1.1.15 (#1361) 2019-10-14 09:44:21 +01:00
Rish
66d84790a4 Fixed members test for admin
no issue
2019-10-14 09:08:28 +01:00
Rish
ad47c6e2f2 Fixed members test for admin
no issue
2019-10-14 08:42:04 +05:30
Rish
6b1cd8dc23 Enabled members by default
no-issue

This removes the need for `enableDeveloperExperiments` flag for members
2019-10-14 08:42:04 +05:30
Hannah Wolfe
49b28e4493 Set Node v12 to available nodesource version
- seems v12.10.0 is the latest available version for bionic via nodesource ppa
- want to support a version that can be installed on our recommended stack
2019-10-12 12:58:05 +01:00
Kevin Ansfield
5502dce4f5 Merge branch 'master' into v3 2019-10-11 13:35:01 +01:00
Rish
083b1e4a5a Version bump to 2.36.0 2019-10-11 16:59:08 +05:30
Rish
2ce07e922b Fixed member section visibility for owner
no issue

Previously we were just hiding the toggle for member section in case of user not being owner. This updates to hide full section in case of non-owner user which is expected behavior
2019-10-11 15:27:24 +05:30
Kevin Ansfield
df4bdf1cf2 Merge branch 'master' into v3 2019-10-11 10:43:38 +01:00
Rish
e90b80822d Renamed member require payment setting
no issue

Renames member setting `requirePaymentForsSignup` -> `allowSelfSignup` to match existing usage in members API
2019-10-11 14:10:37 +05:30
Peter Zimon
079f40611b Updated members Labs settings UI
no issue
- new settings have been introduced for members, switched to expand/collapse UI pattern for members settings
2019-10-11 10:25:52 +02:00
Rish
33de815292 Added members feature toggle for owner only
no issue
2019-10-11 11:34:31 +05:30
Kevin Ansfield
7b5751e42d Version bump to 2.35.0 2019-10-10 18:18:45 +01:00
Peter Zimon
e5c968c51f Updated member email font weight
no issue
2019-10-10 16:01:38 +02:00
Peter Zimon
1960c3d649 Updated member avatar initial fontsize
no issue
2019-10-10 15:59:21 +02:00
Rish
cb1c851f21 Added unsaved changes check to member details page
no issue

- Adds unsaved changes check to member detail page for write operations
2019-10-10 18:06:33 +05:30
Rish
5a609a785f Enabled write operation for member name and note
no issue

- Allows editing member's name and note in admin
2019-10-10 17:29:35 +05:30
Kevin Ansfield
26c48a52c2 Merge branch 'master' into v3 2019-10-10 10:17:44 +01:00
Rish
641dd35779 Updated subscription data in member details
no issue
2019-10-10 13:54:19 +05:30
Kevin Ansfield
bfc047ad93 Version bump to 2.34.0 2019-10-09 18:43:04 +01:00
Kevin Ansfield
d635e7009d Bumped supported node versions
no issue

- bumps 8.x minimum supported version to match Ghost
- adds 12.x for testing ready for LTS
2019-10-09 15:53:24 +01:00
Kevin Ansfield
ce7f0bf1ec Merge branch 'master' into v3 2019-10-09 15:06:37 +01:00
Rish
2e01455413 Updated members lab settings design
no issue

- Extracts members lab settings from `Beta Features` section to its own section
- Adds new `fromAddress` field to members settings
2019-10-09 15:33:08 +05:30
Kevin Ansfield
a9e82b1f7e 🐛 Fixed "unsaved changes" modal when leaving a new post with no content (#1358)
no issue

- if you created a post by setting a title but did not enter anything into the editor body before trying to leave the editor you'd see an "unsaved changes" modal because the "scratch" value for the post mobiledoc is `null` but the post's real mobiledoc value is now a blank document as returned from the API
- adds a conditional reset of the `post.scratch` value after a successful save if the scratch value is blank
2019-10-09 10:53:57 +01:00
Naz Gargol
3aa260f92e Hidden post visibility select from PSM for non editors (#1357)
no issue

- Limited visiblity to only those users who have the rights to edit post's visibility
2019-10-09 10:23:36 +02:00
Kevin Ansfield
3a1bd8f374 Remove duplicated members config from Labs screen 2019-10-08 14:13:19 +01:00
Kevin Ansfield
159e810d5c Merge branch 'master' into v3 2019-10-08 14:04:38 +01:00
Rish
341b23469d Updated members requirePayment flag naming
no issue

Renamed `requirePaymentBeforeSignup` flag to `requirePaymentForSignup`
2019-10-08 16:40:28 +05:30
Rish
b42dcb6da8 Updated members labs section
no issue

- Extracted members feature out of `Beta Features` section to its own
- Added new `requirePaymentBeforeSignup` flag to members settings
2019-10-08 16:25:01 +05:30
Kevin Ansfield
4199f89238 Version bump to 2.33.0 2019-10-08 11:25:41 +01:00
Kevin Ansfield
267bb11226 Version bump to 2.32.0 2019-10-07 23:11:18 +01:00
Rish
58e11f7b33 Added loading state for member subscription details
no issue
2019-10-07 17:56:32 +05:30
Rish
7313b9145f Fixed members list sorting
no issue
2019-10-07 17:05:49 +05:30
renovate[bot]
38e36104b8 Lock file maintenance (#1345) 2019-10-07 12:14:41 +01:00
renovate[bot]
edef5899aa Update dependency eslint to v6.5.1 (#1356) 2019-10-07 12:14:26 +01:00
renovate[bot]
1c59ff0350 Update dependency testem to v3 (#1355) 2019-10-07 11:54:43 +01:00
renovate[bot]
6e555f5a17 Update dependency @tryghost/timezone-data to v0.2.11 (#1350) 2019-10-07 11:54:20 +01:00
renovate[bot]
b11aa3bc67 Update dependency @ember/jquery to v1 (#1354) 2019-10-07 11:54:03 +01:00
renovate[bot]
7ac92aab5a Update ember addons (#1353) 2019-10-07 11:50:27 +01:00
Renovate Bot
5b4c69381b Update dependency @tryghost/helpers to v1.1.12 2019-10-07 10:33:18 +00:00
renovate[bot]
da1ce2464f Update dependency ember-exam to v4.0.4 (#1352) 2019-10-07 11:26:50 +01:00
renovate[bot]
d00217353a Update dependency autoprefixer to v9.6.4 (#1351) 2019-10-07 11:25:40 +01:00
Kevin Ansfield
f6a75c3a06 Fixed tests 2019-10-07 11:17:16 +01:00
renovate[bot]
1388393c3c Pin dependency ember-cli-chart to 3.5.0 (#1348) 2019-10-07 08:21:10 +01:00
Rish
a85129abc8 Fixed lint
no issue
2019-10-07 09:17:26 +05:30
Peter Zimon
0d57cfb4f2 Refined Stripe info in member details
no issue

- refined divider line color for member detail screen with multiple Stripe subscription
2019-10-05 13:10:06 +02:00
Peter Zimon
285a7ab851 Added empty Stripe info state for member details
no issue
2019-10-05 13:01:43 +02:00
Peter Zimon
8ac7500084 Refined member details screen
no issue
2019-10-05 12:41:47 +02:00
Rish
d9351f7292 Fixed members subscription amount default/empty value
no issue
2019-10-04 20:23:50 +05:30
Rish
3974dd5615 Updated member info to show multiple subscriptions
no issue

Displays details of multiple subscriptions of a member
2019-10-04 20:01:56 +05:30
Peter Zimon
b49683127c Refined members import/export design
no issue
2019-10-04 13:55:52 +02:00
Peter Zimon
e542fcbca3 Updated member list and detail wording
no issue
2019-10-04 13:40:10 +02:00
Peter Zimon
9c21f1b60c Refined members import/export button design
no issue
2019-10-04 13:28:10 +02:00
Peter Zimon
523b8e856f Renamed post visiblity dropdown values for posts
no issue
2019-10-04 12:57:58 +02:00
Peter Zimon
d81b39e355 Updated members labs settings layout
no issue
2019-10-04 12:53:32 +02:00
Rish
c3a496fe9f Added csv import/export for members
no issue

- Adds action view with import/export csv options
2019-10-04 15:14:20 +05:30
Rish
a561b6e66e Updated members detail design
no issue

- Fixed bug with incorrect member count
- Added basic stripe info section
2019-10-03 23:17:52 +05:30
Rish
40fddac43c Updated member model to use new subscriptions structure
no issue

Members API was updated to have new subscription structure, this updates model and its transformation to match it.
2019-10-03 23:10:42 +05:30
Rish
06e6e15cc5 Updated plan amount fields to allow empty values
no issue
2019-10-03 23:09:29 +05:30
Peter Zimon
c3e129c5da Updated member list title copy 2019-10-03 13:59:19 +02:00
Peter Zimon
ce50606529 Updated member details screen design
no issue
2019-10-03 13:46:36 +02:00
Peter Zimon
495663c3c4 Udpated members list design
no issue.
2019-10-03 12:56:31 +02:00
Fabien O'Carroll
2d4b332e9c Fixed import ordering for eslint
no-issue
2019-10-03 14:30:55 +07:00
Peter Zimon
bdc0330ccd Added number check for Labs/Members price values
no issue
2019-10-02 14:52:41 +02:00
Peter Zimon
a29e687da6 Updated design for Labs/Members configuration
no issue
2019-10-02 14:52:41 +02:00
Rish
4a3fd90017 Updated members list/detail screens base structure
no issue
2019-10-02 17:05:57 +05:30
Naz Gargol
98da7e1f26 Content visibility configuration in labs (#1346)
no issue

- Changed members description to less verbose
- Added content visibility radio options to members configuration screen
- Moved setting of default visibility to server-side
- Default visibility setting when PSM is opened before making the first request to the server
2019-10-02 11:13:59 +02:00
Rish
e49a12cfa0 Updated member detail screen design 2019-10-02 09:30:21 +05:30
Rish
204e10c114 Updated members list screen design 2019-10-02 09:30:21 +05:30
Naz Gargol
cdb87e5112 Added PSM visibility input (#1344)
refs 80f7e0b19e

- Added visibility input in PSM to control content access level for members
- Added default post visibility in editor. To be changed (moved to server-side) once `defaultContentVisibility` is available in settings service
- Added `visibility` property to post model & mirage
2019-10-01 15:00:53 +02:00
Peter Zimon
e81fe47bfd Fixed "Upgrade now" button length in pro menu
no refs.
- fixed the issue that the "Upgrade now" button shown to Ghost(Pro) users was too wide in the updated Admin sidebar
2019-10-01 12:25:17 +02:00
Peter Zimon
e89789fbe0 Cleanup forms input CSS commit 2019-09-30 13:18:33 +02:00
Kevin Ansfield
fac016a59c Lock file maintenance 2019-09-30 11:59:16 +01:00
Peter Zimon
834f2aa976 Fixed line height for textareas and post title
no refs.
2019-09-30 11:52:33 +02:00
Peter Zimon
e8cdec28ae Refined login form sizes and colors
no refs.
2019-09-30 11:30:45 +02:00
Peter Zimon
775c16eccc Fixed Ghost(Pro) menu icon color in navigation
no refs.
2019-09-30 10:56:44 +02:00
renovate[bot]
32f3127db4 Update ember addons (#1343) 2019-09-30 09:24:30 +01:00
Renovate Bot
29d8090f99 Update ember addons 2019-09-30 06:20:51 +00:00
Renovate Bot
d47130b2e8 Update dependency ember-exam to v4.0.3 2019-09-30 05:36:09 +00:00
Renovate Bot
28b5fca746 Update dependency ember-data to v3.12.4 2019-09-30 03:33:12 +00:00
Renovate Bot
39e69abee1 Update dependency @tryghost/timezone-data to v0.2.10 2019-09-30 01:38:53 +00:00
Renovate Bot
3ca1b79e51 Update dependency @tryghost/helpers to v1.1.11 2019-09-30 01:35:38 +00:00
Naz Gargol
7e3412ce8e 🔥 Removed all subscriber feature related code (#1337)
refs https://github.com/TryGhost/Ghost/pull/11153

- Removed all subscriber feature related code
- The feature is being substituted by members
2019-09-26 15:58:01 +02:00
Rish
1c25f62f60 Reverted switch to using built-in Slack notifications for Travis build
no issue

The built-in slack notifications are not working as expected in terms of amount of notifications received, we switch to old manual notification script for the time being till this is sorted.
2019-09-26 13:16:58 +05:30
renovate[bot]
d2d12c3a74 Update ember addons (#1336) 2019-09-24 15:35:52 +01:00
John O'Nolan
af6d19631e Improved alt text UI legibility (#1324) 2019-09-24 15:35:22 +01:00
Nazar Gargol
b3dbbd0040 Version bump to 2.31.1 2019-09-23 17:13:25 +02:00
Rish
1cc3b2ed7e 🐛 Fixed tag with # not generating "hash-" prefix at tag screen
closes https://github.com/TryGhost/Ghost/issues/11105

- Updates slug generation on tag screen to add "hash-" prefix for tags with name starting from #
2019-09-23 19:58:11 +05:30
Renovate Bot
b62b8e4142 Update ember addons 2019-09-23 05:25:27 +00:00
Renovate Bot
fdc040a56d Update dependency ember-exam to v4.0.2 2019-09-23 04:26:38 +00:00
Renovate Bot
5ba92fd016 Update dependency @tryghost/timezone-data to v0.2.9 2019-09-23 03:25:04 +00:00
Renovate Bot
d89fb69224 Update dependency @tryghost/helpers to v1.1.10 2019-09-23 02:26:06 +00:00
Naz Gargol
3c2185a3bf Removed unnecessary '?status=all' query parameter (#1330)
no issue

- The default post/user filter gets expanded to same values as for  ALL_STATUSES in Ghost APIs model layer (https://github.com/TryGhost/Ghost/blob/e57e19e/core/server/api/canary/utils/serializers/input/posts.js#L97)
2019-09-18 15:11:35 +01:00
Renovate Bot
7e54f4802b Update ember addons 2019-09-16 09:33:00 +01:00
Renovate Bot
2e8dbfbf02 Update dependency ember-exam to v4.0.1 2019-09-16 09:33:00 +01:00
Renovate Bot
a2f70a61ce Update dependency ember-data to v3.12.2 2019-09-16 09:33:00 +01:00
Fabien O'Carroll
e584623399 Added guard against undefined member name (#1322)
no-issue

This is causing issues since we removed the name property from member
objects. This change stops admin crashing out, but a more correct
handling of the missing name property should happen at a later point.
2019-09-16 09:33:00 +01:00
Renovate Bot
97ee50fd71 Update dependency eslint to v6.4.0 2019-09-16 02:27:08 +00:00
Renovate Bot
47244f8323 Update ember addons 2019-09-16 02:26:20 +00:00
Renovate Bot
4d77469419 Update dependency ember-exam to v4.0.1 2019-09-16 01:27:27 +00:00
Renovate Bot
c023c8a650 Update dependency ember-data to v3.12.2 2019-09-16 00:45:51 +00:00
Naz Gargol
461adc6244 🔥 Removed publicAPI feature flag related code (#1323)
no issue

- Changes are related to API v0.1 being completely gone and this flag won't be returned from API anywhere anymore
2019-09-13 16:11:37 +02:00
Fabien O'Carroll
e6db09620e Added guard against undefined member name (#1322)
no-issue

This is causing issues since we removed the name property from member
objects. This change stops admin crashing out, but a more correct
handling of the missing name property should happen at a later point.
2019-09-12 16:33:03 +08:00
Kevin Ansfield
bd32e758db Merge branch 'master' into v3 2019-09-10 09:51:11 +01:00
Kevin Ansfield
d9b09f4c4f Version bump to 2.31.0 2019-09-09 17:47:56 +01:00
Kevin Ansfield
06cb0bd14e Allowed "view site" request to save cookies in cross-origin requests
no issue

- adds `credentials: 'include'` option to `fetch()` which instructs browsers to save cookies in the POST response in cross-origin requests (default is `'same-origin'`)
2019-09-09 17:01:26 +01:00
Renovate Bot
448b3f44cd Update ember addons 2019-09-09 10:21:49 +01:00
Renovate Bot
14ca1479b8 Update dependency ember-cli-mirage to v1.1.1 2019-09-09 03:26:49 +00:00
Renovate Bot
cd75dd34f2 Update dependency @tryghost/timezone-data to v0.2.8 2019-09-09 02:34:12 +00:00
Renovate Bot
e29c61d1ed Update dependency @tryghost/helpers to v1.1.9 2019-09-09 01:28:16 +00:00
Peter Zimon
8af364e45d Added bookmark card styles to "What's new" modal
no refs.
- bookmark cards were displayed incorrectly in the "What's new" popup due to missing styles. This adds the necessary styles for it.
2019-09-05 09:41:58 +02:00
Peter Zimon
fa04ad0ae8 Fixed alignment of avatar badge
no refs.
- fixed the aligment of the "What's new" badge on the account menu
2019-09-05 09:30:40 +02:00
Peter Zimon
75035890f1 Fixed registration flow SVG stroke color
no refs.
- fixes a visual bug that the checkmark icon's stroke color during the registration flow was #000. The bug was a sideeffect to the latest ember-svg-jar module update.
2019-09-05 09:22:49 +02:00
Kevin Ansfield
7d38c24b27 Removed empty svg file
refs fa855b6184

- the empty svg file was the cause of the broken builds when using ember-svg-jar 2.2.1
2019-09-04 09:55:00 +01:00
Rishabh Garg
30b2d3a4b3 Switched Admin API version from canary to v3 (#1317)
no issue

- Switches over to new v3 endpoint from canary
2019-09-03 12:40:27 +05:30
Kevin Ansfield
fa855b6184 Reverted update of ember-svg-jar to 2.2.1
refs https://github.com/ivanvotti/ember-svg-jar/issues/138

- 2.2.1 is breaking development builds
2019-09-02 12:17:27 +01:00
Renovate Bot
0e7efce6a0 Lock file maintenance 2019-09-02 09:43:33 +01:00
Renovate Bot
8db9c04c00 Update dependency ember-cli-htmlbars-inline-precompile to v3 2019-09-02 09:35:03 +01:00
Renovate Bot
c28ef26f58 Update ember addons 2019-09-02 09:34:38 +01:00
Renovate Bot
26662ce1b6 Update dependency blueimp-md5 to v2.12.0 2019-09-02 09:34:06 +01:00
Renovate Bot
db1528c5ba Update dependency @tryghost/kg-parser-plugins to v0.8.0 2019-09-02 09:33:34 +01:00
Renovate Bot
e0df5ca73d Pin dependency @tryghost/string to 0.1.5 2019-09-02 09:33:19 +01:00
Renovate Bot
e589d8438c Update dependency ember-cli-string-helpers to v4.0.3 2019-09-02 02:31:55 +00:00
Renovate Bot
d606e8305c Update dependency @tryghost/kg-clean-basic-html to v0.1.3 2019-09-02 01:31:39 +00:00
Kevin Ansfield
4a11a72ea2 🐛 Fixed browser back button behaviour after clicking "x posts" on tags screen (#1306)
closes https://github.com/TryGhost/Ghost/issues/11057

- removed static "replace" configuration of posts/pages query params
- used the router service to register a `willTransition` event handler which handles conditional replaceState transition behaviour only when filters are changed whilst already on the posts/pages route
2019-08-29 11:10:09 +01:00
Kevin Ansfield
0ba331ec5f Updated Unsplash image selector to insert larger images
no issue

- the default "regular" url Unsplash provides is 1080px wide that does not work well for full-width image cards
- updated to grab 2000px wide images
2019-08-29 09:41:43 +01:00
Kevin Ansfield
ffd2d88dd4 Version bump to 2.30.2 2019-08-28 11:39:00 +01:00
Kevin Ansfield
d1bb99a805 Fixed conflicting svg ids
no issue

- enables `prefixIds` svgo option to guarantee all `id` attributes are unique across svgs
- disabled `cleanupIds` option so that it doesn't interfere with id uniqueness
- fixes instagram icon background not showing
2019-08-28 11:33:32 +01:00
Peter Zimon
4bc9f91392 Added missing class to pages table heading 2019-08-28 11:57:55 +02:00
Peter Zimon
dc6ec36ee0 Fixed line-height for textareas
no refs.
- Applied line-height for textareas with gh-input class. Having it applied all the textarea styles to textarea.gh-input caused bug in calculating the height of post titles in Koenig.
2019-08-28 11:35:17 +02:00
Kevin Ansfield
a10ad3767f 🐛 Fixed text editing display of markdown, html, and code cards
closes https://github.com/TryGhost/Ghost/issues/11056

- reverts codemirror dependency
- adds codemirror to the list of ignored dependencies for renovate to prevent auto-updating
2019-08-28 10:17:53 +01:00
Peter Zimon
a9ab57d90c Refined line-height for bookmark card publisher 2019-08-28 11:03:02 +02:00
Kevin Ansfield
7c0db288b4 Fixed "undefined" appearing in markdown card styles
no issue
2019-08-28 09:56:45 +01:00
Kevin Ansfield
a5a2441c09 Version bump to 2.30.1 2019-08-27 19:44:36 +01:00
Peter Zimon
f1e9cc37f9 Fixed style for bookmark card publisher field
no refs.
2019-08-27 20:38:42 +02:00
Rish
d422a57eb2 Version bump to 2.30.0 2019-08-27 21:01:30 +05:30
Rishabh Garg
7543d23e3d Added bookmark card and integrated it as fallback for unknown embeds (#1293)
requires https://github.com/TryGhost/Ghost/pull/11024

With the bookmark card you can present links in a much richer format, similar to Twitter cards. If the URL points to a page with right meta information it can show the page title, excerpt, author, publisher and even a preview image.

Bookmark cards can be created in two ways:

1. pasting a link as the first thing in blank paragraph - we'll check to see if we can create an embed, if we can't then we'll create a bookmark card instead
2. manually selecting the bookmark card from the (+) menu or by typing "/bookmark<kbd>Enter</kbd>" or "/bookmark {url}<kbd>Enter</kbd>" for short (you might want to do this if you want the bookmark version instead of a full embed)

Pressing <kbd>Ctrl/Cmd+Z</kbd> after pasting will convert the bookmark card back to a link if that's preferred, alternatively a URL can be pasted with <kbd>Ctrl/Cmd+Shift+V</kbd> to avoid any automatic transformation to an embed/bookmark.

---

- adds "bookmark" card that functions similarly to the embed card
- if the oembed API request returns `type: "bookmark"` then the metadata is used to create a bookmark card
2019-08-27 15:10:31 +01:00
Rishabh Garg
99a4c1c4c2 🎨 Updated tags screen design and usability (#1283)
no issue

Updates design and usability for tags list and details screen
2019-08-27 19:21:31 +05:30
Kevin Ansfield
b6b0af0067 Fixed tests 2019-08-27 10:59:27 +01:00
Kevin Ansfield
22e320f725 Fixed linting 2019-08-27 10:49:50 +01:00
Kevin Ansfield
9eb9e9f00e Removed unused "active" handling in <GhPostListItem>
no issue

- "active" post list items no longer exist so we can remove the code related to handling the scroll-into-view and style changes
2019-08-27 10:42:27 +01:00
Kevin Ansfield
2500cd9064 Resolved deprecated usage of Ember Data evented api usage
no issue

- https://deprecations.emberjs.com/ember-data/v3.x/#toc_evented-api-usage
- we were using the now deprecated `didCreate` and `didUpdate` events on the post model to perform controller-specific logic each time `post.save()` was called
- moved the functionality that was attached to the hook events into a `_savePost()` function and used that anywhere we were calling `post.save()`
2019-08-26 15:08:49 +01:00
Kevin Ansfield
341d007acd Updated Renovate configuration
closes https://github.com/TryGhost/Ghost-Admin/pull/1164

- extend from our base configuration
2019-08-26 10:57:16 +01:00
renovate[bot]
5fdd25d499 Lock file maintenance (#1282) 2019-08-26 10:53:27 +01:00
renovate[bot]
98c77a51ea Update ember addons (#1285) 2019-08-26 10:42:30 +01:00
renovate[bot]
13f8455efa Update ember addons (#1266) 2019-08-26 10:39:02 +01:00
Kevin Ansfield
f2eaf6ac09 Updated Renovate configuration
no issue
- according to https://github.com/renovatebot/config-help/issues/220#issuecomment-487118205 it's the _last_ matching group that takes effect when determining which `packageRules` group a dependency is put in
- adjusted the order so that explicit excludes are not required and the ember-basic-dropdown addons are correctly grouped
2019-08-26 10:30:59 +01:00
Kevin Ansfield
20bb8f65f3 Updated renovate configuration (#1305)
no issue
- grouped `ember-basic-dropdown` and related `ember-power-*` addons together
- they share a common base and are going through a major breaking change so it's easier to upgrade them together
2019-08-26 09:52:31 +01:00
Renovate Bot
328838d6d1 Update dependency eslint to v6.2.2 2019-08-26 03:26:59 +00:00
Renovate Bot
87e997f7c9 Update dependency codemirror to v5.48.4 2019-08-26 02:29:34 +00:00
Renovate Bot
a4343bf620 Update dependency @ember/render-modifiers to v1.0.1 2019-08-26 01:27:33 +00:00
Kevin Ansfield
5225a3d30a Added "What's new" indicator and modal to highlight recent updates (#1292)
no issue

- adds `whats-new` service that fetches the changelog from ghost.org and exposes the latest changelog entries
- trigger a background fetch of the changelog from ghost.org when first loading the admin when logged in, or after signing in
- adds a "What's new" menu item next to the user popup menu
- adds an indicator to the user menu button and what's new menu item if there are unseen changelog entries
- closing the changelog modal will update the "last seen date", clearing both indicators
2019-08-23 10:01:27 +01:00
Rish
f2905c155f Version bump to 2.29.1 2019-08-22 07:31:35 +05:30
renovate[bot]
629dc97722 Update dependency ember-cli to v3.12.0 (#1299) 2019-08-21 16:24:06 +01:00
Kevin Ansfield
32e6567e5b Added global meta data and Twitter/Facebook card settings (#1287)
closes https://github.com/TryGhost/Ghost/issues/10921

- added new fields to settings model
- added "Site meta settings" section to general settings
2019-08-21 16:16:59 +01:00
renovate[bot]
dd85373db5 Update linters (#1300) 2019-08-21 16:10:50 +01:00
renovate[bot]
8d3b3899c4 Update dependency @tryghost/kg-parser-plugins to v0.7.0 (#1298) 2019-08-21 15:12:15 +01:00
Kevin Ansfield
b83590332e Version bump to 2.29.0 2019-08-20 15:38:58 +01:00
Renovate Bot
09c54d76a0 Update dependency @tryghost/helpers to v1.1.8 2019-08-19 04:20:47 +00:00