Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
fae0b5f3459b
Commit
d3fb1b0b
authored
Jun 22, 2021
by
Nicolas Chauvat
Browse files
merge 3.28 into 3.29
--HG-- branch : 3.29
parents
1af196b9d792
e9bcc40fe720
Pipeline
#63616
passed with stages
in 35 minutes and 26 seconds
Changes
8
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
cubicweb/devtools/webtest.py
View file @
fae0b5f3
from
__future__
import
absolute_import
import
webtest
from
cubicweb.wsgi
import
handler
...
...
cubicweb/ext/markdown.py
View file @
fae0b5f3
from
__future__
import
absolute_import
import
markdown
import
logging
...
...
cubicweb/misc/migration/3.22.0_Any.py
View file @
fae0b5f3
...
...
@@ -3,7 +3,7 @@ if confirm('use Europe/Paris as timezone?'):
else
:
import
pytz
while
True
:
timezone
=
raw_
input
(
'enter your timezone'
)
timezone
=
input
(
'enter your timezone'
)
if
timezone
in
pytz
.
common_timezones
:
break
...
...
cubicweb/misc/scripts/chpasswd.py
View file @
fae0b5f3
...
...
@@ -26,7 +26,7 @@ from cubicweb.server.utils import crypt_password
if
__args__
:
login
=
__args__
.
pop
()
else
:
login
=
raw_
input
(
"login? "
)
login
=
input
(
"login? "
)
rset
=
rql
(
'Any U WHERE U is CWUser, U login %(login)s'
,
{
'login'
:
login
})
...
...
cubicweb/misc/scripts/detect_cycle.py
View file @
fae0b5f3
from
__future__
import
print_function
try
:
rtype
,
=
__args__
except
ValueError
:
...
...
cubicweb/misc/scripts/ldap_change_base_dn.py
View file @
fae0b5f3
from
__future__
import
print_function
from
base64
import
b64decode
,
b64encode
try
:
uri
,
newdn
=
__args__
...
...
@@ -12,7 +10,7 @@ olddn = repo.source_by_uri(uri).config['user-base-dn']
assert
olddn
!=
newdn
raw_
input
(
"Ensure you've stopped the instance, type enter when done."
)
input
(
"Ensure you've stopped the instance, type enter when done."
)
for
eid
,
olduserdn
in
rql
(
"Any X, XURI WHERE X cwuri XURI, X cw_source S, S name %(name)s"
,
{
'name'
:
uri
}):
...
...
cubicweb/utils.py
View file @
fae0b5f3
...
...
@@ -17,8 +17,6 @@
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""Some utilities for CubicWeb server/clients."""
from
__future__
import
division
import
base64
import
decimal
import
datetime
...
...
cubicweb/web/views/management.py
View file @
fae0b5f3
...
...
@@ -149,6 +149,9 @@ class ErrorView(AnyRsetView):
w
(
u
"<b>Cube %s version:</b> %s<br/>
\n
"
%
(
cube
,
cubeversion
))
cversions
.
append
((
cube
,
cubeversion
))
w
(
u
"</div>"
)
else
:
eversion
=
self
.
_cw
.
_
(
'no version information'
)
cversions
=
[]
# creates a bug submission link if submit-mail is set
if
self
.
_cw
.
vreg
.
config
[
'submit-mail'
]:
form
=
self
.
_cw
.
vreg
[
'forms'
].
select
(
'base'
,
self
.
_cw
,
rset
=
None
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment