cccaballero
1ecf36a027
Added dict based meta generation
2014-06-24 09:49:46 -04:00
mdipierro
489646f178
Merge pull request #442 from bunnyhugdev/master
...
Prevent error in restful decorator from swallowing up stacktrace
2014-05-16 22:24:39 -05:00
Joel Rathgaber
4ff63694c7
Prevent error in restful decorator from swallowing up stacktrace
2014-05-13 12:03:46 -06:00
Jeremie Dokime
9892d29bb9
Better HTTP code for method not supported
...
Change HTTP code to raise from 400 to 405 (Method Not Allowed).
2014-05-12 16:54:18 +02:00
mdipierro
f71d9bb4b0
cgi.parse_qs deprecated -> urlparse.parse_qs, thanks BuhtigithuB
2014-05-07 17:04:34 -05:00
BuhtigithuB
df0db657a7
PEP8 improvements white space here and there
...
I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
2014-05-02 15:27:26 -04:00
mdipierro
c5b996c8b1
fixed problem with too many sessions
2014-03-03 08:14:36 -06:00
mdipierro
e21aca045a
fixed possible problem with session
2014-02-20 22:23:39 -06:00
niphlod
41a4de081f
more docstring fixes
2014-01-29 23:01:52 +01:00
mdipierro
42de43d052
fixed 1814:session.connect: parameter migrate=False has no effect, thanks lucmurer
2013-12-14 20:03:35 -06:00
niphlod
92ab6dc635
fix issue 1780
2013-11-25 22:46:27 +01:00
Massimo
bb4f3d6e1a
fixed issue 1755:IE11 vs gluon.contrib.user_agent - 'browser' key not existing anymore
2013-10-31 10:19:07 -05:00
Massimo
5f9d8a9cc2
no more if len(dpost)
2013-09-24 13:37:25 -05:00
mdipierro
5a12a7fb31
manually committed pull 221, update vars only if FieldStorage holds actually something, thanks Niphlod
2013-09-21 18:15:27 -05:00
Joel Rathgaber
13f8b1a10c
Edited cookie handling code when using a db to store sessions
...
- Session id cookie is always sent back to client in response
- When no cookie is sent in as a request, a new session id is created
2013-09-20 13:29:50 -06:00
mdipierro
bd452f90b2
session._fixup_before_save
2013-09-20 08:36:52 -05:00
mdipierro
2b1f150f02
relaxed REST conditions
2013-09-19 22:18:45 -05:00
mdipierro
59a7db56a4
fixed major problem with persistance of session.flash
2013-09-19 20:51:11 -05:00
mdipierro
01e5107a96
possible fix to issues 1682, REST and DELETE
2013-09-19 18:33:27 -05:00
mdipierro
8765dbbe0f
an attempt to fix 1685
2013-09-19 18:26:35 -05:00
mdipierro
d125b0b95b
expires can be str or datetime
2013-09-19 18:03:35 -05:00
mdipierro
1d2fc4b8f5
simpler logic in parse POST but not functional difference
2013-09-19 17:47:29 -05:00
mdipierro
ed9def985e
R-2.6.1
2013-09-12 17:08:52 -05:00
niphlod
5951ce2aef
fixed redis_session.py, thanks @Giovanni for pointing
2013-09-09 21:32:26 +02:00
mdipierro
69d5fb1d64
fixed link in toolbar, issue 1670
2013-09-09 14:17:25 -05:00
mdipierro
11d0c28f91
toolbar and ajax fix patch
2013-09-05 09:48:40 -05:00
niphlod
bf6cf86987
send session cookie always. Please test it carefully with session data stored in cookies.
2013-08-29 00:43:34 +02:00
mdipierro
b9d681295f
new attempt at fixing session but commented test which fails
2013-08-27 22:26:04 -05:00
mdipierro
a767799b36
fixed memdb(Client()) problem
2013-08-27 18:20:25 -05:00
mdipierro
31c1e9468c
another possible solution to issue 1524, without monkey patching
2013-08-27 16:12:23 -05:00
mdipierro
a08cd3e8ff
monkey_patched_pickle
2013-08-27 15:55:01 -05:00
mdipierro
d43bea6713
fixed typo in globals, thanks Niphlod
2013-08-25 07:40:29 -05:00
mdipierro
5d67db3bfd
fixing more bugs in new session handling
2013-08-22 04:32:47 -05:00
mdipierro
18601c4f72
solved problems with auth and cookie expire
2013-08-22 02:38:49 -05:00
mdipierro
7936ab8ef9
fixed env['QUERY_STRING'], thanks Anthony
2013-08-22 02:19:34 -05:00
Michele Comitini
6a297d854b
error on partition usage fixed
2013-08-21 12:56:49 +02:00
Michele Comitini
c9d69c0219
session id null on cookieless client.
2013-08-21 12:17:12 +02:00
niphlod
ab58af3c87
figure out correctly the content-type for request.restful. Thanks @mcabo
2013-08-20 21:23:18 +02:00
mdipierro
6448518ce0
allow to change session in db to session in file
2013-08-20 11:15:51 -05:00
mdipierro
dee4e6a980
new session logic
2013-08-20 10:58:36 -05:00
mdipierro
c49ae3df04
fixed again issue 1630:memdb id error -- tries casting None to long.
2013-08-19 08:04:33 -05:00
mdipierro
2cdcdaf932
possibly fixed Issue 1630:memdb id error -- tries casting None to long., thanks Luca
2013-08-15 09:21:58 -05:00
niphlod
17dcd836dd
fixed issue with request.body. Needs refactoring
2013-08-13 23:44:59 +02:00
mdipierro
b0e9140508
web3py backport of lazy get_vars,post_vars and vars, thanks Niphlod (may need more testing)
2013-08-06 06:46:07 -05:00
niphlod
bb7715445a
fix issue 1592
2013-07-17 23:18:04 +02:00
mdipierro
324b71c3af
fixed issue 1582:Cannot login_bare in a web2py shell, thanks Alan
2013-07-13 19:10:12 -05:00
mdipierro
3407cf6584
made the WSGI compatibility layer lazy, nobody uses it anyway and it may be broken, probably should be removed
2013-06-30 09:19:26 -05:00
Michele Comitini
c8cb3c94ef
added empty line
2013-06-24 00:57:24 +02:00
Michele Comitini
285811f852
check that session_id exists before trying to renew session from the db
2013-06-24 00:20:11 +02:00
mdipierro
08f813d670
resynced recent patches, sorry for the mess
2013-06-20 16:44:16 -05:00