- 19 Apr, 2018 2 commits
-
-
David Douard authored
--HG-- branch : 3.26
-
David Douard authored
--HG-- branch : 3.26
-
- 22 Mar, 2018 5 commits
-
-
Philippe Pepiot authored
For db-dump (implied by upgrade) and db-restore with postgres with non-trusted authentication, the db password is asked by pg tools (pg_dump, pg_restore, createdb, dropdb). Avoid this behavior by setting the PGPASSWORD environment variable when database driver is postgres and db-password is set in sources file. --HG-- branch : 3.26
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
Having the file flake8 clean makes it easier to catch basic programming errors (e.g. name errors). --HG-- branch : 3.26
-
Denis Laxalde authored
Followup on d84bc85f7f70 which introduced usage of this name in _datadirs method of GenStaticDataDirMixIn but resulted into a NameError at runtime and makes migrations crash. --HG-- branch : 3.26
-
- 15 Feb, 2018 2 commits
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 05 Mar, 2018 1 commit
-
-
Denis Laxalde authored
As noted in comment, it might occur that we receive a "sessioneid" from a valid cookie while respective CWSession got dropped (typical case is db being recreated while users got preserved). In such case, we just recreate the CWSession entity as if it did not exist. --HG-- branch : 3.26
-
- 22 Feb, 2018 2 commits
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 21 Feb, 2018 1 commit
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 15 Feb, 2018 11 commits
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
We drop all legacy logic implemented in _find_prefix() which now happens to be buggy since we cleaned up setup.py in 3.26 (noticeably because virtualenv is no longer properly detected). Closes #17132990. --HG-- branch : 3.26
-
Denis Laxalde authored
Thus getting rid of the last piece of data in "shared" directory. As a consequence, we can drop data_files from __pkginfo__.py. Related to #17132990. --HG-- branch : 3.26
-
Denis Laxalde authored
Nothing uses this. --HG-- branch : 3.26
-
Denis Laxalde authored
These are not used anymore per previous changesets. Related to #17132990. --HG-- branch : 3.26
-
Denis Laxalde authored
There's no more users of this method. Related to #17132990. --HG-- branch : 3.26
-
Denis Laxalde authored
From 3.26, some "data" directories (like web/data and i18n or wdoc) are installed along with CubicWeb in site packages. So we can retrieve them relatively to the module that needs them (namely "cubicweb" for "i18n" and "cubicweb.web" for "web/data" and "wdoc"). Reason for doing this is that "share_dir()" is not working when cubicweb is installed in "develop" mode and we are about to drop this method. Related to #17132990. --HG-- branch : 3.26
-
Denis Laxalde authored
We are going to change the implementation, make sure there's no regression. --HG-- branch : 3.26
-
Denis Laxalde authored
And compute CubicWebNoAppConfiguration.mode within the class namespace. Related to #17132990. --HG-- branch : 3.26
-
Denis Laxalde authored
This is in preparation of a fix for #17132990 to cleanup legacy (and probably no longer working) behaviors. --HG-- branch : 3.26
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 06 Feb, 2018 1 commit
-
-
Denis Laxalde authored
Introduced in 159dce89a145. --HG-- branch : 3.26
-
- 07 Feb, 2018 1 commit
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 01 Feb, 2018 2 commits
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 25 Jan, 2018 1 commit
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
- 12 Jan, 2018 1 commit
-
-
Denis Laxalde authored
There is a number of external classes (from yams/rql) methods overridden "by hand" in cubicweb/schema.py. Define a single decorator to factor out the pattern. It handles specifying the method name (to avoid conflict with the local namespace) and passing the original method to the new definition when needed.
-
- 24 Jan, 2018 9 commits
-
-
Denis Laxalde authored
We drop the custom get_packages() function in setup.py that used to look for test files (not discovered automatically since test directories are not packages) and replace it by explicit entries in MANIFEST.in.
-
Denis Laxalde authored
Dunno what this is for. Let's see if this work without.
-
Denis Laxalde authored
Not sure what this is for, the comment mentions "egg" directory, but this is quite likely an old hack that should be unnecessary when using a recent setuptools.
-
Denis Laxalde authored
This will help making a console script entry point from this to get rid of the custom installation of scripts in setup.py. Accordingly, update all calls of this function.
-
Denis Laxalde authored
The custom install_lib command appeared to be meant to install package data, as declared in __pkginfo__.py. Let's rely on setuptools' include_package_data[1] option to handle this. [1]: http://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
The previous version of handling PY2/PY3 made flake8 complain.
-
- 12 Jan, 2018 1 commit
-
-
Denis Laxalde authored
-