- 12 Oct, 2015 1 commit
-
-
Rémi Cardona authored
-
- 09 Oct, 2015 4 commits
-
-
Rémi Cardona authored
-
Rémi Cardona authored
-
Rémi Cardona authored
-
Rémi Cardona authored
-
- 08 Oct, 2015 4 commits
-
-
Rémi Cardona authored
-
Rémi Cardona authored
-
Rémi Cardona authored
If the context manager is exited via an exception, the original permissions should be restored.
-
Rémi Cardona authored
-
- 06 Oct, 2015 2 commits
-
-
Rémi Cardona authored
-
Rémi Cardona authored
-
- 05 Oct, 2015 1 commit
-
-
Aurelien Campeas authored
-
- 29 Sep, 2015 1 commit
-
-
Sylvain Thénault authored
Closes #7170830
-
- 23 Sep, 2015 2 commits
-
-
Julien Cristau authored
SQLServer refuses to index an unlimited text column, so we should drop unique_together constraints (which imply an index) before we drop size constraints. Closes #5560601.
-
Aurelien Campeas authored
Until now we would: - remove the old size constraint from the in-memory schema - call update_rdef_column which removes the size restriction from the column's type - add the new constraint object - call update_rdef_column which adds the size restriction back This breaks on SQL Server when the column is involved in an index (e.g. as part of a multi-column unique constraint), because in the intermediate stage the column's type is "nvarchar(max)", which is not indexable. Of course we must still detect the case where a size constraint is really dropped and update the db schema accordingly. Closes #5557633.
-
- 09 Sep, 2015 1 commit
-
-
Sylvain Thénault authored
On entity creation, if there are some local permissions on the relation, we have no way of checking them since neither the subject nor the object of the relation exists yet. In such a case, we should add the link by default, for consistency (see other places where we use `may_have_permission`). Closes #6711900
-
- 08 Oct, 2015 2 commits
-
-
Sylvain Thénault authored
-
Sylvain Thénault authored
Prevents the "modify" action from being shown when there is nothing to edit.
-
- 02 Sep, 2015 1 commit
-
-
Sylvain Thénault authored
When selecting an inlined creation form, we should catch the NoSelectable exception that will be raised if the user cannot add entities of the target type (this is not and cannot be verified earlier) or if some other custom selector prevents the form from being selected. Closes #6510921
-
- 07 Oct, 2015 1 commit
-
-
Sylvain Thénault authored
-
- 02 Sep, 2015 1 commit
-
-
Aurelien Campeas authored
Otherwise a simple sync_schema(syncprops=False) turns the subsequent sync_schema() calls into a no-op. Closes #6510918.
-
- 25 Aug, 2015 1 commit
-
-
Sylvain Thénault authored
Without the fix in migractions.py, the introduced test crashes with an operational error because of an attempt to write to a non-existing relation table (computed relations are not materialized). Closes #6304946
-
- 21 Aug, 2015 1 commit
-
-
Sylvain Thénault authored
as this method may be used from outsite the class (eg in UpdateFTIHook), this is the proper way to consider it anyway. Closes #6206636
-
- 24 Jul, 2015 1 commit
-
-
Julien Cristau authored
devtools stores info about existing dbs in the db handler, but in the case of postgresql that doesn't take into account the path to the cluster's datadir. Which means if we run two test modules (in the same test run), we'll create a "__default_empty_db__" for the first one, cache its existence, and then when moving on to the other module, believe the template already exists (but since the datadir depends on the test module's path, it does not). This patch is a bit of a kludge, and it would be better to make the cache key include enough data to not need this, but I'm not sure how to do that.
-
- 22 Sep, 2015 1 commit
-
-
Sylvain Thénault authored
There is a special handling for datetime with tzinfo, where value was stored in the query cache. The implementation of merge_args was simply overwriting parameters of the query with those in the query cache, expecting no collision. To fix this: * handle replacement of tzinfo in merge_args, not at sql generation time * add an assertion to ensure we've actually no collision Closes #6978316
-
- 29 Sep, 2015 5 commits
-
-
Julien Cristau authored
Closes #7173702
-
Julien Cristau authored
-
Julien Cristau authored
SQL Server's UNIQUE is not standards compliant, it doesn't accept two NULL values. Related to #7173702.
-
Julien Cristau authored
"msg % row" dies with "not enough arguments for format string" if row is a pyodbc.Row.
-
Julien Cristau authored
SQL Server doesn't allow indexing (and thus unique constraints) on nvarchar(max). Related to #7173702.
-
- 24 Jul, 2015 2 commits
-
-
Julien Cristau authored
Seems confusing to have __eq__ but not __ne__.
-
Julien Cristau authored
-
- 27 Jul, 2015 1 commit
-
-
David Douard authored
eg. with pyramid.
-
- 06 Aug, 2015 2 commits
-
-
Julien Cristau authored
It doesn't seem to have ever been used.
-
Julien Cristau authored
-
- 25 Aug, 2015 1 commit
-
-
Sylvain Thénault authored
Simply skip the action (rename_relation_type) with an early return.
-
- 31 Jul, 2015 1 commit
-
-
Julien Cristau authored
-
- 29 Jul, 2015 1 commit
-
-
Julien Cristau authored
-
- 28 Jul, 2015 2 commits
-
-
Julien Cristau authored
-
Julien Cristau authored
- stop using *.install.in files, just use wildcards in *.install - switch to X-Python-Version (preferred for dh_python2) - also call dh_python2 for /usr/share/cubicweb, not just public modules - drop long obsolete ginco and erudi migration code from cubicweb-ctl.postinst - fix cubicweb-ctl cleanup: purge code belongs in postrm, not prerm - don't compress changelog.html
-