From e858789e4f60b4d756e988c04f450c9b1b1be82f Mon Sep 17 00:00:00 2001 From: Findeton Date: Mon, 20 Jun 2016 16:03:20 +0200 Subject: [PATCH] add copyright headers, update authors file --- AUTHORS | 3 ++- Gruntfile.js | 17 +++++++++++++++++ app.js | 17 +++++++++++++++++ app.less | 16 ++++++++++++++++ avConfig.js | 17 +++++++++++++++++ avRegistration/auth-method-service.js | 17 +++++++++++++++++ .../field-directive/field-directive.js | 17 +++++++++++++++++ .../bool-field-directive.js | 17 +++++++++++++++++ .../captcha-field-directive.js | 17 +++++++++++++++++ .../code-field-directive.js | 17 +++++++++++++++++ .../dni-field-directive/dni-field-directive.js | 17 +++++++++++++++++ .../email-field-directive.js | 17 +++++++++++++++++ .../image-field-directive.js | 17 +++++++++++++++++ .../int-field-directive/int-field-directive.js | 17 +++++++++++++++++ .../password-field-directive.js | 17 +++++++++++++++++ .../tel-field-directive/tel-field-directive.js | 17 +++++++++++++++++ .../textarea-field-directive.js | 17 +++++++++++++++++ avRegistration/init.js | 17 +++++++++++++++++ .../login-controller/login-controller.js | 17 +++++++++++++++++ .../login-directive/login-directive.js | 17 +++++++++++++++++ .../logout-controller/logout-controller.js | 17 +++++++++++++++++ avRegistration/patterns-service.js | 17 +++++++++++++++++ avRegistration/plugins.js | 17 +++++++++++++++++ .../register-controller/register-controller.js | 17 +++++++++++++++++ .../register-directive/register-directive.js | 17 +++++++++++++++++ avThemes.js | 17 +++++++++++++++++ avUi/add-dots-to-int-service.js | 17 +++++++++++++++++ avUi/add-target-blank-filter.js | 17 +++++++++++++++++ avUi/affix-bottom-directive-webspec.js | 17 +++++++++++++++++ avUi/affix-bottom-directive.js | 17 +++++++++++++++++ avUi/affix-top-directive-webspec.js | 17 +++++++++++++++++ avUi/affix-top-directive.js | 17 +++++++++++++++++ avUi/affix-top-offset-directive.js | 17 +++++++++++++++++ avUi/auto-height-directive.js | 17 +++++++++++++++++ avUi/autoscroll-down-directive.js | 17 +++++++++++++++++ avUi/avUi.js | 17 +++++++++++++++++ .../change-lang-directive.js | 17 +++++++++++++++++ avUi/checker-service.js | 17 +++++++++++++++++ avUi/collapsing-directive-webspec.js | 17 +++++++++++++++++ avUi/collapsing-directive.js | 17 +++++++++++++++++ avUi/custom-delegates.js | 17 +++++++++++++++++ avUi/debounce-directive.js | 17 +++++++++++++++++ avUi/endswith-service.js | 17 +++++++++++++++++ avUi/html-to-text-filter.js | 17 +++++++++++++++++ avUi/inside-iframe-service.js | 17 +++++++++++++++++ avUi/jquery.flash.js | 17 +++++++++++++++++ avUi/learn-more-directive.js | 17 +++++++++++++++++ avUi/percent-votes-service.js | 17 +++++++++++++++++ .../simple-error-directive.js | 17 +++++++++++++++++ avUi/state-data-service.js | 17 +++++++++++++++++ avWidgets.js | 17 +++++++++++++++++ avb-start-loading.less | 17 +++++++++++++++++ e2e.conf.js | 17 +++++++++++++++++ external.less | 17 +++++++++++++++++ gulpfile.js | 17 +++++++++++++++++ plugins/test/test.js.sample | 17 +++++++++++++++++ themes/bcnencomu/app.less | 17 +++++++++++++++++ themes/cup/app.less | 17 +++++++++++++++++ themes/default/app.less | 17 +++++++++++++++++ themes/loop/app.less | 17 +++++++++++++++++ themes/podemos/app.less | 17 +++++++++++++++++ themes/test/app.less | 17 +++++++++++++++++ 62 files changed, 1038 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index bb7927b8..6007f74b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,5 @@ Eduardo Robles Elvira Javier Llorente Isidoro Daniel García Moreno -Victor Ramírez de la Corte \ No newline at end of file +Victor Ramírez de la Corte +Félix Robles Elvira \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js index 5fd138cb..c0b37632 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /*jslint node: true */ 'use strict'; diff --git a/app.js b/app.js index 3ec1c16b..7fd2ab5d 100755 --- a/app.js +++ b/app.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module( 'agora-gui-common', ['ui.bootstrap', diff --git a/app.less b/app.less index 67c46635..0e0efb2e 100755 --- a/app.less +++ b/app.less @@ -1,3 +1,19 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ @import "avb-start-loading.less"; @import "avUi/global.less"; diff --git a/avConfig.js b/avConfig.js index a9f6fb89..2093c775 100644 --- a/avConfig.js +++ b/avConfig.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * ConfigService is a function that returns the configuration that exists * in this same file, which you might want to edit and tune if needed. diff --git a/avRegistration/auth-method-service.js b/avRegistration/auth-method-service.js index b5846b98..e37d9669 100644 --- a/avRegistration/auth-method-service.js +++ b/avRegistration/auth-method-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .factory('Authmethod', function($http, $cookies, ConfigService, $interval) { diff --git a/avRegistration/field-directive/field-directive.js b/avRegistration/field-directive/field-directive.js index 560d7a11..6729c528 100644 --- a/avRegistration/field-directive/field-directive.js +++ b/avRegistration/field-directive/field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /** * Shows a field */ diff --git a/avRegistration/fields/bool-field-directive/bool-field-directive.js b/avRegistration/fields/bool-field-directive/bool-field-directive.js index d9332c2c..5d214ad5 100644 --- a/avRegistration/fields/bool-field-directive/bool-field-directive.js +++ b/avRegistration/fields/bool-field-directive/bool-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrBoolField', function($state) { return { diff --git a/avRegistration/fields/captcha-field-directive/captcha-field-directive.js b/avRegistration/fields/captcha-field-directive/captcha-field-directive.js index cdcb04ce..a5e2f99b 100644 --- a/avRegistration/fields/captcha-field-directive/captcha-field-directive.js +++ b/avRegistration/fields/captcha-field-directive/captcha-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrCaptchaField', ['Authmethod', '$state', '$interval', function(Authmethod, $state, $interval) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/code-field-directive/code-field-directive.js b/avRegistration/fields/code-field-directive/code-field-directive.js index 56e8737e..2d034203 100644 --- a/avRegistration/fields/code-field-directive/code-field-directive.js +++ b/avRegistration/fields/code-field-directive/code-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrCodeField', function($state, Plugins) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/dni-field-directive/dni-field-directive.js b/avRegistration/fields/dni-field-directive/dni-field-directive.js index 67bc6e4c..56630426 100644 --- a/avRegistration/fields/dni-field-directive/dni-field-directive.js +++ b/avRegistration/fields/dni-field-directive/dni-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrDniField', function($state) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/email-field-directive/email-field-directive.js b/avRegistration/fields/email-field-directive/email-field-directive.js index f45a42c5..d2d35ed4 100644 --- a/avRegistration/fields/email-field-directive/email-field-directive.js +++ b/avRegistration/fields/email-field-directive/email-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrEmailField', function($state, Patterns) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/image-field-directive/image-field-directive.js b/avRegistration/fields/image-field-directive/image-field-directive.js index f5330c03..62c68cda 100644 --- a/avRegistration/fields/image-field-directive/image-field-directive.js +++ b/avRegistration/fields/image-field-directive/image-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrImageField', function($state, $timeout) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/int-field-directive/int-field-directive.js b/avRegistration/fields/int-field-directive/int-field-directive.js index 5ef4d0dd..d007c95e 100644 --- a/avRegistration/fields/int-field-directive/int-field-directive.js +++ b/avRegistration/fields/int-field-directive/int-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrIntField', function($state) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/password-field-directive/password-field-directive.js b/avRegistration/fields/password-field-directive/password-field-directive.js index 9375e921..e447e37a 100644 --- a/avRegistration/fields/password-field-directive/password-field-directive.js +++ b/avRegistration/fields/password-field-directive/password-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrPasswordField', function($state) { return { diff --git a/avRegistration/fields/tel-field-directive/tel-field-directive.js b/avRegistration/fields/tel-field-directive/tel-field-directive.js index 0c8c7f84..c95514d7 100644 --- a/avRegistration/fields/tel-field-directive/tel-field-directive.js +++ b/avRegistration/fields/tel-field-directive/tel-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrTelField', function($state) { function link(scope, element, attrs) { diff --git a/avRegistration/fields/textarea-field-directive/textarea-field-directive.js b/avRegistration/fields/textarea-field-directive/textarea-field-directive.js index b90aa007..c45768d9 100644 --- a/avRegistration/fields/textarea-field-directive/textarea-field-directive.js +++ b/avRegistration/fields/textarea-field-directive/textarea-field-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avrTextareaField', function($state) { return { diff --git a/avRegistration/init.js b/avRegistration/init.js index 793aa18a..2496b2fd 100644 --- a/avRegistration/init.js +++ b/avRegistration/init.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration', ['ui.bootstrap','ui.utils','ui.router']); angular.module('avRegistration').config(function() { diff --git a/avRegistration/login-controller/login-controller.js b/avRegistration/login-controller/login-controller.js index 1ed0614c..d3a830f8 100644 --- a/avRegistration/login-controller/login-controller.js +++ b/avRegistration/login-controller/login-controller.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration').controller('LoginController', function($scope, $stateParams, $filter, ConfigService, $i18next) { $scope.event_id = $stateParams.id; diff --git a/avRegistration/login-directive/login-directive.js b/avRegistration/login-directive/login-directive.js index c73544d6..50e43f80 100644 --- a/avRegistration/login-directive/login-directive.js +++ b/avRegistration/login-directive/login-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avLogin', function(Authmethod, StateDataService, diff --git a/avRegistration/logout-controller/logout-controller.js b/avRegistration/logout-controller/logout-controller.js index 953748c8..17f3f1c9 100644 --- a/avRegistration/logout-controller/logout-controller.js +++ b/avRegistration/logout-controller/logout-controller.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration').controller('LogoutController', function($scope, $stateParams, $filter, ConfigService, $i18next, $state, $cookies) { var adminId = ConfigService.freeAuthId; diff --git a/avRegistration/patterns-service.js b/avRegistration/patterns-service.js index 7af21d2e..f75589ed 100644 --- a/avRegistration/patterns-service.js +++ b/avRegistration/patterns-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .factory('Patterns', function() { var patterns = {}; diff --git a/avRegistration/plugins.js b/avRegistration/plugins.js index 4ba0e5ae..cda478e8 100644 --- a/avRegistration/plugins.js +++ b/avRegistration/plugins.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /** * @description Service that manages the Plugins extension points. * diff --git a/avRegistration/register-controller/register-controller.js b/avRegistration/register-controller/register-controller.js index 58bcb27f..b7e4b185 100644 --- a/avRegistration/register-controller/register-controller.js +++ b/avRegistration/register-controller/register-controller.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration').controller('RegisterController', function($scope, $stateParams, $filter, ConfigService, $i18next) { $scope.event_id = $stateParams.id; diff --git a/avRegistration/register-directive/register-directive.js b/avRegistration/register-directive/register-directive.js index f4d8e773..ede6338c 100644 --- a/avRegistration/register-directive/register-directive.js +++ b/avRegistration/register-directive/register-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avRegistration') .directive('avRegister', function(Authmethod, StateDataService, $parse, $state, ConfigService, $cookies, $i18next, $sce) { // we use it as something similar to a controller here diff --git a/avThemes.js b/avThemes.js index 49b207e6..5500a589 100644 --- a/avThemes.js +++ b/avThemes.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + (function() { var avThemes = this.avThemes = {}; avThemes.current = 'default'; diff --git a/avUi/add-dots-to-int-service.js b/avUi/add-dots-to-int-service.js index 592533fd..325cf8d8 100644 --- a/avUi/add-dots-to-int-service.js +++ b/avUi/add-dots-to-int-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * Given a number, adds dots every three digits. * diff --git a/avUi/add-target-blank-filter.js b/avUi/add-target-blank-filter.js index cfaec608..a120006c 100644 --- a/avUi/add-target-blank-filter.js +++ b/avUi/add-target-blank-filter.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /** * Adds target blank to links. * diff --git a/avUi/affix-bottom-directive-webspec.js b/avUi/affix-bottom-directive-webspec.js index 1580622d..ed722830 100644 --- a/avUi/affix-bottom-directive-webspec.js +++ b/avUi/affix-bottom-directive-webspec.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* jshint ignore:start */ /* * affix-bottom-directive unit tests diff --git a/avUi/affix-bottom-directive.js b/avUi/affix-bottom-directive.js index 2e8ffbbf..1ab86fd8 100644 --- a/avUi/affix-bottom-directive.js +++ b/avUi/affix-bottom-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * directive used to position an element always at the bottom, so that it's * always shown completely. There are two scenarios: diff --git a/avUi/affix-top-directive-webspec.js b/avUi/affix-top-directive-webspec.js index 1cbf71e2..144dd19f 100644 --- a/avUi/affix-top-directive-webspec.js +++ b/avUi/affix-top-directive-webspec.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* jshint ignore:start */ describe("affix-top-directive tests", function () { diff --git a/avUi/affix-top-directive.js b/avUi/affix-top-directive.js index c380d3c4..f5430b7a 100644 --- a/avUi/affix-top-directive.js +++ b/avUi/affix-top-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * directive used to position an element always at the top. It just sets its * specified element with a margin-top to make space for the affixed element. diff --git a/avUi/affix-top-offset-directive.js b/avUi/affix-top-offset-directive.js index 5d2db416..0a76aef2 100644 --- a/avUi/affix-top-offset-directive.js +++ b/avUi/affix-top-offset-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avUi') .directive('avAffixTopOffset', function($window, $timeout, $parse) { var affixClass = "affix-top"; diff --git a/avUi/auto-height-directive.js b/avUi/auto-height-directive.js index e4075c39..5315492b 100644 --- a/avUi/auto-height-directive.js +++ b/avUi/auto-height-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /** * Usage: * diff --git a/avUi/autoscroll-down-directive.js b/avUi/autoscroll-down-directive.js index 0151f537..65995e9d 100644 --- a/avUi/autoscroll-down-directive.js +++ b/avUi/autoscroll-down-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /** * Always scrolls to bottom the div to which the directive is attached when * the observed property is modified. diff --git a/avUi/avUi.js b/avUi/avUi.js index 76064cba..10f8220c 100644 --- a/avUi/avUi.js +++ b/avUi/avUi.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * The avUi module contains a series of user interface directives and utilities. */ diff --git a/avUi/change-lang-directive/change-lang-directive.js b/avUi/change-lang-directive/change-lang-directive.js index 1553f27a..5c1d5c22 100644 --- a/avUi/change-lang-directive/change-lang-directive.js +++ b/avUi/change-lang-directive/change-lang-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * Simple change lang directive, that can be used in the navbar as a list * element: diff --git a/avUi/checker-service.js b/avUi/checker-service.js index 19b2f547..7e02617e 100644 --- a/avUi/checker-service.js +++ b/avUi/checker-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * Checks input data with a list of checks. * diff --git a/avUi/collapsing-directive-webspec.js b/avUi/collapsing-directive-webspec.js index 5cf82bef..a48dbfd0 100644 --- a/avUi/collapsing-directive-webspec.js +++ b/avUi/collapsing-directive-webspec.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* jshint ignore:start */ describe("collapsing-directive tests", function () { diff --git a/avUi/collapsing-directive.js b/avUi/collapsing-directive.js index e7e586a6..7f0847e1 100644 --- a/avUi/collapsing-directive.js +++ b/avUi/collapsing-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * avCollapsing limits the default maximum height of an element by making it * collapsable if it exceeds the max-height of the selector. diff --git a/avUi/custom-delegates.js b/avUi/custom-delegates.js index 535449b3..68ff75de 100644 --- a/avUi/custom-delegates.js +++ b/avUi/custom-delegates.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + // see https://github.com/angular/angular.js/issues/1404 angular.module('avUi') .config(function($provide) { diff --git a/avUi/debounce-directive.js b/avUi/debounce-directive.js index 6fe4f570..c2385143 100644 --- a/avUi/debounce-directive.js +++ b/avUi/debounce-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + // source: https://gist.github.com/tommaitland/7579618#file-ng-debounce-js angular.module('avUi') .directive('avDebounce', function($timeout) { diff --git a/avUi/endswith-service.js b/avUi/endswith-service.js index 95eb260f..e839b2d6 100644 --- a/avUi/endswith-service.js +++ b/avUi/endswith-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avUi') .service('EndsWithService', function() { return function (originString, searchString) { diff --git a/avUi/html-to-text-filter.js b/avUi/html-to-text-filter.js index 732191f0..da20e5c3 100644 --- a/avUi/html-to-text-filter.js +++ b/avUi/html-to-text-filter.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avUi') .filter('htmlToText', function() { return function(text) { diff --git a/avUi/inside-iframe-service.js b/avUi/inside-iframe-service.js index ae0215bb..3d98e416 100644 --- a/avUi/inside-iframe-service.js +++ b/avUi/inside-iframe-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avUi') .service('InsideIframeService', function() { return function() { diff --git a/avUi/jquery.flash.js b/avUi/jquery.flash.js index f453bb9f..15fafd13 100644 --- a/avUi/jquery.flash.js +++ b/avUi/jquery.flash.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + jQuery.fn.flash = function(duration) { var selector = this; diff --git a/avUi/learn-more-directive.js b/avUi/learn-more-directive.js index 2fba3232..83333662 100644 --- a/avUi/learn-more-directive.js +++ b/avUi/learn-more-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avUi') .directive('learnMore', function() { diff --git a/avUi/percent-votes-service.js b/avUi/percent-votes-service.js index eb9b2229..c9c80b3f 100644 --- a/avUi/percent-votes-service.js +++ b/avUi/percent-votes-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * Returns the percentage of votes received by an answer. The base number * of the percentage that is used depends on the diff --git a/avUi/simple-error-directive/simple-error-directive.js b/avUi/simple-error-directive/simple-error-directive.js index e90b9fb9..affaa11e 100644 --- a/avUi/simple-error-directive/simple-error-directive.js +++ b/avUi/simple-error-directive/simple-error-directive.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * Simple error directive. */ diff --git a/avUi/state-data-service.js b/avUi/state-data-service.js index a3ce0421..ac542904 100644 --- a/avUi/state-data-service.js +++ b/avUi/state-data-service.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* * Save data between states. * diff --git a/avWidgets.js b/avWidgets.js index 6c5c56e8..a4d1c2e9 100644 --- a/avWidgets.js +++ b/avWidgets.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* jshint ignore:start */ (function () { function createElement(name, attrs) { diff --git a/avb-start-loading.less b/avb-start-loading.less index 0fe6c4bb..14b44425 100644 --- a/avb-start-loading.less +++ b/avb-start-loading.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + .avb-start-loading { position: absolute; top: 50%; diff --git a/e2e.conf.js b/e2e.conf.js index b118f80a..723d3462 100644 --- a/e2e.conf.js +++ b/e2e.conf.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + /* jshint ignore:start */ exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', diff --git a/external.less b/external.less index 05591a0d..ff0c3e57 100644 --- a/external.less +++ b/external.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "bower_components/bootstrap/less/bootstrap.less"; //@import "bower_components/bootstrap/less/theme.less"; @import "bower_components/font-awesome/less/font-awesome.less"; diff --git a/gulpfile.js b/gulpfile.js index 5d7e2c4d..62da6690 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + //Experimental /*jslint node: true */ diff --git a/plugins/test/test.js.sample b/plugins/test/test.js.sample index 814fbdf2..1a9272cc 100644 --- a/plugins/test/test.js.sample +++ b/plugins/test/test.js.sample @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + angular.module('avAdmin').run(function(Plugins) { // Adding to the sidebar params: // name, icon-name (fa), head or sub, text to show diff --git a/themes/bcnencomu/app.less b/themes/bcnencomu/app.less index 7f669b78..08dcfffe 100644 --- a/themes/bcnencomu/app.less +++ b/themes/bcnencomu/app.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "../../external.less"; /* Global Config */ diff --git a/themes/cup/app.less b/themes/cup/app.less index 251bb7c2..c665c6b1 100644 --- a/themes/cup/app.less +++ b/themes/cup/app.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "../../external.less"; /* Global Config */ diff --git a/themes/default/app.less b/themes/default/app.less index fd1aebbd..e9f97336 100644 --- a/themes/default/app.less +++ b/themes/default/app.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "../../external.less"; /* Global Config */ diff --git a/themes/loop/app.less b/themes/loop/app.less index 18d62568..334959c5 100644 --- a/themes/loop/app.less +++ b/themes/loop/app.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "../../external.less"; /* Global Config */ diff --git a/themes/podemos/app.less b/themes/podemos/app.less index a5dc2a3a..d9c99699 100644 --- a/themes/podemos/app.less +++ b/themes/podemos/app.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "../../external.less"; /* Global Config */ diff --git a/themes/test/app.less b/themes/test/app.less index d01b6e00..f17be7c6 100644 --- a/themes/test/app.less +++ b/themes/test/app.less @@ -1,3 +1,20 @@ +/** + * This file is part of agora-gui-common. + * Copyright (C) 2015-2016 Agora Voting SL + + * agora-gui-common 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. + + * agora-gui-common 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 agora-gui-common. If not, see . +**/ + @import "../../external.less"; /* Global Config */