Commit Graph

49 Commits

Author SHA1 Message Date
Chris Beach dd7e86930f Include timestamp in messages to user.
Permit email param in checkout_controller
Fix failing tests
2018-01-18 00:21:41 +00:00
Chris Beach 173f090c4f Disable that darned discobot 2017-10-16 12:48:26 +01:00
Chris Beach 340959c73b Fix failing tests (likely due to Discourse Rails upgrade) 2017-10-11 23:48:41 +01:00
Rimian Perkins 17a43740d6 fix missing strong param 2017-05-23 14:32:52 +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 1def5daccb add the right params for controller specs 2017-05-18 11:48:54 +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 344abb6418 specify first argument as per this: http://stackoverflow.com/questions/43881911/ruby-mocha-expect-the-first-argument-to-be-a-symbol 2017-05-11 10:12:49 +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 0da6dd5610 fix success specs 2017-05-08 11:40:15 +10:00
Rimian Perkins a32473ef10 check payment and rewards do not happen on failure 2017-05-05 10:27:34 +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 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 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 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 1feb997122 enqueue directly 2017-04-27 15:08:10 +10:00
Rimian Perkins 45501a0ca3 initial empty job 2017-04-27 13:34:48 +10:00
Rimian Perkins cfe04fd4e3 initial tests for new user account 2017-04-27 11:58:52 +10:00
Rimian Perkins 061ea69434 add the user to a group 2017-04-24 11:44:55 +10:00
Rimian Perkins 1c87a87bd6 refactor the rewards interface for extensibility 2017-04-24 10:06:47 +10:00
Rimian Perkins 2d75d6286f stub realistic seller message 2017-04-24 06:31:18 +10:00
Rimian Perkins 9acaf51307 explicitly specify group name 2017-04-24 06:05:51 +10:00
Rimian Perkins f383a0c4f9 add rewards to response 2017-04-21 14:26:53 +10:00
Rimian Perkins c3fe90f4d1 empty rewards 2017-04-21 12:08:52 +10:00
Rimian Perkins 392478adf3 implement service 2017-04-06 14:22:22 +10:00
Rimian Perkins 66094fdfdd check for empty email 2017-04-05 09:49:57 +10:00
Rimian Perkins 906952a11a check account create and email is not empty 2017-04-04 15:05:50 +10:00
Rimian Perkins aaff445019 check email is not empty 2017-04-04 14:34:33 +10:00
Rimian Perkins 6717317717 expect a username if an account is being created 2017-04-04 13:44:13 +10:00
Rimian Perkins 3fa6130f23 normalise the message in the response 2017-04-04 13:10:31 +10:00
Rimian Perkins 5d3db5373b respond with empty json if email does not exist 2017-04-04 12:00:23 +10:00
Rimian Perkins 391171d560 respond with empty json if email does not exist 2017-04-04 11:18:35 +10:00
Rimian Perkins 3896866d5b send another ajax request to create account 2017-03-22 13:56:45 +11:00
Rimian Perkins f77ddeba31 create a user account 2017-03-21 11:52:48 +11:00
Rimian Perkins 92e5bf76d7 add anon payments 2017-03-20 12:24:39 +11:00
Rimian Perkins 3a428d17f0 name space the rails things 2017-02-24 13:23:11 +11:00