Commit Graph

10286 Commits

Author SHA1 Message Date
plegall 91349065ea fixes #1010 prevent from SQL injection with user input check 2019-08-12 16:24:27 +02:00
plegall fccb6caa75 fixes #1012 prevent SQL injection with a check on user input 2019-08-12 14:52:56 +02:00
plegall 4932bc502b fixes #1009 check group_selection parameter to be only an array of ids 2019-08-12 14:25:56 +02:00
plegall 776f8fa186 fixes #1058 prevent CSRF on notification by mail, with a pwg_token
also added some checks to NBM parameters to avoid XSS (minor issue)
2019-08-12 12:31:24 +02:00
plegall fdcb6f50f6 fixes #1055 prevents XSS on original resize fields 2019-08-09 15:52:04 +02:00
plegall bc0b49cdad fixes #1053 add themes {modus, elegant, smartpocket} in release build 2019-08-06 18:20:29 +02:00
plegall 54154eb834 fixes #1052 separate themes from Piwigo core repository
* Sylvia : https://github.com/Piwigo/piwigo-Sylvia
* elegant : https://github.com/Piwigo/piwigo-elegant
* smartpocket : https://github.com/Piwigo/piwigo-smartpocket
* dark : https://github.com/Piwigo/piwigo-dark
* clear : https://github.com/Piwigo/piwigo-clear
2019-08-06 17:52:04 +02:00
plegall 292b414d25 remove shadow on album creation button for empty gallery 2019-07-19 14:27:50 +02:00
plegall 2842934633 fixes #899 API methods to manage user favorite photos
* rename methods to pwg.users.favorites.getList + pwg.users.favorites.add + pwg.users.favorites.remove (better for alpha ordered listing)
* simplify method ws_users_favorites_getList to only work with current user
* use the new option "ignore" on single_insert
2019-07-17 15:48:06 +02:00
Sam Wilson 05fb7aafd4 Order by the field(s) used to find duplicates
When searching for duplicates, also sort the results by the
fields used to find the duplicates.
2019-07-17 15:22:53 +02:00
plegall 551457f2b6 fixes #1051 ability to insert ignore on single_insert 2019-07-17 11:15:59 +02:00
Dave Anderson 1d113c002b API call to add/remove favorites (#810)
add API methods pwg.users.addFavorite and pwg.users.removeFavorite
2019-07-15 16:58:23 +02:00
Dave Anderson d406a12d45 API call to fetch user favorites (#582)
* new api call to get user favorites
2019-07-15 16:04:52 +02:00
Wei-Chung Wen ad6e96b82c Fixes #1004 Error using Piwigo from Android with smartpocket theme
Using SmartPocket theme in Android 9's Chrome gives this error:

"Uncaught TypeError: Cannot read property 'toString' of null"

The error is caused by the following code

e.navigator.userAgent.match(/Android (\d+.\d+)/)

because the userAgent set by Chrome in Android 9 reads:

"Mozilla/5.0 (Linux; Android 9; H4133) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36"

Signed-off-by: Wei-Chung Wen <morisato3711@gmail.com>
2019-07-12 13:52:29 +02:00
plegall 4ae0f46bae fixes #1049 update applications, new screenshots and hide ReGalAndroid 2019-07-11 14:54:34 +02:00
plegall b101869417 update release to 2.10.0beta2 2.10.0beta2 2019-07-04 11:22:09 +02:00
plegall c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
plegall 0ef2193471 fixes #93 automatically hide the newsletter link when clicked 2019-06-28 14:45:05 +02:00
plegall 3999bff326 fixes #1042 set Modus as default theme 2019-06-28 11:21:18 +02:00
plegall 5436c48ead fixes #1041 no longer activate TakeATour by default 2019-06-28 10:35:43 +02:00
plegall 22f3e679ee fixes #1040 move check upgrade action to maintenance page 2019-06-27 19:09:40 +02:00
Sam Wilson 8e9cb6de23 Quote 'rank' field name in SQL
Add backticks to reserved word 'rank' in SQL queries.

Bug: GH #919
2019-06-27 17:50:59 +02:00
plegall af85a62199 fixes #1038 deactivate user comments by default 2019-06-26 16:05:42 +02:00
plegall 4195572563 fixes #904 avoid warnings on PHP 7.2+ with PHPMailer (without updating PHPMailer) 2019-06-21 15:02:02 +02:00
plegall 46781c191a issue #1031 no background on album path 2019-06-20 16:44:18 +02:00
plegall 9bc9bae2cc fixes #1035 translate the visit link 2019-06-20 14:55:23 +02:00
plegall 9e629a2369 issue #1031 album manager, move breadcrumbs outside page title 2019-06-11 16:38:49 +02:00
plegall f21da2c947 issue #830 forgot to replace Matomo (used as template) by Piwigo 2019-06-04 17:17:30 +02:00
plegall fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall c773f655cc issue #830 add a global COPYING file with copyright/license/trademark infos 2019-06-04 16:41:33 +02:00
plegall 2829f1a4ea fixes #1029 only keep new logo 2019-06-04 14:51:01 +02:00
plegall 305e9c914a update version 2.10.0beta1 2019-06-04 11:35:47 +02:00
plegall 5f0c429d2b issue #987 change a:hover to new orange 2019-05-31 12:08:58 +02:00
plegall 63ca304ff4 issue #1019 missing l10n 2019-05-31 11:26:25 +02:00
plegall b150774bc9 issue #1019 do not display album selection if coming from a "add photos to album" link 2019-05-28 16:08:11 +02:00
plegall 242b734d8f issue #1019 slightly move up welcome box 2019-05-28 16:06:57 +02:00
plegall 99351c5898 issue #987 replace H2 by H1 only if H2 is available 2019-05-28 16:06:00 +02:00
plegall 692120cd07 issue #987 set a title on pages 2019-05-28 16:05:09 +02:00
plegall fafa0dd7ae issue #1014 no more link on album name, a big button does the same job 2019-05-28 15:58:16 +02:00
Yann Le Boudec 038a42dd46 issue #1019 photo upload redesign
* Hide album selection after creation
* Correctly center the welcome box
* Better alignment for select files info
* Remove summary for select files info, always display details
* Fix dynamic margins in album popin
* Simplify show/hide blocks when no album available
* Make file selection button secondary when files added to queue
2019-05-28 15:00:03 +02:00
Yann Le Boudec f5f555e1f2 issue #1019 photo upload redesign, new language strings 2019-05-22 16:49:35 +02:00
Yann Le Boudec 079b6fcb9a issue #1019 photo upload redesign, minor changes 2019-05-22 16:49:35 +02:00
Yann Le Boudec 9891c79f25 issue #1019 photo upload redesign
Based on Samuel's mockup.
2019-05-22 16:49:35 +02:00
Yann Le Boudec c9715d255d issue #1014 album manager redesign 2019-05-09 14:03:33 +02:00
Yann Le Boudec 10eacfb44d Add icons
th1 flow-tree sort-alt-up sort-alt-down
2019-05-09 14:03:33 +02:00
plegall f3cc541208 issue #1002 dashboard redesign, colors for big icons 2019-04-12 15:31:53 +02:00
plegall c202897a72 issue #552 change activity.occured_on to TIMESTAMP instead of DATETIME to make it work on old MySQL versions 2019-04-10 16:49:03 +02:00
plegall dc40d1956e fixes #945 pwg_log automatically creates a new history.section in the enum, when needed 2019-04-02 16:04:01 +02:00
Peter Stimpel 16abd1af28 solves issue 945, if plugin developers add their own sections, Piwigo tries to put them into history table. Since the section column is an enum, php issued a warning. 2019-04-02 14:53:11 +02:00
plegall ab46632a32 Revert "Include pwg_token in user list POST request (Fixes #748) (#866)"
This reverts commit 65ac272179.
2019-04-02 14:06:54 +02:00