Commit Graph

1160 Commits

Author SHA1 Message Date
Gabriel Csapo 15f0aa7355
[chore] migrate to eslint@8 and run --fix (#2256)
closes https://github.com/TryGhost/Admin/pull/2107

- updated related babel dependencies
- bumped eslint
- ran `yarn lint:js --fix`
- added eslint ignore comments for some required non-camel-case properties
2022-02-10 10:41:36 +00:00
Kevin Ansfield 9463e7af64 Dropped ember-concurrency-decorators dependency
no issue

- since `ember-concurrency@2.0` it's possible to use the standard imports as decorators removing the need for the extra `ember-concurrency-decorators` dependency and imports
2022-02-09 10:49:38 +00:00
renovate[bot] 549e06fce8
Update dependency ember-concurrency to v2.2.1 (#2255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 09:10:21 +00:00
renovate[bot] ec45a9d0aa
Update dependency tracked-built-ins to v2 (#2146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 08:58:18 +00:00
renovate[bot] 5ec4588292
Update dependency ember-modifier to v3 (#2123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 08:54:14 +00:00
renovate[bot] de3eaab058
Update dependency ember-css-transitions to v3 (#2249)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 08:28:25 +00:00
renovate[bot] 170c1378cb
Update dependency @tryghost/kg-parser-plugins to v2.11.4 (#2248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 00:15:30 +00:00
renovate[bot] 09ecbe0a4f
Update dependency @tryghost/kg-clean-basic-html to v2.2.8 (#2247)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 21:21:41 +00:00
Renovate Bot 533fb17162
Pin dependency ember-template-lint to 4.0.0 2022-02-02 20:08:47 +00:00
Gabriel Csapo e7d29054d6
[chore] adds ember-template-lint and fixes all fixable issues (#2238)
no issue

- This will help with the octane migration and you can still run the lint rules even when they are todos. (Checkout the docs at 158b119667/docs/todos.md) The good news is any new code will be checked against the recommended config.
- I fixed all the auto fixable things we could get in this PR as well
2022-02-02 16:09:43 +00:00
renovate[bot] 9cc4af786e
Update dependency @ember/render-modifiers to v2.0.4 (#2236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 17:10:13 +00:00
renovate[bot] cf2e5c7efd
Update dependency @tryghost/color-utils to v0.1.7 (#2229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 10:23:48 +00:00
renovate[bot] 30b12216c5
Update dependency @tryghost/members-csv to v1.2.3 (#2216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 09:35:20 +00:00
renovate[bot] 3313655e0f
Update dependency @tryghost/timezone-data to v0.2.55 (#2215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 09:35:06 +00:00
renovate[bot] 5a8fb81743
Update dependency @tryghost/helpers to v1.1.56 (#2213)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 09:34:53 +00:00
Gabriel Csapo a77b8e4963
Switched majority of files from EmberObject to native class syntax using @classic decorator (#2227)
no issue

- ran [ember-native-class-codemod](https://github.com/ember-codemods/ember-native-class-codemod) to convert the majority of remaining EmberObject based controllers and components to native class syntax using the `@classic` decorator
- skipped older style modal components (`components/modal-*.js`) due to observed incompatibilities in some cases
2022-02-01 09:34:03 +00:00
Renovate Bot 0bd33b7f88
Update dependency chai to v4.3.6 2022-01-26 15:58:33 +00:00
Renovate Bot 0e86fd494c Update dependency chai to v4.3.5 2022-01-25 20:42:09 +00:00
renovate[bot] c9d5eec5c3
Pin dependency @ember/test-helpers to 2.6.0 (#2222)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 09:07:47 +00:00
Kevin Ansfield 08e9e87dd8 Added fetching of member events to members-activity screen
refs https://github.com/TryGhost/Team/issues/1277

- added `ember-could-get-used-to-this` dependency to get access to Resources
  - context: https://www.pzuraq.com/introducing-use/
- added MembersEventFetcher resource for loading members events
  - using a Resource allows for a better data loading experience using only components
  - uses raw data from the API rather than going through Ember Data because we don't need full models or session-length caching that gives us
  - data is kept around in memory for the lifecycle of the resource, if the `filter` param changes the resource is torn down and recreated so it starts from page 1 again, once it's no longer used by a component it's torn down so data isn't kept around
  - paginates by using a `created_at:<={lastSeenTimestamp}` filter - this assumes the API can handle that effectively as a cursor with no duplicate or skipped records
- updated `members-activity` template to use the new resource and control data loading using infinite scroll
- moved overall screen structure from the `<MembersActivity::Table>` component into the `members-activity` template so that the table component can stay focused on just the table display
2022-01-22 15:35:08 +00:00
Kevin Ansfield 080b332c30
Updated Ember dependencies to 3.24 (#2221)
no issue

- bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.24.x versions
2022-01-22 11:24:26 +00:00
Kevin Ansfield 6b8e18af56 Updated Ember dependencies to 3.23
no issue

- bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.23.x versions
2022-01-22 00:20:35 +00:00
Kevin Ansfield a0ac7d3334
Updated Ember dependencies to 3.22 (#2220)
no issue

- bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.22.x versions
- fixed errors caused by updating properties inside of a render
  - `<GhPublishMenu>` removed insta-call of `@setSaveType` when rendering sub-components in favour of pre-setting the default `@saveType` value when the underlying post status changes
  - updated `<GhNavMenu>` to use the run-loop to update the `firstRender` property once rendering has finished rather than mid-render
2022-01-22 00:05:05 +00:00
Renovate Bot 490b3e6702
Update dependency eslint-plugin-ghost to v2.12.0 2022-01-20 15:42:07 +00:00
Renovate Bot dd59020565 Update dependency @tryghost/string to v0.1.22 2022-01-20 15:36:12 +00:00
Renovate Bot 488bb94f97 Update dependency @tryghost/color-utils to v0.1.6 2022-01-20 15:36:01 +00:00
Renovate Bot 1e83b2c987 Update dependency @tryghost/limit-service to v1.0.9 2022-01-20 15:04:17 +00:00
renovate[bot] a59da49daa
Update dependency liquid-fire to v0.34.0 (#2211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 13:34:48 +00:00
renovate[bot] fbba350fce
Update dependency ember-auto-import to v1.12.1 (#2210)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 13:18:29 +00:00
renovate[bot] 518af40bdb
Update dependency ember-keyboard to v7.0.1 (#2208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 13:17:38 +00:00
renovate[bot] b383c7e8a1
Update dependency @ember/render-modifiers to v2.0.3 (#2199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 10:46:30 +00:00
Kevin Ansfield 3f33c4177d Revert "Update dependency ember-cli-mirage to v2.3.1 (#2198)"
This reverts commit 61459e8edb.

- for some reason this was causing infinite build times locally
- reverted pending further investigation
2022-01-17 17:38:24 +00:00
renovate[bot] 14965a5cb8
Update dependency ember-keyboard to v7 (#2197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 15:04:10 +00:00
renovate[bot] 61459e8edb
Update dependency ember-cli-mirage to v2.3.1 (#2198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 15:02:31 +00:00
renovate[bot] cb35fc0738
Update dependency @tryghost/members-csv to v1.2.2 (#2194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 09:46:15 +00:00
renovate[bot] b1dc5842f8
Update dependency ember-svg-jar to v2.3.4 (#2196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 09:45:27 +00:00
renovate[bot] 2f84b40ef7
Update dependency markdown-it to v12.3.2 (#2191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 14:40:06 +00:00
renovate[bot] 26a7dce7a4
Update dependency @tryghost/kg-parser-plugins to v2.11.3 (#2190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 14:39:53 +00:00
renovate[bot] c4c37d9938
Update dependency @tryghost/kg-clean-basic-html to v2.2.7 (#2189)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 14:20:22 +00:00
Kevin Ansfield 70e649b96a 🐛 Fixed broken styles in Admin's search modal
This reverts commit c2f75e18fb.

- ember-power-select and ember-basic-dropdown updates changed which elements classes are assigned to in some cases
- revert is the quick-fix option for getting back to the working state
- dependency updates should be pushed again later with app-level changes needed to match new behaviour with old designs
2022-01-10 14:11:56 +00:00
renovate[bot] 8d8dd86942
Update dependency ember-cli-htmlbars to v6.0.1 (#2167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 11:48:54 +00:00
renovate[bot] c2f75e18fb
Update ember-basic-dropdown addons (#2157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 11:25:27 +00:00
renovate[bot] abe0294fe8
Update dependency ember-simple-auth to v4.1.1 (#2131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 10:30:11 +00:00
Renovate Bot 27cd78a6ef Update dependency pretender to v3.4.7 2022-01-06 10:20:06 +00:00
renovate[bot] 22fb615aeb
Update dependency ember-infinity to v2.3.0 (#2166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 09:17:33 +00:00
renovate[bot] 8969745c07
Update dependency @tryghost/members-csv to v1.2.0 (#2163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 13:59:02 +00:00
renovate[bot] c18d853bd7
Update dependency ember-cli-babel to v7.26.11 (#2180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 13:58:19 +00:00
Renovate Bot 340ce7b3d2 Lock file maintenance 2022-01-03 11:41:41 +00:00
renovate[bot] 591d8a7b7f
Update dependency element-resize-detector to v1.2.4 (#2178)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:38:51 +00:00
renovate[bot] 8c8f790799
Update dependency @ember/render-modifiers to v2.0.2 (#2179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:37:10 +00:00