Commit Graph

8988 Commits (650ac8befb5238e58ed468c6c3f80b67d2562908)
 

Author SHA1 Message Date
Bostjan Skufca 05c7d49a37 Autocomplete search: add id and source (addressbook) into resulting contact data array
Two reasons:
- provide it to plugin backend functions that use 'contacts_autocomplete_after' hook
- provide it to frontend

Why to frontend?
If plugin JS adds an 'autocomplete_insert' hook we need to provide it with exact
autocomplete data. Providing it with name and email address only, without pinpointing
exact origin of this autocomplete result, will severely limit learning capabilities of
potential future autocomplete implementations.
9 years ago
Bostjan Skufca a15b2d5998 Autocomplete refactoring: replace variable name '$id' with '$abook_id'
Reason:
Having genericly named variable $id in nested loops makes code unreadable.
Replacing generic name '$id' with '$ENTITIY_id' format removes all ambiguity.
9 years ago
Bostjan Skufca ed55af4aa9 Autocomplete: trigger "contacts_autocomplete_after" hook processing
Provide existing list of contact suggestions as an argument - it might be unclear
now what logic plugin developers decide to implement, but data for that logic
should be provided upfront, and that includes list of suggestions that RC
itself comes up with.

Plugin logic might then replace the list entirely, or just rearrange its entries, or use
part of the list when it runs out of own ideas, or do something entirely different.
9 years ago
Bostjan Skufca 865230e420 Autocomplete: fix undefined variable notice if no addressbook is configured for autocomplete 9 years ago
Aleksander Machniak e2e56261b9 Fix handling of long script/style tags when converting to text 9 years ago
Aleksander Machniak 302aff920c Small code improvement 9 years ago
Aleksander Machniak e2ff7985db Small optimization in sieve script parser 9 years ago
Thomas Bruederli 3b77a54ecd Add version 1.2-rc 9 years ago
Aleksander Machniak a0f38f5fd8 Small code style improvements 9 years ago
Aleksander Machniak e8ab3d96bd Fix converting mail addresses with @www. into mailto links (#5197) 9 years ago
Aleksander Machniak 4bb44c3d90 Enigma: added option to force users to use signing/encryption 9 years ago
Aleksander Machniak d01c06eded CS fixes 9 years ago
Aleksander Machniak 463d07824e Merge pull request #5194 from bostjan/optimization/make-thread-listing-faster
Make rcube_result_thread::revert() faster
9 years ago
Bostjan Skufca 70a8236cd5 mailbox/listing: Make server response for large mailbox listing faster when using threaded view
Symptom
=======
When using roundcube with mailboxes with over 60k messages, list
view was way faster than viewing in threaded view.

Mailbox index view timing:    ~360 ms
Mailbox threaded view timing: ~800 ms

Resolution
==========
Use native PHP array manipulation functions instead of rolling custom
string data reversal implementation using strpos() and substr() in a
'while' loop.

This optimization is already present in index view handler, but was missing
from threaded view.

Results after optimization
==========================
Both average out around ~360 ms response time.
9 years ago
Aleksander Machniak 4fdcd8c9d1 Remove redundant code 9 years ago
Thomas Bruederli 6bebdc5677 Transliterate ticket IDs after migration to Github issues 9 years ago
Thomas Bruederli bd780ce707 Remove localization files from 3rd party plugins 9 years ago
Aleksander Machniak 80cb362b80 Managesieve: Refactored script parser to be 100x faster 9 years ago
Aleksander Machniak 800235f682 Fix compatibility with older PHP versions by not using empty(fn()) 9 years ago
Aleksander Machniak e03c006d0d Merge pull request #5190 from dioubernardo/patch-1
Allow pattern attribute in input
9 years ago
Bernardo Silva c72446a8fc Allow pattern attribute in input
"pattern" included in the list of allowed attributes in the input tag
9 years ago
Aleksander Machniak 215935150e Merge pull request #5189 from seanm/master
Issue #5186: improve comments about ‘password_charset’ setting
9 years ago
Sean McBride 4ca97c3ea4 Issue #5186: improve comments about ‘password_charset’ setting 9 years ago
Kyle Francis 31713805f8 Changed native DOM call to jQuery 9 years ago
Kyle Francis 65225262f6 Merge remote-tracking branch 'origin/master' into compose_focus 9 years ago
Aleksander Machniak 6f2c007d1b CS fixes: Replace use of "bool ? true : false" with just "bool" 9 years ago
Aleksander Machniak 6373fa55be Update changelog 9 years ago
Aleksander Machniak 96c3d84cdd Enigma: Varius fixes and cleanup in code for attaching pubkeys 9 years ago
Aleksander Machniak 4c7ce7bfc9 Merge branch 'guitarmanusa-attach-pgp-key' 9 years ago
Aleksander Machniak ede293946c Merge branch 'attach-pgp-key' of https://github.com/guitarmanusa/roundcubemail-1 into guitarmanusa-attach-pgp-key 9 years ago
Aleksander Machniak 5c253dd59e Fix so SPECIAL-USE assignments are forced only until user sets special folders (#4782)
The old behaviour where SPECIAL-USE has always a prio can be bringed back
by setting lock_special_folders=false and adding it to dont_override.
9 years ago
Kyle Francis 522babb3a3 Implements 'scroll by keyboard #5139' 9 years ago
Kyle Francis 7ce958ecd9 Added attach pubkey checkbox in compose UI, added preferences setting for attach pubkey by default 9 years ago
Kyle Francis a9d399155d Implemented attaching pub PGP key to outgoing messages. 9 years ago
Aleksander Machniak 007c9ddcb0 Enigma: Handle messages with text before an encrypted block (#5149) 9 years ago
Aleksander Machniak 3193a5e5d2 Bump Net_LDAP2 version to 2.2.0 for PHP7 compatibility (#5171)
Note: to install it with composer and PHP7 you'll need PHP 7.0.5.
9 years ago
Aleksander Machniak aba88576ef Update localizations 9 years ago
Aleksander Machniak 7462095f60 Small code improvements 9 years ago
Aleksander Machniak 46f7b70964 Enable reply/reply-all/forward buttons also in preview frame of message/rfc822 9 years ago
Aleksander Machniak e8b6e726f6 Add message menu with viewsource and edit actions in message/rfc822 preview 9 years ago
Aleksander Machniak f0e88f02d5 Remove unused code 9 years ago
Aleksander Machniak d125f864ea Message/rfc822 previewer compatibility with Enigma 9 years ago
Aleksander Machniak 640e5e265d Enigma: Handle encrypted/signed content inside message/rfc822 attachments 9 years ago
Aleksander Machniak 4e6f3019f5 Enigma: Handle encrypted/signed content inside message/rfc822 attachments 9 years ago
Aleksander Machniak aa2486beb3 vcard_attachments: Fix bug where national characters in vCard would be broken on import/display 9 years ago
Aleksander Machniak 414ae36baa vcard_attachments: Fix bug where national characters in vCard would be broken on import/display 9 years ago
Aleksander Machniak a068d0fb70 Small css fixes 9 years ago
Aleksander Machniak ce3105c58f Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview 9 years ago
Aleksander Machniak 323fa20bc8 Message/rfc822 attachment preview (#5054) 9 years ago
Danilo 1db4c05078 Fix: Set long email addresses
The changes permit to set long email address up to the maximum permissible length.
9 years ago