You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:30:02 UTC
[sling-org-apache-sling-engine] annotated tag
org.apache.sling.engine-2.0.2-incubator created (now ff22a02)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to annotated tag org.apache.sling.engine-2.0.2-incubator
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git.
at ff22a02 (tag)
tagging 5801e0e33a75f0c90a3e687c19943030b99b76ad (commit)
by Felix Meschberger
on Thu Jun 18 09:21:02 2009 +0000
- Log -----------------------------------------------------------------
org.apache.sling.engine-2.0.2-incubator
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new b3dc6e1 Import initial Sling source
new 33ac0d1 Remove unrequired source
new 0480aa5 Ignore Eclipse and build artifacts
new 4b7730c Fix scm settings
new b0b6d20 Correct method references and headers.
new 1cd8d79 Correct method references and headers.
new 1a16828 Refactor core classes part one: move impl to core.impl
new 539e844 Refactor core classes part two: move api to core package
new 81d372c Refactor core classes part two: move api to core package
new 06f1dc9 Refactor core classes part two: move api to core package
new 760f6e6 Refactor core classes part two: move api to core package
new b7cc5af Refactor core classes part two: move api to core package
new fff8b32 Refactor core classes part three - update other bundles.
new b006102 Refactor core classes part three - update other bundles.
new d50c345 Refactor core classes part three - update other bundles.
new 255fb62 Use generics.
new e163a23 Ignore Eclipse .settings
new ad563f0 Avoid NPE on shutdown by putting all references in an array which is cleared on deactivation.
new bb03b1d Fix license headers.
new 0dbbc65 Fix license headers.
new fc76c37 Fix license headers.
new e042f03 Some javadoc updates.
new 00f39b2 SLING-13 ocm mappings are incorrect: replace jcrNodeType with JcrType
new d8e87e5 Remove unused imports
new f75065c - Concentrate constants in the Constants interface - Add constants for sling.home, sling.home.url and sling.id - Document the constants
new 597867a Only include charset in content type if it has explicitly been set, otherwise omit it
new 6869faf Allow the abstract doInit method to throw a ComponentException and forward this in the init method
new ad6dccd SLING-6 Run JSPs located in bundles
new 22dcb17 sling:Component/sling:contentClass property should be autocreated if we have a default value
new dd9eba3 Add theme object to request attributes (SLING-9)
new 71d1ddb Move implementation of service locator to util package to make it available for other bundles.
new 68e1c57 Add discriminator flag to mapping for abstract extension and add empty extension collection to AbstractRepositoryComponent to avoid NPEs later on (if no mapping has been applied).
new e5ad2ba Remove sling module versions from parent pom to make release management easier. Add some more versions of dependencies to parent pom.
new 99e84ef Remove empty reference target setting (not required)
new 3eb7bd9 SLING-32 <jsp:include> does not work for Sling based JSPs
new e2fddf1 SLING-40 Define proper ContentResolver service (Intermediate checkin, project will not currently build)
new b15172c SLING-40 Define proper ContentResolver service
new 5f30ed0 SLING-40 Define proper ContentResolver servicesrc/main/java/org/apache/sling/core/impl/ComponentRequestHandlerImpl.java SLING-42 Potential NullPointerException when initializing Components
new 78f35dd SLING-39 RequestDispatcher should use ContentResolver to try to resolve paths to Content objects
new 17fae78 Add a new node type: sling:Reference and corresponding components (SLING-61)
new d1c2c36 Log an exception to the log to see the errors in all cases.
new d7dc027 SLING-74 - Create a new resolved URL to use if the one given has no extension (assuming that such a resolved URL also has no selectors and suffix)
new 7049b36 SLING-83 Move modules according to the new module structure
new ccf803d SLING-83: Fix relative paths to parent poms.
new 4b8d3bf Remove unused stuff and start adapting some parts to new API.
new 58670a2 Move the sample ZipFilter to the sample project
new 2fd316a SLING-83 Package reorgnaization and SLING-98 API adoption (work in progress) Rename components package to servlets; drop AbstractRepositoryComponent (not needed here and maybe not needed anymore at all thanks to the ScriptResolver)
new 34560c0 SLING-83 Package reorgnaization and SLING-98 API adoption (work in progress) Some more adaptions and reorganizations NOTE: Does not compile currently ...
new b3b53ec SLING-98 More work towards Sling API compliance (work in progress) - Basically compiles now; probably does not work, though. - Continuing with some more package reorganizations
new 4cc7508 Add new ds attribute to not generate Declarative Services Descriptor
new 2f33574 Raise SCR plugin version reference to have support for new ds attribute for @scr.component tag.
new c236a3a Remove explicite version for the SCR plugin, the parent project now contains the correct (updated) version number.
new 6c180d2 SLING-103 Register SlingServletContext as a ServletContext service for servlets and scripts SLING-108 Implement OSGi HttpContext.handleSecurity using the Sling Authenticator. As such the Sling authentication mechanism is always called before even calling the main Sling servlet.
new f9c4432 Prevent NullPointerException in updated method if there is no configuration available
new 392b0a7 SlingServletContext constructor needs the OSGi component context which was only set after creating the SlingServletContext, because the OSGi component context was used by the Filter binding to find out whether filters are to be initialized or delayed. By using the SlingServletContext as the base for this decision, we are cleaner (because init uses the SlingServletContext) and may set the OSGi component context field before creating the SlingServletContext.
new fde30eb SLING-104 Remove unused RequestData methods which are now implemented as utility methods in the SlingRequestPaths class of the Sling API bundle. Also adapt uses in SlingHttpServletRequestImpl and ParameterSupport
new a7418da Error handler servlets should be plain servlets as (1) SlingHttpRequest/Response objects may not be available and (2) the request method does not matter when handling errors.
new 2a7ac98 Wrong logic for servlet name resolution which may cause NullPointerException
new b640d79 (1) Directly call the servlet if there are no resource level filters (2) Need the SlingServletContext for setting up ErrorHandler and ServletResolver (but not assign to field yet; this is only done when handling delayed filters)
new 185e1b6 Send NOT_FOUND for a non-existing resource on a GET request
new fb188c5 * Simplify servlet resolution (only use resource type) * Add default servlet support
new b753bea Fixup JavaDoc and remove maven-scr-plugin tags (the DefaultServlet is created on demand by the ServletResolver)
new 278de48 Remove Component and Command node types. Component's do no exist any more, the Comand node type is no required. To implement things like a command servlet, any node may be used with a specific sling:resourceType value.
new 95f6cac The CommandObject is not required any more, to implement commands, define or use whatever node type suites the command's need and implement a servlet handling the resource type.
new 498398c Rename SelectableContent to SelectableObject
new a139217 Fix namespace URIs and some documentation
new 8bcd880 SLING-98 Reorganize packages to match the SLing API package structure
new 48e713a SLING-98 Add scripting support to the Sling servlet resolver. This code is just copied from microsling; we should probably do better, than just copying ....
new b77531c SLING-98 ScriptHelper must implement the Sling API SlingScriptHelper interface
new 1e62f1a Fix logging to prevent NPE and ensure a servlet name of some sorts
new 9aabfc8 SLING-113 Consider partial selector string for script resolution and simplify script path and filename building. In addition completely depend on ResourceResolver and Resource instead of directly accessing the repository to support non-JCR based scripts such as scripts stored in bundles. Use methode name for GET requests with no extension instead of some artificial "NO_CONTENT_TYPE".
new b5f8970 Prevent NPE if RequestDispatcherOptions is null
new 6630dcc Reorganize setup to prevent null pointer exceptions caused by the ServletBinder constructor calling addingServlet on the SlingServletResolver whose instance fields have not been set up yet.
new 2f1670a - Fix Exception declaration (was ComponentException, should be ServletException) - when including a resource, the servlet to render the resource must also be resolved.
new 9808df8 SLING-109 Adapt to new Resource and provider interfaces
new c22815d SLING-109 Support Resource adapter
new 7a5a0a4 Correct javadocs.
new df5234c Make sling core runnable with servlet api 2.5 environments.
new e22814f Fix javadocs.
new af28dee More javadoc fixes.
new 8d36e59 Make sling core runnable and compilable with servlet 2.4 api.
new 5d59bf3 SLING-137 Remove ScriptResolver implementations Additionally start implementing more flexible default servlet support
new 7bbe57d SLING-134 Use ResourceResolver instead of ResourceManager, which has been removed.
new ffd213d Organize imports
new f9d6fb0 SLING-134 Rename variable to reflect the correct use (and type)
new 918a79e Some more wrong license headers
new 85639b4 Remove uses of ComponentException, which used to be former Component API exceptions but now are OSGi ComponentExceptions. All must be SlingExceptions.
new d50d3df SLING-141 Remove ServletResolver implementation from core module. At the same time a new interface - ErrorHandler - is defined which is expected to be implemented by an OSGi service. If no such service exists, a very basic implementation is available as part of the SlingMainServlet.
new a0b72cc Cosmetics: Move getContextPath method and rename requestHandler variable to mainSlingServlet.
new f416510 Add utility method to return the name of a Servlet
new 1f14887 SLING-141 Add RequestData.service method used to call a servlet. This method keeps track of the currently running servlet as a request attribute (reset after the request) and an internal field (reset only if the service method returns normally). Third the request progress is tracked by logging the entry and exit of the servlet.
new fa667fd Enhance default error handling code by printing the servlet name if available
new 9ee6687 SLING-140 Replace clientRequest and clientResponse references with Sling request and response objects to enable proper error handling
new d170d7a Only send error if no authentication handler handled this.
new 909b831 Fix node type definition list.
new 4a427a5 Content has been removed.
new 2145835 Add junit test from microsling.
new ca4de1f Clean up java docs a little bit.
new 326e010 issue SLING-146: Replace Resource.getURI() by Resource.getPath() https://issues.apache.org/jira/browse/SLING-146
new 969a6c4 issue SLING-146: Replace Resource.getURI() by Resource.getPath() https://issues.apache.org/jira/browse/SLING-146
new 6d58ab0 Throw MissingRepositoryException if no Repository available, to avoid NPEs downstream
new a859ede SLING-152 - fix parsing of application/x-www-form-urlencoded parameters, using hardcoded default encoding for now
new 4d33d5b Ensure servlet init parameters are string values (enforced by Jetty 6)
new 399d148 Fixed 'typo': setAttribute called removeAttribute
new 7c76ddc Simple implementation of getResponseContentType()
new 28ee3b4 Some Cleanup:
new b193cef SLING-4 Implement better status handling for different situations as proposed in the issue
new 62b5447 SLING-152 Removing the parsing of all parameters provided by the servlet container. This not only comprises the url encoded input stream data but also the query parameters from the request line. We just take what we get from the servlet container, apply our encoding (if any).
new 94ff371 SLING-173 - SlingRequestPathInfo fails to parse extension when pathToParse starts with /
new 644c353 Clean up code, remove unused imports etc.
new ba8430a SLING-186: RequestData: Replace HttpStatusCodeException by ResourceNotFoundException throw IllegalArgumentException (instead of SlingException) in the various unwrap methods if the request/response object is not as expected. SlingMainServlet: Handle exceptions correctly ServiceLocatorImpl: Drop method implementation not defined by API anymore
new 55c284e Minor typo.
new 231d1d2 Remove explicit import.
new e17d679 SLING-197 Merge resource integration concept into trunk
new 1d27cf2 Use OSGi core and cmpendium jars from Felix project.
new 3f6355c SLING-204 - add svn ignore patterns for intellij
new 75a2cdf SLING-208 - Detect infinite loops in sling.include
new 02b7fd8 SLING-198 Adapt to new ResourceResolver method replacing PathResolver
new edc39fc Log exceptions caught and handled in the SlingMainServlet.service mthod
new 855e5ac sendError(): Avoid NPE if no Throwable
new 271b1cf added some useful logging messages
new 30870d5 require ServletResolver and MimeTypeService in service method, avoids hard to diagnose problems if those are missing
new ef95aa4 Fix potential NPE and correct typos.
new 6307930 SLING-221 and SLING-222, fix sling.include with forced resource type and extensions in included paths
new e02c035 SLING-225 Add getRequestDispatcher(String, RequestDispatcherOptions) method
new 359b6a2 Do not create a RequestDispatcher if path or resource is null
new e4e4ca4 SLING-222 modify last commit slightly to not throw or send an error in case of inability to include but log a message instead. Also use ResourceResolver.resolve to resolve the resource from the supplied path to support request extensions, selectors and suffixes.
new a1e158b SLING-222 Have to return after logging the message in case the included path does not resolve to a resource, otherwise a NullPointerException is thrown ...
new c0a1e62 Remove unused imports
new a3a0032 SLING-234 use new getter methods on RequestDispatcherOptions
new 6cbc815 SLING-236 Implement the getters and setters and adapt all known uses of the constants
new 1508991 SLING-242 Intermediate fix just not decoding the value (again)
new 69db6c5 SLING-246 replace Resource.getResourceProvider() by Resource.getResourceResolver() and adapt uses and test cases
new add24a1 Clean up code.
new 77ad9cc Code cleanup.
new 0760ae6 Remove plugin definition for sling plugins from parent pom to remove the circular dependency. Add missing version info for jspc plugin.
new 74a0537 Clean up javadocs.
new f4df4e3 SLING-263 content encoding setting not implemented correctly, partly overwriting Servlet API 2.4 methods. This is not needed anymore (dates back to when Sling only required Servlet API 2.3) so I removed the set/getCharacterEncoding and set/getContentType methods in the SlingHttpServletRequestImpl class.
new 9e7f0f0 SLING-250 - fix SlingRequestPathInfo to handle paths starting with /. - contributed by Lars Trieloff, thanks\!
new 201a298 Clean up javadocs and set default for anonymous support to true.
new c505091 SLING-270: Remove theme support from core.
new 70341cb SLING-250 simplify RequestPathInfo parsing as the trailer of an URL not used for resource resolution always either is empty or starts with a dot because resource resolution splits the request URL at dots and not at slashes. (see SLING-230) Fixed testcases removing those, which assume cutting at slashes.
new 2161540 Clean up code.
new 0f8638f SLING-278 Add new method to mock objects for unit tests
new cb1925b IN PROGRESS - issue SLING-279: ServiceLocator clean up https://issues.apache.org/jira/browse/SLING-279 Remove ServiceLocator interface and from request.
new 67ee701 FIXED - issue SLING-309: Improve Authentication Handling https://issues.apache.org/jira/browse/SLING-309
new 0eac492 SLING-310 - make SlingMainServlet the HttpContext, and detect if used after being deactivated
new a40302f SLING-310 Dispose off SlingServletContext when the SlingMainServlet is deactivated and prevent NPE if the SlingServletContext is used after SlingMainServlet has been deactiveted (this may be when depending components are being taken down because the SlingServletContext is unregistered)
new 307ff42 Remove unused imports.
new f1548dd SLING-214 Merge LoggerResponse methods into SlingHttpServletResponseImpl and turn RequestLoggerFilter into a simple service, which is directly accessed by the SlingMainServlet to call for request entry and exit.
new a431fcf SLING-214 Add reference to new RequestLogger service and call it explicitly on request start and end SLING-319 send 503/SERVICE UNAVAILABLE if repository or authenticator are not available when trying to handle the security
new 0b2e4cf SLING-319 Remove HTTP Header Authenticator from Core module after having created a separate module for this.
new de375cd SLING-319 Don't treat initial resource load special any more and send 403/FORBIDDEN on any occurrence of an AccessControlException
new ec7b49f Integrate commons-fileupload into core module and remove from launchpadd/app
new a372d11 Prevent NPE if no auth handlers are available.
new d79fa3e Remove empty directory.
new 10cc3a6 Clean up code a little bit.
new cee230b SLING-242 Cleanup EncodedRequestParameter to not round-trip to byte[] on plain strings for parameters retrieved from the servlet container
new 1a87ce2 SLING-327 Apply the same exception handling and login failure mechanism when acquiring the anonymous session as when acquiring the regular session.
new 7e1c9a0 SLING-335 Default implementation for the SlingHttpServletRequest.getResourceBundle(Locale) method: The ResourceBundle returned is empty.
new 8b9d530 Have the scr plugin generate the (un)bind methods
new c6a8452 Clean up code a little bit (no functional changes)
new a5d650a SLING-327 - add info to the 503 and 500 errors, to help troubleshooting
new 667d79e SLING-335 Minimal change to the resource bundle such that getString returns the key as the result prevent MissingResourceException
new 09131f7 SLING-335 Remove Locale resolution stuff moved to the sling/i18n module
new 7261dfa SLING-363 Default implementation for new getResourceBundle method returns NullResourceBundle
new f17c9a3 Move licence and notice to top level dir.
new e555182 Add incubator disclaimer.
new 77ff181 Write first element in pom in one line (to avoid problems with the maven release plugin) and minor pom fixes.
new 6ca2581 Update notice files.
new 31bb38c Add sling:Folder nodetype.
new 1e34685 Exclude maven-eclipse.xml generated by the maven eclipse plugin.
new 91f75ef SLING-432 Aling default configuration in meta type descriptor to actual default configuration and fix some descriptions in the message catalogue.
new c142737 SLING-298: Rename request parameter FormEncoding to _charset_.
new efd6b41 SLING-3 - RequestProgressTrackerLogFilter logs RequestProgressTracker info at the DEBUG level
new 67b8dcd SLING-439: Reduce files for i18n node types, remove unused reference nodetype, move sling:Folder to jcr.resource.
new dff1916 SLING-3 - add more useful info to the RequestProgressTracker log
new b665a2e SLING-439: Remove unused selector node types and implementations; correct poms.
new 97331ca SLING-449: Move sling/core to engine
new 3d45ebf SLING-449: Refactor core to engine.
new c206d96 SLING-449: Refactor core to engine.
new 5b0c9ad SLING-449: Refactor core to engine.
new 6a86f6e SLING-449: Refactor core to engine.
new 8789beb SLING-457 Fix resolution of resource super type for the TypeOverwritingResourceWrapper used by the SlingRequestDispatcher (see issues for details)
new bbe9ea7 #SLING-414: Move generation and managing of the sling id to own service in the engine.
new 146a1a6 SLING-414: Separate activator from service implementation.
new 1c41b03 SLING-457 Move actual code to resolve the resource super type of a resource to the JcrResourceUtil and simplify (aka streamline) resolution.
new a1123b2 SLING-442: Clean up exports, imports, dependencies and used plugins.
new cb24d3f SLING-479 Fix @scr.tags: - normalize metadata attribute settings to "no" - ensure proper metadata and ds attributes are set - create metatype.properties files where required - fix metatype.properties files
new 3680f6b SLING-468: Ignore provided encoding and always return the correctly encoded string.
new 387261f SLING-483: Add excludes for javadocs and fix javadocs (WiP)
new 5366255 SLING-502 Create manual Declarative Service descriptors for component factories to make them usable both in Felix SCR 1.0.0 and and later implementations as well as in Equinox DS. See issue for details.
new 9a0a3c4 SLING-495 - NOTICE files generated using mknotice script
new ecbc588 SLING-495 - NOTICE files updated according to changes in revision 662927
new 9852212 SLING-495 - NOTICE files regenerated with revision 663097 changes
new cc6dd6e Use released version of parent pom.
new 4b520a7 Add missing licence header
new 20d1422 Use released versions (or soon to be released versions).
new 8ed4cec [maven-release-plugin] prepare release org.apache.sling.engine-2.0.0-incubator
new 6ef3156 [maven-release-plugin] prepare for next development iteration
new 61e52ea Set version to next development version.
new abe3c9a Fix reference to parent pom.
new a930d55 SLING-520: Log message about disabled buffering only once.
new f2cad65 SLING-503: Enable the use of the SCR plugin for factory components again SLING-519: Update to SCR 1.0.1-SNAPSHOT
new c699ec1 Remove unused imports and fix some javadoc errors.
new e3292c9 SLING-521: Restore more notice files.
new df63539 SLING-523: Authentication handlers can be configured with paths.
new b533c47 Remove debug logging.
new 010dbab SLING-521: Separate between notice files for bin and src dists.
new 7cd499b SLING-521: Separate between notice files for bin and src dists.
new 668a76b SLING-521: Separate between notice files for bin and src dists.
new 988b297 Change copyright year to 2008.
new 2d69d25 SLING-508 Give parameter decoding another try by trying to get the servlet container into decoding the URL encoded request parameters as plain ISO-8859-1. Only after that encoding will we recode all parameters (also the container parameters) to the encoding defined by the _charset_ request parameter.
new c496a28 [maven-release-plugin] copy for tag org.apache.sling.engine-2.0.2-incubator
new 81d864d Move Sling to new TLP location
new 5801e0e Move Sling to new TLP location
The 216 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].