506 Commits

Author SHA1 Message Date
mistic100
4fab3d9922 Merged revision(s) r19167 from trunk:
bug:2793 use "include_once" instead of "include" when including pclzip

git-svn-id: http://piwigo.org/svn/branches/2.4@19168 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-25 10:42:16 +00:00
plegall
b43df041d4 merge r17980 from trunk to branch 2.4
little code refactoring over r17424

bug fixed on Edit Photo page when associating with no album.



git-svn-id: http://piwigo.org/svn/branches/2.4@17982 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-18 11:46:56 +00:00
plegall
081566eb83 merge r17424 from trunk to branch 2.4
bug 2716: modifying a photo reset it's rank
modify associate_images_to_categories() and move_images_to_categories() to preserve ranks
please test before 2.4.4 ! :-D


git-svn-id: http://piwigo.org/svn/branches/2.4@17981 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-18 11:45:51 +00:00
rvelices
53a0522894 merge-r17765 from trunk to branch 2.4 feature 2737: improve tag administration screen
show for every tag
- the number of photos
- link to public index page
- link to batch manager edit

add an event for extended description multi language strings (used for autocompletion and shown in the tag admin screen) instead of hard coded in the core [lang=..

git-svn-id: http://piwigo.org/svn/branches/2.4@17766 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-05 20:49:12 +00:00
rvelices
d0be895700 merge -r17724 from trunk to branch 2.4
bug 2732: when new tags must be added, also look first for existing tags with different case 


git-svn-id: http://piwigo.org/svn/branches/2.4@17725 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-03 20:49:42 +00:00
rvelices
a2f73718d9 bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors merge from trunk to branch 2.4
git-svn-id: http://piwigo.org/svn/branches/2.4@17676 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 19:20:50 +00:00
plegall
2c24b0b38a 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/branches/2.4@17668 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 12:52:40 +00:00
rvelices
5bc53c4d74 feature 2708: in admin, display allowed custom derivatives and ability to delete them
git-svn-id: http://piwigo.org/svn/branches/2.4@17295 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-01 19:00:54 +00:00
mistic100
c1e3f62855 remove debug code from r17001
git-svn-id: http://piwigo.org/svn/branches/2.4@17209 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-30 13:48:35 +00:00
plegall
be73b982e5 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/branches/2.4@17003 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 10:31:56 +00:00
plegall
261a386291 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/branches/2.4@17001 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 10:18:22 +00:00
plegall
83cdc8576d 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/branches/2.4@16934 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 13:33:55 +00:00
mistic100
18bf888d16 Merged revision(s) 16928 from trunk:
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/branches/2.4@16929 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 11:52:18 +00:00
mistic100
798de81516 Merged revision(s) 16925 from trunk:
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/branches/2.4@16926 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 10:06:27 +00:00
rvelices
3aa529809e bug 2672: invalid option sampling-factor for old versions of ImageMagick (use it for new versions) merge from trunk to branch 2.4
git-svn-id: http://piwigo.org/svn/branches/2.4@16242 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-01 04:18:34 +00:00
plegall
9ee698734d bug 2672: deactivate sampling-factor (for now)
git-svn-id: http://piwigo.org/svn/branches/2.4@16210 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 22:23:49 +00:00
mistic100
e21e16e76e merge r16179 from trunk
bug 2671: use get_branch_from_version() to find the real branch, however the version looks like

git-svn-id: http://piwigo.org/svn/branches/2.4@16180 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 15:10:09 +00:00
mistic100
aa10f54558 merge r16177 from trunk
incompatible plugins check doesn't work since 2.4, because version number format has changed

git-svn-id: http://piwigo.org/svn/branches/2.4@16178 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 14:31:29 +00:00
rvelices
f3c84114ef bug 2668 - fix php warnings on glob function (merge from trunk to 2.4)
git-svn-id: http://piwigo.org/svn/branches/2.4@16168 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-29 04:26:22 +00:00
mistic100
de1166c7f2 merge r16146 from trunk
check if ilog() exists before using it, allowing the use the class outer i.php

git-svn-id: http://piwigo.org/svn/branches/2.4@16147 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-28 18:47:34 +00:00
rvelices
e1794bbb66 correctly log errors when external imagick fails (merge from trunk)
git-svn-id: http://piwigo.org/svn/branches/2.4@16077 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-27 04:20:29 +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