Skip to content

Commit

Permalink
Merge pull request #234 from AltGr/fix-copyright
Browse files Browse the repository at this point in the history
Fix license headers and some remaining references to AGPL
  • Loading branch information
AltGr authored Jan 31, 2019
2 parents ca3084c + aecd30f commit 4359c6c
Show file tree
Hide file tree
Showing 94 changed files with 286 additions and 1,114 deletions.
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(c) Copyright 2019 OCaml Software Foundation.
(c) Copyright 2016-2018 OCamlPro.

Licensed under the MIT license:

Expand All @@ -20,4 +21,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ VERSION = $(shell opam show ./learn-ocaml.opam -f version)
publish-docker-images: docker-images
docker tag learn-ocaml ocamlsf/learn-ocaml:$(VERSION)
docker tag learn-ocaml ocamlsf/learn-ocaml:dev
docker tag learn-ocaml ocamlsf/learn-ocaml:latest
docker image push ocamlsf/learn-ocaml:$(VERSION)
docker image push ocamlsf/learn-ocaml:dev
docker image push ocamlsf/learn-ocaml:latest

clean:
@${DUNE} clean
Expand Down
15 changes: 3 additions & 12 deletions src/ace-lib/ace.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Ace_types

Expand Down
15 changes: 3 additions & 12 deletions src/ace-lib/ace.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

(** Editor *)

Expand Down
15 changes: 3 additions & 12 deletions src/ace-lib/ace_types.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

class type token = object
method value : Js.js_string Js.t Js.prop
Expand Down
15 changes: 3 additions & 12 deletions src/ace-lib/ocaml_mode.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Js_utils

Expand Down
15 changes: 3 additions & 12 deletions src/ace-lib/ocaml_mode.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

type editor

Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_common.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Js_utils
open Lwt.Infix
Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_common.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Learnocaml_data

Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_exercise_main.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Js_utils
open Lwt.Infix
Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_index_main.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Js_utils
open Lwt
Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_local_storage.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Learnocaml_data

Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_local_storage.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Learnocaml_data

Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_student_view.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Js_utils
open Lwt
Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_teacher_tab.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Js_utils
open Lwt
Expand Down
15 changes: 3 additions & 12 deletions src/app/learnocaml_teacher_tab.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

val teacher_tab:
Learnocaml_data.Token.t -> (unit -> 'a Lwt.t) -> 'b -> unit ->
Expand Down
15 changes: 3 additions & 12 deletions src/app/server_caller.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Lwt.Infix

Expand Down
15 changes: 3 additions & 12 deletions src/app/server_caller.mli
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
(* This file is part of Learn-OCaml.
*
* Copyright (C) 2019 OCaml Software Foundation.
* Copyright (C) 2016-2018 OCamlPro.
*
* Learn-OCaml is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Learn-OCaml is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. *)
* Learn-OCaml is distributed under the terms of the MIT license. See the
* included LICENSE file for details. *)

open Learnocaml_data

Expand Down
Loading

0 comments on commit 4359c6c

Please sign in to comment.