26 Commits

Author SHA1 Message Date
Dan Untenzu
89d002baaa [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.
2017-02-23 18:34:20 +01:00
Dan Untenzu
96707e02b8 [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
2017-02-23 18:34:20 +01:00
Dan Untenzu
af7e43a4a3 [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).
2017-01-19 19:03:03 +00:00
Dan Untenzu
deeb132336 [TASK] CGL: Remove whitespaces
Remove unwanted whitespace
2017-01-13 17:43:23 +00:00
JuLien42
1f29ee2fe4 add sha-256 password cipher support 2016-08-26 23:13:53 +02:00
Pierre-Alain Bandinelli
9481953918 Adding the possibility to call admin.php from CLI to automatize cleanoing of old files / async files 2016-05-15 17:08:27 +02:00
scumjr
c019221848 admin.php: fix authentication bypass vulnerability 2016-03-21 18:56:01 +01:00
Jerome
972baa7241 admin: show Jirafeau version in admin interface
Signed-off-by: Jerome <mojo@couak.net>
2016-01-05 20:11:41 +01:00
Spanti Nicola (RyDroid)
60530d95cc Minor changes to some PHP files 2015-07-11 16:24:31 +02:00
Jerome Jutteau
2e017ea2f8 admin.php: div should be 'admin' not 'install' 2015-03-23 19:08:18 +01:00
Julien Malik
a56e619e35 typo : transferts/transfers 2015-03-22 22:34:56 +01:00
Jerome Jutteau
d1ee60f610 Fixes #21 repair file downloading in admin interface
Thanks to @tbleiker who found the bug :)
2015-03-13 18:15:15 +01:00
Jerome Jutteau
4c5e2caa3a Fixes #16 Permits to authenticate administrator using HTTP auth
This patch permits to ease integration of Jirafeau in external projects
like https://yunohost.org/.
Also fix a license oversight.
2015-03-10 17:38:34 +01:00
Jerome Jutteau
625f38a7de adapt license year to 2015 2015-03-10 10:21:26 +01:00
Jerome Jutteau
03d1001bce Closes #4 Remove block feature 2015-02-23 18:44:50 +01:00
Jerome Jutteau
a6c1ba9e0d fix bad permissions on files 2015-02-22 17:48:18 +01:00
Zertrin
12b5f1c92a No more needed to delete install.php to access admin.php
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-01-29 14:33:20 +01:00
Jerome Jutteau
8d0d50765b Remove errors when occurs 2013-08-01 19:29:56 +00:00
Jerome Jutteau
3d9792a36b Fix config parameter and rename config.php 2013-07-29 21:53:54 +00:00
Jerome Jutteau
8adcdf2e61 New data block feature 2013-02-20 22:49:35 +00:00
Jerome Jutteau
a995e194d8 Fix some bugs due to PHP's max_execution_time 2013-02-14 13:44:32 +00:00
Jerome Jutteau
1394469c06 Bypass size limit by splitting big files on client’s side using HTML5 file API 2013-02-12 01:06:46 +01:00
Jerome Jutteau
6bb6cfda2f added download button in admin interface 2013-01-02 21:31:47 +01:00
Jerome Jutteau
f9f84c1e43 Changed path system to links and files to manage large volumes, max size fix, refactorised delete_link function name 2013-01-02 00:41:31 +01:00
Jerome Jutteau
53517d3b93 refactorised translation function 2012-12-31 15:48:30 +01:00
Jerome Jutteau
0d601dd942 Added admin interface 2012-12-31 01:22:14 +01:00