Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      The Blesta admin and client JavaScript files denote the version in the filename (e.g. "blesta-4.3.0.min.js"). Besides being a pain to update and link with each version, it's unnecessary to for preventing cache re-use, and creates additional script files (one for each version) in people's installations whenever they upgrade.

      1. Rename the blesta JS files to "app.min.js"
      2. Wherever the file is linked to (in the <head>), include a GET argument, e.g. "?v=abc123" where the value is the hashed Blesta version using the integrated HMAC hashing function
        • This will allow us to continue to use a single file, and prevent cache re-use when people update their system. Plus, it's automatic and we don't have to change file names or re-link these files ever again!

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.4.0 Sprint 2 [ 59 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        tyson Tyson Phillips (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 minute [ 60 ]
        Worklog Id 11436 [ 11436 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.4.0-b1 [ 11105 ]
        tyson Tyson Phillips (Inactive) made changes -
        Description The Blesta admin and client JavaScript files denote the version in the filename (e.g. "blesta-4.3.0.min.js"). Besides being a pain to update and link with each version, it's unnecessary to for preventing cache re-use, and creates additional script files (one for each version) in people's installations whenever they upgrade.

        # Rename the blesta JS files to "blesta.min.js"
        # Wherever the file is linked to (in the <head>), include a GET argument, e.g. "?v=abc123" where the value is the hashed Blesta version using the integrated HMAC hashing function
        #* This will allow us to continue to use a single file, and prevent cache re-use when people update their system. Plus, it's automatic and we don't have to change file names or re-link these files ever again! (y)
        The Blesta admin and client JavaScript files denote the version in the filename (e.g. "blesta-4.3.0.min.js"). Besides being a pain to update and link with each version, it's unnecessary to for preventing cache re-use, and creates additional script files (one for each version) in people's installations whenever they upgrade.

        # Rename the blesta JS files to "app.min.js"
        # Wherever the file is linked to (in the <head>), include a GET argument, e.g. "?v=abc123" where the value is the hashed Blesta version using the integrated HMAC hashing function
        #* This will allow us to continue to use a single file, and prevent cache re-use when people update their system. Plus, it's automatic and we don't have to change file names or re-link these files ever again! (y)
        Automated transition triggered when Tyson Phillips (Inactive) created pull request #517 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 1 minute [ 60 ] 1 hour [ 3600 ]
        Worklog Id 11441 [ 11441 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #517 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              22/Oct/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h

                Agile