Boris Aramis Aguilar Rodríguez
8058dc2ce6
Update imageutils.py
...
Adding a padding statement into imageutils, the goal is to allow a padding transparent/white border on pictures when being resized in different aspect ratio.
2016-03-01 20:24:28 -06:00
mdipierro
218817753a
myconf.take, myconf.get
2016-02-26 14:20:18 -06:00
preactive
f79b38a335
Update ldap_auth.py
...
In regards to comments in:
https://github.com/BuhtigithuB/web2py/commit/0036d9c45bdf476d858fa00dd69e854c4623858b
And:
https://github.com/web2py/web2py/issues/1178
2016-02-04 13:41:49 -08:00
mdipierro
7aff79ca57
Merge pull request #1172 from dmatic/master
...
Fixed error with oneall login when login provider doesn't send user's full name
2016-01-29 22:20:51 -06:00
Dragan Matic
2cb55b52e9
fixed error with oneall login when login provider doesn't send full name
2016-01-17 22:45:38 +01:00
Richard Vézina
005e565a11
PEP8 enhancements, improve docstring and some vars rename
2016-01-14 12:28:05 -05:00
mdipierro
5132616c6c
check_all
2016-01-05 07:29:53 -06:00
niphlod
12acdb51d7
new redis toolset to use with web2py
...
This is a refactor of everything web2py uses with redis.
Specifically:
- a refactored redis_cache.py that fixes #958 , allowing a "fail
gracefully" behaviour in case redis is not available
- a refactored redis_session.py that blocks less with with_lock=True
(although still not optimal)
- a new (and NEEDED) redis_utils.py that serves as the base for
everything else, allowing an RConn object that you can freely use as a
redis.StrictRedis connection, and that you can override in case you're
using a different library (or that web2py will use in case redis-py
won't be the de-facto standard around)
- a newly - and much anticipated - redis_scheduler.py. It's a slip-in
replacement for the standard scheduler that uses redis for workers
coordination. Feel free to dig in the code and improve it.
For redis_cache and redis_session changes are BREAKING. It means that
users will need to change the import locations and tune a bit the code.
Now every module depends on an gluon.contrib.redis_utils.RConn object
(or similar) that in turns is very similar to a redis.StrictRedis one.
The redis instance is EXTERNAL to the modules themselves (no more "host,
port, db, password" parameters in RedisCache or RedisSession)
See the relevant docstrings for usage examples
2016-01-02 23:15:00 +01:00
mdipierro
8e4ea3497b
fixed issue #1138 , ldap and python 2.6.x problem
2015-12-24 09:15:19 -06:00
mdipierro
b5e12031c5
added Auth(db,jwt=dict(secret_key='secret')) and auth.allows_jwt() before auth.requires_login()
2015-12-18 19:12:41 -06:00
Jeremie Dokime
9b17048882
Fix oauth2 renew token
...
When getting an oauth token, we must use code or refresh_token but not twice.
2015-12-07 11:18:59 +01:00
mdipierro
73061e3bf5
Merge pull request #1114 from BuhtigithuB/Improve/ldap-contrib-self-signed-certificate
...
Improve/ldap contrib self signed certificate
2015-12-04 10:42:05 -06:00
mdipierro
721af77c90
Merge pull request #1108 from dokime7/patch-9
...
Send client_secret when get oauth2 refresh_token
2015-12-04 10:38:04 -06:00
mdipierro
b4733e4617
added gluon/contrib/web2py_jwt.py, thanks Niphlod
2015-12-04 10:30:56 -06:00
mdipierro
b51d217d9b
french pluralizaiton rules, thanks Mathieu Clabaut
2015-12-04 10:07:38 -06:00
Hardirc
b2a65dbba4
Support for self-signed certificate LDAPS implementation
2015-12-02 14:18:09 -05:00
Hardirc
d36d4d77f7
replace .has_key() by in, .has_key() is deprecated
2015-12-02 14:04:51 -05:00
Hardirc
c8db6d5fb7
Improve PEP8 and readability
2015-12-02 14:02:27 -05:00
Jeremie Dokime
98a81c9fbd
Send client_secret when get oauth2 refresh_token
...
With some oauth2 providers, the oauth client_secret is required when getting a refresh_token.
2015-11-23 10:10:00 +01:00
Jeremie Dokime
257c514bd4
Add renew token by using refresh_token
...
Handle the refresh_token mechanism to renew the access_token when expire.
2015-10-25 20:48:04 +01:00
mdipierro
874398c38c
Merge pull request #1080 from BuhtigithuB/improve/ldap-auth-more-dry
...
Make ldap_auth a bit more DRY
2015-10-07 13:12:30 -05:00
Richard Vézina
c6a7732d32
Don't update record when values are the same
2015-10-06 14:36:45 -04:00
Richard Vézina
0036d9c45b
Make ldap_auth a bit more DRY
2015-10-06 14:30:50 -04:00
mdipierro
6680ea8ab7
Merge pull request #1061 from nklever/master
...
small changes in sqlhtml.py, validator.py, contrib/spreadsheet.py
2015-09-27 14:39:47 -05:00
Raphael Lechner
39ba9dc1a9
fix unindent lines
2015-09-16 17:12:45 +02:00
Nik Klever
bc267ce17b
Added Column- and Row-Headers to be more flexible with the headers of the
...
spreadsheet.
Added also a boolean "select" parameter for the sheet.cell function which
allows to use a HTML select tag instead of an input tag for this cell.
2015-09-05 15:01:02 +02:00
mdipierro
64e115f442
Merge pull request #1050 from timnyborg/patch-5
...
Update simplejsonrpc.py - move default to method signature
2015-08-21 00:03:24 -05:00
mdipierro
bb2aa29867
fixed google link to viewer in autolinks.py
2015-08-20 14:00:21 -05:00
Tim Nyborg
5030d3144f
Update simplejsonrpc.py
...
Default best placed in method signature,
Thanks to cassiobotaro for pointing it out
2015-08-19 11:59:40 +01:00
mdipierro
93237837ed
Merge pull request #1042 from cassiobotaro/master
...
Allow change quality when RESIZE
2015-08-18 11:52:52 -05:00
mdipierro
85bbe15758
Merge pull request #1030 from josedesoto/issue/1028
...
fixed issue #1028 , saml2 bug
2015-08-18 11:01:46 -05:00
mdipierro
5816481a44
Merge pull request #1029 from timnyborg/patch-3
...
simplejsonrpc: Fix TypeError when data is None
2015-08-18 11:01:19 -05:00
Cássio Botaro
8f7acd8154
Allow change quality when RESIZE
2015-08-13 02:12:49 -03:00
mdipierro
048f275076
fixed TLS support in ldap, thanks backseat
2015-08-01 00:21:56 -05:00
Tim Nyborg
5ee8c9c930
simplejsonrpc: Fix TypeError when data is none
2015-07-27 12:07:26 +01:00
Jose de Soto
6659bc0793
fixed issue #1028 , saml2 bug
2015-07-27 13:05:36 +02:00
rserbitar
eac12d3a57
Fix compatibility with Tornado 4
...
http://stackoverflow.com/questions/24851207/tornado-403-get-warning-when-opening-websocket
2015-07-01 12:06:52 +02:00
Juozas Masiulis
4c61c0962d
fix cPickle not defined error
2015-05-28 14:29:43 +03:00
niphlod
cd1d6c5af1
redis multi-app. Thanks Lisandro for spotting it
...
redis_cache didn't play well with multiple apps for a silly mistake.
Glad that Lisadro pointed out
2015-05-21 22:26:04 +02:00
mdipierro
e943aa9c25
minor compatibility fix in ldap_auth
2015-04-26 08:39:47 -05:00
stephenrauch
0ad50630f2
Fix ldap_auth for NoSQL databases
...
Unroll query with join to two queries when working with DB's which don't
support joins.
2015-04-24 11:02:18 -07:00
Hardirc
19c83d4ad6
Update gluon/contrib/pypyodbc.py 1.3.0 -> 1.3.3
2015-04-13 18:43:48 -04:00
mdipierro
a921751e8e
stripe form bs3 compatible, disabled cache.ram max utilization
2015-04-05 18:17:27 -05:00
mdipierro
343ebf1714
Merge pull request #897 from BuhtigithuB/update-contrib/feedparser-py
...
Update gluon/contrib/feedparser.py from 5.1.2 -> 5.1.3
2015-04-02 16:23:34 -05:00
Richard Vézina
6187c89ba6
Update gluon/contrib/feedparser.py from 5.1.2 -> 5.1.3
2015-04-02 13:58:48 -04:00
niphlod
e6c3410639
not needed anymore module
2015-04-01 20:55:47 +02:00
mdipierro
4f64ffb606
Merge pull request #868 from Kalmuraee/master
...
Arabic Translation Added
2015-03-23 10:47:13 -05:00
niphlod
3291075384
fixes issue with deleting sessions
2015-03-21 21:54:29 +01:00
mdipierro
023ee43245
minor changes to scrips and contrib
2015-03-19 12:22:21 -05:00
niphlod
69e9f9867a
updated ipaddr to the latest version
...
The API changed just a little bit, so a small refactor of validators.py
was needed
2015-02-23 21:49:00 +01:00