From 0b18cac914bbd6ba1ee916d081609587a6e3f4a7 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 6 Mar 2020 21:10:32 +0200 Subject: [PATCH] Licensing: add license headers to source files. --- AUTHORS | 7 +++++++ src/App.test.tsx | 3 +++ src/App.tsx | 3 +++ src/Debug.tsx | 3 +++ src/Journals/ImportDialog.tsx | 3 +++ src/Journals/Journal.tsx | 3 +++ src/Journals/JournalEdit.tsx | 3 +++ src/Journals/JournalMemberAddDialog.tsx | 3 +++ src/Journals/JournalMembers.tsx | 3 +++ src/Journals/JournalsList.tsx | 3 +++ src/Journals/JournalsListImport.tsx | 3 +++ src/Journals/index.tsx | 3 +++ src/Journals/journalView.tsx | 3 +++ src/LoginGate.tsx | 3 +++ src/Pim/PimMain.tsx | 3 +++ src/Pim/index.tsx | 3 +++ src/Settings/index.tsx | 3 +++ src/SideMenu/index.tsx | 3 +++ src/SyncGate.tsx | 3 +++ src/components/AddressBook.tsx | 3 +++ src/components/Calendar.tsx | 3 +++ src/components/Contact.tsx | 3 +++ src/components/ContactEdit.tsx | 3 +++ src/components/EncryptionLoginForm.tsx | 3 +++ src/components/ErrorBoundary.tsx | 3 +++ src/components/Event.tsx | 3 +++ src/components/EventEdit.tsx | 3 +++ src/components/JournalEntries.tsx | 3 +++ src/components/LoginForm.tsx | 3 +++ src/components/PimItemHeader.tsx | 3 +++ src/components/SearchableAddressBook.tsx | 3 +++ src/components/Task.tsx | 3 +++ src/components/TaskEdit.tsx | 3 +++ src/components/TaskList.tsx | 3 +++ src/constants/index.ts | 3 +++ src/etesync-helpers.ts | 3 +++ src/helpers.tsx | 3 +++ src/icons/Copy.tsx | 3 +++ src/index.tsx | 3 +++ src/journal-processors.test.ts | 3 +++ src/journal-processors.ts | 3 +++ src/login/index.tsx | 3 +++ src/persist-state-history.tsx | 3 +++ src/pim-types.ts | 3 +++ src/react-app-env.d.ts | 3 +++ src/registerServiceWorker.ts | 3 +++ src/routes.test.ts | 3 +++ src/routes.ts | 3 +++ src/store/actions.ts | 3 +++ src/store/construct.ts | 3 +++ src/store/index.test.ts | 3 +++ src/store/index.ts | 3 +++ src/store/promise-middleware.ts | 3 +++ src/store/reducers.ts | 3 +++ src/types/ical.js.d.ts | 3 +++ src/types/redux-persist.d.ts | 3 +++ src/widgets/AppBarOverride.tsx | 3 +++ src/widgets/Avatar.tsx | 3 +++ src/widgets/ColorBox.tsx | 3 +++ src/widgets/ColorPicker.tsx | 3 +++ src/widgets/ConfirmationDialog.tsx | 3 +++ src/widgets/Container.tsx | 3 +++ src/widgets/DateTimePicker.tsx | 3 +++ src/widgets/ExternalLink.tsx | 3 +++ src/widgets/List.tsx | 3 +++ src/widgets/LoadingIndicator.tsx | 3 +++ src/widgets/PrettyError.tsx | 3 +++ src/widgets/PrettyFingerprint.tsx | 3 +++ src/widgets/RRule.tsx | 3 +++ src/widgets/TimezonePicker.tsx | 3 +++ src/widgets/withSpin.tsx | 3 +++ 71 files changed, 217 insertions(+) create mode 100644 AUTHORS diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..90912d1 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,7 @@ +Tom Hacohen +Tal Leibman +Tom Hacohen +rugk +Andrew P Maney +Bryce McNab +Claus Niesen diff --git a/src/App.test.tsx b/src/App.test.tsx index a758f0c..8b416f5 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; diff --git a/src/App.tsx b/src/App.tsx index 6983d8d..dc76314 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { List as ImmutableList } from 'immutable'; import { connect } from 'react-redux'; diff --git a/src/Debug.tsx b/src/Debug.tsx index 30b725e..c357773 100644 --- a/src/Debug.tsx +++ b/src/Debug.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import * as EteSync from 'etesync'; import Button from '@material-ui/core/Button'; diff --git a/src/Journals/ImportDialog.tsx b/src/Journals/ImportDialog.tsx index 99f59f3..b373f83 100644 --- a/src/Journals/ImportDialog.tsx +++ b/src/Journals/ImportDialog.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Button from '@material-ui/core/Button'; diff --git a/src/Journals/Journal.tsx b/src/Journals/Journal.tsx index c005f70..e8c8cda 100644 --- a/src/Journals/Journal.tsx +++ b/src/Journals/Journal.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import IconButton from '@material-ui/core/IconButton'; import Tab from '@material-ui/core/Tab'; diff --git a/src/Journals/JournalEdit.tsx b/src/Journals/JournalEdit.tsx index 29ffed4..dab7139 100644 --- a/src/Journals/JournalEdit.tsx +++ b/src/Journals/JournalEdit.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Button from '@material-ui/core/Button'; import TextField from '@material-ui/core/TextField'; diff --git a/src/Journals/JournalMemberAddDialog.tsx b/src/Journals/JournalMemberAddDialog.tsx index fcceb30..50ffdfb 100644 --- a/src/Journals/JournalMemberAddDialog.tsx +++ b/src/Journals/JournalMemberAddDialog.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import TextField from '@material-ui/core/TextField'; diff --git a/src/Journals/JournalMembers.tsx b/src/Journals/JournalMembers.tsx index aed778a..8ec2b15 100644 --- a/src/Journals/JournalMembers.tsx +++ b/src/Journals/JournalMembers.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import sjcl from 'sjcl'; diff --git a/src/Journals/JournalsList.tsx b/src/Journals/JournalsList.tsx index 2dc0b26..3a9375d 100644 --- a/src/Journals/JournalsList.tsx +++ b/src/Journals/JournalsList.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { History } from 'history'; diff --git a/src/Journals/JournalsListImport.tsx b/src/Journals/JournalsListImport.tsx index 8de2877..1b56224 100644 --- a/src/Journals/JournalsListImport.tsx +++ b/src/Journals/JournalsListImport.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { List, ListItem } from '../widgets/List'; diff --git a/src/Journals/index.tsx b/src/Journals/index.tsx index 8ee361d..f946d00 100644 --- a/src/Journals/index.tsx +++ b/src/Journals/index.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { Location, History } from 'history'; import { Route, Switch } from 'react-router'; diff --git a/src/Journals/journalView.tsx b/src/Journals/journalView.tsx index a858b4e..9ef8891 100644 --- a/src/Journals/journalView.tsx +++ b/src/Journals/journalView.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { Route, Switch, withRouter } from 'react-router'; diff --git a/src/LoginGate.tsx b/src/LoginGate.tsx index 1bc893d..03f0222 100644 --- a/src/LoginGate.tsx +++ b/src/LoginGate.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { Action } from 'redux-actions'; diff --git a/src/Pim/PimMain.tsx b/src/Pim/PimMain.tsx index 67b92c8..a80c348 100644 --- a/src/Pim/PimMain.tsx +++ b/src/Pim/PimMain.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Fab from '@material-ui/core/Fab'; import ContentAdd from '@material-ui/icons/Add'; diff --git a/src/Pim/index.tsx b/src/Pim/index.tsx index cdfbed8..7aa2789 100644 --- a/src/Pim/index.tsx +++ b/src/Pim/index.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { Route, Switch } from 'react-router'; import Button from '@material-ui/core/Button'; diff --git a/src/Settings/index.tsx b/src/Settings/index.tsx index 13617d0..dadace6 100644 --- a/src/Settings/index.tsx +++ b/src/Settings/index.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { connect, useSelector } from 'react-redux'; import { History } from 'history'; diff --git a/src/SideMenu/index.tsx b/src/SideMenu/index.tsx index 369edd7..a485f65 100644 --- a/src/SideMenu/index.tsx +++ b/src/SideMenu/index.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { connect } from 'react-redux'; import { RouteComponentProps, withRouter } from 'react-router'; diff --git a/src/SyncGate.tsx b/src/SyncGate.tsx index 2ba4db0..c1dcad9 100644 --- a/src/SyncGate.tsx +++ b/src/SyncGate.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { useSelector } from 'react-redux'; import { Route, Switch, Redirect, RouteComponentProps, withRouter } from 'react-router'; diff --git a/src/components/AddressBook.tsx b/src/components/AddressBook.tsx index ef43b7f..1f53fe6 100644 --- a/src/components/AddressBook.tsx +++ b/src/components/AddressBook.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { createSelector } from 'reselect'; diff --git a/src/components/Calendar.tsx b/src/components/Calendar.tsx index e2c44d9..cae918c 100644 --- a/src/components/Calendar.tsx +++ b/src/components/Calendar.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { Calendar as BigCalendar, momentLocalizer, View } from 'react-big-calendar'; import 'react-big-calendar/lib/css/react-big-calendar.css'; diff --git a/src/components/Contact.tsx b/src/components/Contact.tsx index 6d454e2..ca8212c 100644 --- a/src/components/Contact.tsx +++ b/src/components/Contact.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import moment from 'moment'; diff --git a/src/components/ContactEdit.tsx b/src/components/ContactEdit.tsx index cff61ce..d2fb3de 100644 --- a/src/components/ContactEdit.tsx +++ b/src/components/ContactEdit.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import IconButton from '@material-ui/core/IconButton'; import Button from '@material-ui/core/Button'; diff --git a/src/components/EncryptionLoginForm.tsx b/src/components/EncryptionLoginForm.tsx index 97be3ac..495e138 100644 --- a/src/components/EncryptionLoginForm.tsx +++ b/src/components/EncryptionLoginForm.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Button from '@material-ui/core/Button'; import TextField from '@material-ui/core/TextField'; diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx index fd2cd73..7583cec 100644 --- a/src/components/ErrorBoundary.tsx +++ b/src/components/ErrorBoundary.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { store, persistor } from '../store'; diff --git a/src/components/Event.tsx b/src/components/Event.tsx index f5846ba..97d5fb3 100644 --- a/src/components/Event.tsx +++ b/src/components/Event.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import PimItemHeader from './PimItemHeader'; diff --git a/src/components/EventEdit.tsx b/src/components/EventEdit.tsx index 22b7d51..41f638f 100644 --- a/src/components/EventEdit.tsx +++ b/src/components/EventEdit.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import FormGroup from '@material-ui/core/FormGroup'; diff --git a/src/components/JournalEntries.tsx b/src/components/JournalEntries.tsx index c8afc43..4bc1860 100644 --- a/src/components/JournalEntries.tsx +++ b/src/components/JournalEntries.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as Immutable from 'immutable'; import * as React from 'react'; diff --git a/src/components/LoginForm.tsx b/src/components/LoginForm.tsx index 4a0d9e0..9c877eb 100644 --- a/src/components/LoginForm.tsx +++ b/src/components/LoginForm.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Button from '@material-ui/core/Button'; import TextField from '@material-ui/core/TextField'; diff --git a/src/components/PimItemHeader.tsx b/src/components/PimItemHeader.tsx index c79a70a..1d48591 100644 --- a/src/components/PimItemHeader.tsx +++ b/src/components/PimItemHeader.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { Theme, withTheme } from '@material-ui/core/styles'; diff --git a/src/components/SearchableAddressBook.tsx b/src/components/SearchableAddressBook.tsx index 3edbe87..749f001 100644 --- a/src/components/SearchableAddressBook.tsx +++ b/src/components/SearchableAddressBook.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import TextField from '@material-ui/core/TextField'; diff --git a/src/components/Task.tsx b/src/components/Task.tsx index d9abbb2..09986b2 100644 --- a/src/components/Task.tsx +++ b/src/components/Task.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import PimItemHeader from './PimItemHeader'; diff --git a/src/components/TaskEdit.tsx b/src/components/TaskEdit.tsx index 51e3252..84d864e 100644 --- a/src/components/TaskEdit.tsx +++ b/src/components/TaskEdit.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import FormGroup from '@material-ui/core/FormGroup'; diff --git a/src/components/TaskList.tsx b/src/components/TaskList.tsx index eb2c0a5..509ef07 100644 --- a/src/components/TaskList.tsx +++ b/src/components/TaskList.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { createSelector } from 'reselect'; diff --git a/src/constants/index.ts b/src/constants/index.ts index a55aeb0..7d69144 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + export const appName = 'EteSync'; export const homePage = 'https://www.etesync.com/'; export const faq = homePage + 'faq/'; diff --git a/src/etesync-helpers.ts b/src/etesync-helpers.ts index d20efca..9658ee5 100644 --- a/src/etesync-helpers.ts +++ b/src/etesync-helpers.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as EteSync from 'etesync'; import { CredentialsData, UserInfoData } from './store'; diff --git a/src/helpers.tsx b/src/helpers.tsx index 2783adc..0aadeef 100644 --- a/src/helpers.tsx +++ b/src/helpers.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import * as ICAL from 'ical.js'; import moment from 'moment'; diff --git a/src/icons/Copy.tsx b/src/icons/Copy.tsx index 5a2cf92..58c8b28 100644 --- a/src/icons/Copy.tsx +++ b/src/icons/Copy.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import SvgIcon from '@material-ui/core/SvgIcon'; diff --git a/src/index.tsx b/src/index.tsx index 6dbd0d0..e53c3e2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; diff --git a/src/journal-processors.test.ts b/src/journal-processors.test.ts index bcbe3b4..effe7e7 100644 --- a/src/journal-processors.test.ts +++ b/src/journal-processors.test.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { colorHtmlToInt, colorIntToHtml } from './journal-processors'; it('Color conversion', () => { diff --git a/src/journal-processors.ts b/src/journal-processors.ts index b684d2b..0aa6ce1 100644 --- a/src/journal-processors.ts +++ b/src/journal-processors.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { List } from 'immutable'; import { EventType, ContactType, TaskType } from './pim-types'; diff --git a/src/login/index.tsx b/src/login/index.tsx index c1fda3a..a7a3977 100644 --- a/src/login/index.tsx +++ b/src/login/index.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { shallowEqual, useSelector } from 'react-redux'; import { createSelector } from 'reselect'; diff --git a/src/persist-state-history.tsx b/src/persist-state-history.tsx index c7b3508..acb72dd 100644 --- a/src/persist-state-history.tsx +++ b/src/persist-state-history.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { withRouter } from 'react-router'; diff --git a/src/pim-types.ts b/src/pim-types.ts index 2f9ff43..56614ae 100644 --- a/src/pim-types.ts +++ b/src/pim-types.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as ICAL from 'ical.js'; import * as zones from './data/zones.json'; diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts index 6431bc5..1b44226 100644 --- a/src/react-app-env.d.ts +++ b/src/react-app-env.d.ts @@ -1 +1,4 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + /// diff --git a/src/registerServiceWorker.ts b/src/registerServiceWorker.ts index 79e68d1..1f447f3 100644 --- a/src/registerServiceWorker.ts +++ b/src/registerServiceWorker.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + // tslint:disable:no-console // In production, we register a service worker to serve assets from local cache. diff --git a/src/routes.test.ts b/src/routes.test.ts index c46f62b..5bcf2b2 100644 --- a/src/routes.test.ts +++ b/src/routes.test.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { RouteResolver } from './routes'; const routes = { diff --git a/src/routes.ts b/src/routes.ts index 7a0379a..ea17eff 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + export interface RouteKeysType { [Identifier: string]: any; } diff --git a/src/store/actions.ts b/src/store/actions.ts index 2fd3439..f382fe3 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { Action, createAction, createActions } from 'redux-actions'; import * as EteSync from 'etesync'; diff --git a/src/store/construct.ts b/src/store/construct.ts index b83d6ba..7ee0155 100644 --- a/src/store/construct.ts +++ b/src/store/construct.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as localforage from 'localforage'; import { combineReducers } from 'redux'; import { createMigrate, persistReducer, createTransform } from 'redux-persist'; diff --git a/src/store/index.test.ts b/src/store/index.test.ts index f3c05ee..8a1a2a3 100644 --- a/src/store/index.test.ts +++ b/src/store/index.test.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { addEntries, fetchEntries } from './actions'; import { entries, EntriesData } from './reducers'; diff --git a/src/store/index.ts b/src/store/index.ts index 1c9ad0a..0ac6995 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { createStore, applyMiddleware } from 'redux'; import { persistStore } from 'redux-persist'; import thunkMiddleware from 'redux-thunk'; diff --git a/src/store/promise-middleware.ts b/src/store/promise-middleware.ts index 3ca47b5..ca2c72f 100644 --- a/src/store/promise-middleware.ts +++ b/src/store/promise-middleware.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + // Based on: https://github.com/acdlite/redux-promise/blob/master/src/index.js function isPromise(val: any): val is Promise { diff --git a/src/store/reducers.ts b/src/store/reducers.ts index 0d0ea42..e1b0cdb 100644 --- a/src/store/reducers.ts +++ b/src/store/reducers.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import { Action, ActionMeta, ActionFunctionAny, combineActions, handleAction, handleActions } from 'redux-actions'; import { shallowEqual } from 'react-redux'; diff --git a/src/types/ical.js.d.ts b/src/types/ical.js.d.ts index da05e89..ee19c36 100644 --- a/src/types/ical.js.d.ts +++ b/src/types/ical.js.d.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + declare module 'ical.js' { function parse(input: string): any[]; diff --git a/src/types/redux-persist.d.ts b/src/types/redux-persist.d.ts index 6d6e080..17e311e 100644 --- a/src/types/redux-persist.d.ts +++ b/src/types/redux-persist.d.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + declare module 'redux-persist'; declare module 'redux-persist/lib/storage/session'; declare module 'redux-persist/es/integration/react'; diff --git a/src/widgets/AppBarOverride.tsx b/src/widgets/AppBarOverride.tsx index d9735f2..f7943d5 100644 --- a/src/widgets/AppBarOverride.tsx +++ b/src/widgets/AppBarOverride.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import * as ReactDOM from 'react-dom'; diff --git a/src/widgets/Avatar.tsx b/src/widgets/Avatar.tsx index ad2aa0f..0934bda 100644 --- a/src/widgets/Avatar.tsx +++ b/src/widgets/Avatar.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; export const Avatar = React.memo((props: { children: React.ReactNode[] | React.ReactNode, size?: number, style?: any }) => { diff --git a/src/widgets/ColorBox.tsx b/src/widgets/ColorBox.tsx index 1539cf6..e7f73ce 100644 --- a/src/widgets/ColorBox.tsx +++ b/src/widgets/ColorBox.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; interface PropsType { diff --git a/src/widgets/ColorPicker.tsx b/src/widgets/ColorPicker.tsx index 190c610..ce4402c 100644 --- a/src/widgets/ColorPicker.tsx +++ b/src/widgets/ColorPicker.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import ColorBox from './ColorBox'; diff --git a/src/widgets/ConfirmationDialog.tsx b/src/widgets/ConfirmationDialog.tsx index 13120c7..372e0a8 100644 --- a/src/widgets/ConfirmationDialog.tsx +++ b/src/widgets/ConfirmationDialog.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Dialog from '@material-ui/core/Dialog'; diff --git a/src/widgets/Container.tsx b/src/widgets/Container.tsx index 2bece09..f2982eb 100644 --- a/src/widgets/Container.tsx +++ b/src/widgets/Container.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Paper from '@material-ui/core/Paper'; diff --git a/src/widgets/DateTimePicker.tsx b/src/widgets/DateTimePicker.tsx index 02e53cb..fae67f9 100644 --- a/src/widgets/DateTimePicker.tsx +++ b/src/widgets/DateTimePicker.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import MomentUtils from '@date-io/moment'; diff --git a/src/widgets/ExternalLink.tsx b/src/widgets/ExternalLink.tsx index 4520227..eb30a95 100644 --- a/src/widgets/ExternalLink.tsx +++ b/src/widgets/ExternalLink.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; export const ExternalLink = React.memo(({ children, ...props }: any) => ( diff --git a/src/widgets/List.tsx b/src/widgets/List.tsx index fe5e93b..c225437 100644 --- a/src/widgets/List.tsx +++ b/src/widgets/List.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import ExternalLink from './ExternalLink'; diff --git a/src/widgets/LoadingIndicator.tsx b/src/widgets/LoadingIndicator.tsx index 64e1580..a418bd7 100644 --- a/src/widgets/LoadingIndicator.tsx +++ b/src/widgets/LoadingIndicator.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import CircularProgress from '@material-ui/core/CircularProgress'; diff --git a/src/widgets/PrettyError.tsx b/src/widgets/PrettyError.tsx index 5c544ae..adc0a53 100644 --- a/src/widgets/PrettyError.tsx +++ b/src/widgets/PrettyError.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; export const PrettyError = React.memo((props: any) => ( diff --git a/src/widgets/PrettyFingerprint.tsx b/src/widgets/PrettyFingerprint.tsx index 73c65d6..9676f13 100644 --- a/src/widgets/PrettyFingerprint.tsx +++ b/src/widgets/PrettyFingerprint.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import sjcl from 'sjcl'; diff --git a/src/widgets/RRule.tsx b/src/widgets/RRule.tsx index a916d7b..c56e8b8 100644 --- a/src/widgets/RRule.tsx +++ b/src/widgets/RRule.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import { TextField, Select, MenuItem, InputLabel, FormControl } from '@material-ui/core'; import DateTimePicker from '../widgets/DateTimePicker'; diff --git a/src/widgets/TimezonePicker.tsx b/src/widgets/TimezonePicker.tsx index 85b4c5b..c47241e 100644 --- a/src/widgets/TimezonePicker.tsx +++ b/src/widgets/TimezonePicker.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import Autocomplete from '@material-ui/lab/Autocomplete'; diff --git a/src/widgets/withSpin.tsx b/src/widgets/withSpin.tsx index 73dbfdc..514802b 100644 --- a/src/widgets/withSpin.tsx +++ b/src/widgets/withSpin.tsx @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2017 EteSync Authors +// SPDX-License-Identifier: AGPL-3.0-only + import * as React from 'react'; import './withSpin.css';