Skip to content

Commit

Permalink
license: AGPLv3 → MS-RSL
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldschilly committed Jul 18, 2024
1 parent c1a9ae2 commit 5f47d82
Show file tree
Hide file tree
Showing 2,045 changed files with 2,087 additions and 2,758 deletions.
2 changes: 0 additions & 2 deletions .vscode/templates/cjsx.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/coffee.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/css.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/html.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/js.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/jsx.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/sass.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/scss.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/ts.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/tsx.lict

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/templates/xml.lict

This file was deleted.

679 changes: 15 additions & 664 deletions LICENSE.md

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,38 @@ New -- Feb 2022: If you want to work on something at https://github.com/sagemat
- Travis Scholl
- Hal Snyder
- William Stein
- Jonathan Thompson
- Jonathan Thompson
- Todd Zimmerman

... and _many_ others: See https://github.com/sagemathinc/cocalc/graphs/contributors

## Copyright/License

The copyright of CoCalc is owned by SageMath, Inc., and the source code
here is released under the GNU Affero General Public License version 3+
subject to the "Commons Clause" License Condition v1.0.
here is released under the **MICROSOFT REFERENCE SOURCE LICENSE (MS-RSL)**.

See the included file LICENSE.md and [Commons Clause](https://commonsclause.com/).
See the included file [LICENSE.md](./LICENSE.md) for more details.

None of the frontend or server dependencies of CoCalc are themselves GPL
licensed; they all have non-viral liberal licenses. If want to host
your own CoCalc at a company, and need a different AGPL-free license,
please contact [[email protected]](mailto:[email protected]).
None of the frontend or server dependencies of CoCalc are themselves GPL licensed;
they all have non-viral liberal licenses.

To clarify the above in relation to the "commons clause":
To clarify the above in relation to the "reference use":

- you can setup CoCalc at your own educational institution for teaching and research
- any kind of work you do on CoCalc itself is not impacted
- if you are unsure about whether your use of CoCalc is not allowed by "commons clause", do not hesitate to email us at [[email protected]](mailto:[email protected]).
- you can download the CoCalc source code at your organization
- you are allowed to read the source code and to inspect it
- you are allowed to enhance the interoperability of your product with CoCalc
- you are **not** allowed to compile and run the code

**If want to host your own CoCalc at your organization, please contact [[email protected]](mailto:[email protected]).**
In particular, [CoCalc OnPrem](https://cocalc.com/pricing/onprem) is designed for setting up an instance of CoCalc on-premises.

## Trademark

"CoCalc" is a [registered trademark](http://tsdr.uspto.gov/#caseNumber=87155974&caseType=SERIAL_NO&searchType=statusSearch) of SageMath, Inc.

## Development

The scripts [here](https://github.com/sagemathinc/cocalc/tree/master/src/dev) might be helpful.  We do most of our development of CoCalc on https://cocalc.com itself. CoCalc requires npm version at least 7.
The scripts [here](https://github.com/sagemathinc/cocalc/tree/master/src/dev) might be helpful.  We do most of our development of CoCalc on https://cocalc.com itself. CoCalc requires pnpm version at least 9.

## Acknowledgements

Expand Down
2 changes: 1 addition & 1 deletion src/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions src/c.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/*
Expand All @@ -13,7 +13,7 @@ or just require('./c.js').
The functions below in some cases return things, and in some cases set global variables! Read docs.
COPYRIGHT : (c) 2021 SageMath, Inc.
LICENSE : AGPLv3
LICENSE : MS-RSL
*/

process.env.COCALC_ROOT = require("path").resolve(__dirname);
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/cocalc-icons-font/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

@font-face {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/dropzone/css/basic.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

.dropzone,
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/dropzone/css/dropzone.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

.dropzone,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/packages/assets/jquery/jquery-ui/js/jquery-ui.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/jquery/plugins/bootstrap_hide_show.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

import * as $ from "jquery";
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/misc/talk-20121004/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
License: MS-RSL – see LICENSE.md for details
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

.slide {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

.layout div, #footer *, #controlForm * {display: none;}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2em;}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

div#header, div#footer, div#controls, .slide {position: absolute;}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

@import url(s5-core.css); /* required to make the slide show run at all */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

// S5 v1.1 slides.js -- released into the Public Domain
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/rainbow/generic.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/rainbow/python.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/rainbow/rainbow.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/packages/assets/rainbow/salvus.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/serviceWorker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

// for v0, we keep all of this empty
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/term/term.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/packages/assets/threejs/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
<!--
This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
License: MS-RSL – see LICENSE.md for details
-->

<body>
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/threejs/r73/CanvasRenderer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/threejs/r73/Detector.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/threejs/r73/OrbitControls.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/assets/threejs/r73/Projector.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/packages/backend/base-path.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/* Determine the base path for this CoCalc service.
Expand Down
2 changes: 1 addition & 1 deletion src/packages/backend/execute-code.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//########################################################################
// This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
// License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
// License: MS-RSL – see LICENSE.md for details
//########################################################################

// Execute code in a subprocess.
Expand Down
2 changes: 1 addition & 1 deletion src/packages/backend/files/delete-files.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

import { getHome } from "./util";
Expand Down
2 changes: 1 addition & 1 deletion src/packages/backend/get-listing.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion src/packages/backend/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

exports.misc_node = require("./misc_node");
2 changes: 1 addition & 1 deletion src/packages/backend/misc/async-utils-node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
* License: MS-RSL – see LICENSE.md for details
*/

import { access, readFile, unlink } from "node:fs/promises";
Expand Down
Loading

0 comments on commit 5f47d82

Please sign in to comment.