Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-15653

Add a tinyurl implementation to make sending URLs in emails etc simpler.

    Details

    • Type: Feature Request Feature Request
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0
    • Component/s: Portal
    • Labels:
      None
    • 2.8 Status:
      Closed
    • Previous Issue Keys:

      Description

      We need a TinyUrl like system whereby a tool can generate a link to something which might be horrendously long (ie those off the toolstate- kind where many parameters are needed to preserve state), call a method which creates a tinyurl link and returns it instead.

      This link could then be sent in emails easily. When clicked it would be translated back to it's original form and passed to the portal or similar.

      something like
      http://your.sakai.server/tiny/12345

        Activity

        Steve Swinsburg created issue -
        Hide
        Steve Swinsburg added a comment -
        I have this in contrib for now, ideally this could be reviewed and go into trunk.

        https://source.sakaiproject.org/contrib/lancaster.ac.uk/tinyurl-sakai
        Show
        Steve Swinsburg added a comment - I have this in contrib for now, ideally this could be reviewed and go into trunk. https://source.sakaiproject.org/contrib/lancaster.ac.uk/tinyurl-sakai
        Repository Revision Date User Message
        Sakai Contrib Repository #57969 Wed Feb 11 10:54:59 CST 2009 s.swinsburg@lancaster.ac.uk SAK-15653 Added TinyUrlService
        Files Changed
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/java/org/sakaiproject/tinyurl/tool/TinyUrlServlet.java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pack
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/webapp
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject/tinyurl/hbm
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/webapp/WEB-INF/web.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pack/src/webapp/WEB-INF/components.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src/java/org/sakaiproject/tinyurl/impl/TinyUrlServiceImpl.java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/java/org/sakaiproject
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src/java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src/java/org/sakaiproject/tinyurl/impl
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/java/org/sakaiproject/tinyurl/tool
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject/tinyurl/hbm/TinyUrl.hbm.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pack/src
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src/java/org/sakaiproject
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/pom.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/webapp/WEB-INF
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject/tinyurl
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pack/src/webapp
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/pom.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject/tinyurl/hbm/TinyUrl.java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src/java/org
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pack/pom.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject/tinyurl/api/TinyUrlService.java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org/sakaiproject/tinyurl/api
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/pom.xml
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/java/org
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/tool/src/java/org/sakaiproject/tinyurl
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/impl/src/java/org/sakaiproject/tinyurl
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/api/src/java/org
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pack/src/webapp/WEB-INF
        Repository Revision Date User Message
        Sakai Contrib Repository #57970 Wed Feb 11 10:59:28 CST 2009 s.swinsburg@lancaster.ac.uk SAK-15653 missed the base files, doh!
        Files Changed
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/.project
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/.svnignore
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/.classpath
        ADD /lancaster.ac.uk/tinyurl-sakai/trunk/pom.xml
        Steve Swinsburg made changes -
        Field Original Value New Value
        Description We need a TinyUrl like system whereby a tool can generate a link to something which might be horrendously long (ie those off the toolstate- kind where many parameters are needed to preserve state), call a method which creates a tinyurl link and returns it instead.

        This link could then be sent in emails easily. When clicked it would be translated back to it's original form and passed to the portal or similar.

        something like
        http://your.sakai.server/tiny/12345


        I believe this differs from the way EntityBroker works yes?
        We need a TinyUrl like system whereby a tool can generate a link to something which might be horrendously long (ie those off the toolstate- kind where many parameters are needed to preserve state), call a method which creates a tinyurl link and returns it instead.

        This link could then be sent in emails easily. When clicked it would be translated back to it's original form and passed to the portal or similar.

        something like
        http://your.sakai.server/tiny/12345
        Show
        Steve Swinsburg added a comment - Moved to https://source.sakaiproject.org/contrib/tinyurl
        Repository Revision Date User Message
        Sakai Contrib Repository #58034 Fri Feb 13 05:42:26 CST 2009 s.swinsburg@lancaster.ac.uk SAK-15653 move TinyUrlService into toplevel contrib location
        Files Changed
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject/tinyurl
        ADD /tinyurl/trunk/pack/src/webapp
        ADD /tinyurl/trunk/impl/src/java/org
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject/tinyurl/api/TinyUrlService.java
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject/tinyurl/hbm/TinyUrl.java
        ADD /tinyurl/trunk/tool/pom.xml
        ADD /tinyurl/trunk/pack/pom.xml
        ADD /tinyurl/trunk/api/src/java
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject/tinyurl/api
        ADD /tinyurl/trunk/tool/src/java/org
        ADD /tinyurl/trunk/api
        ADD /tinyurl/trunk/impl/pom.xml
        ADD /tinyurl/trunk/tool/src/java/org/sakaiproject/tinyurl
        ADD /tinyurl/trunk/impl/src/java/org/sakaiproject/tinyurl
        ADD /tinyurl/trunk/pack/src/webapp/WEB-INF
        ADD /tinyurl/trunk/tool/src/java/org/sakaiproject/tinyurl/tool/TinyUrlServlet.java
        ADD /tinyurl/trunk/api/src/java/org
        ADD /tinyurl/trunk/tool
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject
        ADD /tinyurl/trunk/pack
        ADD /tinyurl/trunk/api/src
        ADD /tinyurl/trunk/tool/src/webapp
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject/tinyurl/hbm
        ADD /tinyurl/trunk/impl
        ADD /tinyurl/trunk/tool/src/webapp/WEB-INF/web.xml
        ADD /tinyurl/trunk/pom.xml
        ADD /tinyurl/trunk/impl/src/java/org/sakaiproject/tinyurl/impl/TinyUrlServiceImpl.java
        ADD /tinyurl/trunk/pack/src/webapp/WEB-INF/components.xml
        ADD /tinyurl/trunk/impl/src/java
        ADD /tinyurl/trunk/impl/src/java/org/sakaiproject/tinyurl/impl
        ADD /tinyurl/trunk/tool/src/java/org/sakaiproject/tinyurl/tool
        ADD /tinyurl/trunk/tool/src/java/org/sakaiproject
        ADD /tinyurl/trunk/api/src/java/org/sakaiproject/tinyurl/hbm/TinyUrl.hbm.xml
        ADD /tinyurl/trunk/tool/src
        ADD /tinyurl/trunk/api/pom.xml
        ADD /tinyurl/trunk/pack/src
        ADD /tinyurl/trunk/tool/src/java
        ADD /tinyurl/trunk/impl/src/java/org/sakaiproject
        ADD /tinyurl/trunk/tool/src/webapp/WEB-INF
        ADD /tinyurl/trunk/impl/src
        Hide
        Antranig Basman added a comment -
        Please note that at CARET we have developed this tinyURLService https://source.sakaiproject.org/contrib/caret/tinyurl-service which we have been using in production for over a year.
        Show
        Antranig Basman added a comment - Please note that at CARET we have developed this tinyURLService https://source.sakaiproject.org/contrib/caret/tinyurl-service which we have been using in production for over a year.
        Hide
        Steve Swinsburg added a comment -
        I did notice the CARET one after I had developed this one, the functionality is essentially the same. Aaron Z, myself and several others are prepared to maintain this and I'm quite willing to develop it for K2.
        Show
        Steve Swinsburg added a comment - I did notice the CARET one after I had developed this one, the functionality is essentially the same. Aaron Z, myself and several others are prepared to maintain this and I'm quite willing to develop it for K2.
        Hide
        David Adams added a comment - - edited
        Any such tool or service should probably not use the name "TinyURL" as it's a US trademark: [deleted link]

        Edited 2009-10-05: The link I posted included some session information apparently. A followup search reveals that "TinyURL.com" is not *yet* a trademark, just that the application has been made.
        Show
        David Adams added a comment - - edited Any such tool or service should probably not use the name "TinyURL" as it's a US trademark: [deleted link] Edited 2009-10-05: The link I posted included some session information apparently. A followup search reveals that "TinyURL.com" is not *yet* a trademark, just that the application has been made.
        Hide
        Steve Swinsburg added a comment -
        We discussed that here, but not being a lawyer, do trademarks still apply even if that portion of the word is incorporated into a larger word to make it a different word? And spelt differently with different uppercase characters? (TinyUrlService is what it currently is)

        Happy to change it though. Open to suggestions.

        Seth also had some good ideas for names at the Boston conference :)
        Show
        Steve Swinsburg added a comment - We discussed that here, but not being a lawyer, do trademarks still apply even if that portion of the word is incorporated into a larger word to make it a different word? And spelt differently with different uppercase characters? (TinyUrlService is what it currently is) Happy to change it though. Open to suggestions. Seth also had some good ideas for names at the Boston conference :)
        Hide
        David Adams added a comment -
        Well, I can't speak to the legal technicalities, myself, but I think it's important to distinguish this tool from TinyURL.com. I've already encountered confusion on the issue among folks I work with.

        On the other hand, I'm sure there's no good name for this type of service that isn't already taken, whether it's trademarked or not. Confluence seems to call them "Tiny Link"s, but of course there is a tinylink.com which provides the same service. Also shorturl.com.
        Show
        David Adams added a comment - Well, I can't speak to the legal technicalities, myself, but I think it's important to distinguish this tool from TinyURL.com. I've already encountered confusion on the issue among folks I work with. On the other hand, I'm sure there's no good name for this type of service that isn't already taken, whether it's trademarked or not. Confluence seems to call them "Tiny Link"s, but of course there is a tinylink.com which provides the same service. Also shorturl.com.
        Hide
        Steve Swinsburg added a comment -
        This is now in and has multiple configurable implementations.

        For further updates, see
        http://confluence.sakaiproject.org/display/SHRTURL/Home

        or contact the Sakai2 Technical Coordination Committee.
        Show
        Steve Swinsburg added a comment - This is now in and has multiple configurable implementations. For further updates, see http://confluence.sakaiproject.org/display/SHRTURL/Home or contact the Sakai2 Technical Coordination Committee.
        Steve Swinsburg made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.9.0 [tentative] [ 11974 ]
        Fix Version/s 2.8.0-a02 [ 11977 ]
        Resolution Fixed [ 1 ]
        2.8.x Status Resolved
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-b01 [ 12134 ]
        Fix Version/s 2.8.0-a02 [ 11977 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-rc01 [ 12277 ]
        Fix Version/s 2.8.0-b01 [ 12134 ]
        Anthony Whyte made changes -
        Fix Version/s 2.9.0 [tentative] [ 11974 ]
        2.8.x Status Resolved Closed
        Affects Version/s 2.7.1 [ 11832 ]
        Aaron Zeckoski made changes -
        Workflow jira [ 50841 ] Sakai CLE workflow [ 89826 ]
        Aaron Zeckoski made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Steve Swinsburg
            Reporter:
            Steve Swinsburg
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development