Licensing: add license headers to source files.

master
Tom Hacohen 5 years ago
parent c00f4d79c7
commit 0b18cac914

@ -0,0 +1,7 @@
Tom Hacohen <tom@stosb.com>
Tal Leibman <leibman2@gmail.com>
Tom Hacohen <tasn@users.noreply.github.com>
rugk <rugk@posteo.de>
Andrew P Maney <amaney@usc.edu>
Bryce McNab <betsythefc@users.noreply.github.com>
Claus Niesen <cniesen@users.noreply.github.com>

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import * as ReactDOM from 'react-dom'; import * as ReactDOM from 'react-dom';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { List as ImmutableList } from 'immutable'; import { List as ImmutableList } from 'immutable';
import { connect } from 'react-redux'; import { connect } from 'react-redux';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import * as EteSync from 'etesync'; import * as EteSync from 'etesync';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import IconButton from '@material-ui/core/IconButton'; import IconButton from '@material-ui/core/IconButton';
import Tab from '@material-ui/core/Tab'; import Tab from '@material-ui/core/Tab';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField'; import TextField from '@material-ui/core/TextField';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import TextField from '@material-ui/core/TextField'; import TextField from '@material-ui/core/TextField';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import sjcl from 'sjcl'; import sjcl from 'sjcl';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { History } from 'history'; import { History } from 'history';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { List, ListItem } from '../widgets/List'; import { List, ListItem } from '../widgets/List';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { Location, History } from 'history'; import { Location, History } from 'history';
import { Route, Switch } from 'react-router'; import { Route, Switch } from 'react-router';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { Route, Switch, withRouter } from 'react-router'; import { Route, Switch, withRouter } from 'react-router';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { Action } from 'redux-actions'; import { Action } from 'redux-actions';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Fab from '@material-ui/core/Fab'; import Fab from '@material-ui/core/Fab';
import ContentAdd from '@material-ui/icons/Add'; import ContentAdd from '@material-ui/icons/Add';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { Route, Switch } from 'react-router'; import { Route, Switch } from 'react-router';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { connect, useSelector } from 'react-redux'; import { connect, useSelector } from 'react-redux';
import { History } from 'history'; import { History } from 'history';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { RouteComponentProps, withRouter } from 'react-router'; import { RouteComponentProps, withRouter } from 'react-router';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { useSelector } from 'react-redux'; import { useSelector } from 'react-redux';
import { Route, Switch, Redirect, RouteComponentProps, withRouter } from 'react-router'; import { Route, Switch, Redirect, RouteComponentProps, withRouter } from 'react-router';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { Calendar as BigCalendar, momentLocalizer, View } from 'react-big-calendar'; import { Calendar as BigCalendar, momentLocalizer, View } from 'react-big-calendar';
import 'react-big-calendar/lib/css/react-big-calendar.css'; import 'react-big-calendar/lib/css/react-big-calendar.css';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import moment from 'moment'; import moment from 'moment';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import IconButton from '@material-ui/core/IconButton'; import IconButton from '@material-ui/core/IconButton';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField'; import TextField from '@material-ui/core/TextField';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { store, persistor } from '../store'; import { store, persistor } from '../store';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import PimItemHeader from './PimItemHeader'; import PimItemHeader from './PimItemHeader';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import FormGroup from '@material-ui/core/FormGroup'; import FormGroup from '@material-ui/core/FormGroup';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as Immutable from 'immutable'; import * as Immutable from 'immutable';
import * as React from 'react'; import * as React from 'react';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField'; import TextField from '@material-ui/core/TextField';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { Theme, withTheme } from '@material-ui/core/styles'; import { Theme, withTheme } from '@material-ui/core/styles';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import TextField from '@material-ui/core/TextField'; import TextField from '@material-ui/core/TextField';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import PimItemHeader from './PimItemHeader'; import PimItemHeader from './PimItemHeader';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import FormGroup from '@material-ui/core/FormGroup'; import FormGroup from '@material-ui/core/FormGroup';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
export const appName = 'EteSync'; export const appName = 'EteSync';
export const homePage = 'https://www.etesync.com/'; export const homePage = 'https://www.etesync.com/';
export const faq = homePage + 'faq/'; export const faq = homePage + 'faq/';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as EteSync from 'etesync'; import * as EteSync from 'etesync';
import { CredentialsData, UserInfoData } from './store'; import { CredentialsData, UserInfoData } from './store';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import * as ICAL from 'ical.js'; import * as ICAL from 'ical.js';
import moment from 'moment'; import moment from 'moment';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import SvgIcon from '@material-ui/core/SvgIcon'; import SvgIcon from '@material-ui/core/SvgIcon';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import * as ReactDOM from 'react-dom'; import * as ReactDOM from 'react-dom';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { colorHtmlToInt, colorIntToHtml } from './journal-processors'; import { colorHtmlToInt, colorIntToHtml } from './journal-processors';
it('Color conversion', () => { it('Color conversion', () => {

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { List } from 'immutable'; import { List } from 'immutable';
import { EventType, ContactType, TaskType } from './pim-types'; import { EventType, ContactType, TaskType } from './pim-types';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { shallowEqual, useSelector } from 'react-redux'; import { shallowEqual, useSelector } from 'react-redux';
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { withRouter } from 'react-router'; import { withRouter } from 'react-router';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as ICAL from 'ical.js'; import * as ICAL from 'ical.js';
import * as zones from './data/zones.json'; import * as zones from './data/zones.json';

@ -1 +1,4 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
/// <reference types="react-scripts" /> /// <reference types="react-scripts" />

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
// tslint:disable:no-console // tslint:disable:no-console
// In production, we register a service worker to serve assets from local cache. // In production, we register a service worker to serve assets from local cache.

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { RouteResolver } from './routes'; import { RouteResolver } from './routes';
const routes = { const routes = {

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
export interface RouteKeysType { export interface RouteKeysType {
[Identifier: string]: any; [Identifier: string]: any;
} }

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { Action, createAction, createActions } from 'redux-actions'; import { Action, createAction, createActions } from 'redux-actions';
import * as EteSync from 'etesync'; import * as EteSync from 'etesync';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as localforage from 'localforage'; import * as localforage from 'localforage';
import { combineReducers } from 'redux'; import { combineReducers } from 'redux';
import { createMigrate, persistReducer, createTransform } from 'redux-persist'; import { createMigrate, persistReducer, createTransform } from 'redux-persist';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { addEntries, fetchEntries } from './actions'; import { addEntries, fetchEntries } from './actions';
import { entries, EntriesData } from './reducers'; import { entries, EntriesData } from './reducers';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import { createStore, applyMiddleware } from 'redux'; import { createStore, applyMiddleware } from 'redux';
import { persistStore } from 'redux-persist'; import { persistStore } from 'redux-persist';
import thunkMiddleware from 'redux-thunk'; import thunkMiddleware from 'redux-thunk';

@ -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 // Based on: https://github.com/acdlite/redux-promise/blob/master/src/index.js
function isPromise(val: any): val is Promise<any> { function isPromise(val: any): val is Promise<any> {

@ -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 { Action, ActionMeta, ActionFunctionAny, combineActions, handleAction, handleActions } from 'redux-actions';
import { shallowEqual } from 'react-redux'; import { shallowEqual } from 'react-redux';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
declare module 'ical.js' { declare module 'ical.js' {
function parse(input: string): any[]; function parse(input: string): any[];

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
declare module 'redux-persist'; declare module 'redux-persist';
declare module 'redux-persist/lib/storage/session'; declare module 'redux-persist/lib/storage/session';
declare module 'redux-persist/es/integration/react'; declare module 'redux-persist/es/integration/react';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import * as ReactDOM from 'react-dom'; import * as ReactDOM from 'react-dom';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
export const Avatar = React.memo((props: { children: React.ReactNode[] | React.ReactNode, size?: number, style?: any }) => { export const Avatar = React.memo((props: { children: React.ReactNode[] | React.ReactNode, size?: number, style?: any }) => {

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
interface PropsType { interface PropsType {

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import ColorBox from './ColorBox'; import ColorBox from './ColorBox';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Dialog from '@material-ui/core/Dialog'; import Dialog from '@material-ui/core/Dialog';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Paper from '@material-ui/core/Paper'; import Paper from '@material-ui/core/Paper';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import MomentUtils from '@date-io/moment'; import MomentUtils from '@date-io/moment';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
export const ExternalLink = React.memo(({ children, ...props }: any) => ( export const ExternalLink = React.memo(({ children, ...props }: any) => (

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import ExternalLink from './ExternalLink'; import ExternalLink from './ExternalLink';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import CircularProgress from '@material-ui/core/CircularProgress'; import CircularProgress from '@material-ui/core/CircularProgress';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
export const PrettyError = React.memo((props: any) => ( export const PrettyError = React.memo((props: any) => (

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import sjcl from 'sjcl'; import sjcl from 'sjcl';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import { TextField, Select, MenuItem, InputLabel, FormControl } from '@material-ui/core'; import { TextField, Select, MenuItem, InputLabel, FormControl } from '@material-ui/core';
import DateTimePicker from '../widgets/DateTimePicker'; import DateTimePicker from '../widgets/DateTimePicker';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import Autocomplete from '@material-ui/lab/Autocomplete'; import Autocomplete from '@material-ui/lab/Autocomplete';

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2017 EteSync Authors
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react'; import * as React from 'react';
import './withSpin.css'; import './withSpin.css';

Loading…
Cancel
Save