Giter VIP home page Giter VIP logo

beaker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

beaker's Issues

favorites persistence

Operation System: 4.10.0-27-generic beakerbrowser#30~16.04.2-Ubuntu
Beaker Version: safe-browser-v0.4.0-linux-x64

clicked the 'favorites' star icon in the address bar, but saved safe:// site is lost from beaker:favorites after browser restart

Cache hiding page updates

Operation System: Linux
Beaker Version: safe-browser-v0.3.5-linux-x64

Could do with switching off the cache for all but app data. The browser strongly prefer the cache without any apparent option to force a refresh.

It would be good to see at least Ctrl or Shift + Refresh force redownload of the full page and related scripts; as it stands, I need to delete the entire cache to check if a page had updated. That doesn't affect add-on comments functions but the static in a page, will be updated from time to time and users might not see those changes, if they've visited a page before.

Debugger not accessible with live "safe:" web app (ok on localhost)

Operation System: linux
Beaker Version: 0.3.6-2

I'm not sure if this is happening due to a change in my app or beaker. I have been able to debug a website live on safe: before, but I've been doing so purely with localhost for a couple of weeks and now find the debugger window keeps disconnecting immediately I open it (and the website window in beaker goes black).

I can still debug with localhost but I would like the RS guys to be able to look at stuff I deploy on safe and have access to the debugger.

You can try this as follows (on SAFE Test11):

  • Start SAFE Launcher and ensure you are connected (to Test 11)
  • Start beaker
  • Visit: safe://myfd.rsports
  • Open the debug window (Ctrl-Alt-I)
  • At the point the debug window opens but immediately shows a disconnection error, and the website window goes black.

url bar does not default to safe://

Operation System: Linux
Beaker Version: safe-browser-v0.3.5-linux-x64

urls appear to still require safe:// is typed in the address, rather than just defaulting to that.
Also the list of favorites makes no sense, since they are not accessible as http://

Can't use DevTools > Application

Operation System: Linux
Beaker Version: 0.3.0

Start beaker
Menu > BeakerDev > Toggle Shell-Window DevTools
Click Tab: Application

The beaker window loses everything except the menu bar and I don't see a way to get the location bar back. New Tab etc do nothing.

safe-js not available on localhost unless using the polyfill

Operation System: Linux
Beaker Version: 0.4.0 (also 0.3.6-2)

I've been using the polyfill exclusively so have only just tried without and find that safe-js is not working on localhost unless you use the polyfill.

Fine on a live safe: URL though.

With localhost, not polyfill and websecurity disabled, a new tab loaded with my safe site and I poke around in the debug console I can only get this object and method:

window.safeAuth.getAuthToken()

No other safeAuth methods, no safeNFS or safeDNS objects! But with the polyfill they are all there and working.

It is not a problem as I can just use the polyfill until I deploy, but I think it is supposed to work without it as well, even on localhost.

Working locally with XMLHttpRequest

Operation System: Linux
Beaker Version: 0.3.0

I want to check my current App works in Beaker before switching from direct requests to safe-js so I have a local server http://localhost:8000 and am using for the launcher endpoint, and hitting a same-origin issue when making the /auth request. Here's the console:

XMLHttpRequest cannot load http://localhost:8100/auth. 
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'http://localhost:8000' is therefore not allowed access.

Looking at the network tab I'm not sure what causes this. Is it a browser default to enforce same origin here?

No SAFE-DOM-APIs on localhost?

Heyah,

it appears that though the window.safe*-APIs are made available on all safe://-URLs, I can't access them from http://localhost nor the file-system, which makes this really inconvenient for development :( .

Any chance we can whitelist localhost for the APIs?

Feature: override identity for NFS app storage (isPathShared=false)

For development it is often desirable to "wipe" the app storage and start afresh, and its a pain having to create a new SAFE account each time just to achieve this. So I'm wondering if the polyfill.js or even a beaker Dev setting could be made to support this.

Until recently it would have been achievable by changing the app data passed to /auth, but now it is tied to the URL and that appears not to work - or am I missing some easy way of doing this!? ๐Ÿ˜„

Built version throwing missing token errors on safeStatus

Operation System: OSX
Beaker Version: 0.4.0-5

Packaged version is currently throwing odd errors designed only for safe: urls on beaker: status page, resulting in the compiled browser not authenticating against the network at all.

Only happening with built OSX version (so far)

browser doesn't consider `safe://` a secure origin

Operation System: Mac OSX El Capitan, 10.11.6
Beaker Version: 0.3.5

Trying to use getUserMedia() from a safe://-url, the browser blocks the DOM API explaining that it doesn't consider safe a secure origin (like https):

getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

And gives us a NotSupported-Error: NotSupportedError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

The browser should allow this and other APIs and generally consider safe a secure origin.

blank window on close of tab

Operation System: Linux
Beaker Version: safe-browser-v0.3.5-linux-x64 (which oddly unzipped this time as "linux-unpacked")

Open two tabs.. close the second and see a big window of white that obscures the first tab even. So, not option from there but to close and restart.

Setup error

Operation System: Windows 8 64-bit
Beaker Version:v0.4.3-3
When executing set-up will get error:"[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: Cannot find module 'redux-node-logger'
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (C:\Program Files\safe-browser\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at C:\Program Files\safe-browser\resources\app\background-process.build.js:9:40
at Object. (C:\Program Files\safe-browser\resources\app\background-process.build.js:2028:2)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)

[OK]"

And can't access safe beaker browser on 0.4.3, but could on v0.4.2

full screen video

Operation System: 4.10.0-27-generic beakerbrowser#30~16.04.2-Ubuntu
Beaker Version: safe-browser-v0.4.0-linux-x64

On safe://safetube.jam, clicked the fullscreen button on one of the videos. Browser prompted asking if I wanted to go full screen. Accepted, but then could still see the browser tabs across the top of the screen. This is different that what Chromium browser does for full screen video such as those on https://shapeshed.com/examples/HTML5-video-element/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.