Tue, 05 Dec 2017 13:49:24 +0100 [views] Hide ordering attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Dec 2017 13:49:24 +0100] rev 2897
[views] Hide ordering attribute it's an implementation specific attribute, we don't want to see it in the UI.
Tue, 05 Dec 2017 13:47:54 +0100 [schema] Add a new 'ordering' attribute on some etype + hook to set it autonomatically
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Dec 2017 13:47:54 +0100] rev 2896
[schema] Add a new 'ordering' attribute on some etype + hook to set it autonomatically in order to being able to order children elements of an entity.
Wed, 06 Dec 2017 16:24:53 +0100 [diag / test] Remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 16:24:53 +0100] rev 2895
[diag / test] Remove debug print
Wed, 06 Dec 2017 16:24:28 +0100 [diag] Add a new warning about entities with 1 cardinality being followed by others
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 16:24:28 +0100] rev 2894
[diag] Add a new warning about entities with 1 cardinality being followed by others This will be desired in following csets since we'll stop ordering RNG export using cardinality to follow user enforced ordering, hence consistently with the UI.
Wed, 06 Dec 2017 16:22:16 +0100 [diag / test] Avoid unnecessary transaction in test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 16:22:16 +0100] rev 2893
[diag / test] Avoid unnecessary transaction in test
Wed, 06 Dec 2017 16:17:51 +0100 [diag] Enhance readability a bit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 16:17:51 +0100] rev 2892
[diag] Enhance readability a bit
Wed, 06 Dec 2017 16:17:28 +0100 [diag] Don't check for RNG ambiguities on management rules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 16:17:28 +0100] rev 2891
[diag] Don't check for RNG ambiguities on management rules I don't think we care about such rules'order and they should usually be fixed in the profile, so don't check them. If one wish to check them at some point, it should add ordering on relevant entities and extend consistently the xsd2yams.MULTIPLE_CHILDREN list.
Wed, 06 Dec 2017 16:15:04 +0100 [diag] Fix message about potential RNG validation problems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 16:15:04 +0100] rev 2890
[diag] Fix message about potential RNG validation problems after discussion with B. Nichelle from the SIAF, it appears that some cases are actually handled as expected, some others not.
Wed, 06 Dec 2017 15:38:28 +0100 [pkg] Tells pytest to not capture stderr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 15:38:28 +0100] rev 2889
[pkg] Tells pytest to not capture stderr this is required with recent pytest to avoid cluttered output with duplicated cubicweb's logging message (there must have something to fix on the cubicweb side to avoid this).
Wed, 06 Dec 2017 14:53:24 +0100 [views] Fix base class for unit's agents / coordinates tabs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 14:53:24 +0100] rev 2888
[views] Fix base class for unit's agents / coordinates tabs so we're properly redirected after creation of their associated subobjects.
Wed, 06 Dec 2017 10:22:46 +0100 [migration] Fix dumb error in 0.11 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 10:22:46 +0100] rev 2887
[migration] Fix dumb error in 0.11 migration duh.
Wed, 06 Dec 2017 09:28:52 +0100 [diagnostic] Add a comment to explain _AMBIGUOUS_RQL
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 09:28:52 +0100] rev 2886
[diagnostic] Add a comment to explain _AMBIGUOUS_RQL and add a test for ambiguous units under a sub-unit, to have a case for archive units handled by each query.
Wed, 06 Dec 2017 09:27:49 +0100 [test] Generalize method to test on which entities some diagnosis error occurs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Dec 2017 09:27:49 +0100] rev 2885
[test] Generalize method to test on which entities some diagnosis error occurs
Wed, 15 Nov 2017 08:24:37 +0100 Added tag 0.12.0, debian/0.12.0-1, centos/0.12.0-1 for changeset 17067f4de8d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Nov 2017 08:24:37 +0100] rev 2884
Added tag 0.12.0, debian/0.12.0-1, centos/0.12.0-1 for changeset 17067f4de8d1
Tue, 14 Nov 2017 18:06:41 +0100 [migration] Less verbose migration 0.12.0 centos/0.12.0-1 debian/0.12.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Nov 2017 18:06:41 +0100] rev 2883
[migration] Less verbose migration don't ask confirm for commit (should be the default...)
Tue, 14 Nov 2017 17:19:25 +0100 [skos] Add a new vocabulary for SEDA 0.2 languages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Nov 2017 17:19:25 +0100] rev 2882
[skos] Add a new vocabulary for SEDA 0.2 languages that will be used by default. See documentation on how this vocabulary has been built and how to restore previous behaviour. Closes extranet #40281602
Tue, 14 Nov 2017 16:37:01 +0100 [skos] Restore full ISO-639-3 (2011) list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Nov 2017 16:37:01 +0100] rev 2877
[skos] Restore full ISO-639-3 (2011) list Instead provide an alternative vocabulary that will be used as default. Backed out changeset ba6a36fa1ce7
Tue, 07 Nov 2017 16:00:22 +0100 [pkg] Prepare 0.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 16:00:22 +0100] rev 2874
[pkg] Prepare 0.12
Tue, 07 Nov 2017 14:40:41 +0100 [profile gen] In SEDA 1.0, Appraisal is spelled AppraisalRule
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 14:40:41 +0100] rev 2873
[profile gen] In SEDA 1.0, Appraisal is spelled AppraisalRule Closes #17113836
Tue, 07 Nov 2017 14:40:09 +0100 [profile gen] In SEDA 1.0, archival agency should occurs before transferring agency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 14:40:09 +0100] rev 2872
[profile gen] In SEDA 1.0, archival agency should occurs before transferring agency Related to #17113836
Tue, 07 Nov 2017 14:38:33 +0100 [profile gen] In SEDA 1.0, Appraisal rule should appear after access rule
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 14:38:33 +0100] rev 2871
[profile gen] In SEDA 1.0, Appraisal rule should appear after access rule Related to #17113836
Tue, 07 Nov 2017 12:13:32 +0100 [schema] Use hook instead of adding composite=True on seda_data_object_reference_id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 12:13:32 +0100] rev 2870
[schema] Use hook instead of adding composite=True on seda_data_object_reference_id Because when this is not a simplified profile, we don't want the "auto-deletion" behaviour, ie deleting the data object when its reference is deleted. But since we still want this for simplified profiles, reimplement this behaviour using hook+op. Removing composite marker also implies to add/change some setup in various places controlled by the SEDA compound graph, which only consider composite relation. Add individual explanation as comment for posterity. At some point it would probably be desirable to allow *additional relations to follow* in the compound graph (we can only specify relations to filter out for now). Closes #17113413
Tue, 07 Nov 2017 11:44:09 +0100 [schema] Drop skos forward compat code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 11:44:09 +0100] rev 2868
[schema] Drop skos forward compat code cube has now been released.
Tue, 07 Nov 2017 11:15:56 +0100 [schema] Fix constraints on seda_mime_type_to and seda_format_id_to relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Nov 2017 11:15:56 +0100] rev 2867
[schema] Fix constraints on seda_mime_type_to and seda_format_id_to relation The former add to be redirected to use the vocabulary bound to 'file_category' relation, which is also true for the later but this one requires more changes now that it may be used in simplified profile as well.
Fri, 03 Nov 2017 12:04:04 +0100 [hooks / test] Cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 12:04:04 +0100] rev 2866
[hooks / test] Cleanup for readability / consistency.
Fri, 03 Nov 2017 12:03:16 +0100 [hooks] Use file categories vocabulary by default for mime type and format id lists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 12:03:16 +0100] rev 2865
[hooks] Use file categories vocabulary by default for mime type and format id lists so by default it's the master vocabulary and MIME types / PRONOM vocabularies don't have to be kept in sync. Keep the synchronization mecanism though, and test it separatly.
Fri, 03 Nov 2017 12:01:15 +0100 [hooks / test] Extract setup_database from DispatchFileCategoryTC's test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 12:01:15 +0100] rev 2864
[hooks / test] Extract setup_database from DispatchFileCategoryTC's test A new one sharing the setup will be introduced in later cset. Related to #39322647
Fri, 03 Nov 2017 11:56:48 +0100 [hooks / test] Allow to give raw mime types / format ids to assertFormatEquals
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 11:56:48 +0100] rev 2863
[hooks / test] Allow to give raw mime types / format ids to assertFormatEquals instead of concept entities. Related to #39322647
Fri, 03 Nov 2017 11:44:31 +0100 [hooks] Add condition on rql syncing mime type and format id from file category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 11:44:31 +0100] rev 2862
[hooks] Add condition on rql syncing mime type and format id from file category Add restriction in each EXISTS clause to ensure the specified eids are actually a generic category (top level concept) or a file extension (1st level concept). This will avoid errors catched by test added in next commit with a different default vocabulary for mime types / format ids. A monkey-patch has to be backported to allow using computed relation in write query, which is not implemented in cw < 3.25.4 Related to #39322647
Fri, 03 Nov 2017 16:03:57 +0100 [migration] Add migration bits missing from 0.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 16:03:57 +0100] rev 2861
[migration] Add migration bits missing from 0.11 to insert expected SEDAMimeType and SEDAFormatId entities.
Fri, 03 Nov 2017 11:40:34 +0100 [data] Drop unused and misleading header information
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 11:40:34 +0100] rev 2844
[data] Drop unused and misleading header information we could even remove the trailing ';' but this will lead to big patches while it has low benefit once every thing is consistent.
Fri, 03 Nov 2017 08:40:47 +0100 [hooks] Keep cardinality of mime type / format id optional
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 08:40:47 +0100] rev 2843
[hooks] Keep cardinality of mime type / format id optional so those information may be skipped by the application generating the transfer (e.g. to let the SAE do what's necessary, or because the format isn't supported by SEDA 0.2 or 1). This follows discussion with coproj/adullact about needs and pratices in the archival community.
Fri, 03 Nov 2017 08:31:05 +0100 [doc] Add section about xml:id on profile elements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 08:31:05 +0100] rev 2842
[doc] Add section about xml:id on profile elements
Fri, 03 Nov 2017 08:33:29 +0100 [doc] Start a file with some technical notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 08:33:29 +0100] rev 2834
[doc] Start a file with some technical notes in french
Fri, 03 Nov 2017 08:27:46 +0100 [doc] Fix typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 08:27:46 +0100] rev 2833
[doc] Fix typos
Fri, 03 Nov 2017 08:16:06 +0100 [profile gen] Add seda:diagnostic attribute on profile exports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 08:16:06 +0100] rev 2832
[profile gen] Add seda:diagnostic attribute on profile exports Attribute is added to rng:grammar/xsd:schema root element using the seda 2 namespace. Closes #39305748
Fri, 03 Nov 2017 07:45:25 +0100 [migration] Add RNG to format compat_list of existing profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 07:45:25 +0100] rev 2831
[migration] Add RNG to format compat_list of existing profiles even though some old ones may actually be ambiguous. Closes #39302963
Thu, 02 Nov 2017 21:02:37 +0100 [diagnostic] Warn about ambiguous RNG using the diagnostic system
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 21:02:37 +0100] rev 2830
[diagnostic] Warn about ambiguous RNG using the diagnostic system Most code comes from the former hook based implementation, with heavy lifting in thee test. Implementation is based on a new 'RNG' format in the compatibility list to avoid preventing export. Closes #39302963
Thu, 02 Nov 2017 20:58:46 +0100 [diagnostic] Add rule_id to CompatError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 20:58:46 +0100] rev 2829
[diagnostic] Add rule_id to CompatError This will be used later to filter among errors during testing. Related to #39302963.
Thu, 02 Nov 2017 20:55:49 +0100 [diagnostic] Allow to specify custom arguments on CompatError instantation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 20:55:49 +0100] rev 2828
[diagnostic] Allow to specify custom arguments on CompatError instantation that will override rule's default settings. Related to #39302963
Thu, 02 Nov 2017 20:44:54 +0100 [hooks] Drop hook preventing creation of "ambiguous" profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 20:44:54 +0100] rev 2827
[hooks] Drop hook preventing creation of "ambiguous" profile Those will be turn into rule of the diagnosis tool in the next cset. Related to #39302963.
Thu, 02 Nov 2017 20:42:48 +0100 [test] Rename assertDiagnostic to assertFailingRules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 20:42:48 +0100] rev 2826
[test] Rename assertDiagnostic to assertFailingRules since this is the underlying method of the diagnosis tool, and we'll want more testing utilities in later csets. Related to #39302963
Thu, 02 Nov 2017 20:41:10 +0100 [test] Import testutils as a whole
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 20:41:10 +0100] rev 2825
[test] Import testutils as a whole
Thu, 02 Nov 2017 20:39:10 +0100 [views] Uniformize data-objects tab for archive unit and transfer entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 20:39:10 +0100] rev 2824
[views] Uniformize data-objects tab for archive unit and transfer entities Related to #39302963
Thu, 02 Nov 2017 15:29:15 +0100 [profile generation] Add xml:id on repeatable elements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 15:29:15 +0100] rev 2822
[profile generation] Add xml:id on repeatable elements so client (e.g. GED sas) may rely on this to identify nodes unambiguously. Closes extranet #39304385
Fri, 03 Nov 2017 08:14:05 +0100 [profile generation] Use standard xml:id instead of seda:profid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 08:14:05 +0100] rev 2821
[profile generation] Use standard xml:id instead of seda:profid In later commit we will insert identifiers using xml:id on more node. It sounds like there are no benefit in using a custom attribute, so uniformize toward using xml:id everywhere. Related to extranet #39304385
Fri, 03 Nov 2017 12:06:28 +0100 [profile generation / test] Drop unused prefixes and reorder them
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Nov 2017 12:06:28 +0100] rev 2820
[profile generation / test] Drop unused prefixes and reorder them lexically.
Thu, 02 Nov 2017 15:24:35 +0100 [profile generation / test] Split and order lines accross root attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 02 Nov 2017 15:24:35 +0100] rev 2819
[profile generation / test] Split and order lines accross root attributes It's easier to read and ignored for validation.
Tue, 31 Oct 2017 16:40:01 +0100 [doc] Fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Oct 2017 16:40:01 +0100] rev 2793
[doc] Fix typo
Tue, 31 Oct 2017 16:10:03 +0100 [doc] Add some doc about vocabularies handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Oct 2017 16:10:03 +0100] rev 2792
[doc] Add some doc about vocabularies handling
Tue, 31 Oct 2017 16:09:43 +0100 [doc] Add a note about problem with repeatable element vs RNG
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Oct 2017 16:09:43 +0100] rev 2791
[doc] Add a note about problem with repeatable element vs RNG
Tue, 31 Oct 2017 16:09:14 +0100 [doc] Fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 31 Oct 2017 16:09:14 +0100] rev 2790
[doc] Fix typo
Thu, 19 Oct 2017 21:41:03 +0200 Added tag 0.11.5, debian/0.11.5-1, centos/0.11.5-1 for changeset 4d31d5d82e35
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Oct 2017 21:41:03 +0200] rev 2789
Added tag 0.11.5, debian/0.11.5-1, centos/0.11.5-1 for changeset 4d31d5d82e35
Thu, 19 Oct 2017 21:31:35 +0200 [pkg] Prepare 0.11.5 0.11.5 centos/0.11.5-1 debian/0.11.5-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Oct 2017 21:31:35 +0200] rev 2788
[pkg] Prepare 0.11.5
Thu, 19 Oct 2017 14:29:51 +0200 [hook] Fix dispatching for file_category to format_id / mime_type on import of an archive unit component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Oct 2017 14:29:51 +0200] rev 2787
[hook] Fix dispatching for file_category to format_id / mime_type on import of an archive unit component by changing related hook's category to metadata, since others are deactivated during sub-tree cloning.
Thu, 19 Oct 2017 09:58:47 +0200 Added tag 0.11.4, debian/0.11.4-1, centos/0.11.4-1 for changeset 56ecfa566925
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 19 Oct 2017 09:58:47 +0200] rev 2785
Added tag 0.11.4, debian/0.11.4-1, centos/0.11.4-1 for changeset 56ecfa566925
Thu, 19 Oct 2017 09:58:08 +0200 Version 0.11.4 0.11.4 centos/0.11.4-1 debian/0.11.4-1
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 19 Oct 2017 09:58:08 +0200] rev 2784
Version 0.11.4
Tue, 17 Oct 2017 18:10:40 +0200 [views] Fix overriding with cw3.25
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Oct 2017 18:10:40 +0200] rev 2783
[views] Fix overriding with cw3.25 overriden function now returns a generator, we've to turn it to a list.
Tue, 17 Oct 2017 18:09:30 +0200 [views] Hide no-value label for file_category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Oct 2017 18:09:30 +0200] rev 2782
[views] Hide no-value label for file_category consistently with other fields
Tue, 17 Oct 2017 18:08:49 +0200 [i18n] Add translation for file_category relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Oct 2017 18:08:49 +0200] rev 2781
[i18n] Add translation for file_category relation
Tue, 17 Oct 2017 18:08:30 +0200 [i18n] Update cube translations following uicfg update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Oct 2017 18:08:30 +0200] rev 2780
[i18n] Update cube translations following uicfg update
Tue, 17 Oct 2017 13:59:35 +0200 Added tag 0.11.3, debian/0.11.3-1, centos/0.11.3-1 for changeset e13dad7f482b
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 17 Oct 2017 13:59:35 +0200] rev 2779
Added tag 0.11.3, debian/0.11.3-1, centos/0.11.3-1 for changeset e13dad7f482b
Tue, 17 Oct 2017 13:59:18 +0200 Also bump version in spec file 0.11.3 centos/0.11.3-1 debian/0.11.3-1
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 17 Oct 2017 13:59:18 +0200] rev 2778
Also bump version in spec file
Tue, 17 Oct 2017 13:43:38 +0200 [pkg] Version 0.11.3
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 17 Oct 2017 13:43:38 +0200] rev 2777
[pkg] Version 0.11.3
Tue, 17 Oct 2017 12:11:41 +0200 Require CubicWeb 3.25.3 and drop related monkeypatches
Philippe Pepiot <philippe.pepiot@logilab.fr> [Tue, 17 Oct 2017 12:11:41 +0200] rev 2776
Require CubicWeb 3.25.3 and drop related monkeypatches Monkeypatches for derived rtags introduced a regression in SedaArchiveUnit form. Since derived rtags are now relased in CubicWeb 3.25, let's move forward and drop our broken monkeypatchs. Related to extranet #37884173
Mon, 16 Oct 2017 15:45:07 +0200 [profile gen] Avoid querying NoneType objects in SEDA1XSDExport.xsd_attachment()
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 16 Oct 2017 15:45:07 +0200] rev 2775
[profile gen] Avoid querying NoneType objects in SEDA1XSDExport.xsd_attachment() Follow-up on cc3b3e0f6d42 to fix recurring "AttributeError: 'NoneType' object has no attribute 'concepts'" observed in demo's logs.
Mon, 16 Oct 2017 16:53:35 +0200 Add missing ; in cubes.seda.form.js
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 16 Oct 2017 16:53:35 +0200] rev 2774
Add missing ; in cubes.seda.form.js
Fri, 13 Oct 2017 17:56:42 +0200 Added tag 0.11.2, debian/0.11.2-1, centos/0.11.2-1 for changeset aa91a791182e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 17:56:42 +0200] rev 2772
Added tag 0.11.2, debian/0.11.2-1, centos/0.11.2-1 for changeset aa91a791182e
Fri, 13 Oct 2017 17:54:30 +0200 [pkg] Prepare 0.11.2 0.11.2 centos/0.11.2-1 debian/0.11.2-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 17:54:30 +0200] rev 2771
[pkg] Prepare 0.11.2
Fri, 13 Oct 2017 17:53:11 +0200 [migration] Fix 0.11 migration when used in the context of saem
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 17:53:11 +0200] rev 2770
[migration] Fix 0.11 migration when used in the context of saem
Fri, 13 Oct 2017 15:52:24 +0200 Added tag 0.11.1, debian/0.11.1-1, centos/0.11.1-1 for changeset 444be45eb7d3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 15:52:24 +0200] rev 2769
Added tag 0.11.1, debian/0.11.1-1, centos/0.11.1-1 for changeset 444be45eb7d3
Fri, 13 Oct 2017 15:50:37 +0200 [pkg] Prepare 0.11.1 0.11.1 centos/0.11.1-1 debian/0.11.1-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 15:50:37 +0200] rev 2768
[pkg] Prepare 0.11.1
Fri, 13 Oct 2017 15:49:21 +0200 [dataimport] Drop buggy space into new vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 15:49:21 +0200] rev 2767
[dataimport] Drop buggy space into new vocabulary causing error at import time :'(
Fri, 13 Oct 2017 07:11:12 +0200 Added tag 0.11.0, debian/0.11.0-1, centos/0.11.0-1 for changeset 49dc73cb8831
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Oct 2017 07:11:12 +0200] rev 2766
Added tag 0.11.0, debian/0.11.0-1, centos/0.11.0-1 for changeset 49dc73cb8831
Thu, 12 Oct 2017 17:07:58 +0200 [pkg] Prepare 0.11 0.11.0 centos/0.11.0-1 debian/0.11.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 17:07:58 +0200] rev 2765
[pkg] Prepare 0.11
Thu, 12 Oct 2017 16:50:20 +0200 [views] Remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 16:50:20 +0200] rev 2764
[views] Remove debug print
Thu, 12 Oct 2017 16:47:30 +0200 [pkg] Upgrade dependency to pyxst 0.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 16:47:30 +0200] rev 2763
[pkg] Upgrade dependency to pyxst 0.2
Thu, 12 Oct 2017 15:24:11 +0200 [html gen] Support for list as target value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 15:24:11 +0200] rev 2762
[html gen] Support for list as target value which will occurs when the profile has some data object linked to several mime types or format ids. Tests setup is shared with profile generation, so modify it there, it won't hurt the original functional case to cover this as well. Closes #36331831
Thu, 12 Oct 2017 12:52:30 +0200 [profile gen] Support for multiple concepts on mime type and format id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 12:52:30 +0200] rev 2760
[profile gen] Support for multiple concepts on mime type and format id since this may now occurs with values deducted from file category. In such case, generates proper rng:choices / xsd:enumeration. Related to #36331831
Thu, 12 Oct 2017 09:39:54 +0200 [hooks] Add hook to synchronize file_category with mime_type / format_id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 09:39:54 +0200] rev 2758
[hooks] Add hook to synchronize file_category with mime_type / format_id Upon modification of file_category relation, synchronize mime_type / format_id values for the binary data-object, through intermediary SEDAMimeType / SEDAFormatId entities which are kept for now but could be removed if the automatic user cardinality system is validated by business people. Synchronization is implemented to consider textual values of concept in the category vocabulary, and to keep only those which have a match in the vocabularies that are set on the transfer (code list version). Because of that, don't attempt to synchronize values on archive unit component, that should be done when it is imported into a transfer. Related to #36331831
Thu, 12 Oct 2017 09:35:23 +0200 [hooks] Add hooks to create automatically SEDAMimeType and SEDAFormatId entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 Oct 2017 09:35:23 +0200] rev 2757
[hooks] Add hooks to create automatically SEDAMimeType and SEDAFormatId entities on a binary data object. This is done to prepare automatic synchronization of these entities'values (concept) according to file_category. At some point we may want to remove them in favor of direct relations to the binary data object, since these are there to handle a cardinality which will be automatically handled, provided the implemented behaviour fine with business people. Related to #36331831
Wed, 11 Oct 2017 15:28:54 +0200 [dataimport] Turn path from relative to absolute in the LCSV_FILES structure
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 15:28:54 +0200] rev 2753
[dataimport] Turn path from relative to absolute in the LCSV_FILES structure rather than later, so one may still use the `import_seda_schemes` high-level function to import files which are not in the migration/data directory (but rather in test/data). Related to #36331831
Wed, 11 Oct 2017 15:16:03 +0200 [views] UI to edit file_category instead of format_id / mime_type relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 15:16:03 +0200] rev 2750
[views] UI to edit file_category instead of format_id / mime_type relations Do it minimal with no js involved but a simple multiple select. This still have to be coupled to format_id / mime_type but this will be done in later csets. Related to #36331831
Wed, 11 Oct 2017 16:40:21 +0200 [code gen] Change cardinality of seda_mime_type_to and seda_format_id_to relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 16:40:21 +0200] rev 2749
[code gen] Change cardinality of seda_mime_type_to and seda_format_id_to relations So they may link to several mime types / formats deducted from the file category. This was actually not very usable before, since one could not expect a single pronom format (e.g. for a specific PDF version). Related to #36331831
Wed, 11 Oct 2017 15:12:19 +0200 [dataimport] Import file categories vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 15:12:19 +0200] rev 2746
[dataimport] Import file categories vocabulary provided by the SAEM team. Link it to the file_category relation. Related to #36331831
Wed, 11 Oct 2017 15:11:03 +0200 [schema] Add file_category relation to binary data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 15:11:03 +0200] rev 2745
[schema] Add file_category relation to binary data objects This relation will be used in later csets to link the file to a high-level file format, that will be used to control low-level mime type and format id fields. Related to extranet #36331831
Wed, 11 Oct 2017 15:08:06 +0200 [migration] Turn line feeds from dos to unix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 15:08:06 +0200] rev 2744
[migration] Turn line feeds from dos to unix
Wed, 11 Oct 2017 14:58:53 +0200 [code gen] Order list to ease reading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 14:58:53 +0200] rev 2743
[code gen] Order list to ease reading
Wed, 11 Oct 2017 11:35:09 +0200 [3.25 migration] next_tabindex is not anymore part of cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 11:35:09 +0200] rev 2742
[3.25 migration] next_tabindex is not anymore part of cw
Wed, 11 Oct 2017 11:34:43 +0200 [views] BDO of simplified profile should propose edition of format_id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 11:34:43 +0200] rev 2741
[views] BDO of simplified profile should propose edition of format_id not format_litteral
Wed, 11 Oct 2017 09:24:03 +0200 [hook] Don't check for unhandled cardinality on the seda_binary_data_object relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 09:24:03 +0200] rev 2740
[hook] Don't check for unhandled cardinality on the seda_binary_data_object relation in case the profile is a simplified profile. This is because this relation is there because of the SEDA 2 underlying model, where all data objects are below the transfer node, but it is not used in SEDA 0.2 and 1.0, where data objects are dispatched under the archive units tree. So we don't want to prevent having several data objects with cardinality != 1 at different level of the tree. Closes extranet #37372358
Mon, 09 Oct 2017 17:04:39 +0200 [views] Display tooltip over primary view label with XSD element name and documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 17:04:39 +0200] rev 2739
[views] Display tooltip over primary view label with XSD element name and documentation Introduce a bootstrap tooltip whose presence is indicated through a question mark on hover. Notice the comment change above aliasing cw's uicfg: this have to be there because of the relative import from our own uicfg module, though it's still unclear to me why this screw up the module's local namespace. Closes #17106808
Mon, 09 Oct 2017 17:01:59 +0200 [code gen] Generate data structure containing tooltips content
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 17:01:59 +0200] rev 2738
[code gen] Generate data structure containing tooltips content Introduce in views/uicfg.py a new data structure providing XSD element name and documentation indexed by entity type, relation type and role. Related to #17106808
Mon, 09 Oct 2017 17:00:32 +0200 [code gen] Record XSD tag name and documentation on RdefMapping objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 17:00:32 +0200] rev 2737
[code gen] Record XSD tag name and documentation on RdefMapping objects so that they may be used later to generate tooltips in the UI. This requires using yet unreleased pyxst to get support for documentation elements. Related to #17106808
Mon, 09 Oct 2017 16:56:52 +0200 [code gen] Drop upper boundary from copyright in generated files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 16:56:52 +0200] rev 2736
[code gen] Drop upper boundary from copyright in generated files
Wed, 11 Oct 2017 08:06:13 +0200 [migration] Synchronize user_cardinality, missing from previous migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 08:06:13 +0200] rev 2735
[migration] Synchronize user_cardinality, missing from previous migration 0.10.7 changed default cardinality but missed this migration step.
Tue, 10 Oct 2017 15:01:01 +0200 [migration] Add migration script to update language vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Oct 2017 15:01:01 +0200] rev 2734
[migration] Add migration script to update language vocabulary to keep existing migration in sync with change introduced in ba6a36fa1ce7. Closes #17106805
Wed, 11 Oct 2017 09:25:20 +0200 [views] Move data object / reference custom form from archiveunit to simplified module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 09:25:20 +0200] rev 2726
[views] Move data object / reference custom form from archiveunit to simplified module because this is related to simplified view of those object and unrelated to archive unit, so one would rather expect to find them there.
Fri, 06 Oct 2017 08:39:29 +0200 [views] Use 3.25 'derived rtags' feature
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Oct 2017 08:39:29 +0200] rev 2715
[views] Use 3.25 'derived rtags' feature This allows to keep only specific rules in derived rtags and to look for other in the "parent" rtag, so that rules which are set there after the derived rtag have been constructed are still considered (if not overriden). This will avoid some rules duplication in at least the saem_ref cube. There may be a few ones that may be removed from this cube but this is not done by this commit. Using this feature requires backporting fixes done in unreleased cubicweb 3.25.3. Related to #17106806
Wed, 11 Oct 2017 08:06:59 +0200 Migrate to cw 3.25
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Oct 2017 08:06:59 +0200] rev 2714
Migrate to cw 3.25 and drop monkey-patches which are hence no more necessary. Closes #17106806
Tue, 10 Oct 2017 12:17:00 +0200 WIP test fix draft orphan
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Oct 2017 12:17:00 +0200] rev 2707
WIP test fix to be folded or not depending on the fix on the cubicweb side (discussion started)
Mon, 09 Oct 2017 17:04:39 +0200 [views] Display tooltip over primary view label with XSD element name and documentation draft obsolete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 17:04:39 +0200] rev 2706
[views] Display tooltip over primary view label with XSD element name and documentation Introduce a bootstrap tooltip whose presence is indicated through a question mark on hover. Notice the comment change above aliasing cw's uicfg: this have to be there because of the relative import from our own uicfg module, though it's still unclear to me why this screw up the module's local namespace. Closes #17106808
Mon, 09 Oct 2017 17:01:59 +0200 [code gen] Generate data structure containing tooltips content draft obsolete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 17:01:59 +0200] rev 2705
[code gen] Generate data structure containing tooltips content Introduce in views/uicfg.py a new data structure providing XSD element name and documentation indexed by entity type, relation type and role. Related to #17106808
Mon, 09 Oct 2017 17:00:32 +0200 [code gen] Record XSD tag name and documentation on RdefMapping objects draft obsolete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 17:00:32 +0200] rev 2704
[code gen] Record XSD tag name and documentation on RdefMapping objects so that they may be used later to generate tooltips in the UI. This requires using yet unreleased pyxst to get support for documentation elements. Related to #17106808
Mon, 09 Oct 2017 16:56:52 +0200 [code gen] Drop upper boundary from copyright in generated files draft obsolete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 Oct 2017 16:56:52 +0200] rev 2703
[code gen] Drop upper boundary from copyright in generated files
Fri, 06 Oct 2017 08:39:29 +0200 [views] Use 3.25 'derived rtags' feature draft obsolete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Oct 2017 08:39:29 +0200] rev 2702
[views] Use 3.25 'derived rtags' feature This allows to keep only specific rules in derived rtags and to look for other in the "parent" rtag, so that rules which are set there after the derived rtag have been constructed are still considered (if not overriden). This will avoid some rules duplication in at least the saem_ref cube. There may be a few ones that may be removed from this cube but this is not done by this commit. Using this feature requires backporting fixes done in unreleased cubicweb 3.25.3. Related to #17106806
Thu, 05 Oct 2017 17:34:02 +0200 Migrate to cw 3.25 draft obsolete
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Oct 2017 17:34:02 +0200] rev 2701
Migrate to cw 3.25 and drop monkey-patches which are hence no more necessary. Closes #17106806
Thu, 05 Oct 2017 17:35:16 +0200 [skos] Restrict the default languages vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Oct 2017 17:35:16 +0200] rev 2700
[skos] Restrict the default languages vocabulary to only contains languages whose 2-letters code is in the SEDA 0.2 languages list. Closes #17106805
Tue, 05 Sep 2017 11:02:57 +0200 fix debian version number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Sep 2017 11:02:57 +0200] rev 2685
fix debian version number
Fri, 01 Sep 2017 17:23:01 +0200 Added tag 0.10.7, debian/0.10.7-1, centos/0.10.7-1 for changeset d5a3933285c5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 17:23:01 +0200] rev 2684
Added tag 0.10.7, debian/0.10.7-1, centos/0.10.7-1 for changeset d5a3933285c5
Fri, 01 Sep 2017 17:22:32 +0200 [pkg] 0.10.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 17:22:32 +0200] rev 2683
[pkg] 0.10.7
Fri, 01 Sep 2017 17:01:29 +0200 [test] Cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 17:01:29 +0200] rev 2682
[test] Cleanup
Fri, 01 Sep 2017 17:00:53 +0200 [i18] Accord de service -> accord de versement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 17:00:53 +0200] rev 2681
[i18] Accord de service -> accord de versement Closes #17098388
Fri, 01 Sep 2017 17:00:09 +0200 [profile gen] Ensure same name children are ordered accorded to their cardinality
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 17:00:09 +0200] rev 2680
[profile gen] Ensure same name children are ordered accorded to their cardinality As explained in the previous commit, we want items with cardinality = 1 first then the one with cardinality != 1 if any. See previous commit for detailed explanation. Closes #17098404
Fri, 01 Sep 2017 11:19:42 +0200 [hooks] Ensure we don't have several children with cardinality != 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 11:19:42 +0200] rev 2679
[hooks] Ensure we don't have several children with cardinality != 1 By trying to validate several profiles using Jing (in Asalae), it appears that it isn't possible to validate a profile where there are several elements with the same name with optional or/and multiple cardinality, e.g. with a profile telling we expect 1..n Document followed by 1 Document, a transfer with two documents won't be accepted, telling a required document is missing. This is much probably because the validator "eats" the two documents for the first rule, then it misses one to satisfy the second rule. In order to avoid generating such insatisfyable profiles, while not changing much the UI for now, we decided to add hook preventing usage of several sibling children with a cardinality != 1 during edition, and then at RNG profile generation time to put the one with cardinality != 1 as last children. That way profiles should always be validable. This patch introduces the hooks preventing insatisfyable profiles to be created. The next one will ensure the order of RNG export. Two hooks are added to check for unhandled case one for new watched relations and the other for update cardinalities. Added test cases for the 3 most prominent cases: archive unit, document and keywords, with more coverage in the first one and only simple check for the two others. Also, some test have to be updated to follow this change. Notice diff of exported RNG isn't nice to read but is actually only removal of a surrounding "oneOrMore" element. Related to #17098404
Fri, 01 Sep 2017 11:03:28 +0200 [code gen] Generate new structures that will ease check for unhandled cardinalities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 11:03:28 +0200] rev 2671
[code gen] Generate new structures that will ease check for unhandled cardinalities Those structures will be used as bases for hooks necessary to check for unhandled cardinalities, that will be introduced by the following change set. We have to watch composite relation that may lead to several children, and for the entity types that are possible as children. Related to #17098404
Fri, 01 Sep 2017 10:59:40 +0200 [doc] Add some basic information in README
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Sep 2017 10:59:40 +0200] rev 2670
[doc] Add some basic information in README
Thu, 31 Aug 2017 16:03:55 +0200 [schema] Use 1 as default cardinality for seda elements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Aug 2017 16:03:55 +0200] rev 2669
[schema] Use 1 as default cardinality for seda elements This has several advantages: * it's consistent with xsd/rng defaults * it simplifies code * it may avoid undesired validation error once #17098404 will be fixed This requires several test update, fixed by a mix of test case update or expected data update to minimize the changes. Related to #17098404
Thu, 31 Aug 2017 11:12:38 +0200 Added tag 0.10.6, debian/0.10.6-1, centos/0.10.6-1 for changeset ea897ca9b50b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Aug 2017 11:12:38 +0200] rev 2668
Added tag 0.10.6, debian/0.10.6-1, centos/0.10.6-1 for changeset ea897ca9b50b
Thu, 31 Aug 2017 11:08:35 +0200 [pkg] 0.10.6 0.10.6 centos/0.10.6-1 debian/0.10.6-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Aug 2017 11:08:35 +0200] rev 2667
[pkg] 0.10.6
Tue, 29 Aug 2017 16:36:21 +0200 [profile gen] Ensure data-objects are exported before sub-units in SEDA 0.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 29 Aug 2017 16:36:21 +0200] rev 2666
[profile gen] Ensure data-objects are exported before sub-units in SEDA 0.2 else this won't be conform to the SEDA 0.2schema. But notice this is the opposite in SEDA 1.0. In this case, test cases were fine but the problem was actually the same: data-objects and sub-units order was random, and it's not anymore. As we are here, add eid so we get a total ordering, which is an expected property so that exported profiles are consistent during time. This should be enough until we want to control ordering from the UI. Closes extranet #33070904
Thu, 24 Aug 2017 16:24:04 +0200 [test] Add a little test for concept_value function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Aug 2017 16:24:04 +0200] rev 2663
[test] Add a little test for concept_value function Ensure language priority.
Thu, 24 Aug 2017 16:23:36 +0200 [profile generation] Fix concept language used in case of SEDA 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Aug 2017 16:23:36 +0200] rev 2662
[profile generation] Fix concept language used in case of SEDA 0.2 export We should override the concepts_language class attribute else we'll use the inherited 'seda-1' language.
Thu, 24 Aug 2017 16:22:07 +0200 [test] Import profile_generation module rather than specific names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Aug 2017 16:22:07 +0200] rev 2661
[test] Import profile_generation module rather than specific names this will ease testing of other things in this module (as in following cset).
Wed, 16 Aug 2017 15:33:06 +0200 [vocabularies] Fix seda languages for the MIME type vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Aug 2017 15:33:06 +0200] rev 2660
[vocabularies] Fix seda languages for the MIME type vocabulary Values are not SEDA 2 specific, they should be used for every SEDA version, so change 'SEDA-2' into 'SEDA' else the english value is used for SEDA 1.0 and 0.2. Closes extranet #32206261
Thu, 20 Jul 2017 16:12:36 +0200 Added tag 0.10.5, debian/0.10.5-1, centos/0.10.5-1 for changeset 141f3f7f71a0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jul 2017 16:12:36 +0200] rev 2658
Added tag 0.10.5, debian/0.10.5-1, centos/0.10.5-1 for changeset 141f3f7f71a0
Thu, 20 Jul 2017 16:12:24 +0200 [migration] Avoid seeing internal schema object during migration 0.10.5 centos/0.10.5-1 debian/0.10.5-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jul 2017 16:12:24 +0200] rev 2657
[migration] Avoid seeing internal schema object during migration
Thu, 20 Jul 2017 16:05:09 +0200 [pkg] Prepare 0.10.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jul 2017 16:05:09 +0200] rev 2656
[pkg] Prepare 0.10.5 because 0.10.4 has been published with a 0.10.5 migration script :(
Thu, 20 Jul 2017 15:50:06 +0200 Added tag 0.10.4, debian/0.10.4-1, centos/0.10.4-1 for changeset 90dce3345ca5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jul 2017 15:50:06 +0200] rev 2655
Added tag 0.10.4, debian/0.10.4-1, centos/0.10.4-1 for changeset 90dce3345ca5
Thu, 20 Jul 2017 15:44:08 +0200 [pkg] Prepare 0.10.4 0.10.4 centos/0.10.4-1 debian/0.10.4-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Jul 2017 15:44:08 +0200] rev 2654
[pkg] Prepare 0.10.4
Wed, 19 Jul 2017 10:52:19 +0200 [vocabularies] Fix seda languages for the languages vocabularies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jul 2017 10:52:19 +0200] rev 2653
[vocabularies] Fix seda languages for the languages vocabularies 3 letters code should be the default seda value, while seda 0.2 want two letters code.
Wed, 19 Jul 2017 10:51:16 +0200 [schema] Update Label.language_code max size
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Jul 2017 10:51:16 +0200] rev 2651
[schema] Update Label.language_code max size 6 is not enough to hold 'seda-02', move to 7.
Thu, 22 Jun 2017 11:52:03 +0200 [views] UnitBusinessValueEntityView doesn't apply to Shape
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 22 Jun 2017 11:52:03 +0200] rev 2650
[views] UnitBusinessValueEntityView doesn't apply to Shape since it does not have a unit. Closes #17085681
Tue, 13 Jun 2017 14:29:10 +0200 [migration] Add migration script to synchronize compound etypes / relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jun 2017 14:29:10 +0200] rev 2649
[migration] Add migration script to synchronize compound etypes / relations missed by 8f1a4f7abbf6 Related to extranet #25271719
Tue, 13 Jun 2017 12:04:06 +0200 Fix detection of SEDAStartDate within the context of an archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jun 2017 12:04:06 +0200] rev 2646
Fix detection of SEDAStartDate within the context of an archive unit in which case we want the cardinality to be editable. To fix this, we've to consider inlined creation view's "petype" parameter. This has probably not be necessary until now becase SEDAStartDate wasn't until recently editable at entity creation time. Closes #17084051
Tue, 13 Jun 2017 12:01:22 +0200 [i18n] Fix translation inconsistency: départ vs début
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jun 2017 12:01:22 +0200] rev 2645
[i18n] Fix translation inconsistency: départ vs début only keep the last one. Related to #17084051
Tue, 13 Jun 2017 12:00:37 +0200 Check for '_from' presence to detect complex link vs text
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Jun 2017 12:00:37 +0200] rev 2644
Check for '_from' presence to detect complex link vs text instead of hard-coded 'language'. We should also match seda_originating_agency_from. This heuristic is already used in e.g. `rtags_from_rtype_role_targets` function. Closes #17084054
Tue, 06 Jun 2017 11:27:41 +0200 Added tag 0.10.3, debian/0.10.3-1, centos/0.10.3-1 for changeset e9adbbfa204f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jun 2017 11:27:41 +0200] rev 2643
Added tag 0.10.3, debian/0.10.3-1, centos/0.10.3-1 for changeset e9adbbfa204f
Tue, 06 Jun 2017 11:18:29 +0200 Prepare 0.10.3 0.10.3 centos/0.10.3-1 debian/0.10.3-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Jun 2017 11:18:29 +0200] rev 2642
Prepare 0.10.3
Thu, 01 Jun 2017 07:32:30 +0200 [profile gen] Fix position of the Description element in SEDA 0.2/1.0 exports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jun 2017 07:32:30 +0200] rev 2641
[profile gen] Fix position of the Description element in SEDA 0.2/1.0 exports It should appears first for SEDA 1.0 and after custodial history in SEDA 0.2. Update export test accordingly and add Description to SEDA 0.2 validation test. Closes extranet #23707701
Thu, 01 Jun 2017 07:23:21 +0200 [seda] Don't consider agency may be None in agency_id/name methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Jun 2017 07:23:21 +0200] rev 2639
[seda] Don't consider agency may be None in agency_id/name methods since this is handled by the caller.
Thu, 18 May 2017 23:01:43 +0200 [profile gen] Systematically turn IDREF into NCName in SEDA 2.0 RNG export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 May 2017 23:01:43 +0200] rev 2638
[profile gen] Systematically turn IDREF into NCName in SEDA 2.0 RNG export RNG doesn't handle ID/IDREF as XSD: it doesn't handle having some tag's *content* of such type, as it is the case in SEDA 2 ObjectReferenceId element. See https://www.oasis-open.org/committees/relax-ng/compatibility.html#id for details. To fix this, 'downgrade' ID into NCName. This was already done when some data object was referenced, but it should actually be done systematically. Closes #17078970
Wed, 10 May 2017 15:36:34 +0200 Added tag 0.10.2, debian/0.10.2-1, centos/0.10.2-1 for changeset 70cd0b3f5e37
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 May 2017 15:36:34 +0200] rev 2636
Added tag 0.10.2, debian/0.10.2-1, centos/0.10.2-1 for changeset 70cd0b3f5e37
Wed, 10 May 2017 15:26:43 +0200 Prepare 0.10.2 0.10.2 centos/0.10.2-1 debian/0.10.2-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 May 2017 15:26:43 +0200] rev 2635
Prepare 0.10.2
Thu, 27 Apr 2017 14:28:10 +0200 [schema] Remove managers group from update/delete permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Apr 2017 14:28:10 +0200] rev 2634
[schema] Remove managers group from update/delete permissions of entity and relation types in the compound tree. This ensure that permissions of the whole tree depends on permission of the root (SEDAArchiveTransfer or SEDAArchiveUnit), with no special cases for users in the managers group. Related to extranet #19216837
Thu, 27 Apr 2017 11:40:58 +0200 [test] Avoid unauthorized / validation error conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 27 Apr 2017 11:40:58 +0200] rev 2633
[test] Avoid unauthorized / validation error conflict since an archive transfer may have only one seda_comment relation and the tested entity already has one, rather use another to demonstrate the unauthorized permission.
Fri, 21 Apr 2017 16:09:17 +0200 [i18n] Fix translation to be closer to customer's specification
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Apr 2017 16:09:17 +0200] rev 2632
[i18n] Fix translation to be closer to customer's specification Closes extranet #18337720
Fri, 21 Apr 2017 16:49:02 +0200 [pkg] Pin cubicweb version to 3.24
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Apr 2017 16:49:02 +0200] rev 2629
[pkg] Pin cubicweb version to 3.24 test are failing otherwise, because code has to be removed from site_cubicweb.
Fri, 21 Apr 2017 16:08:31 +0200 [entitites] Enhance simplified_profile predicate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Apr 2017 16:08:31 +0200] rev 2627
[entitites] Enhance simplified_profile predicate vs creation of component archive unit, in which case it should return a positive score, not zero. This is because in such case, container can't be detected and implementation trapped this and returned 0. In such case, we must check if we're creating an archive unit and return 1 if so. Closes extranet #18337031
Fri, 21 Apr 2017 16:04:49 +0200 [entities] Rename variable to container to avoid name conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Apr 2017 16:04:49 +0200] rev 2626
[entities] Rename variable to container to avoid name conflict since it's not the same thing as the entity received in arguments.
Fri, 21 Apr 2017 16:03:45 +0200 [views] Simplify afs rtags management a bit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Apr 2017 16:03:45 +0200] rev 2625
[views] Simplify afs rtags management a bit by avoiding `au_content_afs` copy of `afs`, which may be unwillingly selected while for instance `simplified_afs` is expected. Since this is tricky to handle, simplify things a bit by adding rules formerly in `au_content_afs` as default rules and only create on custom `afs` copy for 'reference' archive unit. Related to extranet #18337031
Tue, 18 Apr 2017 11:03:03 +0200 Added tag 0.10.1, debian/0.10.1-1, centos/0.10.1-1 for changeset c82265657b76
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Apr 2017 11:03:03 +0200] rev 2624
Added tag 0.10.1, debian/0.10.1-1, centos/0.10.1-1 for changeset c82265657b76
Thu, 13 Apr 2017 12:25:06 +0200 [views] Hide seda_keyword_reference_to_scheme from scheme edit form 0.10.1 centos/0.10.1-1 debian/0.10.1-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Apr 2017 12:25:06 +0200] rev 2623
[views] Hide seda_keyword_reference_to_scheme from scheme edit form consistently with the primary view.
Thu, 13 Apr 2017 12:24:21 +0200 [views] For now, hide meta relation linking vocabularies to schema types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Apr 2017 12:24:21 +0200] rev 2622
[views] For now, hide meta relation linking vocabularies to schema types This is used for internals and is not yet ready to be exposed to admin.
Thu, 13 Apr 2017 12:23:07 +0200 [i18n] Add missing translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Apr 2017 12:23:07 +0200] rev 2621
[i18n] Add missing translation displayed in the unit's form if there are some value set.
Thu, 13 Apr 2017 11:19:21 +0200 [pkg] Prepare 0.10.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Apr 2017 11:19:21 +0200] rev 2620
[pkg] Prepare 0.10.1
Wed, 12 Apr 2017 11:17:00 +0200 [i18n] Update translations from the 'add' menu of archive unit tabs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Apr 2017 11:17:00 +0200] rev 2619
[i18n] Update translations from the 'add' menu of archive unit tabs Take care msgid are not the saem for archive transfer vs archive unit. Related to extranet #12349917
Mon, 10 Apr 2017 17:41:31 +0200 [views] Ensure archive unit's creation/edition form is consistent with its main tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Apr 2017 17:41:31 +0200] rev 2617
[views] Ensure archive unit's creation/edition form is consistent with its main tab in case of simplified profile. This requires adding afs rules and adding/updating some translations. Closes extranet #16385548
Mon, 10 Apr 2017 16:16:10 +0200 Remove special case handling of clone_of when setting permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Apr 2017 16:16:10 +0200] rev 2616
Remove special case handling of clone_of when setting permissions It should simply be skipped by adding it to GRAPH_SKIP_RTYPES.
Mon, 10 Apr 2017 16:14:05 +0200 Consider GRAPH_SKIP_RTYPES set for external rdefs as well in iter_all_rdefs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Apr 2017 16:14:05 +0200] rev 2615
Consider GRAPH_SKIP_RTYPES set for external rdefs as well in iter_all_rdefs giving client cube a consistent way to control graph traversal and so to avoid considering undesired special relations such as container.
Mon, 10 Apr 2017 16:11:08 +0200 Make iter_external_rdefs function private
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Apr 2017 16:11:08 +0200] rev 2614
Make iter_external_rdefs function private this is not part of the seda cube API.
Tue, 11 Apr 2017 15:19:39 +0200 [test/cleanup] Use .cnx instead of (repo/client)_cnx
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Apr 2017 15:19:39 +0200] rev 2613
[test/cleanup] Use .cnx instead of (repo/client)_cnx
Mon, 10 Apr 2017 15:42:43 +0200 [test/security] Add test about some relation from ConceptScheme
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Apr 2017 15:42:43 +0200] rev 2612
[test/security] Add test about some relation from ConceptScheme * scheme_relation_type / scheme_entity_type (reserved to managers) * code_keyword_type (users friendly)
Mon, 10 Apr 2017 15:38:14 +0200 [test] Create user in setup_database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 Apr 2017 15:38:14 +0200] rev 2611
[test] Create user in setup_database Having a standard user available in a security test makes sense.
Fri, 31 Mar 2017 18:53:49 +0200 [doc] Add some documentation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 18:53:49 +0200] rev 2610
[doc] Add some documentation
Fri, 31 Mar 2017 14:27:39 +0200 [migration] Fix potentiel NoResult / MultipleRows error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 14:27:39 +0200] rev 2593
[migration] Fix potentiel NoResult / MultipleRows error We prefer a succeding migration then detecting weirdness in the database. Error encountered while migrating the seda demo.
Fri, 31 Mar 2017 15:47:40 +0200 Provide an alternate way to control the compound graph
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 15:47:40 +0200] rev 2592
Provide an alternate way to control the compound graph using global sets instead of through partial .keyword attribute.
Fri, 31 Mar 2017 14:55:09 +0200 [test] Add support for extra kwargs to scheme_for_rtype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 14:55:09 +0200] rev 2591
[test] Add support for extra kwargs to scheme_for_rtype This is useful for saem to insert its naa without redefining the whole function.
Fri, 31 Mar 2017 14:54:19 +0200 [test] Introduce assertValidationError context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 14:54:19 +0200] rev 2590
[test] Introduce assertValidationError context manager similarly to assertUnauthorized.
Fri, 31 Mar 2017 14:53:32 +0200 [test] Move assertUnauthorized to testutils
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 14:53:32 +0200] rev 2589
[test] Move assertUnauthorized to testutils so it's importable and reusable from client libs.
Fri, 31 Mar 2017 11:11:56 +0200 [test] Make testutils importable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 11:11:56 +0200] rev 2570
[test] Make testutils importable
Fri, 31 Mar 2017 11:00:42 +0200 [migration] Commit once for all
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 11:00:42 +0200] rev 2569
[migration] Commit once for all add avoid a lot of confirmation.
Fri, 31 Mar 2017 09:57:49 +0200 Added tag 0.10.0, debian/0.10.0-1, centos/0.10.0-1 for changeset 746ad8fb9838
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 09:57:49 +0200] rev 2568
Added tag 0.10.0, debian/0.10.0-1, centos/0.10.0-1 for changeset 746ad8fb9838
Thu, 30 Mar 2017 18:51:11 +0200 [schema] Make description level mandatory 0.10.0 centos/0.10.0-1 debian/0.10.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Mar 2017 18:51:11 +0200] rev 2567
[schema] Make description level mandatory This is an enum in the original xsd while we don't output possible values currently, so in the mean time make it mandatory, it's still a bit better than relying on the original schema for that, and it makes sense from a business POV to force specification of description level of an archive unit. A lot of tests have to be updated, some of them because output value is now different, others because we've to introduce a scheme+concept to handle the validation, but they were not expecting that. Closes #16687907
Fri, 31 Mar 2017 09:44:00 +0200 Prepare 0.10.0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 31 Mar 2017 09:44:00 +0200] rev 2566
Prepare 0.10.0
Thu, 30 Mar 2017 17:22:31 +0200 [profile gen] Export URL for keyword reference content
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Mar 2017 17:22:31 +0200] rev 2565
[profile gen] Export URL for keyword reference content not text. Consistently with SEDA 1/0.2 export.
Thu, 30 Mar 2017 17:21:52 +0200 [profile scheme] Use the cwuri_url static method to generate URLs for SEDA 2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Mar 2017 17:21:52 +0200] rev 2564
[profile scheme] Use the cwuri_url static method to generate URLs for SEDA 2 export as this was already done for SEDA 1/0.2 export. Move method from SEDA 1 export to the common base class with SEDA 2 export to make it available there and avoid duplication. Also SEDA 2 test needs update since this method return cwuri instead of absolute_url. Related to extranet #15934739
Thu, 30 Mar 2017 16:38:47 +0200 [profile gen] Be more resilient about supported concept's languages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Mar 2017 16:38:47 +0200] rev 2563
[profile gen] Be more resilient about supported concept's languages Export used to chose concept value by searching for label with the following language code: 1. version specific (seda-2, seda-1 or seda-02) 2. seda 3. en and crash if no matching label was found. But it seems we don't want it to crash because we use some concept which has e.g. only a concept in 'fr' language code. At some point we may want to improve this, depending on the relation (internal seda vocabulary vs open vocabulary such as keyword reference), but for now, let's add 'fr' to the expected language list and fallback to any language if none has been found so the export doesn't fail. Related to extranet #15934212
Thu, 30 Mar 2017 13:53:01 +0200 Provide a way to control the compound graph
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Mar 2017 13:53:01 +0200] rev 2555
Provide a way to control the compound graph useful for e.g. the saem_ref cube that introduces some entity types (Activity) which would be shared by different compound graph while we want it to be skipped.
Wed, 29 Mar 2017 15:41:45 +0200 [dataimport] Fix lcsv files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 15:41:45 +0200] rev 2553
[dataimport] Fix lcsv files Added a test checking that we've a consistent number of separators in each line of lcsv files. This led to fix some some headers as well as some definitions containing the separator in text, leading to no error but unconsidered text. Along the way, uniformize column labels. We do not mind fixing definitions in existing database for now, since there are now production databases in the wild yet. Related to #17066564
Wed, 29 Mar 2017 15:38:03 +0200 [i18n] Fix translation of some concepts from the description levels vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 15:38:03 +0200] rev 2551
[i18n] Fix translation of some concepts from the description levels vocabulary one was erroneous due to a bad copy/paste, the other was not correctly translated in the SEDA 1.0 specification at https://redirect.francearchives.fr/seda/api/seda_v1-0_descriptionlevel_code_xsd_Element_LevelDescriptionCode.htm#LevelDescriptionCode This first point also fixes concept's definition, but we do not mind fixing it in existing database for now, since there are now production databases in the wild yet. Related to #17066564
Wed, 29 Mar 2017 08:55:24 +0200 [cleanup] Drop unreachable code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 08:55:24 +0200] rev 2550
[cleanup] Drop unreachable code We never run into this part of the code, so let's drop it.
Wed, 29 Mar 2017 08:54:39 +0200 [cleanup] Fix variable name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 08:54:39 +0200] rev 2549
[cleanup] Fix variable name
Wed, 29 Mar 2017 08:54:25 +0200 [cleanup] Import in alphabetical order
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 08:54:25 +0200] rev 2548
[cleanup] Import in alphabetical order
Wed, 29 Mar 2017 10:21:46 +0200 [profile gen] Stop fixing order of binary/physical data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 10:21:46 +0200] rev 2547
[profile gen] Stop fixing order of binary/physical data objects Before this cset, data objects were inserted one after another in some random order, but in the RNG semantics this was forcing their order. To avoid this, we've to put them in a rng:group node. Several strategies have been considered to achieve this: * change the underlying XSD representation, but this would require either changing the data model or handling a difference between the representation used to generate the schema and the one used to generate the RNG profile, * add some special case when a data object node is generated, but this would require handling some state to see if the rng:group has already been inserted, * add a postprocessing step doing the job all at once using lxml's API. It appeared to me that the two first strategies where too much tricky and less readable than the third one. Related to #17066567
Wed, 29 Mar 2017 10:22:08 +0200 [profile gen] Drop support for SEDA 2.0 XSD export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 10:22:08 +0200] rev 2546
[profile gen] Drop support for SEDA 2.0 XSD export XSD isn't able to properly export SEDA 2.0, stop supporting it all together.
Tue, 28 Mar 2017 16:57:57 +0200 [i18n] Fix some labels as asked by #17066620
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Mar 2017 16:57:57 +0200] rev 2545
[i18n] Fix some labels as asked by #17066620 Some of them being in .pot, others in persistent vocabularies requiring some migration. Closes #17066620
Wed, 29 Mar 2017 09:54:11 +0200 [hooks] Synchronize user_cardinality of binary data object and its reference
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 09:54:11 +0200] rev 2544
[hooks] Synchronize user_cardinality of binary data object and its reference when in a simplified profile, because the ui only display bdo's cardinality. Closes #17066567
Wed, 29 Mar 2017 09:52:54 +0200 [test] Drop useless fixture
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 09:52:54 +0200] rev 2543
[test] Drop useless fixture Its tests are fine under the ValidationHooksTC umbrella.
Wed, 29 Mar 2017 09:51:51 +0200 [test] Import module instead of names
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Mar 2017 09:51:51 +0200] rev 2542
[test] Import module instead of names will be easier to use another function from this module.
Wed, 22 Mar 2017 17:37:14 +0100 [schema] Fix definition of the container relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Mar 2017 17:37:14 +0100] rev 2532
[schema] Fix definition of the container relation Cardinality and permissions defined on the relation type wasn't considered as expected because the relation is added dynamically in post_build_callback. We have to set them explicitly there. This added to a bug in the cloning code led to entities with several containers. To fix this, migration script pick the container with the greatest eid since it should be the one which is not unexpectedly copied. Anyway, even if that's wrong that's no big deal because there are only demo instances for now which don't really care of data loss. This patch also set properly cardinality on container relation for SEDAArchiveUnit, which is expected to be optional while mandatory for others. This has not been detected before since it wasn't actually mandatory by default before this patch.
Tue, 28 Mar 2017 10:55:58 +0200 merge public heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Mar 2017 10:55:58 +0200] rev 2531
merge public heads
Fri, 24 Mar 2017 10:18:13 +0100 [views] Deactivate relationwidget's creation form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Mar 2017 10:18:13 +0100] rev 2530
[views] Deactivate relationwidget's creation form I don't like it and it doesn't work well. Closes #17066566
Wed, 22 Mar 2017 17:40:32 +0100 [views] Add missing css/js to the ConceptAutoCompleteWidget
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Mar 2017 17:40:32 +0100] rev 2529
[views] Add missing css/js to the ConceptAutoCompleteWidget those went unnoticed because in saem they are added by some global widget, but they are actually necessary. Along the way, declare them using standard needs_css / needs_js widget class attributes. Closes #17066562
Wed, 22 Mar 2017 17:38:49 +0100 [views] Fix add sub-archive-units menu on archive units of simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Mar 2017 17:38:49 +0100] rev 2528
[views] Fix add sub-archive-units menu on archive units of simplified profile which unexpectedly propose to add "reference archive unit" because a class attribute hadn't followed a renaming in its parent class.
Thu, 23 Mar 2017 11:59:06 +0100 [schema] Fix iter_all_rdefs utility function to skip rdef not reachable from the container
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Mar 2017 11:59:06 +0100] rev 2526
[schema] Fix iter_all_rdefs utility function to skip rdef not reachable from the container The previous implementation was yielding rdefs which were not in the compound graph, because of the blind loop on every rdef of an rtype. To fix this, we can't use structure_def whose data structure isn't adapted to this use-case, rather iterate top-down from the root (this 'child_structure' method is unfortunatly not in compound.Graph, we might add it there at some point).
Wed, 22 Mar 2017 17:32:33 +0100 [i18n] Consistently use 'descripteur' rather than 'mot-clé'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Mar 2017 17:32:33 +0100] rev 2521
[i18n] Consistently use 'descripteur' rather than 'mot-clé'
Wed, 22 Mar 2017 17:32:03 +0100 [entities] Don't attempt to clone the container relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Mar 2017 17:32:03 +0100] rev 2520
[entities] Don't attempt to clone the container relation The container relation is handled by hooks and must not be copied in any case.
Tue, 21 Mar 2017 14:37:35 +0100 Added tag 0.9.0, debian/0.9.0-1, centos/0.9.0-1 for changeset 1db4f425bbff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Mar 2017 14:37:35 +0100] rev 2519
Added tag 0.9.0, debian/0.9.0-1, centos/0.9.0-1 for changeset 1db4f425bbff
Tue, 21 Mar 2017 13:38:20 +0100 Depends on compound 0.6 0.9.0 centos/0.9.0-1 debian/0.9.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Mar 2017 13:38:20 +0100] rev 2518
Depends on compound 0.6
(0) tip