Commit Graph
163 Commits
Author SHA1 Message Date
ilvalle 2f7d76769c typo in globals 2016-06-03 23:44:45 +02:00
ilvalle 97eb013831 fix test_html and test_template for py3 2016-06-03 11:46:32 +02:00
ilvalle a1fd92b7f8 updated imports in tests 2016-06-02 14:28:21 +02:00
ilvalle 01bab81432 manually adapt few imports 2016-06-01 20:16:30 +02:00
ilvalle 35900da19b running lib2to3.fixes.fix_except 2016-05-29 08:31:19 +02:00
Leonel Câmara a9ee9a6b58 remove simplejson 2016-05-11 00:47:23 +01:00
mdipierro 5cf835d856 fixed session_cookie_key leak 2016-03-21 17:25:16 -05:00
mdipierro 5290308dea global options are back 2016-03-18 19:37:46 -05:00
mdipierro f370187332 removed double json.loads(body), thanks Simone 2016-03-14 18:03:54 -05:00
mdipierro 9706d125b4 DO NOT LEAK GLOBALS SETTINGS INTO request object 2016-03-14 14:52:41 -05:00
mdipierro 05df3b3029 smarter request.restful checks content-type for json body 2016-01-08 21:29:04 -06:00
Martin Doucha 9650ff7516 Parse GET vars from rewritten query string, not the original. Fixes #730 2015-12-12 23:59:15 +01:00
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