Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2018 20:08
    SpaceboyRoss01 opened #203
  • Jan 15 2018 05:49
    Nonobis closed #59
  • Jan 15 2018 05:49
    Nonobis closed #103
  • Jan 15 2018 05:49
    Nonobis closed #96
  • Jan 15 2018 05:47
    Nonobis closed #123
  • Oct 09 2016 20:06
    psyciknz opened #202
  • Oct 03 2016 20:32
    co5mo commented #201
  • Jul 22 2016 19:06
    lad1337 commented #201
  • Jul 22 2016 18:35
    theman480 opened #201
  • May 26 2016 15:20
    thejinx0r commented #199
  • May 26 2016 15:19
    ericyen commented #199
  • May 26 2016 15:19
    ericyen commented #199
  • Feb 24 2016 05:27
    matthewdias closed #193
  • Jan 25 2016 13:48
    famewolf opened #200
  • Jan 23 2016 16:34
    sukhysall closed #60
  • Dec 28 2015 16:42
    gethubuser24 opened #199
  • Nov 25 2015 22:00
    mruwnik opened #198
  • Nov 18 2015 13:20
    lad1337 synchronize #197
  • Nov 18 2015 13:20

    lad1337 on rewrite_tornado

    new readme (compare)

  • Nov 13 2015 01:09
    lad1337 synchronize #197
Torf
@Torf
Another point, it's seems there is a big cache problem in /ajax/repo as it never update its result (always returns the same value as the first time I request it)
Torf
@Torf
Ok i don't know why, but it's working better now... But it would be great that the "Refresh Repositories" button clear the cache and load fresh values.
Torf
@Torf
if you have the time, look at my pull request #122 that now contains a change about authentification. (see my repository, branch feature/SystemAuth)
I think it's better to separate in a thrid plugin the auth.
I had a SHA512 crypting on the password, I think it's the minimum to do.
Dennis Lutter
@lad1337
i very much like the sha512 for the pw !
Torf
@Torf
hey lad
Dennis Lutter
@lad1337
@Torf why did you remove the login_user and login_password from the config dict in the system plugin ?
or see my line comments at #125
Torf
@Torf
answered at #125
Dennis Lutter
@lad1337
Okay I didn't know you made a auth plugin
we could add all kinds of callback / hooks in XDM with the current scope that would call the appropriate methods in system plugins
Torf
@Torf
huh I don't really understand what you means about callbacks/hooks, do you have an example pls ?
Dennis Lutter
@lad1337

class PluginOne(System):

    def xdm_password_hash(pw):
        # do stuff
        return hash

    def xdm_validate_user_login(some, stuff):
        # do some validation
        return bool(result)

# and somehwere in XDM

for system_p in common.PM.S:
    hashed_pw = system_p.xdm_password_hash(pw)

for system_p in common.PM.S:
    if not system_p.xdm_validate_user_login(user, info):
        return False
else:
    do_login()
we could add these all over the place
Dennis Lutter
@lad1337
@Torf i am ahstonished what you already made … last example would be the auth plugin … the js and callbacks and thats so cool … i guess its a little to much you have to do its just i never thought of stuff like this when i made it
Torf
@Torf
I don't find how to use a method with login and pwd parameters in cherrypy
only got clear pwd and hash it
Dennis Lutter
@lad1337
i just meant it as an example for functions … antoher one would be … mmhh okay i dont have one :/
Torf
@Torf
yeah i understand the example
but I have think about a similar way with a method using auth and pwd (that allow to add some salt easily) and I didn't success
Dennis Lutter
@lad1337
@Torf are you on trello ? i am asking because of https://trello.com/b/e5hmWf2z/core and one manager is boring ^^
krayakin
@krayakin
Hey @lad1337 any suggestions on a best method for handling an oauth request/authorize flow? Trying to add a goodreads watchlist type plugin, and I have a crude one working but it involves some weird middle steps
I'm not very familiar with python at all so this bit is quite foreign to me.
tarnalcock
@tarnalcock
HI All, is this an OK place to ask for support on XDM?
I am trying to debug an issue which I encounter while installing.
Dennis Lutter
@lad1337
don't expect any updates / fixes on the current version ... rebuilding it from the ground up
Hellowlol
@Hellowlol
Looking forward to test the new version :)
Hellowlol
@Hellowlol
@lad1337 any eta on when the rebuild is done?
Squiggley Woo
@Unthred
Just installed on a synology box and am having some problems anyone able to help?