Commit graph

1381 commits

Author SHA1 Message Date
rvelices
cbb1d37eb6 fix comment order url when no question mark in urls
git-svn-id: http://piwigo.org/svn/trunk@13156 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-13 20:01:17 +00:00
rvelices
a1833e40a2 improvement of picture title on picture page, drop boxes on index page ...
sharpening uses a zider scale range 

git-svn-id: http://piwigo.org/svn/trunk@13115 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-12 10:02:59 +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
mistic100
8afb39b1eb feature 2379: change captions for comment ordering
git-svn-id: http://piwigo.org/svn/trunk@13088 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 22:23:42 +00:00
mistic100
b82ddfb655 feature 2564: small changes in infos list
git-svn-id: http://piwigo.org/svn/trunk@13086 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 17:02:54 +00:00
mistic100
69a704f138 feature 2564: forgot a file in previous commit
git-svn-id: http://piwigo.org/svn/trunk@13085 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 16:11:50 +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
rvelices
1b527e3964 - language aditions/removal
git-svn-id: http://piwigo.org/svn/trunk@13068 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-09 20:43:41 +00:00
rvelices
0d277219fc multisize - added the coi (still to affine the admin ui + language)
multisize - derivatives can be revuild from a larger derviative instead of the original

git-svn-id: http://piwigo.org/svn/trunk@13038 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-06 20:59:20 +00:00
rvelices
8d86e7b399 multisize
- watermarks loaded also from local dir
- fix/simplify algo for cropping
- imagick use scaleImage (fast) before resizeImage (slow) if the original is a lot bigger than the requested size

git-svn-id: http://piwigo.org/svn/trunk@13035 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-05 14:58:14 +00:00
rvelices
18036a70fc feature 2548 multisize - custom sizes restricted to those requested by theme/plugin
code refacto

git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-02 20:59:41 +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
plegall
3dda873d39 next version in 2.4.0beta2
git-svn-id: http://piwigo.org/svn/trunk@12991 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-30 14:37:16 +00:00
rvelices
7ee2cff811 bugfix prev commit
git-svn-id: http://piwigo.org/svn/trunk@12955 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24 19:36:54 +00:00
rvelices
4372d7aa11 feature 2548 multisize
- added define_derivative template functiion for themes and plugins
- code cleanup, new events ...

git-svn-id: http://piwigo.org/svn/trunk@12954 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24 19:24:47 +00:00
rvelices
b7fff52095 feature 2548 multisize
- comments thumbnails + no more hard coded thumbnail sizes in css 
- removed admin thumbnail page + language cleanup

git-svn-id: http://piwigo.org/svn/trunk@12930 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-20 05:36:58 +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
rvelices
cc01941ed9 feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:58:18 +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
rvelices
e693ef60cd feature 2548 multisize - ability to choose displayed size on index page
-added some logs on i.php (configurable) to measure the perf

git-svn-id: http://piwigo.org/svn/trunk@12908 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 06:09:32 +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
mistic100
e673454e05 feaure:2379 option to display user comments sorted new>old instead of old>new
git-svn-id: http://piwigo.org/svn/trunk@12894 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-15 17:05:30 +00:00
mistic100
c501688dbc feature:2549 Allow to disable comments for everybody
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 22:29:10 +00:00
rvelices
56452f8711 revert css name change from previous commit
git-svn-id: http://piwigo.org/svn/trunk@12881 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 10:21:10 +00:00
rvelices
6a115001ba bug 2553 hide menubar/register on indentification page if gallery is locked or guest_access is false
git-svn-id: http://piwigo.org/svn/trunk@12878 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-12 20:50:46 +00:00
rvelices
b1ebb7c785 bug 2554 php warning PHPWG_URL is not defined in page_tail.inc.php
git-svn-id: http://piwigo.org/svn/trunk@12875 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-11 20:52:17 +00:00
rvelices
511cbb1c98 bug 2544 upgrade css minifier to version 3.0.1 (Embedded cssmin is imcompatible with font-face syntax)
git-svn-id: http://piwigo.org/svn/trunk@12874 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-11 05:34:41 +00:00
patdenice
758f9dd195 feature:2552
Apply trigger render_element_description for thumbnail title (for picture description)

git-svn-id: http://piwigo.org/svn/trunk@12870 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-10 15:26:42 +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
e64ab974df feature 2548 multisize - sharpen + watermarks (partially implemented / no test with imagick extension)
git-svn-id: http://piwigo.org/svn/trunk@12851 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05 21:35:25 +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
rvelices
95a78ca0d3 feature 2541 multisize
- admin GUI for choosing derivative parameters + persistence

git-svn-id: http://piwigo.org/svn/trunk@12820 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-01 21:10:43 +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
1e1b71c6f6 fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and move combined files and image derivatives from local to _data
git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-29 05:48:16 +00:00
plegall
bf24a3278c feature 2541: fix bug on PHPWG_ROOT_PATH and includes
git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 21:36:39 +00:00
rvelices
e42f791f52 feature 2541 multisize
- nicer presentation on picture.php
- added a maintenance purge derivatives action

git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 20:26:49 +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
rvelices
d70a18d521 simplification of 'startup phase' - multisite.inc.php is not required anymore / database.inc.php is included after config.
git-svn-id: http://piwigo.org/svn/trunk@12768 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19 20:25:42 +00:00
mistic100
4bbd5f6649 feature:2538 transmits messages after comment edition trough SESSION (no more ugly url displayed, avoid some minor bugs)
git-svn-id: http://piwigo.org/svn/trunk@12767 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19 17:08:49 +00:00
mistic100
ca230a6f53 feature:2538 Make a unified messages management
use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages

git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-18 21:46:24 +00:00
plegall
b581ba81b7 merge r12760 from branch 2.3 to trunk
bug 2502 fixed: better handling of non-latin tags and multilanguage tags on
tags.php with mode letter.

We can't rely on url_name because it always start with "_" when the tag looks
like "[lang...". Instead we compute a str2url on the name, but once it has been
rendered by Extended Description. To avoid useless computations, I have added a
cache on the tag_alpha_compare function. Tested on a 175 tags set, speed is
good.



git-svn-id: http://piwigo.org/svn/trunk@12761 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-17 22:52:19 +00:00
plegall
1c84017d23 better get_boolean function: able to detect "0" as false, (bool)false as false
and (int)0 as false.


git-svn-id: http://piwigo.org/svn/trunk@12752 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 20:57:55 +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
d827eacab4 merge r12747 from branch 2.3 to trunk
bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle of
concurrency on user cache refresh. No more error when regenerating several
thumbnails at once.



git-svn-id: http://piwigo.org/svn/trunk@12748 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 13:53:24 +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