Aleksander Machniak
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
Aleksander Machniak
0d4a395464
Fix PHP 8.1 deprecation warnings
2021-07-31 07:53:14 +02:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
Aleksander Machniak
3bbb01fe13
PHP8 fixes, regression fixes
2020-12-13 12:14:15 +01:00
Aleksander Machniak
8eb382b4ca
PHP8 fixes
2020-12-11 20:29:41 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
e2572b8984
PHP8 compat. fixes, added some tests
2020-11-02 08:55:42 +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
bde383d051
PHP8: Fix various issues
...
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
a5c2b4360c
Fixes in context of undefined variables, and code style
2020-08-15 12:13:31 +02:00
Aleksander Machniak
d445f8ad12
Fix importing birthday dates from Gmail vCards (BDAY:YYYYMMDD)
2020-08-12 11:25:44 +02:00
Aleksander Machniak
1afa46d28d
PHPDoc and CS fixes
2019-08-25 14:15:09 +02:00
Aleksander Machniak
fe90903fa1
Fix bug in parsing vCard data using PHP 7.3 due to an invalid regexp ( #6744 )
...
Looks like \R is not allowed in character class, but \r\n is fine.
On PHP 7.3.5 it throws warnings and empty result from preg_replace(),
though I couldn't reproduce.
2019-05-10 21:08:18 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
69080457b1
Code simplification
2019-04-15 13:01:14 +02:00
Aleksander Machniak
881b344fba
Fix regression in vcard parser
2018-12-29 14:41:57 +01:00
Aleksander Machniak
7a49b48dc1
Fix handling of empty entries in vCard import ( #6564 )
2018-12-21 13:21:16 +01:00
Aleksander Machniak
24e3977d74
Fix invalid regular expressions that throw warnings on PHP 7.3 ( #6398 )
2018-08-19 08:59:45 +02:00
Aleksander Machniak
ee6b5e9e58
Fix PHP 7.2 error: count(): Parameter must be an array or an object that implements Countable
2017-09-16 12:52:44 +02:00
Aleksander Machniak
81f67a4de2
Don't use each() deprecated in PHP 7.2
2017-02-06 15:46:18 +01:00
Aleksander Machniak
348ec70f12
Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426
2016-03-15 15:18:09 +01:00
Aleksander Machniak
7e3298753a
Use ternary operator where aplicable
2015-11-14 10:08:07 +01:00
Thomas B.
cf69daf896
Merge pull request #288 from ThijsFeryn/fnnonempty
...
Emptying the display name when the display name is the main e-mail ad…
2015-08-09 17:12:02 +02:00
ThijsFeryn
58f6f19505
Emptying the display name when the display name is the main e-mail address contradicts lines 731 till 734
2015-07-27 14:38:08 +02:00
Aleksander Machniak
a958748947
CS fixes
2015-06-07 15:26:33 +02:00
Aleksander Machniak
bd82526e41
Fix missing or not up-to-date CATEGORIES entry in vCard export ( #1490277 )
2015-02-22 10:43:48 +01:00
Aleksander Machniak
9e4246d957
Code improvements and fixes (mostly unused variables and methods)
2014-11-16 14:04:53 +01:00
Aleksander Machniak
fcb7d4fc03
Fix various iCloud vCard issues, added fallback for external photos ( #1489993 )
2014-08-01 12:49:37 +02:00
Aleksander Machniak
b231c8f6ac
Fix images import from various vCard formats ( #1489977 )
2014-07-07 19:06:10 +02:00
Thomas Bruederli
f0405b4bae
Accept broken vcards from Outlook that only supply ORG but not the required N or FN properties
2014-04-24 10:40:58 +02:00
Aleksander Machniak
5983ee0f18
Fix categories/groups import from csv
2013-11-07 20:12:16 +01:00
Aleksander Machniak
a649e0488a
Fix failing vCard import when email address field contains spaces ( #1489386 )
2013-10-21 13:34:49 +02:00
Aleksander Machniak
99d59620e1
Join many preg_replace() calls into one
2013-10-21 13:14:22 +02:00
Thomas Bruederli
52830ea605
Improve handling of date strings and DateTime values in contacts
2013-09-10 23:37:10 +02:00
Thomas Bruederli
79367a5631
Save groups membership in VCard export ( #1488509 )
2013-09-08 15:36:05 +02:00
Aleksander Machniak
428764bf34
Fix so exported vCard specifies encoding in v3-compatible format ( #1489183 )
2013-06-18 09:59:18 +02:00
Aleksander Machniak
3725cfb245
Avoid uninitialized/unused variables
2013-05-07 15:12:22 +02:00
Aleksander Machniak
c027ba7709
Fix bugs caught by static analysis
2013-05-06 12:07:05 +02:00
Aleksander Machniak
3a0dc87856
Fix backslash character handling on vCard import ( #1489085 )
2013-05-05 16:39:29 +02:00
Aleksander Machniak
38c1951266
Be less restrictive on vCard import, do not require FN when N exists
2013-03-24 18:00:17 +01:00
Aleksander Machniak
1961146227
Make cleanup() method public
2013-02-17 10:25:46 +01:00
Aleksander Machniak
21106b3d1c
Fix handling of escaped separator in vCard file ( #1488896 )
2013-01-05 20:16:06 +01:00
Aleksander Machniak
8cacecb2ff
CS fixes
2012-12-18 09:30:15 +01:00
Aleksander Machniak
d2534c63f2
Cleanup, remove file paths from doc
2012-12-18 09:07:00 +01:00
Aleksander Machniak
a92beb6bdb
Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency
2012-11-27 08:43:43 +01:00
Aleksander Machniak
922a1fb714
Add lost rcube_vcard.php file
2012-11-23 09:05:59 +01:00