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
Thu, 13 Oct 2016 23:01:55 +0200 Don't show rule inheritance control for rules at the transfer level
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 23:01:55 +0200] rev 1840
Don't show rule inheritance control for rules at the transfer level It doesn't make sense since there may be no parent rule. This is probably a bug in the SEDA 2 specification. Closes #15045330
Thu, 13 Oct 2016 22:27:17 +0200 Override autoform and ajax function retrieving inline creation form to propagate container's eid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 22:27:17 +0200] rev 1839
Override autoform and ajax function retrieving inline creation form to propagate container's eid Monkey-patch autoform to add an hidden input on the main form (we can't use 'formtype' since it's not appropriate (may be either 'main' or 'inlined'), rather check if 'peid' is in kwargs to detect if this is the root form or a sub form. Then, propagate value found there as a form param when calling the ajax function to render an inline creation form. Overriding is not necessary for edition form, since in that case we already have the information. Doing so allows to simplify the parent_and_container implementation, and some place are we can now expect the container to be always detectable.
Thu, 13 Oct 2016 22:00:55 +0200 [cleanup] Add missing noqa for non-top-level import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 22:00:55 +0200] rev 1838
[cleanup] Add missing noqa for non-top-level import
Fri, 14 Oct 2016 11:17:02 +0200 Add a rule preventing usage of RefNonRuleId in simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 11:17:02 +0200] rev 1837
Add a rule preventing usage of RefNonRuleId in simplified profiles
Thu, 13 Oct 2016 18:03:16 +0200 Fix patches, break in test mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 18:03:16 +0200] rev 1836
Fix patches, break in test mode It seems that in test mode, monkey patch is done after cubicweb.web.views.forms has been loaded, which hence references the original guess_field (monkey-patched by cube'site_cubicweb). Using the proper module fixes the problem.
Thu, 13 Oct 2016 18:01:50 +0200 Simplify rule inheritance control of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 18:01:50 +0200] rev 1835
Simplify rule inheritance control of simplified profiles We may hide the ignore all rules / ignore one rule complexity since there may be only one inherited rule. Do several tweaks to make it nice. Note it doesn't work yet until the parent rule entity isn't created, because we are not able to detect the parent transfer...
Thu, 13 Oct 2016 13:03:10 +0200 Add validation hook ensuring we don't mark as simplified a profile which can't
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 13:03:10 +0200] rev 1834
Add validation hook ensuring we don't mark as simplified a profile which can't A simplified profile hides most of the complexity of a full seda profile. The diagnosis tool indicates if a profile is using some construct which shouldn't occur in a simplified profile. This patch introduce a hook that will forbid to set 'simplified_profile=True' on a profile which isn't compatible, or that we don't do incompatible change on a simplified profile (though this should not occur from the UI).
Fri, 14 Oct 2016 11:17:15 +0200 Add rules for "simplified profile must have one and only one access/appraisal rule"
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 11:17:15 +0200] rev 1833
Add rules for "simplified profile must have one and only one access/appraisal rule" Introduce a new 'simplified' fake format, indicating wether a profile may be simplified or not. Profiles where are/may not be simplified are not expected to be exportable to SEDA 1 / SEDA 0.2.
Thu, 13 Oct 2016 12:49:48 +0200 Ensure iteration on XSMapping yield elements according to order in the XSD
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 12:49:48 +0200] rev 1784
Ensure iteration on XSMapping yield elements according to order in the XSD elements should be treaten FIFO.
Thu, 13 Oct 2016 12:46:57 +0200 Don't omit sequence on RNG generation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 12:46:57 +0200] rev 1783
Don't omit sequence on RNG generation Else we may end up in bad element ordering when some sequence is not generated, eg when iterating on children, if first element is a skipped sequence, its sibling elements will occur before its children, while they should not.
Thu, 13 Oct 2016 14:26:14 +0200 Consistent naming of the management tab for both archive transfer / archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 14:26:14 +0200] rev 1742
Consistent naming of the management tab for both archive transfer / archive unit This will ease later error handling, i.e. to easily link to the tab when some error is detected on a management rule, independantly of the rule's parent (transfer or unit).
Thu, 13 Oct 2016 18:05:26 +0200 Simplify access/appraisal rule UI for simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 18:05:26 +0200] rev 1741
Simplify access/appraisal rule UI for simplified profile Considering we want one and only one rule and associated start date. We need yet to consider this rule to allow or not to mark an existing profile as simplified, and may still enhance rule inheriting management at some point. Related to #15524229
Wed, 12 Oct 2016 12:29:55 +0200 Add a custom inlined form renderer that doesn't display title
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2016 12:29:55 +0200] rev 1740
Add a custom inlined form renderer that doesn't display title
Thu, 13 Oct 2016 12:56:28 +0200 Set sensible default user_cardinality on some entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 12:56:28 +0200] rev 1739
Set sensible default user_cardinality on some entities For those entities, user cardinality will be hidden for simplified profile because it's expected to be '1'. Changing the default in the schema will ensure that entities created on a simplified profile will have the proper cardinality, and that default values displayed on a full profile will be compatible.
Fri, 14 Oct 2016 11:17:35 +0200 Add a set defining all rule types in xsd2yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 11:17:35 +0200] rev 1738
Add a set defining all rule types in xsd2yams for later sharing
Wed, 12 Oct 2016 10:57:57 +0200 Backport change for cubicweb #15755515
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2016 10:57:57 +0200] rev 1737
Backport change for cubicweb #15755515
Wed, 12 Oct 2016 10:57:05 +0200 Enhance parent detection of rule_ref_vocabulary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2016 10:57:05 +0200] rev 1736
Enhance parent detection of rule_ref_vocabulary Consider that: * container may be find while parent isn't (see previous cset) * the etype we're interested in may be found on form(.edited_entity) * if not, there is still some chance to find in req.form['arg] (json encoded) Refactor _rule_ref_vocabulary accordingly.
Wed, 12 Oct 2016 10:53:17 +0200 Extend rule_type_from_etype to support SEDASeqXXXRuleRule etype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 Oct 2016 10:53:17 +0200] rev 1735
Extend rule_type_from_etype to support SEDASeqXXXRuleRule etype we get this kind of entity type when forcing display of some inlined creation form (job done in later cset). Add an assertion to make unexpected entity type easier to debug.
Fri, 14 Oct 2016 11:17:50 +0200 Extend parent_and_container function to consider 'eid' in form params
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 11:17:50 +0200] rev 1734
Extend parent_and_container function to consider 'eid' in form params When an inlined form is displayed through a direct call instead of an ajax call, 'eid' is specified in req.form and we may get the container's from that. Also, add test for this function - a bit too much low-level but that's a start.
Fri, 14 Oct 2016 11:19:02 +0200 Add an export view dealing with cases where the requested format isn't supported by the profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 14 Oct 2016 11:19:02 +0200] rev 1733
Add an export view dealing with cases where the requested format isn't supported by the profile Ensure the UI display a nice message instead of attempting to export to an unsupported format. Related to #15524215
Tue, 11 Oct 2016 17:01:55 +0200 Add a diagnostic tab on archive transfer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2016 17:01:55 +0200] rev 1688
Add a diagnostic tab on archive transfer displaying problems detected by the "doctor". Update internal structure so we may link to a sensible place in the UI where the error could be fixed (the correct tab).
Tue, 11 Oct 2016 16:46:35 +0200 Add actions to download RNG or XSD of earlier SEDA versions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2016 16:46:35 +0200] rev 1687
Add actions to download RNG or XSD of earlier SEDA versions They should appear only if the relevant format is actually supported by the profile. Related to #15045341
Tue, 11 Oct 2016 14:03:39 +0200 Preliminary refactoring of export actions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2016 14:03:39 +0200] rev 1686
Preliminary refactoring of export actions before adding new formats (1.0 / 0.2 XSD / RNG.
Thu, 13 Oct 2016 14:27:04 +0200 Add basic SEDA compatibility diagnosis tool
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Oct 2016 14:27:04 +0200] rev 1685
Add basic SEDA compatibility diagnosis tool Introduce an adapter that will 'diagnose' seda profile. It will be able to return all problems leading to not supporting some SEDA export format. There is currently a single sample rule (missing access rule on top level archive unit). Overall result (supported formats) are stored in a computed attribute so that we may control depending actions'appearance without recomputing the whole diagnosis. Related to #15524215
Tue, 11 Oct 2016 17:02:06 +0200 Basic export of simplified profile to SEDA 0.2 RNG
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2016 17:02:06 +0200] rev 1634
Basic export of simplified profile to SEDA 0.2 RNG Related to #15524427
Fri, 07 Oct 2016 18:04:30 +0200 Rename xsd_element into element_schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 18:04:30 +0200] rev 1628
Rename xsd_element into element_schema It's not xsd specific since it may be overriden to generate RNG. Name inspired from recently introduced 'attribute_schema'. Related to #15045341
Fri, 07 Oct 2016 18:04:58 +0200 Basic export of simplified profile to SEDA 1.0 RNG
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 18:04:58 +0200] rev 1627
Basic export of simplified profile to SEDA 1.0 RNG Related to #15524427
Fri, 07 Oct 2016 17:51:46 +0200 Drop useless attribute assignment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 17:51:46 +0200] rev 1626
Drop useless attribute assignment
Fri, 07 Oct 2016 17:51:25 +0200 Refactor XSD export of old SEDA version to for later support of RNG export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 17:51:25 +0200] rev 1625
Refactor XSD export of old SEDA version to for later support of RNG export This will allow to share attribute definition (XAttr) independantly of the export format (XSD or RNG). Related to #15045341
Fri, 07 Oct 2016 17:48:55 +0200 Refactor RNG export for later support of earlier SEDA version
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 17:48:55 +0200] rev 1624
Refactor RNG export for later support of earlier SEDA version At some time, more code cleanup / reorganisation will be necessary, but this preparatory refactoring will allow to share usage of cardinality handling function as well as a basic mixin for RNG generation. Related to #15045341
Fri, 07 Oct 2016 13:22:26 +0200 Basic export of simplified profile to SEDA 0.2 XSD
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 13:22:26 +0200] rev 1623
Basic export of simplified profile to SEDA 0.2 XSD Related to #15045341
Fri, 07 Oct 2016 13:21:35 +0200 Export content's type to SEDA 1.0 XSD.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 Oct 2016 13:21:35 +0200] rev 1622
Export content's type to SEDA 1.0 XSD. Closes #15524427
Tue, 11 Oct 2016 16:09:10 +0200 Turn content's type information from string to concept
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Oct 2016 16:09:10 +0200] rev 1621
Turn content's type information from string to concept using SEDA 1 document type. Related to #15524427
Thu, 29 Sep 2016 18:54:30 +0200 Backport basic SEDA 1.0 export from the saem cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2016 18:54:30 +0200] rev 1609
Backport basic SEDA 1.0 export from the saem cube a few features are missing but most things are there. This has been the occasion to add properties to entity class, to make things easier to read (in xsd generation and tests, for now at least). Related to #15045341
Thu, 29 Sep 2016 18:50:30 +0200 Stop hidding transfer's comments in simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Sep 2016 18:50:30 +0200] rev 1608
Stop hidding transfer's comments in simplified profile we want to use them for seda 1.0 / 0.2 export.
Wed, 28 Sep 2016 16:26:28 +0200 [test] Rename test classes, preparing for more tested SEDA versions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2016 16:26:28 +0200] rev 1607
[test] Rename test classes, preparing for more tested SEDA versions
Fri, 30 Sep 2016 14:14:40 +0200 Set default code list for appraisal and access rules at profile creation time
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 30 Sep 2016 14:14:40 +0200] rev 1606
Set default code list for appraisal and access rules at profile creation time Now that we've proper vocabularies for them.
Wed, 28 Sep 2016 16:21:09 +0200 [cleanup] Docstring fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2016 16:21:09 +0200] rev 1597
[cleanup] Docstring fixes
Wed, 28 Sep 2016 16:19:56 +0200 Move seda schemes initialization to a dataimport module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2016 16:19:56 +0200] rev 1596
Move seda schemes initialization to a dataimport module with some code cleanups and refactor it that we may ensure data files validity from tests.
Wed, 28 Sep 2016 16:16:42 +0200 Prepare data files for export to SEDA 1.0 / 0.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 28 Sep 2016 16:16:42 +0200] rev 1595
Prepare data files for export to SEDA 1.0 / 0.2 To do so we will handle seda-2, seda-1, seda-02, seda (default) language to specify value that should be used in export. When multiple languages are specified, also add explicitly a french or english label. This cset adds some new data files from the saem_ref cube, or complete existing ones. Related to #12759207, #15045341
Fri, 23 Sep 2016 15:36:11 +0200 [py3k] unicode -> text_type, basestring -> string_types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 23 Sep 2016 15:36:11 +0200] rev 1594
[py3k] unicode -> text_type, basestring -> string_types
Thu, 01 Sep 2016 15:22:53 +0200 Remove docker from this cube
Yann Voté <yann.vote@logilab.fr> [Thu, 01 Sep 2016 15:22:53 +0200] rev 1593
Remove docker from this cube It should be in the application cube.
Fri, 26 Aug 2016 13:29:47 +0200 0.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 13:29:47 +0200] rev 1591
0.4 Not updating debian/changelog and cubicweb-seda.spec because this release is still for demo only, not an actually packaged release (installed from source on our demo server).
Fri, 26 Aug 2016 13:22:24 +0200 Reintroduce code list version for simplified profiles, but restrict elements to those making sense in that case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 13:22:24 +0200] rev 1590
Reintroduce code list version for simplified profiles, but restrict elements to those making sense in that case
Fri, 26 Aug 2016 12:00:58 +0200 Only display appraisal and access rule in management tab of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 12:00:58 +0200] rev 1589
Only display appraisal and access rule in management tab of simplified profiles similarly as for archive units.
Fri, 26 Aug 2016 11:44:05 +0200 Support for keyword isn't in the classification management rule but in content's indexation tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 11:44:05 +0200] rev 1588
Support for keyword isn't in the classification management rule but in content's indexation tab So hide the former and add a tab for the later on archive unit in simplified profiles.
Fri, 26 Aug 2016 11:11:35 +0200 Hide FileInfo tab of data object in simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 11:11:35 +0200] rev 1587
Hide FileInfo tab of data object in simplified profiles
Fri, 26 Aug 2016 10:43:23 +0200 Do not display data object's filename in two tabs and fix its reledit view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 10:43:23 +0200] rev 1586
Do not display data object's filename in two tabs and fix its reledit view filename is a bit specific since it's a BinaryDataObject attribute retrieved from its jumped FileInfo element. As an attribute, it's displayed in the BDO main tab. As a FileInfo element, it was also catched by rtags_from_xsd_element to be displayed in the tab display FileInfo subelements. This was also screwing up its reledit view. Skipping such attributes in underlying `rtags_from_rtype_role_targets` function fixes both problems.
Fri, 26 Aug 2016 09:21:45 +0200 Hide relations tab for data-object in simplified seda profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 09:21:45 +0200] rev 1579
Hide relations tab for data-object in simplified seda profiles
Fri, 26 Aug 2016 09:05:51 +0200 Add uicfg rule to display digest algorithm on binary data object primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 09:05:51 +0200] rev 1578
Add uicfg rule to display digest algorithm on binary data object primary view unclear why it wasn't displayed by default while it is for Compressed entities. Add clearer translation along the way.
Fri, 26 Aug 2016 08:55:52 +0200 Hide compressed/version elements from data-object of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 08:55:52 +0200] rev 1577
Hide compressed/version elements from data-object of simplified profiles
Fri, 26 Aug 2016 09:05:03 +0200 Simplify uicfg rules building for physical/binary data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 09:05:03 +0200] rev 1576
Simplify uicfg rules building for physical/binary data objects There should be no need for etype specific rules, default rules will be overriden.
Fri, 26 Aug 2016 08:29:44 +0200 Do not handle physical data object in archive unit of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 08:29:44 +0200] rev 1575
Do not handle physical data object in archive unit of simplified profiles
Fri, 26 Aug 2016 08:13:31 +0200 Move entity_call method in parent abc for tabs displaying objects below archive unit's content sequence
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 08:13:31 +0200] rev 1574
Move entity_call method in parent abc for tabs displaying objects below archive unit's content sequence
Thu, 25 Aug 2016 17:52:44 +0200 [test] Add a test for ITreeBase behaviour on regular and simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 17:52:44 +0200] rev 1573
[test] Add a test for ITreeBase behaviour on regular and simplified profiles
Thu, 25 Aug 2016 18:03:23 +0200 ITreeBase.iterchildren on archive unit of simplified profile shouldn't return content subentities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 18:03:23 +0200] rev 1572
ITreeBase.iterchildren on archive unit of simplified profile shouldn't return content subentities
Thu, 25 Aug 2016 16:20:33 +0200 Override archive unit tab for archive unit of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:20:33 +0200] rev 1571
Override archive unit tab for archive unit of simplified profiles We don't have to handle the case of "reference" archive unit. Refactor a bit the original tab class to ease this overriding, by introducing a 'sub_unit_types' class property.
Thu, 25 Aug 2016 16:18:39 +0200 Override content tab for archive unit of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:18:39 +0200] rev 1570
Override content tab for archive unit of simplified profiles Instead of displaying content subobjects, display directly the properties we're interested in. An archive unit may only have one content entity in the case of simplified profiles.
Thu, 25 Aug 2016 16:13:25 +0200 Add a tab with content's custodial history on archive unit of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:13:25 +0200] rev 1569
Add a tab with content's custodial history on archive unit of simplified profiles
Thu, 25 Aug 2016 16:08:07 +0200 Introduce a property to get the tab identifier, to ease overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:08:07 +0200] rev 1568
Introduce a property to get the tab identifier, to ease overriding
Thu, 25 Aug 2016 11:33:59 +0200 Introduce a custom vocabulary function for archive unit references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 11:33:59 +0200] rev 1567
Introduce a custom vocabulary function for archive unit references so that on creation, we don't get every archive unit in the database but only those in the parent's container.
Fri, 26 Aug 2016 11:42:20 +0200 Rename regid and class for content's indexation tab according to its appearance in the UI
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 11:42:20 +0200] rev 1566
Rename regid and class for content's indexation tab according to its appearance in the UI
Fri, 26 Aug 2016 11:17:04 +0200 Display archive unit as parent in breadcrumbs for data object in simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 11:17:04 +0200] rev 1565
Display archive unit as parent in breadcrumbs for data object in simplified profiles
Fri, 26 Aug 2016 11:11:18 +0200 Hide FormatId from format tab of data object in simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 11:11:18 +0200] rev 1564
Hide FormatId from format tab of data object in simplified profiles
Fri, 26 Aug 2016 10:54:10 +0200 [i18n] Better translation for reference GPS coordinates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 10:54:10 +0200] rev 1563
[i18n] Better translation for reference GPS coordinates
Fri, 26 Aug 2016 09:20:30 +0200 [cleanup] Add some vertical spacing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 09:20:30 +0200] rev 1562
[cleanup] Add some vertical spacing
Fri, 26 Aug 2016 08:36:36 +0200 Apply some existing uicfg configuration to both binary and physical data objects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 08:36:36 +0200] rev 1561
Apply some existing uicfg configuration to both binary and physical data objects
Fri, 26 Aug 2016 08:24:41 +0200 Move data-objects tab of archive unit in simplified profiled next to the overriden tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 08:24:41 +0200] rev 1560
Move data-objects tab of archive unit in simplified profiled next to the overriden tab And rename it consistently with other simplified profile specific tabs.
Fri, 26 Aug 2016 07:55:29 +0200 [cleanup] Fix flake8 failures
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 07:55:29 +0200] rev 1559
[cleanup] Fix flake8 failures
Thu, 25 Aug 2016 17:52:05 +0200 ITreeBase.parent on data object of simplified profile should return related archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 17:52:05 +0200] rev 1558
ITreeBase.parent on data object of simplified profile should return related archive unit not the transfer entity.
Thu, 25 Aug 2016 17:30:51 +0200 [test] Introduce create_data_object utility function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 17:30:51 +0200] rev 1557
[test] Introduce create_data_object utility function
Fri, 26 Aug 2016 08:14:16 +0200 Introduce a specific ITreeBase adapter for archive unit of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Aug 2016 08:14:16 +0200] rev 1556
Introduce a specific ITreeBase adapter for archive unit of simplified profiles
Thu, 25 Aug 2016 17:27:58 +0200 Simplify retrieval of archive unit's content sequence in itree adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 17:27:58 +0200] rev 1555
Simplify retrieval of archive unit's content sequence in itree adapter
Thu, 25 Aug 2016 16:56:08 +0200 [test] Introduce a testutils module with functions collected from test modules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:56:08 +0200] rev 1554
[test] Introduce a testutils module with functions collected from test modules
Thu, 25 Aug 2016 16:47:23 +0200 [test] Drop useless calls to entity_from_eid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:47:23 +0200] rev 1553
[test] Drop useless calls to entity_from_eid
Thu, 25 Aug 2016 16:46:50 +0200 [test] Simplify test_hooks by using create_archive_unit function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:46:50 +0200] rev 1552
[test] Simplify test_hooks by using create_archive_unit function
Thu, 25 Aug 2016 16:16:06 +0200 Hide most fields from management tab for archive unit of simplified profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:16:06 +0200] rev 1551
Hide most fields from management tab for archive unit of simplified profiles
Thu, 25 Aug 2016 17:53:34 +0200 [cleanup] Add some vertical spacing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 17:53:34 +0200] rev 1550
[cleanup] Add some vertical spacing
Thu, 25 Aug 2016 15:49:15 +0200 Fix toggleFormMetaVisibility js function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 15:49:15 +0200] rev 1549
Fix toggleFormMetaVisibility js function It wasn't working properly because of the extra 'metaFieldSwitch' class. This fix rely on the position of the icon class in the list of classes, mostly because: * I add no idea how to do it properly (without having to test for each icon) * It seems fine enough like that * I'm lazy
Thu, 25 Aug 2016 11:48:41 +0200 Fix redirection to parent in archive unit sub-archive units tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 11:48:41 +0200] rev 1548
Fix redirection to parent in archive unit sub-archive units tab
Thu, 25 Aug 2016 16:48:04 +0200 [i18n] Fix some translations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 16:48:04 +0200] rev 1547
[i18n] Fix some translations
Thu, 25 Aug 2016 10:54:44 +0200 Mark SEDAAnyEntity as abstract
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 10:54:44 +0200] rev 1502
Mark SEDAAnyEntity as abstract The purpose wasn't to replace the default AnyEntity implememtation... Closes #14787888
Thu, 25 Aug 2016 10:04:45 +0200 Import _ from cubicweb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 10:04:45 +0200] rev 1501
Import _ from cubicweb
Thu, 25 Aug 2016 09:58:24 +0200 Rename local variable to highlight that it's specific to reference archive units
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 09:58:24 +0200] rev 1500
Rename local variable to highlight that it's specific to reference archive units
Thu, 25 Aug 2016 17:53:52 +0200 Docstring fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 17:53:52 +0200] rev 1499
Docstring fixes
Thu, 25 Aug 2016 09:56:42 +0200 Basic uicfg setup for simplified archive transfer entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 09:56:42 +0200] rev 1498
Basic uicfg setup for simplified archive transfer entity * hide all SEDA fields but archival agreement from primary view, * hide all SEDA fields from main form, since we don't want to handle the simplified form switch yet, * hide code list versions, data objects and related transfers tabs.
Thu, 25 Aug 2016 09:50:23 +0200 Insert pvs config into uicfg setup loop
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 09:50:23 +0200] rev 1497
Insert pvs config into uicfg setup loop
Thu, 25 Aug 2016 09:46:58 +0200 Simplify uicfg setup loop
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Aug 2016 09:46:58 +0200] rev 1496
Simplify uicfg setup loop
Wed, 24 Aug 2016 16:02:13 +0200 [tox] No more gends subpackage to exclude
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Aug 2016 16:02:13 +0200] rev 1495
[tox] No more gends subpackage to exclude
Fri, 22 Jul 2016 11:44:28 +0200 [ui] Provide monkey-patches for cw's #14474840
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2016 11:44:28 +0200] rev 1494
[ui] Provide monkey-patches for cw's #14474840
Fri, 22 Jul 2016 11:24:41 +0200 [ui] management tab doesn't apply to archive unit reference
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2016 11:24:41 +0200] rev 1493
[ui] management tab doesn't apply to archive unit reference
Thu, 21 Jul 2016 15:49:47 +0200 [html generation] Juliette's CSS. Closes #11447493
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 15:49:47 +0200] rev 1492
[html generation] Juliette's CSS. Closes #11447493
Thu, 21 Jul 2016 15:12:31 +0200 [simplified ui] Custom itree behaviour for simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 15:12:31 +0200] rev 1491
[simplified ui] Custom itree behaviour for simplified profile Display data objects as children of archive units, not as children of the transfer. Related to #14066262
Thu, 21 Jul 2016 15:10:36 +0200 [simplified ui] Add a custom data objects tab on archive unit of a simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 15:10:36 +0200] rev 1490
[simplified ui] Add a custom data objects tab on archive unit of a simplified profile * generate buttons to add binary/physical data object instead of reference, with extra information allowing to create automatically the reference * override data object autoform's `inlined_form_views` method to insert the aforementioned information as an hidden field (this won't work with __linkto since this is a relation to an inlined entity, not the main entity) * similar display of exising data objects as in the original data objects tab of archive transfer Related to #14066262
Thu, 21 Jul 2016 15:05:12 +0200 [simplified ui] Use custom form renderer for data object reference in a simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 15:05:12 +0200] rev 1489
[simplified ui] Use custom form renderer for data object reference in a simplified profile This completes the previous cset which add basic rtags, by including a single form instead of 'add' links. This form has no visible fields so nothing is displayed with the help of the proper inlined form renderer. Related to #14066262
Thu, 21 Jul 2016 14:51:55 +0200 [simplified ui] Add custom afs rtag for edition of data object in a simplified profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 14:51:55 +0200] rev 1488
[simplified ui] Add custom afs rtag for edition of data object in a simplified profile So that a reference is created transparently at the same time. This is because in simplified mode, we want to see data objects as children of archive units, not as first class object which are later referenced by archive units. Two distincts rules are added for SEDADataObjectReference and SEDACustodialHistoryFile else it won't work because of the ambiguity. Everything is then hidden in the SEDADataObjectReference form. In this mode, we should eventually ignore its cardinality and only consider the one of the data object. Related to #14066262
Thu, 21 Jul 2016 15:13:05 +0200 [ui] Factorize out abstract class for simplified autoform / inline form renderer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 15:13:05 +0200] rev 1487
[ui] Factorize out abstract class for simplified autoform / inline form renderer To be reused from other contexts.
Thu, 21 Jul 2016 14:37:23 +0200 [simplified ui] Hide some archive transfer's tabs in simplified ui
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 14:37:23 +0200] rev 1486
[simplified ui] Hide some archive transfer's tabs in simplified ui Related to #14066262
Thu, 21 Jul 2016 14:36:31 +0200 [simplified ui] Introduce predicates to distinguish between simplified and full seda2 profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 14:36:31 +0200] rev 1485
[simplified ui] Introduce predicates to distinguish between simplified and full seda2 profiles + related tests, including tests for features provided by underlying's `parent_and_container` function. Related to #14066262
Fri, 22 Jul 2016 11:24:07 +0200 [ui] Factorise a copy_rtag function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 22 Jul 2016 11:24:07 +0200] rev 1484
[ui] Factorise a copy_rtag function So underlying things such as deepcopy are hidden a bit. Along the way, rename dor_afs to do_ref_afs which is easier to read.
Thu, 21 Jul 2016 12:04:00 +0200 [ui] Move parent_and_container function from views to entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 12:04:00 +0200] rev 1474
[ui] Move parent_and_container function from views to entities We'll need that here soon!
Thu, 21 Jul 2016 09:24:08 +0200 [ui] Use span instead of div for description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 09:24:08 +0200] rev 1473
[ui] Use span instead of div for description This has two effects: * better usage of horizontal space * avoid the edition button to be misplaced The second point was the original problem I was attempting to solve. We'll need better if it appears that the new line introduced by the div was actually better for readability.
Thu, 21 Jul 2016 09:22:09 +0200 [ui] Fix SelectAmbiguity on archive unit content's tab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 09:22:09 +0200] rev 1472
[ui] Fix SelectAmbiguity on archive unit content's tab Because SEDAContent had two list item views returning the same score.
Thu, 21 Jul 2016 09:21:17 +0200 [simplified ui] Introduce an attribute on transfer to mark profile as simplified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 09:21:17 +0200] rev 1471
[simplified ui] Introduce an attribute on transfer to mark profile as simplified This will be used in later csets to have a much limited, hence simpler, UI. This UI should be similar as the one we have in SAEM-Ref (aka the "convergence" task). Related to #14066262
Thu, 21 Jul 2016 09:00:51 +0200 [ui] Add an action to download generated HTML documentation for a profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 09:00:51 +0200] rev 1470
[ui] Add an action to download generated HTML documentation for a profile Closes #11447493
Thu, 21 Jul 2016 08:52:07 +0200 [ui] Rename views.xsd to views.export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 08:52:07 +0200] rev 1469
[ui] Rename views.xsd to views.export
Thu, 21 Jul 2016 08:50:51 +0200 [ui] Fix select ambiguity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 08:50:51 +0200] rev 1468
[ui] Fix select ambiguity we want two distinct actions for XSD and RNG export, hence two different regid.
Thu, 21 Jul 2016 15:38:04 +0200 [html gen] Start generating HTML documentation for profiles
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Jul 2016 15:38:04 +0200] rev 1466
[html gen] Start generating HTML documentation for profiles Closes #11447493
Wed, 20 Jul 2016 11:53:51 +0200 [profile gen] Drop undesired elements when attribute of a complex path doesn't exist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2016 11:53:51 +0200] rev 1437
[profile gen] Drop undesired elements when attribute of a complex path doesn't exist In this case, return the 'intermediary' entity if any, it appears to be the end of the path anyway. This avoid allowing undefined elements in the profile.
Wed, 20 Jul 2016 11:47:19 +0200 [profile gen] No output for jumped elements without children
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2016 11:47:19 +0200] rev 1436
[profile gen] No output for jumped elements without children Following the policy "no entity, not allowed", we should not allow jumped elements when those have no content. This was allowing 'FileInfo' accidentally in the functional test, as well as Gps intermediary tag. Test and fix this.
Wed, 20 Jul 2016 11:40:51 +0200 [test] Move utility function to the top of the file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2016 11:40:51 +0200] rev 1435
[test] Move utility function to the top of the file
Wed, 20 Jul 2016 11:40:22 +0200 [profile gen] Some code cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2016 11:40:22 +0200] rev 1434
[profile gen] Some code cleanup Remove print and drop XXX in favor of explanation.
Wed, 20 Jul 2016 17:00:39 +0200 [profile gen] xselement_scheme_attribute is now public and return an attribute name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2016 17:00:39 +0200] rev 1433
[profile gen] xselement_scheme_attribute is now public and return an attribute name instead of a pyxst attribute object. This is preparation work for a later cset.
Wed, 20 Jul 2016 07:53:51 +0200 [test] Move data object reference creation to test's setup_database and cleanup attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 20 Jul 2016 07:53:51 +0200] rev 1426
[test] Move data object reference creation to test's setup_database and cleanup attributes
Wed, 13 Jul 2016 09:36:44 +0200 [ui] Enhance event view so that user annotation is display below other attributes information
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jul 2016 09:36:44 +0200] rev 1425
[ui] Enhance event view so that user annotation is display below other attributes information Note that each attribute may also have its own annotation, which are not displayed in the list item view. IMO, we should remove those at some point rather than cluttering this view.
Tue, 12 Jul 2016 16:53:23 +0200 [ui] Docstring improvments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 16:53:23 +0200] rev 1424
[ui] Docstring improvments
Tue, 12 Jul 2016 16:52:46 +0200 [i18n] Missing messages generated by i18ncube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 16:52:46 +0200] rev 1423
[i18n] Missing messages generated by i18ncube What triggered this is still unclear though.
Tue, 12 Jul 2016 16:51:54 +0200 [i18n] Add some missing translations and fix some existing ones
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 16:51:54 +0200] rev 1422
[i18n] Add some missing translations and fix some existing ones
Tue, 19 Jul 2016 10:59:53 +0200 [doc] docstring fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jul 2016 10:59:53 +0200] rev 1421
[doc] docstring fix
Wed, 13 Jul 2016 09:37:10 +0200 [ui] Configure list item view for events
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Jul 2016 09:37:10 +0200] rev 1420
[ui] Configure list item view for events with nicer and consistent ordering w/ autoform.
Tue, 12 Jul 2016 16:22:42 +0200 [ui] Configure list item view for custodial history item.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 16:22:42 +0200] rev 1419
[ui] Configure list item view for custodial history item.
Tue, 12 Jul 2016 15:55:25 +0200 [ui] Factorize list of entity types for typed references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 15:55:25 +0200] rev 1418
[ui] Factorize list of entity types for typed references
Tue, 12 Jul 2016 15:20:47 +0200 [codegen] Allow 0..1 and 0..n for custiodial history item
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 15:20:47 +0200] rev 1417
[codegen] Allow 0..1 and 0..n for custiodial history item
Tue, 12 Jul 2016 15:02:52 +0200 [ui] Generate smarter dc_title for all entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 15:02:52 +0200] rev 1416
[ui] Generate smarter dc_title for all entities This is mostly useful for edition form a non-first-level subentities, to get proper display in the breadcrumbs.
Tue, 12 Jul 2016 14:47:16 +0200 [ui] Nicer fields order for typed reference alternatives.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 14:47:16 +0200] rev 1415
[ui] Nicer fields order for typed reference alternatives.
Tue, 12 Jul 2016 14:37:13 +0200 [i18n] Add missing messages and translations for relationships
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 14:37:13 +0200] rev 1414
[i18n] Add missing messages and translations for relationships
Tue, 12 Jul 2016 14:33:31 +0200 [ui] Don't display cardinality on data object reference for the typed reference alternative
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 14:33:31 +0200] rev 1413
[ui] Don't display cardinality on data object reference for the typed reference alternative Is this context, user should not have this option which only makes sense for data object reference directly from archive units.
Tue, 12 Jul 2016 10:47:46 +0200 [ui] don't handle seda_data_object_reference globally
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 10:47:46 +0200] rev 1412
[ui] don't handle seda_data_object_reference globally We've to distinguish the case of generic reference from other kind of references available through SEDAContent (IsPartOf, VersionOf, etc).
Tue, 12 Jul 2016 10:45:57 +0200 [ui] Custom renderer should only be used in the context of a 'reference' archive unit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 10:45:57 +0200] rev 1411
[ui] Custom renderer should only be used in the context of a 'reference' archive unit SEDAArchiveUnitRefId may be used within the context of other kinds of reference, available from SEDAContent (IsPartOf, VersionOf, etc.).
Tue, 12 Jul 2016 10:44:11 +0200 [ui] Fix creation and tree display of 'reference' archive units
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 10:44:11 +0200] rev 1410
[ui] Fix creation and tree display of 'reference' archive units
Tue, 12 Jul 2016 10:11:13 +0200 [ui] Add business value view for the various kinds of relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 10:11:13 +0200] rev 1409
[ui] Add business value view for the various kinds of relation
Tue, 12 Jul 2016 09:58:32 +0200 [ui] seda.business.link merged with seda.business with proper selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Jul 2016 09:58:32 +0200] rev 1408
[ui] seda.business.link merged with seda.business with proper selector This makes it simpler to grasp by avoiding ambiguous semantic.
Fri, 08 Jul 2016 16:35:02 +0200 [ui] Use bootstrap's text-muted class on div for user's annotation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 16:35:02 +0200] rev 1407
[ui] Use bootstrap's text-muted class on div for user's annotation
Fri, 08 Jul 2016 16:43:14 +0200 [ui] Backport and adapt code from SAEM to hide annotation behind the cardinality field
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 16:43:14 +0200] rev 1406
[ui] Backport and adapt code from SAEM to hide annotation behind the cardinality field There is now a pop-up allowing to edit the annotation. If some annotation exists, pop-up is displayed open from the start. Disable this functionnality for first level content types, because for them it feels better to see the annotation as a first level attribute. Existing views already display the annotation properly when it exists. Closes #14157055
Fri, 08 Jul 2016 16:31:32 +0200 [i18n] annotation -> aide à la saisie
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 16:31:32 +0200] rev 1405
[i18n] annotation -> aide à la saisie
Fri, 08 Jul 2016 15:07:09 +0200 [code gen] Annotation (almost) everywhere.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 15:07:09 +0200] rev 1404
[code gen] Annotation (almost) everywhere. For UX reason, don't add it when there is no user_cardinality as well (so we can consistently edit annotation). Related to #14157055
Fri, 08 Jul 2016 13:51:03 +0200 [ui] Don't show schema relation/entity type related to a concept scheme. Closes #14157254
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 13:51:03 +0200] rev 1372
[ui] Don't show schema relation/entity type related to a concept scheme. Closes #14157254
Fri, 08 Jul 2016 13:45:16 +0200 [ui] Fix display of language when a value is specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 13:45:16 +0200] rev 1371
[ui] Fix display of language when a value is specified
Fri, 08 Jul 2016 13:38:03 +0200 [ui] No boxes for entities related to a concept or scheme from their primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 13:38:03 +0200] rev 1370
[ui] No boxes for entities related to a concept or scheme from their primary view Related to #14157219
Fri, 08 Jul 2016 12:16:01 +0200 [ux] Preset some code list version
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Jul 2016 12:16:01 +0200] rev 1369
[ux] Preset some code list version At transfer creation time, attempt to predefine some code lists by querying the scheme_relation_type relation. Those depending on both a relation type and an entity type are not yet handled (we've no default list for those anyway). Closes #14157192
Thu, 07 Jul 2016 19:15:06 +0200 [ui] Most of the relation widget configuration code moved as a generic implementation in the skos cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Jul 2016 19:15:06 +0200] rev 1368
[ui] Most of the relation widget configuration code moved as a generic implementation in the skos cube Closes #14157219
Wed, 06 Jul 2016 20:12:37 +0200 [ui] Add an action to expose RNG export. Closes #14022989
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Jul 2016 20:12:37 +0200] rev 1341
[ui] Add an action to expose RNG export. Closes #14022989
Wed, 06 Jul 2016 18:38:52 +0200 [profile gen] Move more code to the parent adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Jul 2016 18:38:52 +0200] rev 1340
[profile gen] Move more code to the parent adapter
Wed, 06 Jul 2016 18:17:26 +0200 [profile gen] Move generic functions to the top of the file, dropping xsd_ prefix when it's not specific to XSD export
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Jul 2016 18:17:26 +0200] rev 1339
[profile gen] Move generic functions to the top of the file, dropping xsd_ prefix when it's not specific to XSD export
Wed, 06 Jul 2016 18:12:11 +0200 [profile gen] Introduce an ABC adapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Jul 2016 18:12:11 +0200] rev 1338
[profile gen] Introduce an ABC adapter
(0) -1000 +1000 tip