1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Shorten copyright headers for JS files (#37730).

git-svn-id: https://svn.redmine.org/redmine/trunk@22603 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2024-01-11 06:37:49 +00:00
parent bdec8a3a24
commit f09d991991
8 changed files with 39 additions and 127 deletions

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
function sanitizeHTML(string) {
var temp = document.createElement('span');

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
function addFile(inputEl, file, eagerUpload) {
var attachmentsFields = $(inputEl).closest('.attachments_form').find('.attachments_fields');

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
var contextMenuObserving;
@ -108,8 +97,8 @@ function contextMenuCreate() {
function contextMenuShow(event) {
var mouse_x = event.pageX;
var mouse_y = event.pageY;
var mouse_y_c = event.clientY;
var mouse_y = event.pageY;
var mouse_y_c = event.clientY;
var render_x = mouse_x;
var render_y = mouse_y;
var dims;
@ -161,7 +150,7 @@ function contextMenuShow(event) {
// adding class for submenu
if (window_height - mouse_y_c < 345) {
$('#context-menu .folder').addClass('up');
}
}
$('#context-menu').removeClass('reverse-y');
}
@ -235,7 +224,7 @@ function contextMenuClearDocumentSelection() {
function contextMenuInit() {
contextMenuCreate();
contextMenuUnselectAll();
if (!contextMenuObserving) {
$(document).click(contextMenuClick);
$(document).contextmenu(contextMenuRightClick);

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
var draw_gantt = null;
var draw_top;

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
// Automatic project identifier generation

View File

@ -1,22 +1,11 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
$(document).ready(function() {
/*
/*
If we're viewing a tag or branch, don't display it in the
revision box
*/
@ -26,7 +15,7 @@ $(document).ready(function() {
$('#rev').val('');
}
/*
/*
Copy the branch/tag value into the revision box, then disable
the dropdowns before submitting the form
*/

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
// generic layout specific responsive stuff goes here

View File

@ -1,19 +1,8 @@
/* Redmine - project management software
/**
* Redmine - project management software
* Copyright (C) 2006-2023 Jean-Philippe Lang
*
* 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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
* This code is released under the GNU General Public License.
*/
var revisionGraph = null;
@ -108,7 +97,7 @@ function drawRevisionGraph(holder, commits_hash, graph_space) {
.attr({
fill: '#000',
opacity: 0,
cursor: 'pointer',
cursor: 'pointer',
href: commit.href
});