Commit graph

1851 commits

Author SHA1 Message Date
plegall
843ccb89c1 Merge branch '2.8' 2016-08-29 14:15:12 +02:00
plegall
a09d6e0623 Merge branch 'bug/376-mysql-5.7-order_by' into 2.8 2016-08-29 14:14:35 +02:00
plegall
10da5801ef next version is 2.8.3 2016-08-29 13:55:03 +02:00
plegall
78bf53f45a typo fixed in comment 2016-07-26 16:02:01 +02:00
plegall
b87094ac2f fixes #376, remove option ONLY_FULL_GROUP_BY in sql_mode
based on solution provided by Mercury_LABBS on piwigo.org forums
2016-07-26 15:54:22 +02:00
plegall
374f341d0b next release is 2.8.2 2016-07-07 18:27:11 +02:00
plegall
ee737aeed7 Merge branch '2.8' 2016-07-07 18:22:22 +02:00
plegall
1f0e95c22c bug #476, set http code to 401 only when not redirecting 2016-07-05 12:17:28 +02:00
plegall
724befb35d feature #478, improve performances
By reducing frequency of update on user_infos.last_visit. Instead of updating
on each page visit, we wait at least a session length, which is 30 minutes by
default.

@modus75 suggested to use function log_user instead, which is a better design.
Unfortunately it would lead to much less accuracy, because on many systems PHP
sessions are never purged (Debian with default settings). It would be possible
to come back everyday and never update the last_visit, as long as the web
browser is not closed.
2016-07-04 15:47:02 +02:00
plegall
4560e2d824 fixes #478, add new column user_infos.last_visit
This will speed up user edit popin opening, by avoiding to search in history for the last user visit.

The column user_infos.last_visit_from_history true/false says if the last_visit has already been search in history (to avoid making it twice). I could have implemented the search of last_visit for all users in the migration task 149 but in case of many users and long history, it would have taken years to execute...
2016-05-31 16:00:03 +02:00
plegall
db0e02b5d4 fixes #476, in case of guest_access=false, redirect_http instead of redirect_html 2016-05-30 10:53:29 +02:00
plegall
bd0d2ae645 Merge branch '2.8' 2016-05-13 11:05:15 +02:00
plegall
bf81ba0315 fixes #479, fallback on srand.php to generate random bytes
when random_compat does not find a suitable random generator.

srand.php comes from https://github.com/GeorgeArgyros/Secure-random-bytes-in-PHP
2016-05-13 10:25:03 +02:00
plegall
7ea9cf9075 Merge branch '2.8' 2016-05-02 13:09:12 +02:00
plegall
f51ee90c66 bug #470, use a dedicated lib to generate random bytes 2016-04-26 11:07:44 +02:00
plegall
97f5d13ff3 Merge branch '2.8' 2016-03-24 09:54:45 +01:00
plegall
c9c10bd524 fixes #442, forgot to include admin functions 2016-03-24 09:52:40 +01:00
plegall
9f15161b62 next version is 2.8.1 2016-03-10 20:41:30 +01:00
mistic100
eb1fb63128 Fix #436 Call to undefined method Logger::warning in i.php
Change log_lvl for release branch
2016-03-10 19:33:57 +01:00
plegall
4f60f4508c next version on master is 2.9.0beta1 2016-03-08 15:41:06 +01:00
plegall
507c932db9 next version is 2.8.0 2016-03-08 15:32:30 +01:00
plegall
d72e8256a1 change default configuration settings for a stable branch. Developers who need previous configuration settings can modify them in their local configuration
git cherry-pick 39d3c6883b
2016-03-08 15:31:07 +01:00
plegall
bbe117080d feature #321, set status with pwg.categories.setInfos 2016-02-23 15:58:31 +01:00
plegall
e936d291eb feature #321, pwg.categories.getList returns status 2016-02-23 15:35:49 +01:00
plegall
1fe2631774 fixes #290, avoid error on MySQL insert with ipv6 2016-02-16 14:56:32 +01:00
plegall
a9a17a27cb feature #295, proxy support for fetchRemote 2016-02-15 15:02:16 +01:00
plegall
8897e75fc2 feature #355, OR with other "search by word" results
+ use $logger instead of old style "echo" for debugging
2016-02-13 19:31:26 +01:00
plegall
713bc49746 feature #355, apply search by word on tags
we "simulate" a search by tag, but we still perform a "search by words" AND "search by tags", which lead to different result compared to "word on title OR file OR description OR tags"
2016-02-13 18:36:55 +01:00
plegall
bfb8b0b0fd bug #383, fix the bug in dedicated function as well 2016-02-13 15:30:55 +01:00
plegall
c451470ad4 typo fixed 2016-02-12 20:22:20 +01:00
plegall
fbd90fa460 fixes #414, deactivate auth keys on password change 2016-02-12 20:20:12 +01:00
plegall
25edfc2663 feature #383, dedicated function to delete sessions 2016-02-12 17:44:27 +01:00
plegall
6290be46f2 fixes #419, an admin can't change webmaster password 2016-02-12 14:56:00 +01:00
plg
08fe998dd1 session_regenerate_id() still fails with PHP 7.0.3
fix indentation
2016-02-10 15:19:40 +01:00
Nicolas
0909717c37 if php version is less than 7.0.3 and session_id exists do nothing 2016-02-10 12:37:12 +01:00
plegall
6af4590f01 fixes #410, add param thumbnail_size to pwg.categories.getList 2016-02-03 10:21:36 +01:00
plegall
c4b7977a42 next version is 2.8.0RC2 2016-02-01 10:52:07 +01:00
plegall
2fcf276811 fixes #413, force log in with auth key user 2016-02-01 10:05:33 +01:00
plegall
a12425629e fixes #412, warn visitor if auth key no longer valid 2016-01-29 12:44:38 +01:00
plegall
bc7316639f fixes #349, API set ranks of all album photos at once
on pwg.images.setRank, ability to provide a list of image_id (and no rank).
This way you can set the order of all photos of a given album, at once.
2016-01-28 16:03:39 +01:00
plg
f04e4d8b4f bug #408 fixed, no session_regenerate_id on early PHP 7 versions 2016-01-27 15:36:00 +01:00
plegall
74dd9b88ed Merge branch 'bug/405-css-emails' 2016-01-26 15:03:10 +01:00
modus75
69cdcf2316 fix change in smarty class name new version 2016-01-23 23:00:39 +01:00
plegall
727b9827af Revert "bug #405 fixed, embed CSS style inline"
This reverts commit f3cb99ea09.
2016-01-22 21:57:24 +01:00
plegall
f3cb99ea09 bug #405 fixed, embed CSS style inline
emogrifier could not work, unless we reapply changes introduced by @mistic100 in earlier commits 9cc816d364 and efbc08e537
2016-01-21 15:14:37 +01:00
plegall
968e9ff06d changes on Smarty side breaks all prefilter in Piwigo
It would be better to modify the way template.class.php registers prefilters
but I didn't find the appropriate data structure.
2016-01-21 15:11:32 +01:00
plegall
d33051cb72 update to Smarty 3.1.29 2016-01-21 15:10:02 +01:00
modus75
4bf51fc8e0 shorten some code (not really important) 2016-01-16 17:20:43 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
c79cb18e44 Merge branch 'feature/293-trigger-upload' 2016-01-14 11:23:45 +01:00