]> git.p6c8.net - jirafeau_mojo42.git/log
jirafeau_mojo42.git
7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Thu, 23 Feb 2017 17:34:39 +0000 (18:34 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoJirafeau version 3.0.0
Jerome Jutteau [Thu, 23 Feb 2017 17:31:38 +0000 (18:31 +0100)]
Jirafeau version 3.0.0

Signed-off-by: Jerome Jutteau <jerome.jutteau@outscale.com>
7 years ago[FEATURE] Docs: Note steps to prepare new releases
Dan Untenzu [Thu, 23 Feb 2017 15:30:15 +0000 (16:30 +0100)]
[FEATURE] Docs: Note steps to prepare new releases

Write down all required steps for new releases.

Refs #104 #109

7 years ago[FEATURE] Add walktrough to create merge requests
Dan Untenzu [Thu, 23 Feb 2017 15:19:03 +0000 (16:19 +0100)]
[FEATURE] Add walktrough to create merge requests

Explain a bit how merge requests are made on Gitlab
to easen the hurdle for new contributors.

Refs #104

7 years ago[BUGFIX] Prevent bouncing fileupload field
Dan Untenzu [Thu, 23 Feb 2017 14:46:07 +0000 (15:46 +0100)]
[BUGFIX] Prevent bouncing fileupload field

After a file is selected in the first step of an upload,
the options are shown and the fileupload field is resized
to a much smaller field. In Chrome and other browsers
this field bounces to an area above the form.

Use relative positioning and fixed heights to prevent this
UI glitch.

Refs #71

7 years ago[BUGFIX] Fix UI glitch in admin table
Dan Untenzu [Thu, 23 Feb 2017 14:40:24 +0000 (15:40 +0100)]
[BUGFIX] Fix UI glitch in admin table

Enlarge file table in admin view, to prevent that the
surrounding border is smaler than the automatically resized table.

Refs #71

7 years ago[FEATURE] Convert UTC dates to clients timezone
Dan Untenzu [Thu, 23 Feb 2017 11:42:11 +0000 (12:42 +0100)]
[FEATURE] Convert UTC dates to clients timezone

Convert all dates & times in UTC to the clients timezone.

This requires several custom JavaScripts, as this conversion
is not possible with the Date object in all recent browsers
(latest Firefox, Chrome, Opera, Edge accept UTC date & time,
all Internet Explorer accept UTC date only).

Refs #59 #106

7 years ago[FEATURE] Show readable date format
Dan Untenzu [Thu, 23 Feb 2017 11:05:23 +0000 (12:05 +0100)]
[FEATURE] Show readable date format

Whenever date objects in PHP or JavaScript are converted
to strings, it depends on the servers/clients settings and
timezone which locale and format is used.

This may lead to situation where the date is in english,
but all other texts of Jirafeau service are in another language.

Depending on unser language it may be not possible to localise
the date, since we would need to have a list of all existing
date formats. In both PHP and JavaScript.

To avoid these translation obstacles we may use the following
fallback:
  * Always use UTC timezone in PHP and render dates with UTC only
  * Use the rather international format »YYYY-MM-DD hh:mm«

Refs #59 #106 #73

7 years ago[FEATURE] Upload Script: Refactor datefield setter
Dan Untenzu [Thu, 23 Feb 2017 08:46:53 +0000 (09:46 +0100)]
[FEATURE] Upload Script: Refactor datefield setter

Reduce method calls in upload script to prepare
upcoming date format changes.

7 years ago[FEATURE] Set default timezone
Dan Untenzu [Wed, 22 Feb 2017 15:45:06 +0000 (16:45 +0100)]
[FEATURE] Set default timezone

Set UTC as default timezone for all date/time functions.

Dont rely on the servers timezone, since this timezone may
change on cloud hosts or may nit be set at all.

Using UTC is a best practice to avoid timezone issues etc.

Refs #73

7 years ago[BUGFIX] Admin page: Prefix path to download links
Dan Untenzu [Mon, 20 Feb 2017 15:18:19 +0000 (16:18 +0100)]
[BUGFIX] Admin page: Prefix path to download links

The download links in the admin page have no
path prefix and therefore all installations with within
a subdirectory create no-working links.

Prefix the JIRAFEAU_ABSPREFIX to create working URLs.

Refs #108

7 years ago[FEATURE] Follow up: Remove further form targets
Dan Untenzu [Mon, 20 Feb 2017 15:15:17 +0000 (16:15 +0100)]
[FEATURE] Follow up: Remove further form targets

Follow up for commit a12b04d2670d2916008e53b4f5a2cc5f158cb998.

Remove further form action targets, if these forms should be send
to the same page anyway. In this case we may safely omnit the
action attribute and safe some path constructions.

7 years agoip or password (see issue 107)
Marc Hauswirth [Mon, 13 Feb 2017 21:55:25 +0000 (22:55 +0100)]
ip or password (see issue 107)

7 years ago[BUGFIX] Catch errors in upload form
Dan Untenzu [Fri, 27 Jan 2017 09:23:50 +0000 (10:23 +0100)]
[BUGFIX] Catch errors in upload form

The upload forms failed to catch errors due to a
never matching condition. Failing uploads (eg. because of
filesize limit etc.) still tried to render non-existing
download links instead of showing the error.

Fix the condition by testing if the return string
starts with "Error" instead of equals "Error".

Refs #96

7 years ago[FEATURE] Readme: Add CI badges
Dan Untenzu [Thu, 26 Jan 2017 16:38:19 +0000 (17:38 +0100)]
[FEATURE] Readme: Add CI badges

Add status badge of latest CI run to the readme file.

7 years ago[FEATURE] Docs: Add system requirements
Dan Untenzu [Thu, 26 Jan 2017 16:20:09 +0000 (17:20 +0100)]
[FEATURE] Docs: Add system requirements

Note that PHP >= 5.6 is a system requirement.

refs #72

7 years ago[FEATURE] Contribution Guide: Declare PSR-2 Coding Style
Dan Untenzu [Thu, 26 Jan 2017 12:25:09 +0000 (13:25 +0100)]
[FEATURE] Contribution Guide: Declare PSR-2 Coding Style

All PHP code should now follow PSR-2.

7 years ago[FEATURE] Switch to PSR-2
Dan Untenzu [Tue, 24 Jan 2017 12:08:59 +0000 (13:08 +0100)]
[FEATURE] Switch to PSR-2

Convert all PHP files to PSR-2, which defined
a basic Coding Style Guide for PHP projects.

Using the awesome friendsofphp/php-cs-fixer tool,
running with the @PSR2 ruleset.

1) script.php (no_spaces_after_function_name, braces)
2) f.php (indentation_type, no_spaces_after_function_name, braces)
3) install.php (indentation_type, function_declaration, elseif, no_spaces_after_function_name, braces)
4) lib/functions.php (no_spaces_inside_parenthesis, method_argument_space, function_declaration, elseif, no_spaces_after_function_name, lowercase_constants, lowercase_keywords, braces, single_blank_line_at_eof)
5) lib/functions.js.php (no_spaces_after_function_name)
6) lib/lang.php (function_declaration, no_spaces_after_function_name, lowercase_constants, no_closing_tag, braces, single_blank_line_at_eof)
7) lib/template/footer.php (braces)
8) lib/config.local.bak.php (method_argument_space, no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof)
9) lib/config.original.php (no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof)
0) lib/settings.php (indentation_type, no_spaces_after_function_name, braces)
1) lib/config.local.php (no_spaces_after_function_name, single_blank_line_at_eof)
2) index.php (indentation_type, no_spaces_after_function_name, braces)
3) admin.php (no_spaces_after_function_name, braces)
4) tos.php (no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof)

Refs #103

7 years ago[TASK] Rename license short identifier
Dan Untenzu [Tue, 24 Jan 2017 15:57:32 +0000 (16:57 +0100)]
[TASK] Rename license short identifier

The official short identifier for
"GNU Affero General Public License v3.0" is "AGPL-3.0"
(see https://spdx.org/licenses/ → https://spdx.org/licenses/AGPL-3.0.html)

7 years ago[FEATURE] Docs: Explain branches
Dan Untenzu [Tue, 24 Jan 2017 09:51:19 +0000 (10:51 +0100)]
[FEATURE] Docs: Explain branches

Explain master and next-release branch.

Master should always be a live version only,
unless the version is changed to something like "2.0.0-dev".

Refs #

7 years ago[TASK] CGL: Remove trailing whitespaces
Dan Untenzu [Tue, 24 Jan 2017 09:40:29 +0000 (10:40 +0100)]
[TASK] CGL: Remove trailing whitespaces

Remove all trailing whitespaces

7 years ago[TASK] CGL: Fix line endings
Dan Untenzu [Tue, 24 Jan 2017 09:18:22 +0000 (10:18 +0100)]
[TASK] CGL: Fix line endings

All line endings are LF (Unix) now.

(bash command to convert all files: http://stackoverflow.com/a/37846265/3894752)

7 years ago[FEATURE] Contribution guide: Revise structure
Dan Untenzu [Fri, 20 Jan 2017 16:31:35 +0000 (17:31 +0100)]
[FEATURE] Contribution guide: Revise structure

* Add description of new files
* Explain file system a bit further
* Fix some typos

7 years ago[FEATURE] Readme: Add points to changelog
Dan Untenzu [Fri, 20 Jan 2017 15:47:19 +0000 (16:47 +0100)]
[FEATURE] Readme: Add points to changelog

7 years ago[FEATURE] Replace all domain depended links
Dan Untenzu [Wed, 18 Jan 2017 18:41:14 +0000 (19:41 +0100)]
[FEATURE] Replace all domain depended links

Replace all occurences of "web_root" (domain depended links)
with "JIRAFEAU_ABSPREFIX" (absolute links to the root level).

Links like "https://example.com/foo/functions.js" are replaced
with "/foo/functions.js".

Refs #79

7 years ago[FEATURE] Autogenerate prefix for absolute links
Dan Untenzu [Wed, 18 Jan 2017 18:32:37 +0000 (19:32 +0100)]
[FEATURE] Autogenerate prefix for absolute links

Add a helping variable to build absolute links to
the root of the domain without handling the URL scheme.

This way all links could get rid of the host & domain part,
and just build absolute links to the root instead.
(Replace "[https://example.com/foo/] + [functions.js]" with
"[/foo/] + [functions.js]")

Refs #79

7 years ago[FEATURE] Installer: Remove (unknown) form target URL
Dan Untenzu [Wed, 18 Jan 2017 18:00:44 +0000 (19:00 +0100)]
[FEATURE] Installer: Remove (unknown) form target URL

The domain on which Jirafeau is running, is not yet
defined while installing the project. In order to build valid
action links for the form, the script generated a possible URL
using the request header. This method may fail for proxies
or while using HTTPS or due to spoofing or…

In HTML5 we can safely omnit the action attribute (see
http://stackoverflow.com/a/9678030), which will cause the browser
to send the request to the exact same URL again.

This way we can avoid the URL guessing during the installation.

Refs #79

7 years ago[FEATURE] Remove redundant constants
Dan Untenzu [Wed, 18 Jan 2017 17:11:23 +0000 (18:11 +0100)]
[FEATURE] Remove redundant constants

Remove some redundant settings

7 years ago[BUGFIX] Remove redundant header variable
Dan Untenzu [Wed, 18 Jan 2017 17:01:14 +0000 (18:01 +0100)]
[BUGFIX] Remove redundant header variable

By removing the XHTML doctype it is not neccessary
anymore to tell proxys that the content type may change.

So this header is redunant now.

7 years ago[BUGFIX] Remove redundant style fallback
Dan Untenzu [Wed, 18 Jan 2017 16:56:49 +0000 (17:56 +0100)]
[BUGFIX] Remove redundant style fallback

Remove condition for an existing theme,
since a default configuration is always set.

Even if this would not be the case, would
the current fallback try to load a non-existing
theme called "default".

So remove this whole block.

7 years ago[!!][FEATURE] Remove XHTML doctype
pixelbrackets [Tue, 17 Jan 2017 21:21:47 +0000 (22:21 +0100)]
[!!][FEATURE] Remove XHTML doctype

The project uses a HTML5 doctype, but switches
to XHTML if a condition says that the clients browser
can handle XHTML. As this is the case for nearly any
browser which also supports HTML5, the condition causes
the script to *always* render the XHTML doctype.

We remove the whole condition and the XHTML doctype
in favour of a HTML5 doctype only.

Note: This may be considered as breaking change,
since HTML5 may not be working in ancient versions of IE.

Refs #97

7 years ago[FEATURE] Docs: Revice upgrade instructions
Dan Untenzu [Wed, 18 Jan 2017 12:07:18 +0000 (13:07 +0100)]
[FEATURE] Docs: Revice upgrade instructions

* Rewrite general upgrade instructions
* Better explaination for breaking changes in
  each version and how to fix them

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 27 Jan 2017 08:19:09 +0000 (09:19 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[FEATURE] Add Gitlab CI
Dan Untenzu [Thu, 26 Jan 2017 10:15:59 +0000 (11:15 +0100)]
[FEATURE] Add Gitlab CI

Make use of the fantastic Gitlab CI to run some
tests automatically after each push.

First test: test for PHP errors in different versions.

7 years agoSimpler docker dev env
Jerome Jutteau [Sun, 22 Jan 2017 12:59:17 +0000 (13:59 +0100)]
Simpler docker dev env

Note: ._* files are created due to docker file system sync, ignore them

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Thu, 19 Jan 2017 19:36:45 +0000 (20:36 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoJirafeau version 2.0.0 2.0.0
Jerome Jutteau [Thu, 19 Jan 2017 19:35:19 +0000 (19:35 +0000)]
Jirafeau version 2.0.0

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Thu, 19 Jan 2017 19:09:40 +0000 (20:09 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[FEATURE] Styles: Add padding
Dan Untenzu [Tue, 17 Jan 2017 15:55:57 +0000 (16:55 +0100)]
[FEATURE] Styles: Add padding

7 years ago[FEATURE] Docs: Explain how to obey the AGPLv3 license
Dan Untenzu [Tue, 17 Jan 2017 15:36:54 +0000 (16:36 +0100)]
[FEATURE] Docs: Explain how to obey the AGPLv3 license

This project uses the AGPLv3 license. If an admin decides
to make some adaptions to the source code, and run a service with
these changes incorporated, the admin is required to offer
the servers users a download of the source code of his version.

Describe in the README how to do that conveniently with the ToS page.

Closes #95

7 years ago[BUGFIX] Translations: Rename ToS
Dan Untenzu [Tue, 17 Jan 2017 15:15:49 +0000 (16:15 +0100)]
[BUGFIX] Translations: Rename ToS

Rename ToS label to plural

7 years ago[FEATURE] Footer: Nicer project title
Dan Untenzu [Tue, 17 Jan 2017 15:12:07 +0000 (16:12 +0100)]
[FEATURE] Footer: Nicer project title

7 years ago[FEATURE] Enable a custom website title
Dan Untenzu [Tue, 17 Jan 2017 14:13:13 +0000 (15:13 +0100)]
[FEATURE] Enable a custom website title

Enable the administrator to set a custom title
for his installation of Jirafeau, eg. "John Doe Filecenter".

7 years ago[FEATURE] Template Markers: Replace configuration values
Dan Untenzu [Tue, 17 Jan 2017 12:52:27 +0000 (13:52 +0100)]
[FEATURE] Template Markers: Replace configuration values

Replace markers with configured values.

7 years ago[!!][FEATURE] Let admin overwrite the ToS page
Dan Untenzu [Tue, 17 Jan 2017 11:42:04 +0000 (12:42 +0100)]
[!!][FEATURE] Let admin overwrite the ToS page

Let the admin overwrite the content of the
"Terms of Service" page by copying the original ToS
template and creating a local file (same procedure as
for the configuration). This file is not versionized.

Note: This is a breaking change, since the existing
tos textfile is moved. This should be mentioned
in the update comments.
  * ToS text file changed → move file from "/tos_text.php"
    to "/lib/tos.local.txt" and remove all HTML und PHP Tags,
    leaving a regular text file.

Refs #95

7 years ago[FEATURE] Replace markers in templates
Dan Untenzu [Tue, 17 Jan 2017 11:37:34 +0000 (12:37 +0100)]
[FEATURE] Replace markers in templates

Add a function to allow a simple marker replacement,
eg. for the Terms of Service page.

Markers have the scheme "###MARKERNAME###".

7 years ago[FEATURE] Install script: Simplify config generation
Dan Untenzu [Mon, 16 Jan 2017 17:12:50 +0000 (18:12 +0100)]
[FEATURE] Install script: Simplify config generation

Simplify the generation of the local configuration file
by replacing various loops with shorter PHP standard methods.

This will cause the local configuration to have a slightly
different style, but it is still an array therefore is
readable and changeable by PHP developers.

7 years ago[FEATURE] Move config include into settings file
Dan Untenzu [Mon, 16 Jan 2017 16:54:01 +0000 (17:54 +0100)]
[FEATURE] Move config include into settings file

Move the include of the original and the local
configuration file into the settings file to reduce one
includes in each file, have all settings in one place
and remove unneccessary code from the config file
(which makes it easier to copy and change it).

7 years ago[FEATURE] Install script: Reduce test code
Dan Untenzu [Mon, 16 Jan 2017 16:23:17 +0000 (17:23 +0100)]
[FEATURE] Install script: Reduce test code

Add some comments to enhance the readabillity in the
installation script.

Reduce footer includes and send all fatal errors
to one function instead.

Remove includes of installation depenend variables
in the footer, if the installation script is not
done yet.

Move settings include to the top (this may help
for future configuration tests).

7 years ago[FEATURE] Docs: Enhance readabilty of config params
Dan Untenzu [Mon, 16 Jan 2017 15:32:48 +0000 (16:32 +0100)]
[FEATURE] Docs: Enhance readabilty of config params

Add some linebreaks and streamline comment style.

7 years ago[BUGFIX] Contribution: Fix structure markdown
Dan Untenzu [Mon, 16 Jan 2017 14:57:46 +0000 (15:57 +0100)]
[BUGFIX] Contribution: Fix structure markdown

Structure markdown needs a code block syntax,
to prevent wrong display.

7 years ago[FEATURE] Contribution guide: Revise chapters
Dan Untenzu [Mon, 16 Jan 2017 14:39:46 +0000 (15:39 +0100)]
[FEATURE] Contribution guide: Revise chapters

* Add headlines
* Add note about the KISS principle of the project
* Fix some typos

7 years ago[FEATURE] Readme: Add link to contribution file
Dan Untenzu [Mon, 16 Jan 2017 14:31:13 +0000 (15:31 +0100)]
[FEATURE] Readme: Add link to contribution file

Its a common way to include a CONTRIBUTING.md file
(https://github.com/blog/1184-contributing-guidelines)
to explain developers things like code format, structures and
patch guidelines.

Rename the newcomers file to CONTRIBUTING.md and add
a link to it in the README.

7 years ago[TASK] Rename license file
Dan Untenzu [Mon, 16 Jan 2017 14:27:52 +0000 (15:27 +0100)]
[TASK] Rename license file

The license file is usually named "LICENSE.txt".

7 years ago[FEATURE] Readme: Add license
Dan Untenzu [Mon, 16 Jan 2017 14:21:32 +0000 (15:21 +0100)]
[FEATURE] Readme: Add license

7 years ago[FEATURE] Readme: Add screenshot of admin interface
Dan Untenzu [Mon, 16 Jan 2017 14:11:46 +0000 (15:11 +0100)]
[FEATURE] Readme: Add screenshot of admin interface

Refs #89

7 years ago[FEATURE] Enhance Readme
Dan Untenzu [Mon, 16 Jan 2017 14:06:56 +0000 (15:06 +0100)]
[FEATURE] Enhance Readme

* Revise headlines/subheadlines
* Move update instructions
* Add features

7 years ago[BUGFIX] Bash script: return download link to web view
Dan Untenzu [Mon, 16 Jan 2017 13:26:29 +0000 (14:26 +0100)]
[BUGFIX] Bash script: return download link to web view

The bash script uses the upload URL to build the download link.

So the user may share different links when using the bash script
or the webform. Besides that does the API page show the same
result for "download links" and "direct links", so the current
list makes no sense to the uploader.

The script should however link to the web view and
offer API commands additionally.

Refs #86

7 years ago[BUGFIX] API: Set content type to plain text
Dan Untenzu [Mon, 16 Jan 2017 11:00:39 +0000 (12:00 +0100)]
[BUGFIX] API: Set content type to plain text

Setting the content type to text only will
make some browsers to ignore the utf8 charset.

Set the default content type to "plain text"
to deliver UTF8 and avoid errors while generating
a bash script with special characters.

7 years ago[FEATURE] Bash script: Enhance help and add version
Dan Untenzu [Mon, 16 Jan 2017 10:14:39 +0000 (11:14 +0100)]
[FEATURE] Bash script: Enhance help and add version

Enhance the help and show all available options in
a common structure.
Move description of available options to one place.

Also add the version of the Jirafeau version which
generated the bash script. This way a user may
find out about changes (because his script was
generated with Jirafeau 1.1.2, but the current version
on the server may be 3.2.5 already).

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Thu, 19 Jan 2017 18:50:13 +0000 (19:50 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoJirafeau version 1.2.0 1.2.0
Jerome Jutteau [Thu, 19 Jan 2017 18:35:49 +0000 (18:35 +0000)]
Jirafeau version 1.2.0

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 13 Jan 2017 18:34:55 +0000 (19:34 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoAdd note about admin password hashing
Jerome Jutteau [Fri, 13 Jan 2017 18:09:55 +0000 (18:09 +0000)]
Add note about admin password hashing

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years agoFix php warning due to usage of date()
Jerome Jutteau [Fri, 13 Jan 2017 18:26:49 +0000 (18:26 +0000)]
Fix php warning due to usage of date()

The function time() returns always timestamp that is timezone independent (=UTC)

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years agoTranslation: french quarter expiration
Jerome Jutteau [Fri, 13 Jan 2017 18:12:13 +0000 (18:12 +0000)]
Translation: french quarter expiration

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years ago[FEATURE] Translation: german quarter expiration
Dan Untenzu [Fri, 13 Jan 2017 15:59:49 +0000 (16:59 +0100)]
[FEATURE] Translation: german quarter expiration

7 years agoFix missing quarter in possible values
Jerome Jutteau [Fri, 13 Jan 2017 18:16:05 +0000 (18:16 +0000)]
Fix missing quarter in possible values

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years agoFix missing possible values in expiration dates
Jerome Jutteau [Fri, 13 Jan 2017 18:32:17 +0000 (18:32 +0000)]
Fix missing possible values in expiration dates

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
7 years ago[FEATURE] Add »quarter« expiration time
Dan Untenzu [Fri, 13 Jan 2017 15:57:26 +0000 (16:57 +0100)]
[FEATURE] Add »quarter« expiration time

Add »quarter« (3 x 1 Month = 90 days) as available expiration time.

This option is disabled by default.

Refs #87

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 13 Jan 2017 17:56:15 +0000 (18:56 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[FEATURE] Set default expiration time in config
Dan Untenzu [Fri, 13 Jan 2017 14:39:12 +0000 (15:39 +0100)]
[FEATURE] Set default expiration time in config

Enable the admin to set a default expiration time
in the configuration time. This way the upload form
may offer "hour", "day", "month" as available expiration
times and "day" is preselected.

Default in the original configuration is "month".

Refs #57

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 13 Jan 2017 17:48:18 +0000 (18:48 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[FEATURE] Streamline default expiration date
Dan Untenzu [Thu, 12 Jan 2017 17:24:02 +0000 (18:24 +0100)]
[FEATURE] Streamline default expiration date

The bash script sets the expiration date to "none"
by default. The web form has "month" as default however.

Streamline the default expiration date and set the bash
to month as well.

This also avoids an error if the bash script is run
for the first time ever with default settings, since
the expiration time "none" is not allowed then.

Refs #85

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 13 Jan 2017 17:44:51 +0000 (18:44 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[TASK] CGL: Remove whitespaces
Dan Untenzu [Thu, 12 Jan 2017 16:40:45 +0000 (17:40 +0100)]
[TASK] CGL: Remove whitespaces

Remove unwanted whitespace

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 13 Jan 2017 17:41:01 +0000 (18:41 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[FEATURE] Show download link in admin panel
Dan Untenzu [Thu, 12 Jan 2017 16:27:46 +0000 (17:27 +0100)]
[FEATURE] Show download link in admin panel

Show the download link for a file in the admin panel,
to find it again easily if the uploader has lost it somehow.

Move the "direct download" action into the last column instead.

Refs #68

7 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 13 Jan 2017 17:24:42 +0000 (18:24 +0100)]
Merge remote-tracking branch 'origin/master'

7 years ago[BUGFIX] Deliver JavaScript with correct MIME type 18/head
Dan Untenzu [Thu, 12 Jan 2017 15:28:47 +0000 (16:28 +0100)]
[BUGFIX] Deliver JavaScript with correct MIME type

The JavaScript lib is generated by a PHP file. This
file will be blocked in browsers, if the server has the
security option "X-Content-Type-Options: nosniff" set.

Set the correct MIME type (text/javascript) in the header
to avoid this behaviour.

Refs #84

7 years agoTranslated using Weblate (Finnish)
Lari Oesch [Mon, 26 Dec 2016 10:36:37 +0000 (10:36 +0000)]
Translated using Weblate (Finnish)

Currently translated at 100.0% (110 of 110 strings)

7 years agoTranslated using Weblate (Hungarian)
M Krisztián [Fri, 16 Dec 2016 09:57:56 +0000 (09:57 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 100.0% (110 of 110 strings)

8 years agoTranslated using Weblate (Portuguese)
Nelson Pereira [Sun, 13 Nov 2016 18:40:21 +0000 (18:40 +0000)]
Translated using Weblate (Portuguese)

Currently translated at 100.0% (110 of 110 strings)

8 years agoTranslated using Weblate (Portuguese)
Nelson Pereira [Sun, 13 Nov 2016 11:41:51 +0000 (11:41 +0000)]
Translated using Weblate (Portuguese)

Currently translated at 100.0% (110 of 110 strings)

8 years agoEnable Spanish translation
Jerome Jutteau [Sat, 5 Nov 2016 11:14:16 +0000 (12:14 +0100)]
Enable Spanish translation

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
8 years agoEnable Russian translation
Jerome Jutteau [Sat, 5 Nov 2016 11:10:24 +0000 (12:10 +0100)]
Enable Russian translation

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
8 years agoAdded translation for Spanish
Jerome Jutteau [Sat, 5 Nov 2016 11:06:33 +0000 (12:06 +0100)]
Added translation for Spanish

Thanks to [Emuarc](https://gitlab.com/Emuarc)

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
8 years agoAdd a small script to run Jirafeau in a docker
Jerome Jutteau [Sat, 5 Nov 2016 11:03:35 +0000 (12:03 +0100)]
Add a small script to run Jirafeau in a docker

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
8 years agoTranslated using Weblate (Spanish)
Borja Saavedra Valdés [Wed, 19 Oct 2016 08:56:07 +0000 (08:56 +0000)]
Translated using Weblate (Spanish)

Currently translated at 69.0% (76 of 110 strings)

8 years agoTranslated using Weblate (Polish)
KajmaczeK [Sat, 8 Oct 2016 14:09:55 +0000 (14:09 +0000)]
Translated using Weblate (Polish)

Currently translated at 40.9% (45 of 110 strings)

8 years agoAdded translation using Weblate (Polish)
KajmaczeK [Sat, 8 Oct 2016 13:56:45 +0000 (13:56 +0000)]
Added translation using Weblate (Polish)

8 years agoTranslated using Weblate (Russian)
Eugene Barbashin [Fri, 23 Sep 2016 14:22:16 +0000 (14:22 +0000)]
Translated using Weblate (Russian)

Currently translated at 100.0% (110 of 110 strings)

8 years agoUpdate README.md
Jérôme [Fri, 26 Aug 2016 21:46:45 +0000 (21:46 +0000)]
Update README.md

8 years agoadd Greek language
Jerome Jutteau [Fri, 26 Aug 2016 21:40:10 +0000 (23:40 +0200)]
add Greek language

Signed-off-by: Jerome Jutteau <j.jutteau@gmail.com>
8 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 26 Aug 2016 21:29:10 +0000 (23:29 +0200)]
Merge remote-tracking branch 'origin/master'

8 years agoAdding a very nice theme from JordyValentine
Jerome Jutteau [Fri, 26 Aug 2016 21:22:51 +0000 (23:22 +0200)]
Adding a very nice theme from JordyValentine

Integrated from https://github.com/JordyValentine/jirafeau-elegantish

8 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 26 Aug 2016 21:14:13 +0000 (23:14 +0200)]
Merge remote-tracking branch 'origin/master'

8 years agoadd sha-256 password cipher support
JuLien42 [Wed, 10 Aug 2016 09:20:48 +0000 (11:20 +0200)]
add sha-256 password cipher support

8 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 26 Aug 2016 21:08:43 +0000 (23:08 +0200)]
Merge remote-tracking branch 'origin/master'

8 years agoTranslated using Weblate (Croatian)
Ante Nakic [Fri, 26 Aug 2016 08:15:16 +0000 (08:15 +0000)]
Translated using Weblate (Croatian)

Currently translated at 36.3% (40 of 110 strings)

patrick-canterino.de