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
Dennis Lutter
@lad1337
the chrome plugins use this json approache too
Torf
@Torf
a simpler way is to say to plugin dev to add to a dictionnary of XDM (in the XDM repo, with pull request) the new strings of his plugin.
and in the future, the dev interface can do the pull request alone, just need to give the strings in a form
Dennis Lutter
@lad1337
'https': {'human': ('https / SSL', 'desc': 'If changed XDM will reboot’)} then the () function will look for the translation thats how it works right now but plugins can’t extend the current language dictonary
wonderfull gitter removed my _
and made it italic
Torf
@Torf
x)
Dennis Lutter
@lad1337
yeah the dev interface could be realy handy
Torf
@Torf
use ` for code, as github markdown
:/
` x3
Dennis Lutter
@lad1337
THEN i want to have the settings section (at least for all the filters) use something like this https://code.google.com/p/blockly/ … (donno if you saw it already)
Torf
@Torf
in order to allow the user to make some algorithm around plugin trigger ?
It's nice, but I don't know if there is a real need of it
Dennis Lutter
@lad1337
in order to define sets of qualities
Torf
@Torf
oh ok
it's a nice idea
I go to sleep, thanks you for this chat :P
good night
Dennis Lutter
@lad1337
kk good night
Torf
@Torf
Hey
Is this possible to use cookies in a plugin ?
I'm thinking about my bookys plugins using html hidden input to store a data instead of cookies... ?
Maybe two funcs (setCookie and getCookie) in Plugin class would be great. These funcs woulds name cookies like "Bookys_Default_MyCookie" and I would use it "get/set Cookie("MyCookie") "
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?
Simon McConnell
@Unthred
Just installed on a synology box and am having some problems anyone able to help?