Aleksander Machniak
ae80b5a309
Fix error when there's no writeable addressbook source ( #1489162 )
12 years ago
Aleksander Machniak
85e65c3c76
Improvements to PR merge "add option show_real_foldernames"
12 years ago
Aleksander Machniak
174327c25c
Merge pull request #77 from dpc22/realnames
...
Add show_real_foldernames preference and configuration option.
12 years ago
Aleksander Machniak
4fee776e51
Small code improvement
12 years ago
Thomas Bruederli
42de33c7de
Add option to use PHP's native session save handlers
12 years ago
David Carter
149f8a00cc
Change show_actual_foldernames to be show_real_foldernames.
...
Change requested by alec@alec.pl .
12 years ago
David Carter
52deb18d96
Add show_actual_foldernames preference and configuration option.
...
When enabled this setting shows actual folder names rather than
the localised verions for the four default folders:
$rcmail_config['default_folders'] =
array('INBOX', 'Drafts', 'sent-mail', 'spam', 'Trash');
12 years ago
Thomas Bruederli
0b9a7bcde3
Move rcmail::deliver_message() to framework for common use
12 years ago
Aleksander Machniak
3725cfb245
Avoid uninitialized/unused variables
12 years ago
Thomas Bruederli
517dae3e74
Experimental: refactored list.js and html_table class to render lists with different html structures (e.g. table, ul, div). This show provide more flexibility to skin designers and improve mobile device support
12 years ago
Aleksander Machniak
7dcf242dd9
Fix list page reset when viewing a message in Larry skin ( #1489076 )
12 years ago
Aleksander Machniak
d14a2fb8bc
Fix possible warning on some misconfig
12 years ago
Aleksander Machniak
8b771646fa
Fix so task name can really contain all from a-z0-9_- characters ( #1488941 )
12 years ago
Aleksander Machniak
8c93c29d04
Really fix "quotum would exceed" error message handling
12 years ago
Aleksander Machniak
d3e7f92d88
Smarter overquota error detection (known error strings are:
...
"Quota exceeded" and "quotum would exceed") (#1484164 )
12 years ago
Aleksander Machniak
e7c1aad832
Even better message on over quota error in move to trash operation ( #1484164 )
12 years ago
Aleksander Machniak
0bf724ef1f
Display user-friendly message on IMAP "over quota" errors ( #1484164 )
12 years ago
Thomas Bruederli
ec2185a1cb
Add special config attribute 'group_filters' to specify a fixed list of groups to be listed in the leftmost pane, each having individual base-dn/filter parameters for contact listing
12 years ago
Thomas Bruederli
3c309af066
- Refactored the hierarchical mailboxlist control into a separate widget class
...
- Build address book directories list as hierarchical list
- Make address book groups collapsible using the new new treelist widget
- Use encoded identifiers for address book directory list items
12 years ago
Aleksander Machniak
61be822d62
Remove deprecated functions (from bc.php file) usage in plugins
12 years ago
Aleksander Machniak
4d7964d910
Improved folder path presentation in page title (use unified delimiter, localize path).
...
E.g. folder "INBOX.test" will be displayed as "Inbox >> test"
12 years ago
Aleksander Machniak
dfc57863d1
Plugin API: Added message_before_send hook
12 years ago
Thomas Bruederli
60226a75d8
Separate the very application-specific output classes from the Roundcube framework; add autoloader for rmail* classes
12 years ago
Thomas Bruederli
10da75f364
Move shortcut functions to framework class
12 years ago
Aleksander Machniak
a92beb6bdb
Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency
12 years ago
Aleksander Machniak
65dff8f812
Fix hidden flag and default_addressbook settings handling
12 years ago
Aleksander Machniak
f226549d4f
Renamed config options: keep_alive to refresh_interval, min_keep_alive to min_refresh_interval
12 years ago
Aleksander Machniak
77de23fa93
Added cross-task 'refresh' request for system state updates
12 years ago
Aleksander Machniak
c442f822fb
Simplify keep-alive action. Now the interval is based on session_lifetime,
...
which means it's executed only if needed for session keeping (reset interval on every action).
Temporarily remove check-recent request, it will be replaced by new global system refresh request in future.
Use keep_alive setting as auto-refresh request interval (allow no-refresh mode)
12 years ago
Thomas Bruederli
086b153ae2
Improve client-side timezone detection using jsTimezoneDetect by Jon Nylander ( #1488725 ); removed obsolete dstactive detection
12 years ago
Jean-Louis Dupond
5526f98dca
Give option to hide DB address book with addressbook plugin
12 years ago
Thomas Bruederli
9f0ca2dca6
Merge branch 'master' of github.com:roundcube/roundcubemail
12 years ago
Thomas Bruederli
7ea2924106
Don't display session error message if imap connection failed
12 years ago
Aleksander Machniak
df95e790ba
Remove automatic to-lowercase conversion of usernames ( #1488715 )
12 years ago
Aleksander Machniak
5f6c71ae36
Fix return value of storage_connect()
12 years ago
Aleksander Machniak
1b9923208c
Re-fix HTML entities handling in addressbook names
12 years ago
Aleksander Machniak
524e48e99a
Fix invalid error message on deleting mail from read only folder ( #1488694 )
12 years ago
Aleksander Machniak
6075f084ec
Fix deprecated functions usage
12 years ago
Aleksander Machniak
553225e1be
Fix setting locales under Solaris - use additional .UTF-8 suffix ( #1488628 )
12 years ago
Aleksander Machniak
c72325faed
Fix bug where domain name was converted to lower-case even with login_lc=false ( #1488593 )
12 years ago
Thomas Bruederli
88fb563510
Avoid warnings; silently pipe http: urls through rcmail::url()
13 years ago
Aleksander Machniak
840b4dbeb8
Simplified method of getting default addressbook.
...
Make sure to use the same source when adding contact and checking
if message is safe (sender is in addressbook).
Small code improvements.
13 years ago
Aleksander Machniak
7c8fd80310
Show explicit error message when provided hostname is invalid ( #1488550 )
13 years ago
Aleksander Machniak
8749e94b4b
Fix attachment sizes in message print page and attachment preview page ( #1488515 )
...
- Use size parameter from Content-Disposition header if specified,
- Calculate size of base64 encoded message parts
13 years ago
Aleksander Machniak
45dd7c122d
Fix host autoselection when default_host is an array ( #1488495 )
13 years ago
Thomas Bruederli
b97f21a18f
Add another alias for backwards compatibility
13 years ago
Aleksander Machniak
041c93ce0b
Removed $Id$
13 years ago
Aleksander Machniak
0a1dd5b073
Add is_escaped attribute for html_select and html_textarea ( #1488485 )
13 years ago
Aleksander Machniak
5a575b7eb0
Deprecate storage_connect() method
13 years ago
Aleksander Machniak
38a08c08e3
Add imap_connect() method for backward compat.
13 years ago
thomascube
1103607721
Better handling of HTTP request errors; re-send keep-alive requests on failure ( #1488449 )
13 years ago
alecpl
6a8b4c2951
- Fix incorrect cache ttl used in get_cache_engine() ( #1488447 ), use time() where mktime() without arguments was used
13 years ago
alecpl
e7ca048d05
- Fix render_folder_tree_select() ( #1488441 )
13 years ago
alecpl
963a10bf81
- Moved session init/config functionality into rcube class
13 years ago
alecpl
1aceb9cec8
- Framework refactoring (I hope it's the last one):
...
rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils
renamed main.inc into rcube_bc.inc
13 years ago
alecpl
0c259682f6
- Merge devel-framework branch, resolved conflicts
13 years ago
thomascube
b8ea160178
Always return the correct connection state
13 years ago
alecpl
a71a97fa49
- Image resize with GD extension ( #1488383 )
13 years ago
thomascube
40d246fff2
Remember custom skin selection after logout ( #1488355 )
13 years ago
thomascube
fec2d8e130
Refactored IMAP cache expunge: delegate to storage object; don't rely on deprecated 'enable_caching' config option
13 years ago
alecpl
a7321e7578
- Fix URL building - skip null parameters
13 years ago
thomascube
43875379d5
Allow users to choose cols for contacts list sorting
13 years ago
thomascube
48f04d368e
Fix autoselect_host() for login ( #1488297 )
13 years ago
alecpl
08b7b66e76
- Handle ldap_public misconfiguration
13 years ago
thomascube
7fe3811c65
Changed license to GNU GPLv3+ with exceptions for skins and plugins
13 years ago
thomascube
a2c495618a
Run imap_init plugin hook as deprecated hook; set $_SESSION['imap_host'] for backwards compat.
13 years ago
thomascube
c321a955a7
Merged devel-framework branch (r5746:5779) back into trunk
13 years ago
alecpl
fdff34093d
- Move some checks into login() method
13 years ago
alecpl
08ffd939a7
- Add separate pagesize setting for mail messages and contacts ( #1488269 )
13 years ago
alecpl
a90ad2840f
- Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead
13 years ago
alecpl
b6da0b76af
- Remove deprecated global $IMAP variable usage ( #1488148 )
13 years ago
thomascube
2acbc8e64c
Remove unused code
13 years ago
alecpl
ad33280950
- Remove debug code from last commit
13 years ago
alecpl
14b342b03a
- Fix so connection to LDAP will be properly closed
13 years ago
alecpl
72ff6ae884
- Simplified compose session data handling, no need for session->cleanup()
13 years ago
alecpl
bd34cad1f6
- Add option to set session name ( #1486433 )
13 years ago
thomascube
3fe6c7082c
Remove unused cruft
13 years ago
thomascube
abdf31486a
Allow cross-task ajax requests
13 years ago
alecpl
f537504ed0
- Fix namespace handling in special folders settings ( #1488112 )
13 years ago
thomascube
65082b3adb
Distinguish standard timezone offset and DST of client
13 years ago
thomascube
d06e57fdf2
Skip confirmation dialog when deleting a contact from a source that supports undelete operations
13 years ago
alecpl
e7e79470e4
- Allow setting connection options in imap_connect hook
13 years ago
alecpl
4daaf29747
- Fix default folders settings (according to namespaces) for new users too
13 years ago
alecpl
8703b08018
- Extend rcube_label_exists() to search in loaded plugins localizations
...
- Allow use localized addressbook field subtypes from plugins
13 years ago
thomascube
21030324d0
Improved memcache connection procedure from release-0.6; use call_user_func to trigger session gc handlers
13 years ago
alecpl
9a835c7f7c
- Fix is_a() usage for PHP>5.3.6
13 years ago
thomascube
1a716d2d34
Add copyright line on files with significant changes from Kolab Systems
13 years ago
alecpl
5c9d1ffe8e
- Add option to hide selected LDAP addressbook on the list
13 years ago
thomascube
782d8593bd
More unique error codes
13 years ago
alecpl
7f7ed2d9df
- Fix get_address_book() to call get_address_sources() internally when looking for default source
13 years ago
alecpl
f03d89e493
- Fix 'sql' identifier for addressbook handling ( #1488013 )
13 years ago
alecpl
f1574a5da2
- Performance fix: don't create addressbook object to close() it if it wasn't created before, skipping unneeded LDAP connection
13 years ago
alecpl
5ed119e534
- Don't use default source if source id is specified in get_address_source()
13 years ago
thomascube
609c5e9da9
Session object can be null if db/memcache is not available
14 years ago
alecpl
580adc8263
- Add add_shutdown_function() method. Make possible to call user function before destoying all objects (e.g. session)
14 years ago
alecpl
7f5a849e78
- Added possibility to undo last contact delete operation
14 years ago
alecpl
77406bb731
- Fix url() so zero-values are not skipped ( #1487979 )
14 years ago
alecpl
b896b18f87
- Call addressbook_get hook only if build-in addressbook doesn't match wanted ID (for better performance), other improvements
14 years ago
alecpl
c9f4e9bc65
- Add read/write methods for immediate operations on cache backend (no affect in-memory cache)
...
- Add possibility to disable data serialization in cache
14 years ago
alecpl
40a1860174
- Store user preferences in session when write-master is not available and session is stored in memcache, write them later
14 years ago
alecpl
7ad8e2c318
- Add TTL parameter to rcube_cache class (and rcmail::get_cache method)
14 years ago
alecpl
ccc059fd70
- Re-designed cache, fixes memcache/apc issues
14 years ago
alecpl
8edb3d9405
- Add APC support in rcube_cache
14 years ago
alecpl
5cf5ee66c1
- Added general rcube_cache class with memcache support
...
- Improved caching performance by skipping writes of unchanged data
- Option enable_caching replaced by imap_cache and messages_cache options
14 years ago
thomascube
76d4019a35
Get memcache object from rcmail instance
14 years ago
alecpl
d08333ea57
- Fix problems with subfolders of INBOX folder on some IMAP servers ( #1487725 )
...
- Fix handling of folders that doesn't belong to any namespace (#1487637 )
14 years ago
thomascube
63e9927d5f
Add support for session storage using memcache
14 years ago
alecpl
926948e77f
- Use shortest include path for better performance
14 years ago
alecpl
8c263ee5e0
- Set proper readonly state of default address book according to real readonly variable value ( #1487878 )
14 years ago
alecpl
4351f7cd66
- Improve performance by including files with absolute path ( #1487849 )
14 years ago
thomascube
ef27a6a723
Add hook for request token creation (upon user request)
14 years ago
thomascube
c9f2c47027
Fix request token generation if no cookies set
14 years ago
thomascube
ec045b0a24
Revert r4609 and use stateless request tokens; no need to save them in session and thus no keep-alive necessary; fixes #1487829
14 years ago
thomascube
4591de7018
Prepare for multiple concurrent compose windows
14 years ago
thomascube
ae39c47c3a
New config option for custom logo; allow skins to define/override texts
14 years ago
alecpl
dd07e79537
- Close IMAP connection after SMTP, per discussion in ( #1485975 )
14 years ago
thomascube
07b95dc49b
Delegate contact input validation to rcube_addressbook instance; accept already localized texts in rcube_output::show_message()
14 years ago
alecpl
e8d5bdc84e
- Fix IDNA support when IDN/INTL modules are in use ( #1487742 )
14 years ago
thomascube
88ca38a356
Keep rcube_session->lifetime and keep_alive in sync
14 years ago
thomascube
6039aae387
Add groups support for LDAP address books, contributed by Andreas Dick
14 years ago
thomascube
cf2da2f9aa
Improve session validity check with changing auth cookies; reduce writes to DB; better phpdoc
14 years ago
thomascube
0501b637a3
Merge branch devel-addressbook (r4193:4382) back into trunk
14 years ago
alecpl
a76cbddfc9
- Fix %h/%z variables in username_domain option ( #1487701 )
14 years ago
alecpl
68d2d54100
- Move action files map from index.php to steps' func.inc files
14 years ago
thomascube
f5e7b35307
Bumbed version; Roundcube development is not Switzerland only
14 years ago
thomascube
c3be8ed64c
Make sure an existing session is killed/replaced when submitting login form
14 years ago
alecpl
7f1da4818e
- Add debug handler support in rcube_imap_generic
14 years ago
alecpl
7c9850da45
- Improve handling of whitespace characters after closing PHP tag in localization and config files
14 years ago
alecpl
e17553d954
- Add 'login_lc' config option for case-insensitive authentication ( #1487113 )
...
- Make username comparison case sensitive on MySQL
14 years ago
alecpl
9016a84f7b
- Handle PHP warning in decrypt function ( #1485970 )
14 years ago
alecpl
44840971e8
- Fix handling of folders with name "0" ( #1487119 )
14 years ago
alecpl
00290a6032
- Add support for shared folders ( #1403507 )
14 years ago
alecpl
a1fe6bd11d
- Add support for IMAP proxy authentication ( #1486690 )
14 years ago
alecpl
0f0c17ad9e
- improved IMAP errors handling (continue)
14 years ago
alecpl
8f94b1aad6
- Convert to lowercase only domain part of email address on login
14 years ago
alecpl
f1adbf17ee
- Convert IDN to ASCII before using rcube_user::query()
...
- Always convert to lower case a username when it's an email address
14 years ago
alecpl
13ffa2810e
- Added line number for error message
14 years ago
alecpl
5c461bada9
- Update phpdoc ( #1486958 )
14 years ago
alecpl
e99991996d
- Add Internationalized Domain Name (IDNA) support ( #1483894 )
14 years ago
thomascube
6d94ab311a
Only lower-case user name if first login attempt failed ( #1486393 ) + fix test
14 years ago
alecpl
e019f2d0f2
- s/RoundCube/Roundcube/
14 years ago
thomascube
a3de4f6054
Fix selection of read/write db connection
14 years ago
alecpl
457373bf3f
- Fix: close() method of addressbook object(s) is not called in shutdown function
14 years ago
alecpl
2aa2b332f6
- Small performance improvements
14 years ago
alecpl
564741f77b
- performance: use custom function for IV vector generation instead of mcrypt_create_iv()
14 years ago
alecpl
c16fab1641
- Fix strpos() usage ( #1486458 )
14 years ago
alecpl
e6ce0062f2
- Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings)
14 years ago
thomascube
904809459d
Fix default IMAP port configuration ( #1486864 )
15 years ago
alecpl
6a642d1a2e
- support dynamic hostname variables in 'username_domain' option
15 years ago
alecpl
bb8721aaeb
- Support dynamic hostname (%d/%n) variables in configuration options ( #1485438 )
15 years ago
alecpl
f07d238b1b
- Add 'imap_timeout' option ( #1486760 )
15 years ago
alecpl
b62a0d2d23
- Fix in timezone setting ( #1486183 )
15 years ago
alecpl
677e1f26fe
- Some files from /bin + spellchecking actions moved to the new 'utils' task
15 years ago
alecpl
bec31a4e86
- fix for use without session object
15 years ago
alecpl
f0485adef1
- Fix folder subscription checking ( #1486684 )
...
- Fix INBOX appears (sometimes) twice in mailbox list (#1486672 )
15 years ago
alecpl
bf67d60e43
- Skip session initialization/configuration if session is initialized already (e.g. using Installer)
15 years ago
alecpl
7fdb9da98e
- Fix sources list if 'ldap_public' is null/false
15 years ago
alecpl
44155cddc2
- load des.inc file only when needed
15 years ago
alecpl
600981d1d3
- fix comment
15 years ago
thomascube
c0297f4172
Asynchronously expand contact groups + skip count queries in autocompletion mode + check for the existance of contactgroups table
15 years ago
alecpl
59c216f3cc
- Fix bugs on unexpected IMAP connection close ( #1486190 , #1486270 )
...
- Iloha's imap.inc rewritten into rcube_imap_generic class
- rcube_imap code re-formatting
15 years ago
thomascube
a61bbb24aa
Added basic contact groups feature
15 years ago
alecpl
d8c440c03f
- Added 'imap_force_caps' option for after-login CAPABILITY checking ( #1485750 )
15 years ago
thomascube
f52c936f4d
Merged devel-threads branch (r3066:3364) back into trunk
15 years ago
alecpl
3704b78841
- Added function to get addressbooks list rcmail::get_address_sources() ( #1486248 )
15 years ago
alecpl
929a508d80
- Improve performance by avoiding unnecessary updates to the session table ( #1486325 )
15 years ago
thomascube
47d8d39cf4
Use rcmail::imap_connect() to establish IMAP connections; always initialize rcube_imap object in mail steps
15 years ago
thomascube
b545d3e838
Fix loading of plugin configs: user prefs will always survive ( #1486368 )
15 years ago
alecpl
48bc52e835
- Fix imap_init hook broken in r3258 ( #1486493 )
15 years ago
alecpl
9b94eb6415
- Fix setting task name according to auth state. So, any action before user
...
is authenticated is assigned to 'login' task instead of 'mail'. Now binding
plugins to 'login' task is possible and realy usefull. It's also possible
to bind to all tasks excluding 'login'.
15 years ago
alecpl
2b35c5d8f6
- performance stats logging in devel_mode
15 years ago
alecpl
b5846eed4d
- Login preformance: Create default folders on first login only
15 years ago
alecpl
10eedbe75a
- add file/line definitions to raise_error() calls
15 years ago
alecpl
2273d4117f
- Add support for MDB2's 'sqlsrv' driver ( #1486395 )
15 years ago
alecpl
638fb8a972
- fix $Id$ keyword
15 years ago
alecpl
9898fe315a
- don't use preg_replace with /e modifier + code cleanup
15 years ago
alecpl
317a7d9f67
- fix warning when authentication fails and debug_level=4 ( #1486292 )
15 years ago
alecpl
c96c5a98af
- use 7th (httponly) argument of setcookie()
15 years ago
alecpl
3ea30ef7eb
- fix HTTPS checking ( #1486273 )
15 years ago
alecpl
7d51781450
- fix Russian language position on languages list
15 years ago
alecpl
1cead0cbf4
- sorting by message index - added 'index_sort' option ( #1485936 )
15 years ago
alecpl
0102742cb2
- Added 'ldap_debug' option + small change to not rely on rcube_config inside rcube_ldap class
15 years ago
alecpl
bdab2c5faf
- small code improvements
15 years ago
alecpl
b48d9bf5d4
- Use faster/secure mt_rand() ( #1486094 )
15 years ago
alecpl
ee258ce158
- performance fix: don't check mbstring functions existence too often
16 years ago
alecpl
564a2ba793
- Help plugin
...
- support 'dummy' task (for plugins)
16 years ago
thomascube
5499336fef
Use global request tokens and automatically protect all POST requests
16 years ago
alecpl
2c3d81dddd
- use simple rcube_smtp class
...
- Installer: fix SMTP settings test
16 years ago
thomascube
57f0c81f2c
Use request tokens to protect POST requests from CSFR
16 years ago
thomascube
afc6e4bd10
Added hook when killing a session
16 years ago
alecpl
713a66fc0f
- prevent from some mcrypt warnings ( #1485970 )
16 years ago
alecpl
d559cba5f7
- Added 'imap_debug' option, described 'sql_debug' option in config file
16 years ago
alecpl
0b2ce91f25
- Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI
16 years ago
alecpl
79c45f4b18
- fix rep_specialchars_output() performance, remove old 'charset' option use
16 years ago
alecpl
74d421d55a
- don't show message on unknown error ( #1485848 ) + translate "Server Error!" message
16 years ago
alecpl
2471d3a979
- Added possibility to encrypt received header, option 'http_received_header_encrypt',
...
added some more logic in encrypt/decrypt functions for security
16 years ago
thomascube
f879f4e2f8
Trigger 'create_identity' when creating a new user; Allow 'create_user' hook to abort the operation
16 years ago
alecpl
27924acf43
- speed up the whole session cleaning in kill_session()
16 years ago
svncommit
f22c2cefb4
Really, really logout (fixes r2467).
16 years ago
svncommit
617b4f699f
Minimize chance of race condition in session handling ( #1485659 , #1484678 )
16 years ago