Commit Graph

38 Commits

Author SHA1 Message Date
Aleksander Machniak
8cf8a47381 new_user_identity: Make sure email_list includes the main user email (#7085) 2021-02-21 10:20:52 +01:00
Aleksander Machniak
b7ac23ea5d new_user_identity: Fix missing password for user-specific LDAP operations (#7667) 2021-02-07 09:55:41 +01:00
Aleksander Machniak
3bbb01fe13 PHP8 fixes, regression fixes 2020-12-13 12:14:15 +01:00
Aleksander Machniak
f4ed1024dc PHP8 fixes, CS fixes, short array syntax, tests 2020-12-02 20:15:00 +01:00
Jacques Belin
8ad73423d4 Plugin API: Added 'preferences' parameter to 'user_create' hook (#7692) 2020-11-21 09:05:59 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
a5c2b4360c Fixes in context of undefined variables, and code style 2020-08-15 12:13:31 +02:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
641a67fe75 Elastic: Fix unintentional layout preference overwrite (#6613)
This is actually skin-independent mechanism that prevents overwriting
of skin-specific preferences by ajax requests (that until now were
not aware of skin config).
2019-02-08 11:19:09 +01:00
Aleksander Machniak
55e99398e1 Fix possible information leak - add more strict sql error check on user creation (#6125) 2018-01-11 16:13:13 +01:00
Aleksander Machniak
76170baac0 Fix bug where it wasn't possible to set timezone to auto-detected value (#5782) 2017-06-03 19:00:00 +02:00
Aleksander Machniak
d1cf69562f CS fixes and return values fixes 2017-04-27 09:58:11 +02:00
Aleksander Machniak
e160e48069 Fix undesired effects when postgres database uses different timezone than PHP host (#5708)
Allow passing DateTime variables as query arguments. Their value will
be converted to date/time input string in format specific to the database type
(with timezone on postgres).
2017-04-03 12:06:23 +02:00
Aleksander Machniak
dfd19206a4 sizeof() -> count() 2017-02-06 13:49:29 +01:00
Aleksander Machniak
9e129383a1 Improve randomness of password salts and random hashes (#5266) 2016-10-01 08:23:19 +02:00
Aleksander Machniak
a15d877ba8 Added brute-force attack prevention via login rate limit (#1490566) 2015-11-11 18:53:43 +01:00
Aleksander Machniak
26a00e76be Fix race-condition in saving user preferences and loading plugin config (#1490431) 2015-06-16 11:39:55 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
0c08b04778 Fix issues when using moduserprefs.sh without --user argument (#1490399) 2015-05-21 10:19:46 +02:00
Thomas Bruederli
e2fb340289 Remove obsolete mt_srand() calls 2015-03-12 09:59:47 +01:00
Thomas Bruederli
a74d023903 Generate random hash for the per-user local storage prefix (#1490279); only unserialize user prefs once 2015-03-12 09:48:32 +01:00
Aleksander Machniak
692011df7f Extend list_emails() to optionally return only default identity 2014-11-27 06:24:42 -05:00
Aleksander Machniak
2f46789081 Added rcube_user::list_emails() method with better performance than list_identities()
which should be used always if we want only all user email addresses (with names)
2014-11-27 10:08:55 +01:00
Aleksander Machniak
83a64265a7 Fixes for Oracle 2014-09-15 11:37:42 +02:00
Aleksander Machniak
34a0902089 Use consistent column/table quoting in sql queries 2014-09-12 14:37:51 +02:00
Aleksander Machniak
54185837c8 Make identity name field optional (#1489510)
Get rid of unhelpful error message.
2014-04-28 09:38:07 +02:00
Thomas Bruederli
e59471fcb9 Make sure prefs always is a valid array (otherwise causes fatal errors if language if not set) 2014-01-07 09:48:55 +01:00
Aleksander Machniak
51fe045a04 Fix deprecated function usage 2013-11-18 11:08:20 +01:00
Thomas Bruederli
85e60ada15 First version of the local storage compose data saving feature; some behavioral improvements and encrytion are still to be added 2013-11-10 14:04:33 +01:00
Thomas Bruederli
4f432f880a Make result of rcmail::get_compose_responses() always an (indexed) array; add plugin hook for updating user prefs: 'preferences_update' 2013-09-04 12:07:58 +02:00
Aleksander Machniak
1d67fe13f6 Remove (move to bc.php) unused strip_newlines() and strip_quotes() functions 2013-05-29 09:42:12 +02:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Aleksander Machniak
7c5d4b0d4d Fix typo in identity data parser ('ident' item wasn't set correctly) 2012-12-07 14:54:35 +01:00
Aleksander Machniak
0247b89c38 Move code for identity selection to function, move identities formatting to rcube_user::list_identities() 2012-11-28 20:40:07 +01:00
Aleksander Machniak
789e5988aa Clarify rcube::get_user_name() usage, add rcube::get_user_email() 2012-11-26 10:08:40 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00