]>
git.p6c8.net - jirafeau.git/log
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###".
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.
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).
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).
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.
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.
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
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.
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".
Dan Untenzu [Mon, 16 Jan 2017 14:21:32 +0000 (15:21 +0100)]
[FEATURE] Readme: Add license
Dan Untenzu [Mon, 16 Jan 2017 14:11:46 +0000 (15:11 +0100)]
[FEATURE] Readme: Add screenshot of admin interface
Refs #89
Dan Untenzu [Mon, 16 Jan 2017 14:06:56 +0000 (15:06 +0100)]
[FEATURE] Enhance Readme
* Revise headlines/subheadlines
* Move update instructions
* Add features
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
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.
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).
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>
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>
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>
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>
Dan Untenzu [Fri, 13 Jan 2017 15:59:49 +0000 (16:59 +0100)]
[FEATURE] Translation: german quarter expiration
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>
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>
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
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
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
Dan Untenzu [Thu, 12 Jan 2017 16:40:45 +0000 (17:40 +0100)]
[TASK] CGL: Remove whitespaces
Remove unwanted whitespace
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
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
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>
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>
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>
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>
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)
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)
KajmaczeK [Sat, 8 Oct 2016 13:56:45 +0000 (13:56 +0000)]
Added translation using Weblate (Polish)
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)
Jérôme [Fri, 26 Aug 2016 21:46:45 +0000 (21:46 +0000)]
Update README.md
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>
Weblate [Fri, 26 Aug 2016 21:29:10 +0000 (23:29 +0200)]
Merge remote-tracking branch 'origin/master'
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
Weblate [Fri, 26 Aug 2016 21:14:13 +0000 (23:14 +0200)]
Merge remote-tracking branch 'origin/master'
JuLien42 [Wed, 10 Aug 2016 09:20:48 +0000 (11:20 +0200)]
add sha-256 password cipher support
Weblate [Fri, 26 Aug 2016 21:08:43 +0000 (23:08 +0200)]
Merge remote-tracking branch 'origin/master'
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)
Ante Nakic [Fri, 26 Aug 2016 07:53:12 +0000 (07:53 +0000)]
Added translation using Weblate (Croatian)
Vasilis Giann [Tue, 26 Jul 2016 09:53:32 +0000 (09:53 +0000)]
Translated using Weblate (Greek)
Currently translated at 86.3% (95 of 110 strings)
Ioannis [Mon, 25 Jul 2016 13:01:48 +0000 (13:01 +0000)]
Translated using Weblate (Greek)
Currently translated at 16.3% (18 of 110 strings)
Vasilis Giann [Mon, 25 Jul 2016 12:58:11 +0000 (12:58 +0000)]
Translated using Weblate (Greek)
Currently translated at 11.8% (13 of 110 strings)
Vasilis Giann [Mon, 25 Jul 2016 12:43:29 +0000 (12:43 +0000)]
Added translation using Weblate (Greek)
Poorchop [Wed, 1 Jun 2016 17:20:55 +0000 (17:20 +0000)]
Add instructions for nginx
Jérôme [Wed, 18 May 2016 12:09:14 +0000 (12:09 +0000)]
Merge branch 'master' into 'master'
Adding the possibility to call admin.php from CLI to automatize (e.g. in cron) the cleaning of old/expired files and unfinished tranfers
Hello,
I think this feature might be of interest for other administrators of Jirafeau. I have not found any way in the app to do it so I developed this small patch. What do you think?
Best
Pierre-Alain
See merge request !15
Pierre-Alain Bandinelli [Sun, 15 May 2016 15:26:16 +0000 (17:26 +0200)]
Adding infos on Munin plugins for Jirafeau
Pierre-Alain Bandinelli [Sun, 15 May 2016 15:20:58 +0000 (17:20 +0200)]
Adding info about the "cronization" of clean_expired, clean_async
Pierre-Alain Bandinelli [Sun, 15 May 2016 15:11:31 +0000 (17:11 +0200)]
Fixing some typos in README.md
Pierre-Alain Bandinelli [Sun, 15 May 2016 15:08:27 +0000 (17:08 +0200)]
Adding the possibility to call admin.php from CLI to automatize cleanoing of old files / async files
Jérôme [Wed, 11 May 2016 05:20:09 +0000 (07:20 +0200)]
Enable simplified Chinese translation
Signed-off-by: Jérôme <mojo@couak.net>
Jérôme [Wed, 11 May 2016 05:08:27 +0000 (07:08 +0200)]
Fix German translation
Signed-off-by: Tobias Strobel <me@strobeltobias.de>
YFdyh000 [Thu, 24 Mar 2016 11:49:36 +0000 (12:49 +0100)]
Translated using Weblate (Chinese)
Currently translated at 93.6% (103 of 110 strings)
Weblate [Tue, 22 Mar 2016 09:10:50 +0000 (10:10 +0100)]
Merge remote-tracking branch 'origin/master'
Jérôme [Tue, 22 Mar 2016 09:10:42 +0000 (09:10 +0000)]
Merge branch 'master' into 'master'
admin.php: fix authentication bypass vulnerability
An attacker ban bypass the authentication form by passing an array instead of a string (https://www.owasp.org/index.php/PHP_Security_Cheat_Sheet#Input_handling). The identity operator should fix the vulnerability.
See merge request !13
scumjr [Mon, 21 Mar 2016 17:54:59 +0000 (18:54 +0100)]
admin.php: fix authentication bypass vulnerability
Weblate [Sat, 5 Mar 2016 11:31:10 +0000 (12:31 +0100)]
Merge remote-tracking branch 'origin/master'
Jérôme [Sat, 5 Mar 2016 11:31:02 +0000 (11:31 +0000)]
Merge branch 'linkname' into 'master'
Add direct link in bash script + link title
Hi,
Another small patch to make things more user friendly :)
See merge request !12
François Boulogne [Tue, 1 Mar 2016 20:45:14 +0000 (21:45 +0100)]
Add link title + direct download link
François Boulogne [Tue, 1 Mar 2016 20:38:51 +0000 (21:38 +0100)]
Merge branch 'master' of https://gitlab.com/mojo42/Jirafeau
Fedor Piecka [Mon, 22 Feb 2016 16:03:30 +0000 (17:03 +0100)]
Translated using Weblate (Slovak)
Currently translated at 100.0% (110 of 110 strings)
Fedor Piecka [Mon, 22 Feb 2016 16:03:11 +0000 (17:03 +0100)]
Translated using Weblate (Slovak)
Currently translated at 100.0% (110 of 110 strings)
Weblate [Thu, 18 Feb 2016 15:26:01 +0000 (16:26 +0100)]
Merge remote-tracking branch 'origin/master'
Jérôme [Thu, 18 Feb 2016 15:25:54 +0000 (15:25 +0000)]
Merge branch 'error_codes' into 'master'
Error codes
Hi Jérôme,
I had to debug a little (my max_size limit in php.ini was too low) and I needed more helpful error code. This is a PR to enhance a little bit that. I think it will be also helpful to help users who experience some troubles.
See merge request !11
François Boulogne [Mon, 18 Jan 2016 02:14:56 +0000 (21:14 -0500)]
Add more informative error codes
François Boulogne [Mon, 18 Jan 2016 02:14:56 +0000 (21:14 -0500)]
Add more informative error codes
François Boulogne [Mon, 18 Jan 2016 01:54:34 +0000 (20:54 -0500)]
Merge branch 'master' of https://gitlab.com/mojo42/Jirafeau
Weblate [Tue, 5 Jan 2016 21:36:12 +0000 (22:36 +0100)]
Merge remote-tracking branch 'origin/master'
François Boulogne [Fri, 25 Dec 2015 22:21:49 +0000 (17:21 -0500)]
Enhance information about API
Weblate [Tue, 5 Jan 2016 19:13:43 +0000 (20:13 +0100)]
Merge remote-tracking branch 'origin/master'
Jerome [Tue, 5 Jan 2016 18:11:59 +0000 (19:11 +0100)]
Jirafeau version 1.1
Signed-off-by: Jerome <mojo@couak.net>
Jerome [Tue, 5 Jan 2016 19:06:08 +0000 (20:06 +0100)]
README.md: add documentation about 1.0 and 1.1 release
Signed-off-by: Jerome <mojo@couak.net>
Jerome [Tue, 5 Jan 2016 17:48:54 +0000 (18:48 +0100)]
admin: show Jirafeau version in admin interface
Signed-off-by: Jerome <mojo@couak.net>
François Boulogne [Fri, 25 Dec 2015 22:21:49 +0000 (17:21 -0500)]
Enhance information about API
ikmaak [Fri, 11 Dec 2015 22:36:28 +0000 (23:36 +0100)]
Translated using Weblate (Dutch)
Currently translated at 100.0% (110 of 110 strings)
Jerome Jutteau [Sat, 14 Nov 2015 09:37:42 +0000 (10:37 +0100)]
fix typo, closes #54
Weblate [Sat, 14 Nov 2015 09:31:23 +0000 (10:31 +0100)]
Merge remote-tracking branch 'origin/master'
Jerome Jutteau [Sat, 14 Nov 2015 09:30:36 +0000 (10:30 +0100)]
fix IE11 upload, closes #56
Thanks Daniel for this patch
Weblate [Fri, 13 Nov 2015 20:58:06 +0000 (21:58 +0100)]
Merge remote-tracking branch 'origin/master'
Jerome Jutteau [Fri, 13 Nov 2015 20:56:06 +0000 (21:56 +0100)]
add a sleep() when a bad password is provided
Weblate [Fri, 13 Nov 2015 20:48:04 +0000 (21:48 +0100)]
Merge remote-tracking branch 'origin/master'
Jerome Jutteau [Fri, 13 Nov 2015 20:47:44 +0000 (21:47 +0100)]
add header for IE and compatibitity view
Signed-off-by: Jerome Jutteau <mojo@couak.net>
Weblate [Thu, 5 Nov 2015 22:16:48 +0000 (23:16 +0100)]
Merge remote-tracking branch 'origin/master'
Jérôme [Thu, 5 Nov 2015 22:16:41 +0000 (22:16 +0000)]
Update README.md
Weblate [Mon, 12 Oct 2015 17:20:59 +0000 (19:20 +0200)]
Merge remote-tracking branch 'origin/master'
Jerome Jutteau [Mon, 12 Oct 2015 17:20:21 +0000 (19:20 +0200)]
lib/template/header.php: fix Undefined index: HTTP_ACCEPT
Signed-off-by: Jerome Jutteau <mojo@couak.net>
Weblate [Sun, 11 Oct 2015 21:11:06 +0000 (23:11 +0200)]
Merge remote-tracking branch 'origin/master'
Jerome Jutteau [Sun, 11 Oct 2015 21:10:49 +0000 (23:10 +0200)]
lib/template/header.php: fix Undefined index: HTTP_ACCEPT
Signed-off-by: Jerome Jutteau <mojo@couak.net>
Weblate [Sun, 11 Oct 2015 10:44:08 +0000 (12:44 +0200)]
Merge remote-tracking branch 'origin/master'
Jerome Jutteau [Sun, 11 Oct 2015 10:43:06 +0000 (12:43 +0200)]
lib/lang.php: fix HTTP_ACCEPT_LANGUAGE not found
Signed-off-by: Jerome Jutteau <mojo@couak.net>
M Krisztián [Mon, 5 Oct 2015 15:07:51 +0000 (17:07 +0200)]
Translated using Weblate (Hungarian)
Currently translated at 100.0% (110 of 110 strings)
Weblate [Mon, 5 Oct 2015 11:46:11 +0000 (13:46 +0200)]
Merge remote-tracking branch 'origin/master'
M Krisztián [Mon, 5 Oct 2015 08:03:15 +0000 (10:03 +0200)]
Translated using Weblate (Hungarian)
Currently translated at 100.0% (110 of 110 strings)
Jerome Jutteau [Mon, 5 Oct 2015 11:45:41 +0000 (13:45 +0200)]
better naming for one time downloads in admin interface
Signed-off-by: Jerome Jutteau <mojo@couak.net>
Weblate [Tue, 29 Sep 2015 14:54:36 +0000 (16:54 +0200)]
Merge remote-tracking branch 'origin/master'
patrick-canterino.de