Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/TryGhost/Utils


https://github.com/TryGhost/Utils

Fixed indescribable error in allowlist limit

https://github.com/TryGhost/Team/issues/663

- When there is no parameter passed at all it was ...

f51c640fb04f6742dabb1328ed46910aa954cc5b authored over 3 years ago by Naz <[email protected]>
Fixed error "swallowing"

no issue

- I've discovered the "IncorrectUsageError" error was silently swallowed and the metho...

1add2197ae269853ad22ba6cc26138737e5b03ff authored over 3 years ago by Naz <[email protected]>
Added a convenience method checking if any limits are acceded

refs https://github.com/TryGhost/Team/issues/662

- There is a need to check if any of the curre...

479a1df7e3f2dabde9dfb279dcdbf8f9fa0dba01 authored over 3 years ago by Naz <[email protected]>
Published new versions

- @tryghost/[email protected]

3f5ee1544462496191318b3534e364bad37bc133 authored over 3 years ago by Thibaut Patel <[email protected]>
Added a CSRF bypass to enable OAuth

issue https://github.com/TryGhost/Team/issues/614

7b6859b6d3ab83f3305b726070a72f8554e08d87 authored over 3 years ago by Thibaut Patel <[email protected]>
Published new versions

- @tryghost/[email protected]
- @tryghost/[email protected]

db1d1e11f55825aadf442e7be91686699e280134 authored over 3 years ago by Naz <[email protected]>
Exposed additional "name" variable in error templates

refs https://github.com/TryGhost/Team/issues/587

- There was a need to be able to use the "name...

113ded471e1c39a780d16dcd4acc8cdebf22ba4e authored over 3 years ago by Naz <[email protected]>
Updated the example for the customThemes configuration

no issue

d422af7b3812a58e230dc896d3f35907cd2bc648 authored over 3 years ago by Thibaut Patel <[email protected]>
Added header to the section

no issue

- Made it clear what this part of the doc is about

ef2a5699a604e0132ca0dd962d3ae2f5827f9911 authored over 3 years ago by Naz <[email protected]>
Added documentation for names of limits

refs https://github.com/TryGhost/Team/issues/510

- There's a limited type of limit "names" supp...

60e369a5c565c53c95ea5d65877b2b5b71f20f7b authored over 3 years ago by Naz <[email protected]>
Added documentation for types of limits

refs https://github.com/TryGhost/Team/issues/588
refs https://github.com/TryGhost/Team/issues/51...

858e403b4fbba0272a6d4b728fd7d51ea76f1517 authored over 3 years ago by Naz <[email protected]>
Added customThemes limit to config example

refs https://github.com/TryGhost/Team/issues/590

- The "allowList" type of configuration was mi...

eec4106574c964922ee6113c8c89051b37c3b335 authored over 3 years ago by Naz <[email protected]>
Added emails limit to documentation example

refs https://github.com/TryGhost/Team/issues/588

- The "emails" limit was added with recent cha...

65d5e683a827cf81a7c228a4d2c7c51da10d7cfe authored over 3 years ago by Naz <[email protected]>
Update dependency date-fns to v2.21.3

f66f0f314652f569a65b1a5ddffc680ab543b8d0 authored over 3 years ago by Renovate Bot <[email protected]>
Published new versions

- @tryghost/[email protected]
- @tryghost/[email protected]

791e7cedc67d2c8963c47af5479ce0ffa8b4cd1e authored over 3 years ago by Naz <[email protected]>
Added addedCount to max and maxPeriodic limits

refs https://github.com/TryGhost/Team/issues/588

- The `addedCount` parameter in `errorIfWouldG...

1cfd0cad9a2ec3466561c765a4d39c9e596c6bc8 authored over 3 years ago by Naz <[email protected]>
Fixed query counting total emails sent in a period

refs https://github.com/TryGhost/Team/issues/588

- The previous query was quickly copied from s...

d94cef771d70b072a0dc197b8ffcc20007b8a1a2 authored over 3 years ago by Naz <[email protected]>
Added c8 coverage to `package-json` tests

no issue

- this commit adds the c8 dependency to the `package-json`, and prepends
it to the t...

f34e2f68321629daee10833ba8d3c55bfe323aa2 authored over 3 years ago by Daniel Lockyer <[email protected]>
Published new versions

- @tryghost/[email protected]
- @tryghost/[email protected]
- @tryghost/mw-session-from-tok...

a7ee369425140be89a406d7b58efd048a84e06bd authored over 3 years ago by Naz <[email protected]>
Removed date-fns dev dependency

refs https://github.com/TryGhost/Team/issues/588
refs https://github.com/TryGhost/Utils/commit/8...

4da6118793dd03417076cef39ac9f7a4647ee9f4 authored over 3 years ago by Naz <[email protected]>
Fixed time difference calculation in DST timezones

refs https://github.com/TryGhost/Team/issues/588

- date-fns proved to be unable to manipulate d...

8fc938eae853681d6ee9169e116c2067541c0615 authored over 3 years ago by Naz <[email protected]>
Clarified test name

fec0757022ac46cd3f7ab98aaef12a2f5ea53c17 authored over 3 years ago by Naz <[email protected]>
Update dependency extract-zip to v2.0.1

fade19db6d3f669dd61c61280a9225e35f8dae3e authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency @types/express to v4.17.11

20eeada38db3e0eb85a909255fbb4e4610b6c049 authored over 3 years ago by Renovate Bot <[email protected]>
Pin dependency date-fns to 2.21.2

366dbc22168ead753ac60d1b6b0a8df365ac2325 authored over 3 years ago by Renovate Bot <[email protected]>
Lock file maintenance

dc70a3b991421fac4ddc17be7aaa26e11ee50a3f authored over 3 years ago by Renovate Bot <[email protected]>
Merged `package-json` files and history from TryGhost/Ghost

37ebe723c6867a3f85d5570c0c2abb2ac2b365be authored over 3 years ago by Daniel Lockyer <[email protected]>
Added initial `package-json` package

no issue

- this adds the templated package from Slimer ready for pulling the
history in from ...

4c69d737ea9107f61f878a816b1c704468e4a33d authored over 3 years ago by Daniel Lockyer <[email protected]>
Added export for `package-json` library contents

no issue

- our code is already in the `lib` folder so we just need to export it

b0473d810810ddade22e61e99abcb64bbae53a51 authored over 3 years ago by Daniel Lockyer <[email protected]>
Fixed `package-json` test requires

no issue

- these tests have just been extracted from Ghost so the paths are wrong
and they're...

987fc59b47195ffe5515ce3595228b1332f35279 authored over 3 years ago by Daniel Lockyer <[email protected]>
Added required dependencies for `package-json`

no issue

- this package has just been extracted from Ghost and we need to add the
dependencie...

c31919a1b7c4d82dd26a53b32169751ae5c447b3 authored over 3 years ago by Daniel Lockyer <[email protected]>
Removed Node 10 from CI

refs https://github.com/TryGhost/Team/issues/658

- it's time to drop Node 10 because it's EOL s...

9dd7e9b36107cf29c84ad2f4e71d185a026f83e0 authored over 3 years ago by Daniel Lockyer <[email protected]>
Added added maxPeriodical checks

refs https://github.com/TryGhost/Team/issues/588

- This bit is putting together all the pieces ...

da3e47941f728a8f33946c638d1597a005bd71ab authored over 3 years ago by Naz <[email protected]>
Added currentCountQuery for emails limit

refs https://github.com/TryGhost/Team/issues/588

- This is a basic implementation which needs a...

e9194886887a80fd34c96769aa09bb12e00034c5 authored over 3 years ago by Naz <[email protected]>
Changed `Error` to `IncorrectUsageError` in `package-json`

no issue

- `Error` is very generic for this case and `IncorrectUsageError`
will populate the ...

9b026721b6a1b6bbc199335a4ca11d717640f2bf authored over 3 years ago by Daniel Lockyer <[email protected]>
Moved `package-json` wrapper outside implementation folder

no issue

- we're preparing the `package-json` lib to be extracted out of Ghost into
its own p...

97521987dc4dafe2d58b89412243f9a70f87b90a authored over 3 years ago by Daniel Lockyer <[email protected]>
Added maxPeriodic limit support to limit service

refs https://github.com/TryGhost/Team/issues/588

- The limit service can now be initialized wit...

a3375066b871e79ca8b908a7f2e323a0e913aa8b authored over 3 years ago by Naz <[email protected]>
Fixed IncorrectUsageError initialization

no issue

- The error takes in an options object which should contain "message" property instead...

a77131c742900bc47b00185c120c4ef88e22afba authored over 3 years ago by Naz <[email protected]>
Added utility calculating date of last period start

refs https://github.com/TryGhost/Team/issues/588

- There's a need to calculate when the last pe...

9a8afa1c5a8cb58f9a3d3cfdcafb54b42fbad763 authored over 3 years ago by Naz <[email protected]>
Added "maxPeriodic" limit type

refs https://github.com/TryGhost/Team/issues/588

- This is a scaffolding for a new limit type w...

e4386a23cb5c44737114baee4f88a773cb570677 authored over 3 years ago by Naz <[email protected]>
Update dependency date-fns to v2.21.2

99451a940f781f4099d2bd60f2f8840807f403b9 authored over 3 years ago by Renovate Bot <[email protected]>
Fixed typos

dffd14ee1e08510acb28a5b07bc6e55fb7828f16 authored over 3 years ago by Naz <[email protected]>
Moved i18n to shared

refs https://github.com/TryGhost/Ghost/commit/ee577c119b15c719d132f238c35e8a51e36b1fc2

- i18n i...

badbf8f17823b8288331372553f5d5cb063015bb authored over 3 years ago by Hannah Wolfe <[email protected]>
Expanded requires of lib/common i18n and events

- Having these as destructured from the same package is hindering refactoring now
- Events shoul...

ee577c119b15c719d132f238c35e8a51e36b1fc2 authored over 3 years ago by Hannah Wolfe <[email protected]>
Published new versions

- @tryghost/[email protected]

384e5163804bc2ac0608172ce14f8ea75e5e62b4 authored over 3 years ago by Naz <[email protected]>
Added test coverage for flag type of limits

refs https://github.com/TryGhost/Team/issues/588

- This is by no means an thorought test covera...

d9e684930857aa7df3772b36264c1a35a4dbd4ce authored over 3 years ago by Naz <[email protected]>
Added flag limit support for "emails"

refs https://github.com/TryGhost/Team/issues/588

- This is a step 1 in the introduction of emai...

aca55ca55e46848847012ae6524773a00b77afec authored over 3 years ago by Naz <[email protected]>
Fixed failing build

refs https://github.com/TryGhost/Utills/commit/bd27977b21f25054b1f4d8bd50af04a30a0eb9af

- Had a...

ecc30d4226982002dd1f4409a1874f64732697e8 authored over 3 years ago by Naz <[email protected]>
Added notes about how config module works

no issue

- I was a little confused seeing an empty object in the config moduele - `customTheme...

bd27977b21f25054b1f4d8bd50af04a30a0eb9af authored over 3 years ago by Naz <[email protected]>
Update dependency eslint-plugin-ghost to v2.1.0

d319d75012ca88d7f2a4ffec41211d64c5198875 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v7.25.0

c2340a3d9b4a2e8c82922668dde1cc3e89f14c05 authored over 3 years ago by Renovate Bot <[email protected]>
Published new versions

- @tryghost/[email protected]
- @tryghost/[email protected]
- @tryghost/[email protected]....

98d92c3a2796b3c2706f088982f79255f96296a5 authored over 3 years ago by Daniel Lockyer <[email protected]>
Published new versions

- @tryghost/[email protected]
- @tryghost/[email protected]
- @tryghost/limit-service@0....

297ad3bc5d4cc35d5de54bd104955cb83dd9d2d5 authored over 3 years ago by Naz <[email protected]>
Pin dependencies

1cfa529a96aa39df16fcada634bbef62ac2e836d authored over 3 years ago by Renovate Bot <[email protected]>
Re-pinned `@types/express` to 4.17.x

no issue

- later updates of this package contain different types that we haven't
changed our ...

756ba62b7f9a3c1c16efbd36a1b6163520b659d6 authored over 3 years ago by Daniel Lockyer <[email protected]>
Re-pinned extract-zip to v2.0.0

no issue

- `extract-zip` v2.0.1 currently requires Node 10.17.0, which we're not
ready to bum...

e3cd3150854f6b688e414d7bd5666f7e613a541f authored over 3 years ago by Daniel Lockyer <[email protected]>
Unpinned all dependencies

no issue

- this Utils repo contains libraries, whose dependencies should not be
pinned in ord...

bfb3ef7174275a397773f5c0737cdb8e3e730178 authored over 3 years ago by Daniel Lockyer <[email protected]>
Update dependency sharp to v0.28.1

f8e27a45387a6414a5efce17dd15d9093e06b467 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency date-fns to v2.21.1

2878c1afc806deba7725865cab301b27379f15a8 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency @tryghost/string to v0.1.17

eda8ed21c3bc92a03edb8627f371da12676fd8a6 authored over 3 years ago by Renovate Bot <[email protected]>
Update actions/setup-node action to v2

5ea503f65b87d659a87ab40db546ca41c41ce805 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency date-fns to v2.21.0

7b5eed2f66a5ced857f3e7f0a854abfb4da1add4 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency @sinonjs/fake-timers to v7

88b25265b50b31140892de0954300faac3df7594 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency @types/sinon to v10

8c90ceb283bc63896e340d57907abb708a776aab authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency date-fns to v2.20.3

7a4277a325e0c9935f84f0c98ab85e5905ad3b6d authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency date-fns to v2.20.2

6768da87802f683125cbe77eb8f4f3193a387645 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v7.24.0

daf5b2742a1ab8c7e9843150aa4874f8f6a92b21 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency date-fns to v2.20.1

733a185a2f1a960648e6846b32ecfb1b7d36220f authored over 3 years ago by Renovate Bot <[email protected]>
Added a limit reset when loadLimits called repeatedly

refs https://github.com/TryGhost/Team/issues/599

- There are cases when there'a a need to reloa...

bfde090baeb55cf2ba3be7d4f55f430459991824 authored over 3 years ago by Naz <[email protected]>
Added a not to flag limit "errorIfIsOverLimit" method

refs https://github.com/TryGhost/Team/issues/510

- Flag limits are impossible to check if they ...

85eb843b466fbeb2de7fe654326cb90997a16f80 authored over 3 years ago by Naz <[email protected]>
Added allowlist limit (#144)

issue https://github.com/TryGhost/Team/issues/510

3ca514bd781970d87abe36f101ac4904ab061633 authored over 3 years ago by Thibaut Patel <[email protected]>
Added a test to confirm `isLimited` behavior of an unkown key

no issue

b0092a9f999edc1e2c79d37e49dac099dde2a668 authored over 3 years ago by Thibaut Patel <[email protected]>
Update dependency date-fns to v2.20.0

7707aeca952a7dac15835dd14069a681c1d6bfea authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency typescript to v4.2.4

0f22c99f93665f650f0c9f43c137195d622bc3b5 authored over 3 years ago by Renovate Bot <[email protected]>
Improved docs around {{max}} & {{count}}

refs https://github.com/TryGhost/Team/issues/587

- Improved description and provided example us...

b1f25a6f57eac6a4bcabc8a79320828d61d804cd authored over 3 years ago by Naz <[email protected]>
Improved query formatting

refs https://github.com/TryGhost/Team/issues/599

- Oneliners with lots of chained commands are ...

babe019e9c596c667e39ad59deaf495830286afd authored over 3 years ago by Naz <[email protected]>
Published new versions

- @tryghost/[email protected]
- @tryghost/[email protected]
- @tryghost/constants@0...

5e718a9e00749297415ac1331a1a7d5dd3da8248 authored over 3 years ago by Naz <[email protected]>
Added newly generated TypeScript definiton files

no issue

- These files kept generating a new ouput when trying to publish an unrelated package....

5aea6c3001c4abd791df761d9b9e3f5ec0428635 authored over 3 years ago by Naz <[email protected]>
Added test coverage for {{max}} and {{count}}

refs https://github.com/TryGhost/Team/issues/510

- {{max}} and {{count}} variable usage was not...

e83b4a908e716c60065b7f81cb22304d903c6943 authored over 3 years ago by Naz <[email protected]>
Added docs for currentCountQuery usage

refs https://github.com/TryGhost/Team/issues/597

- Documented example usacase for currentCountQ...

09f63f5776db64d1faeebb06e86571c3f101c10c authored over 3 years ago by Naz <[email protected]>
✨ Added custom count queries for "max" limits

refs https://github.com/TryGhost/Team/issues/597

- When the library is used on a client without...

756b80fb8e422f06e2dcc7f1eb9818a83cfda022 authored over 3 years ago by Naz <[email protected]>
Fixed test missing a whitespace

refs https://github.com/TryGhost/Team/issues/597
refs https://github.com/TryGhost/Utils/commit/2...

f9424446496b6d1698dbc6db8bfc555adb62e020 authored over 3 years ago by Naz <[email protected]>
Updated docs/examples with errors parameter

refs https://github.com/TryGhost/Team/issues/597
refs https://github.com/TryGhost/Utils/commit/2...

c5885ce01dc6a9123c56b5c12a9742d6fd1e2c44 authored over 3 years ago by Naz <[email protected]>
Removed ghost-ignition's errors dependency

refs https://github.com/TryGhost/Team/issues/597

- To be able to transpile the library for diff...

24ddb50ccfd7841310f836bcc4fa47e161c9ad3b authored over 3 years ago by Naz <[email protected]>
Added JSDoc to FlagLimit constructor

refs https://github.com/TryGhost/Team/issues/597

- Before adding more parameters documented exi...

c4de8e07dc5fbed75d49df340e9644c5ea4e1efa authored over 3 years ago by Naz <[email protected]>
Added JSDoc to loadLimits method

refs https://github.com/TryGhost/Team/issues/597

- Before adding more parameters documented exi...

1f397e48abd56226b2d357edb0670a0bf9da20cb authored over 3 years ago by Naz <[email protected]>
Update dependency sinon to v10

05f6cb6d080ab986241ebe7f4d847d95ce2ac9f6 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency typescript to v4.2.3

08ab7a86e30f943040d1cb665880c86aee6e0c05 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency lodash to v4.17.21

91731ce11c0251fb7547865f82ab4adb5f643c5f authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency ghost-ignition to v4.6.1

6538012eac57f78ed9f88b894ff143b69a5a6c03 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency folder-hash to v4.0.1

2ccaae7790b89dd9b6b11a2f821163f673fc93c2 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency fastq to v1.11.0

ba442b0ff9fb493243d45e0bd1d2b7dce2d7a4f7 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency emoji-regex to v9.2.2

35f0d01f9899a5f10087b7e14c48a787e041531a authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency date-fns to v2.19.0

4446eacfda8ca95d2ea3b4d1e28d0a14bf5bd2dc authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency cron-validate to v1.4.3

18c91cbb79a24f3787f164844e7ac5241528d20d authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency @types/sinon to v9.0.11

cfb6c7a39f08f1449888d26b82722c886709fbe6 authored over 3 years ago by Renovate Bot <[email protected]>
Update dependency @types/mocha to v8.2.2

15636a61ea34ddf76d9b6bf16da3eff0d29fcf7e authored over 3 years ago by Renovate Bot <[email protected]>
Added docs for limit service common ussecases

refs https://github.com/TryGhost/Team/issues/587

- Documented common usecases such as:
1. initi...

094b530b299c38b874c3bdea2cee3183e88fd6c4 authored over 3 years ago by Naz <[email protected]>
Update Test & linting packages

1cba2ab82498c0a49fa4bf677a1e738b31befad3 authored over 3 years ago by Renovate Bot <[email protected]>
Fixed CI running on main branch

no issue

- we switched the default branch over to `main` but didn't update the
workflow so CI...

dc56c0552a633b7e2a756e2737f231a0823478ea authored over 3 years ago by Daniel Lockyer <[email protected]>