Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: hwbot v4.6.12
    • Labels:
      None

      Description

      The permalink of an search query is too long to, for instance, send over MSN Messenger. We should optimize it so the url is a lot shorter.

      Example: http://hwbot.org/search/submissions/permalink?applicationId=2&scoreOperator=more_or_equal&score=&username=gamer&regionCode=&countryId=&teamId=&glPointsOperator=more_or_equal&glPoints=&hwPointsOperator=more_or_equal&hwPoints=&compPointsOperator=more_or_equal&compPoints=&totalPointsOperator=more_or_equal&totalPoints=&league=&globalRankOperator=less_or_equal&globalRank=&hardwareRankOperator=less_or_equal&hardwareRank=&cpu=&cpuId=&cpuSubFamily=&cpuSubFamilyId=&cpuFamily=&cpuFamilyId=&cpuBatch=&cpuBatchId=&cpuFreqOperator=less_or_equal&cpuFreq=&numberOfProcessors=&cpuCoolingId=&gpu=GeForce+GTX+285&gpuId=1444&gpuFamily=&gpuFamilyId=&gpuBatch=&gpuBatchId=&gpuCoreFreqOperator=more_or_equal&gpuCoreFreq=&gpuShaderFreqOperator=more_or_equal&gpuShaderFreq=&gpuMemFreqOperator=more_or_equal&gpuMemFreq=&numberOfVideocards=&gpuCoolingId=&mbModel=&mbModelId=&mbChipset=&mbChipsetId=&mbManufacturer=&mbManufacturerId=&mbChipsetBatch=&mbChipsetBatchId=&mbCoolingId=&memType=&memTypeId=&memProduct=&memProductId=&memManufacturer=&memManufacturerId=&memBatch=&memBatchId=&memFreqOperator=more_or_equal&memFreq=&memCoolingId=&psuWattOperator=more_or_equal&psuWatt=&psuProduct=&psuProductId=&psuManufacturer=&psuManufacturerId=&diskCapacityOperator=more_or_equal&diskCapacity=&diskProduct=&diskProductId=&diskManufacturer=&diskManufacturerId=&dateAfter=&dateBefore=&_bestHardware=on&orderBy=score&limit=20&_imageAttached=on&_videoAttached=on&_reported=on&state=&offset=0

        Activity

        Hide
        Pieter-Jan Plaisier added a comment -
        We can go for the easy-way-out and use the bit.ly service to provide short URLs ?

        https://bitly.com/
        Show
        Pieter-Jan Plaisier added a comment - We can go for the easy-way-out and use the bit.ly service to provide short URLs ? https://bitly.com/
        Hide
        Frederik Colardyn added a comment -
        Yes we can integrate bitly for this. Complexity 5 pts.
        Show
        Frederik Colardyn added a comment - Yes we can integrate bitly for this. Complexity 5 pts.
        Hide
        Dennis Devriendt added a comment - - edited
        This seemed like a good thing to add, well after more than a year, it's there!
        This is how it looks: http://i.imgur.com/Jpnz3.png

        CAVEAT: the url doesn't actually work for localhost because the port isn't included
        Show
        Dennis Devriendt added a comment - - edited This seemed like a good thing to add, well after more than a year, it's there! This is how it looks: http://i.imgur.com/Jpnz3.png CAVEAT: the url doesn't actually work for localhost because the port isn't included
        Hide
        Build Server added a comment -
        Integrated in HWBOT v4 #2532 (See [http://dev.hwbot.org/job/HWBOT%20v4/2532/])
            HWBOT-403

        Improve search permalink format

        unknown :
        Files :
        * /hwbot/trunk/src/main/webapp/WEB-INF/views/search/searchSubmissions.jsp
        * /hwbot/trunk/src/main/java/org/hwbot/util/BitlyConverter.java
        * /hwbot/trunk/src/main/resources/i18n/translations.properties
        * /hwbot/trunk/src/main/webapp/WEB-INF/views/search/searchMembers.jsp
        * /hwbot/trunk/src/test/java/org/hwbot/util/BitlyConverterTest.java
        * /hwbot/trunk/src/main/java/org/hwbot/web/actions/SearchController.java
        Show
        Build Server added a comment - Integrated in HWBOT v4 #2532 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2532/ ])      HWBOT-403 Improve search permalink format unknown : Files : * /hwbot/trunk/src/main/webapp/WEB-INF/views/search/searchSubmissions.jsp * /hwbot/trunk/src/main/java/org/hwbot/util/BitlyConverter.java * /hwbot/trunk/src/main/resources/i18n/translations.properties * /hwbot/trunk/src/main/webapp/WEB-INF/views/search/searchMembers.jsp * /hwbot/trunk/src/test/java/org/hwbot/util/BitlyConverterTest.java * /hwbot/trunk/src/main/java/org/hwbot/web/actions/SearchController.java
        Hide
        Pieter-Jan Plaisier added a comment -
        I created an HWBOT account a while back.

        User: hwbot
        Psw: rollercoaster

        We should make a custom domain for the short links: https://bitly.com/a/custom_domain_settings

        Suggestion: "http://hwb.oc/" (currently configured like that)

        Not sure if you can configure the DNS, Dennis.
        Show
        Pieter-Jan Plaisier added a comment - I created an HWBOT account a while back. User: hwbot Psw: rollercoaster We should make a custom domain for the short links: https://bitly.com/a/custom_domain_settings Suggestion: " http://hwb.oc/ " (currently configured like that) Not sure if you can configure the DNS, Dennis.
        Hide
        Dennis Devriendt added a comment -
        the new short url will be http://url.hwbot.org
        Show
        Dennis Devriendt added a comment - the new short url will be http://url.hwbot.org
        Hide
        Build Server added a comment -
        Integrated in HWBOT v4 #2561 (See [http://dev.hwbot.org/job/HWBOT%20v4/2561/])
            HWBOT-403

        Improve search permalink format

        dennis :
        Files :
        * /hwbot/trunk/src/main/java/org/hwbot/util/BitlyConverter.java
        Show
        Build Server added a comment - Integrated in HWBOT v4 #2561 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2561/ ])      HWBOT-403 Improve search permalink format dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/util/BitlyConverter.java

          People

          • Assignee:
            Dennis Devriendt
            Reporter:
            Pieter-Jan Plaisier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: