From 3d173b4f09a23bf284010007cfc7339794d28d55 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Tue, 2 May 2017 20:28:56 +0000 Subject: [PATCH 01/16] Jirafeau version 3.2.0 Signed-off-by: Jerome Jutteau --- README.md | 12 +++++++++++- lib/settings.php | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 461a3f9..287fa76 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,14 @@ Installation steps: 1. No special change to upgrade to 3.0.0 -### From version 2.0.0 to 3.1.0 +### From version 3.0.0 to 3.1.0 1. No special change to upgrade to 3.1.0 +### From version 3.1.0 to 3.2.0 + +1. No special change to upgrade to 3.2.0 + ### Troubleshooting If you have some troubles, consider the following cases @@ -379,3 +383,9 @@ The very first version of Jirafeau after the fork of Jyraphe. - Fix regression on user authentication (see #113) - Some cosmetic change + +## Version 3.2.0 + +- Update translations from Update translations from weblate +- Better style +- Fix regression on admin password setting diff --git a/lib/settings.php b/lib/settings.php index 6f16940..2c30ed4 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -33,7 +33,7 @@ if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) { /* Jirafeau package */ define('JIRAFEAU_PACKAGE', 'Jirafeau'); -define('JIRAFEAU_VERSION', '3.1.0'); +define('JIRAFEAU_VERSION', '3.2.0'); /* Directories. */ define('VAR_FILES', $cfg['var_root'] . 'files/'); -- 2.34.1 From f59f39f5ecae40b15bd39d43a59e73198ed4820e Mon Sep 17 00:00:00 2001 From: "R.W" Date: Mon, 24 Apr 2017 16:32:31 +0000 Subject: [PATCH 02/16] fix elementid for expiration date --- lib/functions.js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions.js.php b/lib/functions.js.php index 0c9a020..7ac8c76 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -154,14 +154,14 @@ function show_link (url, reference, delete_code, crypt_key, date) // Validity date if (isEmpty(date)) { - document.getElementById('validity').style.display = 'none'; + document.getElementById('date').style.display = 'none'; } else { document.getElementById('date').innerHTML = '' + date.format('YYYY-MM-DD hh:mm (GMT O)') + ''; - document.getElementById('validity').style.display = ''; + document.getElementById('date').style.display = ''; } // Preview link (if allowed) -- 2.34.1 From 13b2c3e0ba6e6a114bfbe4df346b18b87ef52ff6 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Wed, 14 Jun 2017 11:26:06 +0000 Subject: [PATCH 03/16] Jirafeau version 3.2.1 Signed-off-by: Jerome Jutteau --- README.md | 9 +++++++++ lib/settings.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 287fa76..5750e48 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,11 @@ Installation steps: 1. No special change to upgrade to 3.2.0 +### From version 3.2.0 to 3.2.1 + +1. No special change to upgrade to 3.2.1 + + ### Troubleshooting If you have some troubles, consider the following cases @@ -389,3 +394,7 @@ The very first version of Jirafeau after the fork of Jyraphe. - Update translations from Update translations from weblate - Better style - Fix regression on admin password setting + +## Version 3.2.1 + +- fix download view after an upload diff --git a/lib/settings.php b/lib/settings.php index 2c30ed4..3f7094c 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -33,7 +33,7 @@ if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) { /* Jirafeau package */ define('JIRAFEAU_PACKAGE', 'Jirafeau'); -define('JIRAFEAU_VERSION', '3.2.0'); +define('JIRAFEAU_VERSION', '3.2.1'); /* Directories. */ define('VAR_FILES', $cfg['var_root'] . 'files/'); -- 2.34.1 From ac47db6d2c2c5c4412c1318346b31521f38a03e8 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Wed, 14 Jun 2017 11:33:28 +0000 Subject: [PATCH 04/16] [BUGFIX] repair email image (thanks Igor Posledov) closes #123 Signed-off-by: Jerome Jutteau --- media/courgette/style.css.php | 1 + 1 file changed, 1 insertion(+) diff --git a/media/courgette/style.css.php b/media/courgette/style.css.php index 6035949..9a5fea1 100644 --- a/media/courgette/style.css.php +++ b/media/courgette/style.css.php @@ -280,6 +280,7 @@ input[type="submit"]:focus { #upload_image_email { padding-left: 20px; margin-left: 10px; + padding-bottom: 15px; background: url(email.png) no-repeat; } -- 2.34.1 From c64d69d4290df4b6649fc1cff1679888f7191bbe Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Tue, 16 May 2017 12:03:45 +0000 Subject: [PATCH 05/16] Added translation using Weblate (Portuguese (Brazil)) --- lib/locales/pt_BR.json | 117 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 lib/locales/pt_BR.json diff --git a/lib/locales/pt_BR.json b/lib/locales/pt_BR.json new file mode 100644 index 0000000..9ac9141 --- /dev/null +++ b/lib/locales/pt_BR.json @@ -0,0 +1,117 @@ +{ + "Jirafeau, your web file repository": "", + "Select a file": "", + "Send": "", + "Uploading ...": "", + "One time download": "", + "Password": "", + "Time limit": "", + "Maximum file size": "Taille maximale", + "powered by Open-Source project Jirafeau": "", + "Made with": "", + "Jirafeau Project": "", + "One minute": "", + "One hour": "", + "One day": "", + "One week": "", + "One month": "", + "One quarter": "", + "One year": "", + "None": "", + "Upload password": "", + "File is too big": "", + "File size is limited to": "", + "The file directory is not writable": "", + "The link directory is not writable": "", + "The async directory is not writable!": "", + "Installer script still present": "", + "Please make sure to delete the installer script \"install.php\" before continuing.": "", + "An error occurred.": "", + "File uploaded !": "", + "Download page": "", + "This file is valid until the following date": "", + "View link": "", + "Direct download link": "", + "Delete link": "", + "Download": "", + "Preview": "", + "Sorry, the requested file is not found": "", + "File not available.": "", + "File has been deleted.": "", + "The time limit of this file has expired.": "", + "Password protection": "", + "Give the password of this file": "", + "Access denied": "", + "You are about to download": "", + "By using our services, you accept our": "", + "Terms of Service": "", + "Warning, this file will self-destruct after being read": "", + "Internal error during file creation.": "", + + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", + "The following directory could not be created": "", + "You should create this directory manually.": "", + "The following directory is not writable": "", + "You should give the write permission to the web server on this directory.": "", + "Here is a solution": "", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", + "Installation of Jirafeau": "", + "step": "", + "out of": "", + "Administration password": "", + "Finalisation": "", + "Jirafeau is setting the website according to the configuration you provided.": "", + "Previous step": "", + "Retry this step": "", + "Jirafeau is now fully operational": "", + "Information": "", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", + "Base address": "", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", + "Data directory": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Choose the default language": "", + "Next step": "", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", + "Administration password": "", + + "Sorry, the admin interface is not enabled.": "", + "Sorry, you are not authenticated on admin interface.": "", + "Login": "", + "Wrong password.": "", + "Admin interface": "", + "Clean expired files": "", + "Clean old unfinished transfers": "", + "Clean": "", + "Search files by name": "", + "Search": "", + "List all files": "", + "List": "", + "Actions": "", + "Search files by file hash": "", + "Search a specific link": "", + "Number of cleaned files": "", + "Logout": "", + "You are now loggued out": "", + "Link deleted": "", + "Filename": "", + "file": "", + "link": "", + "Type": "", + "Size": "", + "Expire": "", + "Onetime": "", + "Upload date": "", + "Origin": "", + "Action": "", + "Del link": "", + "Del file and links": "", + "Deleted links": "", + "year": "", + "day": "", + "minute": "", + "hour": "", + "second": "", + "less than a second": "" +} -- 2.34.1 From 3963e2bb1b0140a7912dad1e3314a46e49b1ee12 Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Tue, 16 May 2017 13:38:26 +0000 Subject: [PATCH 06/16] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (112 of 112 strings) --- lib/locales/pt_BR.json | 227 ++++++++++++++++++++--------------------- 1 file changed, 112 insertions(+), 115 deletions(-) diff --git a/lib/locales/pt_BR.json b/lib/locales/pt_BR.json index 9ac9141..11f6176 100644 --- a/lib/locales/pt_BR.json +++ b/lib/locales/pt_BR.json @@ -1,117 +1,114 @@ { - "Jirafeau, your web file repository": "", - "Select a file": "", - "Send": "", - "Uploading ...": "", - "One time download": "", - "Password": "", - "Time limit": "", - "Maximum file size": "Taille maximale", - "powered by Open-Source project Jirafeau": "", - "Made with": "", - "Jirafeau Project": "", - "One minute": "", - "One hour": "", - "One day": "", - "One week": "", - "One month": "", - "One quarter": "", - "One year": "", - "None": "", - "Upload password": "", - "File is too big": "", - "File size is limited to": "", - "The file directory is not writable": "", - "The link directory is not writable": "", - "The async directory is not writable!": "", - "Installer script still present": "", - "Please make sure to delete the installer script \"install.php\" before continuing.": "", - "An error occurred.": "", - "File uploaded !": "", - "Download page": "", - "This file is valid until the following date": "", - "View link": "", - "Direct download link": "", - "Delete link": "", - "Download": "", - "Preview": "", - "Sorry, the requested file is not found": "", - "File not available.": "", - "File has been deleted.": "", - "The time limit of this file has expired.": "", - "Password protection": "", - "Give the password of this file": "", - "Access denied": "", - "You are about to download": "", - "By using our services, you accept our": "", - "Terms of Service": "", - "Warning, this file will self-destruct after being read": "", - "Internal error during file creation.": "", - - "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", - "The following directory could not be created": "", - "You should create this directory manually.": "", - "The following directory is not writable": "", - "You should give the write permission to the web server on this directory.": "", - "Here is a solution": "", - "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", - "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", - "Installation of Jirafeau": "", - "step": "", - "out of": "", - "Administration password": "", - "Finalisation": "", - "Jirafeau is setting the website according to the configuration you provided.": "", - "Previous step": "", - "Retry this step": "", - "Jirafeau is now fully operational": "", - "Information": "", - "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", - "Base address": "", - "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", - "Data directory": "", - "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", - "Choose the default language": "", - "Next step": "", - "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", - "Administration password": "", - - "Sorry, the admin interface is not enabled.": "", - "Sorry, you are not authenticated on admin interface.": "", - "Login": "", - "Wrong password.": "", - "Admin interface": "", - "Clean expired files": "", - "Clean old unfinished transfers": "", - "Clean": "", - "Search files by name": "", - "Search": "", - "List all files": "", - "List": "", - "Actions": "", - "Search files by file hash": "", - "Search a specific link": "", - "Number of cleaned files": "", - "Logout": "", - "You are now loggued out": "", - "Link deleted": "", - "Filename": "", - "file": "", - "link": "", - "Type": "", - "Size": "", - "Expire": "", - "Onetime": "", - "Upload date": "", - "Origin": "", - "Action": "", - "Del link": "", - "Del file and links": "", - "Deleted links": "", - "year": "", - "day": "", - "minute": "", - "hour": "", - "second": "", - "less than a second": "" + "Jirafeau, your web file repository": "Jirafeau, o seu repositório web de arquivos", + "Select a file": "Selecione um arquivo", + "Send": "Enviar", + "Uploading ...": "Carregando...", + "One time download": "Download único", + "Password": "Senha", + "Time limit": "Limite de tempo", + "Maximum file size": "Tamanho máximo de arquivo", + "powered by Open-Source project Jirafeau": "disponibilizado pelo projeto Open-Source Jirafeau", + "Made with": "Feito com", + "Jirafeau Project": "Projeto Jirafeau", + "One minute": "Um minuto", + "One hour": "Uma hora", + "One day": "Um dia", + "One week": "Uma semana", + "One month": "Um mês", + "One quarter": "Três meses", + "One year": "Um ano", + "None": "Nenhum", + "Upload password": "Senha de upload", + "File is too big": "Arquivo muito grande", + "File size is limited to": "Tamanho de arquivo limitado a", + "The file directory is not writable": "O diretório de arquivos não permite escrita", + "The link directory is not writable": "O diretório de link não permite escrita", + "The async directory is not writable!": "O diretório async não permite escrita!", + "Installer script still present": "O script de instalação ainda está presente", + "Please make sure to delete the installer script \"install.php\" before continuing.": "Por favor, tenha certeza de apagar o script de instalação \"install.php\" antes de continuar.", + "An error occurred.": "Ocorreu um erro.", + "File uploaded !": "Arquivo carregado!", + "Download page": "Pagina de Download", + "This file is valid until the following date": "Este arquivo é válido até à seguinte data", + "View link": "Ver link", + "Direct download link": "Link para download direto", + "Delete link": "Apagar link", + "Download": "Baixar", + "Preview": "Pré-visualizar", + "Sorry, the requested file is not found": "Desculpe, o arquivo requisitado não foi encontrado", + "File not available.": "Arquivo indisponível.", + "File has been deleted.": "O arquivo foi apagado.", + "The time limit of this file has expired.": "O limite de tempo para este arquivo expirou.", + "Password protection": "Proteção de senha", + "Give the password of this file": "Coloque a senha para este arquivo", + "Access denied": "Acesso negado", + "You are about to download": "Você está prestes a fazer o download", + "By using our services, you accept our": "Ao usar os nossos serviços, você aceita a nossa", + "Terms of Service": "Termos do Serviço", + "Warning, this file will self-destruct after being read": "Cuidado, esse arquivo irá se auto-destruir após ser lido", + "Internal error during file creation.": "Erro interno durante a criação do arquivo.", + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "Este arquivo foi gerado durante o processo de instalação. Você pode edita-lo. Por favor leia config.original.php para compreender os itens de configuração.", + "The following directory could not be created": "O seguinte diretório não pode ser criado", + "You should create this directory manually.": "Você deve criar este diretório manualmente.", + "The following directory is not writable": "O seguinte diretório não permite escrita", + "You should give the write permission to the web server on this directory.": "Você deve dar permissões de escrita ao servidor web neste diretório.", + "Here is a solution": "Eis uma solução", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "O arquivo local de configuração não pode ser criado. Crie o arquivo lib/config.local.php e atribua permissão de escrita ao servidor web (solução preferencial), ou atribua permissões de escrita ao servidor web no diretório lib.", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "O arquivo local de configuração não consegue ser escrito pelo servidor web. Atribua permissão de escrita ao servidor web no arquivo lib/config.local.php.", + "Installation of Jirafeau": "Instalação do Jirafeau", + "step": "passo", + "out of": "de", + "Administration password": "Senha de administração", + "Finalisation": "Finalização", + "Jirafeau is setting the website according to the configuration you provided.": "Jirafeau irá configurar o site de acordo com as configurações que você forneceu.", + "Previous step": "Passo anterior", + "Retry this step": "Tentar este passo novamente", + "Jirafeau is now fully operational": "Jirafeau está totalmente operacional agora", + "Information": "Informação", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "O endereço base do Jirafeau é a primeira parte do URL, até (e incluindo) a ultima barra. Por exemplo: \\\"http://www.exemplo.com/\\\".Não se esqueça da barra final!", + "Base address": "Endereço base", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "O diretório de dados é onde os seus arquivos e a informações sobre os arquivos serão armazenados. Deverá coloca-lo fora do seu servidor web ou pelo menos restringir o acesso a este diretório. Não esquecer a barra final!", + "Data directory": "Diretório de dados", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "O Jirafeau é internacionalizado. Especifique um idioma ou escolha Automático (o idioma provido pelo navegador do utilizador).", + "Choose the default language": "Escolha o idioma padrão", + "Next step": "Próximo passo", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "Jirafeau possui um interface de administração (admin.php). Você definir uma senha para acessar a interface ou deixá-la vazia para desabilitar esta interface.", + "Sorry, the admin interface is not enabled.": "Desculpe, a interface de administração está desabilitada.", + "Sorry, you are not authenticated on admin interface.": "Desculpe, não está autenticado na interface de administração.", + "Login": "Iniciar sessão", + "Wrong password.": "Senha incorreta.", + "Admin interface": "Interface de administração", + "Clean expired files": "Limpar arquivos expirados", + "Clean old unfinished transfers": "Limpar transferências antigas inacabadas", + "Clean": "Limpar", + "Search files by name": "Pesquisar arquivos por nome", + "Search": "Pesquisar", + "List all files": "Listar todos os arquivos", + "List": "Listar", + "Actions": "Ações", + "Search files by file hash": "Pesquisar arquivos por hash", + "Search a specific link": "Pesquisar um link especifico", + "Number of cleaned files": "Numero de arquivos limpos", + "Logout": "Terminar sessão", + "You are now loggued out": "Sessão terminada", + "Link deleted": "Link apagado", + "Filename": "Nome do arquivo", + "file": "arquivo", + "link": "link", + "Type": "Tipo", + "Size": "Tamanho", + "Expire": "Expira", + "Onetime": "Uma vez", + "Upload date": "Data de upload", + "Origin": "Origem", + "Action": "Ação", + "Del link": "Apagar links", + "Del file and links": "Apagar arquivos e links", + "Deleted links": "Links apagados", + "year": "ano", + "day": "dia", + "minute": "minuto", + "hour": "hora", + "second": "segundo", + "less than a second": "Menos de um segundo" } -- 2.34.1 From a9248c01e37d3085a832671e795754e780e831c9 Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Tue, 16 May 2017 13:59:53 +0000 Subject: [PATCH 07/16] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (112 of 112 strings) --- lib/locales/pt_BR.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/pt_BR.json b/lib/locales/pt_BR.json index 11f6176..5b3e356 100644 --- a/lib/locales/pt_BR.json +++ b/lib/locales/pt_BR.json @@ -30,7 +30,7 @@ "File uploaded !": "Arquivo carregado!", "Download page": "Pagina de Download", "This file is valid until the following date": "Este arquivo é válido até à seguinte data", - "View link": "Ver link", + "View link": "Visualizar link", "Direct download link": "Link para download direto", "Delete link": "Apagar link", "Download": "Baixar", -- 2.34.1 From bed808591804925c3e52cb9f61f3f0ddf0502706 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Wed, 14 Jun 2017 11:43:30 +0000 Subject: [PATCH 08/16] [FEATURE] Add portuguese translation (and brazil) Signed-off-by: Jerome Jutteau --- README.md | 2 +- lib/lang.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5750e48..4bc1030 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Next Release [![Build Status Next Release](https://gitlab.com/mojo42/Jirafeau/ba - Shortened URLs using base 64 encoding - Maximal upload size configurable - NO database, only use basic PHP -- Simple language support :gb: :fr: :de: :it: :nl: :ro: :sk: :hu: :cn: :gr: :ru: :es: :tk: :flag_tr: +- Simple language support :gb: :fr: :de: :it: :nl: :ro: :sk: :hu: :cn: :gr: :ru: :es: :tk: :flag_tr: :flag_pt: :flag_br: - File level [Deduplication](http://en.wikipedia.org/wiki/Data_deduplication) for storage optimization (does store duplicate files only once, but generate multiple links) - Optional data encryption - Small administration interface diff --git a/lib/lang.php b/lib/lang.php index f851b12..fc7f0bc 100644 --- a/lib/lang.php +++ b/lib/lang.php @@ -28,6 +28,8 @@ $languages_list = array('auto' => 'Automatic', 'fr' => 'Français', 'it' => 'Italiano', 'nl' => 'Nederlands', + 'pt' => 'português', + 'pt_BR' => 'português (Brasil)', 'ro' => 'Limba română', 'ru' => 'ру́сский', 'sk' => 'Slovenčina', -- 2.34.1 From 5a2c8be421e642c30dc42660abdf31862cec3abe Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 19 Jun 2017 09:04:32 +0200 Subject: [PATCH 09/16] Add a note about https configuration. Check issue #125 Signed-off-by: Jerome Jutteau --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bc1030..d9ac583 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ location ~ /var-.* { ``` You should also remove un-necessessary write access once the installation is done (ex: configuration file). -An other obvious basic security is to let access users to the site by HTTPS. +An other obvious basic security is to let access users to the site by HTTPS (make sure `web_root` in you `config.local.php` is set with https). ## Server side encryption -- 2.34.1 From f8419669625b7e8768a77539eca79bbb7048381c Mon Sep 17 00:00:00 2001 From: Igor Posledov Date: Wed, 14 Jun 2017 15:56:45 +0300 Subject: [PATCH 10/16] tiny style fix of the upload_image_email --- media/courgette/style.css.php | 5 ++++- media/elegantish/elegantish.css | 6 +++++- media/industrial/style.css.php | 6 +++++- media/jyraphe/style.css.php | 6 +++++- media/modern/style.css.php | 6 +++++- 5 files changed, 24 insertions(+), 5 deletions(-) diff --git a/media/courgette/style.css.php b/media/courgette/style.css.php index 9a5fea1..e8f0a76 100644 --- a/media/courgette/style.css.php +++ b/media/courgette/style.css.php @@ -277,9 +277,12 @@ input[type="submit"]:focus { font-weight: bold; } +#upload_link_email { + margin-left: 10px; +} + #upload_image_email { padding-left: 20px; - margin-left: 10px; padding-bottom: 15px; background: url(email.png) no-repeat; } diff --git a/media/elegantish/elegantish.css b/media/elegantish/elegantish.css index 14ebfc1..ddfd896 100644 --- a/media/elegantish/elegantish.css +++ b/media/elegantish/elegantish.css @@ -275,9 +275,13 @@ input[type="submit"]:focus { font-weight: bold; } +#upload_link_email { + margin-left: 10px; +} + #upload_image_email { + padding-bottom: 15px; padding-left: 20px; - margin-left: 10px; background: url(email.png) no-repeat; } diff --git a/media/industrial/style.css.php b/media/industrial/style.css.php index d4c02bd..34d9990 100644 --- a/media/industrial/style.css.php +++ b/media/industrial/style.css.php @@ -184,8 +184,12 @@ input:hover { color: red; } +#upload_link_email { + margin-left: 10px; +} + #upload_image_email { padding-left: 20px; - margin-left: 10px; + padding-bottom: 15px; background: url(email.png) no-repeat; } diff --git a/media/jyraphe/style.css.php b/media/jyraphe/style.css.php index 3747caf..1a2b789 100644 --- a/media/jyraphe/style.css.php +++ b/media/jyraphe/style.css.php @@ -232,8 +232,12 @@ h1 a { color: red; } +#upload_link_email { + margin-left: 10px; +} + #upload_image_email { + padding-bottom: 15px; padding-left: 20px; - margin-left: 10px; background: url(email.png) no-repeat; } diff --git a/media/modern/style.css.php b/media/modern/style.css.php index 6daff46..22b6e9d 100644 --- a/media/modern/style.css.php +++ b/media/modern/style.css.php @@ -224,8 +224,12 @@ font-size:90%; color: red; } +#upload_link_email { + margin-left: 10px; +} + #upload_image_email { + padding-bottom: 15px; padding-left: 20px; - margin-left: 10px; background: url(email.png) no-repeat; } -- 2.34.1 From 75c98902b1f1be9a4cd1429886c3089c568e532b Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sun, 9 Jul 2017 13:55:46 +0200 Subject: [PATCH 11/16] [BUGFIX] Prevent object ProgressEvent Error This is done by removing unnecessary usage of web_root URL. closes #127 Signed-off-by: Jerome Jutteau --- f.php | 24 ++++++++------------- index.php | 14 +++++------- install.php | 2 +- lib/functions.js.php | 48 +++++++++++++++-------------------------- lib/functions.php | 2 +- lib/template/footer.php | 2 +- lib/template/header.php | 8 +++---- script.php | 2 +- 8 files changed, 39 insertions(+), 63 deletions(-) diff --git a/f.php b/f.php index 0f40638..79f437e 100644 --- a/f.php +++ b/f.php @@ -24,7 +24,7 @@ require(JIRAFEAU_ROOT . 'lib/functions.php'); require(JIRAFEAU_ROOT . 'lib/lang.php'); if (!isset($_GET['h']) || empty($_GET['h'])) { - header('Location: ' . $cfg['web_root']); + header('Location: ./'); exit; } @@ -123,10 +123,7 @@ if (!empty($link['key'])) { if (!isset($_POST['key'])) { require(JIRAFEAU_ROOT.'lib/template/header.php'); echo '
' . - '