Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-963

Decide what to do with text filtered

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Filters
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Currently data returned by Web Services doesn't have the text filtered (aka, with filters applied), this can be solved passing an extra parameter to every WS request that is going to return text:
      moodlewssettingfilter = true

      In the current app we apply filters locally in the app (just the multilingual filter, not other filters).

      We have to evaluate if we should start to retrieve the text filtered or if we should filter the text once is in the app, this has some pros and cons:

      If we apply filters in the app:

      • We are limited to apply only the core filters
      • We have to replicate lot of code for complex filters
      • We are not going to be able to support filters that requires software to be installed in the server
      • We will have to implement web services for retrieve filter settings (like censored words)
      • We are not going to support contributed filters

      If we retrieve the text filtered:

      • Not all the text filtered is suitable to be displayed in the app
      • Maybe the text contains images that we are going to need to download

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            jleyva Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15