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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Filters
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      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

            jleyva Juan Leyva
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.