Commit Graph

1054 Commits

Author SHA1 Message Date
Discourse Translator Bot 316303da5d
Update translations (#184) 2023-11-21 14:37:08 +01:00
Discourse Translator Bot 2f9353bc33
Update translations (#183) 2023-11-14 14:30:37 +01:00
Martin Brennan 3608944b9c
DEV: Change settings root from plugins: to discourse_subscriptions (#182)
This is so the plugins settings are better categorized in the site settings UI.
2023-11-13 10:23:25 +10:00
Martin Brennan 3aec1a9336
DEV: Metadata update for plugin.rb (#181)
* Update plugin.rb metadata

* Update plugin.rb

---------

Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-07 17:29:37 -08:00
Discourse Translator Bot 2f87566366
Update translations (#180) 2023-11-07 21:31:30 +01:00
Kris ac81a7a830
fix typo (#179) 2023-10-24 12:39:32 -04:00
dependabot[bot] a257b386f9
Bump @babel/traverse from 7.20.10 to 7.23.2 (#178)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 12:34:58 -04:00
Natalie Tay c30fea21ef
FIX: Clicking on login should show login modal (#177)
* FIX: Clicking on login should show login modal

* Add system test that shows the login modal appears
2023-09-28 14:21:16 +08:00
alex-tee b855ce9bb9
add JPY currency (#176) 2023-09-06 12:14:41 +02:00
Penar Musaraj 1a80f9d52b
DEV: Pin plugin for Discourse 3.1 stable (#175) 2023-08-22 13:50:37 -05:00
Discourse Translator Bot c4f8220a55
Update translations (#174) 2023-08-15 21:25:59 +02:00
Penar Musaraj 7140517ec8
DEV: Fix SCSS deprecations (#172)
* DEV: Fix SCSS deprecations

Followup to https://github.com/discourse/discourse-subscriptions/pull/171

Also fixes:

```
    ╷
581 │       hsl(random(360), 100, 50);
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    /Users/pmusaraj/Projects/discourse/discourse-subscriptions.scss 581:7  root stylesheet
Deprecation Warning: $lightness: Passing a number without unit % (50) is deprecated.
```

* More cleanup
2023-07-19 11:15:34 -04:00
dependabot[bot] 9173190181
Bump word-wrap from 1.2.3 to 1.2.4 (#173)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 01:57:35 +02:00
Penar Musaraj 77cb62bf1f
DEV: Fixes SCSS deprecation in console (#171)
Sample warning was:

```
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($sidebar-height, 1.2) or calc($sidebar-height / 1.2)

More info and automated migrator: https://sass-lang.com/d/slash-div
```
2023-07-17 16:42:06 -04:00
dependabot[bot] 2a75da65b8
Bump semver from 6.3.0 to 6.3.1 (#170)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:46:20 +02:00
Kris 00e5bc1614
DEV: remove old shadow definition (#168) 2023-06-15 10:18:04 -04:00
Isaac Janzen e365ced531
DEV: Use angle bracket syntax (#167) 2023-05-28 09:32:27 -05:00
Discourse Translator Bot bf41ea9aa7
Update translations (#166) 2023-05-23 21:23:39 +02:00
Discourse Translator Bot 81205cebaf
Update translations (#165) 2023-05-16 19:39:51 +02:00
Mark Reeves 49ddc757c9
Make country names translatable (#164) 2023-05-12 08:55:46 -04:00
Discourse Translator Bot d6337e559a
Update translations (#163) 2023-05-10 00:48:25 +02:00
Mark Reeves a6a0cd72c8
FIX: A few more syntax fixes for button actions (#162) 2023-05-08 10:37:37 -04:00
Mark Reeves 7bc34bbbb4
FIX: A few more syntax fixes for button actions (#162) 2023-05-08 10:36:11 -04:00
Mark Reeves 803bba7938
FEATURE: Capture cardholder address fields for Stripe customer (#161)
- Adds the following fields to the subscription payment form:
  - Cardholder Name
  - Country
  - Postal Code
  - Address Line 1
  - City
  - State or Province
- Stripe recommends Cardholder Name & Country for verification; Cardholder Name, Country, and State/Province for US/Canada selections are required fields
- All fields are passed to Stripe for verification on submit
- Fields are also captured on the customer record in Stripe, under Billing Details
2023-05-05 13:20:35 -04:00
Selase Krakani 2babb43ffb
FEATURE: Skip product listing if only one product is present (#160)
At the moment, paying for a product typically involves first clicking
the subscribe link added to the navigation bar, selecting a product and
then adding card details to to make the purchase.

This change skips the product selection step if the site has only one
product.
2023-05-04 13:52:04 +00:00
Mark Reeves 9aa4a44b2a
FIX: Fix syntax for some buttons following recent updates (#159) 2023-05-03 15:50:20 -04:00
Isaac Janzen c06ae37048
DEV: Use angle bracket syntax (#158) 2023-05-02 09:24:28 -05:00
Discourse Translator Bot 45b7eb6e6c
Update translations (#155) 2023-02-21 17:13:37 +01:00
Discourse Translator Bot ee9741aefa
Update translations (#154) 2023-02-15 10:53:27 +01:00
Rafael dos Santos Silva bb99a9a66a
Revert "DEV: Dart Sass deprecation (#150)" (#151)
This reverts commit 1834095b23.
2023-02-07 18:33:31 -03:00
Rafael dos Santos Silva 1834095b23
DEV: Dart Sass deprecation (#150) 2023-02-07 16:25:47 -03:00
Discourse Translator Bot 8dfdca567d
Update translations (#149) 2023-01-24 16:31:56 +01:00
Discourse Translator Bot d4f0b9a43c
Update translations (#147) 2023-01-10 20:56:53 +01:00
discoursebot 3051bceb8f
DEV: Update CI workflows (#148)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 19:06:12 +00:00
David Taylor 7fb0936e5c
DEV: Update eslint-config-discourse, use prettier for hbs (#146) 2023-01-04 13:39:58 +01:00
dependabot[bot] fb072aa851
Bump json5 from 2.2.1 to 2.2.2 (#145)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 12:25:51 -05:00
David Taylor 4e1a17c40c
DEV: Introduce syntax_tree for ruby formatting (#144) 2022-12-29 13:35:06 +01:00
Discourse Translator Bot cbbc23fd5a
Update translations (#143) 2022-12-13 17:15:12 +01:00
Discourse Translator Bot e917c3bca6
Update translations (#142) 2022-11-29 15:39:40 +01:00
discoursebot 425fbc0af1
DEV: Update CI workflows (#141)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 14:21:36 -06:00
Discourse Translator Bot c0b7aa65d7
Update translations (#139) 2022-11-02 15:14:51 +01:00
Jarek Radosz d59a283fd2
DEV: Fix mocha deprecations (#140)
It now supports strict keyword argument matching by default.
2022-11-02 10:47:35 +01:00
Discourse Translator Bot 1f9907d9e7
Update translations (#138) 2022-10-19 15:19:40 +02:00
Penar Musaraj 550e8347e3
DEV: Refactor bootbox dialogs (#137) 2022-10-17 14:42:40 -04:00
David Taylor c93be7632c
DEV: Bump rubocop-discourse (#136) 2022-10-04 09:18:34 +01:00
Bianca Nenciu c00e539304
UX: Make styling consistent with everything else (#134) 2022-10-03 16:14:32 +03:00
Bianca Nenciu a58743e376
FIX: Simplify Stripe webhook handler (#135)
The 'customer.subscription.created' webhooks were not handled at all and
the logic was overcomplicated.
2022-10-03 13:33:50 +03:00
Angus McLeod aba86e5e25
FIX: Promo code placeholder (#133) 2022-09-23 10:37:28 +02:00
Discourse Translator Bot 827f9df444
Update translations (#132) 2022-09-20 15:52:53 +02:00
Penar Musaraj 39b7253c08
DEV: Refactor payment plan buttons (#131) 2022-09-14 18:32:22 -04:00