Commit Graph

1862 Commits

Author SHA1 Message Date
plegall
e43d48f296 Merge branch '2.8' 2016-11-21 15:22:27 +01:00
plegall
906f8d57b8 fixes #306, operator precedence issue in load_language 2016-11-21 15:20:36 +01:00
Marc Poulhiès
e35a560759 fix single_insert when a field is null (#477)
fix #449

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-11-17 14:26:46 +01:00
Marc Poulhiès
9b9ec600ea fix single_insert when a field is null (#477)
fix #449

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-11-17 14:20:50 +01:00
plegall
dde2426bbf Merge branch '2.8' 2016-11-17 14:14:16 +01:00
plegall
9a93d1f44b fixes #548, escape HTML chars from search expression
before sending them to HTML comment on frontend
2016-11-17 14:10:27 +01:00
plegall
b3157cbfd8 fixes #547, strong checks on url format 2016-11-17 13:43:40 +01:00
plegall
a9fa61adfe Merge branch '2.8' 2016-10-20 10:43:41 +02:00
plegall
25d2305839 fixes #542, do not always use browser language on register 2016-10-20 10:14:28 +02:00
Matthew Petroff
7fcfc33d04 Fix typos in default config file comments. (#540) 2016-10-15 11:12:08 +02:00
plegall
4e24768989 fixes #533, add a "messages" box (blue colorscheme) 2016-10-06 11:46:42 +02:00
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