Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiles 3 0 x how to define security role in tiles config file? #13

Open
wants to merge 66 commits into
base: trunk
Choose a base branch
from

Commits on May 4, 2012

  1. Configuration menu
    Copy the full SHA
    8c1738d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    057b258 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b5d43b View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2012

  1. TILES-549 - Improve code quality (post 3.0 release)

    TILES-552: Update the poms and the documentation on the release process
    TILES-548: mvn release:perfom fails on Maven 3.0.4
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360370 13f79535-47bb-0310-9956-ffa450edef68
    nlebas committed Jul 11, 2012
    Configuration menu
    Copy the full SHA
    27d7683 View commit details
    Browse the repository at this point in the history
  2. update to autotag 1.1

    nlebas committed Jul 11, 2012
    Configuration menu
    Copy the full SHA
    d5f20ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a6180c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cba6cb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2d70b5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0261c4c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    af6818d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b172003 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    edc09b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2013

  1. backport r1427572

     `svn merge -c1427572 ^/tiles/framework/trunk`
     http://svn.apache.org/viewvc?view=revision&revision=1427572
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1427575 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Jan 1, 2013
    Configuration menu
    Copy the full SHA
    ca1adae View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2013

  1. Configuration menu
    Copy the full SHA
    0756682 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2013

  1. Configuration menu
    Copy the full SHA
    828ae53 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2013

  1. have the constant public.

     there is no way currently to evaluate the fallback in the attribute, only to render it.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1484307 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed May 19, 2013
    Configuration menu
    Copy the full SHA
    8b05318 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2767c1 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2013

  1. Configuration menu
    Copy the full SHA
    8347610 View commit details
    Browse the repository at this point in the history
  2. compile against Java6

    michaelsembwever committed May 27, 2013
    Configuration menu
    Copy the full SHA
    2a2e7d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2013

  1. upgrade to tiles-master-5.

    upgrade to svnpubsub system using maven-scm-publish-plugin.
    update the release and building pages for devs (svnpubsub, and referencing existing apache docs).
    Update release documentation: build requires Java7, and build requires maven-3.0.5+
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1536457 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Oct 28, 2013
    Configuration menu
    Copy the full SHA
    9ca0d6e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2013

  1. Configuration menu
    Copy the full SHA
    b98027f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    816f794 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abc80cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d02515d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2013

  1. Configuration menu
    Copy the full SHA
    276a725 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9477bdc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5192836 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2013

  1. Configuration menu
    Copy the full SHA
    d391ba1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b347a93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b19a0eb View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2013

  1. Configuration menu
    Copy the full SHA
    fea6efc View commit details
    Browse the repository at this point in the history
  2. redo r1541483

     fixing links in site.xml ( http://jira.codehaus.org/browse/MSITE-159 )
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1541580 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Nov 13, 2013
    Configuration menu
    Copy the full SHA
    20c7ff4 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2013

  1. Configuration menu
    Copy the full SHA
    ac67bbf View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2013

  1. Configuration menu
    Copy the full SHA
    c328921 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2014

  1. Use blank strings instead of nulls as placeholder values when replaci…

    …ng placeholders.
    
     Reference from mailing list:
      http://thread.gmane.org/gmane.comp.apache.tiles.user/685
         
    >  <definition name="layout" template="/WEB-INF/layout/web.jsp"/>
    >   <definition name="layout.mob" template="/WEB-INF/layout/mob.jsp"/>
    >   <definition name="layout.tab" template="/WEB-INF/layout/tab.jsp"/>
    >   <definition name="REGEXP:home(\.(mob|tab))?" extends="layout{1}">
    >     <put-attribute name="heading" value="Home" />
    >     <put-list-attribute name="body">
    >       <add-attribute value="/WEB-INF/views/home.jsp" />
    >     </put-list-attribute>
    >   </definition>
    >
    > The above rules match a pattern employed with spring-mobile where
    >  views can be resolved based on (mob)ile/(tab)let/normal , as normal is
    >  a fallback it does not contain a suffix.
    > 
    > I can understand why this fails as the capture {1} does not exist in
    >  the found pattern, instead I'd like it to recognise this and evaluate
    >  to an empty string.
    > 
    > Full stack-trace is as follows: 
    > java.lang.NullPointerException
    >        at org.apache.tiles.BasicAttributeContext.inherit(BasicAttributeContext.java:212)
    >        at org.apache.tiles.definition.dao.ResolvingLocaleUrlDefinitionDAO.getDefinitionFromResolver(ResolvingLocaleUrlDefinitionDAO.java:84)
    >        …
          
    
    The code ends up looking for "layoutnull" instead of "layout".
    
    This comes from in RegexpDefinitionPatternMatcher.createDefinition(..) the call to matcher.group(i) returning null.
    
    Rather than fix it there though i'd rather put the fix in lower down in PatternUtil.replacePlaceholders(..) so that any nulls in the vars parameter are always replaced with blanks.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1571643 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Feb 25, 2014
    Configuration menu
    Copy the full SHA
    f07e17d View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2014

  1. TILES-571 – Please make the significance of underscore (_) in tiles d…

    …efinition filename more obvious
    
    SPR-11491 – Doc: Tiles 3 and underscores in definition names
    
    <quote> 
    … it looks like there is an issue with PostfixedApplicationResource.
     
    This issue comes from SpringWildcardServletTilesApplicationContext#getResources(String) -> URLApplicationResource(String, URL) constructor -> super PostfixedApplicationResource(String localePath) constructor. When there is an
    underscore, the string after the last underscore is identified as the locale. But clearly it's not a locale and one should be able to load /WEB-INF/base_tiles.xml.
    </quote>
    
    Along with improving the documentation the following code changes have been made
    • if the resource name contains "_" and after it there is no supported locale language code then the whole resource name is treated as a non-localized path.
            This situation prints a warning like 
          		> No supported matching language for locale "zz". Using /my/path_zz.html as a non-localized resource path.
    • if the resource name contains "_" and after it there is a supported locale language code but the locale constructed isn't valid/supported then the closest supported locale is used.
This situation prints a warning like
        > 
    For resource /my/path_en_ZZ.html the closest supported matching locale to "en_ZZ" is "en". Using /my/path.html as resource path. 
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1583141 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Mar 30, 2014
    Configuration menu
    Copy the full SHA
    32fa836 View commit details
    Browse the repository at this point in the history
  2. clean up slf4j dependencies

     - tiles should declare slf4j-api as depedency to be included transitively since its code references it,
     - tiles should not declare at all any slf4j implementation dependency in compile or runtime scope,
     - include in all test scopes sl4j-simple
     - bump to slf4j 1.7.6
    
    reference: http://www.slf4j.org/faq.html#maven2
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1583199 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Mar 30, 2014
    Configuration menu
    Copy the full SHA
    fff6c31 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2014

  1. tiles-request-1.0.4

    michaelsembwever committed May 3, 2014
    Configuration menu
    Copy the full SHA
    ca209f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6e4c7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d10fa23 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2014

  1. further fixes on

         TILES-574 – Tiles expressions do not work after wildcard
    
    PatternUtil.INVALID_FORMAT_ELEMENT, the pattern to match "{.*}" occurrances that are not meant to be replaced, was in some cases was matching two much.
     see test PatternUtilTest.testReplacePlaceholdersEL_options
    This resulted in "PatternSyntaxException: named capturing group is missing trailing }"
    
    3 tests have been added to cover such various side-cases.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1594481 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed May 14, 2014
    Configuration menu
    Copy the full SHA
    a8f6948 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2014

  1. Configuration menu
    Copy the full SHA
    b2d71c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2014

  1. Configuration menu
    Copy the full SHA
    c7b5518 View commit details
    Browse the repository at this point in the history
  2. fix jenkins

    nlebas committed Sep 16, 2014
    Configuration menu
    Copy the full SHA
    c77693c View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2014

  1. bump to tiles-request 1.0.6

    nlebas committed Sep 22, 2014
    Configuration menu
    Copy the full SHA
    f2c0d16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d067ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abf103f View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2015

  1. TILES-583 changed the broken link

    Just changed the link in the web framework integrations page to point to the version of spring-mvc that has the sample code in it's repository.
    
    Contribution from Clare Donnelly
     ref: #3
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1666175 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    ef97bd6 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2015

  1. Configuration menu
    Copy the full SHA
    cc11955 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2015

  1. Documentation spelling errors fixed – #6

    contributed by Tim Gifford ( https://github.com/timgifford )
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1706314 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Oct 1, 2015
    Configuration menu
    Copy the full SHA
    d58f149 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2016

  1. TILES-585 – Definition cascade attributes duplicated values under hig…

    …h load
    
    Fix by Jakub Dziworski - [email protected]
    This closes #9
    ref: 78d9001
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1752405 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Jul 13, 2016
    Configuration menu
    Copy the full SHA
    f43c78c View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2016

  1. Configuration menu
    Copy the full SHA
    bdf91ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c294ecf View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2016

  1. use Tiles AutoTag-1.2

    michaelsembwever committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    58043d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b9b8e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40d2b49 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2017

  1. Configuration menu
    Copy the full SHA
    32e4808 View commit details
    Browse the repository at this point in the history
  2. use tiles-request-1.0.7

    michaelsembwever committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    6a87fe0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74fd7b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3adc6a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e5b123 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2017

  1. Configuration menu
    Copy the full SHA
    f1b0bf7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    692a436 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Backport r1840285

    svn merge -c1840285 ^/tiles/framework/trunk
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1840286 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    c7657a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39d461d View commit details
    Browse the repository at this point in the history
  3. Fix stuck thread on hashmap

    https://issues.apache.org/jira/browse/TILES-599
    Patch by shakeelabbas1
    This closes #16
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1840290 13f79535-47bb-0310-9956-ffa450edef68
    michaelsembwever committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    5c5dc27 View commit details
    Browse the repository at this point in the history