docsmage / relaxio Goto Github PK
View Code? Open in Web Editor NEWCreate your own ambient sound for relaxation.
Home Page: http://relaxio.me/
License: MIT License
Create your own ambient sound for relaxation.
Home Page: http://relaxio.me/
License: MIT License
Disable ability to adjust volume OR hide the volume bar for sounds which are not currently playing
Any website or application that has a login system should be using an ecrypted connection.
There's only so much valuable data that an attacker could get by intercepting a Relaxio login (so far?), but TLS will give a little extra protection for users who unfortunately reuse passwords across multiple services, and could help prevent cleartext email addresses from being added to a spam list.
Bug: If other sounds have been previously play/pause toggled, they will unpause along with the ones that were previously paused the moment that master play/pause is used.
Preferably light purple gradient
There's a tech security adage I heard somewhere that says the best way to protect some data is to not have it. That is, someone breaking into your system can't steal any data that doesn't exist. Users would not have to trust your application, and you would not have to worry as much about protecting your login backend, if you implemented alternative ways of saving user mixes.
Such as local storage. Local storage, I'm guessing, would be simpler to implement, and greatly reduces the "attack surface" for an application like Relaxio. One downside of local storage is that there's not really a good way for users to take the data with them to other devices or browsers.
Another possible solution would be to create a URL for the current mix, where the sound sources and volume levels are encoded as URL fragments or query strings. This might be a little more complex than local storage, but it would allow users to save their mixes as bookmarks, which all the major browsers can sync across devices, or which users can export and import to different browsers.
Just a thought. You already have a login system in place, so you don't necessarily have to throw that away; local storage or a custom mix URL could also work as just another option for users. But it occurred to me that maintaining a database of user data, any kind of user data, is a responsibility I would personally prefer to avoid if possible, so I'm just saying.
This page should list the username, password, list of saved mixes, and the sounds included in each mix.
As of right now, clicking anywhere outside of signuppopup makes it disappear - however, taking action such as clicking 'signup' or 'login' currently does not send the modal away. This should not be the case.
Initial investigation into this issue lead me to http://stackoverflow.com/questions/23762323/is-there-a-way-to-automatically-close-angular-ui-bootstrap-modal-when-route-chan I attempted to implement the top solution by updating the .run statement in my app.js file. This did not work.
Next, I tried adding ng-click="closeModal()" to each URL in signuppopup.html, as in Sign up to save your mix! This also did not work, despite the fact that NavCtrl is the controller for that file, and that the closeModal function in NavCtrl appears to be written correctly according to the documentation provided by angular.
At this point I am stepping back from this issue to try fixing it again later. Submitting here to document my progress and also to separate it out as a different issue from issue #43.
Currently, to change the volume for a given sound source, you have to click and hold on the the little nub (the div.thub
element) and drag left or right. When I recently started using Relaxio again, I instinctively expected to be able to click on the volume bar where I want the volume level to be.
Grey out sounds and make them unclickable when master is on pause.
Based on feedback received after initial launch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.