Commit Graph
100 Commits
Author SHA1 Message Date
Michele Comitini 8e1630843a fix wrong import in default controller of admin app 2016-11-02 00:41:40 +01:00
Michele Comitini 67f85fd631 allow token renewal with http authorization header. 2016-05-31 23:55:58 +02:00
Michele Comitini 95c1a734d1 fix wrong reference to request out of current namespace 2016-05-27 00:23:25 +02:00
Michele Comitini 7d48d6ba03 removed logging leftover 2016-05-10 01:35:22 +02:00
Michele Comitini 4658e172c3 removed forgotten print statement 2016-05-10 01:11:08 +02:00
Michele Comitini 2c26a8c33a make allows_jwt a real decorator. Tests included! 2016-05-10 00:50:33 +02:00
Michele Comitini acab0ad231 auth.settings.*_case_sensitivity support for password retrieval 2015-01-21 01:47:25 +01:00
Michele Comitini 5f636c5ba2 fix headers in SQLTABLE to handle quoted entities 2014-04-24 01:09:23 +02:00
Michele Comitini dcd92daa24 apply same rules as DAL's to find tables and fields in column names 2014-04-23 09:45:22 +02:00
Michele Comitini 55b92e854c use mimemessage method gettype() to extract content-type 2014-03-07 18:01:41 +01:00
Michele Comitini 0c926d60b8 oauth strip encoding part in content-type response from server. 2014-03-07 17:31:20 +01:00
Michele Comitini 310528ea10 added entity_quoting (False by default) parameter to DAL to optionally enable entity name quoting by adapters. 2014-01-28 17:45:15 +01:00
Michele Comitini 14bcad629e quoting of tablenames and field names
fix for wrong sequence name quoting

fix for wrong sequence name quoting 2

reverted test to quoted rname

rname passed asis. freedom in table names and field names. Case sensitivity in field and table names

removed test of allowed char sequence in table and field names, there is no limit anymore

fixed some troubles with postgresql drop(). Better Row.__getitem__(): should not be much slower.  Added a ignore_field_case parameter to allow Field('F')!=Field('f') on databases supporting case sesitivity.

different mysql drivers handled in quoting test.

improved handling of foreing keys

fix with quoted names in SQLTABLE.  fix for ORDER BY

handle references on non "id" fields

check reference expression against table list first
2013-12-03 12:29:30 +01:00
Michele Comitini e0ea9b78f8 simple fix for wrong type detection of SQLCustomTypes 2013-11-05 16:09:42 +01:00
Michele Comitini 50543724d4 fix a docstring 2013-10-25 23:12:43 +02:00
Michele Comitini ad81e641b3 optionally use OrderedDict in place of dict in executesql 2013-10-25 23:09:46 +02:00
Michele Comitini 1451997172 use appropriate module for IPython 1.0.0 2013-10-12 21:52:30 +02:00
Michele Comitini 9f69b9aa42 still support for python2.5 2013-09-24 20:01:51 +02:00
Michele Comitini 18cdade705 added support for python2.5 2013-09-24 18:37:10 +02:00
Michele Comitini 7eb8a604bd update pbkdf2_ctypes.py to upstream 2013-09-24 18:03:49 +02:00
Michele Comitini 53bca4e178 Allow raising a custom Service.JsonRpcException inside a jsonrpc2 action. 2013-09-11 18:01:37 +02:00
Michele Comitini af073a2af1 little speedup for table init 2013-09-06 15:15:34 +02:00
Michele Comitini 59c758368a try to reduce recursion in Row.__getitem__ 2013-09-06 14:48:09 +02:00
Michele Comitini 69ef29bc2d trying to fix some speed issues 2013-09-06 05:56:17 +02:00
Michele Comitini 2baa1af264 fix for recursive selects on lazy tables 2013-09-06 05:09:34 +02:00
Michele Comitini f96f89b14d Merge ssh://github.com/web2py/web2py 2013-09-06 05:01:33 +02:00
Michele Comitini 59c3c981d3 Merge ssh://github.com/web2py/web2py 2013-09-05 11:17:43 +02:00
Michele Comitini 013d9090f4 Merge ssh://github.com/web2py/web2py 2013-08-30 18:00:59 +02:00
Michele Comitini 21b1b0fa48 Merge ssh://github.com/web2py/web2py 2013-08-22 11:09:03 +02: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
Michele Comitini 9228204722 Merge ssh://github.com/web2py/web2py 2013-08-21 11:37:13 +02:00
Michele Comitini 2e2bf0c01b Merge ssh://github.com/web2py/web2py 2013-08-14 21:30:25 +02:00
Michele Comitini 1585af5efb Merge branch 'issue/request_body' of https://github.com/niphlod/web2py 2013-08-14 17:34:42 +02:00
Michele Comitini f8bd8c274c first() backed by limitby to avoid memory and cpu cycles wasting 2013-08-13 09:18:36 +02:00
Michele Comitini e132ccbd51 removed wrong exception that masked other errors 2013-08-13 08:54:26 +02:00
Michele Comitini 39ba6f2357 Merge ssh://github.com/web2py/web2py 2013-08-12 10:06:01 +02:00
Michele Comitini ba7662910a Merge ssh://github.com/web2py/web2py 2013-08-05 15:28:28 +02:00
Michele Comitini 2af872da5a Merge ssh://github.com/web2py/web2py 2013-08-03 12:29:15 +02:00
Michele Comitini 788b9e317f Merge ssh://github.com/web2py/web2py 2013-07-31 23:48:29 +02:00
Michele Comitini 8fb1a954ba oauth1 timeout. pbkdf2_ctypes repository reference in docstring 2013-07-30 23:32:47 +02:00
Michele Comitini be13a8edec Merge ssh://github.com/web2py/web2py 2013-07-30 23:25:22 +02:00
Michele Comitini 60792d943f pbkdf2_ctypes updated from upstream 2013-07-29 18:59:40 +02:00
Michele Comitini c4c331d645 pbkdf2 implemented ctypes wrapper around OpenSSL native implementation: 6x speedup 2013-07-27 16:34:09 +02:00
Michele Comitini 2be04b667c Merge ssh://github.com/web2py/web2py 2013-07-27 16:28:10 +02:00
Michele Comitini cb7a7cec29 Merge ssh://github.com/web2py/web2py 2013-07-23 10:36:47 +02:00
Michele Comitini 73565a4718 Merge branch 'native_json_local_check' 2013-07-22 23:27:49 +02:00
Michele Comitini f52b7def1d Merge ssh://github.com/web2py/web2py 2013-07-22 23:27:35 +02:00
Michele Comitini 50f305ec64 Merge ssh://github.com/web2py/web2py into native_json_local_check 2013-07-22 23:25:54 +02:00
Michele Comitini 7194188e2f Merge branch 'master' of github.com:michele-comitini/web2py into native_json_local_check 2013-07-22 15:33:28 +02:00
Michele Comitini 8d7f6b7b7f improved json validator to output meaningful error 2013-07-22 15:07:12 +02:00
Michele Comitini d2ade8afb1 Merge ssh://github.com/web2py/web2py 2013-07-22 14:51:31 +02:00
Michele Comitini c127dff8e6 Merge ssh://github.com/web2py/web2py 2013-07-22 10:38:28 +02:00
Michele Comitini abf138c842 bugfix native json fields were not supported correcly 2013-07-21 23:32:58 +02:00
Michele Comitini a208e8cc9f changed way to detect missing key since None is already a possible value 2013-07-21 16:42:14 +02:00
Michele Comitini 7a9cf045de Merge branch 'master' of ssh://github.com/web2py/web2py 2013-07-21 16:37:55 +02:00
Michele Comitini f79aea6255 fix for postgresql when using an alias. 2013-07-18 11:42:52 +02:00
Michele Comitini c2ecb2fe5d Merge ssh://github.com/web2py/web2py 2013-07-18 11:25:58 +02:00
Michele Comitini 460b76f527 removed pycrypto leaving only strxor for speeding up pbkdf2 2013-07-18 00:54:44 +02:00
Michele Comitini b8e423b24a Merge ssh://github.com/web2py/web2py 2013-07-17 16:49:43 +02:00
Michele Comitini f8c20760d5 optimizations. Switch to PyCrypto support in pbkdf2 when possible. 2013-07-17 03:01:04 +02:00
Michele Comitini 49c189547b Merge ssh://github.com/web2py/web2py 2013-07-17 02:59:33 +02:00
Michele Comitini dd7aff8136 speedup in case of keyed tables 2013-07-09 09:07:43 +02:00
Michele Comitini 1940ec2eba Merge ssh://github.com/web2py/web2py 2013-07-05 23:12:16 +02:00
Michele Comitini a8a10d6d08 uncommented faster code 2013-07-04 16:01:28 +02:00
Michele Comitini a974c90dcf row speedups 2013-07-04 15:57:17 +02:00
Michele Comitini fa755a64d9 Merge ssh://github.com/web2py/web2py 2013-07-04 15:31:35 +02:00
Michele Comitini 42594fd66f Merge ssh://github.com/web2py/web2py 2013-07-03 18:07:04 +02:00
Michele Comitini ec45a1a942 Merge ssh://github.com/web2py/web2py 2013-07-03 01:21:31 +02:00
Michele Comitini ebee894b59 Merge ssh://github.com/web2py/web2py 2013-06-30 22:09:16 +02:00
Michele Comitini 4b94fe637d restored the regex 2013-06-28 02:07:22 +02:00
Michele Comitini c4bff4437f removed useless comment 2013-06-27 22:01:35 +02:00
Michele Comitini c25f337ffe Row code speedups 2013-06-27 21:58:35 +02:00
Michele Comitini 8cab6b8ac0 Merge ssh://github.com/web2py/web2py 2013-06-25 10:43:25 +02:00
Michele Comitini e311da3441 "reference table.field" type bugfix 2013-06-24 15:23:57 +02:00
Michele Comitini c8cb3c94ef added empty line 2013-06-24 00:57:24 +02:00
Michele Comitini b632970960 record versioning must ignore tables without _id field. 2013-06-24 00:52:15 +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
Michele Comitini 53a5a44def Merge ssh://github.com/web2py/web2py 2013-05-31 15:56:44 +02:00
Michele Comitini ad1d414485 removed automatic orderby on db.table[id] expression and db.table(id) call 2013-05-31 15:55:52 +02:00
Michele Comitini ded9e5886d fix left over docstring after copying. 2013-05-03 17:35:03 +02:00
Michele Comitini d2757294af added support for custom state messages in HTTP 2013-05-03 17:30:25 +02:00
Michele Comitini 39da6a68fe Merge ssh://github.com/web2py/web2py 2013-05-03 17:23:17 +02:00
Michele Comitini e4ba924dc1 changed redirections to status code 302 to avoid issues with forms 2013-05-02 02:43:20 +02:00
Michele Comitini c999b16a27 Merge with upstream. 2013-04-13 00:04:26 +02:00
Michele Comitini 9bda793d46 orderby disabled where not needed 2013-04-13 00:03:43 +02:00
Michele Comitini b67e57f275 avoid ordering on limitby 2013-03-26 15:30:53 +01:00
Michele Comitini 7421eb8068 avoid treating HTTP redirections or status codes generated in jsonrpc2 functions as error exceptions 2013-03-14 21:54:38 +01:00
Michele Comitini 6c7a9a4030 avoid treating HTTP redirections or status codes generated in jsonrpc2 functions as error exceptions 2013-03-14 21:49:05 +01:00
Michele Comitini a078f860d2 basic auth header changed to string from unicode 2013-03-11 18:42:00 +01:00
Michele Comitini 812ba9d52b docstring improved 2013-03-11 14:40:34 +01:00
Michele Comitini 3644d081f6 rfc compliant basic auth 2013-03-11 13:13:08 +01:00
Michele Comitini 554eccc14a fixed request missing current prefix causing wrongly handled exceptions. 2013-03-09 21:29:06 +01:00
Michele Comitini 8cd6928da3 Revert "fixed request missing current prefix causing wrongly handled exceptions."
This reverts commit 8c28be1041.
Removed NEWINSTALL by error.
2013-03-09 21:21:26 +01:00
Michele Comitini 8c28be1041 fixed request missing current prefix causing wrongly handled exceptions. 2013-03-09 21:16:58 +01:00
Michele Comitini 0f4bbecd2a Merge with upstream 2013-03-08 18:36:52 +01:00
Michele Comitini e292f5a869 removed http_x_forwarded for until a better solution is found. 2013-03-08 18:36:06 +01:00
Michele Comitini 33ada924e8 manage https scheme without relying only on wsgi info 2013-02-09 15:06:33 +01:00
Michele Comitini 211462ecbc Merge github.com:web2py/web2py 2013-02-09 02:27:16 +01:00
Michele Comitini 2eeb1e74b2 gluon/tools.py: correct error codes for Jsonrpc-2.0 exceptions.
gluon/contrib/login_methods/oauth20_account.py: removed dead code.
2013-01-25 21:41:14 +01:00