1. Aug 06, 2018
  2. Aug 04, 2018
  3. Aug 02, 2018
    • Axel Chalon's avatar
      Use persistent storage (#177) · b263b049
      Axel Chalon authored
      * Use persistent storage for webviews
      
      * Update .gitlab-ci.yml
      
      enable gitsync
      
      * Retrieve dapp token internally
      
      * Remove shell_requestNewToken RPC method. The token must be retrieved internally (by importing DappsRequestsStore in Parity UI), this way we can be sure that the appId is coming from a trusted source. The token, along with the appId, are now passed as query string parameters to the dapp (and to subsequent pages during in-dapp navigation)
      * Use new version of @parity/api stripped of shell_requestNewToken methods that are now unused
      * Use synchronous blocking methods in preload.js to maximize chances of web3/parity/ethereum objects being available directly to the dapp, before its own js executes.
      b263b049
  4. Jul 17, 2018
  5. Jul 12, 2018
  6. Jul 11, 2018
  7. Jul 10, 2018
  8. Jul 09, 2018
    • Axel Chalon's avatar
      Download network dapps and load them from filesystem (#144) · c5f32077
      Axel Chalon authored
      * Download network (registry) dapps and load them from filesystem
      
      * Remove obsolete Rust files
      
      * package-lock.json
      
      * Linting
      
      * Fix tests
      
      * Lint
      
      * Fix .includes() is not a function (:88)
      
      * Remove rust files from CI build
      
      * Update @parity/ui dependency
      
      * Grumbles
      
      * Restrict in-frame navigation for dapps (#146)
      
      * Restrict in-frame navigation for dapps
      
      * Lint
      
      * Grumbles
      
      * fs-extra pathExists doesn't throw if the path doesn't exist
      
      * Fix bug uglifyjs
      c5f32077
  9. Jul 03, 2018
  10. Jun 14, 2018
    • Axel Chalon's avatar
      Parse and load local dapps directly from filesystem (#141) · 5ad324f3
      Axel Chalon authored
      * Set electron name to 'Parity-UI'
      
      Electron stores the user data by default in `~/.config/<app name>`
      
      The app name is retrieved from the package.json when Electron is
      run on a folder (e.g. `electron .`); default app name 'Electron'
      is used if Electron is run directly on a script, as is the case.
      
      Electron can be run either on .build/ or on .electron/ (dev),
      so it's not practical to use package.json to set the app name
      (.electron/ has no package.json); hence it's better in our case
      to define it in the code.
      
      * Parse & load local dapps directly from filesystem (userData folder)
      
      * Fix dapp icon URL
      
      * Remove synchronous file operations
      
      * Reorganise util/host.js
      
      * Fix tests
      
      * Use package.json to get Electron app name
      
      * Remove unused arguments
      5ad324f3
  11. Jun 11, 2018
  12. Jun 08, 2018
    • Amaury Martiny's avatar
      Implement Electron security guidelines (#129) · 31d6e86b
      Amaury Martiny authored
      * Remove nodeintegration
      
      * Remove parity-utils proxy
      
      * Add CSP to renderer
      
      * Add handling chromium permissiosn
      
      * Remove unsafe-eval csp
      
      * Add context isolation for preload
      
      * Fix small bug
      
      * Verify contextIsolation
      
      * Remove comments
      
      * Add some comments
      
      * Add comment
      
      * Fix bugs
      
      * Re-allow eval() for builtins
      31d6e86b
  13. May 25, 2018
  14. May 23, 2018
    • Axel Chalon's avatar
      Move Dapps files from @parity/shared ; display icons of builtin dapps from filesystem (#114) · 9ff53d3a
      Axel Chalon authored
      * Remove 'views' dapps
      
      * Remove superfluous variable declaration
      
      * Update @parity/shared dependency
      
      * Move Dapps files from @parity/shared
      
      * Update DappsStore tests (defaultDapps)
      
      They were previously outdated in @parity/shared.
      
      Removed the test "saved views keeps non-specified disabled keys"
      because we don't have any dapp to test against in dappsBuiltin.json
      (no builtin dapp with a defined id and with visible set to false)
      
      * Fetch icons of builtin dapps from filesystem using manifest.json
      
      * Use require instead of window.require in tests
      
      * Add test for built-in dapps
      
      * Use absolute paths for dapp icons
      
      * Update `@parity/ui` dependency
      
      * Update `dapp-dapp-methods` & `dapp-dapp-visible` dependencies
      
      Had to specify the exact rev in package.json because npm somehow
      couldn't properly update the dependencies otherwise:
      dapp-dapp-methods would overwrite dapp-dapp-visible in package-lock
      and vice versa.
      
      * Factorize getBuildPath() into util/host.js
      9ff53d3a
  15. May 17, 2018
  16. May 16, 2018
  17. May 15, 2018
    • Amaury Martiny's avatar
      Use commander instead of yargs for CLI (#107) · 1f00d226
      Amaury Martiny authored
      * Use commander instead of yargs
      
      * Make cli work
      
      * Small tweaks
      
      * Fix bug no options
      
      * Fix bug previous key
      
      * Fix bug process.argv in bundled app
      
      * Update package.json
      
      * Use product name from config
      
      * Fix small bug
      
      * Add parameter to option
      1f00d226
  18. May 11, 2018
  19. May 07, 2018
  20. May 05, 2018