1. 06 Aug, 2018 2 commits
  2. 04 Aug, 2018 1 commit
  3. 02 Aug, 2018 1 commit
    • 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. 17 Jul, 2018 2 commits
  5. 12 Jul, 2018 2 commits
  6. 11 Jul, 2018 1 commit
  7. 10 Jul, 2018 3 commits
  8. 09 Jul, 2018 1 commit
    • 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. 03 Jul, 2018 1 commit
  10. 14 Jun, 2018 1 commit
    • 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. 11 Jun, 2018 3 commits
  12. 08 Jun, 2018 1 commit
    • 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. 25 May, 2018 2 commits
  14. 23 May, 2018 1 commit
    • 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. 17 May, 2018 1 commit
  16. 16 May, 2018 2 commits
  17. 15 May, 2018 1 commit
    • 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. 11 May, 2018 10 commits
  19. 07 May, 2018 3 commits
  20. 05 May, 2018 1 commit