Commit Graph

1030 Commits

Author SHA1 Message Date
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
Blake Erickson a78b92ddcc
FEATURE: Add quick access button to user profile dropdown (#130) 2022-08-10 13:05:54 +01:00
Discourse Translator Bot e48b817e8e
Update translations (#128) 2022-07-12 17:26:08 +02:00
Faizaan Gagan 945af4f140
FIX: Allow user to update card details for recurring subscriptions (#123)
* add new route for card update

* create backend route

* update label

* basic functionality working

* ran rubocop

* added rspec tests for functionality

* make payment_method param compulsory

* fixed js linting

* improve client side error handling

* improve server side error handling

* improved update card page UI

* improve button UI for user subscriptions page

* give feedback to user about save status

* remove heading from last column

* fix padding on edit/delete buttons for update table

Co-authored-by: Blake Erickson <o.blakeerickson@gmail.com>
2022-07-05 19:53:27 -06:00
David Taylor d4d92d9653
DEV: Use closure actions (#127) 2022-07-06 00:20:12 +01:00
Faizaan Gagan 392b88265b
FIX: set Discourse consistent styles on Stripe card element (#124)
* FIX: set Discourse consistent styles on Stripe card element

* use correct placeholder color

* applied prettier

* mock update method for cardElement

* minor formatting
2022-06-24 21:18:38 +05:30
Blake Erickson 8762d6742e
FIX: Import script confirmation flag logic (#126)
The import script has a prompt asking if this is a "procourse" import or
not, but the logic for handling the answer is backwards and will
incorrectly set the `procourse_import` flag to `true`.

This commit also fixes a minor typo.
2022-06-22 17:51:14 -06:00
Discourse Translator Bot 353898a6b4
Update translations (#125) 2022-06-21 15:29:16 +02:00
discoursebot 97caad7205
DEV: Update CI workflows (#122)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 22:22:31 +02:00
discoursebot 9a9b5a79c1
DEV: Update CI setup and fix linting issues (#119)
* DEV: Update CI workflows
* DEV: Update deps
* DEV: Fix template linting

Co-authored-by: discoursebuild <build@discourse.org>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2022-06-11 12:54:30 +02:00
Blake Erickson 46759c90cd
FIX: Duplicate payments showing up in discourse UI (#118)
Duplicate payments were showing up in the discourse ui for users. Actual
transactions in stripe were not being duplicated. This fix ensures that
when parsing the api response we don't append any duplicates. Added a
duplicate entry to the specs to test for this.

I do think there can be some improvements made to this controller
endpoint, but I'd like to save those for a different and larger PR and
just get this fix out first.
2022-05-17 09:22:42 -06:00
dependabot[bot] 4a27a93e8d
Bump async from 2.6.3 to 2.6.4 (#117)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:03:56 +02:00
dependabot[bot] 386d413bf1
Bump minimist from 1.2.5 to 1.2.6 (#116)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 19:36:59 +02:00
discoursebot c4093e6820
DEV: Update CI workflows (#115)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:06:27 +01:00
Jarek Radosz 044c18e904
DEV: Fix more imports (#114) 2022-03-07 14:34:05 +01:00
discoursebot 9cbdc8c453
DEV: Update CI workflows (#107)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-07 00:30:12 +01:00
Jarek Radosz 98c843b8f2
DEV: Fix imports (#113) 2022-03-07 00:30:01 +01:00
Jarek Radosz d6eaba632d
DEV: Lose the es6 suffix (#112) 2022-03-07 00:20:03 +01:00
David Taylor fa490337ef
FIX: Ensure sidebar class is removed when component destroyed (#111) 2022-02-28 11:51:29 +00:00
Gavin 46e0a2aa46
DEV: Update README.md (#109) 2022-02-21 21:04:40 +01:00
Gavin ba6f549f1c
DEV: Update README.md (#110) 2022-02-21 20:55:41 +01:00
Vinoth Kannan 6f70af5e42
DEV: execute campaign refresh job only if stripe is configured. (#108) 2022-02-04 11:06:40 +05:30
Discourse Translator Bot 23d5697be4
Update translations (#106) 2022-01-18 14:43:12 +01:00
Discourse Translator Bot f414acee42
Update translations (#104) 2022-01-11 14:23:20 +01:00
Andrei Prigorshnev 45780a1ebc
DEV: migrate routes to the new @action pattern (#102) 2022-01-06 15:32:09 +04:00