Commit Graph

1095 Commits

Author SHA1 Message Date
Jarek Radosz cf83c0693c
DEV: Deprecate the plugin (#281) 2025-07-14 15:12:17 +01:00
dependabot[bot] c7d7e14217
Bump rack from 3.1.12 to 3.1.14 (#275)
Bumps [rack](https://github.com/rack/rack) from 3.1.12 to 3.1.14.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.12...v3.1.14)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 12:50:34 -06:00
Mark Doerr 9e5f61832d
FEATURE: Add support for SEK currency (#276)
Ref: https://meta.discourse.org/t/adding-new-currency-options-for-the-subscriptions-plugin/316003/12
2025-07-07 08:42:18 -06:00
dependabot[bot] 46f9fea9e2
Bump rack from 3.1.12 to 3.1.16 (#278)
Bumps [rack](https://github.com/rack/rack) from 3.1.12 to 3.1.16.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.12...v3.1.16)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-21 17:57:28 +02:00
Jarek Radosz fe53f2cbc0
DEV: Clean up helpers (#279)
* remove an unused helper
* move a single-use helper to its call-site as a getter
* convert `format-currency` to a pure function helper
2025-06-20 21:36:54 +02:00
Jarek Radosz 7107966af6
DEV: Update linting config and run gjs-codemod (#277) 2025-06-05 11:40:13 +01:00
Derek Rushforth 33d033c23b
FIX: Campaign banner size when sidebar is active (#274) 2025-04-14 10:47:35 -07:00
Derek Rushforth 4771d81bfa
UX: Campaign banner layout improvements (#273) 2025-04-10 13:12:38 -07:00
Blake Erickson 100b276c9d
DEV: Add pagination to plans request (#272)
When pulling up a users subscriptions a 500 might occur if we don't find
their plan. If your account happens to have over 100 plans this can be
the cause of the 500 error. This change adds pagination when fetching
plans form stripe, so that we fetch them all.

https://meta.discourse.org/t/problem-with-500-error-with-subscriptions/360808?u=blake
2025-04-10 07:35:31 -06:00
Loïc Guitaut 3dd59a60da
DEV: Add system spec to check core features are working fine (#271) 2025-04-09 14:56:06 +02:00
Derek Rushforth b0af86f12b
Campaign banner styles (#270) 2025-03-28 14:21:54 -07:00
Jarek Radosz 854b3f223f
DEV: Update linting (#269) 2025-03-17 11:41:43 +00:00
Penar Musaraj 9e38a69dbb
fix spec for full page logins (#268) 2025-03-13 13:20:21 -04:00
Tomas Vavrda 208ecb66a3
FEATURE: Add support for CZK currency (#265) 2025-02-18 14:48:04 -07:00
Tomas Vavrda 832c52d5d7
FIX: FontAwesome 6 compatibility icon upgrade (#264)
Mitigates `Deprecation notice: The icon name "donate" has been updated to "circle-dollar-to-slot". Please use the new name in your code. Old names will be removed in Q2 2025. [deprecation id: discourse.fontawesome-6-upgrade] [info: https://meta.discourse.org/t/325349]` message.
2025-02-15 20:51:08 +01:00
dependabot[bot] cc43d32af7
Bump rack from 3.0.11 to 3.0.12 (#263)
Bumps [rack](https://github.com/rack/rack) from 3.0.11 to 3.0.12.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/commits/v3.0.12)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-13 23:27:47 +00:00
David Taylor da48acad9a
DEV: Bump dependencies and fix linting (#262) 2025-02-06 17:57:53 +01:00
David Taylor 721c4f28f1
DEV: Pin version for Discourse <3.5.0.beta1-dev (#261) 2025-02-05 20:17:39 +01:00
Discourse Translator Bot b4f7be4274
Update translations (#260) 2025-01-21 15:56:02 +01:00
David Taylor 001a25c63c
DEV: Colocate component templates (#259) 2025-01-09 17:43:06 +01:00
Discourse Translator Bot a780c77f6c
Update translations (#257) 2024-12-18 15:19:57 +01:00
Blake Erickson 02ba5e1ff2
FEATURE: Add support for PLN currency (#258)
Stripe supports the Polish złoty so we can add support for it.

https://meta.discourse.org/t/342040
2024-12-17 14:58:05 -07:00
Discourse Translator Bot 2c46e3cffb
Update translations (#256) 2024-12-10 20:17:27 +01:00
Kelv 73db0b208a
DEV: Update more deprecated Font Awesome icon names (#253) 2024-12-06 20:40:32 +01:00
Discourse Translator Bot cdd797c68f
Update translations (#255) 2024-12-06 18:05:25 +01:00
Blake Erickson 1811b5955d
FEATURE: Add support for CHF currency (#254)
Stripe supports the Swiss Franc so we can add support for it.

https://meta.discourse.org/t/316003
2024-12-05 11:01:31 -07:00
Blake Erickson d82b34080b
DEV: Fix typo in site setting description (#252)
change permantly to permanently
2024-12-04 11:02:16 -07:00
Kelv 9263d97d64
DEV: Update deprecated Font Awesome icon names (#251) 2024-12-04 02:36:19 +01:00
Jarek Radosz 692f410ab5
DEV: Update components tests (#250) 2024-11-29 19:51:21 +01:00
David Taylor 3149828c22
DEV: Convert to native class syntax (#249) 2024-11-29 16:42:50 +01:00
David Taylor c7a35e1c89
DEV: Update linting (#248) 2024-11-28 17:14:17 +01:00
David Taylor 12cac3827c
DEV: Update linting (#247) 2024-11-20 18:34:34 +01:00
dependabot[bot] 9a0369f272
Bump cross-spawn from 7.0.3 to 7.0.6 (#246)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:57:13 +00:00
David Taylor 7b15f57af3
DEV: Update eslint config (#245) 2024-11-19 11:31:14 +01:00
dependabot[bot] ce2f0899c6
Bump rexml from 3.3.6 to 3.3.9 (#244)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 20:40:26 +01:00
Gabriel Grubba dff47e2a3a
DEV: Update plugin annotations (#243) 2024-10-25 09:48:56 +01:00
Blake Erickson f40d6f9cad
DEV: Add some more verbose logging for debugging groups (#242)
Sometimes users aren't added to groups so adding some more logging
statements to aid in debugging.
2024-10-18 14:29:42 -06:00
Kelv 185071aa03
DEV: Switch to use pnpm (#241) 2024-10-14 14:39:36 +02:00
Bianca Nenciu f47400a9b1
DEV: Fix mismatched column types (#240)
The primary key is usually a bigint column, but the foreign key columns
are usually of integer type. This can lead to issues when joining these
columns due to mismatched types and different value ranges.
2024-10-10 16:29:35 +03:00
Blake Erickson eecb17698f
FIX: Redirect to the pricing table page when enabled (#239)
If the pricing table is enabled the `/s` route should redirect to the
pricing table route and vice versa.

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2024-10-02 17:53:20 -06:00
Jarek Radosz 937d099692
DEV: Prefix all test names (#238) 2024-09-18 01:49:28 +02:00
dependabot[bot] ef820ca2e0
Bump micromatch from 4.0.5 to 4.0.8 (#237)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:32:55 +02:00
dependabot[bot] f1b9c967c3
Bump rexml from 3.3.3 to 3.3.6 (#229)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.3 to 3.3.6.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.3...v3.3.6)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 15:02:37 -06:00
Discourse Translator Bot dd846ae87d
Update translations (#235) 2024-08-29 15:01:43 -06:00
Blake Erickson 9c5ec86de7
DEV: Guest payments follow up (#236)
Just some minor follow up changes to PR #234
2024-08-29 14:49:03 -06:00
Blake Erickson fa5e95860b
DEV: Fetch related guest payments (#234) 2024-08-28 21:51:34 -06:00
Blake Erickson 700c5e7727
FIX: Payments not showing up for users (#233)
Pricing table payments for one off purchases need to be attached to the
customer or they don't show up on the user's billing payments page.
2024-08-28 15:03:22 -06:00
Blake Erickson a2c70deeff
FIX: Create customer for one off pricing table purchases (#232)
When using the Stripe Pricing Table for one-off purchases
(non-subscription) stripe doesn't automatically create a customer
record. This was causing the pricing table webhook
endpoint to end prematurely and not add users to their appropriate
group after purchase. Now if we detect that there is no customer record
we will make an api call to Stripe to create one.
2024-08-28 11:27:55 -06:00
Blake Erickson 71643a023d
DEV: Use warn instead of info for Rails logger (#231)
Follow up to: e92dd39928
2024-08-28 09:17:08 -06:00
Blake Erickson e92dd39928
DEV: Add verbose logging site setting (#230)
To aid in debugging I'm adding a verbose logging site setting. I'm
adding this because I'm currently getting some errors in production that
I'm unable to replicate locally.

See: https://meta.discourse.org/t/323450/4
2024-08-27 18:40:12 -06:00