niphlod
1c74afc01b
fixes issue #735
2015-09-03 18:33:54 +02:00
kelson
db5e58e49f
added HttpOnly cookies (default)
...
added unit tests for cookie layout, secure cookies, and HttpOnly cookies
Session.httponly_cookies=False to revert HttpOnly cookies
2015-08-19 11:25:00 -04:00
mdipierro
89cc5a5f70
Revert "added default HttpOnly cookies"
2015-08-18 13:57:44 -05:00
kelson
cf20ce5fae
_js_cookies => not httponly_cookies
2015-08-18 12:25:13 -04:00
kelson
2675e9d229
added default HttpOnly cookies
2015-08-18 10:23:29 -04:00
mdipierro
66d15491ca
Merge pull request #984 from ilvalle/minorfix
...
lazy request.uuid
2015-05-28 23:17:21 -05:00
ilvalle
538f375284
lazy request.uuid
2015-05-28 18:30:06 +02:00
niphlod
5c167907eb
fixes #628
...
response.include_files is now cleaner and easier to maintain
You can specify a tuple of (type, url) to include external assets
without extension (such as the usecase described in #628 )
Added tests for include_files, that was never included in CI tests
2015-05-08 21:51:56 +02:00
Hardirc
bf7bb17f8d
Improve PEP8 globals.py
2015-03-06 21:54:41 -05:00
niphlod
4d9548b1f5
fixes #735 . Review CAREFULLY before merging
2015-02-13 22:54:27 +01:00
niphlod
1b34216072
fixes #769
...
- fixed response.include_files() to behave correctly with
response.static_version_urls
- added response.static_version_urls to admin
- refactored admin URL() usage passing always and correctly 'static'
as the controller
2015-02-04 22:18:42 +01:00
gi0baro
4b337c3e2c
Merge branch 'master' into pydal-pip
...
Conflicts:
gluon/__init__.py
gluon/dal/_load.py
gluon/dal/adapters/base.py
gluon/dal/adapters/google.py
gluon/dal/adapters/postgres.py
gluon/dal/adapters/teradata.py
gluon/dal/base.py
gluon/dal/objects.py
gluon/tests/__init__.py
gluon/tests/test_dal_nosql.py
2015-01-17 13:32:06 +01:00
mdipierro
528c27f852
Merge pull request #570 from ilvalle/fix-stream
...
fix issue 2029: response.stream bug with spaces in filename
2014-12-22 22:31:57 -06:00
ilvalle
207f53fd6f
fix issue 2029: response.stream bug with spaces in filename
2014-12-20 17:47:55 +01:00
ilvalle
952890d9cc
set directly 'application/json' to avoid a call to contenttype
2014-12-18 09:34:46 +01:00
ilvalle
8d72074209
issue 2024: response.json sets by default content-type to application/json
2014-12-17 17:28:30 +01:00
gi0baro
24f197935e
Handling new pydal Exceptions in response.download
2014-12-15 23:09:35 +01:00
gi0baro
ad1fe87386
Updated tests configuration, avoid circular imports with new dal
2014-12-15 22:37:34 +01:00
gi0baro
db01261c35
Fixed globals
2014-09-25 13:16:54 +02:00
gi0baro
5c07c511fa
Merge branch 'master' into DAL-modular
...
* master: (58 commits)
changed version number
better types by default, given that we're on 2005 at least
fix for StorageList and tests added
improved coverage, fix bug with IS_LIST_OF and items not being strings
fix cache.increment, added tests
R-2.9.11
reverted simplejson
R-2.9.10
upgraded memcache and markdown2
upgraded pypyodbc.py
upgraded simplejson
no more split in contains, thanks Niphlod
fixed wording and bug on contains(), made smart_query use ilike instead of like
ilike, thanks Niphlod
CROSS JOIN, thanks jotbe
added custom represent to GoogleDatastoreAdapter, thanks Alan
postgresql: identifies what adapter auto-loads json values
added more tests for json Field
fixed typo in driver_auto_json
Improve the graphing to show the name of the application.
...
Conflicts:
gluon/dal.py
gluon/globals.py
gluon/tests/test_dal.py
2014-09-25 12:49:16 +02:00
niphlod
5c9796ac72
refactored pickling of sessions
2014-09-11 22:51:23 +02:00
mdipierro
c3478f660a
fixed pickling of session
2014-09-10 13:57:54 -05:00
mdipierro
c1c3621bf3
using recfile for sessions for speed
2014-09-04 22:28:51 -05:00
mdipierro
d1e4ede9b3
fixed problem with delimiters, thanks Anthony
2014-09-03 10:52:31 -05:00
gi0baro
5e5e649c28
Added modular DAL, updated gluon imports to new structure
2014-09-03 12:48:03 +02:00
mdipierro
b18dda1f53
fixed the toolbar, thanks Niphlod
2014-08-20 21:45:58 -05:00
mdipierro
88e971b9d8
fixed typo default table3cols
2014-08-14 19:40:01 -05:00
mdipierro
65ab4b8550
response.form_label_separator
2014-08-14 19:12:47 -05:00
mdipierro
7de0861fb5
response.formstyle, reponse.label_separator
2014-08-14 19:10:51 -05:00
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