Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Commit

Permalink
doc: added license header to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
stenya committed Aug 11, 2020
1 parent 5f616b1 commit 244dcab
Show file tree
Hide file tree
Showing 18 changed files with 396 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/api/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

const { net } = require("electron");
const log = require("electron-log");

Expand Down
22 changes: 22 additions & 0 deletions src/api/statuscode.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

export const API_SUCCESS = 200;
export const API_SESSION_LIMIT = 602;
22 changes: 22 additions & 0 deletions src/background.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

"use strict";

import { app, protocol, BrowserWindow, Menu, dialog } from "electron";
Expand Down
22 changes: 22 additions & 0 deletions src/connection-resumer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import store from "@/store";
import daemonClient from "./daemon-client";

Expand Down
22 changes: 22 additions & 0 deletions src/daemon-client/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

const log = require("electron-log");
const fs = require("fs");
const net = require("net");
Expand Down
22 changes: 22 additions & 0 deletions src/helpers/helpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

export function isStrNullOrEmpty(str) {
return !str || str.length === 0;
}
Expand Down
22 changes: 22 additions & 0 deletions src/ipc/main-listener.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import client from "../daemon-client";
const { ipcMain } = require("electron");
import store from "@/store";
Expand Down
22 changes: 22 additions & 0 deletions src/ipc/renderer-sender.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

const electron = window.require("electron");
const { ipcRenderer } = electron;

Expand Down
22 changes: 22 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import Vue from "vue";
import App from "./App.vue";
import router from "./router";
Expand Down
22 changes: 22 additions & 0 deletions src/platform/platform.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

export const PlatformEnum = Object.freeze({
unknown: 0,
macOS: 1,
Expand Down
22 changes: 22 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import Vue from "vue";
import VueRouter from "vue-router";
import Main from "../views/Main.vue";
Expand Down
22 changes: 22 additions & 0 deletions src/settings-persistent.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

const fs = require("fs");
import merge from "deepmerge";
import path from "path";
Expand Down
22 changes: 22 additions & 0 deletions src/store/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import Vue from "vue";
import Vuex from "vuex";
import { createSharedMutations } from "vuex-electron";
Expand Down
22 changes: 22 additions & 0 deletions src/store/module-account.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import { isStrNullOrEmpty } from "../helpers/helpers";

export default {
Expand Down
22 changes: 22 additions & 0 deletions src/store/module-settings.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
//
// UI for IVPN Client Desktop
// https://github.com/ivpn/desktop-app-ui-beta
//
// Created by Stelnykovych Alexandr.
// Copyright (c) 2020 Privatus Limited.
//
// This file is part of the UI for IVPN Client Desktop.
//
// The UI for IVPN Client Desktop is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any later version.
//
// The UI for IVPN Client Desktop is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License
// along with the UI for IVPN Client Desktop. If not, see <https://www.gnu.org/licenses/>.
//

import { VpnTypeEnum, Ports } from "@/store/types";
import { enumValueName } from "@/helpers/helpers";
export default {
Expand Down
Loading

0 comments on commit 244dcab

Please sign in to comment.