Thu, 23 Feb 2017 11:50:39 +0100 Added tag 0.7.0, debian/0.7.0-1, centos/0.7.0-1 for changeset ec60056b9b17
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2017 11:50:39 +0100] rev 2376
Added tag 0.7.0, debian/0.7.0-1, centos/0.7.0-1 for changeset ec60056b9b17
Thu, 23 Feb 2017 11:50:09 +0100 Prepare 0.7.0 0.7.0 centos/0.7.0-1 debian/0.7.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2017 11:50:09 +0100] rev 2375
Prepare 0.7.0
Wed, 22 Feb 2017 15:52:17 +0100 [views] Propose to add concept keyword before simple keyword
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 15:52:17 +0100] rev 2374
[views] Propose to add concept keyword before simple keyword As specified by extranet #14592456
Wed, 22 Feb 2017 15:51:40 +0100 [i18n] Consistently use 'descripteur libre' / 'descripteur contrôlé'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 15:51:40 +0100] rev 2373
[i18n] Consistently use 'descripteur libre' / 'descripteur contrôlé' instead of 'mot-clé', as specified in extranet #14592456.
Wed, 22 Feb 2017 22:31:35 +0100 [views] Display SEDA tree box first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 22:31:35 +0100] rev 2372
[views] Display SEDA tree box first
Wed, 22 Feb 2017 22:31:07 +0100 Stop using deprecated function from the relation widget cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 22:31:07 +0100] rev 2371
Stop using deprecated function from the relation widget cube and so avoid deprecation warning.
Wed, 22 Feb 2017 21:39:46 +0100 [views] Backport /sedalib path handling from saem_ref
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 21:39:46 +0100] rev 2370
[views] Backport /sedalib path handling from saem_ref leading to archive units which are not in a profile.
Wed, 22 Feb 2017 14:36:38 +0100 [views] Fix selection of afs rtag on creation of data-object for simplified archive units
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 14:36:38 +0100] rev 2369
[views] Fix selection of afs rtag on creation of data-object for simplified archive units There were concurrency between simplified_afs and do_ref_afs and the latter was unexpectedly selected, leading to erroneous interface proposing to link to an existing data objects, which makes no sense in the case of simplified profile or component archive units. This was because of an `is_typed_reference` unexpectedly return 1 in this case, while this is not possible because component archive unit are considered "simplified", and there may be no typed reference in a simplified profile. Fix it by extracting a `is_full_seda2_profile` function from the `full_seda2_profile` predicated. Along the way, renamed `is_typed_reference` into `typed_reference` for consistency with `full_seda2_profile` and `simplified_profile`.
Wed, 22 Feb 2017 13:40:58 +0100 [test] Add a test for unit_ref_vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 13:40:58 +0100] rev 2368
[test] Add a test for unit_ref_vocabulary similar to the one added for do_ref_vocabulary in parent cset.
Wed, 22 Feb 2017 13:33:25 +0100 [views] Fix bad rql of vocabulary function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Feb 2017 13:33:25 +0100] rev 2367
[views] Fix bad rql of vocabulary function and add a test to avoid this in the future. Along the way "properly" handle monkey-patching necessary to import some seda views modules.
Wed, 08 Feb 2017 16:10:18 +0100 [css] Ensure field value column has a minimum size
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Feb 2017 16:10:18 +0100] rev 2358
[css] Ensure field value column has a minimum size else when there is no value field, it has a tiny space allocated and you've to go to the right side of the table to see the '+' allowing to add a value.
Thu, 23 Feb 2017 10:08:40 +0100 [i18n] Remove messages deprecated by 9e88b1141bb9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 23 Feb 2017 10:08:40 +0100] rev 2357
[i18n] Remove messages deprecated by 9e88b1141bb9
Wed, 15 Feb 2017 12:00:53 +0100 [views] remove links to XSD exports
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 15 Feb 2017 12:00:53 +0100] rev 2349
[views] remove links to XSD exports Closes extranet #16687517
Mon, 20 Feb 2017 11:36:04 +0100 [entities] add SEDA version to exported filename
Philippe Pepiot <philippe.pepiot@logilab.fr> [Mon, 20 Feb 2017 11:36:04 +0100] rev 2348
[entities] add SEDA version to exported filename Closes extranet #16687524
Wed, 08 Feb 2017 15:36:18 +0100 0.6.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Feb 2017 15:36:18 +0100] rev 2343
0.6.1
Wed, 08 Feb 2017 14:32:28 +0100 [pkg] Reorganize a bit tox.ini file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Feb 2017 14:32:28 +0100] rev 2342
[pkg] Reorganize a bit tox.ini file
Wed, 08 Feb 2017 14:32:09 +0100 [pkg] Check and fix manifest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Feb 2017 14:32:09 +0100] rev 2341
[pkg] Check and fix manifest
Wed, 08 Feb 2017 14:29:12 +0100 [pkg] Drop unused makefile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Feb 2017 14:29:12 +0100] rev 2340
[pkg] Drop unused makefile
Wed, 08 Feb 2017 10:54:53 +0100 Hide relations tab for simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Feb 2017 10:54:53 +0100] rev 2339
Hide relations tab for simplified profile it should only be displayed for full seda2 profiles.
Mon, 06 Feb 2017 16:07:24 +0100 [i18n] Add missing surrounding <>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Feb 2017 16:07:24 +0100] rev 2338
[i18n] Add missing surrounding <> Leading to untranslated string. Fix xsd2uicfg and regenerate uicfg file.
Mon, 06 Feb 2017 15:32:16 +0100 [views] Move clone_of relation to the relations section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Feb 2017 15:32:16 +0100] rev 2337
[views] Move clone_of relation to the relations section As a right box (the default location) it takes some precious horizontal space for low-benefit information.
Mon, 06 Feb 2017 15:31:06 +0100 [views] Use the relation widget on relations targeting an authority record
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Feb 2017 15:31:06 +0100] rev 2336
[views] Use the relation widget on relations targeting an authority record On the saemref demo with a few thousands of authority records, it's necessary to have such 'lazy' widget.
Mon, 06 Feb 2017 15:29:56 +0100 [views] Turn string to unicode to avoid assertion error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Feb 2017 15:29:56 +0100] rev 2332
[views] Turn string to unicode to avoid assertion error
Mon, 06 Feb 2017 15:29:11 +0100 [i18n] Add missing call to _cw._ to actually translate add button's label
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Feb 2017 15:29:11 +0100] rev 2331
[i18n] Add missing call to _cw._ to actually translate add button's label
Thu, 02 Feb 2017 18:36:18 +0100 Use color to distinguish data object and archive unit
Juliette Belin <juliette.belin@logilab.fr> [Thu, 02 Feb 2017 18:36:18 +0100] rev 2330
Use color to distinguish data object and archive unit closes #16687425
Mon, 30 Jan 2017 15:02:43 +0100 Added tag 0.6.0, debian/0.6.0-1, centos/0.6.0-1 for changeset 9427d51e9dc8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 Jan 2017 15:02:43 +0100] rev 2328
Added tag 0.6.0, debian/0.6.0-1, centos/0.6.0-1 for changeset 9427d51e9dc8
Mon, 30 Jan 2017 14:47:06 +0100 Prepare 0.6.0 0.6.0 centos/0.6.0-1 debian/0.6.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 Jan 2017 14:47:06 +0100] rev 2327
Prepare 0.6.0
Fri, 27 Jan 2017 17:17:26 +0100 [pkg] Remove dev-deps which have been released
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Jan 2017 17:17:26 +0100] rev 2326
[pkg] Remove dev-deps which have been released
Fri, 27 Jan 2017 11:29:25 +0100 Don't give card_entity when copying attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Jan 2017 11:29:25 +0100] rev 2325
Don't give card_entity when copying attributes else its cardinality will be considered while we want the attribute's cardinality defined in the schema. Fix test broken since f54a06d45f49
Wed, 25 Jan 2017 21:44:02 +0100 Hide seda_keyword_reference_to_scheme from concept view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Jan 2017 21:44:02 +0100] rev 2324
Hide seda_keyword_reference_to_scheme from concept view
Wed, 25 Jan 2017 21:43:12 +0100 <non spécifié> replaced by <pas de valeur saisie>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Jan 2017 21:43:12 +0100] rev 2323
<non spécifié> replaced by <pas de valeur saisie> Closes #16684053
Wed, 25 Jan 2017 21:36:58 +0100 Replace confusing <unauthorizedW by... nothing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Jan 2017 21:36:58 +0100] rev 2322
Replace confusing <unauthorizedW by... nothing Related to #16684053
Fri, 20 Jan 2017 17:40:30 +0100 [migration] Disable hooks during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 17:40:30 +0100] rev 2318
[migration] Disable hooks during migration
Fri, 20 Jan 2017 14:54:31 +0100 Fix a typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 14:54:31 +0100] rev 2317
Fix a typo
Fri, 20 Jan 2017 14:53:52 +0100 Set default cardinality of keyword reference to 1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 14:53:52 +0100] rev 2316
Set default cardinality of keyword reference to 1 Now that we have a different ui for simple vs reference keyword, cardinality on keyword reference is no more meaningful and hidden in the UI, since we would like to always have cardinality=1 for reference keyword when generating profiles. The easiest way to do so is to set proper default value, else by removing the attribute we would have to do extra customization to the SEDA 2 profile generator to consider that it shouldn't use the cardinality in the SEDA 2 XSD (0..1). Closes #16070921
Fri, 20 Jan 2017 14:45:50 +0100 UI for adding either 'simple keyword' (a string) or 'concept keyword' (a reference to a concept)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 14:45:50 +0100] rev 2315
UI for adding either 'simple keyword' (a string) or 'concept keyword' (a reference to a concept) This is done using a 'keyword_type' parameters at creation time, then detecting if the keyword has a reference or not. In the case of simple keyword, only display cardinality and keyword's content (the string). For concept, hide keyword's content but force creation of a reference. Reference's cardinality may be hidden, though a bit of work will be needed to generate '1' cardinality on profile export. Related to #16070921
Fri, 20 Jan 2017 10:39:21 +0100 [xsd2yams] Skip KeywordContent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 10:39:21 +0100] rev 2314
[xsd2yams] Skip KeywordContent This is a mandatory and unique children of Keyword, so it may be skipped while this ease thing to get a different UI for 'simple keyword' vs 'concept keyword' that still has to be done. Related to #16070921
Fri, 20 Jan 2017 10:34:37 +0100 [test] Follow new eac cube API
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 10:34:37 +0100] rev 2312
[test] Follow new eac cube API
Fri, 20 Jan 2017 10:33:34 +0100 [pkg] Follow cubicweb 3.24
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Jan 2017 10:33:34 +0100] rev 2311
[pkg] Follow cubicweb 3.24 Hard-coded changeset has been rebased and integrated.
Thu, 19 Jan 2017 19:48:49 +0100 Use ArchiveUnitSubObjectsTab as parent class of ArchiveUnitArchiveUnitsTab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2017 19:48:49 +0100] rev 2310
Use ArchiveUnitSubObjectsTab as parent class of ArchiveUnitArchiveUnitsTab This allows to factorize url parameters generation and to have consistent separation of concerns.
Thu, 19 Jan 2017 19:53:11 +0100 Extract function to compute 'add links' with custom arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2017 19:53:11 +0100] rev 2309
Extract function to compute 'add links' with custom arguments from the archive unit's archive units tab (to add sub archive unit parametrized by an extra URL parameter).
Thu, 19 Jan 2017 19:28:05 +0100 Factorize display of 'add button' in a new display_add_button function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2017 19:28:05 +0100] rev 2308
Factorize display of 'add button' in a new display_add_button function
Thu, 19 Jan 2017 19:17:29 +0100 Drop add_subobjects_button utility function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2017 19:17:29 +0100] rev 2307
Drop add_subobjects_button utility function it had two responsability: computing links to put in the dropdown and actually generating the HTML. This makes it unusable when one want to generate link in another fashion. Rather extract a new `add_links_from_rtypes_roles` to generate links and inline the HTML generation in client code.
Thu, 19 Jan 2017 11:07:01 +0100 [i18n] Use a less error prone i18n message id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2017 11:07:01 +0100] rev 2306
[i18n] Use a less error prone i18n message id
Thu, 19 Jan 2017 10:26:56 +0100 [migration] Tweak migration to avoid being asked for too much confirmation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 Jan 2017 10:26:56 +0100] rev 2305
[migration] Tweak migration to avoid being asked for too much confirmation
Wed, 18 Jan 2017 15:35:12 +0100 Add dumb migration from agent to authority records
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Jan 2017 15:35:12 +0100] rev 2304
Add dumb migration from agent to authority records Though this requires yet unpublished patch of cw 3.24 to not crash on addition of Activity (as prov is a dependancy of the eac cube). Test if Agent is still in the schema before dropping it, since saem_ref use the seda cube but also have its own definition of Agent, which we don't want to drop.
Tue, 17 Jan 2017 18:03:14 +0100 Use dc_title, AuthorityRecord.name is gone in recent csets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Jan 2017 18:03:14 +0100] rev 2302
Use dc_title, AuthorityRecord.name is gone in recent csets
Wed, 11 Jan 2017 21:29:38 +0100 Fold content tab into archive unit's description tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 21:29:38 +0100] rev 2301
Fold content tab into archive unit's description tab This requires a bit more work than expected due to monolitic implementation of render_attributes in cubicweb, as explained in the inline comment. Closes #16684017
Wed, 11 Jan 2017 15:07:07 +0100 Eventually drop the views.content module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 15:07:07 +0100] rev 2300
Eventually drop the views.content module Everything has been moved to the views.archiveunit module. Closes #16684017
Wed, 11 Jan 2017 21:30:05 +0100 Move latest content's tab to archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 21:30:05 +0100] rev 2299
Move latest content's tab to archive unit i.e. the tab displaying content information which is not yet displayed by other tab (mainly controlled by uicfg rules). Move there pre-existing code in the same module, for the case of simplified profiles. Related to #16684017
Wed, 11 Jan 2017 14:14:32 +0100 Move most content's tab to the archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 14:14:32 +0100] rev 2298
Move most content's tab to the archive unit The only one remaining being the default one. Along the way, rename some identifier and classes to be more consistent. The views.content module isn't modified yet, it will be dropped all at once when this work will be completed. Related to #16684017
Wed, 11 Jan 2017 22:03:06 +0100 Remove remaining usage of dropped 'id' attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 22:03:06 +0100] rev 2297
Remove remaining usage of dropped 'id' attributes Update rql query and use .dc_title entity method to generate label from annotation (prefetched).
Wed, 11 Jan 2017 09:06:18 +0100 [profile gen] Add a special case for path through data_object_reference_id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 09:06:18 +0100] rev 2296
[profile gen] Add a special case for path through data_object_reference_id This relation is explicitly marked as composite in shema/__init__.py to ease the case of simplified profiles, where we want data objects to appear as children of archive unit instead of references as expected by SEDA 2. Doing this, we introduced a bug in SEDA 2 profile generation where the target value (hence the referenced data object) was also considered as the 'cardinality entity' (the one defining the cardinality / annotation) for the associated XML element. This led to using the data object's cardinality / annotation for the *reference* element.
Fri, 13 Jan 2017 11:09:39 +0100 Add missing dependency to rdflib
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 Jan 2017 11:09:39 +0100] rev 2295
Add missing dependency to rdflib this is necessary to setup a new instance (import of lcsv data).
Wed, 11 Jan 2017 22:20:59 +0100 Stop relying on a hook to create SEDATitle if necessary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 22:20:59 +0100] rev 2294
Stop relying on a hook to create SEDATitle if necessary This is not anymore necessary for the web UI which may now inline this into the archive unit creation form.
Wed, 11 Jan 2017 22:02:14 +0100 [i18n] Fix inconsistent translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 22:02:14 +0100] rev 2293
[i18n] Fix inconsistent translation else one see 'type OAIS' in primary tab and "type d'information" in edit form.
Wed, 11 Jan 2017 22:09:24 +0100 Fix display of annotation for non-first-level etypes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 22:09:24 +0100] rev 2292
Fix display of annotation for non-first-level etypes else extra \n get inserted.
Wed, 11 Jan 2017 12:06:48 +0100 Rewrite history/indexation tab following folding of the SEDAContent entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 12:06:48 +0100] rev 2291
Rewrite history/indexation tab following folding of the SEDAContent entity This was done only for simplified profile, but since we folded SEDAContent entity we want this for the generic case. Along the way, introduce base classes that will be used to do more tabs like those (all the content's tab will be moved up to the archive unit). Related to #16684017
Wed, 11 Jan 2017 09:50:56 +0100 Consistently use CONTENT_ETYPE global in view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 09:50:56 +0100] rev 2272
Consistently use CONTENT_ETYPE global in view instead of 'SEDASeqAltArchiveUnitArchiveUnitRefIdManagement' which is boring to read and remember. Related to #16684017
Wed, 11 Jan 2017 09:43:26 +0100 [xsd] href element should be skipped as well since we jump Content element
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 09:43:26 +0100] rev 2271
[xsd] href element should be skipped as well since we jump Content element This should have been done for a while, but was not causing problem until we jumped the Content element. This is now necessary to avoid test failure. Related to #16684017
Wed, 11 Jan 2017 10:45:55 +0100 Skip intermediary SEDAContent entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 10:45:55 +0100] rev 2270
Skip intermediary SEDAContent entity In SEDA 2.1, only one Content node is permitted per archive unit (2.0 allow multiple ones). This allows to skip the SEDAContent entity in our model and to attach all its children to its parent (SEDASeqAltArchiveUnitArchiveUnitRefIdManagement). This patch replaces occurences of SEDAContent/seda_content and should have test to green but there is still some work to do on the UI side. Related to #16684017
Thu, 05 Jan 2017 11:17:00 +0100 [jqtree] Add missing CSS class to distinguish displayed node from others
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 11:17:00 +0100] rev 2269
[jqtree] Add missing CSS class to distinguish displayed node from others This has been missed while backporting from the saem_ref cube. Use a more specific class name along the way.
Thu, 05 Jan 2017 11:08:49 +0100 [jqtree] Change 'maybe child' into 'maybe moved'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 11:08:49 +0100] rev 2268
[jqtree] Change 'maybe child' into 'maybe moved' As this is currenly the actual meaning. If it has been properly named, I would probably have returned the proper value for data object (false, not true).
Wed, 11 Jan 2017 07:56:54 +0100 Generalize usage of relative import instead of importing from cubes.seda
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 07:56:54 +0100] rev 2267
Generalize usage of relative import instead of importing from cubes.seda
Wed, 11 Jan 2017 07:54:26 +0100 [pkg] Add missing license header
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 07:54:26 +0100] rev 2266
[pkg] Add missing license header
Wed, 11 Jan 2017 15:08:47 +0100 Use first line of annotation as title for archive units and data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 15:08:47 +0100] rev 2265
Use first line of annotation as title for archive units and data objects * make it mandatory ; * update migration script removing id to copy existing value to annotation before removal ; * regenerate test data file since this change adds exported annotations. Along the way, add missing escaping when displaying user_annotation, by using printable_value. Related to #16070476
Tue, 10 Jan 2017 17:51:45 +0100 Stop using unique identifier on archive unit and data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jan 2017 17:51:45 +0100] rev 2264
Stop using unique identifier on archive unit and data objects They have been introduced at a first glance to handle references during profile generation as well as display of 'first class' element in the UI. The main problem is that they clash when using the 'import archive unit' feature, since one may not import the same unit twice without changing the id first. Another problem is that their purpose is not clear to end-user. This changeset remove the attribute, use eid instead during profile generation and fix tests. UI and proper migration will be handled in later csets. Related #16070476
Tue, 10 Jan 2017 16:07:35 +0100 [i18n] Fix some messages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jan 2017 16:07:35 +0100] rev 2263
[i18n] Fix some messages Closes #16688021
Fri, 06 Jan 2017 12:34:33 +0100 Fix display of 'compressed' attribute of a binary data object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 12:34:33 +0100] rev 2262
Fix display of 'compressed' attribute of a binary data object
Thu, 05 Jan 2017 14:37:47 +0100 [profile gen] Fix path_target_values wrt skipped attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 14:37:47 +0100] rev 2261
[profile gen] Fix path_target_values wrt skipped attributes for instance in case of restrictionEndDate, it was returning [(content entity, restriction end date entity)] instead of [(restriction end date entity, None)] This was only causing cardinality error (eg you get the content entity's cardinality instead of the restriction end date's one) which have been unnoticed until a cardinality uncompatible with attribute was used on a content node. Closes #16688086
Wed, 11 Jan 2017 09:41:15 +0100 [test] Drop useless comments and fix a docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 09:41:15 +0100] rev 2260
[test] Drop useless comments and fix a docstring
Tue, 10 Jan 2017 16:06:17 +0100 [profile gen] Reformulate using if expr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 Jan 2017 16:06:17 +0100] rev 2259
[profile gen] Reformulate using if expr
Fri, 06 Jan 2017 14:08:07 +0100 [hooks] Ensure data object references have cardinality=1 in the context of typed references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 14:08:07 +0100] rev 2258
[hooks] Ensure data object references have cardinality=1 in the context of typed references In this case, the cardinality is hidden in the web ui, we hence get the schema default 0..1 cardinality which is not expected.
Fri, 06 Jan 2017 14:20:19 +0100 Fix references related view in typed reference context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 14:20:19 +0100] rev 2257
Fix references related view in typed reference context Those objects may be used as 'main reference' (ie. archive unit 'ref' to another archive unit or to a data object) or as 'typed reference' (ie. IsVersionOf, IsPartOf, etc) accessible from archive unit's content. Only the former case was handled, this fix the situation for the latter in various places. Related to #16688070.
Fri, 06 Jan 2017 12:02:49 +0100 Fix is_archive_unit_ref predicate to avoid crash on creating a new reference
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 12:02:49 +0100] rev 2227
Fix is_archive_unit_ref predicate to avoid crash on creating a new reference Closes #16688070
Fri, 06 Jan 2017 14:17:43 +0100 Reimplement view displaying alternatives of a typed reference
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 14:17:43 +0100] rev 2226
Reimplement view displaying alternatives of a typed reference The old view has been broken for a while (not selected anymore, can't explain why right now), reimplement it on the proper entity types and using `viewlib.alternative_values` function.
Fri, 06 Jan 2017 14:11:23 +0100 [viewlib] Extract a function to display entities under an alternative
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 14:11:23 +0100] rev 2225
[viewlib] Extract a function to display entities under an alternative
Thu, 05 Jan 2017 16:19:28 +0100 [profile gen] Use xsd:NCName instead of xsd:IDREF in Relax NG export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 16:19:28 +0100] rev 2224
[profile gen] Use xsd:NCName instead of xsd:IDREF in Relax NG export because the later may only be used inside an attribute in Relax NG, while in SEDA we want to use it as tag content. This should not be problem if the profile is also checked against the SEDA 2 XSD. Closes #16687696
Fri, 06 Jan 2017 12:35:08 +0100 Simplify the view library
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 12:35:08 +0100] rev 2223
Simplify the view library * seda.list_meta turned into seda.listitem.content, which is overriden when desired, instead of overriding business_vid value of it's "parent" view, * this allows to kill the seda.type_listitem view, * seda.type_meta is kept because it's used from outside the context of list item content. IMO this makes things slightly easier to grasp. Fix base class used to build KeywordBusinessValueEntityView's selector along the way.
Thu, 05 Jan 2017 18:06:37 +0100 CamelCase Description level in SEDA 2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 18:06:37 +0100] rev 2222
CamelCase Description level in SEDA 2 Closes #16687794
Fri, 06 Jan 2017 17:57:01 +0100 [profile gen] Compute DataObjectPackage cardinality according to its children data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 17:57:01 +0100] rev 2221
[profile gen] Compute DataObjectPackage cardinality according to its children data objects Closes #16687771
Wed, 11 Jan 2017 09:51:58 +0100 [test] Write generated profiles to the fs if TEST_WRITE_SEDA_FILES env var is set
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Jan 2017 09:51:58 +0100] rev 2220
[test] Write generated profiles to the fs if TEST_WRITE_SEDA_FILES env var is set
Thu, 05 Jan 2017 11:37:39 +0100 [diag] Add a rule checking for usage of archive unit references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 11:37:39 +0100] rev 2219
[diag] Add a rule checking for usage of archive unit references which forbid usage of SEDA < 2 (hence simplified profile as well). Adding a noqa flag on _check_management_rule is necessary to avoid 'too complex' warning.
Thu, 05 Jan 2017 11:18:18 +0100 [i18n] Uniformize regid of the archive units tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 11:18:18 +0100] rev 2218
[i18n] Uniformize regid of the archive units tab This avoid translating it twice and will allow to reference it from the diagnostic tools independantly of the parent type (transfer or unit).
Thu, 05 Jan 2017 11:11:23 +0100 [jqtree] Disallow moving archive unit into archive unit 'reference'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 11:11:23 +0100] rev 2188
[jqtree] Disallow moving archive unit into archive unit 'reference' 'reference' archive unit can't have children.
Thu, 05 Jan 2017 11:10:11 +0100 [jqtree] Disallow moving nodes into the same parent or as sibling of the root node
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 11:10:11 +0100] rev 2187
[jqtree] Disallow moving nodes into the same parent or as sibling of the root node
Thu, 05 Jan 2017 14:31:46 +0100 [profile gen] Add some information to assertion's error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 14:31:46 +0100] rev 2186
[profile gen] Add some information to assertion's error message
Thu, 05 Jan 2017 14:32:29 +0100 [profile gen] Import BASE_TYPES from its actual location
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 14:32:29 +0100] rev 2185
[profile gen] Import BASE_TYPES from its actual location indirection makes it doubtful.
Fri, 06 Jan 2017 14:09:53 +0100 [hooks] Remove useless mix-in
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 Jan 2017 14:09:53 +0100] rev 2184
[hooks] Remove useless mix-in This class is not used as a data-operation.
Thu, 05 Jan 2017 14:38:13 +0100 [test] Fix some typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Jan 2017 14:38:13 +0100] rev 2183
[test] Fix some typos
Wed, 04 Jan 2017 17:20:05 +0100 [jqtree] Implement IJQTree adapter for full SEDA profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 17:20:05 +0100] rev 2127
[jqtree] Implement IJQTree adapter for full SEDA profiles This is basically simpler than simplified profile since we support both binary and physical data objects but those only appear as direct child of the transfer (the root), hence can't be reparented. Related to #16688048
Wed, 04 Jan 2017 17:04:09 +0100 [jqtree] Simplified profiles may not hold physical data object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 17:04:09 +0100] rev 2126
[jqtree] Simplified profiles may not hold physical data object we may simplify IJQTree implementation accordingly.
Wed, 04 Jan 2017 16:35:38 +0100 [profile gen] Change policy for unmanaged attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 16:35:38 +0100] rev 2125
[profile gen] Change policy for unmanaged attributes by default, they were prohibited. Now make them required if a value is specified, else optional. Closes #16687739
Wed, 04 Jan 2017 15:45:36 +0100 Avoid seeing data objects from other profiles when creating a new reference or relationship
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 15:45:36 +0100] rev 2124
Avoid seeing data objects from other profiles when creating a new reference or relationship We must specify a custom vocabulary function as schema constraint is not considered during object creation. Closes #16687419
Wed, 04 Jan 2017 13:58:44 +0100 [search] Add a facet to filter simplified/full SEDA profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 13:58:44 +0100] rev 2123
[search] Add a facet to filter simplified/full SEDA profiles
Wed, 04 Jan 2017 13:57:18 +0100 [i18n] Follow changes in 6b6c20bc189f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 13:57:18 +0100] rev 2122
[i18n] Follow changes in 6b6c20bc189f
Wed, 04 Jan 2017 13:54:15 +0100 [i18n] Follow changes in 9431297621ef
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 13:54:15 +0100] rev 2121
[i18n] Follow changes in 9431297621ef
Wed, 04 Jan 2017 14:46:08 +0100 [profile gen] Add system identifier to simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 14:46:08 +0100] rev 2120
[profile gen] Add system identifier to simplified profiles
Wed, 04 Jan 2017 13:50:24 +0100 [profile gen] Prepare for overriden implementation of xsd_document in SEDA 0.2 adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 13:50:24 +0100] rev 2119
[profile gen] Prepare for overriden implementation of xsd_document in SEDA 0.2 adapter This will be needed for introduction of system identifier which is not at the same position in 1.0 and 0.2.
Wed, 04 Jan 2017 11:39:43 +0100 [profile gen] Add file creation date to simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 Jan 2017 11:39:43 +0100] rev 2109
[profile gen] Add file creation date to simplified profiles
Mon, 19 Dec 2016 15:17:27 +0100 Avoid caching issue during the container setup operation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2016 15:17:27 +0100] rev 2108
Avoid caching issue during the container setup operation That may occurs if it's run several time in the same transaction (e.g. when EnsureArchiveUnitHasAContentOp is run after it has been called).
Mon, 19 Dec 2016 09:51:14 +0100 Use AuthorityRecord from eac cube instead of Agent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2016 09:51:14 +0100] rev 2107
Use AuthorityRecord from eac cube instead of Agent Closes #16684239
Mon, 19 Dec 2016 09:54:20 +0100 Stop importing testutils functions one by one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 19 Dec 2016 09:54:20 +0100] rev 2106
Stop importing testutils functions one by one use module prefixed style notation.
Fri, 16 Dec 2016 00:40:23 +0100 [profile gen] Support for custodial history in SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 16 Dec 2016 00:40:23 +0100] rev 2105
[profile gen] Support for custodial history in SEDA 1.0 / 0.2 export with additional rules so that SEDA 0.2 is disabled when there are more than one item in the history or if SEDAWhen is linked to an item, because in SEDA 0.2 custodial history is saved as texte, making those meaning less (well, even the notion of 'history item' actually...). Related to #16269136
Thu, 15 Dec 2016 17:57:45 +0100 [profile gen] Reorganize SEDA 1.0 / 0.2 export code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 17:57:45 +0100] rev 2104
[profile gen] Reorganize SEDA 1.0 / 0.2 export code Move xsd_* methods all together, with the first one being the structural ones (i.e archive, archive unit, data object).
Thu, 15 Dec 2016 17:52:51 +0100 [profile gen] Reintroduce overriding of xsd_content_description method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 17:52:51 +0100] rev 2103
[profile gen] Reintroduce overriding of xsd_content_description method to avoid too much switches depending on SEDA version (more to come...). Extract most of its content to separated methods so differences between the two implementations is clear.
Thu, 15 Dec 2016 15:16:25 +0100 [test] Use create shortcut when it's defined
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 15:16:25 +0100] rev 2102
[test] Use create shortcut when it's defined
Thu, 15 Dec 2016 08:43:44 +0100 [profile gen] Consider originating agency in SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 08:43:44 +0100] rev 2101
[profile gen] Consider originating agency in SEDA 1.0 / 0.2 export Related to #16269136
Thu, 15 Dec 2016 08:22:52 +0100 [profile gen] Consider content's language in SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 08:22:52 +0100] rev 2100
[profile gen] Consider content's language in SEDA 1.0 / 0.2 export
Thu, 15 Dec 2016 07:55:39 +0100 [profile gen] Consider keyword type in SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 07:55:39 +0100] rev 2099
[profile gen] Consider keyword type in SEDA 1.0 / 0.2 export Related to #16269136
Thu, 15 Dec 2016 07:42:43 +0100 [profile gen] Consider keyword reference entity to control presence of KeywordReference tag in SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 07:42:43 +0100] rev 2098
[profile gen] Consider keyword reference entity to control presence of KeywordReference tag in SEDA 1.0 / 0.2 export Related to #16269136
Wed, 14 Dec 2016 23:21:33 +0100 [profile gen] Return etree node to ease customization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 23:21:33 +0100] rev 2084
[profile gen] Return etree node to ease customization by e.g. the saem cube
Wed, 14 Dec 2016 23:20:55 +0100 [profile gen / test] Add functional test using file provided by the SAEM project
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 23:20:55 +0100] rev 2083
[profile gen / test] Add functional test using file provided by the SAEM project Ensuring we're able to validate a sample SEDA 0.2 profile.
Thu, 15 Dec 2016 07:07:20 +0100 [profile gen] Export archival agency archive unit identifier in SEDA 1.0 / 0.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 07:07:20 +0100] rev 2082
[profile gen] Export archival agency archive unit identifier in SEDA 1.0 / 0.2 Functional testing will be introduced by a later cset. Related to #16269136
Wed, 14 Dec 2016 23:18:42 +0100 [profile gen] Export archival agreement in SEDA 1.0 / 0.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 23:18:42 +0100] rev 2081
[profile gen] Export archival agreement in SEDA 1.0 / 0.2 Functional testing will be introduced by a later cset. Related to #16269136
Wed, 14 Dec 2016 22:16:05 +0100 [profile gen] Fix some content description elements of SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 22:16:05 +0100] rev 2080
[profile gen] Fix some content description elements of SEDA 1.0 / 0.2 export * ContentDescription should always appears for first level archive unit but not necessarily for sub-levels * LatestDate should appear before OldestDate in content description * but language should occur first anyway Merge xsd_content_description implementations along the way, not worth for a single changing line.
Wed, 14 Dec 2016 22:20:41 +0100 [profile gen] Consider SEDAMimeType on SEDA 1.0 / 0.2 export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 22:20:41 +0100] rev 2079
[profile gen] Consider SEDAMimeType on SEDA 1.0 / 0.2 export to control appearance of the mimeCode attribute which was previously always forbidden.
Wed, 14 Dec 2016 16:15:19 +0100 [profile gen] DescriptionLevel should be before Name in SEDA 0.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 16:15:19 +0100] rev 2078
[profile gen] DescriptionLevel should be before Name in SEDA 0.2
Wed, 14 Dec 2016 16:14:26 +0100 [profile gen] Add optional Name to agency description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 16:14:26 +0100] rev 2077
[profile gen] Add optional Name to agency description additionaly to Identification. This comes from a sample profile used in SAEM tests.
Wed, 14 Dec 2016 14:40:33 +0100 [profile gen] Content description in SEDA 0.2 should have Language, not DescriptionLanguage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 14:40:33 +0100] rev 2076
[profile gen] Content description in SEDA 0.2 should have Language, not DescriptionLanguage
Thu, 08 Dec 2016 21:49:40 +0100 Implement rule inheritance when exporting to SEDA 0.2 or 1.0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2016 21:49:40 +0100] rev 2075
Implement rule inheritance when exporting to SEDA 0.2 or 1.0 by looking for the closes rule and climbing up to the transfer node. Closes #15927695
Mon, 05 Dec 2016 12:35:31 +0100 is_typed_reference should be false if created entity is not a reference
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2016 12:35:31 +0100] rev 2074
is_typed_reference should be false if created entity is not a reference (i.e. if data_object_reference can't be found). This avoid clash with `simplified_profile` predicate breaking the data object creation form because `is_typed_reference` had unexpectidly the highest score.
Thu, 15 Dec 2016 08:23:24 +0100 Don't display navigation component in not-really-primary tabs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Dec 2016 08:23:24 +0100] rev 2073
Don't display navigation component in not-really-primary tabs
Wed, 14 Dec 2016 23:22:12 +0100 Avoid warning about __init__ taking no arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Dec 2016 23:22:12 +0100] rev 2072
Avoid warning about __init__ taking no arguments
Thu, 08 Dec 2016 21:50:15 +0100 [tox] Drop no more necessary dev dep
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Dec 2016 21:50:15 +0100] rev 2040
[tox] Drop no more necessary dev dep cw 3.24.1 has been released
Mon, 05 Dec 2016 12:30:24 +0100 Fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2016 12:30:24 +0100] rev 2036
Fix typo
Mon, 05 Dec 2016 12:30:00 +0100 Enhanced assertion message to debug failures
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 05 Dec 2016 12:30:00 +0100] rev 2035
Enhanced assertion message to debug failures
Thu, 17 Nov 2016 11:08:09 +0100 Added tag 0.5.1, centos/0.5.1-1, debian/0.5.1-1 for changeset 8af441db2985
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Nov 2016 11:08:09 +0100] rev 2034
Added tag 0.5.1, centos/0.5.1-1, debian/0.5.1-1 for changeset 8af441db2985
Wed, 16 Nov 2016 11:45:41 +0100 [pkg] Prepare 0.5.1 0.5.1 centos/0.5.1-1 debian/0.5.1-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 11:45:41 +0100] rev 2033
[pkg] Prepare 0.5.1
Wed, 16 Nov 2016 11:06:16 +0100 Avoid undesired appearance of side boxes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 11:06:16 +0100] rev 2032
Avoid undesired appearance of side boxes They should only appear in the main tab.
Wed, 16 Nov 2016 11:05:32 +0100 Drop useless selector extension
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 11:05:32 +0100] rev 2029
Drop useless selector extension This is not necessary to extend cw primary/tab views'selector, the specific one is enough
Wed, 16 Nov 2016 10:31:49 +0100 Add debugging information until the IndexError found in our demo log is fixed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 10:31:49 +0100] rev 2028
Add debugging information until the IndexError found in our demo log is fixed
Wed, 16 Nov 2016 10:25:09 +0100 Hide code list versions tab for simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 10:25:09 +0100] rev 2027
Hide code list versions tab for simplified profile Closes extranet #12350128
Wed, 16 Nov 2016 09:57:28 +0100 Drop useless condition on container being None.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 09:57:28 +0100] rev 2026
Drop useless condition on container being None. At this point we expect a container as in its sibling '_render_triggers' method.
Wed, 16 Nov 2016 10:15:40 +0100 Handle case where we can't find a suitable vocabulary on a component archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 10:15:40 +0100] rev 2019
Handle case where we can't find a suitable vocabulary on a component archive unit In such case, there are no 'seda_*' relations in the rql since we're not in the context of an archive transfer which hold them.
Wed, 16 Nov 2016 10:12:19 +0100 Find a suitable concept scheme for encoding/mime type/algorithm relations of a component archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 10:12:19 +0100] rev 2018
Find a suitable concept scheme for encoding/mime type/algorithm relations of a component archive unit Former constraint was relying on a 'code list version' relation which was setup on the archive transfer, which a component archive unit doesn't have. To find a suitable scheme, we may still find the one that is linked to the correct entity and relation type in the schema (at least until we've several of those, which is not the case for now). To do so, add a new `SCHEME_FROM_CONTAINER` structure in xsd2yams (close to where constraints are defined) so one may easily get the correct query depending on the container type (ie. wether we are in an archive transfer or an archive unit). Also, extend tests to check both case for the 3 aforementionned relations, since the rql constraint deserves to be tested...
Wed, 16 Nov 2016 09:48:06 +0100 [test] Drop useless alias to create_entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 09:48:06 +0100] rev 2017
[test] Drop useless alias to create_entity
Wed, 16 Nov 2016 09:47:48 +0100 [test] Drop commented out code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 09:47:48 +0100] rev 2016
[test] Drop commented out code
Wed, 16 Nov 2016 10:16:01 +0100 [test] create_data_object now support being given an archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 10:16:01 +0100] rev 2015
[test] create_data_object now support being given an archive unit Well, technically an archive unit sequence.
Wed, 16 Nov 2016 09:46:00 +0100 [test] Extract a separate fixture for test related to concept scheme constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 09:46:00 +0100] rev 2014
[test] Extract a separate fixture for test related to concept scheme constraints
Tue, 15 Nov 2016 16:08:40 +0100 [profile gen] Include Archival / Transferring agency in SEDA 0.2 / 1.0 exports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2016 16:08:40 +0100] rev 2013
[profile gen] Include Archival / Transferring agency in SEDA 0.2 / 1.0 exports else there is no way for the transfer to be validated using the profile. Closes #15626782
Tue, 15 Nov 2016 15:39:32 +0100 [profile gen] Use xsd:string in rng instead of custom types for seda 0.2 / 1.0 exports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2016 15:39:32 +0100] rev 2012
[profile gen] Use xsd:string in rng instead of custom types for seda 0.2 / 1.0 exports Closes #16071981
Tue, 15 Nov 2016 11:40:14 +0100 Drop hasardous yes() to simplified_afs predicate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2016 11:40:14 +0100] rev 2011
Drop hasardous yes() to simplified_afs predicate This has been added to avoid some unexpected concurrency but it break a test. We'll have to do some UI testing to ensure it's fine.
Tue, 15 Nov 2016 15:40:03 +0100 [tox] Follow cw cset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2016 15:40:03 +0100] rev 2010
[tox] Follow cw cset
Tue, 15 Nov 2016 11:39:35 +0100 [cleanup] Fixes for recent flake8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Nov 2016 11:39:35 +0100] rev 2009
[cleanup] Fixes for recent flake8
Wed, 09 Nov 2016 17:25:22 +0100 [profile gen] filename should never be prohibited, and its value may be fixed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2016 17:25:22 +0100] rev 2008
[profile gen] filename should never be prohibited, and its value may be fixed
Wed, 16 Nov 2016 11:30:40 +0100 Fix erroneous schema attribute access
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Nov 2016 11:30:40 +0100] rev 2007
Fix erroneous schema attribute access * self.edited_entity is a SEDAStartDate, access to its parent through seda_start_date relation * when on the management tab of an archive transfer, we don't have linkto information so we've to test the entity has an eid - otherwise we know we may hide cardinality
Thu, 10 Nov 2016 10:48:18 +0100 [tox] Depends on cubicweb 3.24.1 pending fix about cnx.lang
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2016 10:48:18 +0100] rev 1971
[tox] Depends on cubicweb 3.24.1 pending fix about cnx.lang
Thu, 10 Nov 2016 10:33:42 +0100 [profile gen] Make archive unit and data object's 'id' and associated reference mandatory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Nov 2016 10:33:42 +0100] rev 1970
[profile gen] Make archive unit and data object's 'id' and associated reference mandatory Those special attribute / content values should be explicitly typed using xsd's ID and IDREF respectivly. Closes #16070553
Wed, 09 Nov 2016 17:33:46 +0100 [profile gen] Drop unused variables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2016 17:33:46 +0100] rev 1969
[profile gen] Drop unused variables undetected by flake8 because of later assignment to the same name.
Wed, 09 Nov 2016 17:00:05 +0100 Don't limit one archive unit per archive transfer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2016 17:00:05 +0100] rev 1962
Don't limit one archive unit per archive transfer Every SEDA version allow several top level archive units or equivalent. Closes #16070768
Wed, 09 Nov 2016 16:55:29 +0100 Attempt to rationalize usage of rtags copy
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Nov 2016 16:55:29 +0100] rev 1961
Attempt to rationalize usage of rtags copy Move all (?) rtags customization for the case of simplified profiles to the ``simplified`` module. This: * avoid rtags proliferation, hence errors, * provide a single entry point for client module (eg saem_ref). The situation could be a bit improved by using implementation for cubicweb's #16164880.
Thu, 03 Nov 2016 18:29:02 +0100 Avoid lxml deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2016 18:29:02 +0100] rev 1960
Avoid lxml deprecation warning
Thu, 03 Nov 2016 18:28:45 +0100 Fix bad interpolation of exception's message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2016 18:28:45 +0100] rev 1959
Fix bad interpolation of exception's message
Thu, 03 Nov 2016 18:28:25 +0100 [html gen] Avoid encoding error for non-ascii values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2016 18:28:25 +0100] rev 1958
[html gen] Avoid encoding error for non-ascii values .format on encoded string will attempt to encode its parameters, unlike the % operator which will unicode the format string.
Thu, 03 Nov 2016 18:27:10 +0100 [html gen] Use _concept_value from profile generation to properly handle every possible languages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Nov 2016 18:27:10 +0100] rev 1957
[html gen] Use _concept_value from profile generation to properly handle every possible languages The scheme may contains generic 'seda' values. This function properly deal with every possible language.
Tue, 25 Oct 2016 14:14:52 +0200 Hooks triggering compute of profile compatibility should be in the metadata category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2016 14:14:52 +0200] rev 1956
Hooks triggering compute of profile compatibility should be in the metadata category
Tue, 25 Oct 2016 14:13:49 +0200 Restrict autoform __init__ patch to SEDA entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 Oct 2016 14:13:49 +0200] rev 1955
Restrict autoform __init__ patch to SEDA entities
Mon, 24 Oct 2016 11:08:09 +0200 Added tag 0.5.0, debian/0.5.0-1, centos/0.5.0-1 for changeset 34aff5113598
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2016 11:08:09 +0200] rev 1954
Added tag 0.5.0, debian/0.5.0-1, centos/0.5.0-1 for changeset 34aff5113598
Mon, 24 Oct 2016 10:34:48 +0200 [pkg] Prepare 0.5 release 0.5.0 centos/0.5.0-1 debian/0.5.0-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2016 10:34:48 +0200] rev 1953
[pkg] Prepare 0.5 release
Mon, 24 Oct 2016 10:34:32 +0200 [test] fix some py26 failures
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2016 10:34:32 +0200] rev 1952
[test] fix some py26 failures
Mon, 24 Oct 2016 08:37:35 +0200 Only patch cwuri2eid locally, restore original function afterwards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 24 Oct 2016 08:37:35 +0200] rev 1951
Only patch cwuri2eid locally, restore original function afterwards else it may causes problem with during tests.
Fri, 21 Oct 2016 17:38:12 +0200 Hide 'simplified' from UI, this is an implementation detail
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2016 17:38:12 +0200] rev 1950
Hide 'simplified' from UI, this is an implementation detail
Fri, 21 Oct 2016 17:34:40 +0200 Reimplement hiding of user_cardinality by customizing entity form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2016 17:34:40 +0200] rev 1949
Reimplement hiding of user_cardinality by customizing entity form instead of a simple uicfg rule which isn't enough because of the ambivalent usage of SEDAStartDate: it was also currently hiding it from archive unit's start date which is undesirable.
Fri, 21 Oct 2016 17:33:20 +0200 Avoid crash when user has no write permission, in which case no ref_form will be found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2016 17:33:20 +0200] rev 1948
Avoid crash when user has no write permission, in which case no ref_form will be found
Fri, 21 Oct 2016 12:04:59 +0200 Fix bdo's encoding attribute, it's not mandatory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 Oct 2016 12:04:59 +0200] rev 1947
Fix bdo's encoding attribute, it's not mandatory
Thu, 20 Oct 2016 13:59:23 +0200 Add explicit full-text indexing on creation if massive store is used
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 13:59:23 +0200] rev 1946
Add explicit full-text indexing on creation if massive store is used since it doesn't handle that.
Thu, 20 Oct 2016 08:51:14 +0200 Fix seda_unit constraints when container root is a "component" archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 08:51:14 +0200] rev 1945
Fix seda_unit constraints when container root is a "component" archive unit else a ValidationError is raised when a value is set, since constraint can't be verified.
Thu, 20 Oct 2016 08:50:29 +0200 Fix tree box title when displayed on a "component" archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 08:50:29 +0200] rev 1944
Fix tree box title when displayed on a "component" archive unit To do so, introduce a new "component_unit" selector.
Thu, 20 Oct 2016 00:11:30 +0200 Retrieve default vocabularies for access/appraisal rule of archive unit component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 00:11:30 +0200] rev 1943
Retrieve default vocabularies for access/appraisal rule of archive unit component If this is validated, we will have handle this on import in a profile (check vocabulary consistency).
Thu, 20 Oct 2016 00:10:02 +0200 Add a fixme on data object vocabulary for archive unit component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 00:10:02 +0200] rev 1926
Add a fixme on data object vocabulary for archive unit component Proper fix has to be discussed, in the mean time don't crash.
Wed, 19 Oct 2016 23:10:51 +0200 Fix UI to add a data object to a parentless archive unit (aka SEDA component)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 23:10:51 +0200] rev 1925
Fix UI to add a data object to a parentless archive unit (aka SEDA component) We still rely on the referenced_by trick, simply removing __linkto information. This is the quickest way to make it work, because customizing data reference to inline the binary data object for is painful (among other, this is an ambiguous relation which isn't supported by inlined forms). The main known drawback is that the form's title is contextless.
Fri, 21 Oct 2016 17:05:45 +0200 Implement motion of nodes in the SEDA tree
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 21 Oct 2016 17:05:45 +0200] rev 1924
Implement motion of nodes in the SEDA tree With some adjustments in hooks: * in SetContainerOp, avoid inserting container relation when it's already being set (by node motion); * prevent EnsureChoiceNotEmptyOp from being run with the relation is not targetting a choice. Closes #15047080.
Fri, 14 Oct 2016 13:03:06 +0200 [views] Update jqtree code, copied back from cubicweb-saem_ref
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 14 Oct 2016 13:03:06 +0200] rev 1923
[views] Update jqtree code, copied back from cubicweb-saem_ref Just keep ITreeBase instead of ITree and added a compatibility method `iterparents` to IContainedToITreeBase adapter to minimize changes in views/jqtree.py. Motions in tree are not handled yet. Related to #15047080.
Wed, 19 Oct 2016 15:51:07 +0200 i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 15:51:07 +0200] rev 1909
i18n update
Thu, 20 Oct 2016 19:08:05 +0200 Backport import ui from saem_ref
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 19:08:05 +0200] rev 1908
Backport import ui from saem_ref At some point, we'll probably have to: * ensure action doesn't appear in case it shouldn't (eg reference archive units) * move it to the archive unit tab rather than in the actions box But this is a almost direct backport, enhancements will come later.
Thu, 20 Oct 2016 19:06:14 +0200 [test] Use export module import instead of additional names import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 19:06:14 +0200] rev 1907
[test] Use export module import instead of additional names import
Tue, 18 Oct 2016 17:07:02 +0200 Support cloning of SEDA entities graph
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2016 17:07:02 +0200] rev 1896
Support cloning of SEDA entities graph
Thu, 13 Oct 2016 12:54:26 +0200 Use deque instead of simple list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 12:54:26 +0200] rev 1895
Use deque instead of simple list because I feel good that way. For better argumentation, see http://stackoverflow.com/questions/32543608/deque-popleft-and-list-pop0-is-there-performance-difference#32543726
Thu, 20 Oct 2016 00:12:21 +0200 Allow no value to be selected when some concepts are found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 Oct 2016 00:12:21 +0200] rev 1894
Allow no value to be selected when some concepts are found Before one had to pick a value...
Wed, 19 Oct 2016 23:11:34 +0200 [cleanup] Remove erroneous saem references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 23:11:34 +0200] rev 1893
[cleanup] Remove erroneous saem references
Wed, 19 Oct 2016 21:51:15 +0200 [i18n] Shorter/clearer transfer translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 21:51:15 +0200] rev 1892
[i18n] Shorter/clearer transfer translation
Wed, 19 Oct 2016 15:55:33 +0200 Monkey-patch skos's cwuri2eid to build extid2eid dict only once
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 15:55:33 +0200] rev 1891
Monkey-patch skos's cwuri2eid to build extid2eid dict only once Else it's built for each imported file, and this is very costly since when the massive store is in use, table indexes have been dropped. This will be done properly in next skos release which will accept extid2eid map as optional argument.
Wed, 19 Oct 2016 15:53:28 +0200 Flush early to get errors ASAP
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 15:53:28 +0200] rev 1890
Flush early to get errors ASAP
Wed, 19 Oct 2016 15:53:12 +0200 Extract a get_store function to let a chance to client cube to hack store creation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 15:53:12 +0200] rev 1889
Extract a get_store function to let a chance to client cube to hack store creation For instance in SAEM, we need a store with custom metadata generator that will generate ark for imported concepts.
Tue, 18 Oct 2016 17:53:43 +0200 Add a safety belt when cube is used with other ones (eg in saem)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2016 17:53:43 +0200] rev 1888
Add a safety belt when cube is used with other ones (eg in saem)
Tue, 18 Oct 2016 16:19:14 +0200 Backport some more security test from saem
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2016 16:19:14 +0200] rev 1887
Backport some more security test from saem
Wed, 19 Oct 2016 23:07:28 +0200 Allow archive units not linked to a parent
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 23:07:28 +0200] rev 1886
Allow archive units not linked to a parent This prepare the 'seda components' functionality from SAEM. For now, we don't support data object as component, since most metadata moved to its related archive unit with SEDA2. We also have to change data object parent relation's cardinality since in case of an archive unit as component, we can't have this relation to the transfer entity.
Tue, 18 Oct 2016 17:28:18 +0200 Use released dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2016 17:28:18 +0200] rev 1852
Use released dependencies
Wed, 19 Oct 2016 00:06:56 +0200 Fix deprecated import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 19 Oct 2016 00:06:56 +0200] rev 1851
Fix deprecated import
Tue, 18 Oct 2016 16:18:56 +0200 Add hg ignore file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2016 16:18:56 +0200] rev 1850
Add hg ignore file
Mon, 17 Oct 2016 17:19:41 +0200 Fix format_supported selector to consider if a profile is simplified or not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2016 17:19:41 +0200] rev 1849
Fix format_supported selector to consider if a profile is simplified or not
Mon, 17 Oct 2016 14:43:32 +0200 Full-text index all string attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2016 14:43:32 +0200] rev 1848
Full-text index all string attributes A test backported from saem cube put the light on this problem.
Mon, 17 Oct 2016 14:42:01 +0200 Allow to specify export version/format as select context variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2016 14:42:01 +0200] rev 1847
Allow to specify export version/format as select context variable This will ease usage of the export view programmatically (for interaction with e.g. oaipmh).
Tue, 18 Oct 2016 10:03:16 +0200 [test] Use testutils.create_data_object
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 Oct 2016 10:03:16 +0200] rev 1846
[test] Use testutils.create_data_object
Mon, 17 Oct 2016 14:38:17 +0200 Regenerate code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 Oct 2016 14:38:17 +0200] rev 1845
Regenerate code only order should be modified. Unclear why this occurs now even with python hashseed to 0.
Fri, 14 Oct 2016 17:49:59 +0200 Only define Agent if it doesn't exists yet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 17:49:59 +0200] rev 1844
Only define Agent if it doesn't exists yet When the seda cube is used from saem_ref, an Agent type is already provided by the prov cube. We should probably to that differently at some point, but that is enough to move on for now.
Fri, 14 Oct 2016 17:48:49 +0200 Minor refactoring of initial schemes import code to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 17:48:49 +0200] rev 1843
Minor refactoring of initial schemes import code to ease overriding by e.g. saem_ref which want to assign ark to created schemes.
Fri, 14 Oct 2016 18:10:07 +0200 Use the massive store for initial creation of concept schemes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 18:10:07 +0200] rev 1842
Use the massive store for initial creation of concept schemes when the instance's backend is postgres.
Thu, 13 Oct 2016 23:05:40 +0200 Fix display of prevent inheritance with no value specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 23:05:40 +0200] rev 1841
Fix display of prevent inheritance with no value specified
(0) tip