[web2py] Re: table field with reference to other in read-only mode doesn't appear right

2011-01-31 Thread szimszon
My fault. I tried with nightly and not trunk :-o Trunk works just fine :) thank you! On febr. 1, 03:07, Massimo Di Pierro wrote: > this should now be fixed in trunk. Please check it. > > On Jan 31, 12:46 am, szimszon wrote: > > > > > > > > > The error

[web2py] Re: table field with reference to other in read-only mode doesn't appear right

2011-01-31 Thread szimszon
Oh yes and the original error isn't present anymore... BigTNX :) On febr. 1, 07:57, szimszon wrote: > My fault. I tried with nightly and not trunk :-o > > Trunk works just fine :) thank you! > > On febr. 1, 03:07, Massimo Di Pierro > wrote: > > > > > >

[web2py] Error in templating system

2011-03-04 Thread szimszon
web2py™ Version 1.92.1 (2011-02-16 15:04:40) Python Python 2.5.2: /usr/bin/python Traceback (most recent call last): File "/home/szimszon_nfs/web2py/gluon/restricted.py", line 186, in restricted ccode = compile2(code,layer) File "/home/szimszon_nfs/web2py/gluon/restricted.py", lin

[web2py] Re: Error in templating system

2011-03-04 Thread szimszon
Yes I already did it and I mentioned it in the code above but the point is that it was working until I upgraded the framework. The original syntax was good too I mean I can't see what is wrong with it. So it's a backward compatibility issue :( On márc. 4, 10:58, pbreit wrote: > Maybe try closin

[web2py] mysql dal.py boolean field

2011-03-04 Thread szimszon
I had a mysql table with boolean field but there was some rows with empty fields than I got that: Traceback (most recent call last): File "applications/serveradmin/compiled/controllers_integrity_ftp.py", line 191, in ftp File "/usr/local/web2py/gluon/dal.py", line 4605, in select return self.db._a

[web2py] Re: Error in templating system

2011-03-04 Thread szimszon
Don't know could be but The interpreter which checks the syntax about all the pass-es are in right place give me the syntax error. What I try to say that first I visit the page the msg is None so the "if" branch isn't executed at all. If I just byte compile the app I have the same syntax error me

[web2py] Weird self submitting forms all checkbox is checked after submit

2011-03-04 Thread szimszon
If I Submit form data which contains checkbox (boolean) field I got back the form with all checkbox selected... The database operation is ok. Just the returning form is displayed with all checkbox checked...

[web2py] Re: Error in templating system

2011-03-05 Thread szimszon
I thought that after the "=" I could only write one string/variable/ function with string output which is wrapped in write... Anything else I could put in non-python block... Never mind. I can live with what you choose as solution :) Just I say it was working before :-o I will stay with web2py an

[web2py] Re: Weird self submitting forms all checkbox is checked after submit

2011-03-05 Thread szimszon
With the new 1.93.2 there is no issue... :) On márc. 4, 15:29, Massimo Di Pierro wrote: > Which web2py version? I cannnot reproduce it? If latest, can you post > some code to reproduce it? > > On Mar 4, 6:12 am, szimszon wrote: > > > > > > > > > If I S

[web2py] Re: Error in templating system

2011-03-05 Thread szimszon
It was on purbose. On márc. 5, 20:18, pbreit wrote: > There was also a suggestion that the space before the = might have been an > issue: {{ =XML(msg)}}  Is that space in there on purpose or by accident?

[web2py] Funny behavior with referenced Field display if writable=False

2011-03-27 Thread szimszon
Hi! I use Version 1.94.6 (2011-03-27 18:20:38). I have in db: - db.define_table( 'mail_domain', Field( 'domainname', 'string', label =

[web2py] Re: Funny behavior with referenced Field display if writable=False

2011-03-29 Thread szimszon
Any progress / comment? On márc. 27, 22:04, szimszon wrote: > Hi! > > I use Version 1.94.6 (2011-03-27 18:20:38). > > I have in db: > - > db.define_table( 'mail_domain', >                                                      

[web2py] proposal enhancing email_auth

2011-03-31 Thread szimszon
I need email_auth for various domain names. Like @oregpreshaz.eu @kopaszhegy.hu... But there is a limitation in email_auth: if not email[-len(domain):]==domain: return False So you have to specify one and only one domain. Here is my proposal: 17,18c17,26 < if not em

[web2py] Re: proposal enhancing email_auth

2011-03-31 Thread szimszon
sent :) On márc. 31, 15:35, Massimo Di Pierro wrote: > ok. please send me an email with the modified time as an attachment. > > On Mar 31, 2:09 am, szimszon wrote: > > > > > > > > > I need email_auth for various domain names. Like @oregpreshaz.eu > &

[web2py] IS_NOT_IN_DB not working with Set?

2011-03-31 Thread szimszon
), signature, migrate = settings.migrate, ) db.mail_alias.alias.requires = IS_NOT_IN_DB( db( ( db.mail_account.mai

[web2py] Re: Funny behavior with referenced Field display if writable=False

2011-04-04 Thread szimszon
Can I help with something? On márc. 30, 08:55, szimszon wrote: > Any progress / comment? > > On márc. 27, 22:04, szimszon wrote: > > > > > > > > > Hi! > > > I use Version 1.94.6 (2011-03-27 18:20:38). > > > I have in db: > >

[web2py] Re: Funny behavior with referenced Field display if writable=False

2011-04-14 Thread szimszon
ssimo Di Pierro wrote: > It would help to have a smaller example to understand the problem > better. Can you reproduce it with one table with 1-2 fields and one > action? > > On Apr 4, 5:30 am, szimszon wrote: > > > > > > > > > Can I help with something?

[web2py] Re: Funny behavior with referenced Field display if writable=False

2011-04-22 Thread szimszon
With Version 1.94.6 (2011-04-21 04:20:18) -- nightly build the problem is still persist...

[web2py] Re: new web2py version

2011-04-22 Thread szimszon
File "/home/szimszon/fejlesztes/sajat/web2py/applications/mailadmin/models/menu.py" <http://localhost:8000/admin/default/edit/mailadmin/models/menu.py>, line 9, in ( T( 'Új domain' ), URL( 'default', 'domain' ).xml() == URL().xml(), URL

[web2py] Re: new web2py version

2011-04-22 Thread szimszon
Okay. No problem. I mentioned just because the default app. had that code too :-o

[web2py] Re: Funny behavior with referenced Field display if writable=False

2011-04-25 Thread szimszon
With 1.95.1 is the same :(

[web2py] Re: Funny behavior with referenced Field display if writable=False

2011-04-26 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=248

[web2py] text field display when writable=False

2011-05-03 Thread szimszon
Is there a way to replace \n with and space with in the displayed value of text field if the field is writable=False and displayed in crud form: db.define_table('some_table', Field('some_text','text',writable=False) ) crud.update(db.some_table,request.args(0))

[web2py] Re: text field display when writable=False

2011-05-03 Thread szimszon
I need it only writable=False I need to display it like: " some text other text another line " but I got only: "some textother textanother line"

[web2py] Re: text field display when writable=False

2011-05-04 Thread szimszon
Works. Thank you!

[web2py] Re: compressed field

2011-05-04 Thread szimszon
But there could be a situation you don't own the database server...

[web2py] Re: text field display when writable=False

2011-05-04 Thread szimszon
Hmmm... not exactly good. I had to make a function def replace_to_html( s ): try: return XML( s.replace( '\n', '' ) ) except: return s because s is None it has no replace function... And call: db.some_table.some_text.represent = lambda s: replace_to_html( s )

[web2py] Re: compressed field

2011-05-04 Thread szimszon
Than we just need to have SQLCustomType documented (be stable and backward compatible:) and/or made a crypt db field type basic as string, text... :)

[web2py] Re: date to datetime

2011-05-12 Thread szimszon
import datetime datetime_object=datetime.datetime.combine(row.datum_start,datetime.time(0))

[web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread szimszon
With this little app you can share some files with everybody on net without authenticating - There is an authenticated user who can create upload sets. He or she can specify how many files can be uploaded and how long can somebody download or upload them. - He or she can specify

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread szimszon
May I ask you a hint about how to do it? :-o I shall try...

Re: [web2py] I created a little app to be able to share some files over the net without authentication

2011-06-01 Thread szimszon
Thanks. Done. http://web2py.com/appliances/default/show/78

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread szimszon
- URL(...,user_signature=True), LOAD(...,user_signature=True) can sign urls and @auth.requires_signature() will check the signature for any decorated action. Sorry for a stupid question but what is an url signature how does it work?

[web2py] Re: web2py 1.96.1 is OUT

2011-06-01 Thread szimszon
Thanks

[web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-08 Thread szimszon
I updated the app and uploaded the new already to http://web2py.com/appliances/default/show/78 Changelog 110608 - data about the file downloads - authorized user can delete individual uploaded file - separate code for download and upload urls

Re: [web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-08 Thread szimszon
Forget to mention that old records without separate download code (uuid) doesn't get filled if it is accessed so earlier upload sets files can't be downloaded. You have to add the uuid by hand with appadmin. Sorry for that.

Re: [web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-08 Thread szimszon
Stupid bug :( fix for broken download link in the uploaded files datapage (if you are authenticated you can modify the uploaded file trough crud form. That link for download was broken) And two settings are added to 0.py: - settings.default_valid_download_days = 7 - settings.default_vali

Re: [web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-08 Thread szimszon
Oh and the - settings.verzion_number='110608.a' added too to 0.py Need some sleep :-o

[web2py] normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread szimszon
Has somebody looked at it: http://code.google.com/p/web2py/issues/detail?id=292 ?

[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread szimszon
OK. I just do not know if creating an issue is enough or should I mention it here... Take time :)

[web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-23 Thread szimszon
Update of the app: Changelog 110623 - generating MD5Sum with hashlib for uploaded files - little design change

[web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-24 Thread szimszon
Codes are in github: https://github.com/szimszon/Temporary-storage

Re: [web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-25 Thread szimszon
Okay. I put a GPL3 in it. Is that okay? :) I not really care. :) This is just for fun. So fork it! Submit pull requests! Make it more fun! And tell me if you like it :-D

[web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-26 Thread szimszon
Code updated to support python2.5 in generating the md5 checksum. Thanks Peter.

[web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-27 Thread szimszon
Changelog 110627 - you can make the upload and download uuid's writable if you set the - settings.uuid_writable = True in the file 0.py

[web2py] plugins and languages

2011-06-30 Thread szimszon
Hello All! See I right that the plugin system can't handle language files for the plugins or I miss something? It could be good to be able to have the language files for plugins...

Re: [web2py] plugins and languages

2011-06-30 Thread szimszon
Did not work. And admin did not recognize it too...

[web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-30 Thread szimszon
Minor update: 110630 display the number of the uploadable and the uploaded files on upload group list 110628 the upload and downloaed links of the upload groups has now a title='...' with the best before date And *Like* button on https://trac.oregpreshaz.eu/linux/wiki/ul Could we have a down

[web2py] Re: web2py 1.98.2 is OUT

2011-08-05 Thread szimszon
Issue 292 is still there [normal and lazy virtual field behavior] http://code.google.com/p/web2py/issues/detail?id=292

[web2py] Re: AD LDAP manage_user problem

2013-06-04 Thread szimszon
It's like you do not have a "db" DAL object. Where is your db connection settings? 2013. június 3., hétfő 23:22:30 UTC+2 időpontban mrendon a következőt írta: > > Thanks! Is this it? > > Traceback (most recent call last): > File "/home/www-data/web2py/gluon/restricted.py", line 212, in restricte

[web2py] Re: Encrypting/decrypting db values

2013-06-27 Thread szimszon
+1 2013. június 25., kedd 22:23:32 UTC+2 időpontban Massimo Di Pierro a következőt írta: > > Should we include decrypt(key,data) and encrypt(key,data) in gluon.utils? > > On Tuesday, 25 June 2013 13:42:29 UTC-5, Niphlod wrote: >> >> sorry, cut&paste error. >> >> >> >> import gluon.contrib.aes as

Re: [web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-02 Thread szimszon
Could you try setting the logging_level to debug? from gluon.contrib.login_methods.ldap_auth import ldap_auth auth.settings.login_methods.append(ldap_auth(mode='ad', bind_dn='userName', bind_pw='passWord', manage_groups=False, server='serverName', base_dn='ou=OU,ou=OU,dc=DC,dc=DC', lo

[web2py] Re: Latest Trunk - problem with auth(session) and login using 'remember me'

2013-08-22 Thread szimszon
Hi! It's still broken for me. googlecode 7a1ff6228799 I have a session in db. If I didn't check the Remember me than I get Traceback (most recent call last): File "/home/gyszabolcs/fejlesztes/web2py/gluon/restricted.py", line 217, in restricted exec ccode in environment File "/hom

[web2py] Re: Latest Trunk - problem with auth(session) and login using 'remember me'

2013-08-22 Thread szimszon
enew*(*clear_session*=not self.*settings*.* keep_session_onlogin*)* 2013. augusztus 22., csütörtök 10:29:03 UTC+2 időpontban szimszon a következőt írta: > > Hi! > > It's still broken for me. > > googlecode 7a1ff6228799 > > I have a session in db. If I didn't check

[web2py] Re: Latest Trunk - problem with auth(session) and login using 'remember me'

2013-08-22 Thread szimszon
Seems to work. Tnx! 2013. augusztus 22., csütörtök 11:36:16 UTC+2 időpontban Massimo Di Pierro a következőt írta: > > Please try again. Thanks for checking this. > > On Thursday, 22 August 2013 03:29:03 UTC-5, szimszon wrote: >> >> Hi! >> >> It

Re: [web2py] Re: Some forms need to be submitted multiple times.

2013-09-22 Thread szimszon
Hi! I have some apps where I usually do multiple things simultaneously or I have to look at some page for information (page with form too) and copy&past to the first. But I have to reload the first page because the single form key. It can be really annoying :( So if it could be change I'm for

Re: [web2py] Re: Some forms need to be submitted multiple times.

2013-09-22 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=1688 Thanks. 2013. szeptember 22., vasárnap 19:33:22 UTC+2 időpontban Massimo Di Pierro a következőt írta: > > Please open a ticket. I have an idea about what to do. > > On Sep 22, 2013, at 12:31 PM, szimszon wrote: > > Hi! &g

[web2py] disk cache problem

2013-11-26 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=1791&thanks=1791&ts=1385453629 I have an app with lot of disk cache usage in selects after 2.7 - don't know exactly the exact version :( - I got a lot of trouble with it, sometimes the app just wait and if I try disk. Or if I make a cache.disk.f

[web2py] Re: disk cache problem

2013-11-27 Thread szimszon
Hello! Nobody has problem with disk cache? 2013. november 26., kedd 9:16:31 UTC+1 időpontban szimszon a következőt írta: > > http://code.google.com/p/web2py/issues/detail?id=1791&thanks=1791&ts=1385453629 > > I have an app with lot of disk cache usage in selects af

[web2py] Re: disk cache problem

2013-11-28 Thread szimszon
usr/lib/python2.7/shelve.py", line 104, in __len__ return len(self.dict) ValueError: __len__() should return >= 0 2013. november 27., szerda 10:53:05 UTC+1 időpontban szimszon a következőt írta: > > Hello! > > > Nobody has problem with disk cache? > > 2013. november 26.

[web2py] Re: request.user_agent().is_mobile

2013-11-28 Thread szimszon
I had that with 2.7.x too. I changed all my app to user_agent()['is_mobile'] :-o 2013. november 28., csütörtök 20:55:14 UTC+1 időpontban mr.freeze a következőt írta: > > Did request.user_agent() change from a Storage object to dict? > request.user_agent().is_mobile is throwing errors for me on

[web2py] Re: Important New Year News: Edison Award

2014-01-19 Thread szimszon
Good luck! :) Hajrá! 2014. január 19., vasárnap 22:49:04 UTC+1 időpontban step a következőt írta: > > Yes! Good luck Massimo and web2py, go go go > > On Saturday, January 4, 2014 5:08:38 AM UTC+1, Massimo Di Pierro wrote: >> >> Web2py/me have been nominated for the Edison Award. Please wish web2py

[web2py] Re: Email and PGP

2014-01-28 Thread szimszon
Could you please print mail.err after the failed send? 2014. január 28., kedd 14:22:59 UTC+1 időpontban horridohobbyist a következőt írta: > > As per the web2py book, I've installed python-pyme and created the key > files (for sender 'my_h...@gmail.com '). I have the > following code: > >

[web2py] Re: Email and PGP

2014-01-28 Thread szimszon
Sorry, mail.error :-o my bad. 2014. január 28., kedd 14:35:55 UTC+1 időpontban horridohobbyist a következőt írta: > > AttributeError: 'Mail' object has no attribute 'err' > > > On Tuesday, 28 January 2014 08:25:43 UTC-5, szimszon wrote: >> >> Could

[web2py] Re: Email and PGP

2014-01-29 Thread szimszon
les with gpg for sender >> "my_h...@gmail.com". >> By default, they're created in my home directory, so I moved the .gnupg >> folder to /home/www-data/ and chown'd it and its contents to >> "www-data:www-data". >> >> I don'

[web2py] Re: Email and PGP

2014-01-29 Thread szimszon
* email *without > errors*. > > Thanks. > > On Wednesday, 29 January 2014 03:11:55 UTC-5, szimszon wrote: >> >> If you list your private keys is there a key for 'my_h...@gmail.com'? >> >> (gpg --list-secret-keys) >> >> And yes you need to have re

[web2py] Re: Email and PGP

2014-01-29 Thread szimszon
care whether the receiver > can decrypt the message. Surely web2py can send an encrypted email to > anybody without a public key... > > Alternatively, can I send an encrypted email to myself, since my public > key should already be in my keyring? Ultimately, that's what I want to do

[web2py] Re: Email and PGP

2014-01-29 Thread szimszon
r the receiver > can decrypt the message. Surely web2py can send an encrypted email to > anybody without a public key... > > Alternatively, can I send an encrypted email to myself, since my public > key should already be in my keyring? Ultimately, that's what I want to do, >

[web2py] Re: Email and PGP

2014-01-30 Thread szimszon
I think the problem here is - The key was found but the can_sign property is set to False but I can't find how to set it... :( 2014. január 30., csütörtök 11:55:39 UTC+1 időpontban Alan Etkin a következőt írta: > > Okay, looks like nobody can help me. I guess not that many people use PGP >>

<    1   2   3   4