Commit graph

614 commits

Author SHA1 Message Date
plegall
b267aea0e2 bug 2825: add maintenance action to clean the database and avoid integrity errors
git-svn-id: http://piwigo.org/svn/trunk@20544 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-04 11:28:03 +00:00
mistic100
6f04aba061 feature:65 Add support for PHP mysqli extension, activated by default, remove returns of link_identifier
git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-30 11:12:22 +00:00
mistic100
4708e6c75e feature:2826
git-svn-id: http://piwigo.org/svn/trunk@20449 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-29 17:35:23 +00:00
mistic100
4b7b977db2 minor optimization on photos_add_direct
git-svn-id: http://piwigo.org/svn/trunk@19828 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-05 10:04:10 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
d7a9cbae9a bug:2793 use "include_once" instead of "include" when including pclzip
git-svn-id: http://piwigo.org/svn/trunk@19167 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-25 10:41:02 +00:00
plegall
a73846717f feature 2727: improve password security with the use of PasswordHash class.
This class performs salt and multiple iterations. Already used in Wordpress,
Drupal, phpBB and many other web applications.

$conf['pass_convert'] is replaced by $conf['password_hash'] + $conf['password_verify']


git-svn-id: http://piwigo.org/svn/trunk@18889 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-02 13:59:07 +00:00
mistic100
cb11878233 feature 2773: add pwg_db_close() method
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 09:05:58 +00:00
rvelices
5a061cb37d - remove unsed code; shorten existing code and improve readability ...
git-svn-id: http://piwigo.org/svn/trunk@18628 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12 19:56:12 +00:00
plegall
a1002f61fd little code refactoring over r17424
bug fixed on Edit Photo page when associating with no album.


git-svn-id: http://piwigo.org/svn/trunk@17980 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-18 11:43:36 +00:00
rvelices
dadd8f6307 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/trunk@17765 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-05 20:38:30 +00:00
rvelices
0257b32062 bug 2732: when new tags must be added, also look first for existing tags with different case
git-svn-id: http://piwigo.org/svn/trunk@17724 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-03 20:48:50 +00:00
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
mistic100
b0512b37b4 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/trunk@17424 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-06 09:04:46 +00:00
rvelices
92049de075 merge-r17295 from branch 2.4 feature 2708: in admin, display allowed custom derivatives and ability to delete them
git-svn-id: http://piwigo.org/svn/trunk@17302 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-01 19:03:17 +00:00
mistic100
8e568b317c remove debug code from r17002
git-svn-id: http://piwigo.org/svn/trunk@17210 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-30 13:50:28 +00:00
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
plegall
36dd98bfab bug fix: now DerivativeImage::thumb_url needs the image_id
git-svn-id: http://piwigo.org/svn/trunk@13019 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-02 20:34:33 +00:00
plegall
ae6a63bee0 feature 2561: redesign on album administration screen.
* only one form on the screen and several tabs

* simpler URL pattern : page=album-123-properties / page=album-123-sort_order
  / page=album-123-permissions

* action to associate all photos of an album to another (new) virtual album
  was removed. This can be easily done with the new Batch Manager

* notification by email on an album still has to be moved on a new dedicated tab

* action icons (jump to album, manage photos, manage sub-albums, delete album...)
  replaced by plain text links


git-svn-id: http://piwigo.org/svn/trunk@13013 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-01 23:03:35 +00:00
rvelices
ae80086a26 feature 2548 multisize - watermark for imagick extension
git-svn-id: http://piwigo.org/svn/trunk@12956 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24 21:50: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
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
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
plegall
cac417c74b feature 2548, multiple size:
* adapt the upload script

* remove the resize settings screen

* add a new screen [Administration > Configuration > Options > Photo Sizes]
  with the ability to resize original after upload


git-svn-id: http://piwigo.org/svn/trunk@12879 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-12 21:37:28 +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
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
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
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
plegall
f500499530 merge r12762 from branch 2.3 to trunk
bug 2536 fixed: a new virtual album is now added on top of the list of other
albums in the parent album (instead of bottom).



git-svn-id: http://piwigo.org/svn/trunk@12763 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-17 23:05:19 +00:00
patdenice
b3ce83e9cb bug:2537
Thumbnail creation may crash on some servers

git-svn-id: http://piwigo.org/svn/trunk@12756 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-17 17:45:49 +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
patdenice
95325c68cf bug:2513
Warning messages during synchronisation on some servers

git-svn-id: http://piwigo.org/svn/trunk@12642 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-17 18:09:37 +00:00
patdenice
5c7f267455 bug:2511
Warning messages during thumbnails creation (FTP method)

git-svn-id: http://piwigo.org/svn/trunk@12640 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-17 14:39:47 +00:00
patdenice
bbe62b64c0 bug:2496
Imagick library (class version) is not detected properly on some servers 

git-svn-id: http://piwigo.org/svn/trunk@12581 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-07 15:34:08 +00:00
patdenice
e859d5ac6d feature:2322
feature:2493
Add a trigger for multi language tags in quick search and url

git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-05 16:15:58 +00:00
patdenice
fa500d36ec bug:2483
warning on plugin activation 

git-svn-id: http://piwigo.org/svn/trunk@12517 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-25 15:34:58 +00:00
patdenice
5c452b8084 bug:2479
External ImageMagick library is not properly detected

git-svn-id: http://piwigo.org/svn/trunk@12493 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-19 13:05:26 +00:00
patdenice
4bbb04fa60 Bug:2472
Thumbnails are not cropped during upload

git-svn-id: http://piwigo.org/svn/trunk@12443 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-14 10:43:48 +00:00
patdenice
d3a81948e7 Add missing language keys for auto-upgrade (only error keys).
git-svn-id: http://piwigo.org/svn/trunk@12261 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 14:52:06 +00:00
plegall
347fb6e321 bug 2449 fixed: in the "tags box" on batch manager and picture_modify, we
should only display the tag in the current user language, not the tag in all
available languages.


git-svn-id: http://piwigo.org/svn/trunk@12259 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 13:48:49 +00:00
patdenice
aeae5476e1 Deactivate auto-rotation for thumbnail creation.
git-svn-id: http://piwigo.org/svn/trunk@12258 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 13:15:12 +00:00
plegall
bd7f8c0ba2 feature 1078 added: ability to merge tags
git-svn-id: http://piwigo.org/svn/trunk@12032 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-02 08:37:21 +00:00
mistic100
88951a7946 feature:2322 fix a typo in function get_taglist
git-svn-id: http://piwigo.org/svn/trunk@12030 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-01 14:16:00 +00:00
flop25
ded83a19da feature:2418
adding an option to apply permission of users to sub-albums
changing the name of vars $private_uppercats->$private_cats

git-svn-id: http://piwigo.org/svn/trunk@12019 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-31 15:12:14 +00:00
plegall
24ab1e2467 feature 2410 added: uploadify upgraded from version 2.1.0 to 3.0.0 (still beta,
but said as stable by users on uploadify forums)

bug 2411 fixed: thanks to uploadify 3.0.0, the "Browse" button is now localized
(text in any language)

bug 1653 fixed: if the selected file exceeds the upload_max_size (as defined in
the php.ini), an alert is shown and the file is not added to the queue.

bug 2412 fixed: ability to select GIF files with the Flash Uploader.


git-svn-id: http://piwigo.org/svn/trunk@11975 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-19 16:04:43 +00:00
plegall
27d0c89c33 feature 2407 added: display upload limitations before file selection (file
maximum size, maximum dimensions, allowed file types). The maximum dimensions
are calculated for GD only (because Imagick and External ImageMagick are not
using PHP memory as far as I could find on the web).

bug 2408 fixed: change term "old style form" into "browser uploader" and
"multiple file form" into "Flash Uploader" (based on WordPress user interface)


git-svn-id: http://piwigo.org/svn/trunk@11966 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 15:19:03 +00:00
plegall
25522edae8 convert to UNIX file type
git-svn-id: http://piwigo.org/svn/trunk@11964 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 15:13:53 +00:00
plegall
2259fe7615 comment debug instruction from uploadify.php
git-svn-id: http://piwigo.org/svn/trunk@11963 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17 20:02:07 +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
c17ed8b55f feature 2387: addd a filter by tag in the batch manager
git-svn-id: http://piwigo.org/svn/trunk@11853 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-30 04:49:02 +00:00
rvelices
e83a606ea3 partially revert one of my previous commits where I removed an obsolete function (was used directly in the tpls:-( )
git-svn-id: http://piwigo.org/svn/trunk@11828 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 18:06:48 +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
rvelices
5869dada4c - removed admin never used function cat_admin_access
- removed obsolete known_script template block
- added a warning on usage of is_adviser function

git-svn-id: http://piwigo.org/svn/trunk@11753 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 18:56:20 +00:00
plegall
21b4213890 merge r11747 from branch 2.2 to trunk
bug 2356 fixed: if the EXIF date can't be parsed, we don't use it to fill the photo date


git-svn-id: http://piwigo.org/svn/trunk@11748 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 22:02:27 +00:00
plegall
424eed990e merge r11727 from branch 2.2 to trunk
feature 2245: when a new private album is added, the creator and admins
automatically get permission on it.



git-svn-id: http://piwigo.org/svn/trunk@11728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 13:32:23 +00:00
mistic100
99d78adde7 feature:2322 display all localisations as independant tags in TokenInput
git-svn-id: http://piwigo.org/svn/trunk@11487 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-22 16:38:58 +00:00
mistic100
25d95d2093 reload DB config between plugin installation and plugin activation
git-svn-id: http://piwigo.org/svn/trunk@11389 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-15 20:19:17 +00:00
mistic100
def88719e8 feature:2322 Add two new trigger events for tag name display and tag url
git-svn-id: http://piwigo.org/svn/trunk@11317 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-11 14:35:38 +00:00
plegall
53b859811f bug fixed: accept Piwigo version with a pattern like 2.3.0beta1 in plugins/themes/languages/updates management classes
git-svn-id: http://piwigo.org/svn/trunk@11185 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:45:45 +00:00
patdenice
d8718a6d73 merge r11043 from branch 2.2 to trunk
feature:2250
Add obsolete_extensions.list file in install directory.
Incompatible plugins is checked through ajax.

git-svn-id: http://piwigo.org/svn/trunk@11047 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 10:54:59 +00:00
patdenice
d9fbe9bbe9 Remove useless code and small bug correction.
git-svn-id: http://piwigo.org/svn/trunk@11045 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 10:03:16 +00:00
patdenice
a2b9024d92 feature:2284
Improve external image magick

git-svn-id: http://piwigo.org/svn/trunk@11044 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 10:02:24 +00:00
patdenice
c9b7beb12f Load tags for tokeninput directly in html page. Ajax is too slow.
git-svn-id: http://piwigo.org/svn/trunk@11039 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 09:00:46 +00:00
mistic100
cf1a7f6df7 TokenInput : order tags, theme for roma, 'new' text translated
git-svn-id: http://piwigo.org/svn/trunk@11008 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-23 11:25:50 +00:00
mistic100
daa0bdd09e remplace FCBKcomplete by TokenInput
git-svn-id: http://piwigo.org/svn/trunk@10970 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-21 00:25:26 +00:00
flop25
b658b84544 bug:2292
Fixed the spelling of a function name.
convert_shortand_to_bytes into
convert_shorthand_to_bytes


git-svn-id: http://piwigo.org/svn/trunk@10858 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-12 13:24:09 +00:00
patdenice
62d5bcd749 feature:2284
Avoid error when spaces are present in dirname.

git-svn-id: http://piwigo.org/svn/trunk@10713 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-01 10:10:45 +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
90825d08ea feature:2284
Rename $conf['image_library'] into $conf['graphics_library']
Display library used in admin intro page.

git-svn-id: http://piwigo.org/svn/trunk@10684 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:10:00 +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
790f6b3bb6 Change tabsheet place for plugins, themes and languages.
Plugins, themes and languages use same update page.

git-svn-id: http://piwigo.org/svn/trunk@10594 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23 12:48:05 +00:00
patdenice
6597975404 Create a function to save upload form settings.
git-svn-id: http://piwigo.org/svn/trunk@10589 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23 08:51:53 +00:00
patdenice
a3963aedef feature:2274
Create thumbnail through ajax.
Remove $conf['tn_width'], $conf['tn_height'] and $conf['tn_compression_level'] parameters.

git-svn-id: http://piwigo.org/svn/trunk@10570 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22 13:19:36 +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
d1eb25df09 feature:2273
Ability to crop thumbnail (fixed size)

git-svn-id: http://piwigo.org/svn/trunk@10552 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 21:55:20 +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
plegall
cb2b12b3a6 merge r10425 from branch 2.2 to trunk
bug 2242 fixed: default theme is changed if upgrade.php deactivated the previous theme.



git-svn-id: http://piwigo.org/svn/trunk@10426 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 17:41:41 +00:00
patdenice
8ae1f19fc5 round is better than ceil for resizing pictures.
git-svn-id: http://piwigo.org/svn/trunk@10383 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-15 13:10:58 +00:00
patdenice
b5592c8228 feature:2260
Keep only two states for plugins (active and inactive)

git-svn-id: http://piwigo.org/svn/trunk@10293 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-11 10:30:56 +00:00
mistic100
797ddead2a bug:1791 display hd dimensions instead of websize dimensions
git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08 09:09:13 +00:00
patdenice
a1071794d9 feature:2250
Remove useless query for delete.

git-svn-id: http://piwigo.org/svn/trunk@10129 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:42:13 +00:00
patdenice
49dd77f05b feature:2250
Add expire parameter.
Clean code.

git-svn-id: http://piwigo.org/svn/trunk@10128 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:11:11 +00:00
patdenice
0ab5e51a15 bug:2251
Bug corrected for fcbkcomplete

git-svn-id: http://piwigo.org/svn/trunk@10110 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 15:17:09 +00:00
patdenice
0dd800150b feature:2250
Incompatible plugins and obsolete plugins may not be activated.

git-svn-id: http://piwigo.org/svn/trunk@10098 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 09:43:46 +00:00
patdenice
33697fcf58 feature:2239
Support GIF format in the upload form (only in GD)

git-svn-id: http://piwigo.org/svn/trunk@9952 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-31 14:26:16 +00:00
plegall
4f058c1c72 change the way Piwigo checks Imagick availability to make it easier to call ImageMagick with exec() in a plugin
git-svn-id: http://piwigo.org/svn/trunk@9844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-24 13:11:25 +00:00
plegall
59b87ac06b bug 2218: deactivate non core themes after upgrade
git-svn-id: http://piwigo.org/svn/trunk@9597 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 10:50:11 +00:00
patdenice
8b64b57a27 feature:2114
Simplify all admin templates.

git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09 14:22:48 +00:00
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