<blockquote>
<p><a class="user-mention" data-hovercard-user-id="360803" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gravitystorm">@gravitystorm</a> Is the Devise gem refactor work ticketed</p>
</blockquote>
<p>Not yet, at least not explicitly. Some preparation work has been done already (e.g. moving to current_user for the logged in user) and it's been mentioned in a few tickets as something we would like to do. I've been wary of putting in too many tickets marked "future" or that are blocked by other work, since we have plenty of open tickets already!</p>
<blockquote>
<p>Is it something we can put something on at an upcoming hackathon event, or something I can just help out with? I built a Rails site many years ago back in the 2.x days that used Devise and I thought it was wonderful to work with.</p>
</blockquote>
<p>Great! I think it will be hard to do in a Hackathon event, since I don't think it'll be just one PR. It'll involve lots of different changes to routes, thought given to things like our customised <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/lib/password_hash.rb">password hashing</a> and <a href="https://github.com/openstreetmap/openstreetmap-website/blob/30424e89d2c91922efb50f246b593cbbe43e220f/app/controllers/user_controller.rb#L796">signup acls</a>, and slightly more standard things like having multistage signup (e.g. needing to view terms on a separate page) that will either be out-of-the-box or at least more likely to have existing devise plugins.</p>
<p>It would be great to have this work started, at a Hackathon or otherwise. I would approach it the same way as I've approached the <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1626">auth framework</a> problem - have a stab at it to get a better understanding of the groundwork required, then spread that groundwork over multiple PRs if necessary.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1823#issuecomment-382216575">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLQf3r3t25k0Ep8F4nHQVem-IRZ0Tks5tpplRgaJpZM4TXg-I">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLVNm1OWjdkJeoRZ7kkDYlmZxtqm7ks5tpplRgaJpZM4TXg-I.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1823#issuecomment-382216575"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gravitystorm in #1823: \u003e @gravitystorm Is the Devise gem refactor work ticketed\r\n\r\nNot yet, at least not explicitly. Some preparation work has been done already (e.g. moving to current_user for the logged in user) and it's been mentioned in a few tickets as something we would like to do. I've been wary of putting in too many tickets marked \"future\" or that are blocked by other work, since we have plenty of open tickets already!\r\n\r\n\u003e Is it something we can put something on at an upcoming hackathon event, or something I can just help out with? I built a Rails site many years ago back in the 2.x days that used Devise and I thought it was wonderful to work with.\r\n\r\nGreat! I think it will be hard to do in a Hackathon event, since I don't think it'll be just one PR. It'll involve lots of different changes to routes, thought given to things like our customised [password hashing](https://github.com/openstreetmap/openstreetmap-website/blob/master/lib/password_hash.rb) and [signup acls](https://github.com/openstreetmap/openstreetmap-website/blob/30424e89d2c91922efb50f246b593cbbe43e220f/app/controllers/user_controller.rb#L796), and slightly more standard things like having multistage signup (e.g. needing to view terms on a separate page) that will either be out-of-the-box or at least more likely to have existing devise plugins. \r\n\r\nIt would be great to have this work started, at a Hackathon or otherwise. I would approach it the same way as I've approached the [auth framework](https://github.com/openstreetmap/openstreetmap-website/issues/1626) problem - have a stab at it to get a better understanding of the groundwork required, then spread that groundwork over multiple PRs if necessary.\r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1823#issuecomment-382216575"}}}</script>