764 Commits

Author SHA1 Message Date
plegall 20c2586d42 (cp ab46632) Revert "Include pwg_token in user list POST request (Fixes #748) (#866)"
This reverts commit 65ac272179.
2019-04-02 14:08:14 +02:00
plegall 49a1c7fcaa (cp 7bf992b) fixes #890, use https instead of http to load images from piwigo.org 2018-07-11 15:08:34 +02:00
plegall 55a9754b11 (cp bef0901) fixes #872, CVE-2018-7724, protect photo admin page from CSRF 2018-07-06 14:39:50 +02:00
plegall 90243ddb0c (cp 65ac272) Include pwg_token in user list POST request (Fixes #748) (#866)
* user list: set pwg_token in POST data to user_list_backend.php

The POST data for the user data table request was empty, which could
cause user data retrieval to error out with HTTP 403 due to missing
the authentication token.

* user_list_backend: fix uninitialized variables

If iSortCol_0, sEcho, or sSearch are unset in the HTTP request, it
could cause variables to be uninitialized, potentially causing error
messages to be included in the HTTP response. These error messages,
if present, can prevent the JSON response from being parsed.

* user list: delete unnecessary quotes

Javascript object key names don't generally need to be quoted.
Remove some quotes that were introduced by a recent change that added
a body to the AJAX POST request to retrieve the user list.
2018-07-06 10:52:47 +02:00
plegall 4f42239aec (cp 7511881) fixes #887, $selection is never set on PHP side, no need to use it in template
... and it makes the template compatible with PHP 7.2
2018-07-04 17:12:52 +02:00
plegall 072ae305f8 (cp b6d61a7) fixes #838, tells PHP how many photos were deleted in Batch Manager 2018-02-08 13:05:11 +01:00
plegall c3b4c6f7f0 (cp 77f02bf) fixes #822, add token on configuration page to prevent CSRF 2017-12-18 15:16:13 +01:00
plegall 183de75e7e (cp 2c07301) Fixing issue #731 (#754)
* Fixing issue #731, if NB_PHOTOS is upper than 1000 display it

* Fixs issue #731 now number of picture between 1000 and 1999 are displayed

* Fixs formatting
2017-09-04 14:27:59 +02:00
plegall 7f8bff3d95 (cp 03a8329) adding pwg_token on permalink & cat_options
and therefor solving issue:721
2017-07-03 15:12:02 +02:00
plegall 8019af6c35 (cp 11c07ea) fixes #685, syntax error in jQuery selector prevents delete photos from working on Safari 2017-05-22 11:32:26 +02:00
plegall f7aadd8e29 fixes #279, show error message from pwg.images.upload 2017-04-09 17:28:51 +02:00
plegall 1c5b36f734 fixes #235, show/hide edit/caddie/representative icons on index.php or picture.php 2017-04-07 14:20:19 +02:00
plegall 03c2d12991 add icon on "save settings" button for configuration tabs 2017-04-06 16:01:41 +02:00
plegall b0ae23e34d fixes #428, ability to hide "sizes" icon on index.php or picture.php 2017-04-06 15:55:23 +02:00
plegall 9783a61490 fixes #571, album deletion, do not alert about deleting 0 (zero) orphan photos 2017-03-30 15:49:05 +02:00
plegall 5a80c0a604 user manager, ability to open the user add form with url parameter
to prepare the Tour of 2.9 new features
2017-03-16 15:42:58 +01:00
plegall 45cacb4ebd fixes #543, cleaner/simpler "remove filter" icon 2017-03-08 11:30:58 +01:00
plegall 7d3c4e17e4 issue #420, missing url for Piwigo Remote Sync 2017-03-07 15:53:26 +01:00
plegall 10a64e134a issue #420, move Piwigo Remote Sync in first position 2017-03-07 15:50:23 +01:00
plegall ced366456c issue #420, add MacShareToPiwigo 2017-03-07 15:22:10 +01:00
plegall 6258a0c9cf issue #420, add Piwigo Remote Sync 2017-03-07 14:50:11 +01:00
plegall 069581b80d issue #420, remove Piwigo for Android, not up-to-date 2017-03-06 16:30:49 +01:00
plegall e62f90fe4c issue #420, remove pLoader from list of applications 2017-03-06 15:32:02 +01:00
plegall 479204bd17 fixes #304, disable autoWidth on dataTables
Seems to avoid misalignement on Internet Explorer and offers a better user
experience when you modify width of your web browser.
2017-03-02 16:30:45 +01:00
plegall 294fb8c728 fixes #257, admin ratings, filter on album 2017-03-02 16:11:30 +01:00
plegall 58ccafd443 fixes a few issues on alignement/color with dataTables 1.10 2017-02-10 19:59:59 +01:00
plegall 370bc6e8f4 bug fixed: no blank space under admin menu separator for plugins 2017-02-10 15:39:42 +01:00
plegall 4c475174d3 fixes #591, add links on dashboard items 2017-01-27 17:11:40 +01:00
plegall ce8b99bda0 add icons on Batch Manager 2017-01-25 14:19:00 +01:00
plegall a793a35f09 add 2 icons for Batch Manager tabs (global/unit) 2017-01-25 14:16:06 +01:00
plegall 309b2f4476 feature #606, check pwg_token and display error (if any) 2017-01-24 17:29:28 +01:00
plegall 53ebd7a663 feature #606, deletion of orphans managed on frontend
recursive loop on pwg.images.deleteOrphans as long as there are orphans
remaining.
2017-01-24 15:13:10 +01:00
plegall a5afce8af0 replace tabs by space for indentation 2017-01-12 14:35:13 +01:00
plegall 50860ffdb6 feature #593, send image_ids as a coma separated string
... as in 3fb5651143
2017-01-12 14:33:56 +01:00
modus75 37fc55e6b6 issue 593 - batch manager block deletion; simpler php code + exact progress feed back ... 2017-01-10 21:24:25 +01:00
plegall 743bbb61f4 feature #593, simplify detailed output for pwg.images.delete 2017-01-09 14:33:26 +01:00
plegall edff7540eb feature #593, dynamic bloc size instead of fixed at 100.
1000 by default or half of the element list. The action should alway require at
least 2 ajax calls, even for 2 photos to delete (exception for 1 photo, of
course)
2017-01-09 14:10:39 +01:00
plegall 3fb5651143 feature #593, send image_ids as a coma separated string
... instead of a list, because default behavior of web servers is to limit
the number of input fields and we don't want such a limit.
2017-01-09 14:07:47 +01:00
plegall ba3ddf01ff feature #593, use the standard pwg_token available in the form 2017-01-09 14:07:03 +01:00
plegall e6e7465b9d fixes #593, delete by blocks of 100 photos, with a progress bar 2016-12-26 23:24:29 +01:00
plegall 3a8b26726f fixes #592, typo on new button id prevent ajax action from working 2016-12-26 17:11:53 +01:00
plegall 497e6ec54f fixes #588, add JS to handle show/hide parameters 2016-12-22 14:38:13 +01:00
plegall 222cd8c5b6 fixes #587 modernize menubar manager
- #567 add icon on button
- font-icon checkboxes
- #554 add tab
- #528 remove borders
- remove action "reset" which was actually "restore default settings" and was not really useful, so let's simplify
2016-12-22 11:10:40 +01:00
plegall 812c2350cb fixes #585, darker grey for watermark positions box 2016-12-21 14:25:42 +01:00
plegall 5473f057b0 on album list, replace "|" by · to separate actions 2016-12-15 19:07:20 +01:00
plegall b8cd5912c9 feature #561, use font icons for checkbox 2016-12-15 19:05:46 +01:00
plegall c2da5ccc67 feature #561, use font icons for radio 2016-12-15 19:03:25 +01:00
plegall d6f7f9f295 feature #567, add icons on buttons 2016-12-15 19:02:05 +01:00
plegall e9c3534f7c add icon-sort-number-up (for sorting actions) 2016-12-15 18:20:21 +01:00
plegall 1781477f95 feature #561, font-checkbox (radio/checkbox) on photos sort order 2016-12-15 15:10:01 +01:00