Skip to content

Commit

Permalink
Version bump (#617)
Browse files Browse the repository at this point in the history
Rewritten to ES6 (Babel), Webpack and Express.

Many of these are **breaking** changes, but you can easily migrate to the new style.

For a full writeup of changes etc, see links below.

Relevant:

* https://community.os-js.org/t/update-version-bump-2-1-0/142
* https://community.os-js.org/t/road-to-es6-es2015/131/8
* #617

Digest:

* Core: Rewritten to ES6
* Core: Callbacks replaced with Promise
* Core: Now using imports
* Core: Deprecated all marked methods
* Core: Removed global namespace (available as BC module)
* Core: Removed support for "simple" packages
* Core: Removed support for "dummy" packages
* Core: Removed support for "old" packages
* Core: Detached Scheme files from applications
* Core: Changed in namespaces (code separation)
* API: Now using axios for XHR
* API: Now using bluebird for better promises
* VFS: Removed 'delete' operation (use 'unlink')
* GUI: Schemes now embed in bundles if used
* Packages: Default packages refactored
* build: Now using Ygor as task system
* build: Rewritten
* build: Now using Webpack for themes
* build: Now using Webpack for packages
* build: Now using Webpack for core
* build: Removed grunt entirely
* build: Split up into separate package
* build: Changed templating generation
* build: Simplified configuration capabilities
* build: Better overlay support
* server-node: Rewritten to ES6
* server-node: Now using Express
* server-node: Changed how modules look
* server-node: Better module APIs
* server-node: Better user handling
* conf: Changed overlay layouts
* conf: Overlays now support themes
* conf: Overlays now support configuration includes
* conf: Changed vfs configuration
* misc: Added some new `bin/` scripts
* misc: Removed the `Zip` helper. This will be replaced with something newer.
* misc: The `Database` handler now uses separate tables
* misc: Added `OSjs.require()` for externals
* misc: Moved src/client/themes to src/themes
* misc: Bugfixes and general cleanups
* misc: Performance improvements
* misc: No more 'dist/vendor' by default
* misc: Removed automated installers from repo
* misc: Separated graphics sources to own repo
* misc: Separated x11 sources to own repo
* misc: Separated Broadway (will be replaced with Xpra)
* misc: Updated documentation
* misc: Now using esdoc
  • Loading branch information
andersevenrud committed Aug 13, 2017
1 parent 7ccf4bd commit abc7c56
Show file tree
Hide file tree
Showing 1,274 changed files with 38,100 additions and 56,485 deletions.
1 change: 1 addition & 0 deletions .bithoundrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
}
},
"ignore": [
"src/client/javascript/compability.js",
"src/client/stylesheets/**",
"src/client/themes/**",
"src/server/node/modules/*/example.js",
Expand Down
12 changes: 0 additions & 12 deletions .csslintrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ vendor/*
dist/**
vfs/**
doc/**
bin/**
10 changes: 8 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"globals": {
"OSjs": true,
"OSJS_DEBUG": true,
"zip": true,
"alert": true,
"confirm": true,
Expand All @@ -14,7 +15,12 @@
"EventTarget": true,
"Uint8Array": true,
"ArrayBuffer": true,
"Promise": true
"Promise": true,
"gapi": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"valid-jsdoc": [
Expand Down Expand Up @@ -97,7 +103,7 @@
"no-eq-null": 2,
"strict": [
1,
"function"
"global"
],
"no-unused-expressions": 2,
"no-use-before-define": 1,
Expand Down
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ twistd.*
*.bak
*.o
.tern-project
.happypack
.external-ecmascript.js

# Misc
.nightly
Expand All @@ -29,19 +31,17 @@ src/server/settings.json
src/server/packages.json
src/server/*.key
src/server/*.crt
src/installer/installer.exe
src/overlays

# Builds
doc/
dist/*
dist-electron
doc/jsdoc
src/server/*.sqlite
src/x11-launcher/session-launch

# Vendor
vendor/dropbox*
vendor/zip.js
vendor/html2canvas
vendor
src/server/php/vendor
src/packages/*
!src/packages/default
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ language: node_js
node_js:
- 7
- 6
- 5
- 4
install:
- npm install
- npm install mocha
- npm install grunt-cli -g
before_script:
- node osjs build
123 changes: 94 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,75 @@
# 2.1.0

Rewritten to ES6 (Babel), Webpack and Express.

Many of these are **breaking** changes, but you can easily migrate to the new style.

For a full writeup of changes etc, see links below.

Relevant:

* https://community.os-js.org/t/update-version-bump-2-1-0/142
* https://community.os-js.org/t/road-to-es6-es2015/131/8
* https://github.com/os-js/OS.js/issues/617

Digest:

* Core: Rewritten to ES6
* Core: Callbacks replaced with Promise
* Core: Now using imports
* Core: Deprecated all marked methods
* Core: Removed global namespace (available as BC module)
* Core: Removed support for "simple" packages
* Core: Removed support for "dummy" packages
* Core: Removed support for "old" packages
* Core: Detached Scheme files from applications
* Core: Changed in namespaces (code separation)
* API: Now using axios for XHR
* API: Now using bluebird for better promises
* VFS: Removed 'delete' operation (use 'unlink')
* GUI: Schemes now embed in bundles if used
* Packages: Default packages refactored
* build: Now using Ygor as task system
* build: Rewritten
* build: Now using Webpack for themes
* build: Now using Webpack for packages
* build: Now using Webpack for core
* build: Removed grunt entirely
* build: Split up into separate package
* build: Changed templating generation
* build: Simplified configuration capabilities
* build: Better overlay support
* server-node: Rewritten to ES6
* server-node: Now using Express
* server-node: Changed how modules look
* server-node: Better module APIs
* server-node: Better user handling
* conf: Changed overlay layouts
* conf: Overlays now support themes
* conf: Overlays now support configuration includes
* conf: Changed vfs configuration
* misc: Added some new `bin/` scripts
* misc: Removed the `Zip` helper. This will be replaced with something newer.
* misc: The `Database` handler now uses separate tables
* misc: Added `OSjs.require()` for externals
* misc: Moved src/client/themes to src/themes
* misc: Bugfixes and general cleanups
* misc: Performance improvements
* misc: No more 'dist/vendor' by default
* misc: Removed automated installers from repo
* misc: Separated graphics sources to own repo
* misc: Separated x11 sources to own repo
* misc: Separated Broadway (will be replaced with Xpra)
* misc: Updated documentation
* misc: Now using esdoc

# 2.0.0-97

Bugfixes, updated dependencies, build system updates and moved some methods from Storage to Authenticator module

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha97/136
* https://community.os-js.org/t/update-version-bump-alpha97/136

Digest:

Expand Down Expand Up @@ -32,7 +97,7 @@ Mostly bugfixes and sortable shortcut buttons in panel.

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha96/130
* https://community.os-js.org/t/update-version-bump-alpha96/130

Digest:

Expand Down Expand Up @@ -60,7 +125,7 @@ Also updated mouse/pointer handling in some cases for better compability.

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha94/129
* https://community.os-js.org/t/update-version-bump-alpha94/129

Digest:

Expand All @@ -87,7 +152,7 @@ your package metadata file (see included).

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha93/128
* https://community.os-js.org/t/update-version-bump-alpha93/128

Digest:

Expand Down Expand Up @@ -230,7 +295,7 @@ add a small snippet in the bottom of your file(s)

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha86/122
* https://community.os-js.org/t/update-version-bump-alpha86/122

Digest:

Expand Down Expand Up @@ -267,7 +332,7 @@ handling has been updated.

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha85/
* https://community.os-js.org/t/update-version-bump-alpha85/

Digest:

Expand Down Expand Up @@ -297,7 +362,7 @@ Updates to mobile UI and handling, VFS improvements, bugfixes and a new 'osjs wa

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha84/118
* https://community.os-js.org/t/update-version-bump-alpha84/118
* https://www.os-js.org/manual/gui/elements/#create-javascript

Digest:
Expand Down Expand Up @@ -340,7 +405,7 @@ bunch of bugfixes and compability updates.

Relevant:

* http://community.os.js.org/t/update-version-bump-alpha83/114
* https://community.os-js.org/t/update-version-bump-alpha83/114

Digest:

Expand Down Expand Up @@ -388,8 +453,8 @@ server and build system improvements and lots of bugfixes.

Relevant:

- http://community.os.js.org/t/update-version-bump-alpha82/110
- http://community.os.js.org/t/feature-http-middleware/107/1
- https://community.os-js.org/t/update-version-bump-alpha82/110
- https://community.os-js.org/t/feature-http-middleware/107/1

Digest:

Expand Down Expand Up @@ -455,10 +520,10 @@ The official documentation (manual) has also been completely reworked. It now ex

Relevant:

- http://community.os.js.org/t/update-version-bump-alpha81/104
- https://community.os-js.org/t/update-version-bump-alpha81/104
- https://gitter.im/os-js/topics/topic/5818ce090b10738c73fe24e0/new-server-codebase-and-handler-abstraction
- http://community.os.js.org/t/notice-upcoming-server-api-changes/104/2
- http://community.os.js.org/t/feature-widgets/90
- https://community.os-js.org/t/notice-upcoming-server-api-changes/104/2
- https://community.os-js.org/t/feature-widgets/90
- https://github.com/os-js/OS.js/issues/527
- https://os.js.org/manual/

Expand Down Expand Up @@ -527,11 +592,11 @@ New Settings application, package management and user management subsystem, deve

Relevant:

- http://community.os.js.org/t/update-version-bump-alpha80/101
- http://community.os.js.org/t/notice-upcoming-grunt-and-build-system-changes/99
- http://community.os.js.org/t/feature-create-applications-without-prototype-chain/96
- http://community.os.js.org/t/feature-import-files-in-your-schemes/95
- http://community.os.js.org/t/feature-scheme-loading-via-metadata-json/94
- https://community.os-js.org/t/update-version-bump-alpha80/101
- https://community.os-js.org/t/notice-upcoming-grunt-and-build-system-changes/99
- https://community.os-js.org/t/feature-create-applications-without-prototype-chain/96
- https://community.os-js.org/t/feature-import-files-in-your-schemes/95
- https://community.os-js.org/t/feature-scheme-loading-via-metadata-json/94

Digest:

Expand Down Expand Up @@ -584,9 +649,9 @@ Core API WebSocket support, Desktop now uses VFS mount, New touch menu, Bugfixes

Relevant:

- http://community.os.js.org/t/update-version-bump-alpha79/92
- http://community.os.js.org/t/feature-api-over-websocket/91
- http://community.os.js.org/t/feature-widgets/90
- https://community.os-js.org/t/update-version-bump-alpha79/92
- https://community.os-js.org/t/feature-api-over-websocket/91
- https://community.os-js.org/t/feature-widgets/90

Digest:

Expand Down Expand Up @@ -680,9 +745,9 @@ to documentation and developer features.

Relevant:

- http://community.os.js.org/t/features-extending-base-css/65
- http://community.os.js.org/t/notice-node-server-api-changes/73
- http://community.os.js.org/t/features-package-less-and-custom-script-support/72
- https://community.os-js.org/t/features-extending-base-css/65
- https://community.os-js.org/t/notice-node-server-api-changes/73
- https://community.os-js.org/t/features-package-less-and-custom-script-support/72

Digest:

Expand Down Expand Up @@ -748,9 +813,9 @@ Digest:

Search Engine, HTTP/2 support, bugfixes, improvements

- http://community.os.js.org/t/quick-tips-window-events/47/1
- http://community.os.js.org/t/feature-search-engine/43
- http://community.os.js.org/t/feature-http-v2/44/2
- https://community.os-js.org/t/quick-tips-window-events/47/1
- https://community.os-js.org/t/feature-search-engine/43
- https://community.os-js.org/t/feature-http-v2/44/2

This update brings you a new Search Engine implementation, HTTP/2 support, lots of bugfixes
and general impreovements. Also a new HTML Viewer application.
Expand Down Expand Up @@ -841,9 +906,9 @@ Bugfixes, Locale updates, Security and general improvements.

New wallpaper, UI improvements, bugfixes and many improvements to the build system(s). Also new developer features!

**API CHANGE**: http://community.os.js.org/t/notice-updated-gui-methods/33
**API CHANGE**: https://community.os-js.org/t/notice-updated-gui-methods/33

**API CHANGE**: http://community.os.js.org/t/notice-recent-api-changes/31
**API CHANGE**: https://community.os-js.org/t/notice-recent-api-changes/31

* UI: New Wallpaper
* UI: Added loading bar to boot
Expand Down
40 changes: 15 additions & 25 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,28 @@
# Contributing

These are some of the ways you can contribute to OS.js:
Follow the guide on https://manual.os-js.org/development/ for how to work with a development environment and a list of repositories to work with.

* **Open issues** You can post any issues/bugs/requests to [Github](https://github.com/os-js/OS.js/issues).
* **Code** Create a [pull request](https://github.com/os-js/OS.js/pulls) to contribute to the codebase
* **Translating** Language support is a bit lacking, so any help is appreciated!
* **Testing** Things are always changing, and automated tests are not enough to ensure everything is working 100%.
* **Documentation** Found something in the [homepage or documentation](https://github.com/andersevenrud/os-js.org) that does not seem right?
* **Chat** Join in our [Gitter](https://gitter.im/os-js/OS.js) chat room for fun and tech talk!
* **Community** Join our [community](http://community.os.js.org/) where you can post your ideas and questions etc (that does not fit into Github Issues)
* **Anonymous tips** Donate/tip anonymously with [Gratipay](https://gratipay.com/os-js/)
* **Donate** Donate via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andersevenrud%40gmail%2ecom&lc=NO&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
* **Support** by becoming a [Patreon](https://www.patreon.com/user?u=2978551&ty=h&u=2978551)
If you want to contribute, but not sure what to do, here's a list of things that I always need help with:

You can also submit patches and questions directly to me via [email](mailto:[email protected]), but using GitHub is preferred.
* Translations
* Bug-hunting
* Finding security problems
* Themes and general graphics
* Website design (like the homepage and manuals)
* Documentation

## Information
If you need help, or just up for some general discussion, head into the [community forums](https://community.os-js.org/) or [community chat](https://gitter.im/os-js/OS.js).

You can find information about development here: https://os-js.org/manual/development/
You can also donate or become a patreon, which helps out covering server costs and potentially make it possible to put out bounties:

## Resources
* Donate/tip anonymously with [Gratipay](https://gratipay.com/os-js/)
* Donate via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andersevenrud%40gmail%2ecom&lc=NO&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
* Become a [Patreon](https://www.patreon.com/user?u=2978551&ty=h&u=2978551)

* [Homepage](https://os-js.org/)
* [Manual](https://os-js.org/manual/)
* [FAQ and discussion](https://github.com/os-js/OS.js/issues/49)
* [Chat room](https://gitter.im/os-js/OS.js)
* [Subreddit](https://www.reddit.com/r/osjs)
* [OS.js Core Source](https://github.com/os-js/OS.js)
* [OS.js Homepage Source](https://github.com/andersevenrud/os-js.org)

# For OS.js Team Members
# Team Members

If you are a member of the official OS.js developer Team:

* [Discussions](http://community.os.js.org/c/team)
* [Discussions](http://community.os-js.org/c/team)
* [Tasks](https://trello.com/osjs)
* [Chat](https://gitter.im/os-js/OS.js/teams)
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN cd OS.js/

# Install OS.js
WORKDIR OS.js/
RUN npm install --production
RUN npm install
RUN node osjs build

# Run OS.js
Expand Down
Loading

0 comments on commit abc7c56

Please sign in to comment.