Commit graph

250 commits

Author SHA1 Message Date
mistic100
c64eb85452 mistakenly removed status check in previous commit + same thing for users
git-svn-id: http://piwigo.org/svn/trunk@25244 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 20:14:32 +00:00
mistic100
4926fced5e replace some mass_updates/inserts by single_update/insert
git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 18:17:10 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
plegall
2209edc7f0 merge r24986 from branch 2.5 to trunk
bug 2977 fixed: when moving an album, whatever the previous status
private/public we must remove irrelevant permissions (a public album
can have hidden permission, ie list of groups/users permitted). I've
also found a bug in the algorithm that selects users/groups to delete
(reverse parameters in array_diff).



git-svn-id: http://piwigo.org/svn/trunk@24987 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18 21:02:15 +00:00
flop25
a1b66d8a33 bug:2855
bug corrected (if that was a virtual album created without parent)

git-svn-id: http://piwigo.org/svn/trunk@23886 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-09 13:37:42 +00:00
mistic100
d95425b9bb bug:2898 make some updates methods static + factorize code from plugins, themes & languages
git-svn-id: http://piwigo.org/svn/trunk@23821 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-07 11:28:12 +00:00
flop25
c17bc66aeb bug:2855
new otpion "inherit" for create_virtual_category(), and $conf['inheritance_by_default'] = false;
ToDo: album registred from Ftp

git-svn-id: http://piwigo.org/svn/trunk@23272 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16 19:52:51 +00:00
rvelices
ea10c19ac5 feature 2836: display the number of comments/tags in the menubar
git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:46:35 +00:00
plegall
0c49940ad2 merge r21566 from branch 2.5 to trunk
bug 2867 fixed: move get_dirs function to a function file, so that it can be used in plugin LocalFiles Editor (see r18629)



git-svn-id: http://piwigo.org/svn/trunk@21567 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-15 10:06:38 +00:00
plegall
3fd8143ccd bug 2852 fixed: ability to use HTML markup in album description for pwg.categories.add
git-svn-id: http://piwigo.org/svn/trunk@21070 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-28 12:41:16 +00:00
mistic100
75fa687b88 allow to pass an array to get_tag_ids()
git-svn-id: http://piwigo.org/svn/trunk@20805 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-18 12:31:56 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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