os-js / os.js Goto Github PK
View Code? Open in Web Editor NEWOS.js - JavaScript Web Desktop Platform
Home Page: https://www.os-js.org/
License: Other
OS.js - JavaScript Web Desktop Platform
Home Page: https://www.os-js.org/
License: Other
Currently the internal uploads are checked on the server if they are too big. This is mostly a PHP thing, but it would be nice to detect this before upload occurs to prevent long loading times and then just get an error in your face.
Should be np
Firefox is having trouble starting up... seems like the onload event is not triggering. Stuck on the loading spinner -- no messages!
Refresh fixes it ?!
This is something I have been thinking about for a long time and should be pretty straight forward now that Wayland/Broadway project is in full swing.
extension
called BroadwayWindow
class of type BroadwayWindow
A new version of Broadway is under way and it seems the image transfer has changed to Zlib binary compress instaed of base-encoded data... which is a nice thing, but will require some small changes to the handlingUpdate 17 dec 2016: This has now been implemented :)
These features are currently missing from Broadway:
https://os.js.org/manual/client/broadway/
https://www.youtube.com/watch?v=Hd73b-Twf4I
Docs:
OS.js is lacking in the Translation department. There is a separate issue for Applications: #18
NEEDS UPDATE AFTER 1 JAN 2015
... and more
I haven't investigated it thoroughly but it's being overlapped by something. Changing the z-index on #OSjsAds from 1 to 2 fixes the problem.
Some features are still missing from the Node.js backend:
These functions can be moved into API
instead for convenience:
Handler::getIcon()
Handler::getThemeCSS()
Handler::getThemeResource()
Handler::getApplicationResource()
I have no testers to check for bugs and missing features :( Some people have said they wanted to do it, but have never actually got back to me after sending instructions etc.
This issue is for locating and maybe improving the way I try to find people willing to do this. Is it too scary, overwhelming or maybe something is unclear !?
No qualifications needed. Just someone who can test the online demo-version or set it up for themselves locally
The Wiki Article has instructions/testing list
In some cases users are using the bugreport utility to report normal error messages. This is probably caused by confusion regarding the texts in the standard error dialog. Change this to be a lot clearer.
An example would be the Chat applications. If the user has not configured the app correctly an error will appear, but it says it "may be a bug"... which is not the case.
Possible causes:
Uploading (ex) ANSI-encoded text files will not work well. Example is Windows using Notepad.
Ups. I messed up here somewhere and just found out Oo
The problem seems to be on the server-side since client always writes with correct encoding (that's a relief)
Currently the namespace is a bit redundant. You have to do Dialogs.AlertDialog
. Dialogs.Alert
is much nicer!
Currently, upload progress is only for uploads on OS.js deployed servers. Ever since alpha46 VFS modules all support this, but is not implemented in any way.
NOTE When copying from different sources (internal module => external module) VFS will first copy the file into memory then upload to destination. In these cases we would have to split the progress in two parts
The VFS Module is in place and is mostly complete, except for these missing features and/or bugs.
GoogleDrive does not have the traditional folder-file structure and instead uses Labels. This is an attempt to emulate the former.
Future features in Issue #40
Panel is currently set to a static color. Making this able to be customized would be really nice. It would complicate things for the logo ("start" button).
I am not trying to advertise myself or my project, but I think OS.js would be a great home for my web based word processor. It may need reworked some to conform to the project however, you can view the demo. Any thoughts on the idea would be great.
Why not use Express instead native HTTP module? With express, its more easy to understand your code :)
On
Chrome Version 35.0.1916.153 / MacOS 10.9.2
as soon as some Menu item has been selected and digging with new windows, coming back to the Menu, will show all menu items selected.
This will disappear when opening new windows.
A collection of logos and suggestions from users. If you have any input or suggestions, add them here :D
These dialogs needs some refactoring:
Also these features needs to be looked at again:
This would require a few changes to the implementations of StandardDialog... which is quite a few
I already know this works because I have experimented with it in the past, but decided to remove it because of the way it was implemented (codebase is much better to work on now :). This mode wil only be available in Node backend.
This needs to be re-done
build.json
server.js
connections/http.js
connections/ws.js
https://github.com/andersevenrud/OS.js-v2/blob/master/src/javascript/handler.js
The app window doesn't go back into view when I drag it offscreen, then change the size of the browser window. It just stays hidden until i resize the browser window again. This could be a big problem if your logging back into a session with a different sized monitor, and one of your windows/applications is completely off the screen
These functions need to be moved
OSjs.API.getWMInstance() => OSjs.Core.getWindowManager()
OSjs.API.getHandlerInstance() => OSjs.Core.getHandler()
OSjs.API.getAnimDuration() => WindowManager::getAnimDuration()
OSjs.API.getWindowSpace() => WindowManager::getWindowSpace()
Planned changes for themes:
These are the included and planned themes:
freeSpace()
supportThese features needs to be added (See #9 for more):
The old description was removed
The current goal is to rework the documentation into JSDoc.
When this is done; full ctags support is available. Which is pretty cool as it makes autocompletion of the entire OS.js API avaialable in most editors/IDEs :)
Branch: https://github.com/os-js/OS.js/tree/jsdoc
The entire codebase was already documented, this issue is just for the rewriting of syntax and enhancments
Not sure if this is a OS.js bug or a Firefox bug yet, but Flex does not seem to work propery.
You can see the errors on:
For anyone that wants to do translations, read this first:
https://manual.os-js.org/v3/guide/translate/
Then comment on this issue if you want to join the translation team ๐ค
This section will be updated as translations are added
Core translations are located in @osjs/client
within the folder src/locales/
.
All packages ending with -application
has a metadata.json
file which contains application title + description.
These packages have their own expanded sets of translations:
@osjs/filemanager-application
- /locales.js
@osjs/panels
- /src/locales.js
@osjs/draw-application
- src/locales.js
Related issues:
Currently it contains all base classes and API functions. It would be nice to split these to:
api,js
API methodsapplication.js
classservice.js
classdialog.js
classdialog.js
to dialogs/_default.js
classThis would involve getting rid of some 'global' variables (look at the top of core.js). These are shared between all functions currently.
This issue is for maintaining the Hall of Fame
This was split out from #9
freeSpace()
supportMOVED TO #49
@RyanRiffle mentioned in #53
Also it would also be a good idea to divide the API into more namespaces. The process helpers like launch, kill, getProcess, getProcesses etc. could be in API.Process and so on and so forth.
I think this is a really good idea. This way we could have:
OSjs.API.Process.get() // API.getProcess()
OSjs.API.Process.list() // API.getProcesses()
OSjs.API.Process.kill() // API.killProcess()
OSjs.API.Process.launch() // API.launch()
OSja.API.Process.open() // API.open()
OSjs.Locales.get() // API.getLocale()
OSjs.Locales.set() // API.setLocale()
OSjs.API.Resource.icon() // API.getIcon()
OSjs.API.Resource.fileIcon() // API.getFileIcon()
OSjs.API.Resource.themeCSS() // API.getThemeCSS()
OSjs.API.Resource.themeResource() // API.getThemeResource()
OSjs.Audio.play() // API.playSound()
OSjs.GUI.createDraggale()
OSjs.GUI.createDroppable()
OSjs.GUI.getAnimduration() // API.getAnimDuration()
OSjs.Settings.get() // API.getDefaultSettings()
OSjs.Settings.path() // API.getDefaultPath()
...
Input ?
Refactor is easy:
find src/ -type f -name '*.js' -exec sed -i '' 's/API\.someFunction/API\.Namespace\.newFunction/g' {} +
Example http://jsfiddle.net/7p9d9om8/
html {
overflow: auto; // Makes the default scrollbar dissappear
}
::-webkit-scrollbar {
width: 7px; /* Width of the vertical scrollbar button */
height: 7px; /* Height of the horizontal scrollbar button */
}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
display: block;
height: 10px; /* Height of the entiry vertical scrollbar */
width: 10px; /* Width of the entiry horizontal scrollbar */
}
::-webkit-scrollbar-button:vertical:increment {
background-color: none; /* Background of the Scrollbar */
}
::-webkit-scrollbar-button:horizontal:increment {
background-color: none; /* Background of the Scrollbar */
}
::-webkit-scrollbar-track-piece {
background-color: none; /* Background of the track */
}
::-webkit-scrollbar-thumb:vertical {
background-color: #999; /* Background of Thumb */
-webkit-border-radius: 3px; /* Border Radius of the Scrollbar */
}
::-webkit-scrollbar-thumb:horizontal {
background-color: #999; /* Background of Thumb */
-webkit-border-radius: 3px; /* Border Radius of the Scrollbar */
}
As title says
Using an IFrame in a window blocks some events, like mousemove when moving a window -- it blocks and locks the movment.
A simple fix for this would be to simply create a transparent window overlay on top-zindex when unfocused. (needs DnD support)
Where it occurs:
Add support for Windows Live API.
The current application menu is kinda boring, and small.
User @PewienTyp in #49 reminded me of this.
This is an issue for general discussion and problem sovling. You can also post your submissions here if you're not into pull requests and such.
Join the official chat room on Gitter :)
I'm wondering about [something]
First, look through the documentation and see if you can find anything that might help you :)
I have problems installing OS.js
Make sure you follow the installation documentation to the letter.
I am having problems building OS.js
Make sure dependencies are installed! If you are running on Windows, make sure to run the symlink script (as described in INSTALL).
I am having problems running OS.js client
If something fails, you will get console output of it (press F12 and go to Console). If some files fails to load, chances are building has failed (or you forgot).
I am having problems running OS.js server
If the server fails you will get an error printout (apache users, see error_log).
There does not seem to be any login page ?!
There actually is one, but kind of obscured by its name "example" and the fact I have not found any time to finish it 100% (but it works fine).
http://os.js.org/doc/tutorials/create-handler.html
I want to expand the Client API. How do I do this?
An example, here: https://gist.github.com/andersevenrud/c2e84548a3c0af8c7150
How to reproduce:
Issue for core features and default packages
Related issues:
Looking for people to make some :)
With the implementation of Windows Live API (#42) support for OneDrive is possible
THIS IS EXPERIMENTAL BUT WORKING
Apparently SkyDrive does not support MIME, but we can get around this
freeSpace()
supportThe OSjs::Handler
namespace is currently populated with the handler helper classes. These should be moved into OSjs::Helpers
namespace instead.
Main issue for Documentation of OS.js.
This is the main repository: https://github.com/andersevenrud/os.js.org
They are the basis of the gui, and I can see why they are in gui.js but having them in their own files reduces the clutter, and makes the code easier to parse. It also helps that all other constructor prototypes are in their own file so following suit makes it easier for someone just getting started finding what they are looking for. GUIElement maybe not so much.
I know a lot of people, myself included, that would prefer to avoid PHP and Node anywhere in our deployments if at all possible. Would anyone other than me be interested in a Python server backend?
Some users might not know the English language very well. Maybe add language detection (very easily done by checking navigator object) for users outside English-speaking areas ?
It seems the icons are missing in the repository. The folder themes/default/icons/16x16 is empty but php-webserver.php relies on it.
Nice project, I must say. Is this project using any specific java script framework as such? I mean, like for example DoJo Framework?
Also, as much as I could find out, the previous version was MIT licensed, which is really awesome! Is the 2.0 version also MIT??
Thanks & Keep it up!!
Anime.sh
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.