1 5 6 7 8 9 10 Previous Next 137 Replies Latest reply on Mar 25, 2013 7:31 AM by Ryan Rutan Go to original post
      • 90. Re: Jive 6 Local Development Environment Issues

        While performing a minor version upgrade of a theme is mainly a mechanical process, involving doing 3-way merges between your old version, your customization, and the new version, major upgrades (5 to 6) are a different story.

         

        When a Jive customer engages Jive Professional Services for an upgrade from 4.5 to 5, or 5 to 6, the theme presents a unique challenge, mainly because of the myriad changes in the Jive UI, which usually causes us to rethink the theme entirely.  This ensures that your custom look and feel takes advantage of the newer elements and styles that are available as part of the new version.

         

        If your theme contains functionality (which I would discourage you from doing), it may be possible to upgrade around the functionality in the same way you might do for a minor upgrade if the template you originally modified still exists.

         

        Hope this helps!

        • 91. Re: Re: Jive 6 Local Development Environment Issues
          dishantgniit

          Hello Ryan,

           

          Thanks for your support.

          We have one custom theme built for Jive version 5.0.5.0 and we want to move it into Jive version 6.0.1.0.

          Could you please let me know which FTL we should use instead of “template/decorator/default/page-header.ftl “?

          If we can’t use this FTL in jive6,  so can we use “soy/nav/header.soy” as a substitute of this?

           

          Best Regards

          Dishant

          • 92. Re: Re: Jive 6 Local Development Environment Issues

            There isn't really a 1-to-1 file mapping between 5.0 and 6.0 UI resources.  It looks like the page-header.ftl didn't offer much in the way of screen elements, except for a default Jive logo or community name in the header.  What is it you're trying to accomplish with your theme customization for this file?

            • 93. Re: Re: Jive 6 Local Development Environment Issues
              pawans

              Hi,

              As I am moving forward with upgrading my custom plugins for jive 6.0.1.0, I am getting new issues.

              Right now I am trying to upgrade our custom CAS plugin which basically take a users to our cas page for login before accessing the site.

              I see a bean here which has many dependencies.  Some are form spring and some from jive.

              most beans like legacyOpenClientRequireSSLFilter,  session trackingfilter, etc...etc... are missing. I remember all these were present in my jive 5.0.5 instance.

              One particular bean I fixed by defining it in my plugin's spring.xml as follows -

              <bean id="httpSessionContextIntegrationFilter" class="org.springframework.security.web.context.HttpSessionContextIntegrationFilter"/>

               

              Can you help me with how can I proceed towards fixing my CAS plugin?

               

              Here is the bean I am referring to which has all these dependencies

               

                  <bean id="springSecurityFilterChain" class="org.springframework.security.web.FilterChainProxy">

               

                    <security:filter-chain-map path-type="ant">

                        <security:filter-chain pattern="/upgrade/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, upgradeAuthenticationFilter, upgradeExceptionTranslationFilter,jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/post-upgrade/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, postUpgradeAuthenticationFilter, postUpgradeExceptionTranslationFilter,jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/verify/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, verifierAuthenticationFilter, VerifierExceptionTranslationFilter,jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/admin/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, ssoFilterChain, sessionTrackingFilter, adminAuthenticationFilter, adminExceptionTranslationFilter,jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/dwr/call/plaincall/passwordstrength**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/dwr/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, jiveAuthenticationTranslationFilter, denyGuestAccessFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/rpc/bridging/**" filters="blockServices"/>

                        <security:filter-chain pattern="/rpc/mobile/**" filters="blockServices"/>

                        <security:filter-chain pattern="/rpc/api/**" filters="blockServices"/>

                        <security:filter-chain pattern="/rpc/openclient/**" filters="blockServices"/>

                        <security:filter-chain pattern="/rpc/connects/**" filters="blockServices"/>

                        <security:filter-chain pattern="/rpc/xmlrpc"

                                               filters="pluginPreFilterChain, wsRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, wsExceptionTranslator, jiveAuthenticationTranslationFilter, wsAccessTypeCheckFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/rpc/rest/**"

                                               filters="pluginPreFilterChain, wsRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, wsExceptionTranslator, jiveAuthenticationTranslationFilter, wsAccessTypeCheckFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/rpc/soap/**"

                                               filters="pluginPreFilterChain, wsRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/__services/xmlrpc" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/rest/**" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/soap/**" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/api/**" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/openclient/**" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/connects/**" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/v1/office/systeminfo" filters="pluginPreFilterChain, httpSessionContextIntegrationFilter,pluginPostFilterChain"/>

                        <security:filter-chain pattern="/__services/office/**"

                                               filters="pluginPreFilterChain, wsRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/__services/bridging/**"

                                               filters="pluginPreFilterChain, bridgeRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, restExceptionTranslator, jiveAuthenticationTranslationFilter, wsBridgingAccessCheckFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/__services/mobile/**" filters="blockServices"/>

                        <security:filter-chain pattern="/__services/v2/rest/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, rememberMeProcessingFilter, jiveAuthenticationTranslationFilter, restExceptionTranslator, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/__services/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, wsExceptionTranslator, jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/openclient/**"

                                               filters="pluginPreFilterChain, legacyOpenClientRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, restExceptionTranslator, jiveAuthenticationTranslationFilter, legacyOpenClientAccessTypeCheckFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/binary/v1/data/**"

                                               filters="pluginPreFilterChain, pluginPostSessionContextFilterChain, binaryAPIAuthenticationFilter, jiveAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/binary/v1/token/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, rememberMeProcessingFilter, apiExceptionTranslator, jiveAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/binary/v1/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, rememberMeProcessingFilter, apiExceptionTranslator, jiveAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/binary/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, rememberMeProcessingFilter, apiExceptionTranslator, jiveAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/dev/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, apiExceptionTranslator, jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/connects/**"

                                               filters="pluginPreFilterChain, connectsRequireSSLFilter, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, connectsBasicAuthenticationFilter, restExceptionTranslator, jiveAuthenticationTranslationFilter, connectsAccessTypeCheckFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/api/core/**" filters="noOpFilterChain"/>

                        <security:filter-chain pattern="/api/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, basicAuthenticationFilter, wsExceptionTranslator, jiveAuthenticationTranslationFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/social/**"

                                               filters="pluginPreFilterChain, shindigAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/gadgets/ifr"

                                               filters="pluginPreFilterChain, shindigAuthenticationTranslationFilter, shindigGadgetRenderingFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/gadgets/makeRequest"

                                               filters="pluginPreFilterChain, shindigAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/gadgets/api/rpc/**"

                                               filters="pluginPreFilterChain, shindigAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/gadgets/api/rest/**"

                                               filters="pluginPreFilterChain, shindigAuthenticationTranslationFilter, requestResponseAuditServletFilter, pluginPostFilterChain"/>

                        <security:filter-chain pattern="/**"

                                               filters="pluginPreFilterChain, httpSessionContextIntegrationFilter, pluginPostSessionContextFilterChain, CASAuthenticationFilter,CASTicketValidationFilter, CASRequestWrapperFilter, federatedIdentityAuthFilter, jiveAuthenticationTranslationFilter, UrlFilter, termsAndConditionsAcceptanceFilter, pluginPostFilterChain"/>

                    </security:filter-chain-map>

                </bean>

              • 94. Re: Re: Jive 6 Local Development Environment Issues

                I would start by copying the springSecurityFilterChain Spring bean definition from the 6.0 codebase and start there, adding in the customizations you added in the previous version.  Does that make sense?

                • 95. Re: Re: Jive 6 Local Development Environment Issues
                  pawans

                  Hey Ryan,

                  One question about jive docs.

                  For jive 5 there use to be a nice documentation.

                  Here's the link for that -? http://docs.jivesoftware.com/jive_sbs/5.0/index.jsp

                   

                  On the same portal there is a doc for jive 6. But it actually does not have details like soy changes, architecture, etc... which jive 5 doc had?

                  Any idea where I can get the correct docs for jive 6?

                  • 96. Re: Re: Jive 6 Local Development Environment Issues
                    pawans

                    basically I am expecting full release notes for jive 6 which not only has what this link shows -> https://community.jivesoftware.com/docs/DOC-67245

                     

                    But also some better documentation for templates, security features, etc.

                    • 97. Re: Re: Jive 6 Local Development Environment Issues
                      pawans

                      Hi Ryan,

                      Found this link -> http://docs.jivesoftware.com/jive/6.0/community_admin/index.jsp

                       

                      somehow the developers section on this was not visible when I navigated to this page from docs.jivesoftware.com home page.

                      But this same link worked from google search links.

                      I hope this has all the details I need.

                       

                      thanks

                      • 98. Re: Re: Re: Jive 6 Local Development Environment Issues
                        dishantgniit

                        Hello Rayn,


                        we want to show the logos in left, an image(displaying the name of community) in middle and an avatar(small image) in right above navigation tabs (j-globalNav-bg, ), (home, activity, inbox, actions, apps,browse, create, search) . DIV classes we edited in page-header.ftl file in Jive version 5 are

                        1. <div class="jive-headRow">

                        2. <div class="jive-headLogo">

                        3. <div class="jive-headLogo-center">


                        Could you please suggest which soy or FTL file we should use for this specific process?


                        Best Regards

                        Dishant

                        • 99. Re: Re: Re: Jive 6 Local Development Environment Issues

                          Dishant, check out logo.soy and header.soy.  That will likely be where you want to make your change.

                          • 100. Re: Re: Jive 6 Local Development Environment Issues

                            Pawan, check out Jive 6.0 Community Administrator Documentation, under the Jive Help section.  I think that's what you're looking for.

                            • 101. Re: Jive 6 Local Development Environment Issues
                              mcollinge

                              This is obviously *the* best place to ask Jive 6 development questions :-) I'm wanting to customise a single template within a Soy file and am wondering whether it's possible to override it in my theme.

                               

                              Source file & template: searchResult.soy .. {template .openSearchResult}

                               

                              That file (searchResult.soy) contains a bunch of other templates that I don't want to touch.. it'd also make it easier for me to do an upgrade if I could create a new Soy file, say e14-searchResult.soy, and specify the same namespace and just a single altered template in there. I've tried that just now & it doesn't work.. and the Soy documentation doesn't cover this kind of thing (Guide to using Google Closure Templates in Jive 5.0 / 6.0).

                               

                              Anyone have any ideas?

                               

                              Thanks in advance!

                              • 102. Re: Re: Jive 6 Local Development Environment Issues
                                pawans

                                Hi Ryan,

                                Finally I managed to fix our CAs plugin (partly).

                                I got the new beans definations from srping-securityContext.xml in Jive 6.

                                Now when I upload the plugin, i don't get any error.

                                when I access my site, I get the CAS login page.

                                But...

                                After login the site does not get redirected to jive site.

                                I just see a CAS login success page.

                                All the security filters I am using in my spring.xml are in a correct sequence.

                                But somehow the control does not go to jive site.

                                This same thing use to work on Jive 5.0.5.

                                any help on this?

                                If we are able to fix this, this will be our first plugin to work on Jive 6 .

                                • 103. Re: Re: Jive 6 Local Development Environment Issues

                                  Glad to see you're getting closer on this, Pawan.  However, it looks like this issue has become something that is outside the scope of this discussion.  I would suggest creating something new and asking the community at-large, as it will have much higher visibility as a standalone discussion, and is much liklier to get some help resolving it.

                                   

                                  Unfortunately, it's difficult for me, within the context of this discussion, to help debug your SSO, as the issue could be pretty much anything, including a problem with your IDP.  If the problem persists, you may want to formally engage with Jive Professional Services to help get you going.

                                  • 104. Re: Jive 6 Local Development Environment Issues
                                    pawans

                                    Hi,

                                    Can you then tell me how can I debug the custom plugins in IntelliJ? This

                                    will help me fix our old custom plugins.

                                     

                                    -

                                    Pawan Shah

                                    Sent from my iPhone.

                                     

                                     

                                    On 22-Feb-2013, at 9:00 PM, Ryan King <communities-no-reply@jivesoftware.com>

                                    1 5 6 7 8 9 10 Previous Next