ModeShape

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2109 Updates some unit tests which fail whenever built-in node types are added.

MODE-2109 Adds the "mode:unordered" collection nodetypes. These types of collections will store their nodes in special sub-documents called buckets. The number of buckets for each collection is determined based on the order of magnitude of that collection (or PRB) represented as a power of 16. Then, the first PRB characters in the SHA1 of the name of each child node determine the bucket where that node will be placed. This means that any operations where the name or path of a node is already known are a lot faster and cheaper than for regular nodes, for which the parent of the node has to load all its child references. The limitation of these types of nodes is that they don't support orderings or renames. Also, JCR operations like cloning, copying or versioning are either limited in their support or not supported at all.

  1. … 6 more files in changeset.
Merge pull request #1458 from okulikov/MODE-2467

MODE-2467: Modeshape-explorer: add mixin when clicking refresh.

MODE-2467: Modeshape-explorer: add mixin when clicking refresh.

Merge pull request #1454 from okulikov/MODE-2459-b

MODE-2459: Improve web-explorer ergonomic

MODE-2498 - Added unit test to demonstrate issue

Merge pull request #1456 from hchiorean/MODE-2483

MODE-2483 Allows custom authorization providers to be called for workspace based permissions

MODE-2483 Allows custom authorization providers to be called for workspace based permissions The previous code would circumvent custom providers altogether, meaning that right after session.login any custom provider had to have assigned ModeShape-specific roles to the authenticated user in order for the login to be successful.

Merge pull request #1455 from hchiorean/MODE-2474

MODE-2474 Disallows the store-name attribute when non-composite binary stores are used

MODE-2474 Disallows the store-name attribute when non-composite binary stores are used

MODE-2459: Improve web-explorer ergonomic

  1. … 75 more files in changeset.
Merge pull request #1452 from hchiorean/MODE-2496

MODE-2496 Makes sure custom authentication providers in the AS kit are added first in the list

Merge pull request #1451 from Westernacher/mode-2497

Support German Scharfes 'S' symbol when tokenising

MODE-2496 Makes sure custom authentication providers in the AS kit are added first in the list This essentially makes sure that any custom providers will take precedence over the default (built-in) security providers which interface with the AS's security domain.

Support German Scharfes 'S' symbol when tokenising This symbol is weird because the so-called 'capital' version (as determined by the JVM) is 'SS'. i.e. longer than the lower-case version. This sends the indexes out of kilter within the TokenStream class when using case insensitive tokenising.

The solution is to override the match method in the CaseInsensitiveToken to convert the current token to upper-case, rather than storing an upper-case version of the entire input string, which may not have the same indexes as the lower-case version.

(cherry picked from commit 9a8ac56)

Merge pull request #1450 from hchiorean/MODE-2495

MODE-2495 Fixes how user transactions are handled

MODE-2495 Fixes how user transactions are handled The previous code made the incorrect assumption that a user transaction is "confined" to the thread that started it. This is obviously not the case, since the same transaction can be suspended & resumed subsequently off different threads.

Merge pull request #1449 from hchiorean/MODE-2489

MODE-2489 Added the ability to configure mime-type detection

Merge pull request #1448 from hchiorean/MODE-2488

MODE-2488 Moved the AS kit to Wildfly 9

MODE-2489 Updated the AS kit to expose the new mime-type detection configuration options.

MODE-2489 Refactored mime-type handling and added the possibility of configuring the repository to use either "content", "name" or no mime-type detection at all.

  1. … 21 more files in changeset.
MODE-2488 Moved the ModeShape AS subsystem to Wildfly 9.0.0.Final.

    • -28
    • +17
    /boms/modeshape-bom-jbossas/pom.xml
  1. … 101 more files in changeset.
MODE-2488 Changed the subsystem API to be binary compatible both with Wildfly 8 and Wildfly 9.

Merge pull request #1443 from jasperstein/MODE-2490

Fix MODE-2490

Merge pull request #1447 from Westernacher/mode-2494

MODE-2494 Adding check whether a child node join has been reversed during query optimization, mirroring logic for SameNodeJoinCondition and EquiJoinCondition.

MODE-2494 Adding check whether a child node join has been reversed during query optimization, mirroring logic for SameNodeJoinCondition and EquiJoinCondition.

For some complex queries, such as:

SELECT parent.[jcr:path], child1.[jcr:name], desc.[jcr:name]

FROM [nt:unstructured] AS parent

LEFT OUTER JOIN [nt:unstructured] AS child1 ON ISCHILDNODE(child1,parent)

INNER JOIN [nt:unstructured] AS desc on ISCHILDNODE(desc, child1)

LEFT OUTER JOIN [nt:unstructured] AS child2 ON ISCHILDNODE(child2,parent)

WHERE ISCHILDNODE(parent,'/')

AND NAME(child2) = 'Hybrid'

AND NAME(desc) LIKE 'Nissan%'

the query optimizer reverses the left and right sides of the join, leading to an assertion error in ScanningQueryEngine.

This fix checks if the join has been reversed, and creates rowextractors for the opposite columns if this is the case.

Added three tests, two which are fixed by this change, and one which is still an issue, suggesting a deeper problem. For the remaining (@Ignored) test, the exception is in the DescendantNodeJoinCondition code.

This seems less simple to resolve, and probably a true fix lies in ReplaceViews or somewhere similar.

Merge pull request #1446 from hchiorean/MODE-2491

MODE-2491 Fixed the LOWER and UPPER operands handling in case of multi-valued properties.

MODE-2491 Fixed the LOWER and UPPER operands handling in case of multi-valued properties.

Merge pull request #1445 from hchiorean/MODE-2493

MODE-2493 Fixed the rollback handling of ModeShape transactions.

Merge pull request #1444 from hchiorean/MODE-2484-2485

MODE-2484, MODE-2485 Fixed several potential ISPN locking issues