Commit Graph

463 Commits

Author SHA1 Message Date
Kegan Dougal
bb6eeea0d8 Factor out div ID name to avoid tight coupling with logic class. 2015-11-19 16:08:25 +00:00
Kegan Dougal
3cf9f786aa Instantiate Signup.Register in Registration component
This has to be done rather than in MatrixChat because the render() calls
will create new instances otherwise. Pass in all the strings the logic class
requires to the Registration wire component. This isn't the "best" solution
because unloading/reloading the Registration component will lose registration
state which should be persisted. Ideally we'd DI from the top to ensure this
can't happen (as opposed to relying on module globals...)
2015-11-19 15:44:17 +00:00
Kegan Dougal
e700a5a219 Add TODO on post register logic 2015-11-19 13:58:52 +00:00
Kegan Dougal
eaafc11064 Factor out Captcha UI 2015-11-19 13:44:11 +00:00
Kegan Dougal
5f57cd9559 Merge branch 'develop' into kegan/reg-refactor 2015-11-19 09:50:08 +00:00
Matthew Hodgson
c9fe0b96b7 fix whitespace 2015-11-18 20:46:39 +00:00
Kegan Dougal
bc55959fad Load the Recaptcha script if we have a container for it
This is complex enough that the Registration component shouldn't have to
care about it, so it should probably be split into a pure UI component.
2015-11-18 17:46:17 +00:00
Kegan Dougal
5424567a66 Hook up onFormSubmit to make registration (dummy only) work again. 2015-11-18 17:15:20 +00:00
Kegan Dougal
b4c0625961 Show validation errors 2015-11-18 15:32:44 +00:00
Kegan Dougal
ed3527e243 Merge branch 'develop' into kegan/reg-refactor 2015-11-17 17:43:22 +00:00
Kegan Dougal
8e8b27c893 Add RegistrationForm UI component and new Registration wire component
Hook it up to MatrixChat instead of the existing logic (this breaks reg). WIP.
2015-11-17 17:40:31 +00:00
Kegan Dougal
c57fb44c71 Fix path resolution 2015-11-17 13:26:23 +00:00
Kegan Dougal
8602e0665d PR feedback from #355 2015-11-17 10:57:44 +00:00