Commit graph

369 commits

Author SHA1 Message Date
patdenice
99634e035b bug:2213
Default language must be set to guest AND default user 

git-svn-id: http://piwigo.org/svn/trunk@9549 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-06 08:58:33 +00:00
patdenice
47809c86df feature:2210
Update language from piwigo.org extension repository

git-svn-id: http://piwigo.org/svn/trunk@9520 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-04 11:35:38 +00:00
patdenice
2e44cc79de feature:2210
Improve language management.

git-svn-id: http://piwigo.org/svn/trunk@9518 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-04 10:41:36 +00:00
patdenice
9802ddaa10 Add themes autmatic update functionality.
git-svn-id: http://piwigo.org/svn/trunk@9472 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-02 09:33:58 +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
1dc5c7ccfd bug 270 fixed: (yes "270", submitted in 2006), time (hour:minute:second) added
in the date_creation field and in the synchronization from EXIF metadata.


git-svn-id: http://piwigo.org/svn/trunk@9073 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-03 08:18:38 +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
92fe29daa7 merge r8966 from branch 2.1 to trunk
bug 2142 fixed: make sure you cannot move a category into itself



git-svn-id: http://piwigo.org/svn/trunk@8967 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-28 22:56:32 +00:00
plegall
dff8596f66 bug 2119 fixed: no crash when calling pwg.categories.delete on an empty album
git-svn-id: http://piwigo.org/svn/trunk@8848 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-23 00:10:29 +00:00
plegall
dfb0b9d1fa bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has a
higher privacy level than user privacy level.

For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;


git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20 13:32:34 +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
1b7781c866 feature 1289 added: easy "delete orphan tags" function. On the "tags"
administration page, a warning message is displayed if you have at least
one orphan tag + direct action to delete them.


git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 13:19:16 +00:00
plegall
69ce218575 bug fixed: no more categories.uploadable column when creating a new category
split the admin/photos_add_direct.php script into
admin/include/photos_add_direct_prepare.php (prepare the upload form)
+ admin/include/photos_add_direct_process.inc.php (process the submitted form)
: it makes the upload form backend easier to reuse in the future Community
plugin.


git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 14:03:00 +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
fe569ab1bf feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.


git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 15:24:18 +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
38aad287eb feature 2089: finish removing element_set, now it's time for batch_manager
git-svn-id: http://piwigo.org/svn/trunk@8417 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 15:19:11 +00:00
plegall
877a4e6e2e feature 2081 added: ability to choose what to do with photos when deleting an
album : no_delete, delete_orphans, force_delete. Backend only.


git-svn-id: http://piwigo.org/svn/trunk@8265 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 20:48:28 +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
rvelices
732eb6bfba removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 05:22:19 +00:00
plegall
088801add4 feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose
git-svn-id: http://piwigo.org/svn/trunk@8238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 21:57:50 +00:00
plegall
902c8f1927 feature 2077 added: when ImageMagick is active, ability to remove or resize
the high definition version of the photo.


git-svn-id: http://piwigo.org/svn/trunk@8227 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 15:15:35 +00:00
plegall
709515bccd feature 2076 added: automatically use ImageMagick (imagick) instead of GD if
Imagick extension is available. ImageMagick does not strip EXIF/IPTC metadata
from "web size" version of the photo.

We force remove EXIF/IPTC from the thumbnails to save space and bandwith.


git-svn-id: http://piwigo.org/svn/trunk@8219 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-21 21:55:04 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
patdenice
bf1aa6fcf1 merge r8124 from branch 2.1 to trunk
feature 2048: remove urlencode for technicals details (already escaped with http_build_query).

git-svn-id: http://piwigo.org/svn/trunk@8125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:04:33 +00:00
patdenice
4448b8db7f merge r8089 from branch 2.1 to trunk
feature 2057: use http_build_query instead of add_url_params for GET data.

git-svn-id: http://piwigo.org/svn/trunk@8090 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-12 10:16:12 +00:00
patdenice
1b5260522e feature 2048: send technical details only to get_version_list.php of PEM API.
git-svn-id: http://piwigo.org/svn/trunk@8084 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:20:12 +00:00
patdenice
ea64e421cb feature 2057: use $get_data parameter to send GET data.
git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:08:43 +00:00
patdenice
4ae512231a feature 2048: add $conf['send_hosting_technical_details'] parameter
git-svn-id: http://piwigo.org/svn/trunk@8082 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:09:18 +00:00
patdenice
2a741321ba Use POST to send server data
git-svn-id: http://piwigo.org/svn/trunk@8080 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:01:35 +00:00
patdenice
914045aad4 feature 2057: fetchRemote can send POST data
git-svn-id: http://piwigo.org/svn/trunk@8079 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 19:50:05 +00:00
patdenice
fd456db99a Feature 2048: send piwigo version
git-svn-id: http://piwigo.org/svn/trunk@8022 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 13:22:14 +00:00
patdenice
41c4a947b2 Feature 2048: Send data to piwigo server anonymously (like php and mysql versions)
git-svn-id: http://piwigo.org/svn/trunk@8020 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 12:37:37 +00:00
plegall
73b83574b9 feature 2040 added: automatic rotation of the photo based on EXIF Orientation.
The code could have been shorter but this one 1) checks the resize dimension
with the rotation in mind 2) rotates the photo once resized to reduce memory
used.


git-svn-id: http://piwigo.org/svn/trunk@7868 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-24 12:45:16 +00:00
ddtddt
64125a60d4 [trunk] merge 7723 - nl_NL - add subscribe for NL to newsletter
git-svn-id: http://piwigo.org/svn/trunk@7724 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 08:13:53 +00:00
plegall
1fb1c6c225 merge r7506 from branch 2.1 to trunk
bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.



git-svn-id: http://piwigo.org/svn/trunk@7507 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 20:22:15 +00:00
plegall
42a61b5cb8 merge r7489 from branch 2.1 to trunk
bug 1908 fixed: protect the uploaded photo filename against SQL injection.



git-svn-id: http://piwigo.org/svn/trunk@7490 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-29 22:53:26 +00:00
plegall
00ebefc966 merge r7169 from branch 2.1 to trunk
bug 1914 fixed: broken admin web upload with PostgreSQL as database engine.
The tablename to retrieve the inserted image is mandatory for PostgreSQL and
was missing. Patch by netzimme.



git-svn-id: http://piwigo.org/svn/trunk@7170 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-13 09:43:18 +00:00
plegall
70978fdf54 merge r7004 from branch 2.1 to trunk
bug 1872 fixed: we need to call set_make_full_url() before creating urls provided in emails


git-svn-id: http://piwigo.org/svn/trunk@7005 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-22 21:20:31 +00:00
rvelices
5ff171684e feature 1616: rename "category" into "album" (4th commit; almost there)
git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 21:14:54 +00:00
rvelices
b472955f7d feature 1616: rename "category" into "album" (3rd commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6988 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 20:19:41 +00:00
rvelices
7907d31a9c feature 1616: rename "category" into "album" (second commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6969 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-19 19:50:02 +00:00
rvelices
c206a73dd2 feature 1616: rename "category" into "album" (first commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 19:03:56 +00:00
rvelices
7b515a89cc feature 1845 : be able to delete photos added through ftp synchronization
git-svn-id: http://piwigo.org/svn/trunk@6873 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-09 20:10:50 +00:00
patdenice
1323e7dd36 merge r6724 from branch 2.1 to trunk
Plugin version compare must return false if plugin version is "auto" (developpement version).
Change language switch version number.

git-svn-id: http://piwigo.org/svn/trunk@6725 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-28 16:17:53 +00:00
nikrou
a9849aa9b6 Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 21:18:14 +00:00
nikrou
267c1c63a2 Bug 1755 : Needs single quotes in queries official plugins
git-svn-id: http://piwigo.org/svn/trunk@6654 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:20:38 +00:00
plegall
a1bddbe806 merge r6624 from branch 2.1 to trunk
bug 1747 fixed: some checks were added to verify the upload will fail for a
too big size or if the upload has failed for a too big size (test on
upload_max_filesize and post_max_size)



git-svn-id: http://piwigo.org/svn/trunk@6625 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 18:42:11 +00:00