Skip to content

Commit

Permalink
Version 6.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Jan 1, 2022
1 parent 77afece commit e6d008f
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 46 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For more information, go to https://www.luigifab.fr/apijs (IPv6 is required, it'

This repository is a releases mirror. To install it, please read the documentation.

- Current version: 6.8.1 (10/10/2021)
- Current version: 6.8.2 (01/01/2022)
- Client compatibility: Firefox 36+, Chrome 32+, Opera 19+, Edge 16+, Safari 9+
- Translations: English (en), French (fr-FR/fr-CA), German (de), Italian (it), Portuguese (pt-PT/pt-BR), Spanish (es) / Chinese (zh), Czech (cs), Dutch (nl), Greek (el), Hungarian (hu), Japanese (ja), Polish (pl), Romanian (ro), Russian (ru), Slovak (sk), Turkish (tr), Ukrainian (uk)
- License: GNU GPL 2+
Expand Down
9 changes: 4 additions & 5 deletions src/javascripts/dialog.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Created D/12/04/2009
* Updated J/23/09/2021
* Updated M/28/09/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down Expand Up @@ -646,10 +646,9 @@ apijs.core.dialog = function () {
if (old) {
this.toggle('start', 'ready');
this.t1 = old;
// avant la vie était simple : this.t1.appendChild(this.t0.firstChild.firstChild);
// maintenant il peut y avoir un second élément en plus de la div id=apijsBox (p.drag)
// this.t1.appendChild(this.t0.firstChild.firstChild);
// https://stackoverflow.com/a/24775765/2980105
Array.prototype.slice.call(this.t0.firstChild.childNodes).forEach(function (node) {
apijs.toArray(this.t0.firstChild.childNodes).forEach(function (node) {
this.t1.appendChild(node);
}, this); // pour que ci-dessus this = this
this.t1.setAttribute('class', this.t2.getAttribute('class'));
Expand Down
2 changes: 1 addition & 1 deletion src/javascripts/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created S/05/06/2010
* Updated S/03/07/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down
10 changes: 5 additions & 5 deletions src/javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Created J/03/12/2009
* Updated J/23/09/2021
* Updated V/22/10/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down Expand Up @@ -46,7 +46,7 @@ var apijs = new (function () {

"use strict";
this.core = {};
this.version = 681;
this.version = 682;

this.config = {
lang: 'auto',
Expand Down Expand Up @@ -147,8 +147,8 @@ var apijs = new (function () {
return false;
};

this.toArray = function (data) {
return Array.prototype.slice.call(data, 0);
this.toArray = function (data, max) {
return Array.prototype.slice.call(data, 0, max);
};

this.openTab = function (ev) {
Expand Down
2 changes: 1 addition & 1 deletion src/javascripts/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created D/11/01/2015
* Updated V/23/07/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down
2 changes: 1 addition & 1 deletion src/javascripts/slideshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created J/13/05/2010
* Updated V/01/01/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down
8 changes: 4 additions & 4 deletions src/javascripts/upload.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Created L/13/04/2009
* Updated J/23/09/2021
* Updated M/28/09/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down Expand Up @@ -114,8 +114,8 @@ apijs.core.upload = function () {
if (this.exts) {

// 1048576 octet = 1 Mo
//Array.prototype.forEach.call((this.allmax > 0) ? elem.files : Array.prototype.slice.call(elem.files, 0, 1), function (file, idx) {
Array.prototype.slice.call(elem.files, 0, (this.allmax > 0) ? 999 : 1).forEach(function (file, idx) {
// https://stackoverflow.com/a/24775765/2980105
apijs.toArray(elem.files, (this.allmax > 0) ? 999 : 1).forEach(function (file, idx) {

var txt = file.size / 1048576;
txt = apijs.formatNumber((txt < 0.01) ? 0.01 : txt);
Expand Down
11 changes: 4 additions & 7 deletions src/readme
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ Docs : https://www.luigifab.fr/apijs
Tracker : https://github.com/luigifab/apijs
JS-App : Apijs
License : GNU GPL 2+ (https://opensource.org/licenses/gpl-2.0)
Copyright : 2008-2021 Fabrice Creuzot (luigifab) <code~luigifab~fr>
Copyright : 2008-2022 Fabrice Creuzot (luigifab) <code~luigifab~fr>









IF YOU FOUND A MISTAKE OR A BUG, PLEASE, CONTACT ME (IN FRENCH OR IN ENGLISH) AT code~luigifab~fr
IF YOU FOUND A MISTAKE OR A BUG, PLEASE CONTACT ME (IN FRENCH OR IN ENGLISH).
CSS AND JS FILES ARE MINIFIED WITH clean-css (github.com/jakubpawlowicz/clean-css) AND uglify-js (github.com/mishoo/uglifyjs).
ALL FILES (INCLUDING DOCUMENTATION AND TRANSLATIONS) ARE LICENSED UNDER THE TERMS OF THE GNU GPL 2+ LICENSE.
THAT BEING SAID SOME FILES COME FROM OTHER PROJECTS AND ARE UNDER OTHER LICENSES (SEE AT THE END OF THIS FILE).
Expand All @@ -28,7 +25,7 @@ Translations in de-DE (deutsch/Deutschland) by:
- Philip Junietz <info~label-park~com> 2016
- Pamela Steinborn <st.pamela~laposte~net> 2016
Translations in en-US (english/United-States) by:
- Fabrice Creuzot (luigifab) <code~luigifab~fr> 2008-2021
- Fabrice Creuzot (luigifab) <code~luigifab~fr> 2008-2022
- Brian Legrand <mrbibi1987~gmail~com> 2012
- Pascale Scellier <scellier.pascale~orange~fr> 2016
Translations in es-ES (español/España) by:
Expand All @@ -38,7 +35,7 @@ Translations in es-ES (español/España) by:
- Hélène Vergine <vergineh~gmail~com> 2017, 2020
- Guillaume Genetet <genetet.incorporated~gmail~com> 2018 https://fr.tipeee.com/william-broome
Translations in fr-FR (français/France) by:
- Fabrice Creuzot (luigifab) <code~luigifab~fr> 2008-2021
- Fabrice Creuzot (luigifab) <code~luigifab~fr> 2008-2022
- Pascale Scellier <scellier.pascale~orange~fr> 2016
Translations in it-IT (italiano/Italia) by:
- Maria Grasso <mgrasso~outlook~fr> 2016-2017
Expand Down
2 changes: 1 addition & 1 deletion src/styles/album.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created V/08/05/2009
* Updated J/12/09/2019
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down
6 changes: 3 additions & 3 deletions src/styles/dialog.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Created V/08/05/2009
* Updated J/23/09/2021
* Updated V/22/10/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down Expand Up @@ -116,7 +116,7 @@ div[id="apijsDialog"] * { margin:0; padding:0; }
#apijsBox div.btns.upload table { border-spacing:0; }
#apijsBox div.btns.upload td + td { padding-left:0.6em; }
#apijsBox div.btns.upload td.nb { font-size:0.85em; color:#676767; }
#apijsBox div.btns.upload td.size { color:#676767; }
#apijsBox div.btns.upload td.size { white-space:nowrap; color:#676767; }
#apijsBox div.btns.upload td.err { color:#E41101; }

#apijsBox div.btns button {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/player.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created V/01/01/2021
* Updated V/18/06/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down
2 changes: 1 addition & 1 deletion src/styles/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created J/20/06/2013
* Updated L/08/07/2019
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* Copyright 2008-2022 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
*
* This program is free software, you can redistribute it or modify
Expand Down
4 changes: 2 additions & 2 deletions src/zip/apijs-print.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/zip/apijs-print.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e6d008f

Please sign in to comment.