Migrating from django-registration to django-allauth - django-registration

I have an existing Django system which uses django-registration.
I'd like to move away from django-registration, which is no longer actively maintained.
django-allauth looks a good candidate for a replacement.
Has anyone managed to migrate from django-registration to django-allauth?
Any gotchas to look out for?
Rachel

Related

migrating from bootstrap 3.0.2 to 3.4.1

i searched google but couldn't find any migration guide.
I've working website that is in Bootstrap 3.0.2, I am upgrading it to Bootstrap 3.4.1 because of the vulnerabilities found in <3.4.1, I know I may have to give my code a major revamp to migrate it. I just want to know is it safe to use bootstrap 3.4.1 ? or migrate ot v4 ?
also can you point me to any migration guide for bootstrap v3.0.2 to 3.4.1.
If you do decide to go forward to v4 I would recommend going straight to v5 instead, the latest version. It is a lot more stable with not as much JS (even though v4 was very good).
v4 and v5 are not that different really, but the differences between v3 and v4 are huge. Most of the time this is coming down to the way attributes are detailed. In v3 navbar for example two of the attributes were data-toggle and data-target. From v4 onwards these became data-bs-toggle and data-bs-target.
I suspect those changes will be the biggest thing to do, otherwise it might not take as long as you think.

Frontend users with Bolt 4

I moved to Bolt 4 (from Bolt 3.7) and would like to implement front-end user to give them access to private contents of the website. Previously, I used the extension BoltAuth/Auth, which worked like a charm.
Now in Bolt 4, there is no easy way like in Bolt 3.x to install an extension from the back-end page. I found out I could use composer to do so, but I run in the following problem:
> composer require "boltauth/auth:3.0.1"
[InvalidArgumentException]
Could not find a matching version of package boltauth/auth. Check the package
spelling, your version constraint and that the package is available in a stability
which matches your minimum-stability (stable).
Either I do something wrong, or the extension is not compatible with Bolt 4.1.
Could someone tell me if there is a way to make this extension work? Or alternatives for front-end user management?
EDIT: I'm now using the bolt/users extension as it can be used to add a ROLE_MEMBERS and let users login for the frontend.
Yes, unfortunately the architecture for plugins (mainly driven by the move from Silex to Symfony) changed completely between 3.x and 4.x and it's not really feasible to release new 4.x compatible versions.
So for now there won't likely be updates to BoltAuth. It may be worth joining the Slack community and seeing if any other developers are working on 4.x compatible solutions to the client login scenarios.

Can JHipster be used to maintain a project, or just initially generate it?

Most information on the web demo generating a JHipster project, don't show a maintenance cycle using the tool. It's rather difficult to find a non-feature if that is the case. Thought I'd ask of those with experience with the tool, and hopefully document the feature or non-feature.
You can use the upgrade sub-generator to upgrade your JHipster app between releases. However, as your app grows and becomes more custom, it might make sense to use JHipster to generate your app, and then upgrade your dependencies as needed.

Node.js and ACL

I've chosen for my project Node.js+Express+Mongoose. Until now, I didn´t need to use ACL, but in this phase of project a I need to implement this.
NPM contains a few modules, but which one to choose?
Please tell me your experiences with ACL (Node.js+Express+Mongoose).
And If you know any tutorial it would be great :), but it's not so needed, what I exactly need to know what Node.js programmers are using for ACL.
Last possibility is write own acl-middleware, it could be interesting experience for me. I suppose :)
https://npmjs.org/package/acl
The most used ACL module. It has Express middleware for protect resources and mongo support too..
Update 9.2020:
the acl package has not been updated in 2 years
there is a fork with recent changes: https://github.com/flash-oss/node_acl
acl package has not been updated for the last 2 years. I’m the author of CASL - isomorphic permission management for JavaScript - https://github.com/stalniy/casl
According to npm trends it’s the mostly used library nowadays - https://www.npmtrends.com/acl-vs-#casl/ability
By the way it makes an integration with MongoDB and mongoose really easy!

What happen to Subsonic...seen like no futhere development

It has been a long time since Subsonic have stopped at version 3. Any new development going on? Thanks
We're releasing version 3.1 soon. If you take a look at the github repository at http://github.com/subsonic/SubSonic-3.0 you'll see that the project is not dead at all. You'll find a roadmap for 3.1 (scattered over a couple of threads) on google groups http://groups.google.com/group/subsonicproject
The github repos have very little activity and the referenced url for the website is dead (goes to a parked domain). Safe to say Subsonic is most likely dead at this point.
The original author of Subsonic, robconery, has created Massive, a micro-ORM implementation using the new dynamic keyword. While not necessarily intended to replace Subsonic, this is where development effort by him appears to be going.

Resources