679 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 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 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 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 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 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 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 1781477f95 feature #561, font-checkbox (radio/checkbox) on photos sort order 2016-12-15 15:10:01 +01:00
plegall 417a5cacce remove useless specific CSS rule (no common to all pages) 2016-12-15 15:09:05 +01:00
plegall cb964ad340 feature #561, font-checkbox (radio/checkbox) on album permission 2016-12-15 14:21:15 +01:00
plegall 9063ebc57d feature #561, font-icons radio for album notification 2016-12-15 14:02:36 +01:00
plegall 5f5aff1a04 feature #567, icons on batch manager buttons 2016-12-15 12:12:29 +01:00
plegall ed0d053699 feature #565, Batch Manager, font-icons checkboxes
For each photo.

And we use full colors for "hover" thumbnails, ie orange on "clear" theme and pink on "dark" theme.
2016-12-12 15:53:17 +01:00
plegall b6442677eb fixes #210, filter duplicates on checksum
But it only works for images having their md5sum filled in database. Which is
never the case for photos added by synchronization.
2016-12-11 19:51:20 +01:00
plegall 16e41e6434 use font-icons for duplicate options on batch manager 2016-12-11 19:07:45 +01:00
plegall 11bf464e77 feature #561, use font icon radio on config pages 2016-12-11 18:17:50 +01:00
plegall 806a3b7ae7 feature #378, bug fixed on draw() call
The oTable javascript variable is built with jQuery('#userList').dataTable(),
which returns a jQuery object, while jQuery(...).Datatable() would directly
return a DataTables API object. So now, to access the draw() function, we need
to get the api() first from the jQuery object.

https://datatables.net/manual/api#Accessing-the-API
2016-12-09 15:04:48 +01:00
plegall 3959df9d45 modernize admin design, save icon on button 2016-12-02 15:10:47 +01:00
plegall b2fba913e6 #561 font icon radio/checkbox everywhere on cat_modify 2016-12-02 15:10:25 +01:00
plegall cda81bbad2 feature #561, use radio font icons on album edition page 2016-12-02 14:46:13 +01:00
flop25 90424e6c75 fixes #560 typo fix the missing tooltip when activating themes without parent 2016-12-02 11:46:12 +01:00