Commit graph

497 commits

Author SHA1 Message Date
plegall
b6329cb062 merge r17003 from branch 2.4 to trunk
bug 2705 (related to): if rotate function is called with a 0 (zero) angle,
like plugin RotateImage may do, ExtIM fails with the same error
"convert: invalid argument for option `-rotate': -orient"



git-svn-id: http://piwigo.org/svn/trunk@17004 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 10:32:34 +00:00
plegall
60d23d4f61 merge r17001 from branch 2.4 to trunk
bug 2627 fixed: photos added with the web form or pwg.images.addSimple now have
a correct image_category.rank.



git-svn-id: http://piwigo.org/svn/trunk@17002 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 10:20:40 +00:00
plegall
e23052b963 merge r16934 from branch 2.4 to trunk
bug 2705 fixed: if the rotation is "0", no rotation is needed, we skip the
rotate function which behaves badly (in ExtIM) with a zero degree rotation.



git-svn-id: http://piwigo.org/svn/trunk@16936 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 13:52:32 +00:00
mistic100
9a4a9d846e feature 2703: make it easy for plugins to add tabs in admin screens
centralize all core tabs in one file

git-svn-id: http://piwigo.org/svn/trunk@16928 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 11:50:41 +00:00
mistic100
283e9010eb feature 2703: make it easy for plugins to add tabs in admin screens
add a trigger a give an id to each core tabsheets

git-svn-id: http://piwigo.org/svn/trunk@16925 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 10:03:14 +00:00
rvelices
f8ba24a777 bug 2672: invalid option sampling-factor for old versions of ImageMagick (use it for new versions)
git-svn-id: http://piwigo.org/svn/trunk@16230 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-30 19:23:43 +00:00
plegall
60c264d6dc merge r16210 from branch 2.4 to trunk
bug 2672: deactivate sampling-factor (for now)



git-svn-id: http://piwigo.org/svn/trunk@16211 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 22:24:24 +00:00
mistic100
9883bd67ef bug 2671: use get_branch_from_version() to find the real branch, however the version looks like
git-svn-id: http://piwigo.org/svn/trunk@16179 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 15:08:00 +00:00
mistic100
d4402725e1 incompatible plugins check doesn't work since 2.4, because version number format has changed
git-svn-id: http://piwigo.org/svn/trunk@16177 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 14:29:48 +00:00
rvelices
a05c8c538a bug 2668 - fix php warnings on glob function
git-svn-id: http://piwigo.org/svn/trunk@16167 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 04:25:02 +00:00
mistic100
51c02b0af9 check if ilog() exists before using it, allowing the use the class outer i.php
git-svn-id: http://piwigo.org/svn/trunk@16146 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-28 18:45:51 +00:00
rvelices
9d42cbed3d correctly log errors when external imagick fails
git-svn-id: http://piwigo.org/svn/trunk@16076 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-27 04:19:38 +00:00
plegall
c89365f10e feature 2632: add a test on upgrade.php, if a remote site is detected downgrade to 2.3.4
git-svn-id: http://piwigo.org/svn/trunk@15680 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-14 21:46:47 +00:00
plegall
06347bfb71 feature 2632: do not deactivate smartpocket automatically during upgrade
git-svn-id: http://piwigo.org/svn/trunk@15678 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-14 12:21:39 +00:00
plegall
aa7bc99766 no longer use of images.tn_ext field any longer
git-svn-id: http://piwigo.org/svn/trunk@15598 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 22:04:19 +00:00
patdenice
3d7971d640 bug:2647
Test 1and1 server with $_SERVER['SCRIPT_FILENAME']

git-svn-id: http://piwigo.org/svn/trunk@15583 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 10:48:57 +00:00
patdenice
acb3e717fc bug:2647
External ImageMagick does not work anymore on 1and1 servers

git-svn-id: http://piwigo.org/svn/trunk@15575 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06 15:38:56 +00:00
rvelices
34e6f1aa49 multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor
git-svn-id: http://piwigo.org/svn/trunk@15551 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05 18:06:53 +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
rvelices
c8827c24a4 multi size external imagemagick use 4:2:2 chroma subsampling as imagick extension (reduce file size by 20-30% with "almost" no human perception)
git-svn-id: http://piwigo.org/svn/trunk@14723 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-03 18:07:51 +00:00
rvelices
1307d0708e feature 2601: Allow searching by ip in admin history
also remove php warnings when tags zere deleted after visits

git-svn-id: http://piwigo.org/svn/trunk@14688 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-02 20:24:28 +00:00
rvelices
40a4dd63f0 multi size:
- fix external imagick issues when rotation was required
- fix: derivative were generated continuosly until a first save performed in the admin screen
- added sharpen param in the new config screen
- increased the sharpen range (10% is less than before)

git-svn-id: http://piwigo.org/svn/trunk@14649 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-02 04:29:56 +00:00
plegall
4d0a528f64 simplify code to save derivatives settings
git-svn-id: http://piwigo.org/svn/trunk@14584 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-30 11:08:14 +00:00
plegall
b219d87284 feature 2626: fix watermark form submission (with the help of rvelices)
git-svn-id: http://piwigo.org/svn/trunk@14580 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-30 09:44:51 +00:00
plegall
2f1ebdc9c4 feature 2626: explicit error message for PNG files + info message when settings saved
git-svn-id: http://piwigo.org/svn/trunk@14549 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-30 00:17:20 +00:00
plegall
a129632a26 feature 2626: ability to upload a new watermark
git-svn-id: http://piwigo.org/svn/trunk@14546 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-29 23:58:44 +00:00
plegall
d04e389411 feature 2626: manage inline errors on form submission
git-svn-id: http://piwigo.org/svn/trunk@14513 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-29 11:41:34 +00:00
plegall
5884b956f8 feature 2626: new design for the watermark configuration screen (tab in the "config > options")
TODO: the detection of derivatives that need to be updated is not working.


git-svn-id: http://piwigo.org/svn/trunk@14512 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-29 07:34:44 +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
flop25
89a1ee2696 feature:2482
during upgrade, deactivate template-extensions : in practice put an empty array for the config param. extents_for_templates 

git-svn-id: http://piwigo.org/svn/trunk@14206 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-17 14:09:05 +00:00
plegall
c137a52c15 coding guidelines: indentation is made of spaces, not tabs
git-svn-id: http://piwigo.org/svn/trunk@13882 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-03 20:58:14 +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
rvelices
9d66c18541 - small js fixes on index/picture
- i.php does not use derivatives.dat file anymore (obsolete file)
- better selection of derivatives in picture.php
- larger sharpen real range in image.class.php

git-svn-id: http://piwigo.org/svn/trunk@13736 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-26 04:07:03 +00:00
rvelices
b95925dcaa multisize: remove 2 php warnings, delete custom derivatives (batch man + maintenance), watermark applied to custom derivatives
git-svn-id: http://piwigo.org/svn/trunk@13651 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-20 04:13:35 +00:00
plegall
1a538bc6be feature 2587: set theme "elegant" as default theme
git-svn-id: http://piwigo.org/svn/trunk@13467 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-02 22:14:38 +00:00
plegall
0c9d78e4af feature 2577: avoid errors if mobile theme was manually removed
git-svn-id: http://piwigo.org/svn/trunk@13460 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-02 16:17:15 +00:00
rvelices
cb2a1f0d99 - derivative fix floating point rounding errors for certain sizes
- increase derivative size for which metadata is kept
- imagick use 4:2:2 chroma subsampling (reduce file size by 20-30% with "almost" no human perception)
- dont show mobile theme links if there is no mobile theme installed
- mobile theme favicon removed because 404

git-svn-id: http://piwigo.org/svn/trunk@13426 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-28 21:18:03 +00:00
plegall
12bf0f72bb feature 2581: new design on albums list management.
icons removed, replaced by text links visible on :hover

better ergonomy for automatic order: the "save manual order" submit button
only appears when a change is detected in the album ordering. The "automatic
sort order" becomes a dedicated fieldset, hidden by default, displayed "on
user demand".

new virtual album form displayed only "on user demand"

cat_list, cat_move and permalinks are 3 tabs for the "Albums > Manage" link
in the menubar.

permalinks admin page slightly redesign: fieldsets instead of centered h3,
"on user demand" form to add/modify permalinks.


git-svn-id: http://piwigo.org/svn/trunk@13282 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-20 19:28:43 +00:00
patdenice
2405b41e02 feature:2577
Automaticaly install smartpocket during install or upgrade.
hide mobile theme from themes list on user side.

git-svn-id: http://piwigo.org/svn/trunk@13242 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18 21:18:34 +00:00
patdenice
46864ea0b6 feature:2577
Add functionnality in core files.

git-svn-id: http://piwigo.org/svn/trunk@13172 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-15 16:52:24 +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
1ea81f6e93 merge r13105 from branch 2.3 to trunk
bug 2551 fixed: force the use of $conf['gallery_url'] (thanks to the
get_gallery_home_url function) to build subscribe/unsubscribe links
in NBM emails.



git-svn-id: http://piwigo.org/svn/trunk@13106 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-11 22:39:56 +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
1a56352d08 merge r13080 from branch 2.3 to trunk
bug 559 fixed: avoid duplicate insert on tags when synchronizing metadata if
the IPTC keywords contains repeated separators like "tag1,,tag2".



git-svn-id: http://piwigo.org/svn/trunk@13081 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 13:57:11 +00:00
plegall
bea45c89b6 feature 2564: redesign on photo administration screen.
* one screen with several tabs (for now: properties + coi)

* double select boxes for album associations and representation have been
  converted to simple multiple select boxes with jQuery Chosen

* more details about the photo in an introduction text


git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 10:52:07 +00:00
rvelices
ecf196ba31 upgrade jquery to 1.7.1
mouseout on index drop down bozes
improved multisize center of interest

git-svn-id: http://piwigo.org/svn/trunk@13052 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-07 21:25: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
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
plegall
14f3e134e7 feature 2561: fix links on album administration screens
git-svn-id: http://piwigo.org/svn/trunk@13025 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-03 21:33:47 +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