Commit graph

31 commits

Author SHA1 Message Date
plegall
1cc9155c74 bug 3171 fixed: no need to double escape the file name from HTML5 upload
git-svn-id: http://piwigo.org/svn/trunk@30375 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-06 09:16:30 +00:00
rvelices
2b58912b96 bug 3163: pwg.tags.getImages mysql error if order parameter is provided
git-svn-id: http://piwigo.org/svn/trunk@30359 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-03 21:07:33 +00:00
mistic100
0f0b8e0430 final fix for plugins update ?
- plugins.version is not updated in "activate" action
- plugins.version is updated in "update" action and "load_plugin()" function (not only for plugins using maintain.class.php)

cases covered:
- autoupdate while active or inactive
- FTP update while active or inactive


git-svn-id: http://piwigo.org/svn/trunk@29779 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-25 09:25:24 +00:00
mistic100
17a72f2bb2 fix plugins autoupdate: call ##_maintain::update when updating from back-office
git-svn-id: http://piwigo.org/svn/trunk@29773 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-24 17:30:08 +00:00
plegall
4dbf817829 feature 3083: return the upload_file_types in pwg.session.getStatus (list of file extension, comma separated)
git-svn-id: http://piwigo.org/svn/trunk@29729 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-22 09:29:00 +00:00
plegall
379398d917 feature 3067: upload any file type with the new HTML5 upload form.
$file_types = conf['upload_form_all_types'] ? $conf['file_ext'] : $conf['picture_ext'];

By default, conf['upload_form_all_types'] = false;


git-svn-id: http://piwigo.org/svn/trunk@29124 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-30 13:48:35 +00:00
plegall
bf58209d7d bug 3104: less rights for admins (compared to webmaster). Now an admin can't:
* delete a webmaster
* give webmaster/admin status to any user
* change status of a webmaster/admin 


git-svn-id: http://piwigo.org/svn/trunk@29074 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-25 09:10:49 +00:00
mistic100
8a1ea2ad0a feature 2807: nicer display of "from to" dates (required changes in "format_date" function)
git-svn-id: http://piwigo.org/svn/trunk@28981 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07 09:54:15 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
plegall
7b3783c981 feature 2616: better behavior at the end of upload (more like with uploadify, but no page reload)
git-svn-id: http://piwigo.org/svn/trunk@28554 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-28 16:41:56 +00:00
plegall
682148e917 feature 2616, customizations for plupload
* bug fixed, remove debug inserts in table "plupload"
* display photo title as tooltip on thumbnail
* hide useless .plupload_header
* hide any other form fieldset until an album is selected


git-svn-id: http://piwigo.org/svn/trunk@28552 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-28 09:33:17 +00:00
plegall
70bcfb5b86 feature 2616: HTML5 upload (with plupload 2.1.2). First basic implementation. Needs customization.
Chunked upload + Drag & drop (no more Flash)

use a new specific API method pwg.images.upload


git-svn-id: http://piwigo.org/svn/trunk@28545 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-27 14:11:23 +00:00
mistic100
a5b2cf8200 feature 3077 : factorize code for categories cache (TODO for other collections) + fix incorrect categories list for dissociation
git-svn-id: http://piwigo.org/svn/trunk@28542 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-26 22:03:57 +00:00
mistic100
f932ee79df feature 3077 : use Selectize with AJAX load/cache on picture_modify
git-svn-id: http://piwigo.org/svn/trunk@28494 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-17 12:11:47 +00:00
rvelices
1f3f5ff73f bug 3069: add quick search as filter in batch manager
git-svn-id: http://piwigo.org/svn/trunk@28087 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05 19:24:27 +00:00
plegall
b08c46f3c3 merge r27810 from branch 2.6 to trunk
bug 3055: add security pwg_token on API methods introduced in Piwigo 2.6
(pwg.groups.addUser, pwg.groups.deleteUser, pwg.groups.setInfo, pwg.users.add,
pwg.users.setInfo, pwg.permissions.add, pwg.permissions.remove)



git-svn-id: http://piwigo.org/svn/trunk@27811 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-17 22:20:28 +00:00
plegall
cdeb5959bb merge r27715 from branch 2.6 to trunk
feature 3054: new trigger ws_users_getList



git-svn-id: http://piwigo.org/svn/trunk@27716 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-12 13:42:31 +00:00
rvelices
3be1afd583 removed unnecessary by ref parameters + do not define IN_ADMIN on ws method
git-svn-id: http://piwigo.org/svn/trunk@27694 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-11 20:48:27 +00:00
rvelices
9f05167bac web service always return pwg version (allow in the future mobile apps to maintain compatibility)
git-svn-id: http://piwigo.org/svn/trunk@27371 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13 22:26:17 +00:00
plegall
01301c2500 merge r26952 from branch 2.6 to trunk
bug 3035 fixed: the output of pwg.categories.getList with option
tree_output=true was modified in r22729 to fix a bug. But fixing this bug has
broken iOS/Android applications which uses this parameter. The immediate
solution is to reintroduce the bug for now and fix it cleanly later (requires
a new version of iOS/Android apps)



git-svn-id: http://piwigo.org/svn/trunk@26953 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-24 20:12:08 +00:00
rvelices
50927b3569 admin rating improvements
- use web service for deletion
- use datatables for rating by user
- use fontello icons

git-svn-id: http://piwigo.org/svn/trunk@26837 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-17 22:19:44 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
rvelices
29433f1db4 invalidate_user_cache fix in web service method + do not invalidate user cache on every page hit on album list, photo etc ...
git-svn-id: http://piwigo.org/svn/trunk@25975 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-16 20:18:56 +00:00
plegall
5c9b9c43f5 bug 3012 fixed: invalidate_user_cache() on pwg.users.setInfo, pwg.groups.addUser, pwg.groups.deleteUser
git-svn-id: http://piwigo.org/svn/trunk@25968 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-16 15:09:49 +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
b9233b8343 feature 2976: ability to set group association with pwg.users.setInfo
git-svn-id: http://piwigo.org/svn/trunk@25474 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 12:58:21 +00:00
mistic100
892fdb202e feature 2976: improve lisiblity of pwg.users.getList options on APi explore + optimizations (remove in_array())
git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 11:08:22 +00:00
plegall
0cb2c621de feature 2976: makes sure we output registration_date if registration_date_* is requested (same for last_visit_*)
git-svn-id: http://piwigo.org/svn/trunk@25461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 22:11:11 +00:00
plegall
c10683b35b feature 2976: add output fields for pwg.users.getList. registration_date,
registration_date_string, registration_date_since, last_visit,
last_visit_string, last_visit_since.

bug fixed: format_date(), removing leading zero on day number


git-svn-id: http://piwigo.org/svn/trunk@25459 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 17:30:39 +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
2eae3907a7 splits ws_functions.inc.php in 8 files + comments + code cleaning
git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 11:03:10 +00:00