From b92d4f9e3506715262d4474348f37ad59d065ebc Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 23 Apr 2016 20:05:35 +0200 Subject: [PATCH] Add Copyright notice for GPLv3 in every code file --- src/app.js | 18 +++++++++ src/bin/www | 18 +++++++++ src/public/components/about.js | 37 +++++++++++++++++++ src/public/components/app.js | 18 +++++++++ src/public/components/authenticate.js | 18 +++++++++ src/public/components/duplicate-finder-box.js | 18 +++++++++ src/public/components/duplicate.js | 18 +++++++++ src/public/components/duplicates-box.js | 18 +++++++++ src/public/components/playlist-box.js | 18 +++++++++ src/public/index.html | 18 +++++++++ src/public/script.js | 18 +++++++++ 11 files changed, 217 insertions(+) diff --git a/src/app.js b/src/app.js index 431b2f2..bb27b0e 100644 --- a/src/app.js +++ b/src/app.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /** * This is an example of a basic node.js script that performs * the Authorization Code oAuth2 flow to authenticate against diff --git a/src/bin/www b/src/bin/www index 9530354..274a44c 100644 --- a/src/bin/www +++ b/src/bin/www @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #!/usr/bin/env node 'use strict'; require('dotenv').config({silent: true}); diff --git a/src/public/components/about.js b/src/public/components/about.js index 2506750..19ee7b1 100644 --- a/src/public/components/about.js +++ b/src/public/components/about.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); @@ -23,6 +41,25 @@ var About = React.createClass({ information about it. +

Source code

+

+ This project is open source. You can view the source code on the + GitHub repository. +

+

License

+

+ The source code is released under the GNU GPLv3 + License. This means you can use it, distribute it, modify it under the following conditions :

+
    +
  • You have to keep the copyright notices
  • +
  • Source code must be made available when distributing
  • +
  • You must distribute the modifications under the same license
  • +
  • You must highlight the modifications you made
  • +
  • You can't hold me liable
  • +
+

+ A copy of this license is included in the source code repository (see LICENSE file). +

Contribute

If you want to contribute to this project, feel free to diff --git a/src/public/components/app.js b/src/public/components/app.js index bde5876..d405103 100644 --- a/src/public/components/app.js +++ b/src/public/components/app.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var $ = require('jquery'); diff --git a/src/public/components/authenticate.js b/src/public/components/authenticate.js index 05a50a3..b636360 100644 --- a/src/public/components/authenticate.js +++ b/src/public/components/authenticate.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var ReactBootstrap = require('react-bootstrap'); diff --git a/src/public/components/duplicate-finder-box.js b/src/public/components/duplicate-finder-box.js index 7daa80d..bdbdc22 100644 --- a/src/public/components/duplicate-finder-box.js +++ b/src/public/components/duplicate-finder-box.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var ReactBootstrap = require('react-bootstrap'); diff --git a/src/public/components/duplicate.js b/src/public/components/duplicate.js index 45ecf06..288ef05 100644 --- a/src/public/components/duplicate.js +++ b/src/public/components/duplicate.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var ReactBootstrap = require('react-bootstrap'); diff --git a/src/public/components/duplicates-box.js b/src/public/components/duplicates-box.js index 2e826b5..ee7c9f8 100644 --- a/src/public/components/duplicates-box.js +++ b/src/public/components/duplicates-box.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var ReactBootstrap = require('react-bootstrap'); diff --git a/src/public/components/playlist-box.js b/src/public/components/playlist-box.js index 4fe0fe9..fc35943 100644 --- a/src/public/components/playlist-box.js +++ b/src/public/components/playlist-box.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var ReactBootstrap = require('react-bootstrap'); diff --git a/src/public/index.html b/src/public/index.html index 7f0d23c..dbf62d1 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1,4 +1,22 @@ + + DAVIDS • DuplicAtes VIewer and Detector for Spotify diff --git a/src/public/script.js b/src/public/script.js index fc0e105..7eb853e 100644 --- a/src/public/script.js +++ b/src/public/script.js @@ -1,3 +1,21 @@ +/* + * DAVIDS lets you find and view duplicates in your Spotify playlists. + * Copyright (C) 2016 Gabriel Augendre + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + 'use strict'; var React = require('react'); var ReactDOM = require('react-dom');