R-2.18.1
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## 2.18.1
|
||||||
|
- pydal 19.02
|
||||||
|
- made template its own module (Yet Another Template Language)
|
||||||
|
- improved python 3.4-3.7 support
|
||||||
|
- bug fixes
|
||||||
|
|
||||||
## 2.17.1-2
|
## 2.17.1-2
|
||||||
- pydal 18.08
|
- pydal 18.08
|
||||||
- many small bug fixes
|
- many small bug fixes
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ rmfiles:
|
|||||||
rm -rf applications/examples/uploads/*
|
rm -rf applications/examples/uploads/*
|
||||||
src:
|
src:
|
||||||
### Use semantic versioning
|
### Use semantic versioning
|
||||||
echo 'Version 2.17.2-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
|
echo 'Version 2.18.1-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
|
||||||
### rm -f all junk files
|
### rm -f all junk files
|
||||||
#make clean
|
#make clean
|
||||||
# make rmfiles
|
# make rmfiles
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Version 2.17.2-stable+timestamp.2018.10.06.11.34.06
|
Version 2.18.1-stable+timestamp.2019.02.23.21.45.30
|
||||||
|
|||||||
@@ -185,9 +185,9 @@ def select():
|
|||||||
is_imap = db._uri.startswith("imap://")
|
is_imap = db._uri.startswith("imap://")
|
||||||
except (KeyError, AttributeError, TypeError):
|
except (KeyError, AttributeError, TypeError):
|
||||||
is_imap = False
|
is_imap = False
|
||||||
regex = re.compile('(?P<table>\w+)\.(?P<field>\w+)=(?P<value>\d+)')
|
regex = re.compile(r'(?P<table>\w+)\.(?P<field>\w+)=(?P<value>\d+)')
|
||||||
if len(request.args) > 1 and hasattr(db[request.args[1]], '_primarykey'):
|
if len(request.args) > 1 and hasattr(db[request.args[1]], '_primarykey'):
|
||||||
regex = re.compile('(?P<table>\w+)\.(?P<field>\w+)=(?P<value>.+)')
|
regex = re.compile(r'(?P<table>\w+)\.(?P<field>\w+)=(?P<value>.+)')
|
||||||
if request.vars.query:
|
if request.vars.query:
|
||||||
match = regex.match(request.vars.query)
|
match = regex.match(request.vars.query)
|
||||||
if match:
|
if match:
|
||||||
@@ -237,7 +237,7 @@ def select():
|
|||||||
|
|
||||||
tb = None
|
tb = None
|
||||||
if form.accepts(request.vars, formname=None):
|
if form.accepts(request.vars, formname=None):
|
||||||
regex = re.compile(request.args[0] + '\.(?P<table>\w+)\..+')
|
regex = re.compile(request.args[0] + r'\.(?P<table>\w+)\..+')
|
||||||
match = regex.match(form.vars.query.strip())
|
match = regex.match(form.vars.query.strip())
|
||||||
if match:
|
if match:
|
||||||
table = match.group('table')
|
table = match.group('table')
|
||||||
|
|||||||
@@ -185,9 +185,9 @@ def select():
|
|||||||
is_imap = db._uri.startswith("imap://")
|
is_imap = db._uri.startswith("imap://")
|
||||||
except (KeyError, AttributeError, TypeError):
|
except (KeyError, AttributeError, TypeError):
|
||||||
is_imap = False
|
is_imap = False
|
||||||
regex = re.compile('(?P<table>\w+)\.(?P<field>\w+)=(?P<value>\d+)')
|
regex = re.compile(r'(?P<table>\w+)\.(?P<field>\w+)=(?P<value>\d+)')
|
||||||
if len(request.args) > 1 and hasattr(db[request.args[1]], '_primarykey'):
|
if len(request.args) > 1 and hasattr(db[request.args[1]], '_primarykey'):
|
||||||
regex = re.compile('(?P<table>\w+)\.(?P<field>\w+)=(?P<value>.+)')
|
regex = re.compile(r'(?P<table>\w+)\.(?P<field>\w+)=(?P<value>.+)')
|
||||||
if request.vars.query:
|
if request.vars.query:
|
||||||
match = regex.match(request.vars.query)
|
match = regex.match(request.vars.query)
|
||||||
if match:
|
if match:
|
||||||
@@ -237,7 +237,7 @@ def select():
|
|||||||
|
|
||||||
tb = None
|
tb = None
|
||||||
if form.accepts(request.vars, formname=None):
|
if form.accepts(request.vars, formname=None):
|
||||||
regex = re.compile(request.args[0] + '\.(?P<table>\w+)\..+')
|
regex = re.compile(request.args[0] + r'\.(?P<table>\w+)\..+')
|
||||||
match = regex.match(form.vars.query.strip())
|
match = regex.match(form.vars.query.strip())
|
||||||
if match:
|
if match:
|
||||||
table = match.group('table')
|
table = match.group('table')
|
||||||
|
|||||||
Reference in New Issue
Block a user