From 946459c07bf4d1fb87a88a46c7fb9c672f3d0813 Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Thu, 15 Jul 2021 14:45:42 -0300 Subject: [PATCH] add copyright headers to source files --- navigator/components/FileUpload.js | 19 +++++++++++++++++++ navigator/components/ModalPrompt.js | 19 +++++++++++++++++++ navigator/components/NavContextMenu.js | 19 +++++++++++++++++++ navigator/components/NavDir.js | 19 +++++++++++++++++++ navigator/components/NavDownloader.js | 19 +++++++++++++++++++ navigator/components/NavDragDrop.js | 19 +++++++++++++++++++ navigator/components/NavEntry.js | 19 +++++++++++++++++++ navigator/components/NavFile.js | 19 +++++++++++++++++++ navigator/components/NavWindow.js | 19 +++++++++++++++++++ navigator/components/SortFunctions.js | 19 +++++++++++++++++++ navigator/functions.js | 19 +++++++++++++++++++ 11 files changed, 209 insertions(+) diff --git a/navigator/components/FileUpload.js b/navigator/components/FileUpload.js index 424ad77..f65139b 100644 --- a/navigator/components/FileUpload.js +++ b/navigator/components/FileUpload.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavWindow} from "./NavWindow.js"; import {format_time_remaining} from "../functions.js"; diff --git a/navigator/components/ModalPrompt.js b/navigator/components/ModalPrompt.js index de7a6c1..bfebdc5 100644 --- a/navigator/components/ModalPrompt.js +++ b/navigator/components/ModalPrompt.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + /** * @typedef {Object} Request * @property {string} label diff --git a/navigator/components/NavContextMenu.js b/navigator/components/NavContextMenu.js index ad27e2b..a34bdf9 100644 --- a/navigator/components/NavContextMenu.js +++ b/navigator/components/NavContextMenu.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavEntry} from "./NavEntry.js"; import {NavFile, NavFileLink} from "./NavFile.js"; import {NavDir, NavDirLink} from "./NavDir.js"; diff --git a/navigator/components/NavDir.js b/navigator/components/NavDir.js index f55b2d6..a946120 100644 --- a/navigator/components/NavDir.js +++ b/navigator/components/NavDir.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavEntry} from "./NavEntry.js"; import {NavFile, NavFileLink} from "./NavFile.js"; import {NavWindow} from "./NavWindow.js"; diff --git a/navigator/components/NavDownloader.js b/navigator/components/NavDownloader.js index dd6e84d..fa64df7 100644 --- a/navigator/components/NavDownloader.js +++ b/navigator/components/NavDownloader.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavFile} from "./NavFile.js"; export class NavDownloader { diff --git a/navigator/components/NavDragDrop.js b/navigator/components/NavDragDrop.js index d29ce55..3ffc75f 100644 --- a/navigator/components/NavDragDrop.js +++ b/navigator/components/NavDragDrop.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {FileUpload} from "./FileUpload.js"; import {NavWindow} from "./NavWindow.js"; diff --git a/navigator/components/NavEntry.js b/navigator/components/NavEntry.js index abc92af..45eef0e 100644 --- a/navigator/components/NavEntry.js +++ b/navigator/components/NavEntry.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavWindow} from "./NavWindow.js"; import {format_bytes, property_entry_html, format_time} from "../functions.js"; diff --git a/navigator/components/NavFile.js b/navigator/components/NavFile.js index 9556ec5..199d6db 100644 --- a/navigator/components/NavFile.js +++ b/navigator/components/NavFile.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavEntry} from "./NavEntry.js"; import {NavDownloader} from "./NavDownloader.js"; import {NavWindow} from "./NavWindow.js"; diff --git a/navigator/components/NavWindow.js b/navigator/components/NavWindow.js index a88cc1d..b7e3955 100644 --- a/navigator/components/NavWindow.js +++ b/navigator/components/NavWindow.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + import {NavEntry} from "./NavEntry.js"; import {NavDir} from "./NavDir.js"; import {NavContextMenu} from "./NavContextMenu.js"; diff --git a/navigator/components/SortFunctions.js b/navigator/components/SortFunctions.js index 96bd4ad..bb7845b 100644 --- a/navigator/components/SortFunctions.js +++ b/navigator/components/SortFunctions.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + export class SortFunctions { constructor() { this.orders = { diff --git a/navigator/functions.js b/navigator/functions.js index cb37dc3..cbada10 100644 --- a/navigator/functions.js +++ b/navigator/functions.js @@ -1,3 +1,22 @@ +/* + Cockpit Navigator - A File System Browser for Cockpit. + Copyright (C) 2021 Josh Boudreau + Copyright (C) 2021 Sam Silver + Copyright (C) 2021 Dawson Della Valle + + This file is part of Cockpit Navigator. + Cockpit Navigator is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Cockpit Navigator 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with Cockpit Navigator. If not, see . + */ + /** * * @param {string} key