Revision
58376 -
Directory Listing
-
[select for diffs]
Modified
Thu Jan 28 10:30:18 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 58369
:HSTTWO-3578 make sure integration tests also run and refactored the unit tests in general, and made sure not to rely on the content specific dates but just check again the real content for the dates for example.
Revision
58163 -
Directory Listing
-
[select for diffs]
Modified
Tue Jan 26 14:27:58 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 58074
HSTTWO-3515 make sure only 'workspace node' is required and not 'pages' and 'sitemap' and that those are added when required
Revision
57970 -
Directory Listing
-
[select for diffs]
Modified
Mon Jan 25 12:44:03 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57969
HSTTWO-3563 make sure the max search result size is injected via an overridable bean. I prefer for now not to make it configurable via hst config properties: If needed, we can try to do this later. hst config properties in general are only about hst-core spring component beans and not about optional modules, that is why it is perhaps cleaner to have end project just override the maxSearchResultItems. Not I call it maxSearchResultItems and not maxSearchResultSize because the latter might be a bit confusing: The search result (total) size can be bigger, but this number is just the maximum number of items we return in the response
Revision
57968 -
Directory Listing
-
[select for diffs]
Modified
Mon Jan 25 12:01:33 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57966
HSTTWO-3532 use 'site' link and a website URL for links that have another mount than the current request (api) mount
Revision
57966 -
Directory Listing
-
[select for diffs]
Modified
Mon Jan 25 11:51:30 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57964
HSTTWO-3572 revert this change for now : Too tricky to also use rest mounts for links and also the HST cannot know the links for for example plain jaxrs pipeline mounts.
Revision
57964 -
Directory Listing
-
[select for diffs]
Modified
Mon Jan 25 11:23:34 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57962
HSTTWO-3572 make sure that also non mapped mounts are used for #getAllCanonicalLinks and other cross mount link rewriting
Revision
57952 -
Directory Listing
-
[select for diffs]
Modified
Thu Jan 21 12:26:59 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57946
HSTTWO-3570 expose 'primary node visitors' on ResourceContext and do not skip a child in case it has a primary visitor
Revision
57946 -
Directory Listing
-
[select for diffs]
Modified
Thu Jan 21 11:01:59 2016 UTC
(5 years, 1 month ago)
by
adouma
Diff to
previous 57939
HSTTWO-3565: rename VisitorNodeType annotation to NodeVisitorType and move several classes up to more generic package level
Revision
57932 -
Directory Listing
-
[select for diffs]
Modified
Thu Jan 21 10:15:47 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57926
HSTTWO-3532 make sure to not show 'null' values. Thus for example a 'Binary link' should not have 'id : null' but should not expose 'id' at all
Revision
57925 -
Directory Listing
-
[select for diffs]
Modified
Thu Jan 21 08:28:19 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57921
HSTTWO-3561 remove TODO : fetching the length of a jcr binary does not fetch the binary. This is namely also done this way in org.hippoecm.hst.content.beans.standard.HippoResource
Revision
57921 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 23:59:32 2016 UTC
(5 years, 1 month ago)
by
adouma
Diff to
previous 57920
HSTTWO-3565: VisitorNodeType annotation doesn't need a value property anymore.
We always create a (singleton) instance of the annotated Visitor class anyway and then its getNodeType() can used just as well.
This saves having to 'define' the same value (nodetype) twice on a single class
Revision
57919 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 23:37:34 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57917
HSTTWO-3532 implement link for all use cases except HippoResourceVisitor : Still need to do that one. For the rest, facetselect and mirror types have been done, and also html content. We now can have four kinds of links:
1) local : this means within the same api calls
2) binary: this is a binary web link
3) external : a link to a document outside the current api. We then only show a uuid
4) invalid : for empty docbases, links to 'cafebabe-....', etc
Still to do is check whether CDN support for binary links still work. Most likely it just works
Revision
57906 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 16:07:05 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57904
HSTTWO-3568 Extract AbstractResource from DocumentsResource and extract the static nested classes to top level classes
Revision
57893 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 14:57:44 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57891
HSTTWO-3566 move ResourceBundleVisitor again to restapi module because otherwise circular dependencies between core, resourcebundles and restapi
Revision
57877 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 13:43:40 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57876
HSTTWO-3565 move the ResourceBundleVisitor to the resourcebundle artifact. I've added it below 'contentrest' package. The ResourceBundleVisitor will be picked up by annotation scanning
Revision
57872 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 13:20:53 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57869
HSTTWO-3565 initial work on automatic scanning of NodeVisitors. As part of this feature, I have also removed the VisitorFactory (was not a factory) and expose on the ResourceContext a method getVisitor(Node). Also introduced a ResourceContextFactory which is in control of creating a ResourceContext
Revision
57868 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 10:56:06 2016 UTC
(5 years, 1 month ago)
by
oscholten
Diff to
previous 57867
HSTTWO-3560: updating code and unit tests to return 404 rather than 400 in case a uuid is passed into the resource that exists but is n
ot a valid document
Revision
57863 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 10:02:18 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57862
HSTTWO-3564 initial 'myhippoproject' test content checkin including a new host (onehippo.io) and sub (onehippo.io/myhippoproject). Perhaps we should later on rename 'myhippoproject' to 'contentapi'. Note that to the test bootstrap we still *must* add the
dependencies that bootstraps the /hippo:namespaces/hippo and /hippo:namespaces/hippostd because now we get an error from the content type service that 'Html' is not known
Revision
57862 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 20 09:39:35 2016 UTC
(5 years, 1 month ago)
by
adouma
Diff to
previous 57859
HSTTWO-3549: simplify and complete standard filtering/hiding of unsupported (unknown or residual) properties and children
Revision
57856 -
Directory Listing
-
[select for diffs]
Modified
Tue Jan 19 15:49:49 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57855
HSTTWO-3561 add the ResourceBundleVisitor to the list of explicit node visitors which match by primary type. The ResourceBundleVisitor is an explicit document type and does not belong to the fallback types
Revision
57853 -
Directory Listing
-
[select for diffs]
Modified
Tue Jan 19 15:37:55 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57852
HSTTWO-3532 initial work for link rewriting : The linkrewriting is now done (tests still need to be added, and also some pluggability to override defaults) for hippo std html nodes. It works as follows now
1) Links to documents within the content of the API are shows as hippo-data-link = "xyz" and a link with 'xyz' is added below the html content
2) Links to binaries are added as hippo-data-link = "xyz", and the link below the html contains a URL to the binaries resource (the weblink)
3) Unresolvable href's for <a> tags result the <a> tag to be removed, and only the content kept
4) Unresolvable src's result in the <img> tag to be removed
Choice (3) and (4) are debatable and might be domain specific and depends on how a user would like to handle these cases. We should revisit these choices before closing this issue
Revision
57845 -
Directory Listing
-
[select for diffs]
Modified
Tue Jan 19 00:55:43 2016 UTC
(5 years, 1 month ago)
by
adouma
Diff to
previous 57844
HSTTWO-3561: adding visitors for hippo:resource and hippogallery:image, cleaning up and several fixes in ignorable properties handling and dropping remaining hipporest: prefix usages
Revision
57841 -
Directory Listing
-
[select for diffs]
Modified
Mon Jan 18 16:51:48 2016 UTC
(5 years, 1 month ago)
by
adouma
Diff to
previous 57837
HSTTWO-3561: refactor the NodeVisitors processing flow based on the type hierarchy and also add extended document visitors for NT_PUBLISHABLE and HIPPOSTDPUBWF_DOCUMENT
Revision
57833 -
Directory Listing
-
[select for diffs]
Added
Mon Jan 18 13:08:28 2016 UTC
(5 years, 1 month ago)
by
aschrijvers
Diff to
previous 57832
HSTTWO-3561 work in progress : Spring wiring of xyzNodeVisitor. The explicit visitors still need to be added by annotation scanning. Removed property visitor: Exposing properties should be in control of a node visitor itself