Commit graph

1806 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
rvelices
f289c2a44f english lang correction (forgot template)
git-svn-id: http://piwigo.org/svn/trunk@25570 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-19 04:31:24 +00:00
plegall
0ed662ef77 feature 1668: replace "Interface theme" by "Theme".
git-svn-id: http://piwigo.org/svn/trunk@25549 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 13:53:19 +00:00
rvelices
7726147445 - ws users/groups/perms returns int instead of strings for ids
- fix ws permissions getList (sometimes got objects sometimes arrays)
- users_list data table uses POST (avoid extra lengthy urls)

git-svn-id: http://piwigo.org/svn/trunk@25545 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 05:03:00 +00:00
plegall
c374e7d6af feature 1668: add new language strings for the new user manager.
git-svn-id: http://piwigo.org/svn/trunk@25502 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-16 22:01:58 +00:00
plegall
d27e783e5b feature 1668: nb_image_page or recent_period in database will automatically take the nearest (bigger) value in the value list
git-svn-id: http://piwigo.org/svn/trunk@25492 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-15 22:37:43 +00:00
plegall
5f148e96bc feature 1668: in user details, ability to modify recent_period and nb_image_page with sliders
git-svn-id: http://piwigo.org/svn/trunk@25491 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-15 22:28:10 +00:00
mistic100
80d8031167 bug 2883: filter order_by for duplicated values
git-svn-id: http://piwigo.org/svn/trunk@25489 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-15 15:41:11 +00:00
plegall
1951be5673 feature 1668: implement "change password" and "edit username"
git-svn-id: http://piwigo.org/svn/trunk@25483 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-14 13:41:34 +00:00
plegall
46fd7a42c1 feature 1668: delete single user, better colors for admin dark theme.
git-svn-id: http://piwigo.org/svn/trunk@25479 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 19:43:49 +00:00
plegall
146ee8c26f feature 1668: new display of userDetails, manage group list in user details,
display registration date in user list.

work in progress, not finished yet.


git-svn-id: http://piwigo.org/svn/trunk@25475 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 14:40:00 +00:00
plegall
1f4e4b947d feature 1668: visual enhancement for user manager redesign. Appropriate
(fontello) icons for open/close user details, appropriate colors for
DataTables.


git-svn-id: http://piwigo.org/svn/trunk@25457 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 13:36:14 +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
plegall
e48388d49e feature 1668: add a <form> to avoid confusing input[type=radio] (enabled_high, show_nb_hits...) between users.
git-svn-id: http://piwigo.org/svn/trunk@25445 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 10:03:08 +00:00
mistic100
e6722ac1b4 delete replace_space function, modify get_cat_display_name_* functions
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +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
plegall
88001efb90 feature 1668: first draft, add a complete form to edit user properties inside the DataTable.
git-svn-id: http://piwigo.org/svn/trunk@25405 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 21:50:52 +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
mistic100
7a5e31e401 feature 2995: New email template
rewrite pwg_mail_group() and pwg_mail_notification_admins()
new function pwg_mail_admins()
add complete template management in pwg_mail()
TODO : font-size problem in Thunderbird

git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 15:43:41 +00:00
mistic100
7d939e3bad bug 2944: r25280 broke the process on batch manager
git-svn-id: http://piwigo.org/svn/trunk@25312 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-03 13:55:32 +00:00
plegall
5f366b2ec6 feature 2976: pwg.users.delete requires pwg_token
git-svn-id: http://piwigo.org/svn/trunk@25282 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 12:37:32 +00:00
mistic100
8ec9e2bbb6 initialization issue in add_album.inc.tpl if there is no albums
git-svn-id: http://piwigo.org/svn/trunk@25280 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 10:28:36 +00:00
plegall
7d45f2c76c syntax error
git-svn-id: http://piwigo.org/svn/trunk@25279 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 10:10:27 +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
mistic100
a1f414324b remove hardly understandable code with usage of INGORE keyword in SQL query
git-svn-id: http://piwigo.org/svn/trunk@25243 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 20:01:54 +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
plegall
42d65801a8 merge r25223 from branch 2.5 to trunk
bug 2992 fixed: escape all file names before searching them as duplicates in batch manager.



git-svn-id: http://piwigo.org/svn/trunk@25224 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-29 22:38:54 +00:00
plegall
6d73f88a51 feature 1668: implement all remaining actions (all using the new version of pwg.users.setInfo with multiple user_id)
git-svn-id: http://piwigo.org/svn/trunk@25198 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 19:18:45 +00:00
plegall
2fdcfdddfe feature 1668, in progress: redesign user manager (jQuery datatables, AJAX calls)
git-svn-id: http://piwigo.org/svn/trunk@25194 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 16:25: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
flop25
cd76660cf6 bug:2948 The registration can be done without typing a password
The password is only mandatory on the public register page
Better error messages from admin/user_list.php

git-svn-id: http://piwigo.org/svn/trunk@25121 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 17:55:00 +00:00
flop25
06f89b68e0 bug:2980 Fatal error when renaming a group
git-svn-id: http://piwigo.org/svn/trunk@25119 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 17:48:49 +00:00
mistic100
2d2a2e2813 bug 2988: register_user() must returns new user id
git-svn-id: http://piwigo.org/svn/trunk@25116 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 13:01:25 +00:00
plegall
1ba3136333 feature 2920: reuse "nb pending comments" calculation in admin/intro.
add missing CSS code in r25084


git-svn-id: http://piwigo.org/svn/trunk@25085 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 20:48:28 +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
677fe6f888 bug:2981 fix parse error caused by r25018
git-svn-id: http://piwigo.org/svn/trunk@25076 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 12:55:22 +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
mistic100
2f08283864 feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +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
plegall
cd53c8fcd7 feature 2968 added: Add link to "edit this album" when managung sub-albums. Patch by msakik.
git-svn-id: http://piwigo.org/svn/trunk@24985 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18 19:34:23 +00:00
plegall
27e000fd88 merge r24982 from branch 2.5 to trunk
bug 2967 fixed: avoid display changes when album list is long to load. Replace
input text for position to input hidden. It was a fallback when javascript is
deactivated, but nowadays Piwigo administration can't work without javascript.



git-svn-id: http://piwigo.org/svn/trunk@24983 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18 19:20:55 +00:00
plegall
ed076b0970 bug 2975 fixed: remove useless "," at the end of arrays, because it breaks Internet Explorer 7 :-/
git-svn-id: http://piwigo.org/svn/trunk@24980 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18 19:02:52 +00:00
rvelices
a67a99120e fix picture modify create date for days/months on two digits starting with 0
git-svn-id: http://piwigo.org/svn/trunk@24946 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-16 19:42:38 +00:00
mistic100
d03bb10888 remove tests from svn:23746
git-svn-id: http://piwigo.org/svn/trunk@24836 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 12:22:30 +00:00
mistic100
1824570368 bug 2970: Division by zero on batch manager
git-svn-id: http://piwigo.org/svn/trunk@24835 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 11:09:51 +00:00
mistic100
cfdfeb989d feature 2969: Unified Batch Manager URL
git-svn-id: http://piwigo.org/svn/trunk@24834 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 11:07:45 +00:00