From b30f147df2c4108a4ec369f9d4c1e9adf540bccb Mon Sep 17 00:00:00 2001
From: Rafael S Castliho <rsc15@inf.ufpr.br>
Date: Wed, 27 Feb 2019 09:59:43 -0300
Subject: [PATCH] Add license to files

---
 common/models/category.js            | 20 ++++++++++++++++++++
 common/models/end_user.js            | 20 ++++++++++++++++++++
 common/models/geolocation.js         | 20 ++++++++++++++++++++
 enviroment.js                        | 20 ++++++++++++++++++++
 server/boot/access-control.js        | 20 ++++++++++++++++++++
 server/boot/authentication.js        | 20 ++++++++++++++++++++
 server/boot/hook.js                  | 20 ++++++++++++++++++++
 server/boot/models-automigratioin.js | 20 ++++++++++++++++++++
 server/boot/root.js                  | 20 ++++++++++++++++++++
 server/server.js                     | 20 ++++++++++++++++++++
 test/account.js                      | 20 ++++++++++++++++++++
 test/category.js                     | 20 ++++++++++++++++++++
 test/geolocation.js                  | 20 ++++++++++++++++++++
 13 files changed, 260 insertions(+)

diff --git a/common/models/category.js b/common/models/category.js
index 0500368..101e682 100644
--- a/common/models/category.js
+++ b/common/models/category.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 'use strict';
 
 module.exports = function(Category) {
diff --git a/common/models/end_user.js b/common/models/end_user.js
index 216d337..c3aa7e6 100644
--- a/common/models/end_user.js
+++ b/common/models/end_user.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 'use strict';
 
 module.exports = function(EndUser) {
diff --git a/common/models/geolocation.js b/common/models/geolocation.js
index 77d4c05..4dff1e0 100644
--- a/common/models/geolocation.js
+++ b/common/models/geolocation.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 'use strict';
 
 module.exports = function(Geolocation) {
diff --git a/enviroment.js b/enviroment.js
index d72fa3f..5f2483c 100644
--- a/enviroment.js
+++ b/enviroment.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 const URL = 'http://localhost:4001/api/';
 
 const randomLowerCase = function() {
diff --git a/server/boot/access-control.js b/server/boot/access-control.js
index 38f66df..3c52e38 100644
--- a/server/boot/access-control.js
+++ b/server/boot/access-control.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 /*
 2 Permissions : admin, user
 
diff --git a/server/boot/authentication.js b/server/boot/authentication.js
index 8e88d4b..e6a21eb 100644
--- a/server/boot/authentication.js
+++ b/server/boot/authentication.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 'use strict';
 
 module.exports = function enableAuthentication(server) {
diff --git a/server/boot/hook.js b/server/boot/hook.js
index 35fea51..f32cef5 100644
--- a/server/boot/hook.js
+++ b/server/boot/hook.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 module.exports = function(server) {
     var remotes = server.remotes();
     // modify all returned values
diff --git a/server/boot/models-automigratioin.js b/server/boot/models-automigratioin.js
index 56f146a..7966110 100644
--- a/server/boot/models-automigratioin.js
+++ b/server/boot/models-automigratioin.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 // module.exports = function(app) {
 //   'use strict';
 //   var db = app.dataSources.SMPPIR_CheckIn2;
diff --git a/server/boot/root.js b/server/boot/root.js
index 6adce90..46ca315 100644
--- a/server/boot/root.js
+++ b/server/boot/root.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 'use strict';
 
 module.exports = function(server) {
diff --git a/server/server.js b/server/server.js
index ef738ab..b3c308d 100644
--- a/server/server.js
+++ b/server/server.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 'use strict';
 
 var loopback = require('loopback');
diff --git a/test/account.js b/test/account.js
index e70a592..c9f58f8 100644
--- a/test/account.js
+++ b/test/account.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 var chakram = require('chakram'), expect = chakram.expect;
 var env = require('../enviroment');
 const URL = env.URL;
diff --git a/test/category.js b/test/category.js
index ac84fac..5194689 100644
--- a/test/category.js
+++ b/test/category.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 var chakram = require('chakram'), expect = chakram.expect;
 var env = require('../enviroment');
 const URL = env.URL;
diff --git a/test/geolocation.js b/test/geolocation.js
index 3808bac..66ee565 100644
--- a/test/geolocation.js
+++ b/test/geolocation.js
@@ -1,3 +1,23 @@
+/*
+Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of SMPPIR-CheckIn.
+
+SMPPIR-CheckIn 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.
+
+SMPPIR-CheckIn 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 SMPPIR-CheckIn.  If not, see <https://www.gnu.org/licenses/>.
+*/
+
 var chakram = require('chakram'), expect = chakram.expect;
 var env = require('../enviroment');
 const URL = env.URL;
-- 
GitLab