plegall
4b33001c15
fixes #1902 ability to set a specific group to notify user registrations
2023-04-22 17:21:29 +02:00
Matthieu Leproux
32ea1aef53
fixed #1802 fixed double escape for user creation, album creation and comments
2022-11-22 16:01:43 +01:00
Matthieu Leproux
f7e44cc14e
related to #1767 changed the way 9d5cba0
is done
2022-10-26 12:53:35 +02:00
Matthieu Leproux
9d5cba0096
fix #1767 Solved php warning and user creation works as is should
2022-10-25 10:05:23 +02:00
Arnie97
9b22164adc
fixes #680 , #875 and #1028 : improve detection for browser preferred languages
2022-09-21 16:43:05 +02:00
plegall
c2f8238e16
issue #1640 user preferences
2022-03-31 18:16:23 +02:00
plegall
444c653878
fixes #1368 user with "guest" status get refused connection
2021-05-05 17:03:19 +02:00
plegall
7d7943b3ed
fixes #1275 delete password reset key when email address is changed
2020-12-22 15:04:30 +01:00
Maxime BOURMAUD
32ff00caec
Feature#765 now it's possible to login with your email address ( #770 )
...
First we check for the username, if not found we check among email addresses.
2020-09-30 10:51:29 +02:00
plegall
40182f7774
fixes #1120 check installed theme on its identifier (=directory name), not on its display name
2020-04-30 11:32:52 +02:00
Sam
10962c9208
Fix version comparison for session ID regen ( #1178 )
...
session_regenerate_id : as planned back in 2016, remove PHP version check entirely.
... and let's see if it still is a problem on recent PHP versions.
2020-04-23 12:51:35 +02:00
Rasmus Lerdorf
f62ee77852
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:50:14 +01: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
c1eecab364
fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8
2019-06-28 18:07:53 +02:00
plegall
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +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
Teatek
beec234478
fixes #958 : protect fields before copying properties from default user to new user
2019-01-27 16:52:15 +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
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
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
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
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
plg
f04e4d8b4f
bug #408 fixed, no session_regenerate_id on early PHP 7 versions
2016-01-27 15:36:00 +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
f2f9e5ecb7
feature #392 , authentication keys, history log
...
When a user successfully performs an authentication with an auth_key, Piwigo
registers it in the history table.
For now, it is not shown/searchable in the history screen, but we can add it
in the future and we can provide a plugin with specific details about
authentication keys usage.
2016-01-04 15:04:02 +01:00
plegall
f4040a5a3a
forgotten to give user_status on recursive call in create_user_auth_key, bug detected by @mistic100
2016-01-01 20:37:33 +01:00
plegall
4aeedb5a2e
feature #392 , authentication keys, album notification
...
* On album notification (for a group), sends one distinct email for each user
with a new authentication key.
* When someone clicks the link with auth=<key> in URL, if the user is not
already connected, Piwigo will automatically connect the user.
2015-12-31 19:59:08 +01:00
plegall
e520cf8389
merge r31167 from branch 2.7 to trunk
...
bug 3223 fixed: make sure we have found a user before validating the connection
git-svn-id: http://piwigo.org/svn/trunk@31168 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-15 12:45:50 +00:00
plegall
18f045bf35
bug 3111: cleaner code for get_browser_language (no more reference as parameter)
...
git-svn-id: http://piwigo.org/svn/trunk@29840 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-30 08:23:34 +00:00
plegall
7e5722ce78
bug 3111: add comment to help understand the code
...
git-svn-id: http://piwigo.org/svn/trunk@29839 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-29 20:55:00 +00:00
plegall
3ef5464b26
bug fixed: register_user can be called with no ['mail_address']
...
git-svn-id: http://piwigo.org/svn/trunk@29759 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-23 08:37:16 +00:00
plegall
87a30ff064
bug 3050: increase security on reset password algorithm.
...
* reset key has a 1-hour life
* reset key is automatically deleted once used
* reset key is stored as a hash
Thank you effigies for code suggestions
git-svn-id: http://piwigo.org/svn/trunk@29111 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-28 19:27:50 +00:00
plegall
b97fcf2a22
feature 3105: display the link to Piwigo in connection settings notification email (option on register)
...
git-svn-id: http://piwigo.org/svn/trunk@29075 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-25 12:40:34 +00:00
rvelices
3c13387dfd
since number of accepted args not required for add_event_handler, simplify calls
...
git-svn-id: http://piwigo.org/svn/trunk@28714 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-18 19:51:42 +00:00
mistic100
4bd32005b5
feature 3010 : replace trigger_action/event by trigger_notify/change
...
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
656ac54090
more query2array and remove unnecessary tests in often called url functions
...
git-svn-id: http://piwigo.org/svn/trunk@27388 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-16 07:39:19 +00:00
mistic100
922de9a63d
remove PHP < 5.2 code
...
git-svn-id: http://piwigo.org/svn/trunk@27158 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-04 11:02:38 +00:00
mistic100
636650309a
Update headers to 2014. Happy new year!!
...
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
6e91ec554c
feature 1668: escape login and password in registration email
...
git-svn-id: http://piwigo.org/svn/trunk@26028 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-18 19:59:30 +00:00
mistic100
45afbb48fb
remove is_adviser() and get_email_address_as_display_text()
...
git-svn-id: http://piwigo.org/svn/trunk@25729 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-26 20:54:07 +00:00
mistic100
79f0a80f33
feature 2999: documentation of functions_user.inc.php (move two functions to functions_category.inc.php)
...
git-svn-id: http://piwigo.org/svn/trunk@25728 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-26 20:48:08 +00:00
patdenice
e32dbb77be
Small bug on password hash verification with strpos function
...
git-svn-id: http://piwigo.org/svn/trunk@25633 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-21 22:23:59 +00:00
mistic100
fc3b787b70
feature 2995: New email template
...
restore get_l10n_args removed at r25357
apply changes to NBM
git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 17:57:53 +00:00
mistic100
7a5e31e401
feature 2995: New email template
...
rewrite pwg_mail_group() and pwg_mail_notification_admins()
new function pwg_mail_admins()
add complete template management in pwg_mail()
TODO : font-size problem in Thunderbird
git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 15:43:41 +00:00
plegall
df6718f3f8
feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX)
...
Move the "send connection settings" code to function register_user (avoid code duplication).
git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 12:54:46 +00:00