plegall
18e4b86199
(cp 69345c0) fixes #847 , CVE-2018-5692 protect a few user input variables
2018-07-11 11:24:59 +02:00
plegall
0ec289769e
(cp 23fa4c1) fixes #871 , CVE-2018-7722 strip tags on methods pwg.categories.add, pwg.categories.setInfo, pwg.images.setInfo
...
Adding pwg_token would be a better solution but would break remote applications (like the iOS app)
2018-07-06 18:31:58 +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
c6d6a5ec0a
(cp 06f4252) fixes #258 , batch manager, check the session category still exists
2018-07-06 11:52:52 +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
49c1d7e004
(cp 7e41e21) Fix issue #844
2018-07-05 15:53:43 +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
ebdacd3e83
fixes #853 , less strict check on user input "selectAction" for tag manager
...
... for compatibility with plugin Colored Tags (typetags) and maybe other in the future.
2018-03-23 10:01:06 +01:00
plegall
a38ff3bac0
(cp 8a57d77) fixes #596 , compatibility with PHP 7.1
2018-02-27 12:02:45 +01:00
plegall
f4be39d658
next version is 2.9.3
2.9.3
2018-02-22 15:04:28 +01:00
plegall
f178869f9b
cherry-pick 27 commits from translation
...
* 2c45ca5 - Update pl_PL, thanks to Sauron (2018-01-27 08:37:15 +0100)
* 3b0f56e - Update pl_PL, thanks to Sauron (2018-01-27 08:37:07 +0100)
* 60b4478 - Update pl_PL, thanks to Sauron (2018-01-27 08:36:58 +0100)
* 1c02e03 - Update mn_MN, thanks to Ulzii (2018-01-15 06:38:42 +0100)
* 633cd56 - Update mn_MN, thanks to Ulzii (2018-01-15 06:38:33 +0100)
* 4e65e00 - Update zh_CN, thanks to dennisyan (2017-12-17 11:19:57 +0100)
* fc4531a - Update th_TH, thanks to pradit (2017-12-11 18:11:54 +0100)
* 31f8a12 - Update th_TH, thanks to pradit (2017-12-11 18:11:45 +0100)
* 6e36be5 - Update de_DE, thanks to e-dschungel (2017-11-18 07:51:19 +0100)
* 457a93d - Update fr_FR, thanks to rio (2017-11-04 17:55:21 +0100)
* 4e5ee3f - Update it_IT, thanks to rio (2017-11-04 17:55:12 +0100)
* c15ff12 - Update lt_LT, thanks to vilisas (2017-10-15 07:06:26 +0200)
* 341e1b0 - Update lt_LT, thanks to vilisas (2017-10-15 07:06:09 +0200)
* 5c758f6 - Update lt_LT, thanks to vilisas (2017-10-15 07:05:38 +0200)
* 10a685c - Update lt_LT, thanks to vilisas (2017-10-15 07:05:29 +0200)
* 739a920 - Update lt_LT, thanks to vilisas (2017-10-15 07:05:21 +0200)
* 9cab061 - Update vi_VN, thanks to dummy (2017-10-12 06:12:51 +0200)
* 90934a4 - Update pt_BR, thanks to flaviove (2017-10-12 06:12:42 +0200)
* b1cd6cd - Update lt_LT, thanks to vilisas (2017-10-09 20:59:27 +0200)
* d4a0f4e - Update fr_FR, thanks to cryopad (2017-10-09 20:59:04 +0200)
* cd3a137 - Update nb_NO, thanks to paulen (2017-10-09 20:58:56 +0200)
* b44fda2 - Update uk_UA, thanks to StreamThreader (2017-10-09 20:58:47 +0200)
* 4991c96 - Update en_UK, thanks to ddtddt (2017-10-09 20:58:39 +0200)
* 92f515a - Update lv_LV, thanks to agrisans (2017-10-09 20:58:31 +0200)
* e211140 - Update ru_RU, thanks to Konve (2017-10-09 20:58:22 +0200)
* 577a25e - Update sv_SE, thanks to Elger (2017-10-09 20:58:13 +0200)
* 356c3eb - Update da_DK, thanks to Kaare (2017-10-09 20:58:04 +0200)
* 2c2c443 - Update ro_RO, thanks to enels (2017-10-05 20:40:06 +0200)
2018-02-22 14:51:45 +01:00
plegall
aee8fa1f8d
(cp 02275fe) fixes #839 , check input parameters on admin/tags.php
2018-02-22 14:18:59 +01:00
plegall
6d2f2a1d0d
(cp 63932b9) fixes #735 , add API method pwg.users.getAuthKey
2018-02-22 14:17:44 +01: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
91ef7909a5
(cp 9671454) fixes #826 , check input parameter order_by in configuration
2017-12-18 17:09:56 +01:00
plegall
f7c8e0a947
(cp 9028c75) fixes #825 , check user input on Batch Manager, unit mode, to prevent SQL injection
2017-12-18 16:45:56 +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
53d62e0c14
(cp 9e29db0) fixes #824 more generic code to get current script directory (working both on Linux and MacOSX)
2017-12-18 14:30:10 +01:00
plegall
33a03e9afb
(cp 1da9d6a) fixes #823 add input user check to avoid SQLi on users list
2017-12-18 14:06:28 +01:00
plegall
045d98ab00
cherry-pick 11 commits from translation
...
* daccbf5 - Update th_TH, thanks to pradit (2017-08-29 10:25:14 +0200)
* b12c138 - Update fa_IR, thanks to ipic (2017-08-27 07:17:50 +0200)
* b64c5f1 - Update fa_IR, thanks to ipic (2017-08-27 07:17:40 +0200)
* 2e5fad8 - Update fa_IR, thanks to ipic (2017-08-27 07:17:20 +0200)
* 6aaf850 - Update ru_RU, thanks to Konve (2017-08-23 06:13:23 +0200)
* 9ffefd0 - Update eo_EO, thanks to axel584 (2017-07-22 14:14:28 +0200)
* 8480afa - Update hu_HU, thanks to asicu.com (2017-07-20 06:21:33 +0200)
* 84c9eaf - Update cs_CZ, thanks to elpresidento (2017-07-10 06:19:30 +0200)
* 00b747c - Update cs_CZ, thanks to elpresidento (2017-07-10 06:19:21 +0200)
* afddae5 - Update cs_CZ, thanks to elpresidento (2017-07-10 06:19:12 +0200)
* 0cb7861 - Update eu_ES, thanks to bixerdo (2017-06-21 06:44:07 +0200)
* 167a462 - Update sk_SK, thanks to dodo (2017-06-19 06:41:37 +0200)
2.9.2
2017-10-05 18:06:41 +02:00
plegall
2767587056
next version is 2.9.2
2017-10-05 16:00:42 +02:00
plegall
27de5c0345
(cp ee4aae7) Fixes #767 - Return a 500 HTTP status when a file upload error occurs. ( #768 )
2017-10-05 15:40:21 +02:00
plegall
f57c81babd
(cp 9775889) fixes #789 , add url param hide_redirect_error
2017-10-04 10:37:21 +02:00
plegall
8d6fee190d
(cp 164b595) fixes #777 WS categories getImages, TotalCount for correct pagination builder
2017-09-30 17:09:03 +02:00
plegall
9cd6b7c90d
(cp a335d70) fixes 787, check URL parameter "action" to avoid error messages
2017-09-28 15:04:02 +02:00
plegall
6530720d51
(cp 943ab9d) Issue/747 php notice when changing admin page theme ( #774 )
...
* Fixes#747 Only variables should be passed by reference
* Fixes syntax
2017-09-19 11:25:53 +02:00
plegall
e1817474ea
(cp c9ab538) Fixs issue #760 date_creation not refreshed when changing it from picture_modify ( #763 )
2017-09-18 17:50:23 +02:00
plegall
75e1be46b1
(cp b585f5b) Removing Deprecated error message for PHP 7 ( #764 )
2017-09-18 17:22:43 +02:00
plegall
410edc8de1
(cp 011b12c) fixes #751 , missing DROP statements at install
2017-09-05 13:24:49 +02:00
plegall
62afa8b1ff
(cp 08cce48) Fixes #755 Never thow '0000-00-00 00:00:00' as value but Null instead
...
only for exif ; iptc is ok
2017-09-05 13:22:01 +02: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
0f2c9a805f
(cp 028c4ee) fixes #739 , make sure keys are reset in the "uniquified" array
...
... for a regular search, when different set of photos matches the search.
2017-07-25 18:28:23 +02:00
plegall
524ae64be4
(cp a3cf80c) fixes #732 , avoid conflict with PHP function "transliterate"
2017-07-13 11:30:54 +02:00
plegall
fb4006bda6
(cp f520f82) fixes #726 , add trigger in create_virtual_category
2017-07-03 15:56:54 +02:00
plegall
5c3e24c02f
(cp 30e8bab) pwg_token left for cat_options pages
...
solving https://github.com/Piwigo/Piwigo/issues/721
2017-07-03 15:12:36 +02:00
plegall
a9645181c6
(cp 3dd6812) check input parameter for cat_options pages
...
solving https://github.com/Piwigo/Piwigo/issues/724
2017-07-03 15:12:20 +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
be9ec05596
(cp 4d031c9) fixes #725 , protect pwg.images.setInfo from HTML
2017-07-03 13:55:19 +02:00
plegall
0dc3810f0d
(cp d542de7) fixes #713 , use the default language to send email
...
and not only to build the email body message
2017-06-21 11:46:07 +02:00
plegall
eff137091e
(cp fffd351) fixes #710 , avoid using get_gallery_home_url()
...
because it may be different from get_absolute_root_url() if you have a $conf['gallery_url']
2017-06-15 23:13:29 +02:00
plegall
127618e589
cherry-pick 33 commits from translation 928773b to 7c5f1f3
...
git log --reverse --oneline translation ^master --pretty=format:"git cherry-pick --no-commit %H" 706988e..7c5f1f3 | bash
* 7c5f1f3 - Update fr_CA, thanks to bgoutier (2017-06-09 05:58:49 +0200)
* ac1fb9e - Update eo_EO, thanks to axel584 (2017-06-09 05:58:39 +0200)
* 04430ff - Update fr_CA, thanks to bgoutier (2017-06-06 06:08:01 +0200)
* 9abfca2 - Update pt_PT, thanks to jonxvel (2017-06-05 07:48:34 +0200)
* c37ca77 - Update sk_SK, thanks to dodo (2017-05-30 06:22:08 +0200)
* e5af8c7 - Update sv_SE, thanks to Elger (2017-05-30 06:21:18 +0200)
* e72634c - Update en_GB, thanks to Pat2309 (2017-05-30 06:21:09 +0200)
* 1c5a180 - Update ro_RO, thanks to enels (2017-05-30 06:20:59 +0200)
* 061c210 - Update sk_SK, thanks to dodo (2017-05-30 06:20:35 +0200)
* b2459ce - Update en_GB, thanks to Pat2309 (2017-05-30 06:20:25 +0200)
* 73dd934 - Update pt_PT, thanks to jonxvel (2017-05-30 06:20:15 +0200)
* fb86224 - Update en_GB, thanks to Pat2309 (2017-05-30 06:20:06 +0200)
* 5f4b324 - Update fi_FI, thanks to Juhi24 (2017-05-25 07:30:40 +0200)
* 2acd126 - Update zh_HK, thanks to erio (2017-05-13 18:37:21 +0200)
* 03d251c - Update zh_HK, thanks to erio (2017-05-13 18:37:12 +0200)
* eb796c0 - Update zh_HK, thanks to erio (2017-05-13 18:37:02 +0200)
* 15d72db - Update pt_PT, thanks to jonxvel (2017-05-12 06:18:19 +0200)
* 564508c - Update hu_HU, thanks to asicu.com (2017-05-09 06:49:29 +0200)
* 8dc9870 - Update sr_RS, thanks to gpopac (2017-05-04 06:16:59 +0200)
* 8111639 - Update sr_RS, thanks to gpopac (2017-05-04 06:16:51 +0200)
* ae19b37 - Update sr_RS, thanks to gpopac (2017-05-04 06:16:43 +0200)
* 2157c13 - Update vi_VN, thanks to dummy (2017-05-02 06:28:31 +0200)
* ac92326 - Update eu_ES, thanks to bixerdo (2017-05-01 10:49:12 +0200)
* 7b946a2 - Update eu_ES, thanks to bixerdo (2017-05-01 10:49:02 +0200)
* c3cf827 - Update eu_ES, thanks to bixerdo (2017-05-01 10:48:53 +0200)
* bea4b3f - Update eu_ES, thanks to bixerdo (2017-05-01 10:48:44 +0200)
* 224983d - Update ro_RO, thanks to norboo (2017-05-01 10:48:26 +0200)
* 67a8eeb - Update sl_SI, thanks to MarkoAm (2017-04-28 20:31:13 +0200)
* d21835a - Update sl_SI, thanks to MarkoAm (2017-04-28 20:31:04 +0200)
* 6705c6c - Update zh_CN, thanks to quqibing (2017-04-28 20:30:51 +0200)
* d35f6bf - Update ca_ES, thanks to josep.torne (2017-04-28 20:30:42 +0200)
* 13c51d3 - Update km_KH, thanks to osify (2017-04-28 06:04:25 +0200)
* 2a4a4cd - Update km_KH, thanks to osify (2017-04-28 06:04:14 +0200)
* 928773b - Update ro_RO, thanks to enels (2017-04-28 06:04:06 +0200)
2.9.1
2017-06-15 13:44:28 +02:00
plegall
c6c6305302
(cp 346f5c3) fixes #707 , hide decimal for "158.0 pages seen"
2017-06-14 19:44:28 +02:00
plegall
5d281a4ff5
(cp bbb9c5e) issue #706 , force redirection within Piwigo
2017-06-14 19:04:17 +02:00
plegall
9539abeb59
(cp 4b9b785) issue #706 , check the redirect is within Piwigo
2017-06-14 19:03:19 +02:00
plegall
42920897ce
(cp 6ce14fc) fixes #705 , check user_list_backend.php input params
2017-06-13 12:32:49 +02:00
plegall
10700c8739
next version is 2.9.1
2017-06-12 14:37:44 +02:00
plegall
61a25ceb3b
(cp e0b7c1d) fixes #701 , use the appropriate site_id instead of 1
...
When coming from the album edit page with the action link to synchronization
2017-06-12 14:32:14 +02:00
plegall
6692f5efc3
(cp 4581f3e) fixes #693 , pclzip compatibility with PHP 7.1
2017-06-12 13:51:26 +02:00
plegall
1b22d08a80
(cp 4310fe7) fixes #667 , check $_GET['page'] to avoid XSS
...
This can be an issue only on Internet Explorer
2017-06-12 11:38:00 +02:00
plegall
c1e8f6f758
(cp 3ae62ce) fixes #699 , make sure $_GET['tab'] does not include unexpected chars
2017-06-02 10:12:00 +02:00