Commit graph

1233 commits

Author SHA1 Message Date
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