1. 04 Mar, 2020 1 commit
    • Kyle Keating's avatar
      Refactor fetch-config.js and allow requestConfigFromFrame to be an object · 75b15ef3
      Kyle Keating authored
      - Rename fetchConfig to fetchConfigLegacy
      - Allow the requestConfigFromFrame variable from hypothesisConfig to be either a string containing the origin url (legacy),
      or an object containing the origin url + the ancestor level value of the parent frame. This is used to directly find the
      frame which to send RPC requests too so we don't have to guess and create erroneous console errors.
      - Rename fetchConfig to fetchConfigLegacy (now deprecated)
      - Add fetchConfigRpc to replace fetchConfigLegacy
      - Add fetchConfigEmbed for the simple hash fragment case
      - Refactor fetchConfig to decide how it will fetch the host config (one of 3-ways)
       1. simple case from url hash fragment
       2. legacy RPC call from (depreciated)
       3. RPC call directly to parent frame.
      75b15ef3
  2. 27 Feb, 2020 13 commits
  3. 26 Feb, 2020 10 commits
  4. 25 Feb, 2020 7 commits
    • Robert Knight's avatar
      Merge pull request #1828 from hypothesis/remove-autofill-event · 599e25e5
      Robert Knight authored
      Remove autofill-event dependency
      599e25e5
    • Robert Knight's avatar
      Stop loading icon font in sidebar app · edf9dbb0
      Robert Knight authored
      All uses of the icon font in the sidebar app have now been replaced by
      `SvgIcon`.
      edf9dbb0
    • Robert Knight's avatar
      Remove live-reload functionality from dev server · 0d0d683c
      Robert Knight authored
      The client's dev server had functionality where it could live-update the
      sidebar app when certain resources (eg. CSS bundles) were changed without
      requiring a restart of the app.
      
      None of the developers were using this functionality, and reloading the
      app is not especially painful, so remove it to simplify future maintenance.
      0d0d683c
    • Robert Knight's avatar
      Merge pull request #1831 from hypothesis/fix-manifest-update · 8aec28d6
      Robert Knight authored
      Fix manifest not rebuilding after source file changes
      8aec28d6
    • Robert Knight's avatar
      Fix manifest not rebuilding after source file changes · 05c0126b
      Robert Knight authored
      Fix an issue where `build/boot.js` and `build/manifest.json` were not
      rebuilt after script/style bundles were updated or other resources were
      updated in the `build/` directory.
      
      The `updateManifest` gulp task function was not returning a value so
      gulp silently treated the task as never completing. I thought this
      generated a warning at some point in the past, but it looks like that
      was not happening.
      
      This fixes an issue in development where `build/boot.js` would sometimes
      be generated before `build/scripts/boot.bundle.js` had been fully
      written and then not regenerated after that file was written. This
      resulted in an empty or incomplete `build/boot.js` file and as a result
      the dev client would fail to start.
      05c0126b
    • Robert Knight's avatar
      Remove autofill-event dependency · 75eae19c
      Robert Knight authored
      This is an Angular/jQuery-specific package which AFAICS is no longer
      useful for us. Everything component in the sidebar app that displays an input
      field of some kind is now built with Preact.
      75eae19c
    • Robert Knight's avatar
      Remove mkdirp in favor of fs.mkdirSync builtin · 10fdbd29
      Robert Knight authored
      Remove a dependency that is no longer needed with current versions of
      Node.
      10fdbd29
  5. 24 Feb, 2020 9 commits