Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2637

DirectAdmin: Update API suspension arguments

    Details

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

      Description

      This issue is described @ https://www.blesta.com/forums/index.php?/topic/11085-directadmin-module-bug/&do=findComment&comment=58903

      The change is described in DirectAdmin: https://www.directadmin.com/features.php?id=807

      The API may sometimes respond with an HTML page rather than a valid JSON response for the actions of suspending or unsuspending an account. Per the DirectAdmin docs, above, they have changed the location value in the API request from CMD_SELECT_USERS to CMD_API_SELECT_USERS in order to handle it as an API request. We should update the DirectAdmin API to include that difference as well so DirectAdmin will respond with JSON.

        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 -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.3.0 Sprint 7 [ 57 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked lower
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.3.0-b1 [ 11019 ]
        Fix Version/s Short Term [ 10800 ]
        tyson Tyson Phillips (Inactive) made changes -
        Assignee Jonathan Reissmueller [ jonathan ] Abdy Franco [ abdy ]
        tyson Tyson Phillips (Inactive) made changes -
        Description This issue is described @ https://www.blesta.com/forums/index.php?/topic/11085-directadmin-module-bug/&do=findComment&comment=58903

        The change is described in DirectAdmin: https://www.directadmin.com/features.php?id=807

        The API may sometimes respond with an HTML page rather than a valid JSON response for the actions of suspending or unsuspending an account. Per the DirectAdmin docs, above, they have changed the _location_ value in the API request from _ CMD_SELECT_USERS_ to _CMD_API_SELECT_USERS_ in order to handle it as an API request. We should update the DirectAdmin API to include that difference as well so DirectAdmin will respond with JSON.
        This issue is described @ https://www.blesta.com/forums/index.php?/topic/11085-directadmin-module-bug/&do=findComment&comment=58903

        The change is described in DirectAdmin: https://www.directadmin.com/features.php?id=807

        The API may sometimes respond with an HTML page rather than a valid JSON response for the actions of suspending or unsuspending an account. Per the DirectAdmin docs, above, they have changed the _location_ value in the API request from _CMD_SELECT_USERS_ to _CMD_API_SELECT_USERS_ in order to handle it as an API request. We should update the DirectAdmin API to include that difference as well so DirectAdmin will respond with JSON.
        Automated transition triggered when Abdy Franco created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Abdy Franco created pull request #11 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 50 minutes [ 3000 ]
        Worklog Id 10986 [ 10986 ]
        jonathan Jonathan Reissmueller made changes -
        Time Spent 50 minutes [ 3000 ] 1 hour, 5 minutes [ 3900 ]
        Worklog Id 10988 [ 10988 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.3.0 Sprint 7 [ 57 ] 4.3.0 Sprint 7, 4.3.0 Sprint 8 [ 57, 58 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #11 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/18

              Time Tracking

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

                Agile