1. 23 Sep, 2019 1 commit
  2. 29 Apr, 2019 1 commit
  3. 22 Apr, 2019 1 commit
    • Robert Lyon's avatar
      Bug 1825894: Ignore extra parameters in webservices · 515cfba6
      Robert Lyon authored
      We had a patch for ignoring parameters prefixed with 'custom_' in
      bug 1697909 - but there were still problems from users when trying to
      install LTI connections.
      
      So we will now ignore any unknown parameter and let the user know by
      recording this in the Mahara error log - we however will not be
      returning the info about the extra parameters back to the system that
      made the webservice call
      
      behatnotneeded
      
      Change-Id: I0cf5d966833a48e7db13d48b9e0be87285934002
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      515cfba6
  4. 27 Dec, 2018 1 commit
  5. 08 Nov, 2018 1 commit
  6. 27 Sep, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1773893: Remove Zend - replace webservices with PHP versions · a709d25a
      Rebecca Blundell authored
      So far:
      1) Remove Zend library
      2) Getting xmlrpc to work with testclient using token
      3) Getting xmlrpc to work with testclient using user auth
      2) Getting soap to work with testclient using token
      3) Getting soap to work with testclient using user auth
      
      behatnotneeded
      
      Change-Id: I0fb9452a5ff21c270abf84f4793ca7b899a63d77
      a709d25a
  7. 27 Sep, 2017 1 commit
  8. 26 Sep, 2017 1 commit
  9. 08 Sep, 2017 1 commit
  10. 03 Aug, 2017 1 commit
  11. 16 Jul, 2017 1 commit
  12. 26 Mar, 2017 1 commit
  13. 19 Mar, 2017 1 commit
    • Matt Clarkson's avatar
      Bug 1668472: Add LTI SSO · e658da7a
      Matt Clarkson authored
      * Extends the existing webservice auth to support SSO via LTI
      * Adds an LTI module to support SSO and future LTI features
      * Adds per-oauth token config to enable/disable on-the-fly user creation
      
      behatnotneeded
      
      Change-Id: Id6488930f37bdfd8200b4e9261f5292f2b72fbc7
      e658da7a
  14. 26 Jan, 2017 1 commit
  15. 25 Jan, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1633808: Webservices logs form display institution field · 4376ab2b
      Robert Lyon authored
      Was not quite working before.
      
      Things also fixed (or partially fixed)
      1) The webservice logs page searching for function name to filter by
      - before the ajax was wanting to paginate by 5 and select2 expected 10
      results so the more search results was not working
      
      2) The error returned on the testclient page when there was an error
      with a field didn't display which field it was.
      
      3) Display on testclient page a file upload filed if type is PARAM_FILE
      - The actual testing of file upload is not working yet but it wasn't
      working before either but this is a step in the right direction
      
      4) The wsdocs page was displaying 'REQUIRED' for the VALUE_DEFAULT
      fields rather than the VALUE_REQUIRED fields.
      
      behatnotneeded
      
      Change-Id: Ia00beeb6d48fa3019984f2e0f7605fbb097edffd
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      4376ab2b
  16. 11 Oct, 2016 3 commits
  17. 07 Oct, 2016 4 commits
    • Aaron Wells's avatar
      Bug 1620879: Improved webservice param validation · 72498ad7
      Aaron Wells authored
      - Respect the "optional" and "default" flags for
      object and array params (not just scalar params)
      
      - Allow REST server to handle file upload params ($_FILES)
      
      behatnotneeded: Tests to come later
      
      Change-Id: I3a6a6ccf7c9de1711e2fd39aa5f130c245823721
      72498ad7
    • Aaron Wells's avatar
      Bug 1620879: Add fields to external_tokens to record client app · 219e7553
      Aaron Wells authored
      These fields can be used to indicate which client app
      registered and/or is using the token
      
      behatnotneeded: Can't be tested in Behat
      
      Change-Id: I939c844cc5474fc799ddfd002a1052bb4ca67d1b
      219e7553
    • Aaron Wells's avatar
      Bug 1620879: Combine duplicate "get_allowed_services" method · ef871685
      Aaron Wells authored
      Two of the server classes had their own implementations of this,
      with slightly different logic. Moving it up into the parent class
      in order to make sure everything works the same, all the time.
      
      behatnotneeded: Can't test in Behat
      
      Change-Id: I91c205822a18213c475bbef7c784247cebdbd649
      ef871685
    • Aaron Wells's avatar
      Bug 1620879: Remove extraneous "/webservice" from end of plugin components · 98ca273e
      Aaron Wells authored
      Currently, a plugin has to list its component as e.g.
      "module/mobileapi/webservice". This could just be "module/mobileapi".
      
      Since we're using the component string as part of the automated token
      request system, it's better to change this now to something more sensible.
      
      behatnotneeded: Tests to come later
      
      Change-Id: Ia7663065b79598d92c3bf8450c5539efb6aa3e2d
      98ca273e
  18. 05 Oct, 2016 2 commits
    • Aaron Wells's avatar
      Bug 1620879: Add "apiversion" field to external_services · 0633673a
      Aaron Wells authored
      To help clients determine which version of a webservice
      they might be connecting to.
      
      behatnotneeded: Tests to come later
      
      Change-Id: I90abd0d9470cba4ae42ee3a22a6c0629d325f8d2
      0633673a
    • Aaron Wells's avatar
      Bug 1620879: Changes to service groups to facilitate automation · d159aaf4
      Aaron Wells authored
      - Adding "shortname" field to service groups
      - Marking plugin-created service groups, as the ones that have
      a "component" field. Make the function list for plugin-created
      service groups not editable by users.
      - Since users may have already edited the old "sample" service
      groups, removing the "component" value from those.
      - And, to avoid trouble going forward, preventing the install
      of the sample service groups on new installations
      
      behatnotneeded: Tests to be written later
      
      Change-Id: I23c781d6f2bbf689c12de30a67882bf3f1f4aff9
      d159aaf4
  19. 26 Sep, 2016 1 commit
  20. 30 Aug, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1600099: Cleanup of the webservice admin page · ce1a97ac
      Aaron Wells authored
      This patch does a few things:
      
      1. Renames "webservice_enabled" config to "webservice_provider_enabled",
      to indicate that this config only controls Mahara's actions as
      a webservice provider, *not* a webservice client.
      
      2. Renames all the "webservice_<protocol>_enabled" configs to
      "webservice_provider_<protocol>_enabled" to indicate that they only
      control whether Mahara will provide webservices via that protocol,
      and not whether Mahara will use that protocol as a client.
      
      3. Renames "webservice_connections_enabled" config to
      "webservice_requester_enabled", to clarify that this config
      controls whether Mahara is allowed to request webservices
      from external sources.
      
      4. Updates language strings to make these changes clearer.
      
      5. Rearranges and renames the form methods in
      webservice/admin/index.php to make the flow of control more
      obvious. Now the main form method is first, followed in order
      by the methods that generate its subforms and each of their
      submit handlers.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I58dadb352d1f1542ca67a104ebfd702b4ca90fc9
      ce1a97ac
  21. 12 Jul, 2016 1 commit
  22. 08 Jul, 2016 4 commits
  23. 19 Feb, 2015 2 commits
  24. 22 Dec, 2014 1 commit
  25. 11 Dec, 2014 1 commit
  26. 27 Nov, 2014 1 commit
  27. 17 Nov, 2014 1 commit