Commit graph

176 commits

Author SHA1 Message Date
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
6beee17904 merge r17668 from branch 2.4 to trunk
bug 2733 fixed: when creating a sub-album in a private album with
pwg.categories.add, it is automatically private too.



git-svn-id: http://piwigo.org/svn/trunk@17669 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 12:54:29 +00:00
rvelices
9166a8d39d small fix on element_url returned from web service calls (now coherent with picture.php)
git-svn-id: http://piwigo.org/svn/trunk@17469 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-07 19:52:37 +00:00
plegall
1e1c2d4d59 merge r17016 from branch 2.4 to trunk
bug 2706 fixed: pwg.getMissingDerivatives correctly manages galleries with not a single photo.



git-svn-id: http://piwigo.org/svn/trunk@17017 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 15:14:04 +00:00
mistic100
6ddf16ead6 feature 2657: previous commit may work, but badly coded
git-svn-id: http://piwigo.org/svn/trunk@15852 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-20 16:05:27 +00:00
mistic100
c8d097d3f8 feature 2657: make sure admins can access the new category (see r11727)
git-svn-id: http://piwigo.org/svn/trunk@15851 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-20 15:56:54 +00:00
mistic100
07c7470584 feature 2657: More options for pwg.categories.add
git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-20 15:41:31 +00:00
plegall
1e4bc8d5d6 merge r15585 from branch 2.3 to trunk
bug 2648 fixed: pwg.categories.getList, avoid to throw an error when
representative_picture_id is missing for an album, which makes parsing
the JSON output impossible.



git-svn-id: http://piwigo.org/svn/trunk@15586 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 13:09:17 +00:00
rvelices
1b54eb8e9c bug 2615 php notice in calendar amd web service
multisize improve handling of cases where the original is smaller than a requested derivative, but rotation/watermarking is required

git-svn-id: http://piwigo.org/svn/trunk@14143 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-14 04:52:20 +00:00
rvelices
f0d5c6c010 git-svn-id: http://piwigo.org/svn/trunk@13544 68402e56-0260-453c-a942-63ccdbb3a9ee 2012-03-13 21:13:17 +00:00
plegall
2bfedaea5c feature added: pwg.images.add can perform an update on an existing photo.
git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 23:48:55 +00:00
rvelices
f6825cfb33 - remove square/thumb from choices on picture
- fix content margin on password register 
- purge derivative cache by type of derivative
- session saved infos/messages are not given to the page on html redirections
- shorter/faster code in functions_xxx

git-svn-id: http://piwigo.org/svn/trunk@13074 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-09 21:11:34 +00:00
plegall
7157b8a8f4 remove obsolete function add_file
git-svn-id: http://piwigo.org/svn/trunk@13003 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-31 15:09:07 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +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
rvelices
225b45f2b8 feature 2548 multisize - added a page to build missing derivatives
- browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow

git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-08 19:25:52 +00:00
rvelices
34717c1391 feature 2548 multisize - improved picture.php display (original...) + code cleanup
git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05 22:06:21 +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
plegall
0184ddb3b9 merge r12809 from branch 2.3 to trunk
bug 2543 fixed: the representative_picture_id was missing in the SQL query for pwg.categories.getList


git-svn-id: http://piwigo.org/svn/trunk@12810 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-30 21:25:32 +00:00
rvelices
753f58d6a9 feature 2541 multisize
- core implementation + usage on most public/admin pages
- still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ...

git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 05:26:44 +00:00
patdenice
1ea0155ad7 bug:2535
Image is not cropped and ressized if requested size is bigger than image size.

git-svn-id: http://piwigo.org/svn/trunk@12749 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 17:00:06 +00:00
plegall
8796a85ab7 merge r12738 from branch 2.3 to trunk
feature 2489 updated: photos added by synchronization can't update their "file" field



git-svn-id: http://piwigo.org/svn/trunk@12739 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 09:10:30 +00:00
plegall
5bdba6b0bc merge r12729 from branch 2.3 to trunk
feature 2489 added: ability to update "file" info in pwg.images.setInfo


git-svn-id: http://piwigo.org/svn/trunk@12730 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 15:21:36 +00:00
plegall
b129ee5c13 merge r12727 from branch 2.3 to trunk
feature 2532 added: pwg.images.add returns image_id (+url)


git-svn-id: http://piwigo.org/svn/trunk@12728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 15:00:32 +00:00
plegall
5338ef80ef merge r12725 from branch 2.3 to trunk
feature 2533 added: ability to deactivate uniqueness check on pwg.images.add


git-svn-id: http://piwigo.org/svn/trunk@12726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 14:42:54 +00:00
plegall
4bc17c2e40 merge r12722 from branch 2.3 into trunk
merge r12723 from branch 2.3 into trunk

feature 2531 added: pwg.images.add is able to generate web size + thumbnail
(remote client needs to set "resize" option to something else than 0). When
the "resize" is On, only the "file" must be send with pwg.images.addChunk.

Small improvement compared to code implemented in branch 2.3 : use of
single_insert when resize is Off, single algorithm to update $info_colums (resize On/Off)


git-svn-id: http://piwigo.org/svn/trunk@12724 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 14:01:10 +00:00
rvelices
2f87684e09 feature 2486: Add an admin view for rates by user
git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-14 20:10:37 +00:00
plegall
ee79c8516a merge r12539 from branch 2.3 to trunk
feature 2352: a bug had been introduced by r12537, the piwigo_user_cache_categories.count_categories
was missing (the list of albums was not refreshing correctly on the upload form)



git-svn-id: http://piwigo.org/svn/trunk@12544 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-04 21:27:18 +00:00
plegall
7b1964c511 merge r12537 from branch 2.3 to trunk
feature 2352 added: pwg.categories.getList now returns a tn_url parameter.
This is the album thumbnail.

Warning: if the API method is called with $params['public'], the album
thumbnail may be not accurate. The thumbnail can be viewed by the connected
user, but maybe not by the guest. Changing the filtering method would be too
complicated for now. We will simply avoid to persist the
user_representative_picture_id in the database if $params['public']



git-svn-id: http://piwigo.org/svn/trunk@12543 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-04 21:22:55 +00:00
plegall
fafb6c3368 feature 2441 added: no need to have the HD to regenerate the websize if the
current websize is bigger than resize settings. When it occurs, we move the
current websize as HD and create the new websize from it.


git-svn-id: http://piwigo.org/svn/trunk@12175 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-17 21:03:58 +00:00
plegall
64ba898944 feature 2406 added: if the user wants a new album in the upload form, the album
is created before the start of the upload. The ergonomy is now simpler, the
page is smaller and cleaner.

bug 2373 fixed: now that album is created before upload, uploadify.php gets the
category_id and the level: as soon as it is uploaded (function add_uploaded_file)
the photo gets its final privacy level and is directly associated to the album.
This way, we can have an error on a photo without making orphan all photos of
the same upload group.

feature 2405 added: as soon as a photo is uploaded, its thumbnail is displayed
in the "Uploaded Photos" fieldset, without waiting for other photos to be
uploaded. The latest photos comes first.

I have slighlty changed the integration of colorbox in core. Now we have 2
styles available and by default, we use style2 (overlay in black, title and
control icons outside the popup). It is also used for zooming on bulk manager
in unit mode.

display change: on each uploading photos, instead of showing the transfer
speed, we display the transfer progression in %

bug fixed: the color of the "Start Upload" button was not correct because the
button was not a submit button but a simple type=button.

language: "Upload" button becomes "Start Upload" button.


git-svn-id: http://piwigo.org/svn/trunk@11962 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17 19:56:07 +00:00
rvelices
86ae4d8b3a rename #images.average_rate to rating_score
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-02 19:20:50 +00:00
rvelices
4e4dc79e51 feature 2384: improve average rating calculation (still need to update language files)
git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 18:04:50 +00:00
plegall
20c2300aaf merge r11755 from branch 2.2 to trunk
feature 2243 added: pwg.session.getStatus returns current date (used for images.date_available field, ie database time)


git-svn-id: http://piwigo.org/svn/trunk@11756 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 19:24:17 +00:00
plegall
0431669642 merge r11745 from branch 2.2 to trunk
feature 2376 added: new method pwg.categories.setRepresentative


git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 21:44:14 +00:00
plegall
d11eb3a6be merge r11371 from branch 2.2 to trunk
bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.



git-svn-id: http://piwigo.org/svn/trunk@11372 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 13:54:05 +00:00
plegall
257808402b merge r11152 from branch 2.2 to trunk
feature 1622 added: pwg.categories.getList is now able to return a tree with
the new "tree_output" option. Only compatible with json/php output formats.



git-svn-id: http://piwigo.org/svn/trunk@11155 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 20:25:40 +00:00
plegall
301b652fcb merge r11117 from branch 2.2 to trunk
bug 2299 fixed: web API, method pwg.images.addSimple returns a clean error when parameter "image" is missing


git-svn-id: http://piwigo.org/svn/trunk@11118 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:38:53 +00:00
plegall
5159af4e09 merge r11115 from branch 2.2 to trunk
feature 2244 added: web API methods pwg.categories.getImages,
pwg.tags.getImages and pwg.images.search now give the date_creation
and date_available for each returned photo.



git-svn-id: http://piwigo.org/svn/trunk@11116 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:32:10 +00:00
patdenice
3ba5410a5f feature:2284
Add param library for websize resize web service.

git-svn-id: http://piwigo.org/svn/trunk@10747 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-03 14:21:35 +00:00
patdenice
0db141fc62 feature:2259
Create two different methods in webservice to create/regenerate thumbnail and to regenerate websize.

git-svn-id: http://piwigo.org/svn/trunk@10686 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:38:59 +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
b6249220fd Only reset one type of extension.
git-svn-id: http://piwigo.org/svn/trunk@10596 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23 13:32:08 +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
17a04fcd39 feature:2273
Add crop functionality to webservice and batch manager.

git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 22:35:16 +00:00
patdenice
f5ef4fddd7 feature:2271
Add pwg.extensions.checkUpdates method to webservices.
Add a warning message on intro page if update is availble for piwigo or extensions.
Add an "Ignore All" button on extensions update page.

git-svn-id: http://piwigo.org/svn/trunk@10538 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 15:12:38 +00:00
patdenice
491e8adc74 feature:2271
Merge autoupdate plugin into piwigo core.

git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-20 14:52:52 +00:00
patdenice
f7bc47d1f6 feature:2259
Add "Regenerate Websize Photos" action.

git-svn-id: http://piwigo.org/svn/trunk@10454 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-17 19:08:06 +00:00