mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Add license headers
lame but necessary
This commit is contained in:
parent
3b342e52db
commit
17f0709a42
20
dist/gui.js
vendored
20
dist/gui.js
vendored
@ -1,5 +1,25 @@
|
|||||||
window.gui_env="prod";
|
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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
window.puter_gui_enabled = true;
|
window.puter_gui_enabled = true;
|
||||||
/**
|
/**
|
||||||
* Initializes and configures the GUI (Graphical User Interface) settings based on the provided options.
|
* Initializes and configures the GUI (Graphical User Interface) settings based on the provided options.
|
||||||
|
20
src/IPC.js
20
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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIAlert from './UI/UIAlert.js';
|
import UIAlert from './UI/UIAlert.js';
|
||||||
import UIWindow from './UI/UIWindow.js';
|
import UIWindow from './UI/UIWindow.js';
|
||||||
import UIWindowSignup from './UI/UIWindowSignup.js';
|
import UIWindowSignup from './UI/UIWindowSignup.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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
function UIAlert(options){
|
function UIAlert(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
function UIContextMenu(options){
|
function UIContextMenu(options){
|
||||||
$('.window-active .window-app-iframe').css('pointer-events', 'none');
|
$('.window-active .window-app-iframe').css('pointer-events', 'none');
|
||||||
|
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import path from "../lib/path.js"
|
import path from "../lib/path.js"
|
||||||
import UIWindowClaimReferral from "./UIWindowClaimReferral.js"
|
import UIWindowClaimReferral from "./UIWindowClaimReferral.js"
|
||||||
import UIContextMenu from './UIContextMenu.js'
|
import UIContextMenu from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindowPublishWebsite from './UIWindowPublishWebsite.js';
|
import UIWindowPublishWebsite from './UIWindowPublishWebsite.js';
|
||||||
import UIWindowItemProperties from './UIWindowItemProperties.js';
|
import UIWindowItemProperties from './UIWindowItemProperties.js';
|
||||||
import UIWindowGetCopyLink from './UIWindowGetCopyLink.js';
|
import UIWindowGetCopyLink from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
function UINotification(options){
|
function UINotification(options){
|
||||||
global_element_id++;
|
global_element_id++;
|
||||||
|
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// todo change to apps popover or sth
|
// todo change to apps popover or sth
|
||||||
function UIPopover(options){
|
function UIPopover(options){
|
||||||
// skip if popover already open
|
// skip if popover already open
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
function UIPrompt(options){
|
function UIPrompt(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UITaskbarItem from './UITaskbarItem.js'
|
import UITaskbarItem from './UITaskbarItem.js'
|
||||||
import UIPopover from './UIPopover.js'
|
import UIPopover from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIContextMenu from './UIContextMenu.js';
|
import UIContextMenu from './UIContextMenu.js';
|
||||||
|
|
||||||
let tray_item_id = 1;
|
let tray_item_id = 1;
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIAlert from './UIAlert.js';
|
import UIAlert from './UIAlert.js';
|
||||||
import UIContextMenu from './UIContextMenu.js';
|
import UIContextMenu from './UIContextMenu.js';
|
||||||
import path from '../lib/path.js';
|
import path from '../lib/path.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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowChangePassword(){
|
async function UIWindowChangePassword(){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import update_username_in_gui from '../helpers/update_username_in_gui.js'
|
import update_username_in_gui from '../helpers/update_username_in_gui.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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIWindowSaveAccount from './UIWindowSaveAccount.js';
|
import UIWindowSaveAccount from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowColorPicker(options){
|
async function UIWindowColorPicker(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowDesktopBGSettings(){
|
async function UIWindowDesktopBGSettings(){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowDownloadDirProg(options){
|
async function UIWindowDownloadDirProg(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIAlert from './UIAlert.js'
|
import UIAlert from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowQR(options){
|
async function UIWindowQR(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
let fontAvailable = new Set();
|
let fontAvailable = new Set();
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIPopover from './UIPopover.js'
|
import UIPopover from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIWindowSignup from './UIWindowSignup.js'
|
import UIWindowSignup from './UIWindowSignup.js'
|
||||||
import UIWindowRecoverPassword from './UIWindowRecoverPassword.js'
|
import UIWindowRecoverPassword from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowLoginInProgress(options){
|
async function UIWindowLoginInProgress(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIContextMenu from './UIContextMenu.js'
|
import UIContextMenu from './UIContextMenu.js'
|
||||||
import UIAlert from './UIAlert.js'
|
import UIAlert from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIAlert from './UIAlert.js'
|
import UIAlert from './UIAlert.js'
|
||||||
import UIWindowLogin from './UIWindowLogin.js'
|
import UIWindowLogin from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIWindowMyWebsites from './UIWindowMyWebsites.js'
|
import UIWindowMyWebsites from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowQR(options){
|
async function UIWindowQR(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIAlert from './UIAlert.js'
|
import UIAlert from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIPopover from './UIPopover.js'
|
import UIPopover from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowRequestFiles(options){
|
async function UIWindowRequestFiles(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowRequestPermission(options){
|
async function UIWindowRequestPermission(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIWindowEmailConfirmationRequired from './UIWindowEmailConfirmationRequired.js'
|
import UIWindowEmailConfirmationRequired from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
async function UIWindowSelfhostedWaitlist(options){
|
async function UIWindowSelfhostedWaitlist(options){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIWindowLogin from './UIWindowLogin.js'
|
import UIWindowLogin from './UIWindowLogin.js'
|
||||||
import UIWindowSignup from './UIWindowSignup.js'
|
import UIWindowSignup from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
import UIWindowLogin from './UIWindowLogin.js'
|
import UIWindowLogin from './UIWindowLogin.js'
|
||||||
import UIWindowEmailConfirmationRequired from './UIWindowEmailConfirmationRequired.js'
|
import UIWindowEmailConfirmationRequired from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIWindow from './UIWindow.js'
|
import UIWindow from './UIWindow.js'
|
||||||
|
|
||||||
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
// todo do this using uid rather than item_path, since item_path is way mroe expensive on the DB
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
window.clipboard_op = '';
|
window.clipboard_op = '';
|
||||||
window.clipboard = [];
|
window.clipboard = [];
|
||||||
window.window_nav_history = {};
|
window.window_nav_history = {};
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import path from "./lib/path.js"
|
import path from "./lib/path.js"
|
||||||
import mime from "./lib/mime.js";
|
import mime from "./lib/mime.js";
|
||||||
import UIAlert from './UI/UIAlert.js'
|
import UIAlert from './UI/UIAlert.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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps a MIME/Content type to the appropriate icon.
|
* Maps a MIME/Content type to the appropriate icon.
|
||||||
*
|
*
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Launches a download process for an item, tracking its progress and handling success or error states.
|
* 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.
|
* The function returns a promise that resolves with the downloaded item or rejects in case of an error.
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the last touch coordinates based on the event type.
|
* Updates the last touch coordinates based on the event type.
|
||||||
* If the event is 'touchstart', it takes the coordinates from the touch object.
|
* If the event is 'touchstart', it takes the coordinates from the touch object.
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
const update_title_based_on_uploads = function(){
|
const update_title_based_on_uploads = function(){
|
||||||
const active_uploads_count = _.size(active_uploads);
|
const active_uploads_count = _.size(active_uploads);
|
||||||
if(active_uploads_count === 1 && !isNaN(Object.values(active_uploads)[0])){
|
if(active_uploads_count === 1 && !isNaN(Object.values(active_uploads)[0])){
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
const update_username_in_gui = function(new_username){
|
const update_username_in_gui = function(new_username){
|
||||||
// ------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// Update all item/window/... paths, with the new username
|
// Update all item/window/... paths, with the new username
|
||||||
|
20
src/index.js
20
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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
window.puter_gui_enabled = true;
|
window.puter_gui_enabled = true;
|
||||||
/**
|
/**
|
||||||
* Initializes and configures the GUI (Graphical User Interface) settings based on the provided options.
|
* Initializes and configures the GUI (Graphical User Interface) settings based on the provided options.
|
||||||
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
import UIDesktop from './UI/UIDesktop.js'
|
import UIDesktop from './UI/UIDesktop.js'
|
||||||
import UIWindow from './UI/UIWindow.js'
|
import UIWindow from './UI/UIWindow.js'
|
||||||
import UIAlert from './UI/UIAlert.js'
|
import UIAlert from './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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// Ordered list of statically-linked external JS libraries and scripts
|
// Ordered list of statically-linked external JS libraries and scripts
|
||||||
const lib_paths =[
|
const lib_paths =[
|
||||||
`/lib/jquery-3.6.1/jquery-3.6.1.min.js`,
|
`/lib/jquery-3.6.1/jquery-3.6.1.min.js`,
|
||||||
|
20
utils.js
20
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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
const {encode} = require('html-entities');
|
const {encode} = require('html-entities');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
Loading…
Reference in New Issue
Block a user