Commit graph

544 commits

Author SHA1 Message Date
plegall
e32da625e7 feature 3001: new link "add photos" on album edition page. Patch by msakik
git-svn-id: http://piwigo.org/svn/trunk@25593 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-19 20:19:36 +00:00
mistic100
6f211a609a feature 2998: Warning: Parameter 3 to theme_activate() expected to be a reference, value given
unable to pass references through func_get_args and call_user_func_array

git-svn-id: http://piwigo.org/svn/trunk@25577 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-19 15:41:05 +00:00
plegall
9159bdfd06 feature 2890: small changes to the new design of group manager. Tab (with
icon), javascript open for "add group" form, use a "link style" for
"Permissions" on each album, add icon for "Permissions" link, use same colors
for "selected" items as for photos batch manager or comments manager, replace
"-" by "·" and make it less visible (softer color) for user separator.


git-svn-id: http://piwigo.org/svn/trunk@25449 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 11:49:27 +00:00
mistic100
76fc9c27dc feature 2998: Maintenance class for plugin
git-svn-id: http://piwigo.org/svn/trunk@25406 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 23:29:38 +00:00
mistic100
ae974849bc feature 2995 and feature 2997
change organization of configuration page
add theme parameter on GUI
change links color of dark mail theme (pink)
remove main themes css files

git-svn-id: http://piwigo.org/svn/trunk@25372 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 15:30:59 +00:00
mistic100
fc3b787b70 feature 2995: New email template
restore get_l10n_args removed at r25357
apply changes to NBM

git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 17:57:53 +00:00
plegall
27821debcd feature 2994: only activate elegant and smartpocket themes during install
git-svn-id: http://piwigo.org/svn/trunk@25278 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 10:05:36 +00:00
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
plegall
df6718f3f8 feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX)
Move the "send connection settings" code to function register_user (avoid code duplication).


git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 12:54:46 +00:00
mistic100
61c7f9dd6b bug 2989: Deprecated: preg_replace(): The /e modifier is deprecated on
git-svn-id: http://piwigo.org/svn/trunk@25133 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-25 11:43:56 +00:00
plegall
fac62f863d feature 2920 added: change admin screen "pending comments" to "all comments".
Now the administrator can filter on "all" or "pending" with a single click.

In the admin menu, we display the number of pending comments.


git-svn-id: http://piwigo.org/svn/trunk@25084 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 20:39:10 +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
mistic100
6eab56e705 feature:2826 missing hardcoded PEM category id in r20449
git-svn-id: http://piwigo.org/svn/trunk@24159 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-08-14 21:29:24 +00:00
mistic100
97cc62128f bug:2944 Performance issues when creating an album
git-svn-id: http://piwigo.org/svn/trunk@23944 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-14 16:43:22 +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
plegall
9843eb362d feature 2916 (admin icons):
* all level 2 admin menus have an icon
* bigger right-margin (0.5em instead of 0.2em) on #menubar dd icons
* many tabs get an icon (list plugins/themes/languages, update, add; add photos, history)

Specific changes on "roma" (dark admin theme)

* menu icons in grey #666
* no text-decoration on icons


git-svn-id: http://piwigo.org/svn/trunk@23382 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-19 23:10:00 +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
flop25
c86481cbbe feature:2925
theme_delete with less arg

git-svn-id: http://piwigo.org/svn/trunk@23248 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16 12:16:06 +00:00
flop25
970b0a596a feature:2925
new function theme_delete

git-svn-id: http://piwigo.org/svn/trunk@23247 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16 12:02:22 +00:00
rvelices
5b60c54c55 feature 2916 Replace raphael with symbol fonts
I added more icons than before (I think it's better as we can find links faster but that's arguable ...)

git-svn-id: http://piwigo.org/svn/trunk@23029 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-04 04:44:34 +00:00
flop25
0490009705 bug:2863
display a message on the upload page if "Resized after upload" is checked 

git-svn-id: http://piwigo.org/svn/trunk@22135 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-11 13:18:46 +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
mistic100
9722255086 feature:65 fix fatal error at the end of the install process, remove unused file and function
git-svn-id: http://piwigo.org/svn/trunk@20721 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-12 11:37:34 +00:00
mistic100
e8bdcecfeb feature:65 pwg_db_connect doesn't return anything now
git-svn-id: http://piwigo.org/svn/trunk@20720 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-12 11:06:00 +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
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