Jack Kuan
39af574e7f
Avoid sending the terminating chunk in case it's a HEAD request.
2014-12-19 23:44:55 -10:00
ilvalle
9825bbc926
fix issue 1931: preserve vars in grid search
2014-12-19 14:42:17 +01:00
niphlod
9132343820
better assignment (tasks go to not running workers only). Thanks @PengfeiYu
...
- pep8 adjustments
- tasks were assigned to all ACTIVE workers... if a worker is busy processing a task,
there's no point on assigning tasks to it
2014-12-18 23:48:10 +01:00
Jack Kuan
9b490340e5
Fix the problem with chunked encoding with an empty body.
...
When the response body is empty, rocket won't send the final zero-length
terminating chunk for chunked encoding. I think this causes the browser
to wait for the connection close in order to tell the end of the
response.
2014-12-18 10:15:13 -10: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
ilvalle
d93810697f
fix cache clear with regex and tests
2014-12-16 20:32:51 +01:00
Tim Nyborg
23ee6bd2cf
Update rewrite.py
2014-12-16 12:00:23 +00:00
Tim Nyborg
c0536d3b74
Allow map_hyphen to work for application names
...
1. Handle hyphen -> underscore replacement of the app name early in map_app(), so the application can be identified and its routing rules used (if they exist). Without this, the rewriter fails to find the application with the hyphen in place, and reverts to the default.
2. Disable underscore -> hyphen mapping of app name when creating static URLs, as they will be invalid paths
2014-12-16 11:47:33 +00:00
gi0baro
c213071ae9
Updated to latest pydal
2014-12-15 23:20:53 +01:00
gi0baro
24f197935e
Handling new pydal Exceptions in response.download
2014-12-15 23:09:35 +01:00
gi0baro
b04b3ab529
Fixed wrong unittest2 pip install for py26 in travis.yml
2014-12-15 22:58:16 +01:00
gi0baro
846d8f4e4b
Get tests working back on py26, disabled web2py_uuid comparison check
2014-12-15 22:51:02 +01:00
gi0baro
ad1fe87386
Updated tests configuration, avoid circular imports with new dal
2014-12-15 22:37:34 +01:00
gi0baro
f60c1dff93
Fixing imports for new pydal
2014-12-15 22:24:04 +01:00
gi0baro
5a605f59b9
Started adding new tests for dal implementation
2014-12-15 21:16:35 +01:00
gi0baro
dcadcf0ffb
Added pyDAL from repository, adapted web2py code
2014-12-15 20:13:40 +01:00
Mariano Reingart
0024307e6c
Fix debugger interaction due new DAL
...
Originally, __all__ was used to filter DAL and Field globals, but now the new module doesn't explicity set that attribute, so this filter was removed.
Note that using __dict__ as a replacement is not an option, as the new dal module exports a lot of common names like connection, base, etc.
2014-12-15 15:45:27 -03:00
timnyborg
886f84778c
Update sqlhtml.py
...
Correcting some bootstrap3 icon classes
2014-12-15 11:03:47 +00:00
mdipierro
5ea654ed06
Merge pull request #554 from kjkuan/fix-circular-imports-take-2
...
Make web2py's custom_import work with circular imports.
2014-12-12 05:21:13 -06:00
mdipierro
de55a729dc
Merge pull request #557 from ilvalle/fileutils.py
...
updated _extractall (python 2.4 support was dropped)
2014-12-12 05:12:25 -06:00
mdipierro
199e719838
Merge pull request #556 from ilvalle/test_pack
...
test for w2p_pack/w2p_unpack
2014-12-12 05:11:15 -06:00
mdipierro
53e9e3b3e0
Merge pull request #555 from ilvalle/bigint
...
Fix and initial tests for bigint
2014-12-12 05:10:20 -06:00
ilvalle
0049f9e0c2
updated _extractall (python 2.4 support was dropped)
2014-12-11 14:27:39 +01:00
ilvalle
fd6c36e5f0
fix and initial tests for bigint
2014-12-11 11:27:16 +01:00
ilvalle
3e1037a73a
test for w2p_pack/w2p_unpack
2014-12-11 10:23:15 +01:00
mdipierro
a97ec075da
Merge branch 'ilvalle-test_pack'
2014-12-09 20:59:40 -06:00
mdipierro
4839df37e8
more tests, thanks Paolo
2014-12-09 20:59:26 -06:00
mdipierro
47165ed3b7
Merge pull request #551 from ilvalle/fix-searchgrid
...
Fix search widget in SQLFORM.grid for SQLCustomType values
2014-12-09 20:57:21 -06:00
mdipierro
654cb650fb
Merge pull request #550 from ilvalle/fix-sqlcustomtype
...
Fix NULL values with SQLCustomType
2014-12-09 20:56:30 -06:00
mdipierro
aaa17250d9
Merge pull request #549 from lminko/master
...
added Burmese (Myanmar) localization to admin and welcome apps.
2014-12-09 20:54:58 -06:00
ilvalle
e9a89eff82
tests for lazy tables and substring expr
2014-12-06 00:45:56 +01:00
Jack Kuan
a01dbbab49
Make web2py's custom_import work with circular imports.
2014-12-05 16:18:52 -05:00
ilvalle
5474c68994
More gis tests
2014-12-04 12:18:17 +01:00
ilvalle
bda101d43f
fix gis field case according to ignore_field_case
2014-12-04 12:13:28 +01:00
ilvalle
058930d42b
test for compileapp
2014-12-03 20:42:54 +01:00
ilvalle
2a8c04c69f
better SQLCustomType tests
2014-12-03 19:32:25 +01:00
ilvalle
f64098af14
Initial tests for SQLCustomType
2014-12-03 18:20:07 +01:00
ilvalle
b6993f7cc4
fix search widget in SQLFORM.grid for SQLCustomType values
2014-12-01 17:12:04 +01:00
ilvalle
6228de8e10
Fix NULL values with SQLCustomType
2014-11-30 19:53:33 +01:00
La Min Ko
dff6bfb5b9
added Burmese (Myanmar) localization to admin and welcome apps.
2014-11-30 10:47:33 +06:30
mdipierro
a1524d4da4
Merge pull request #547 from timrichardson/issues/2017
...
Issues/2017
2014-11-28 11:05:35 -06:00
mdipierro
3b9a5ee3b5
Merge pull request #546 from niphlod/fix/scheduler
...
timeout = 0 leads to erratic behaviour.
2014-11-28 11:04:52 -06:00
Tim Richardson
556609f5a2
Use 'True' and 'False' for booleans
2014-11-26 13:51:59 +11:00
niphlod
dafe900629
timeout = 0 leads to erratic behaviour. Allowing timeout = 0 is considered unsafe
2014-11-25 21:17:53 +01:00
Tim Richardson
7a6bdf7cbd
consistent quotes
2014-11-24 23:40:45 +11:00
Tim Richardson
a82d3f88b6
boolean widgets in the SQLFORM.grid search widget should be "off" if unchecked.
2014-11-24 23:34:00 +11:00
pallav_fdsi
0b0f82b514
Merge branch 'master' of https://github.com/web2py/web2py
2014-11-21 00:29:14 -05:00
mdipierro
64e90a7250
Merge pull request #544 from niphlod/fix/2013
...
fix issue with rname and oracle. Thanks @fernando. Fixes #2013
2014-11-16 23:17:41 -06:00
mdipierro
e36a1657fc
Merge pull request #543 from AJDurant/master
...
enable dropdown-toggle when user logged in
2014-11-16 23:16:19 -06:00