Commit Graph

101 Commits

Author SHA1 Message Date
Chris Beach df91a44277 fix client/server messages and locales
zip code should be a positive boolean not negative
remove dollar signs
fix stripe.rb method signature and charging logic
2017-11-26 12:24:27 +00:00
Angus McLeod fc8f7560cf fix build by skipping check_xhr 2017-11-12 11:37:21 +08:00
Angus McLeod 38689a59d5 Inherit from the application controller 2017-11-08 08:58:38 +08:00
Angus McLeod c2fa248b79 Include stripe js && inherit from the application controller 2017-11-08 08:45:18 +08:00
Chris Beach d563cd1ddd Working checkout_controller.rb that charges Stripe
* Add billing address setting
2017-10-19 23:51:05 +01:00
Chris Beach 05a2629f8c Add checkout method 2017-10-19 23:51:05 +01:00
Chris Beach 238f4c4eb4 Include amount on form and increase logging 2017-10-19 23:51:05 +01:00
Chris Beach 18196c0a0a Revert "Debugging"
This reverts commit 991631c
2017-10-19 23:51:05 +01:00
Chris Beach e556e75253 Revert "Debugging"
This reverts commit f6d862f
2017-10-19 23:51:05 +01:00
Chris Beach d73e6b5004 Debugging 2017-10-19 23:51:05 +01:00
Chris Beach 37436d1adc Debugging 2017-10-19 23:51:05 +01:00
Chris Beach 340959c73b Fix failing tests (likely due to Discourse Rails upgrade) 2017-10-11 23:48:41 +01:00
Rimian Perkins dfd9e451c3 handle fails from stripe 2017-05-24 12:22:00 +10:00
Rimian Perkins 17a43740d6 fix missing strong param 2017-05-23 14:32:52 +10:00
Rimian Perkins 9d2cd86f54 stripe service can create subscriptions 2017-05-23 12:28:07 +10:00
Rimian Perkins b8130f9969 Revert "use site setting instead of params for create account"
This reverts commit 05c31f1909.

* also test the create account setting cannot be overwritten
2017-05-18 12:02:26 +10:00
Rimian Perkins c091676cb5 permit stripe token and amount 2017-05-18 10:46:11 +10:00
Rimian Perkins cb03671c19 permit params 2017-05-17 14:17:37 +10:00
Rimian Perkins 05c31f1909 use site setting instead of params for create account 2017-05-17 10:30:28 +10:00
Rimian Perkins b663bf5447 remove old jobs for awards 2017-05-12 10:46:48 +10:00
Rimian Perkins c12cc3246a enqueue the mail job 2017-05-12 10:28:39 +10:00
Rimian Perkins 183d15e539 remove extra key/values from user create job 2017-05-11 12:01:57 +10:00
Rimian Perkins c90245dce6 expect the job to be queued 2017-05-10 11:17:39 +10:00
Rimian Perkins f008f91a79 no accounts created 2017-05-10 10:05:53 +10:00
Rimian Perkins e875b17be2 no name collisions 2017-05-08 14:37:19 +10:00
Rimian Perkins 9ca0f09916 job grants badge 2017-05-08 13:38:14 +10:00
Rimian Perkins 5ba61725c3 server message 2017-05-06 16:31:06 +10:00
Rimian Perkins 3792073e7d output success status on failure like discourse does 2017-05-05 10:24:22 +10:00
Rimian Perkins 223e6bc179 check password length and tidy up 2017-05-05 09:57:26 +10:00
Rimian Perkins cc46445b24 use translations for missing params 2017-05-04 20:11:26 +10:00
Rimian Perkins 4fe5a0462a disallows reserved usernames 2017-05-04 19:49:30 +10:00
Rimian Perkins bafa91f255 initial create user job 2017-05-04 17:23:41 +10:00
Rimian Perkins 1b3a104445 output multiple messages 2017-05-04 12:43:33 +10:00
Rimian Perkins 690ee1d25b fix up name space collisions 2017-05-04 12:39:45 +10:00
Rimian Perkins 256b44ad60 messages are an array 2017-05-03 15:13:41 +10:00
Rimian Perkins 53ebcf4625 pluralize messages name space 2017-05-03 09:59:10 +10:00
Rimian Perkins e2a12a1b11 handle the response in the controller 2017-05-02 10:02:07 +10:00
Rimian Perkins a9d59d721f attr_reader is better 2017-05-02 09:47:23 +10:00
Rimian Perkins 0a87d8274f only grant badge when they are enabled 2017-05-01 11:32:59 +10:00
Rimian Perkins 9c6cd58a59 do not grant badge if badges are disabled 2017-05-01 10:58:14 +10:00
Rimian Perkins 9e082b7dcc merge in create account 2017-05-01 10:42:34 +10:00
Rimian Perkins 2aa663d922 merge in master 2017-04-27 20:35:33 +10:00
Rimian Perkins 638eb21005 output 2017-04-27 20:27:57 +10:00
Rimian Perkins 1549a47088 grant the users badges 2017-04-27 19:31:11 +10:00
Rimian Perkins 14dd31b027 grant the users the badge 2017-04-27 19:10:00 +10:00
Rimian Perkins 219444eab2 empty badge grant job 2017-04-27 18:47:27 +10:00
Rimian Perkins 9038701520 fix empty arg 2017-04-27 18:40:05 +10:00
Rimian Perkins 0a20a10237 add the users from the queue into the group 2017-04-27 18:28:38 +10:00
Rimian Perkins 898d1a32d5 try scheduling 2017-04-27 16:50:05 +10:00
Rimian Perkins b94a01359a require the job in plugin 2017-04-27 16:35:28 +10:00