Commit graph

1342 commits

Author SHA1 Message Date
plegall
ed0fd2183a bug 2176 fixed: remove the direct link to Caddie from the administration
menubar, the "Batch Manager" link does exactly the same by default.


git-svn-id: http://piwigo.org/svn/trunk@9057 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-02 12:21:13 +00:00
plegall
6ee66d829b bug 2172 fixed: the "sort order" options are removed from the album administration main page.
bug 2173 fixed: rename "manual order" into "automatic order" and "by rank" into "manual order"

bug 2174 fixed: only show the automatic order options when it's relevant

new icon for the "manage photo order" screen

hide the numeric rank below the thumbnail (it is confusing for users)

tell users that you can drag'n drop to reorder photos

bug fixed: the "apply to sub-albums" options for photo orders was not working


git-svn-id: http://piwigo.org/svn/trunk@9051 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-02 09:35:48 +00:00
plegall
8c304e6a54 bug 2171 fixed: photo order in a given album, hide the "Manual order" options
when this option is not selected.


git-svn-id: http://piwigo.org/svn/trunk@9039 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-01 15:14:02 +00:00
plegall
92e85ae36a bug 2168 fixed: Batch Manager, ability to remove author/title/date creation
git-svn-id: http://piwigo.org/svn/trunk@9035 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-01 12:41:40 +00:00
plegall
a27421cca1 no need to check the availability of a GD function in the ImageMagick resize algorithm
git-svn-id: http://piwigo.org/svn/trunk@9022 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 22:43:41 +00:00
plegall
aae2301da9 bug 2164 fixed: disable automatic rotation if we can't read EXIF data
git-svn-id: http://piwigo.org/svn/trunk@9021 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 22:40:58 +00:00
plegall
276ae72e3a bug 2134 fixed: in the Batch Manager, unit mode, fields author/description/date_creation were always empty.
git-svn-id: http://piwigo.org/svn/trunk@9016 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 21:57:23 +00:00
plegall
e67f5723d7 bug 2118 fixed: don't open a new tab once installation is finished
git-svn-id: http://piwigo.org/svn/trunk@9008 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 14:28:25 +00:00
plegall
92fe29daa7 merge r8966 from branch 2.1 to trunk
bug 2142 fixed: make sure you cannot move a category into itself



git-svn-id: http://piwigo.org/svn/trunk@8967 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-28 22:56:32 +00:00
Gotcha
b5ed2aa16a Merge r8936 from br2.1 to trunk
git-svn-id: http://piwigo.org/svn/trunk@8937 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-26 20:44:26 +00:00
rvelices
73d3ce19e7 scripts.js was not loaded on picture page with high images
admin maintenance leave a space between grouped 'non-destructive' actions and 'destructive' actions

git-svn-id: http://piwigo.org/svn/trunk@8898 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-25 20:23:33 +00:00
plegall
dff8596f66 bug 2119 fixed: no crash when calling pwg.categories.delete on an empty album
git-svn-id: http://piwigo.org/svn/trunk@8848 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-23 00:10:29 +00:00
plegall
dfb0b9d1fa bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has a
higher privacy level than user privacy level.

For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;


git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20 13:32:34 +00:00
plegall
90106b6794 feature 1289 updated: add pwg_token on the delete_orphan_tags maintenance action
(and all other maintenace actions as well)


git-svn-id: http://piwigo.org/svn/trunk@8765 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:59:49 +00:00
plegall
0a44acdd8a feature 1062 added: ability to delete a single photo from its administration
screen


git-svn-id: http://piwigo.org/svn/trunk@8764 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:51:03 +00:00
plegall
714219f490 feature 2040: to finish the "automatic rotation" feature, I had configuration
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)


git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:00:38 +00:00
plegall
1b7781c866 feature 1289 added: easy "delete orphan tags" function. On the "tags"
administration page, a warning message is displayed if you have at least
one orphan tag + direct action to delete them.


git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 13:19:16 +00:00
plegall
8a7004e61e bug 2018: now when a user gets an "admin" or "webmaster" status he
automatically gets the "admin" privacy level.


git-svn-id: http://piwigo.org/svn/trunk@8758 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 11:18:55 +00:00
rvelices
90911d747f - batch manager was not calling invalidate_user_cache
- batch manager can delete photos added by ftp
- call sync_users on admin page less often (too many sql queries)

git-svn-id: http://piwigo.org/svn/trunk@8756 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 20:57:36 +00:00
plegall
7889e86b9b feature 2113: slightly smaller logo in administration footer
git-svn-id: http://piwigo.org/svn/trunk@8754 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 19:59:58 +00:00
plegall
69ce218575 bug fixed: no more categories.uploadable column when creating a new category
split the admin/photos_add_direct.php script into
admin/include/photos_add_direct_prepare.php (prepare the upload form)
+ admin/include/photos_add_direct_process.inc.php (process the submitted form)
: it makes the upload form backend easier to reuse in the future Community
plugin.


git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 14:03:00 +00:00
plegall
447bc41f71 bug fixed: the home.png icon was missing for roma admin theme
git-svn-id: http://piwigo.org/svn/trunk@8733 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 13:38:38 +00:00
plegall
790e917541 feature 2113: new logo on administration screen
git-svn-id: http://piwigo.org/svn/trunk@8732 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 13:25:04 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall
7ca4f8e060 feature 2102: add a few language keys to remove all image/picture/element and replace by photo
git-svn-id: http://piwigo.org/svn/trunk@8727 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 23:53:47 +00:00
rvelices
b5046a4f94 got rid of a very innefficient (and not required) css rule
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:49:14 +00:00
rvelices
d125d527fa feature 2102 : rename item/image/picture to photo (admin side)
also removed unnecessary/duplicate keys

git-svn-id: http://piwigo.org/svn/trunk@8723 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:27:46 +00:00
rvelices
8a14faf0e1 feature 2102 : rename item/image/picture to photo (public side)
git-svn-id: http://piwigo.org/svn/trunk@8711 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-16 20:43:56 +00:00
rvelices
3d940e6121 feature 2102 : rename item/image/picture to photo (admin side)
also remove duplicates/unused admin lang keys

git-svn-id: http://piwigo.org/svn/trunk@8682 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-15 20:52:34 +00:00
rvelices
6eea9f9e08 feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 21:19:15 +00:00
plegall
fe569ab1bf feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.


git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 15:24:18 +00:00
rvelices
05ab300c39 - picture uses the same variables as the index page to compute thumbnails url
- combined files are deleted only from maintenance functions and not also from plugin activation/deactivation

git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 20:41:00 +00:00
plegall
0ef332fc0f feature 2103 added: week may start on sunday/monday in the monthly calendar
git-svn-id: http://piwigo.org/svn/trunk@8626 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 13:41:55 +00:00
plegall
b4d2a1362f feature 2095 added: new column images.added_by (foreign key on users.id)
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-04 10:55:08 +00:00
plegall
2cef861167 bug fixed: caddie and recent pictures in the admin menu now goes to the new Batch Manager
git-svn-id: http://piwigo.org/svn/trunk@8423 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-01 14:50:30 +00:00
plegall
4b771b5ab6 feature 2092 added: Batch Manager can filter all photos with no tag
feature 1866 added: Batch Manager can synchronize metadata


git-svn-id: http://piwigo.org/svn/trunk@8422 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-01 14:35:52 +00:00
plegall
4effe045ee feature 2091: Batch Manager, find all orphan photos
git-svn-id: http://piwigo.org/svn/trunk@8419 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 16:43:59 +00:00
plegall
38aad287eb feature 2089: finish removing element_set, now it's time for batch_manager
git-svn-id: http://piwigo.org/svn/trunk@8417 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 15:19:11 +00:00
plegall
1eba8d35e2 feature 2089: file forgotten in r8413
git-svn-id: http://piwigo.org/svn/trunk@8414 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 15:07:06 +00:00
plegall
6495263fd4 feature 2089: Batch Manager, switch from global to unit mode with tabs
git-svn-id: http://piwigo.org/svn/trunk@8413 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 15:06:36 +00:00
plegall
d7c3c65cd4 Batch Manager:
* add l0n to the new Batch Manager where is was missing

* change photo "name" to photo "title"

* change the way we display "Select all" and "Select the whole set"


git-svn-id: http://piwigo.org/svn/trunk@8408 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 14:06:27 +00:00
plegall
108344400b feature 2060: remove adviser mode on the new Batch Manager
git-svn-id: http://piwigo.org/svn/trunk@8407 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 12:43:41 +00:00
plegall
a9445d2975 feature 2089: add the "duplicates" feature to the new Batch Manager and
simplify the algorithm. The duplicates do not rely on physical albums, just
on duplicate filenames.


git-svn-id: http://piwigo.org/svn/trunk@8404 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 12:34:01 +00:00
plegall
aa30ee72d2 feature 2089: add the "not_linked" feature as "with no virtual album" in the
new Batch Manager.


git-svn-id: http://piwigo.org/svn/trunk@8403 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 11:58:14 +00:00
plegall
2ca0da39fb feature 2089: remove some useless commented code, only "not_linked" and
"duplicates" presets are not available in the new Batch Manager.


git-svn-id: http://piwigo.org/svn/trunk@8399 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 16:15:26 +00:00
plegall
71ca43c5d4 feature 2089: report feature:1845 in the new Batch Manager.
+ once the photos are deleted, redirect the page to reset the current photo set
and avoid being on an empty 2nd page.


git-svn-id: http://piwigo.org/svn/trunk@8398 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 15:54:43 +00:00
plegall
884437a486 feature 1906: report the "use the album defined sort order" in the new Batch
Manager.


git-svn-id: http://piwigo.org/svn/trunk@8397 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 15:23:50 +00:00
plegall
7ce257c9e0 icons to remove filters
git-svn-id: http://piwigo.org/svn/trunk@8396 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 15:02:26 +00:00
plegall
41696e7554 feature 2089: implement the "Bulk Manager" plugin as the new "Batch Manager".
The new "Batch Manager" offers as many features as the old "Bulk Manager" and
more to come.

The old Batch Manager (Caddie/Recent Pictures) is not removed yet and changes
that occured since last summer are not reported yet in the Batch Manager:
category/album, photo order for a given album, deletion of synchronized photos.


git-svn-id: http://piwigo.org/svn/trunk@8394 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 14:36:02 +00:00
rvelices
63eebc1c12 some admin theme cleanup - remove unused css
git-svn-id: http://piwigo.org/svn/trunk@8383 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-29 22:03:35 +00:00
rvelices
a129f6b257 some admin theme cleanup - remove unused css, unused icons
git-svn-id: http://piwigo.org/svn/trunk@8382 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-29 22:01:03 +00:00
plegall
5382fb218c feature 2087 added: use a checkbox in the installation screen for newsletter subscription
git-svn-id: http://piwigo.org/svn/trunk@8311 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-27 01:47:29 +00:00
plegall
4bfcf8fdc1 feature 2086 added: switch installation screen to a clear background theme
git-svn-id: http://piwigo.org/svn/trunk@8310 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-26 23:02:37 +00:00
plegall
877a4e6e2e feature 2081 added: ability to choose what to do with photos when deleting an
album : no_delete, delete_orphans, force_delete. Backend only.


git-svn-id: http://piwigo.org/svn/trunk@8265 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 20:48:28 +00:00
plegall
c266feea0b simpler code, useless to convert value twice
git-svn-id: http://piwigo.org/svn/trunk@8253 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 14:14:40 +00:00
plegall
16371ed5fd feature 2083 added: implement method pwg.images.addSimple in core
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message)

cleaner method to initialize the upload settings


git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 10:22:51 +00:00
rvelices
732eb6bfba removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 05:22:19 +00:00
rub
2a49b76ae1 Add delete_compiled_templates on plugin update version.
git-svn-id: http://piwigo.org/svn/trunk@8245 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 02:34:14 +00:00
plegall
088801add4 feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose
git-svn-id: http://piwigo.org/svn/trunk@8238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 21:57:50 +00:00
plegall
902c8f1927 feature 2077 added: when ImageMagick is active, ability to remove or resize
the high definition version of the photo.


git-svn-id: http://piwigo.org/svn/trunk@8227 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 15:15:35 +00:00
plegall
709515bccd feature 2076 added: automatically use ImageMagick (imagick) instead of GD if
Imagick extension is available. ImageMagick does not strip EXIF/IPTC metadata
from "web size" version of the photo.

We force remove EXIF/IPTC from the thumbnails to save space and bandwith.


git-svn-id: http://piwigo.org/svn/trunk@8219 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-21 21:55:04 +00:00
plegall
cfd6851c10 merge r8167 from branch 2.1 to trunk
bug 2031 fixed: redirection after category deletion preserves the current
node in the category tree.

+ the confirmation message is displayed after redirect, thanks to session



git-svn-id: http://piwigo.org/svn/trunk@8168 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-17 00:11:56 +00:00
rvelices
d5549a0bff jquery upgrade to 1.4.4
git-svn-id: http://piwigo.org/svn/trunk@8162 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-16 06:09:14 +00:00
patdenice
e97974a42e feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries.

git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 14:36:20 +00:00
patdenice
8b4e1c2b4b feature 2060: Remove {$TAG_INPUT_ENABLED} from tpl files.
git-svn-id: http://piwigo.org/svn/trunk@8128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:55:37 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
patdenice
bf1aa6fcf1 merge r8124 from branch 2.1 to trunk
feature 2048: remove urlencode for technicals details (already escaped with http_build_query).

git-svn-id: http://piwigo.org/svn/trunk@8125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:04:33 +00:00
patdenice
4448b8db7f merge r8089 from branch 2.1 to trunk
feature 2057: use http_build_query instead of add_url_params for GET data.

git-svn-id: http://piwigo.org/svn/trunk@8090 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-12 10:16:12 +00:00
patdenice
1b5260522e feature 2048: send technical details only to get_version_list.php of PEM API.
git-svn-id: http://piwigo.org/svn/trunk@8084 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:20:12 +00:00
patdenice
ea64e421cb feature 2057: use $get_data parameter to send GET data.
git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:08:43 +00:00
patdenice
4ae512231a feature 2048: add $conf['send_hosting_technical_details'] parameter
git-svn-id: http://piwigo.org/svn/trunk@8082 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:09:18 +00:00
patdenice
2a741321ba Use POST to send server data
git-svn-id: http://piwigo.org/svn/trunk@8080 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:01:35 +00:00
patdenice
914045aad4 feature 2057: fetchRemote can send POST data
git-svn-id: http://piwigo.org/svn/trunk@8079 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 19:50:05 +00:00
rvelices
e859fe07e4 css sprites (still ongoing)
git-svn-id: http://piwigo.org/svn/trunk@8076 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 13:42:19 +00:00
patdenice
fd456db99a Feature 2048: send piwigo version
git-svn-id: http://piwigo.org/svn/trunk@8022 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 13:22:14 +00:00
patdenice
41c4a947b2 Feature 2048: Send data to piwigo server anonymously (like php and mysql versions)
git-svn-id: http://piwigo.org/svn/trunk@8020 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 12:37:37 +00:00
patdenice
53d299d2d3 Wrong smarty variable.
git-svn-id: http://piwigo.org/svn/trunk@8014 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-06 23:44:28 +00:00
rvelices
1cbbe10bfd combined script now really merges files
added option $conf['template_combine_files'] by default true to enable/disable file combining

git-svn-id: http://piwigo.org/svn/trunk@8012 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-06 20:52:44 +00:00
patdenice
1e6cae89c3 Missing quote in header.tpl.
Add $id to script class (needed in cmp_by_mode_and_order function).

git-svn-id: http://piwigo.org/svn/trunk@8008 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-06 15:39:51 +00:00
rvelices
bbd63f0088 trunk admin theme goes with combine_script instead of old style known_script
git-svn-id: http://piwigo.org/svn/trunk@7995 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-04 20:32:44 +00:00
rvelices
81f391a1e4 admin theme uses combined_css
git-svn-id: http://piwigo.org/svn/trunk@7990 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-03 19:13:33 +00:00
rvelices
c3df7f2705 css rules simplification
- merged rules
- remove overly qualified inefficient selectors
etc...

git-svn-id: http://piwigo.org/svn/trunk@7869 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-24 20:42:56 +00:00
plegall
73b83574b9 feature 2040 added: automatic rotation of the photo based on EXIF Orientation.
The code could have been shorter but this one 1) checks the resize dimension
with the rotation in mind 2) rotates the photo once resized to reduce memory
used.


git-svn-id: http://piwigo.org/svn/trunk@7868 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-24 12:45:16 +00:00
rvelices
8e25506673 small javascript and css simplification
git-svn-id: http://piwigo.org/svn/trunk@7852 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-23 13:50:41 +00:00
rvelices
ce6af255b4 removed unused css rules from admin
git-svn-id: http://piwigo.org/svn/trunk@7822 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-19 20:12:23 +00:00
Gotcha
81dfe1f5c8 Merge r7732 from br2.1 to trunk
bug:1813

git-svn-id: http://piwigo.org/svn/trunk@7733 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 21:52:28 +00:00
ddtddt
64125a60d4 [trunk] merge 7723 - nl_NL - add subscribe for NL to newsletter
git-svn-id: http://piwigo.org/svn/trunk@7724 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 08:13:53 +00:00
plegall
a5ad1bbe7e merge r7555 from branch 2.1 to trunk
bug 1988 fixed: avoid duplicate thumbnails for photos linked to several
categories when managing all photos of one of these categories.



git-svn-id: http://piwigo.org/svn/trunk@7556 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-01 21:06:51 +00:00
plegall
1fb1c6c225 merge r7506 from branch 2.1 to trunk
bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.



git-svn-id: http://piwigo.org/svn/trunk@7507 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 20:22:15 +00:00
plegall
6fc4ec3795 merge r7504 from branch 2.1 to trunk
bug 1906 fixed: during batch management, for a given category, use the category
defined sort order for photos, not the generic order_by.



git-svn-id: http://piwigo.org/svn/trunk@7505 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 20:03:30 +00:00
plegall
42a61b5cb8 merge r7489 from branch 2.1 to trunk
bug 1908 fixed: protect the uploaded photo filename against SQL injection.



git-svn-id: http://piwigo.org/svn/trunk@7490 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-29 22:53:26 +00:00
plegall
00ebefc966 merge r7169 from branch 2.1 to trunk
bug 1914 fixed: broken admin web upload with PostgreSQL as database engine.
The tablename to retrieve the inserted image is mandatory for PostgreSQL and
was missing. Patch by netzimme.



git-svn-id: http://piwigo.org/svn/trunk@7170 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-13 09:43:18 +00:00
plegall
c6a5f13d23 feature 1616: rename category into album, a few language keys were missing
git-svn-id: http://piwigo.org/svn/trunk@7024 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-27 23:32:09 +00:00
plegall
70978fdf54 merge r7004 from branch 2.1 to trunk
bug 1872 fixed: we need to call set_make_full_url() before creating urls provided in emails


git-svn-id: http://piwigo.org/svn/trunk@7005 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-22 21:20:31 +00:00
rvelices
5ff171684e feature 1616: rename "category" into "album" (4th commit; almost there)
git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 21:14:54 +00:00
rvelices
b472955f7d feature 1616: rename "category" into "album" (3rd commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6988 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 20:19:41 +00:00
rvelices
7907d31a9c feature 1616: rename "category" into "album" (second commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6969 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-19 19:50:02 +00:00
rvelices
c206a73dd2 feature 1616: rename "category" into "album" (first commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 19:03:56 +00:00
rvelices
1da8e53dd4 feature 1845: be able to delete photos added through synhronization (postgres compatibility)
git-svn-id: http://piwigo.org/svn/trunk@6946 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 17:24:05 +00:00
nikrou
5421126743 Fix bug 1856 : CSRF issue that allow to change admin password
git-svn-id: http://piwigo.org/svn/trunk@6897 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-13 19:40:42 +00:00
rvelices
7b515a89cc feature 1845 : be able to delete photos added through ftp synchronization
git-svn-id: http://piwigo.org/svn/trunk@6873 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-09 20:10:50 +00:00
patdenice
1323e7dd36 merge r6724 from branch 2.1 to trunk
Plugin version compare must return false if plugin version is "auto" (developpement version).
Change language switch version number.

git-svn-id: http://piwigo.org/svn/trunk@6725 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-28 16:17:53 +00:00
plegall
a61e471e02 merge r6713 from branch 2.1 to trunk
bug 1757 fixed: ability to use HTML in author field


git-svn-id: http://piwigo.org/svn/trunk@6714 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:37:38 +00:00
plegall
1448b42df0 feature 408: ability to automatically sort sub-categories. The number of SQL
queries is constant, no matter the deepth of your tree.

+ refactor to avoid duplicate code (ascending/desceding should be only a
single parameter in a function, not 20 lines of duplicated code)


git-svn-id: http://piwigo.org/svn/trunk@6698 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-23 21:33:56 +00:00
nikrou
a9849aa9b6 Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 21:18:14 +00:00
vdigital
7303892a87 Fix: 'Menu Management' in admin
git-svn-id: http://piwigo.org/svn/trunk@6656 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-04 07:39:44 +00:00
nikrou
267c1c63a2 Bug 1755 : Needs single quotes in queries official plugins
git-svn-id: http://piwigo.org/svn/trunk@6654 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:20:38 +00:00
plegall
fbe9b7122d merge r6628 from branch 2.1 to trunk
improvement: ability to hide setup warnings for upload. Warnings will
automatically come back at next user session.



git-svn-id: http://piwigo.org/svn/trunk@6629 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 20:18:10 +00:00
plegall
a1bddbe806 merge r6624 from branch 2.1 to trunk
bug 1747 fixed: some checks were added to verify the upload will fail for a
too big size or if the upload has failed for a too big size (test on
upload_max_filesize and post_max_size)



git-svn-id: http://piwigo.org/svn/trunk@6625 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 18:42:11 +00:00
plegall
de5efe8330 merge r6621 from branch 2.1 to trunk
bug 1742 fixed: if the EXIF functions are not available:

1) display a warning (but not an error)
2) avoid to try to read EXIF data



git-svn-id: http://piwigo.org/svn/trunk@6622 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-29 00:26:43 +00:00
plegall
4b4d79c239 merge r6618 from branch 2.1 to trunk
bug 1746 fixed: a missing GD library is a setup error, it blocks the upload
form.



git-svn-id: http://piwigo.org/svn/trunk@6620 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 23:12:40 +00:00
plegall
c6d981cc58 merge r6616 from branch 2.1 to trunk
bug 1701 fixed: support for PNG file in browser direct upload.

If the picture is a PNG file, then the "web size" picture is also a PNG file
but the thumbnail is always a JPEG file.



git-svn-id: http://piwigo.org/svn/trunk@6617 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 20:58:38 +00:00
nikrou
a9d6cbce34 Bug 1740 fixed : Bug 1740 fixed : Rating page returns database error
Query had incomplete group by clause
Merge from branch 2.1

git-svn-id: http://piwigo.org/svn/trunk@6607 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 21:21:02 +00:00
nikrou
1ba096945f Bug 1744 fixed : Incorrect use of timezone with SQLite
Fixed anti-flood system.

Need refactoring between each interval functions

git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 19:43:44 +00:00
nikrou
4b4293ffff Bug 1739 fixed : Recent pictures page returns database error
If there's no image in database, don't select thems !

git-svn-id: http://piwigo.org/svn/trunk@6599 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:48:24 +00:00
plegall
1015546138 merge r6586 from branch 2.1 to trunk
bug 1721 fixed: remove the limit of 10 tags for each photo with the new
FCBKcomplete widget. The limit can't be removed (defaut value is also 10)
but I've increased it to 100.



git-svn-id: http://piwigo.org/svn/trunk@6587 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 23:43:36 +00:00
nikrou
5a677f1151 Bug 1738 fixed : hour function doesn't exists for database other than mysql.
git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 21:01:05 +00:00
plegall
2ab566c956 merge r6564 from branch 2.1 to trunk
bug 1707 fixed: Piwigo version number always visible in administration homepage



git-svn-id: http://piwigo.org/svn/trunk@6565 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-21 19:55:51 +00:00
nikrou
324bdad746 Bug 1733 fixed : single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6550 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 18:10:11 +00:00
nikrou
c14850486a Bug 1733 fixed : (amend) String values must be delimited by single quotes in queries
forgot on query

git-svn-id: http://piwigo.org/svn/trunk@6544 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 14:49:46 +00:00
nikrou
a14278f247 Bug 1733 fixed : String values must be delimited by single quotes in queries
git-svn-id: http://piwigo.org/svn/trunk@6542 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-17 13:49:24 +00:00
nikrou
ad676ee2c8 Bug 1715 fixed : SQLite: Add photos fail
must use pwg_db_* functions instead of mysql_* ones

git-svn-id: http://piwigo.org/svn/trunk@6498 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:38:43 +00:00
nikrou
6b0aebc1b5 Feature 1728 fixed : use autoHeight accordion param
git-svn-id: http://piwigo.org/svn/trunk@6496 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09 09:31:55 +00:00
nikrou
fd0f465c59 Fix bug 1717 : SQLite: access failure on Admin > Tools > History
hour function doesn't exists

git-svn-id: http://piwigo.org/svn/trunk@6463 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-04 19:36:56 +00:00
rvelices
722c4a3a97 merge r6368,6410 from branch-2.1 to trunk
- merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path)
- added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir

git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28 19:58:51 +00:00
rvelices
41594f3494 removed unnecessary language key (Controversy) and potential sql fatal error in admin photo rating page
git-svn-id: http://piwigo.org/svn/trunk@6402 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27 20:27:05 +00:00
plegall
d63d95e024 merge r6384 from branch 2.1 to trunk
bug 1704 fixed: windows needs a specific directory separator when creating
recursive directory.


git-svn-id: http://piwigo.org/svn/trunk@6385 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27 07:31:08 +00:00
plegall
5f597c2cba merge r6361 from branch 2.1 to trunk
feature 1697: ability to deactivate the synchronization method to add photos.


git-svn-id: http://piwigo.org/svn/trunk@6365 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-26 00:20:07 +00:00
rvelices
4d013f7a32 fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)
git-svn-id: http://piwigo.org/svn/trunk@6355 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25 19:49:13 +00:00
plegall
cd219bc685 merge r6347 from branch 2.1 to trunk
bug 1672: replace the language key where it's used.


git-svn-id: http://piwigo.org/svn/trunk@6348 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 22:19:41 +00:00
plegall
adfcba658e bug 1667 fixed: r6027 was fixing a minor error on tabs for Google Chrome/Safari
BUT was introducing a major visual issue for IE8. Backmerged + adds the -webkit
radius anyway.

This is a quickfix for release 2.1.1, the improved display introduced by nikrou
was nice and it would be better to have it, but working in IE8

git-svn-id: http://piwigo.org/svn/trunk@6320 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 09:29:15 +00:00
Gotcha
7dccde68f1 merge r6280 from branch 2.1 to trunk
git-svn-id: http://piwigo.org/svn/trunk@6281 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-22 10:19:35 +00:00
Gotcha
157b3c9f62 Correct text alignement in .infos, .errors
30px => 53px

git-svn-id: http://piwigo.org/svn/trunk@6265 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-21 19:46:41 +00:00
Gotcha
e48a87fae3 Correction CSS for Elevator badly placed in the plugins list
bug:1658

git-svn-id: http://piwigo.org/svn/trunk@6247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-20 08:28:07 +00:00
nikrou
d8d8ca5ed3 Fix get_enums function for SQLite
hard coded enums values for all tables
because enum feature doesn't exists for SQLite.

git-svn-id: http://piwigo.org/svn/trunk@6153 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:52:38 +00:00
plegall
8469140471 add nl.piwigo.org as domain name if current language is nl_NL
fix typos on language names in install.php

correct list of available newsletters

git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:51:01 +00:00
plegall
3597dcaa7a bug fixed on authentication check for upgrade without the 'now' mode
git-svn-id: http://piwigo.org/svn/trunk@6131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 21:25:33 +00:00
plegall
f34bce6847 add a warning about SQLite/PostgreSQL: they are currently in "experimental"
state.

git-svn-id: http://piwigo.org/svn/trunk@6128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 20:32:36 +00:00
nikrou
f1c5936f8b Fix language key (return in string) for message introduction in upgrade.php
git-svn-id: http://piwigo.org/svn/trunk@6127 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 20:23:13 +00:00
nikrou
a34af69677 Amend bug 1559. standard deviation was not removed in some places.
So, sqlite crashed because std function has been removed.

git-svn-id: http://piwigo.org/svn/trunk@6125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 18:43:50 +00:00
patdenice
973d15f338 Upgrade can be launched automaticaly if user is already connected as webmaster.
git-svn-id: http://piwigo.org/svn/trunk@6110 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 23:08:51 +00:00
plegall
7c460b8258 constants should not contain - but _
git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 00:35:43 +00:00
plegall
48ab333212 bug 1648 fixed: add the pwg_db_check_version functions for pdo-sqlite, sqlite
and pgsql, also make the $pwg_db_link global in the install_db_connect function
so that it can be used in SQLite functions.

bug fixed: with pdo-sqlite, pwg_db_num_rows always returns 0, so when
initializing user data, it tries to insert the same row twice.

git-svn-id: http://piwigo.org/svn/trunk@6090 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 00:34:56 +00:00
plegall
addb6b5ddc feature 620: ability to synchronize metadata from high definition photo, if no
metadata available in "web sized" photo. This commit is a report of r4683 from
update_metadata function in admin/include/functions_metadata.php in the
duplicated code get_element_metadata of admin/site_reader_local.php. See
feature 620 for details about code duplication.

git-svn-id: http://piwigo.org/svn/trunk@6076 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 23:45:20 +00:00
plegall
2a4d98ed75 bug fixed: on admin/cat_modify, the permissions icon had a bad src.
git-svn-id: http://piwigo.org/svn/trunk@6073 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 21:48:38 +00:00
plegall
8fd6efeb61 improve colors on admin clear theme to make it more readable (listbox and buttons, mainly)
git-svn-id: http://piwigo.org/svn/trunk@6072 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 21:46:40 +00:00
plegall
1f01b7f912 bug 1642 fixed: if no category exists, prevent from selecting an existing
category (before form submission).

git-svn-id: http://piwigo.org/svn/trunk@6057 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 21:24:34 +00:00
plegall
322d345077 bug 1641 fixed: Admin>Categories>Synchronize moved to Admin>Tools>Synchronize
(the same for the Site Manager). The big "Quick Synchro" button is kept on
administration homepage. A link to the Synchronize screen was added into
Admin>Photos>Add>FTP+Synchro screen.

git-svn-id: http://piwigo.org/svn/trunk@6056 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 20:13:03 +00:00
plegall
a3f7bac7a6 deactivate debug traces for advanced upload form
git-svn-id: http://piwigo.org/svn/trunk@6054 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 13:38:12 +00:00
plegall
0c8cebe044 bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']
parameter (web API already use it).

By default, the $conf['upload_dir'] is no longer dependent to PHPWG_ROOT_PATH
because it becomes a real mess when admin/include/uploadify.php (called
directly, not from an include) tries to perform an upload.

Improvement: make clearer how $conf['upload_dir'] can be set (relative to the
Piwigo installation directory + HTTP reachable)

git-svn-id: http://piwigo.org/svn/trunk@6052 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 12:49:26 +00:00