Ana Els
65acb988db
A couple of minor PHP 8 fixes that can be applied now
2021-08-03 10:54:52 +02:00
plegall
ac0d1a5b47
fixes #1419 add photos in a lounge as a temporary space
...
* at the end of the upload of after a maximum duration, move the photos from the lounge to their actual categories.
* do not invalidate user cache when photos are added in the lounge, thus avoiding to rebuild cache on every photo uploaded
* the lounge system activates itself only beyond 50k (by default) photo
2021-06-11 16:42:48 +02:00
plegall
3e58f67c0f
fixes #525 add trigger at the end of add_uploaded_file
2020-10-26 16:26:31 +01:00
plegall
fa8996e10f
issue #1073 prevents from making uploaded file executable
...
* for the name of the file in buffer directory, do not use the name given by the user, but the md5 of the name without extension
* function add_uploaded_file deletes uploaded file if not expected
2019-09-20 16:26:21 +02:00
plegall
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +02:00
plegall
940d1d2e8c
issue #552
...
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
9f6e3e9080
fixes #979 derivative cache generation works even for file with representative picture
...
Cache medium size, instead of thumbnail.
2019-03-08 15:16:08 +01:00
plegall
6ec3f2d0fa
fixes #600 , avoid html in web uploaded filenames
2017-01-27 11:13:00 +01:00
plegall
be671c1401
fixes #322 , add {m4v,ogg,ogv,webm,webmv} for ffmpeg on upload
2016-02-23 13:50:52 +01:00
plegall
c789347c51
happy new year 2016, all headers updated
2016-01-14 12:17:58 +01:00
plegall
c44a5e2890
feature #293 , also process videos
...
... as in Piwigo 2.7, to keep the same level of features. Plugin VideoJS may provide a better algorithm.
2016-01-14 11:21:04 +01:00
plegall
8ba7a1587a
feature #293 trigger to generate pwg_representative
...
* new function upload_file_pdf and upload_file_tiff
* code to handle videos removed for now (discussion with @xbgmsharp)
2015-12-15 10:12:46 +01:00
plegall
379398d917
feature 3067: upload any file type with the new HTML5 upload form.
...
$file_types = conf['upload_form_all_types'] ? $conf['file_ext'] : $conf['picture_ext'];
By default, conf['upload_form_all_types'] = false;
git-svn-id: http://piwigo.org/svn/trunk@29124 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-30 13:48:35 +00:00
rvelices
3c13387dfd
since number of accepted args not required for add_event_handler, simplify calls
...
git-svn-id: http://piwigo.org/svn/trunk@28714 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-18 19:51:42 +00:00
mistic100
636650309a
Update headers to 2014. Happy new year!!
...
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
plegall
483cce2612
feature 2869 added: support TIFF files on web upload (requires ext_imagick)
...
git-svn-id: http://piwigo.org/svn/trunk@25929 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-12 10:34:55 +00:00
mistic100
ae707279a1
remove all array_push (50% slower than []) + some changes missing for feature:2978
...
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
plegall
4bc775e479
update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
...
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
c918bb9209
bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors
...
git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 19:20:00 +00:00
plegall
6a4f125750
multisize: remove obsolete function file_path_for_type
...
git-svn-id: http://piwigo.org/svn/trunk@14829 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-07 13:44:28 +00:00
plegall
796b6b3ffe
feature 2606: second step on multiple size configuration screen redesign.
...
Configuration settings are saved on form submission.
The old screen is still available for tests.
Default resize quality set to 95 instead of 85.
git-svn-id: http://piwigo.org/svn/trunk@14221 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-19 14:43:30 +00:00
plegall
2ec7183adb
feature 2604: support rotation on derivatives
...
git-svn-id: http://piwigo.org/svn/trunk@13843 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-01 00:02:36 +00:00
mistic100
a25fe0c7e8
feature 2567: in IMAGES_TABLE the field "name" is prefilled with the filename
...
git-svn-id: http://piwigo.org/svn/trunk@13082 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 14:44:20 +00:00
plegall
74fc041634
feature 2562 added: pre-cache thumbnail at upload time
...
git-svn-id: http://piwigo.org/svn/trunk@13030 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-05 01:09:53 +00:00
rvelices
c6265c515d
feature 2548 multisize - implement delete_element_derivatives
...
git-svn-id: http://piwigo.org/svn/trunk@12917 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:02:16 +00:00
plegall
b18e3c8a80
feature 2548 (multiple size): better delete derivatives in add_uploaded_file
...
function when performing an update of a photo.
git-svn-id: http://piwigo.org/svn/trunk@12907 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 00:17:39 +00:00
plegall
f7421e5789
feature 2548 (multiple sizes): adapt the web API method pwg.images.add (used
...
by pLoader, Digikam, Lightroom, iPhoto), pwg.images.checkFiles (pLoader only).
The "resize" parameter was removed for pwg.images.add since this behavior
becomes the default behavior in Piwigo 2.4.
Just like pwg.images.addSimple, pwg.images.add now uses the add_uploaded_file
function (next step is to merge pwg.images.add and pwg.images.addSimple)
git-svn-id: http://piwigo.org/svn/trunk@12906 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 00:11:14 +00:00
plegall
cac417c74b
feature 2548, multiple size:
...
* adapt the upload script
* remove the resize settings screen
* add a new screen [Administration > Configuration > Options > Photo Sizes]
with the ability to resize original after upload
git-svn-id: http://piwigo.org/svn/trunk@12879 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-12 21:37:28 +00:00
rvelices
d0b5df605c
feature 2548 multisize
...
- rewrote local site sync + metadata sync
git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-03 20:21:13 +00:00
patdenice
4bbb04fa60
Bug:2472
...
Thumbnails are not cropped during upload
git-svn-id: http://piwigo.org/svn/trunk@12443 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-14 10:43:48 +00:00
patdenice
aeae5476e1
Deactivate auto-rotation for thumbnail creation.
...
git-svn-id: http://piwigo.org/svn/trunk@12258 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 13:15:12 +00:00
flop25
b658b84544
bug:2292
...
Fixed the spelling of a function name.
convert_shortand_to_bytes into
convert_shorthand_to_bytes
git-svn-id: http://piwigo.org/svn/trunk@10858 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-12 13:24:09 +00:00
patdenice
3ee1056d8f
Insert upload form parameters in database during installation.
...
Remove prepare_upload_configuration function.
git-svn-id: http://piwigo.org/svn/trunk@10653 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28 17:16:45 +00:00
patdenice
d95ddb7c61
feature:2284
...
Create a class to manipulate images.
git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-27 17:03:25 +00:00
patdenice
6597975404
Create a function to save upload form settings.
...
git-svn-id: http://piwigo.org/svn/trunk@10589 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23 08:51:53 +00:00
patdenice
a3963aedef
feature:2274
...
Create thumbnail through ajax.
Remove $conf['tn_width'], $conf['tn_height'] and $conf['tn_compression_level'] parameters.
git-svn-id: http://piwigo.org/svn/trunk@10570 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22 13:19:36 +00:00
patdenice
10ff3f2f06
feature:2274
...
pwg.images.resize method is able to create or regenerate image from image path.
git-svn-id: http://piwigo.org/svn/trunk@10563 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22 11:34:57 +00:00
patdenice
d1eb25df09
feature:2273
...
Ability to crop thumbnail (fixed size)
git-svn-id: http://piwigo.org/svn/trunk@10552 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 21:55:20 +00:00
patdenice
8ae1f19fc5
round is better than ceil for resizing pictures.
...
git-svn-id: http://piwigo.org/svn/trunk@10383 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-15 13:10:58 +00:00
mistic100
797ddead2a
bug:1791 display hd dimensions instead of websize dimensions
...
git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08 09:09:13 +00:00
patdenice
33697fcf58
feature:2239
...
Support GIF format in the upload form (only in GD)
git-svn-id: http://piwigo.org/svn/trunk@9952 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-31 14:26:16 +00:00
plegall
4f058c1c72
change the way Piwigo checks Imagick availability to make it easier to call ImageMagick with exec() in a plugin
...
git-svn-id: http://piwigo.org/svn/trunk@9844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-24 13:11:25 +00:00
plegall
e79538be5c
feature 2189 added: ability to update a photo (the JPEG/PNG file) with
...
pwg.images.addSimple, simply by adding an $image_id as argument.
git-svn-id: http://piwigo.org/svn/trunk@9191 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11 22:57:23 +00:00
plegall
a27421cca1
no need to check the availability of a GD function in the ImageMagick resize algorithm
...
git-svn-id: http://piwigo.org/svn/trunk@9022 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 22:43:41 +00:00
plegall
aae2301da9
bug 2164 fixed: disable automatic rotation if we can't read EXIF data
...
git-svn-id: http://piwigo.org/svn/trunk@9021 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 22:40:58 +00:00
plegall
714219f490
feature 2040: to finish the "automatic rotation" feature, I had configuration
...
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)
git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:00:38 +00:00
plegall
6db359c622
Happy new year 2011
...
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"
git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall
b4d2a1362f
feature 2095 added: new column images.added_by (foreign key on users.id)
...
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-04 10:55:08 +00:00
plegall
c266feea0b
simpler code, useless to convert value twice
...
git-svn-id: http://piwigo.org/svn/trunk@8253 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 14:14:40 +00:00
plegall
16371ed5fd
feature 2083 added: implement method pwg.images.addSimple in core
...
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message)
cleaner method to initialize the upload settings
git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 10:22:51 +00:00