plegall
466f77021e
(cp 0530a64) fixes #1222 define calendar constants in calendar_base.class
...
So that we can include both calendar_weekly and calendar_monthly in the same script.
2020-09-11 10:38:11 +02:00
plegall
27e75c39cf
(cp 40182f7) fixes #1120 check installed theme on its identifier (=directory name), not on its display name
2020-04-30 11:34:55 +02:00
plegall
ed487e4b24
next version is 2.10.2
2020-03-26 19:50:36 +01:00
plegall
5f2bed13b6
(cp f9edbd3) PHP 7.4 fixes
2020-03-25 14:57:36 +01:00
plegall
6104b0ef41
(cp 8a5a2d9) Revert "Fix PHP-7.4 Issue "
...
This reverts commit ea25f5b3a4 .
2020-03-25 14:57:01 +01:00
plegall
d28cc8eba2
(cp cf38caf) fixes #1119 keep the ability to reset password when there is no photo yet
2020-03-24 15:18:38 +01:00
plegall
078cd7308e
fixes #1168 prevent XSS on pwg.images.setInfo
2020-03-24 14:06:00 +01:00
plegall
cb93551d84
(cp 6ac6db0) issue #1150 also protect groupe name on API methods
2020-02-07 17:17:38 +01:00
plegall
f78b10d1be
(cp ea25f5b) Fix PHP-7.4 Issue
...
PHP-7.4 Issue = "Trying to access array offset on value of type null" in functions_category.inc.php
2020-02-07 15:09:17 +01:00
plegall
6a8104b92b
(cp f62ee77) Fix count() warning
...
In PHP 7.2 and later you will get a warning if you call count() on null. So either initialize $errors to an empty array here, or use empty() to check it as I have done here.
2019-12-16 10:51:51 +01:00
plegall
0d9bc4da7d
(cp 8573e35) include/functions_cookie: use proper brackets for offset access
...
Fixes #1134
2019-12-04 10:42:07 +01:00
plegall
6d0d335200
(cp 41b4230) fixes #1102 limit the number of tags shown in the menubar
2019-10-15 16:03:19 +02:00
plegall
181c85699c
next version is 2.10.1
2019-10-14 15:26:30 +02:00
plegall
5cbe5aadd9
(cp 9b695da)(cp 15d8a19) fixes #988 no more warning on PHP 7.3
...
This fix was initially only for branch 2.9, and branch master should have
received a new version of jshrink, but I forgot to do it before 2.10 and now
we have a regression in 2.10. This commit will be cherry-picked to 2.10 and
we also have it on master so that we don't have a new regression in 2.11 (in
case jshrink is not properly updated)
2019-10-14 12:35:09 +02:00
plegall
d8e2e52e88
(cp ac5d00e) fixes #1098 make checksum computation block size configurable, and smaller by default
2019-10-14 12:23:40 +02:00
plegall
7223594dbc
(cp a58d87e) change default configuration settings for a stable branch.
...
Developers who need previous configuration settings can modify them in their local configuration
2019-10-08 12:31:16 +02:00
plegall
8fe4305d35
during upgrade, use the new default Piwigo theme (modus) instead of hardcoded "elegant"
...
... and make sure the default Piwigo theme is active before that.
2019-10-08 12:23:54 +02:00
plegall
087284eafc
next version is 2.10.0
2019-10-07 16:07:57 +02:00
plegall
fa8996e10f
issue #1073 prevents from making uploaded file executable
...
* for the name of the file in buffer directory, do not use the name given by the user, but the md5 of the name without extension
* function add_uploaded_file deletes uploaded file if not expected
2019-09-20 16:26:21 +02:00
plegall
5b65fca36c
fixes #1068 escape the rank new MySQL 8 reserved word
...
This time, we do it right before sending the query to MySQL, in the pwg_query
function. This is not optimal, because we add extra processing, useless most
of the time. This solution has less impact on code, and automatically work for
all core and plugins SQL queries.
2019-08-30 12:11:47 +02:00
plegall
18460716e3
next release is 2.10.0RC1
2019-08-19 15:16:55 +02:00
Sam Wilson
7b6912ba98
Use default theme if loaded one is not found
...
When loading a user's theme, make sure it's installed. Also, when
determining the default theme, account for the situation in which
zero themes are installed (and use 'default' then).
Refs #1061
2019-08-14 12:18:45 +02:00
plegall
63bbba8e36
fixes #1060 always escape table/column names in advanced database functions
...
which are single_insert, single_update, mass_inserts and mass_updates. The new function
protect_column_name simply surrounds the name with backticks, if needed.
2019-08-13 16:44:54 +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
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
plegall
b101869417
update release to 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
3999bff326
fixes #1042 set Modus as default theme
2019-06-28 11:21:18 +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
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +02:00
plegall
305e9c914a
update version
2019-06-04 11:35:47 +02:00
Yann Le Boudec
9891c79f25
issue #1019 photo upload redesign
...
Based on Samuel's mockup.
2019-05-22 16:49:35 +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
1646f5e631
fixes #998 temporary fix for Piwigo Remote Sync compatibility
2019-04-02 11:33:27 +02:00
plegall
940d1d2e8c
issue #552
...
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284
issue #552 new table activity and log add/edit/delete on albums
2019-03-25 16:50:45 +01:00
Teatek
61b7974a8d
ability to set album order with web API
...
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00
Teatek
f308af3e46
fixes #855 trigger on group deletion
...
* adding trigger (admin screen)
* adding trigger (API)
* update trigger list
2019-02-11 14:02:30 +01:00
Teatek
1907e678b8
Fixes #273 (Add ui option to display or not the date of an album)
2019-02-04 10:46:16 +01:00
Teatek
743d31c9e0
Fixes #863 Allow delete representative for empty albums
2019-02-01 16:38:47 +01:00
Teatek
b8d6f01b38
fixes #966 progression bar for sync metadata
...
* [Batch Manager] adding progression bar for metadata sync action
* [Batch Manager] display the number of synchronized photos in the success message
2019-01-27 17:16:13 +01:00
Teatek
beec234478
fixes #958 : protect fields before copying properties from default user to new user
2019-01-27 16:52:15 +01:00
Teatek
b05241f508
Fixes #272 missing md5sum
...
* dashboard: add warning if missing checksums
* add a "compute all missing md5sum" option in batch manager (inspired by delete orphans)
* progress bar when computing md5sums
2019-01-22 10:26:52 +01:00
Julien Samson
29f938acba
display login page if there is no images at the tag (URL)
2019-01-16 15:23:51 +01:00
Akimitsu [Bm]
f2834925bb
Fix syntax error
2018-07-12 15:01:32 +02:00
plegall
b1cb4e48c0
due to changes for compatibility with PHP 7.2, Piwigo now requires PHP 5.3
2018-07-12 11:20:53 +02:00
Rob Lensen
144a970a6b
Fix for Cssmin with php7.2 and higher
2018-07-12 11:00:59 +02:00