diff --git a/dist/gui.js b/dist/gui.js index b81eb9aa..fb31f1fc 100644 --- a/dist/gui.js +++ b/dist/gui.js @@ -1,5 +1,25 @@ window.gui_env="prod"; +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + window.puter_gui_enabled = true; /** * Initializes and configures the GUI (Graphical User Interface) settings based on the provided options. diff --git a/src/IPC.js b/src/IPC.js index adc6307b..5a2dcfe0 100644 --- a/src/IPC.js +++ b/src/IPC.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIAlert from './UI/UIAlert.js'; import UIWindow from './UI/UIWindow.js'; import UIWindowSignup from './UI/UIWindowSignup.js'; diff --git a/src/UI/PuterDialog.js b/src/UI/PuterDialog.js index b9240c43..c55dabf8 100644 --- a/src/UI/PuterDialog.js +++ b/src/UI/PuterDialog.js @@ -1,3 +1,21 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ import UIWindow from './UIWindow.js' diff --git a/src/UI/UIAlert.js b/src/UI/UIAlert.js index 67428ba7..2877e779 100644 --- a/src/UI/UIAlert.js +++ b/src/UI/UIAlert.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' function UIAlert(options){ diff --git a/src/UI/UIContextMenu.js b/src/UI/UIContextMenu.js index ce77e9a9..7efa2a6e 100644 --- a/src/UI/UIContextMenu.js +++ b/src/UI/UIContextMenu.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + function UIContextMenu(options){ $('.window-active .window-app-iframe').css('pointer-events', 'none'); diff --git a/src/UI/UIDesktop.js b/src/UI/UIDesktop.js index a9cf8e77..2e46d48d 100644 --- a/src/UI/UIDesktop.js +++ b/src/UI/UIDesktop.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import path from "../lib/path.js" import UIWindowClaimReferral from "./UIWindowClaimReferral.js" import UIContextMenu from './UIContextMenu.js' diff --git a/src/UI/UIItem.js b/src/UI/UIItem.js index fb74ed1a..02b6b4c1 100644 --- a/src/UI/UIItem.js +++ b/src/UI/UIItem.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindowPublishWebsite from './UIWindowPublishWebsite.js'; import UIWindowItemProperties from './UIWindowItemProperties.js'; import UIWindowGetCopyLink from './UIWindowGetCopyLink.js'; diff --git a/src/UI/UINotification.js b/src/UI/UINotification.js index 8b8d1506..50622276 100644 --- a/src/UI/UINotification.js +++ b/src/UI/UINotification.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + function UINotification(options){ global_element_id++; diff --git a/src/UI/UIPopover.js b/src/UI/UIPopover.js index dfa98f2b..e9f0f283 100644 --- a/src/UI/UIPopover.js +++ b/src/UI/UIPopover.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + // todo change to apps popover or sth function UIPopover(options){ // skip if popover already open diff --git a/src/UI/UIPrompt.js b/src/UI/UIPrompt.js index d32ccddb..8e4307d5 100644 --- a/src/UI/UIPrompt.js +++ b/src/UI/UIPrompt.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' function UIPrompt(options){ diff --git a/src/UI/UITaskbar.js b/src/UI/UITaskbar.js index 6f8fcaba..8d02a8f2 100644 --- a/src/UI/UITaskbar.js +++ b/src/UI/UITaskbar.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UITaskbarItem from './UITaskbarItem.js' import UIPopover from './UIPopover.js' diff --git a/src/UI/UITaskbarItem.js b/src/UI/UITaskbarItem.js index 590eaf6d..f6e09514 100644 --- a/src/UI/UITaskbarItem.js +++ b/src/UI/UITaskbarItem.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIContextMenu from './UIContextMenu.js'; let tray_item_id = 1; diff --git a/src/UI/UIWindow.js b/src/UI/UIWindow.js index 07ac6e05..1d3153dc 100644 --- a/src/UI/UIWindow.js +++ b/src/UI/UIWindow.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIAlert from './UIAlert.js'; import UIContextMenu from './UIContextMenu.js'; import path from '../lib/path.js'; diff --git a/src/UI/UIWindowChangePassword.js b/src/UI/UIWindowChangePassword.js index 5cee42e6..c7620d0e 100644 --- a/src/UI/UIWindowChangePassword.js +++ b/src/UI/UIWindowChangePassword.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowChangePassword(){ diff --git a/src/UI/UIWindowChangeUsername.js b/src/UI/UIWindowChangeUsername.js index 76178ac0..66cae46d 100644 --- a/src/UI/UIWindowChangeUsername.js +++ b/src/UI/UIWindowChangeUsername.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import update_username_in_gui from '../helpers/update_username_in_gui.js' diff --git a/src/UI/UIWindowClaimReferral.js b/src/UI/UIWindowClaimReferral.js index 31890910..966c7692 100644 --- a/src/UI/UIWindowClaimReferral.js +++ b/src/UI/UIWindowClaimReferral.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIWindowSaveAccount from './UIWindowSaveAccount.js'; diff --git a/src/UI/UIWindowColorPicker.js b/src/UI/UIWindowColorPicker.js index 291b4ff1..46ddb91f 100644 --- a/src/UI/UIWindowColorPicker.js +++ b/src/UI/UIWindowColorPicker.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowColorPicker(options){ diff --git a/src/UI/UIWindowConfirmDownload.js b/src/UI/UIWindowConfirmDownload.js index eab63325..b63289c9 100644 --- a/src/UI/UIWindowConfirmDownload.js +++ b/src/UI/UIWindowConfirmDownload.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowCopyProgress.js b/src/UI/UIWindowCopyProgress.js index 47e38939..0e022633 100644 --- a/src/UI/UIWindowCopyProgress.js +++ b/src/UI/UIWindowCopyProgress.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowDesktopBGSettings.js b/src/UI/UIWindowDesktopBGSettings.js index 69a9dab6..0462ced6 100644 --- a/src/UI/UIWindowDesktopBGSettings.js +++ b/src/UI/UIWindowDesktopBGSettings.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowDesktopBGSettings(){ diff --git a/src/UI/UIWindowDownloadDirProg.js b/src/UI/UIWindowDownloadDirProg.js index 57719890..1fdf23ba 100644 --- a/src/UI/UIWindowDownloadDirProg.js +++ b/src/UI/UIWindowDownloadDirProg.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowDownloadDirProg(options){ diff --git a/src/UI/UIWindowDownloadProgress.js b/src/UI/UIWindowDownloadProgress.js index 685d35af..12615617 100644 --- a/src/UI/UIWindowDownloadProgress.js +++ b/src/UI/UIWindowDownloadProgress.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowEmailConfirmationRequired.js b/src/UI/UIWindowEmailConfirmationRequired.js index b2c687aa..84cbc829 100644 --- a/src/UI/UIWindowEmailConfirmationRequired.js +++ b/src/UI/UIWindowEmailConfirmationRequired.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIAlert from './UIAlert.js' diff --git a/src/UI/UIWindowFeedback.js b/src/UI/UIWindowFeedback.js index e92ef318..12082967 100644 --- a/src/UI/UIWindowFeedback.js +++ b/src/UI/UIWindowFeedback.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowQR(options){ diff --git a/src/UI/UIWindowFontPicker.js b/src/UI/UIWindowFontPicker.js index 24432e91..642e91fc 100644 --- a/src/UI/UIWindowFontPicker.js +++ b/src/UI/UIWindowFontPicker.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' let fontAvailable = new Set(); diff --git a/src/UI/UIWindowGetCopyLink.js b/src/UI/UIWindowGetCopyLink.js index 022f9dae..660c64dd 100644 --- a/src/UI/UIWindowGetCopyLink.js +++ b/src/UI/UIWindowGetCopyLink.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIPopover from './UIPopover.js' diff --git a/src/UI/UIWindowItemProperties.js b/src/UI/UIWindowItemProperties.js index 8603586e..6c34e017 100644 --- a/src/UI/UIWindowItemProperties.js +++ b/src/UI/UIWindowItemProperties.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowLogin.js b/src/UI/UIWindowLogin.js index 5ecbd747..802207af 100644 --- a/src/UI/UIWindowLogin.js +++ b/src/UI/UIWindowLogin.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIWindowSignup from './UIWindowSignup.js' import UIWindowRecoverPassword from './UIWindowRecoverPassword.js' diff --git a/src/UI/UIWindowLoginInProgress.js b/src/UI/UIWindowLoginInProgress.js index 02690b8a..c2d448dc 100644 --- a/src/UI/UIWindowLoginInProgress.js +++ b/src/UI/UIWindowLoginInProgress.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowLoginInProgress(options){ diff --git a/src/UI/UIWindowMoveProgress.js b/src/UI/UIWindowMoveProgress.js index cade5a59..71edcb1f 100644 --- a/src/UI/UIWindowMoveProgress.js +++ b/src/UI/UIWindowMoveProgress.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowMyWebsites.js b/src/UI/UIWindowMyWebsites.js index ebc5986c..345adfac 100644 --- a/src/UI/UIWindowMyWebsites.js +++ b/src/UI/UIWindowMyWebsites.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIContextMenu from './UIContextMenu.js' import UIAlert from './UIAlert.js' diff --git a/src/UI/UIWindowNewFolderProgress.js b/src/UI/UIWindowNewFolderProgress.js index 653ab580..e4594690 100644 --- a/src/UI/UIWindowNewFolderProgress.js +++ b/src/UI/UIWindowNewFolderProgress.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowNewPassword.js b/src/UI/UIWindowNewPassword.js index f647d8a3..e1eadcd3 100644 --- a/src/UI/UIWindowNewPassword.js +++ b/src/UI/UIWindowNewPassword.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIAlert from './UIAlert.js' import UIWindowLogin from './UIWindowLogin.js' diff --git a/src/UI/UIWindowProgressEmptyTrash.js b/src/UI/UIWindowProgressEmptyTrash.js index 433f7b14..c659feeb 100644 --- a/src/UI/UIWindowProgressEmptyTrash.js +++ b/src/UI/UIWindowProgressEmptyTrash.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/UI/UIWindowPublishWebsite.js b/src/UI/UIWindowPublishWebsite.js index 11f78d9b..fa840713 100644 --- a/src/UI/UIWindowPublishWebsite.js +++ b/src/UI/UIWindowPublishWebsite.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIWindowMyWebsites from './UIWindowMyWebsites.js' diff --git a/src/UI/UIWindowQR.js b/src/UI/UIWindowQR.js index a8be4275..607ddfb7 100644 --- a/src/UI/UIWindowQR.js +++ b/src/UI/UIWindowQR.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowQR(options){ diff --git a/src/UI/UIWindowRecoverPassword.js b/src/UI/UIWindowRecoverPassword.js index 2bba22a2..86cd9dba 100644 --- a/src/UI/UIWindowRecoverPassword.js +++ b/src/UI/UIWindowRecoverPassword.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIAlert from './UIAlert.js' diff --git a/src/UI/UIWindowRefer.js b/src/UI/UIWindowRefer.js index fcafa383..0826b31e 100644 --- a/src/UI/UIWindowRefer.js +++ b/src/UI/UIWindowRefer.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIPopover from './UIPopover.js' diff --git a/src/UI/UIWindowRequestFiles.js b/src/UI/UIWindowRequestFiles.js index d5356cf0..b24f2cef 100644 --- a/src/UI/UIWindowRequestFiles.js +++ b/src/UI/UIWindowRequestFiles.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowRequestFiles(options){ diff --git a/src/UI/UIWindowRequestPermission.js b/src/UI/UIWindowRequestPermission.js index 80b850c7..0cbf430d 100644 --- a/src/UI/UIWindowRequestPermission.js +++ b/src/UI/UIWindowRequestPermission.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowRequestPermission(options){ diff --git a/src/UI/UIWindowSaveAccount.js b/src/UI/UIWindowSaveAccount.js index 312ff135..a8a1f9bd 100644 --- a/src/UI/UIWindowSaveAccount.js +++ b/src/UI/UIWindowSaveAccount.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIWindowEmailConfirmationRequired from './UIWindowEmailConfirmationRequired.js' diff --git a/src/UI/UIWindowSelfhostedWaitlist.js b/src/UI/UIWindowSelfhostedWaitlist.js index cf814ca9..46056b43 100644 --- a/src/UI/UIWindowSelfhostedWaitlist.js +++ b/src/UI/UIWindowSelfhostedWaitlist.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' async function UIWindowSelfhostedWaitlist(options){ diff --git a/src/UI/UIWindowSessionList.js b/src/UI/UIWindowSessionList.js index ea60cb22..e8b9c62b 100644 --- a/src/UI/UIWindowSessionList.js +++ b/src/UI/UIWindowSessionList.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIWindowLogin from './UIWindowLogin.js' import UIWindowSignup from './UIWindowSignup.js' diff --git a/src/UI/UIWindowSignup.js b/src/UI/UIWindowSignup.js index 3ff038fb..e4e85d07 100644 --- a/src/UI/UIWindowSignup.js +++ b/src/UI/UIWindowSignup.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' import UIWindowLogin from './UIWindowLogin.js' import UIWindowEmailConfirmationRequired from './UIWindowEmailConfirmationRequired.js' diff --git a/src/UI/UIWindowUploadProgress.js b/src/UI/UIWindowUploadProgress.js index d6e01870..ecd8d6fe 100644 --- a/src/UI/UIWindowUploadProgress.js +++ b/src/UI/UIWindowUploadProgress.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIWindow from './UIWindow.js' // todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB diff --git a/src/css/style.css b/src/css/style.css index 3800673c..61c1ffaf 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + * { font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif; user-select: none; diff --git a/src/globals.js b/src/globals.js index 591436ba..7f0c7f56 100644 --- a/src/globals.js +++ b/src/globals.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + window.clipboard_op = ''; window.clipboard = []; window.window_nav_history = {}; diff --git a/src/helpers.js b/src/helpers.js index 5b4c5696..d3045aad 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import path from "./lib/path.js" import mime from "./lib/mime.js"; import UIAlert from './UI/UIAlert.js' diff --git a/src/helpers/content_type_to_icon.js b/src/helpers/content_type_to_icon.js index 56f719cd..d80f0262 100644 --- a/src/helpers/content_type_to_icon.js +++ b/src/helpers/content_type_to_icon.js @@ -1,3 +1,22 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + /** * Maps a MIME/Content type to the appropriate icon. * diff --git a/src/helpers/download.js b/src/helpers/download.js index f2cf514b..1cfa8480 100644 --- a/src/helpers/download.js +++ b/src/helpers/download.js @@ -1,3 +1,22 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + /** * Launches a download process for an item, tracking its progress and handling success or error states. * The function returns a promise that resolves with the downloaded item or rejects in case of an error. diff --git a/src/helpers/update_last_touch_coordinates.js b/src/helpers/update_last_touch_coordinates.js index 4e5d96b1..21ebdc8b 100644 --- a/src/helpers/update_last_touch_coordinates.js +++ b/src/helpers/update_last_touch_coordinates.js @@ -1,3 +1,22 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + /** * Updates the last touch coordinates based on the event type. * If the event is 'touchstart', it takes the coordinates from the touch object. diff --git a/src/helpers/update_title_based_on_uploads.js b/src/helpers/update_title_based_on_uploads.js index 40fd6b96..55491644 100644 --- a/src/helpers/update_title_based_on_uploads.js +++ b/src/helpers/update_title_based_on_uploads.js @@ -1,3 +1,22 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + const update_title_based_on_uploads = function(){ const active_uploads_count = _.size(active_uploads); if(active_uploads_count === 1 && !isNaN(Object.values(active_uploads)[0])){ diff --git a/src/helpers/update_username_in_gui.js b/src/helpers/update_username_in_gui.js index cd93fdf4..c302d2b4 100644 --- a/src/helpers/update_username_in_gui.js +++ b/src/helpers/update_username_in_gui.js @@ -1,3 +1,22 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + const update_username_in_gui = function(new_username){ // ------------------------------------------------------------ // Update all item/window/... paths, with the new username diff --git a/src/index.js b/src/index.js index d2efd1ed..afe4e54e 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + window.puter_gui_enabled = true; /** * Initializes and configures the GUI (Graphical User Interface) settings based on the provided options. diff --git a/src/initgui.js b/src/initgui.js index 486b0a81..152125bb 100644 --- a/src/initgui.js +++ b/src/initgui.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + import UIDesktop from './UI/UIDesktop.js' import UIWindow from './UI/UIWindow.js' import UIAlert from './UI/UIAlert.js' diff --git a/src/static-assets.js b/src/static-assets.js index 05697950..35775ffb 100644 --- a/src/static-assets.js +++ b/src/static-assets.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + // Ordered list of statically-linked external JS libraries and scripts const lib_paths =[ `/lib/jquery-3.6.1/jquery-3.6.1.min.js`, diff --git a/utils.js b/utils.js index b27ebdb7..049639d8 100644 --- a/utils.js +++ b/utils.js @@ -1,3 +1,23 @@ +/* +Copyright (C) 2024 Puter Technologies Inc. + +This file is part of Puter.com. + +Puter.com 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. + +This program 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 . +*/ + + const {encode} = require('html-entities'); const fs = require('fs'); const path = require('path');