Coder Social home page Coder Social logo

Comments (10)

Garito avatar Garito commented on June 3, 2024

Hi!
Clearly it is not maintained
For those 18 people watching this project: is there a more maintained fork or alternative?

Thanks!

from flask-principal.

jaapz avatar jaapz commented on June 3, 2024

Although the lack of activity might indicate that the library is no longer maintained, you might want to wait a bit longer than 17 hours before giving up on it.

Might be a good idea to ping @mattupstate.

from flask-principal.

Garito avatar Garito commented on June 3, 2024

It is not a question of waiting 17 hours o 17 days is the fact that the library is not merging important pull request (at least important for me) and has no merge in 2 years

Actually I've stop using @mattupstate one and choose the one with the pull request I'm interested in

I think that if @mattupstate is not answering this messages is because he is not interested in the library any more

Would be more honest to announce this fact but seems to me fair enought if the info or alternative comes to me (which is the case)

Will left this issue open to give @mattupstate time to react but I considere this repo out of date and unmaintained

If someone is interested in using Flask-principal with MongoDB I'm using this fork: https://github.com/Reddine/flask-principal

from flask-principal.

mattupstate avatar mattupstate commented on June 3, 2024

@Garito Respectfully, it was a holiday weekend in the USA. There was no chance of me responding to your message until this morning. Additionally, clearly we have different ideas as to what the word "maintained" means. Just because I haven't accepted contributions in quite some time doesn't mean the library isn't usable or stable. For instance, you can very easily get around the baked in usage of sessions if you happen to be using MongoDB for you session store:

principal = Principal(use_sessions=False)

@principal.identity_loader
def my_session_identity_loader():
    if 'identity_id' in session and 'identity_auth_type' in session:
        return Identity(session['identity_id'], session['identity_auth_type'])

@principal.identity_saver
def my_session_identity_saver(identity):
    session['identity_id'] = identity.id
    session['identity_auth_type'] = identity.auth_type
    session.modified = True

from flask-principal.

Garito avatar Garito commented on June 3, 2024

I understand you don't responde quick (as I told before)

The point is that instead to show here the code that solves this issue, you could accept the pull request from the repo I point out before that includes this code

This is a strong sign for me of an avandoned repo (this issue is from august 2014)

But, honestly, I'm not interested in a fight of who is right. I'm here to make timefounder, my app. Flask-Principal seems to be a good library to me, I don't care who maintain it, I would help, no matter what, in everything I could

So I have no problem to use this library or another fork, even, if necessary, fork it by myself (obviously I would prefer not to do so) I only need to know where to go to push forward

If you feel offended, sorry, I wasn't that intent at all

So: what is going to be? This fork, the one I point out, another one you could point?

from flask-principal.

mattupstate avatar mattupstate commented on June 3, 2024

I don't believe you need to use a fork as illustrated above.

from flask-principal.

Garito avatar Garito commented on June 3, 2024

Point me the good way

from flask-principal.

Garito avatar Garito commented on June 3, 2024

or the reason why this is a bad one...

from flask-principal.

Garito avatar Garito commented on June 3, 2024

Something?

from flask-principal.

Garito avatar Garito commented on June 3, 2024

I get it
Thanks!

from flask-principal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.