> As suggested, if you can't find documentation on something, first trying >> searching this forum, as there are several posts explaining >> decode_credentials (e.g., >> https://groups.google.com/d/msg/web2py/xPREtSr3-PI/xx5EPVrU738J). It has >> nothing to do with database encryption. Rather, it allows you to url-encode >> your database credentials in case they happen to include an "@" character >> (which causes a problem because the DAL uses the "@" character to separate >> the username and password). If you url-encode your credentials, setting >> decode_credentials=True then instructs the DAL to decode the credentials >> after parsing them from the connection string. >> > > Thanks for that. Bad google, and I thought he was my friend. :) >
You can search directly from the Google Groups page (search box at top) rather than using Google Search. But even using Google Search seems to work: https://www.google.com/search?q=web2py+decode_credentials&ie=utf-8&oe=utf-8 > > >> Another strategy is simply to grep the codebase -- in this case, that >> would lead you here >> <https://github.com/web2py/pydal/blob/35dd4fc6f8fb8187e7c08217eebf3074e0d27fbc/pydal/base.py#L400> >> . >> > > I rarely use it because it often returns too much results. > Another approach is to search for the relevant class or function definition. In this case, you know you want the DAL constructor, so a search for "class DAL" would get you to the one and only occurrence of the class definition. Eventually, you start to get to know where things are. Then, if you use an editor/IDE that allows you to quickly jump to classes/functions within files, you can get around very quickly (e.g., in Sublime Text, I would hit CTRL-P and then type "pydalbase@dal" to jump directly to the DAL class definition -- all I need to remember is that the DAL class is defined in the "base.py" file). There is a Github repo for the web2py book >> <https://github.com/web2py/web2py-book>. You are certainly encouraged to >> make contributions to it. I'm not sure if you were using the repo when you >> were working on the translation, but if so, you should have seen the >> existing translation in the repo (or in a pull request if it wasn't merged >> yet). >> > Actually I did, my first. But even in github, as far as I know, there is no > way to know what work forkers are working on and monitor their progress, is > there ? > I see, someone was working on it simultaneously. No, I don't suppose there is a way to know who might be working on what on their own. You can certainly see the list of contributors and forks on Github, but no way to tell who is working on what until they push some commits and submit pull requests. If you plan to make a substantial effort on something, it would probably make sense to first post about it here and maybe also in the web2py-developers Google Group. You might also post an issue about it on Github. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.