diff --git a/LICENSE b/LICENSE
index 283b7c68..0c667b35 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,8 +1,8 @@
Source code in this repository is variously licensed under the GNU Affero General Public
License v3.0 (GNU AGPLv3), and GNU General Public License v3.0 (GNU GPLv3). A copy of each
license can be found in the licenses directory. The Source code for the cli is licensed under
-GNU GPLv3. The source code for the server and the web is licensed under GNU AGPLv3. In all
-other cases, source code in a given file is licensed under the GNU AGPLv3.
+GNU GPLv3. The source code for the server and the web is licensed under GNU AGPLv3. Unless
+otherwise noted, source code in a given file is licensed under the GNU AGPLv3.
Unless otherwise noted at the beginning of the file, the copyright belongs to
Monomax Software Pty Ltd.
diff --git a/browser/gulpfile.js b/browser/gulpfile.js
index 6e873300..90a461b7 100644
--- a/browser/gulpfile.js
+++ b/browser/gulpfile.js
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
const gulp = require('gulp');
const del = require('del');
const replace = require('gulp-replace');
diff --git a/browser/src/browser.d.ts b/browser/src/browser.d.ts
index 62aaf801..750cfd18 100644
--- a/browser/src/browser.d.ts
+++ b/browser/src/browser.d.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// browser.d.ts
declare var browser: any;
declare var chrome: any;
diff --git a/browser/src/global.d.ts b/browser/src/global.d.ts
index 69777464..4f104219 100644
--- a/browser/src/global.d.ts
+++ b/browser/src/global.d.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// global.d.ts
// defined by webpack-define-plugin
diff --git a/browser/src/scripts/components/App.tsx b/browser/src/scripts/components/App.tsx
index 1fd3a928..a97ac662 100644
--- a/browser/src/scripts/components/App.tsx
+++ b/browser/src/scripts/components/App.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useEffect } from 'react';
import classnames from 'classnames';
diff --git a/browser/src/scripts/components/BookIcon.tsx b/browser/src/scripts/components/BookIcon.tsx
index 0245f8ad..6c693ad7 100644
--- a/browser/src/scripts/components/BookIcon.tsx
+++ b/browser/src/scripts/components/BookIcon.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
const Icon = ({ fill, width, height, className }) => {
diff --git a/browser/src/scripts/components/BookSelector.tsx b/browser/src/scripts/components/BookSelector.tsx
index b37a56a5..ec9ab237 100644
--- a/browser/src/scripts/components/BookSelector.tsx
+++ b/browser/src/scripts/components/BookSelector.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useEffect } from 'react';
import CreatableSelect from 'react-select/creatable';
import cloneDeep from 'lodash/cloneDeep';
diff --git a/browser/src/scripts/components/CloseIcon.tsx b/browser/src/scripts/components/CloseIcon.tsx
index 94a9f0c0..91859122 100644
--- a/browser/src/scripts/components/CloseIcon.tsx
+++ b/browser/src/scripts/components/CloseIcon.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
export default () => (
diff --git a/browser/src/scripts/components/Composer.tsx b/browser/src/scripts/components/Composer.tsx
index b15b8dcf..d1ceec92 100644
--- a/browser/src/scripts/components/Composer.tsx
+++ b/browser/src/scripts/components/Composer.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useEffect, useRef } from 'react';
import classnames from 'classnames';
diff --git a/browser/src/scripts/components/Flash.tsx b/browser/src/scripts/components/Flash.tsx
index c70c9b10..00f4eb2e 100644
--- a/browser/src/scripts/components/Flash.tsx
+++ b/browser/src/scripts/components/Flash.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
interface Props {
diff --git a/browser/src/scripts/components/Header.tsx b/browser/src/scripts/components/Header.tsx
index 8fe8833b..46dd1abd 100644
--- a/browser/src/scripts/components/Header.tsx
+++ b/browser/src/scripts/components/Header.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import Link from './Link';
diff --git a/browser/src/scripts/components/Home.tsx b/browser/src/scripts/components/Home.tsx
index f4d20351..7d6d164a 100644
--- a/browser/src/scripts/components/Home.tsx
+++ b/browser/src/scripts/components/Home.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import { connect } from 'react-redux';
import { findDOMNode } from 'react-dom';
diff --git a/browser/src/scripts/components/Link.tsx b/browser/src/scripts/components/Link.tsx
index f0e5eaca..b05ac8f1 100644
--- a/browser/src/scripts/components/Link.tsx
+++ b/browser/src/scripts/components/Link.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
diff --git a/browser/src/scripts/components/Menu.tsx b/browser/src/scripts/components/Menu.tsx
index 7ca67f62..1e9ef04c 100644
--- a/browser/src/scripts/components/Menu.tsx
+++ b/browser/src/scripts/components/Menu.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { Fragment } from 'react';
import Link from './Link';
diff --git a/browser/src/scripts/components/MenuToggleIcon.tsx b/browser/src/scripts/components/MenuToggleIcon.tsx
index 3527c84e..fc3eadcf 100644
--- a/browser/src/scripts/components/MenuToggleIcon.tsx
+++ b/browser/src/scripts/components/MenuToggleIcon.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
export default () => (
diff --git a/browser/src/scripts/components/Success.tsx b/browser/src/scripts/components/Success.tsx
index 99d06ebb..390efd13 100644
--- a/browser/src/scripts/components/Success.tsx
+++ b/browser/src/scripts/components/Success.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { Fragment, useEffect, useState } from 'react';
import {
diff --git a/browser/src/scripts/popup.tsx b/browser/src/scripts/popup.tsx
index 537755cb..a9f29a95 100644
--- a/browser/src/scripts/popup.tsx
+++ b/browser/src/scripts/popup.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
diff --git a/browser/src/scripts/store/books/actions.ts b/browser/src/scripts/store/books/actions.ts
index 0885a1e0..6dc7469f 100644
--- a/browser/src/scripts/store/books/actions.ts
+++ b/browser/src/scripts/store/books/actions.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import services from '../../utils/services';
import {
diff --git a/browser/src/scripts/store/books/reducers.ts b/browser/src/scripts/store/books/reducers.ts
index cd4b1ed7..0960a121 100644
--- a/browser/src/scripts/store/books/reducers.ts
+++ b/browser/src/scripts/store/books/reducers.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import {
START_FETCHING,
RECEIVE,
diff --git a/browser/src/scripts/store/books/types.ts b/browser/src/scripts/store/books/types.ts
index d37c290c..7f20efae 100644
--- a/browser/src/scripts/store/books/types.ts
+++ b/browser/src/scripts/store/books/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export type BookData = any;
export interface BooksState {
diff --git a/browser/src/scripts/store/composer/actions.ts b/browser/src/scripts/store/composer/actions.ts
index ef085a0b..a0682e66 100644
--- a/browser/src/scripts/store/composer/actions.ts
+++ b/browser/src/scripts/store/composer/actions.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import {
UPDATE_CONTENT,
UPDATE_BOOK,
diff --git a/browser/src/scripts/store/composer/reducers.ts b/browser/src/scripts/store/composer/reducers.ts
index 3cffeb9c..81709273 100644
--- a/browser/src/scripts/store/composer/reducers.ts
+++ b/browser/src/scripts/store/composer/reducers.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import {
UPDATE_CONTENT,
UPDATE_BOOK,
diff --git a/browser/src/scripts/store/composer/types.ts b/browser/src/scripts/store/composer/types.ts
index 5cea0ed1..3ea64f76 100644
--- a/browser/src/scripts/store/composer/types.ts
+++ b/browser/src/scripts/store/composer/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface ComposerState {
content: string;
bookUUID: string;
diff --git a/browser/src/scripts/store/hooks.ts b/browser/src/scripts/store/hooks.ts
index 0dacbdc6..29dad71d 100644
--- a/browser/src/scripts/store/hooks.ts
+++ b/browser/src/scripts/store/hooks.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { Store, Action } from 'redux';
import {
useDispatch as useReduxDispatch,
diff --git a/browser/src/scripts/store/index.ts b/browser/src/scripts/store/index.ts
index 40836330..fa2dbef7 100644
--- a/browser/src/scripts/store/index.ts
+++ b/browser/src/scripts/store/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { combineReducers, createStore, applyMiddleware, compose } from 'redux';
import thunkMiddleware from 'redux-thunk';
import createLogger from 'redux-logger';
diff --git a/browser/src/scripts/store/location/actions.ts b/browser/src/scripts/store/location/actions.ts
index 4ca15aec..b789a4e0 100644
--- a/browser/src/scripts/store/location/actions.ts
+++ b/browser/src/scripts/store/location/actions.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { NAVIGATE, NavigateAction } from './types';
export function navigate(path: string, state?): NavigateAction {
diff --git a/browser/src/scripts/store/location/reducers.ts b/browser/src/scripts/store/location/reducers.ts
index 71ca7006..2eb4cf4a 100644
--- a/browser/src/scripts/store/location/reducers.ts
+++ b/browser/src/scripts/store/location/reducers.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { NAVIGATE, LocationState, LocationActionType } from './types';
const initialState: LocationState = {
diff --git a/browser/src/scripts/store/location/types.ts b/browser/src/scripts/store/location/types.ts
index c9898071..0bc5bcf6 100644
--- a/browser/src/scripts/store/location/types.ts
+++ b/browser/src/scripts/store/location/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface LocationState {
path: string;
state: any;
diff --git a/browser/src/scripts/store/settings/actions.ts b/browser/src/scripts/store/settings/actions.ts
index b1a717b5..347abf46 100644
--- a/browser/src/scripts/store/settings/actions.ts
+++ b/browser/src/scripts/store/settings/actions.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { UPDATE, RESET, UpdateAction, ResetAction } from './types';
export function updateSettings(settings): UpdateAction {
diff --git a/browser/src/scripts/store/settings/reducers.ts b/browser/src/scripts/store/settings/reducers.ts
index 87fd1e18..3ce61c06 100644
--- a/browser/src/scripts/store/settings/reducers.ts
+++ b/browser/src/scripts/store/settings/reducers.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { UPDATE, RESET, SettingsState, SettingsActionType } from './types';
const initialState: SettingsState = {
diff --git a/browser/src/scripts/store/settings/types.ts b/browser/src/scripts/store/settings/types.ts
index 993fc00e..4b37e403 100644
--- a/browser/src/scripts/store/settings/types.ts
+++ b/browser/src/scripts/store/settings/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface SettingsState {
sessionKey: string;
sessionKeyExpiry: number;
diff --git a/browser/src/scripts/utils/config.ts b/browser/src/scripts/utils/config.ts
index b773d81d..9c2636a0 100644
--- a/browser/src/scripts/utils/config.ts
+++ b/browser/src/scripts/utils/config.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export default {
webUrl: __WEB_URL__,
apiEndpoint: __API_ENDPOINT__,
diff --git a/browser/src/scripts/utils/ext.ts b/browser/src/scripts/utils/ext.ts
index db70e24f..0b051723 100644
--- a/browser/src/scripts/utils/ext.ts
+++ b/browser/src/scripts/utils/ext.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// module ext provides a cross-browser interface to access extension APIs
// by using WebExtensions API if available, and using Chrome as a fallback.
let ext: any = {};
diff --git a/browser/src/scripts/utils/fetch.js b/browser/src/scripts/utils/fetch.js
index ec50090a..1ca957f6 100644
--- a/browser/src/scripts/utils/fetch.js
+++ b/browser/src/scripts/utils/fetch.js
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import qs from 'qs';
function checkStatus(response) {
diff --git a/browser/src/scripts/utils/services.ts b/browser/src/scripts/utils/services.ts
index 05053daa..8b3815ce 100644
--- a/browser/src/scripts/utils/services.ts
+++ b/browser/src/scripts/utils/services.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import initServices from 'jslib/services';
import config from './config';
diff --git a/browser/src/scripts/utils/storage.ts b/browser/src/scripts/utils/storage.ts
index 733b5726..5f632344 100644
--- a/browser/src/scripts/utils/storage.ts
+++ b/browser/src/scripts/utils/storage.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import ext from "./ext";
const stateKey = "state";
diff --git a/browser/src/styles/popup.css b/browser/src/styles/popup.css
index 1608a48b..113d0ffe 100644
--- a/browser/src/styles/popup.css
+++ b/browser/src/styles/popup.css
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
/* container width: 345px */
html {
diff --git a/browser/src/styles/select.css b/browser/src/styles/select.css
index 399ea17e..84562eed 100644
--- a/browser/src/styles/select.css
+++ b/browser/src/styles/select.css
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
/**
* React Select
* ============
diff --git a/browser/webpack.config.js b/browser/webpack.config.js
index 3776de97..eceeee8c 100644
--- a/browser/webpack.config.js
+++ b/browser/webpack.config.js
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
const path = require('path');
const webpack = require('webpack');
const packageJson = require('./package.json');
diff --git a/jslib/package.json b/jslib/package.json
index 0e37d696..1fda0734 100644
--- a/jslib/package.json
+++ b/jslib/package.json
@@ -11,7 +11,7 @@
"test:watch": "karma start ./karma.conf.js --watch"
},
"author": "Monomax Software Pty Ltd",
- "license": "GPL-3.0-or-later",
+ "license": "AGPL-3.0-or-later",
"dependencies": {
"@types/history": "^4.7.3",
"history": "^4.10.1",
diff --git a/jslib/src/helpers/index.ts b/jslib/src/helpers/index.ts
index 75abb7eb..bcf2bce3 100644
--- a/jslib/src/helpers/index.ts
+++ b/jslib/src/helpers/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import * as BooksHelpers from './books';
import * as FiltersHelpers from './filters';
import * as HttpHelpers from './http';
diff --git a/jslib/src/helpers/queries.ts b/jslib/src/helpers/queries.ts
index d3c9879c..683ad480 100644
--- a/jslib/src/helpers/queries.ts
+++ b/jslib/src/helpers/queries.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { Location } from 'history';
import { parseSearchString } from './url';
diff --git a/jslib/src/helpers/search.ts b/jslib/src/helpers/search.ts
index 7e79e093..d2ed0b39 100644
--- a/jslib/src/helpers/search.ts
+++ b/jslib/src/helpers/search.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export enum TokenKind {
colon = 'COLON',
id = 'ID',
diff --git a/jslib/src/helpers/search_test.ts b/jslib/src/helpers/search_test.ts
index ca9c8f90..ae709663 100644
--- a/jslib/src/helpers/search_test.ts
+++ b/jslib/src/helpers/search_test.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { expect } from 'chai';
import { TokenKind, tokenize, parse } from './search';
diff --git a/jslib/src/helpers/select.ts b/jslib/src/helpers/select.ts
index a474d116..bbaf5e77 100644
--- a/jslib/src/helpers/select.ts
+++ b/jslib/src/helpers/select.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { BookData } from '../operations/books';
// Option represents an option in a selection list
diff --git a/jslib/src/index.ts b/jslib/src/index.ts
index 81a5bbea..b5e9680a 100644
--- a/jslib/src/index.ts
+++ b/jslib/src/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import * as Helpers from './helpers';
import * as Operations from './helpers';
diff --git a/jslib/src/operations/index.ts b/jslib/src/operations/index.ts
index 1d22b707..dde08a6c 100644
--- a/jslib/src/operations/index.ts
+++ b/jslib/src/operations/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { HttpClientConfig } from '../helpers/http';
import initBooksOperation from './books';
import initNotesOperation from './notes';
diff --git a/jslib/src/operations/types.ts b/jslib/src/operations/types.ts
index 420314d7..cb600a3c 100644
--- a/jslib/src/operations/types.ts
+++ b/jslib/src/operations/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// NoteData represents a data for a note as returned by services.
// The response from services need to conform to this interface.
export interface NoteData {
diff --git a/jslib/src/services/index.ts b/jslib/src/services/index.ts
index 94b3cd18..b103da0e 100644
--- a/jslib/src/services/index.ts
+++ b/jslib/src/services/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { HttpClientConfig } from '../helpers/http';
import initUsersService from './users';
import initBooksService from './books';
diff --git a/jslib/src/services/types.ts b/jslib/src/services/types.ts
index 416c075e..52a57420 100644
--- a/jslib/src/services/types.ts
+++ b/jslib/src/services/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// Config is the configuration for the services
export interface Config {
baseUrl: string;
diff --git a/pkg/assert/assert.go b/pkg/assert/assert.go
index e6d7268f..e565cd47 100644
--- a/pkg/assert/assert.go
+++ b/pkg/assert/assert.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package assert provides functions to assert a condition in tests
diff --git a/pkg/cli/client/client.go b/pkg/cli/client/client.go
index 38fff768..20966ddb 100644
--- a/pkg/cli/client/client.go
+++ b/pkg/cli/client/client.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package client provides interfaces for interacting with the Dnote server
diff --git a/pkg/cli/cmd/add/add.go b/pkg/cli/cmd/add/add.go
index 005ea671..4e1c57b5 100644
--- a/pkg/cli/cmd/add/add.go
+++ b/pkg/cli/cmd/add/add.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package add
diff --git a/pkg/cli/cmd/cat/cat.go b/pkg/cli/cmd/cat/cat.go
index 8ee5e5f5..7e41ecb5 100644
--- a/pkg/cli/cmd/cat/cat.go
+++ b/pkg/cli/cmd/cat/cat.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package cat
diff --git a/pkg/cli/cmd/edit/book.go b/pkg/cli/cmd/edit/book.go
index 7a67ecd4..08ddf015 100644
--- a/pkg/cli/cmd/edit/book.go
+++ b/pkg/cli/cmd/edit/book.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package edit
diff --git a/pkg/cli/cmd/edit/edit.go b/pkg/cli/cmd/edit/edit.go
index 0a228abc..2ab14884 100644
--- a/pkg/cli/cmd/edit/edit.go
+++ b/pkg/cli/cmd/edit/edit.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package edit
diff --git a/pkg/cli/cmd/edit/note.go b/pkg/cli/cmd/edit/note.go
index 4b22f5ab..94caf22f 100644
--- a/pkg/cli/cmd/edit/note.go
+++ b/pkg/cli/cmd/edit/note.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package edit
diff --git a/pkg/cli/cmd/find/find.go b/pkg/cli/cmd/find/find.go
index f0ec061f..7120a383 100644
--- a/pkg/cli/cmd/find/find.go
+++ b/pkg/cli/cmd/find/find.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package find
diff --git a/pkg/cli/cmd/find/lexer.go b/pkg/cli/cmd/find/lexer.go
index 2e9037bd..11dc0756 100644
--- a/pkg/cli/cmd/find/lexer.go
+++ b/pkg/cli/cmd/find/lexer.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package find
diff --git a/pkg/cli/cmd/find/lexer_test.go b/pkg/cli/cmd/find/lexer_test.go
index db5ae7d9..d2993859 100644
--- a/pkg/cli/cmd/find/lexer_test.go
+++ b/pkg/cli/cmd/find/lexer_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package find
diff --git a/pkg/cli/cmd/login/login.go b/pkg/cli/cmd/login/login.go
index 5298f0b4..04518272 100644
--- a/pkg/cli/cmd/login/login.go
+++ b/pkg/cli/cmd/login/login.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package login
diff --git a/pkg/cli/cmd/logout/logout.go b/pkg/cli/cmd/logout/logout.go
index 3b84ca6d..a5c5ea10 100644
--- a/pkg/cli/cmd/logout/logout.go
+++ b/pkg/cli/cmd/logout/logout.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package logout
diff --git a/pkg/cli/cmd/ls/ls.go b/pkg/cli/cmd/ls/ls.go
index d0e98eb8..c8aae981 100644
--- a/pkg/cli/cmd/ls/ls.go
+++ b/pkg/cli/cmd/ls/ls.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package ls
diff --git a/pkg/cli/cmd/remove/remove.go b/pkg/cli/cmd/remove/remove.go
index c2feccf9..51a4f67c 100644
--- a/pkg/cli/cmd/remove/remove.go
+++ b/pkg/cli/cmd/remove/remove.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package remove
diff --git a/pkg/cli/cmd/root/root.go b/pkg/cli/cmd/root/root.go
index 4c84c82e..264823b1 100644
--- a/pkg/cli/cmd/root/root.go
+++ b/pkg/cli/cmd/root/root.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package root
diff --git a/pkg/cli/cmd/sync/merge.go b/pkg/cli/cmd/sync/merge.go
index 7f1bff78..e9300cab 100644
--- a/pkg/cli/cmd/sync/merge.go
+++ b/pkg/cli/cmd/sync/merge.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package sync
diff --git a/pkg/cli/cmd/sync/merge_test.go b/pkg/cli/cmd/sync/merge_test.go
index 491f367e..ecf71cc7 100644
--- a/pkg/cli/cmd/sync/merge_test.go
+++ b/pkg/cli/cmd/sync/merge_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package sync
diff --git a/pkg/cli/cmd/sync/sync.go b/pkg/cli/cmd/sync/sync.go
index e2acc51b..5641d32c 100644
--- a/pkg/cli/cmd/sync/sync.go
+++ b/pkg/cli/cmd/sync/sync.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package sync
diff --git a/pkg/cli/cmd/sync/sync_test.go b/pkg/cli/cmd/sync/sync_test.go
index 7d69df84..f12ceb63 100644
--- a/pkg/cli/cmd/sync/sync_test.go
+++ b/pkg/cli/cmd/sync/sync_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package sync
diff --git a/pkg/cli/cmd/version/version.go b/pkg/cli/cmd/version/version.go
index 456b0602..aa1b8b3c 100644
--- a/pkg/cli/cmd/version/version.go
+++ b/pkg/cli/cmd/version/version.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package version
diff --git a/pkg/cli/cmd/view/view.go b/pkg/cli/cmd/view/view.go
index 4e255639..c2f1010d 100644
--- a/pkg/cli/cmd/view/view.go
+++ b/pkg/cli/cmd/view/view.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package view
diff --git a/pkg/cli/config/config.go b/pkg/cli/config/config.go
index c4877607..4210faa9 100644
--- a/pkg/cli/config/config.go
+++ b/pkg/cli/config/config.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package config
diff --git a/pkg/cli/consts/consts.go b/pkg/cli/consts/consts.go
index 1bb73584..0b2b673e 100644
--- a/pkg/cli/consts/consts.go
+++ b/pkg/cli/consts/consts.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package consts provides definitions of constants
diff --git a/pkg/cli/context/ctx.go b/pkg/cli/context/ctx.go
index 4df51408..0c691740 100644
--- a/pkg/cli/context/ctx.go
+++ b/pkg/cli/context/ctx.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package context defines dnote context
diff --git a/pkg/cli/context/testutils.go b/pkg/cli/context/testutils.go
index ed04afe1..765a5952 100644
--- a/pkg/cli/context/testutils.go
+++ b/pkg/cli/context/testutils.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package context
diff --git a/pkg/cli/crypt/crypto.go b/pkg/cli/crypt/crypto.go
index f949b776..1905797a 100644
--- a/pkg/cli/crypt/crypto.go
+++ b/pkg/cli/crypt/crypto.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package crypt provides cryptographic funcitonalities
diff --git a/pkg/cli/crypt/crypto_test.go b/pkg/cli/crypt/crypto_test.go
index ee63df2e..c2839485 100644
--- a/pkg/cli/crypt/crypto_test.go
+++ b/pkg/cli/crypt/crypto_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package crypt
diff --git a/pkg/cli/database/models.go b/pkg/cli/database/models.go
index d1cf98fe..09c05213 100644
--- a/pkg/cli/database/models.go
+++ b/pkg/cli/database/models.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package database
diff --git a/pkg/cli/database/models_test.go b/pkg/cli/database/models_test.go
index bdf10e18..f9502095 100644
--- a/pkg/cli/database/models_test.go
+++ b/pkg/cli/database/models_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package database
diff --git a/pkg/cli/database/queries.go b/pkg/cli/database/queries.go
index a77d4d50..a70052ec 100644
--- a/pkg/cli/database/queries.go
+++ b/pkg/cli/database/queries.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package database
diff --git a/pkg/cli/database/queries_test.go b/pkg/cli/database/queries_test.go
index a96ce7c9..da35f0e4 100644
--- a/pkg/cli/database/queries_test.go
+++ b/pkg/cli/database/queries_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package database
diff --git a/pkg/cli/database/sql.go b/pkg/cli/database/sql.go
index 88e7f883..ac6c2702 100644
--- a/pkg/cli/database/sql.go
+++ b/pkg/cli/database/sql.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package database
diff --git a/pkg/cli/database/testutils.go b/pkg/cli/database/testutils.go
index 4954df1f..02d5e322 100644
--- a/pkg/cli/database/testutils.go
+++ b/pkg/cli/database/testutils.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package database
diff --git a/pkg/cli/infra/init.go b/pkg/cli/infra/init.go
index e456cbe8..7bfa413b 100644
--- a/pkg/cli/infra/init.go
+++ b/pkg/cli/infra/init.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package infra provides operations and definitions for the
diff --git a/pkg/cli/infra/init_test.go b/pkg/cli/infra/init_test.go
index f5a15e48..1b234672 100644
--- a/pkg/cli/infra/init_test.go
+++ b/pkg/cli/infra/init_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package infra
diff --git a/pkg/cli/log/log.go b/pkg/cli/log/log.go
index 358eadc7..ceb558a9 100644
--- a/pkg/cli/log/log.go
+++ b/pkg/cli/log/log.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package log
diff --git a/pkg/cli/main.go b/pkg/cli/main.go
index 5552ccba..e5f535f0 100644
--- a/pkg/cli/main.go
+++ b/pkg/cli/main.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package main
diff --git a/pkg/cli/main_test.go b/pkg/cli/main_test.go
index 9c4f9db5..3a81649c 100644
--- a/pkg/cli/main_test.go
+++ b/pkg/cli/main_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package main
diff --git a/pkg/cli/migrate/legacy.go b/pkg/cli/migrate/legacy.go
index e9105cc4..00099a15 100644
--- a/pkg/cli/migrate/legacy.go
+++ b/pkg/cli/migrate/legacy.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package migrate provides migration logic for both sqlite and
diff --git a/pkg/cli/migrate/legacy_test.go b/pkg/cli/migrate/legacy_test.go
index fcda3399..a776d2ca 100644
--- a/pkg/cli/migrate/legacy_test.go
+++ b/pkg/cli/migrate/legacy_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package migrate
diff --git a/pkg/cli/migrate/migrate.go b/pkg/cli/migrate/migrate.go
index 0e602467..3b2a7147 100644
--- a/pkg/cli/migrate/migrate.go
+++ b/pkg/cli/migrate/migrate.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package migrate
diff --git a/pkg/cli/migrate/migrate_test.go b/pkg/cli/migrate/migrate_test.go
index 84bd0980..73ab7e97 100644
--- a/pkg/cli/migrate/migrate_test.go
+++ b/pkg/cli/migrate/migrate_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package migrate
diff --git a/pkg/cli/migrate/migrations.go b/pkg/cli/migrate/migrations.go
index 45b5a997..b2c3b29e 100644
--- a/pkg/cli/migrate/migrations.go
+++ b/pkg/cli/migrate/migrations.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package migrate
diff --git a/pkg/cli/output/output.go b/pkg/cli/output/output.go
index 06ce9b8e..8a4c7718 100644
--- a/pkg/cli/output/output.go
+++ b/pkg/cli/output/output.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package output provides functions to print informations on the terminal
diff --git a/pkg/cli/testutils/main.go b/pkg/cli/testutils/main.go
index 6cb3d5c7..aa018359 100644
--- a/pkg/cli/testutils/main.go
+++ b/pkg/cli/testutils/main.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package testutils provides utilities used in tests
diff --git a/pkg/cli/testutils/setup.go b/pkg/cli/testutils/setup.go
index 4cb60f06..fb8f48f4 100644
--- a/pkg/cli/testutils/setup.go
+++ b/pkg/cli/testutils/setup.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package testutils
diff --git a/pkg/cli/ui/editor.go b/pkg/cli/ui/editor.go
index 44790927..2e71bd6a 100644
--- a/pkg/cli/ui/editor.go
+++ b/pkg/cli/ui/editor.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package ui provides the user interface for the program
diff --git a/pkg/cli/ui/editor_test.go b/pkg/cli/ui/editor_test.go
index 9fcdb4a9..f786984d 100644
--- a/pkg/cli/ui/editor_test.go
+++ b/pkg/cli/ui/editor_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package ui
diff --git a/pkg/cli/ui/terminal.go b/pkg/cli/ui/terminal.go
index 87b1e486..14c45bc8 100644
--- a/pkg/cli/ui/terminal.go
+++ b/pkg/cli/ui/terminal.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package ui
diff --git a/pkg/cli/upgrade/upgrade.go b/pkg/cli/upgrade/upgrade.go
index b44041cd..afdc5e64 100644
--- a/pkg/cli/upgrade/upgrade.go
+++ b/pkg/cli/upgrade/upgrade.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package upgrade
diff --git a/pkg/cli/upgrade/upgrade_test.go b/pkg/cli/upgrade/upgrade_test.go
index 0b185fc9..1df79e43 100644
--- a/pkg/cli/upgrade/upgrade_test.go
+++ b/pkg/cli/upgrade/upgrade_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package upgrade
diff --git a/pkg/cli/utils/diff/diff.go b/pkg/cli/utils/diff/diff.go
index 04ccb7a9..67e653c9 100644
--- a/pkg/cli/utils/diff/diff.go
+++ b/pkg/cli/utils/diff/diff.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package diff provides line-by-line diff feature by wrapping
diff --git a/pkg/cli/utils/diff/diff_test.go b/pkg/cli/utils/diff/diff_test.go
index f784b1e2..0823681c 100644
--- a/pkg/cli/utils/diff/diff_test.go
+++ b/pkg/cli/utils/diff/diff_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package diff
diff --git a/pkg/cli/utils/files.go b/pkg/cli/utils/files.go
index b5e2c501..4eb30729 100644
--- a/pkg/cli/utils/files.go
+++ b/pkg/cli/utils/files.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package utils
diff --git a/pkg/cli/utils/utils.go b/pkg/cli/utils/utils.go
index 0321c829..72676bc8 100644
--- a/pkg/cli/utils/utils.go
+++ b/pkg/cli/utils/utils.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package utils
diff --git a/pkg/cli/validate/book_test.go b/pkg/cli/validate/book_test.go
index f5749658..591388ff 100644
--- a/pkg/cli/validate/book_test.go
+++ b/pkg/cli/validate/book_test.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package validate
diff --git a/pkg/cli/validate/books.go b/pkg/cli/validate/books.go
index 009c4e69..3ff7e3ba 100644
--- a/pkg/cli/validate/books.go
+++ b/pkg/cli/validate/books.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
package validate
diff --git a/pkg/clock/clock.go b/pkg/clock/clock.go
index 220105ee..a87488a3 100644
--- a/pkg/clock/clock.go
+++ b/pkg/clock/clock.go
@@ -1,19 +1,19 @@
/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/
// Package clock provides an abstract layer over the standard time package
diff --git a/pkg/server/api/handlers/auth_test.go b/pkg/server/api/handlers/auth_test.go
index c41462f7..a5aeb394 100644
--- a/pkg/server/api/handlers/auth_test.go
+++ b/pkg/server/api/handlers/auth_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/classic_test.go b/pkg/server/api/handlers/classic_test.go
index b3dd147a..01dec8f4 100644
--- a/pkg/server/api/handlers/classic_test.go
+++ b/pkg/server/api/handlers/classic_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/health_test.go b/pkg/server/api/handlers/health_test.go
index 50480bb7..61af9e63 100644
--- a/pkg/server/api/handlers/health_test.go
+++ b/pkg/server/api/handlers/health_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/notes_test.go b/pkg/server/api/handlers/notes_test.go
index 29b076f7..d5a27cdc 100644
--- a/pkg/server/api/handlers/notes_test.go
+++ b/pkg/server/api/handlers/notes_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/user_test.go b/pkg/server/api/handlers/user_test.go
index aaa19771..69b5c150 100644
--- a/pkg/server/api/handlers/user_test.go
+++ b/pkg/server/api/handlers/user_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/v3_auth_test.go b/pkg/server/api/handlers/v3_auth_test.go
index f800089c..d989c0da 100644
--- a/pkg/server/api/handlers/v3_auth_test.go
+++ b/pkg/server/api/handlers/v3_auth_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/v3_books_test.go b/pkg/server/api/handlers/v3_books_test.go
index fd71492a..e20a5c76 100644
--- a/pkg/server/api/handlers/v3_books_test.go
+++ b/pkg/server/api/handlers/v3_books_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/api/handlers/v3_notes_test.go b/pkg/server/api/handlers/v3_notes_test.go
index 323a2ed9..efa4410d 100644
--- a/pkg/server/api/handlers/v3_notes_test.go
+++ b/pkg/server/api/handlers/v3_notes_test.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package handlers
import (
diff --git a/pkg/server/testutils/config.go b/pkg/server/testutils/config.go
index 74d98a79..71e7fb1e 100644
--- a/pkg/server/testutils/config.go
+++ b/pkg/server/testutils/config.go
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
package testutils
import (
diff --git a/scripts/license.sh b/scripts/license.sh
index 7042e445..b4b74cd0 100755
--- a/scripts/license.sh
+++ b/scripts/license.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+set -eux
function remove_notice {
sed -i -e '/\/\* Copyright/,/\*\//d' "$1"
@@ -20,20 +21,20 @@ END
gpl="/* Copyright (C) 2019 Monomax Software Pty Ltd
*
- * This file is part of Dnote CLI.
+ * This file is part of Dnote.
*
- * Dnote CLI is free software: you can redistribute it and/or modify
+ * Dnote 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.
*
- * Dnote CLI is distributed in the hope that it will be useful,
+ * Dnote 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 Dnote CLI. If not, see .
+ * along with Dnote. If not, see .
*/"
agpl="/* Copyright (C) 2019 Monomax Software Pty Ltd
@@ -54,18 +55,20 @@ agpl="/* Copyright (C) 2019 Monomax Software Pty Ltd
* along with Dnote. If not, see .
*/"
-pkgPath="$GOPATH"/src/github.com/dnote/dnote/pkg
-serverPath="$GOPATH"/src/github.com/dnote/dnote/pkg/server
+pkgPath="$GOPATH/src/github.com/dnote/dnote/pkg"
+serverPath="$GOPATH/src/github.com/dnote/dnote/pkg/server"
+browserPath="$GOPATH/src/github.com/dnote/dnote/browser"
-pkgFiles=$(find "$pkgPath" -type f -name "*.go" ! -path "**/vendor/*" ! -path "$serverPath/*")
+gplFiles=$(find "$pkgPath" "$browserPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "$serverPath/*")
-for file in $pkgFiles; do
+for file in $gplFiles; do
remove_notice "$file"
add_notice "$file" "$gpl"
done
webPath="$GOPATH"/src/github.com/dnote/dnote/web
-agplFiles=$(find "$serverPath" "$webPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.scss" \) ! -path "**/vendor/*" ! -path "**/node_modules/*")
+jslibPath="$GOPATH/src/github.com/dnote/dnote/jslib/src"
+agplFiles=$(find "$serverPath" "$webPath" "$jslibPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "**/dist/*")
for file in $agplFiles; do
remove_notice "$file"
diff --git a/web/assets/service-worker.js b/web/assets/service-worker.js
index 4b48b338..29f0fdcb 100644
--- a/web/assets/service-worker.js
+++ b/web/assets/service-worker.js
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
/* eslint-disable no-restricted-globals, func-names, no-var, prefer-template */
self.addEventListener('install', function(event) {
diff --git a/web/declrations.d.ts b/web/declrations.d.ts
index 032306cc..84e2a8ac 100644
--- a/web/declrations.d.ts
+++ b/web/declrations.d.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// declaration.d.ts
declare module '*.scss';
diff --git a/web/src/components/Books/HeadData.tsx b/web/src/components/Books/HeadData.tsx
index d8f54bf2..5cac528b 100644
--- a/web/src/components/Books/HeadData.tsx
+++ b/web/src/components/Books/HeadData.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import Helmet from 'react-helmet';
diff --git a/web/src/components/Classic/Decrypt.tsx b/web/src/components/Classic/Decrypt.tsx
index 9f2d6451..5c7d6531 100644
--- a/web/src/components/Classic/Decrypt.tsx
+++ b/web/src/components/Classic/Decrypt.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import Helmet from 'react-helmet';
import { withRouter, RouteComponentProps } from 'react-router-dom';
diff --git a/web/src/components/Classic/Login.tsx b/web/src/components/Classic/Login.tsx
index f58cc26d..8961ffe4 100644
--- a/web/src/components/Classic/Login.tsx
+++ b/web/src/components/Classic/Login.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import Helmet from 'react-helmet';
import { Redirect } from 'react-router-dom';
diff --git a/web/src/components/Classic/SetPassword.tsx b/web/src/components/Classic/SetPassword.tsx
index 1ff8948b..661ab160 100644
--- a/web/src/components/Classic/SetPassword.tsx
+++ b/web/src/components/Classic/SetPassword.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import Helmet from 'react-helmet';
import { withRouter, RouteComponentProps } from 'react-router-dom';
diff --git a/web/src/components/Classic/index.tsx b/web/src/components/Classic/index.tsx
index 508224d2..a8716efb 100644
--- a/web/src/components/Classic/index.tsx
+++ b/web/src/components/Classic/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import { Switch, Route } from 'react-router';
import { Redirect } from 'react-router-dom';
diff --git a/web/src/components/Common/Editor/BookSelector/OptionItem.tsx b/web/src/components/Common/Editor/BookSelector/OptionItem.tsx
index 9b6a41ac..ad7e675a 100644
--- a/web/src/components/Common/Editor/BookSelector/OptionItem.tsx
+++ b/web/src/components/Common/Editor/BookSelector/OptionItem.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Common/Editor/Editor.scss b/web/src/components/Common/Editor/Editor.scss
index ffa09962..cd4c9331 100644
--- a/web/src/components/Common/Editor/Editor.scss
+++ b/web/src/components/Common/Editor/Editor.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../../App/font';
@import '../../App/theme';
@import '../../App/responsive';
diff --git a/web/src/components/Common/Editor/Preview.scss b/web/src/components/Common/Editor/Preview.scss
index aca7d4d7..ea52f7f6 100644
--- a/web/src/components/Common/Editor/Preview.scss
+++ b/web/src/components/Common/Editor/Preview.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../../App/font';
@import '../../App/theme';
@import '../../App/responsive';
diff --git a/web/src/components/Common/Editor/Preview.tsx b/web/src/components/Common/Editor/Preview.tsx
index d66f1a82..fa60d092 100644
--- a/web/src/components/Common/Editor/Preview.tsx
+++ b/web/src/components/Common/Editor/Preview.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import styles from './Preview.scss';
diff --git a/web/src/components/Common/Editor/Textarea.scss b/web/src/components/Common/Editor/Textarea.scss
index 824396d2..0a0f9072 100644
--- a/web/src/components/Common/Editor/Textarea.scss
+++ b/web/src/components/Common/Editor/Textarea.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../../App/font';
@import '../../App/theme';
@import '../../App/responsive';
diff --git a/web/src/components/Common/Editor/Textarea.tsx b/web/src/components/Common/Editor/Textarea.tsx
index 3409b09d..aaa1c268 100644
--- a/web/src/components/Common/Editor/Textarea.tsx
+++ b/web/src/components/Common/Editor/Textarea.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import { connect } from 'react-redux';
import classnames from 'classnames';
diff --git a/web/src/components/Common/Editor/index.tsx b/web/src/components/Common/Editor/index.tsx
index 485cb6d4..72a202f3 100644
--- a/web/src/components/Common/Editor/index.tsx
+++ b/web/src/components/Common/Editor/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useRef } from 'react';
import classnames from 'classnames';
import { Link } from 'react-router-dom';
diff --git a/web/src/components/Common/MobileMenu.tsx b/web/src/components/Common/MobileMenu.tsx
index 3a7c5bb3..1cbcc8c2 100644
--- a/web/src/components/Common/MobileMenu.tsx
+++ b/web/src/components/Common/MobileMenu.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
import { Link } from 'react-router-dom';
diff --git a/web/src/components/Common/Popover/types.ts b/web/src/components/Common/Popover/types.ts
index 4e55ea32..10e40742 100644
--- a/web/src/components/Common/Popover/types.ts
+++ b/web/src/components/Common/Popover/types.ts
@@ -1,2 +1,20 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export type Alignment = 'left' | 'right' | 'top' | 'bottom';
export type Direction = 'left' | 'right' | 'top' | 'bottom';
diff --git a/web/src/components/Common/SearchInput/Actions.tsx b/web/src/components/Common/SearchInput/Actions.tsx
index e9f4ddb8..f6e7085f 100644
--- a/web/src/components/Common/SearchInput/Actions.tsx
+++ b/web/src/components/Common/SearchInput/Actions.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Common/SearchableMenu/Item.tsx b/web/src/components/Common/SearchableMenu/Item.tsx
index 3bb9c853..7ec1bbe5 100644
--- a/web/src/components/Common/SearchableMenu/Item.tsx
+++ b/web/src/components/Common/SearchableMenu/Item.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Common/SearchableMenu/Result.tsx b/web/src/components/Common/SearchableMenu/Result.tsx
index 1632974b..569edd36 100644
--- a/web/src/components/Common/SearchableMenu/Result.tsx
+++ b/web/src/components/Common/SearchableMenu/Result.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { Fragment } from 'react';
import { Option } from 'jslib/helpers/select';
diff --git a/web/src/components/Edit/Content.tsx b/web/src/components/Edit/Content.tsx
index b685f5a9..34938bc1 100644
--- a/web/src/components/Edit/Content.tsx
+++ b/web/src/components/Edit/Content.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useRef } from 'react';
import { RouteComponentProps } from 'react-router-dom';
import classnames from 'classnames';
diff --git a/web/src/components/Edit/index.tsx b/web/src/components/Edit/index.tsx
index 22c76b08..99bfbec6 100644
--- a/web/src/components/Edit/index.tsx
+++ b/web/src/components/Edit/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useEffect, useState } from 'react';
import classnames from 'classnames';
import { Prompt, RouteComponentProps } from 'react-router-dom';
diff --git a/web/src/components/Header/Nav/Item.tsx b/web/src/components/Header/Nav/Item.tsx
index ea089b3b..722d71cf 100644
--- a/web/src/components/Header/Nav/Item.tsx
+++ b/web/src/components/Header/Nav/Item.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import { Link } from 'react-router-dom';
import { Location } from 'history';
diff --git a/web/src/components/Header/Nav/index.tsx b/web/src/components/Header/Nav/index.tsx
index 0014ac5d..91105d32 100644
--- a/web/src/components/Header/Nav/index.tsx
+++ b/web/src/components/Header/Nav/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Header/Note/Placeholder.tsx b/web/src/components/Header/Note/Placeholder.tsx
index d486acc0..d5ec9e12 100644
--- a/web/src/components/Header/Note/Placeholder.tsx
+++ b/web/src/components/Header/Note/Placeholder.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import styles from './Placeholder.scss';
diff --git a/web/src/components/Header/SearchBar/AdvancedPanel/BookSearch.tsx b/web/src/components/Header/SearchBar/AdvancedPanel/BookSearch.tsx
index 896a5ac6..50add7cb 100644
--- a/web/src/components/Header/SearchBar/AdvancedPanel/BookSearch.tsx
+++ b/web/src/components/Header/SearchBar/AdvancedPanel/BookSearch.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useRef, useEffect } from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Header/SearchBar/AdvancedPanel/WordsSearch.tsx b/web/src/components/Header/SearchBar/AdvancedPanel/WordsSearch.tsx
index fa540e5f..a348ed9a 100644
--- a/web/src/components/Header/SearchBar/AdvancedPanel/WordsSearch.tsx
+++ b/web/src/components/Header/SearchBar/AdvancedPanel/WordsSearch.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Header/SearchBar/AdvancedPanel/index.tsx b/web/src/components/Header/SearchBar/AdvancedPanel/index.tsx
index 55ee4124..4ce9a530 100644
--- a/web/src/components/Header/SearchBar/AdvancedPanel/index.tsx
+++ b/web/src/components/Header/SearchBar/AdvancedPanel/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useCallback } from 'react';
import { withRouter, RouteComponentProps } from 'react-router-dom';
diff --git a/web/src/components/Header/SearchBar/index.tsx b/web/src/components/Header/SearchBar/index.tsx
index 472580d2..0a86745c 100644
--- a/web/src/components/Header/SearchBar/index.tsx
+++ b/web/src/components/Header/SearchBar/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useRef, useCallback, useState, useEffect } from 'react';
import { withRouter, RouteComponentProps } from 'react-router-dom';
import classnames from 'classnames';
diff --git a/web/src/components/Home/Actions/Paginator.tsx b/web/src/components/Home/Actions/Paginator.tsx
index 8c239651..a71b8bfa 100644
--- a/web/src/components/Home/Actions/Paginator.tsx
+++ b/web/src/components/Home/Actions/Paginator.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Home/Actions/Top.tsx b/web/src/components/Home/Actions/Top.tsx
index d53f7e43..e12eb1a0 100644
--- a/web/src/components/Home/Actions/Top.tsx
+++ b/web/src/components/Home/Actions/Top.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Home/HeadData.tsx b/web/src/components/Home/HeadData.tsx
index 299fabb4..f3f656aa 100644
--- a/web/src/components/Home/HeadData.tsx
+++ b/web/src/components/Home/HeadData.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import Helmet from 'react-helmet';
diff --git a/web/src/components/Home/NoteGroup/Header.tsx b/web/src/components/Home/NoteGroup/Header.tsx
index 4b3c4701..951c512c 100644
--- a/web/src/components/Home/NoteGroup/Header.tsx
+++ b/web/src/components/Home/NoteGroup/Header.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import { monthNumToFullName } from '../../../helpers/time';
diff --git a/web/src/components/Icons/types.ts b/web/src/components/Icons/types.ts
index 3203a6ee..42b04b13 100644
--- a/web/src/components/Icons/types.ts
+++ b/web/src/components/Icons/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
// IconProps is the common props that icon components receive.
export interface IconProps {
fill?: string;
diff --git a/web/src/components/New/New.scss b/web/src/components/New/New.scss
index 0d8c4117..fbb417ad 100644
--- a/web/src/components/New/New.scss
+++ b/web/src/components/New/New.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../App/theme';
@import '../App/font';
@import '../App/responsive';
diff --git a/web/src/components/New/index.tsx b/web/src/components/New/index.tsx
index 486e39b3..f05748ed 100644
--- a/web/src/components/New/index.tsx
+++ b/web/src/components/New/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState, useRef, useEffect, Fragment } from 'react';
import { Prompt, RouteComponentProps } from 'react-router-dom';
import classnames from 'classnames';
diff --git a/web/src/components/Note/Actions.tsx b/web/src/components/Note/Actions.tsx
index 8a3d90d3..5e565d0f 100644
--- a/web/src/components/Note/Actions.tsx
+++ b/web/src/components/Note/Actions.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
interface Props {}
diff --git a/web/src/components/Note/HeaderData.tsx b/web/src/components/Note/HeaderData.tsx
index 362de2e4..a37b4f52 100644
--- a/web/src/components/Note/HeaderData.tsx
+++ b/web/src/components/Note/HeaderData.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import Helmet from 'react-helmet';
diff --git a/web/src/components/PasswordReset/Confirm/Form.tsx b/web/src/components/PasswordReset/Confirm/Form.tsx
index cf7e32d4..9b838c54 100644
--- a/web/src/components/PasswordReset/Confirm/Form.tsx
+++ b/web/src/components/PasswordReset/Confirm/Form.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import authStyles from '../../Common/Auth.scss';
diff --git a/web/src/components/PasswordReset/Confirm/index.tsx b/web/src/components/PasswordReset/Confirm/index.tsx
index 450cee7b..8b4117cf 100644
--- a/web/src/components/PasswordReset/Confirm/index.tsx
+++ b/web/src/components/PasswordReset/Confirm/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import Helmet from 'react-helmet';
import { Link, withRouter, RouteComponentProps } from 'react-router-dom';
diff --git a/web/src/components/PasswordReset/Request/Form.scss b/web/src/components/PasswordReset/Request/Form.scss
index b4728ba6..934adab0 100644
--- a/web/src/components/PasswordReset/Request/Form.scss
+++ b/web/src/components/PasswordReset/Request/Form.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../../App/rem';
@import '../../App/font';
diff --git a/web/src/components/PasswordReset/Request/Form.tsx b/web/src/components/PasswordReset/Request/Form.tsx
index 7458cd69..1188e532 100644
--- a/web/src/components/PasswordReset/Request/Form.tsx
+++ b/web/src/components/PasswordReset/Request/Form.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/PasswordReset/Request/Request.scss b/web/src/components/PasswordReset/Request/Request.scss
index 398640a2..0ef204bd 100644
--- a/web/src/components/PasswordReset/Request/Request.scss
+++ b/web/src/components/PasswordReset/Request/Request.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
.success-msg {
margin-bottom: 10px;
}
diff --git a/web/src/components/PasswordReset/Request/index.tsx b/web/src/components/PasswordReset/Request/index.tsx
index f771503e..3459fcb2 100644
--- a/web/src/components/PasswordReset/Request/index.tsx
+++ b/web/src/components/PasswordReset/Request/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import Helmet from 'react-helmet';
import { Link } from 'react-router-dom';
diff --git a/web/src/components/Settings/Account/EmailVerificationRow.tsx b/web/src/components/Settings/Account/EmailVerificationRow.tsx
index 9066dfeb..f066c52a 100644
--- a/web/src/components/Settings/Account/EmailVerificationRow.tsx
+++ b/web/src/components/Settings/Account/EmailVerificationRow.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Settings/Billing/ReactivateRow.tsx b/web/src/components/Settings/Billing/ReactivateRow.tsx
index 1f1ea393..792aad5b 100644
--- a/web/src/components/Settings/Billing/ReactivateRow.tsx
+++ b/web/src/components/Settings/Billing/ReactivateRow.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useState } from 'react';
import classnames from 'classnames';
diff --git a/web/src/components/Settings/Sidebar.tsx b/web/src/components/Settings/Sidebar.tsx
index 647eff13..f7667ac7 100644
--- a/web/src/components/Settings/Sidebar.tsx
+++ b/web/src/components/Settings/Sidebar.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
import { NavLink } from 'react-router-dom';
diff --git a/web/src/components/TabBar/Item.scss b/web/src/components/TabBar/Item.scss
index 8a644a5d..6c6416a2 100644
--- a/web/src/components/TabBar/Item.scss
+++ b/web/src/components/TabBar/Item.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../App/theme';
@import '../App/font';
@import '../App/responsive';
diff --git a/web/src/components/TabBar/Item.tsx b/web/src/components/TabBar/Item.tsx
index a784ac6b..f05f819e 100644
--- a/web/src/components/TabBar/Item.tsx
+++ b/web/src/components/TabBar/Item.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import styles from './Item.scss';
diff --git a/web/src/components/TabBar/TabBar.scss b/web/src/components/TabBar/TabBar.scss
index b770d2fc..72c6f730 100644
--- a/web/src/components/TabBar/TabBar.scss
+++ b/web/src/components/TabBar/TabBar.scss
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
@import '../App/theme';
@import '../App/responsive';
@import '../App/rem';
diff --git a/web/src/components/TabBar/index.tsx b/web/src/components/TabBar/index.tsx
index 817bc633..eb68ed6f 100644
--- a/web/src/components/TabBar/index.tsx
+++ b/web/src/components/TabBar/index.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React from 'react';
import classnames from 'classnames';
import { withRouter, RouteComponentProps, Link } from 'react-router-dom';
diff --git a/web/src/hocs/scrollTop.tsx b/web/src/hocs/scrollTop.tsx
index 66b93ce8..1a6749ff 100644
--- a/web/src/hocs/scrollTop.tsx
+++ b/web/src/hocs/scrollTop.tsx
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import React, { useEffect } from 'react';
import { withRouter, RouteComponentProps } from 'react-router-dom';
diff --git a/web/src/libs/config.ts b/web/src/libs/config.ts
index 9d89c2d0..6678ce79 100644
--- a/web/src/libs/config.ts
+++ b/web/src/libs/config.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export default {
cdnUrl: __CDN_URL__
};
diff --git a/web/src/libs/fts/format.ts b/web/src/libs/fts/format.ts
index e69de29b..b6fbbf94 100644
--- a/web/src/libs/fts/format.ts
+++ b/web/src/libs/fts/format.ts
@@ -0,0 +1,18 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
diff --git a/web/src/libs/fts/lexer.ts b/web/src/libs/fts/lexer.ts
index 055bee4d..0180b73d 100644
--- a/web/src/libs/fts/lexer.ts
+++ b/web/src/libs/fts/lexer.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export enum TokenKind {
char,
hlBegin,
diff --git a/web/src/libs/fts/lexer_test.ts b/web/src/libs/fts/lexer_test.ts
index cb45266c..e87c4e58 100644
--- a/web/src/libs/fts/lexer_test.ts
+++ b/web/src/libs/fts/lexer_test.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { expect } from 'chai';
import { TokenKind, tokenize, scanToken } from './lexer';
diff --git a/web/src/libs/hooks/editor.ts b/web/src/libs/hooks/editor.ts
index b15e97dd..c7217672 100644
--- a/web/src/libs/hooks/editor.ts
+++ b/web/src/libs/hooks/editor.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { useEffect } from 'react';
import { focusTextarea } from 'web/libs/dom';
diff --git a/web/src/libs/operations.ts b/web/src/libs/operations.ts
index 56f4c9b1..373c4a6f 100644
--- a/web/src/libs/operations.ts
+++ b/web/src/libs/operations.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import initOperations from 'jslib/operations';
const operations = initOperations({
diff --git a/web/src/libs/restoreScroll.ts b/web/src/libs/restoreScroll.ts
index b6679040..d2c8af89 100644
--- a/web/src/libs/restoreScroll.ts
+++ b/web/src/libs/restoreScroll.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
/*
Copyright (c) 2013-2015 Brigade
https://www.brigade.com/
diff --git a/web/src/libs/search.ts b/web/src/libs/search.ts
index 2c1d5e2e..6a682f21 100644
--- a/web/src/libs/search.ts
+++ b/web/src/libs/search.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { Location } from 'history';
import { parseSearchString } from 'jslib/helpers/url';
diff --git a/web/src/libs/services.ts b/web/src/libs/services.ts
index 2e84891b..49b65199 100644
--- a/web/src/libs/services.ts
+++ b/web/src/libs/services.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import initServices from 'jslib/services';
const services = initServices({
diff --git a/web/src/store/auth/index.ts b/web/src/store/auth/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/auth/index.ts
+++ b/web/src/store/auth/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/auth/type.ts b/web/src/store/auth/type.ts
index 00892799..4ca72141 100644
--- a/web/src/store/auth/type.ts
+++ b/web/src/store/auth/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { RemoteData } from '../types';
export interface UserData {
diff --git a/web/src/store/books/index.ts b/web/src/store/books/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/books/index.ts
+++ b/web/src/store/books/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/books/type.ts b/web/src/store/books/type.ts
index 495eb503..8d8cf589 100644
--- a/web/src/store/books/type.ts
+++ b/web/src/store/books/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { RemoteData } from '../types';
import { BookData } from 'jslib/operations/books';
diff --git a/web/src/store/editor/index.ts b/web/src/store/editor/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/editor/index.ts
+++ b/web/src/store/editor/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/editor/type.ts b/web/src/store/editor/type.ts
index 1fa2431d..1f0c584f 100644
--- a/web/src/store/editor/type.ts
+++ b/web/src/store/editor/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface EditorState {
noteUUID: string | null;
bookUUID: string | null;
diff --git a/web/src/store/filters/index.ts b/web/src/store/filters/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/filters/index.ts
+++ b/web/src/store/filters/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/filters/type.ts b/web/src/store/filters/type.ts
index 2daf2e74..01d7ca68 100644
--- a/web/src/store/filters/type.ts
+++ b/web/src/store/filters/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface QueryState {
q: string;
book: string[];
diff --git a/web/src/store/form/index.ts b/web/src/store/form/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/form/index.ts
+++ b/web/src/store/form/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/form/type.ts b/web/src/store/form/type.ts
index 75ea838d..497e6662 100644
--- a/web/src/store/form/type.ts
+++ b/web/src/store/form/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface FormState {
auth: {
email: string;
diff --git a/web/src/store/hooks.ts b/web/src/store/hooks.ts
index d7e8ea9c..4bef7338 100644
--- a/web/src/store/hooks.ts
+++ b/web/src/store/hooks.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { Store } from 'redux';
import {
useDispatch as useReduxDispatch,
diff --git a/web/src/store/note/index.ts b/web/src/store/note/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/note/index.ts
+++ b/web/src/store/note/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/note/type.ts b/web/src/store/note/type.ts
index feb25a43..3e997577 100644
--- a/web/src/store/note/type.ts
+++ b/web/src/store/note/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { RemoteData } from '../types';
import { NoteData } from 'jslib/operations/types';
diff --git a/web/src/store/notes/index.ts b/web/src/store/notes/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/notes/index.ts
+++ b/web/src/store/notes/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/notes/type.ts b/web/src/store/notes/type.ts
index 38231454..8b23ea14 100644
--- a/web/src/store/notes/type.ts
+++ b/web/src/store/notes/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { NoteData } from 'jslib/operations/types';
import { BookData } from 'jslib/operations/books';
import { RemoteData } from '../types';
diff --git a/web/src/store/route/index.ts b/web/src/store/route/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/route/index.ts
+++ b/web/src/store/route/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/route/type.ts b/web/src/store/route/type.ts
index 432facd9..0b557f78 100644
--- a/web/src/store/route/type.ts
+++ b/web/src/store/route/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface RouteState {
prevLocation: {
pathname: string;
diff --git a/web/src/store/types.ts b/web/src/store/types.ts
index 481adcd8..dfcf5bd7 100644
--- a/web/src/store/types.ts
+++ b/web/src/store/types.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
import { Action, Store } from 'redux';
import { ThunkDispatch, ThunkAction } from 'redux-thunk';
diff --git a/web/src/store/ui/index.ts b/web/src/store/ui/index.ts
index e1b39eb2..e44e943b 100644
--- a/web/src/store/ui/index.ts
+++ b/web/src/store/ui/index.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export * from './actions';
export * from './reducers';
export * from './type';
diff --git a/web/src/store/ui/type.ts b/web/src/store/ui/type.ts
index 330f775d..e4e3b837 100644
--- a/web/src/store/ui/type.ts
+++ b/web/src/store/ui/type.ts
@@ -1,3 +1,21 @@
+/* Copyright (C) 2019 Monomax Software Pty Ltd
+ *
+ * This file is part of Dnote.
+ *
+ * Dnote 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.
+ *
+ * Dnote 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 Dnote. If not, see .
+ */
+
export interface MessageData {
content: string;
kind: string;