Thomas Bruederli
458a6b26e8
Load bc.inc in script startup
9 years ago
Thomas Bruederli
32695c333c
Restore bc.inc which now logs a warning when calling deprecated functions
9 years ago
Aleksander Machniak
a15d877ba8
Added brute-force attack prevention via login rate limit ( #1490566 )
9 years ago
Aleksander Machniak
454b0b1ca9
Remove deprecated rcmail and rcube_imap methods
9 years ago
Aleksander Machniak
2aa9ee56fd
Fix so disabling emoticons plugin really removes emoticons button from HTML editor
9 years ago
dsoares
234fd19505
Replace deprecated call to Q within array_map()
9 years ago
Aleksander Machniak
74ce01efc7
Q() -> rcube::Q()
9 years ago
Aleksander Machniak
a5c03db798
Security: Added options to validate username/password on logon ( #1490500 )
9 years ago
Aleksander Machniak
c1bbf0d0b6
After failed login wait a second to slow down brute-force attacks ( #1490549 )
9 years ago
Aleksander Machniak
fddfd8e6d7
Remove backward compatibility "layer" of bc.php ( #1490534 )
9 years ago
Aleksander Machniak
df0b4f3437
Make sure an email address is valid when replacing it with mailto: link
9 years ago
Aleksander Machniak
26086981a2
Improve randomness of security tokens ( #1490529 )
9 years ago
Aleksander Machniak
e2f605d44d
Fallback to C locale
9 years ago
Aleksander Machniak
3c29c7e858
Fix various issues with Turkish (and similar) locales ( #1490519 )
9 years ago
Aleksander Machniak
c4daf3f14f
Fix regression in converting signatures to text, fixed PHP warning in html2text() call
9 years ago
Aleksander Machniak
a63f14ec40
Emoticons-related code refactoring
...
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732 )
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
9 years ago
Aleksander Machniak
1b39d9a6c7
PHP7: Fixed some E_WARNING errors that previously were E_STRICT
9 years ago
Aleksander Machniak
93e64008a6
Small code improvements
9 years ago
Aleksander Machniak
08bb20f261
Don't use deprecated functions/constants (from bc.inc)
9 years ago
Aleksander Machniak
9d78c68cbf
Fix so imap folder attribute comparisons are case-insensitive ( #1490466 )
...
+ make in_array_nocase() much faster for ASCII strings
9 years ago
Aleksander Machniak
252cc4c4ac
Password: Allow temporarily disabling the plugin functionality with a notice
9 years ago
Aleksander Machniak
8447bae77c
Require Mbstring and OpenSSL extensions ( #1490415 ) - remove redundant code
10 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Aleksander Machniak
b782815dac
Fix XSS vulnerability in _mbox argument handling ( #1490417 )
10 years ago
Aleksander Machniak
8042e13af6
Add --config and --type options to moduserprefs.sh script ( #1490051 )
10 years ago
Aleksander Machniak
3994b3a26c
Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key ( #1490402 )
10 years ago
Aleksander Machniak
0c08b04778
Fix issues when using moduserprefs.sh without --user argument ( #1490399 )
10 years ago
Aleksander Machniak
03aa84f784
Fix bug where some files could have "executable" extension when stored in temp folder ( #1490377 )
10 years ago
Aleksander Machniak
e7620812b0
Installer: Remove system() function use ( #1490139 )
...
Move some functionality of scripts from bin/ into rcmail_utils class
10 years ago
Thomas Bruederli
0bd99db08d
Localize common error messages; improve explanation for CSRF check failures
10 years ago
Aleksander Machniak
216b31dd99
Fix so "over quota" errors are displayed also in message compose page
...
This also fixes over quota responses on cyrus imap which uses "Over quota" string and no error identifier.
10 years ago
Aleksander Machniak
f070da7c27
Fix fatal errors on systems without mbstring extension or mb_regex_encoding() function ( #1490280 )
10 years ago
Aleksander Machniak
3665d1e8ec
Merge pull request #259 from corbosman/plugin_preload
...
Plugin preload
10 years ago
Aleksander Machniak
3779b67a9c
Set version number to 1.2-git
10 years ago
Thomas Bruederli
2f8b1036da
Bump version and copyright year
10 years ago
corbosman
de89d46be2
Load plugins before sessions have started
...
Move the plugin loading phase to before sessions have started allowing plugins to add session drivers. Plugins that want to use this should define an "onload" method in their plugins. This method does not have access to variables like $task as they are not yet initialised at that time.
10 years ago
Aleksander Machniak
09d52dbb67
Fix some typos in comments
10 years ago
Thomas Bruederli
be140e827d
Don't reset 'plugins' config option when running from update.sh script
10 years ago
Aleksander Machniak
c6efcf5e6d
Fix blocked.gif image usage with assets_dir set
10 years ago
Thomas Bruederli
b737021a90
Improve plugin selection in installer; check already selected plugins
10 years ago
Thomas B.
8e7ed506c4
Merge pull request #248 from flanpy/master
...
#1489096 : Ability to select plugins to enable in the installer
10 years ago
Aleksander Machniak
7259529fad
Get rid of requests whitelist for security check bypass
10 years ago
Aleksander Machniak
681ba6fc3c
Improve system security by using optional special URL with security token
...
Allows to define separate server/path for image/js/css files
Fix bugs where CSRF attacks were still possible on some requests
10 years ago
Aleksander Machniak
f7f4672649
Fix regression in rcmail::show_bytes() where unit was set to "[]" instead of "B"
10 years ago
Aleksander Machniak
0b36d15157
Add method to display operation (uploading) progress in UI message
10 years ago
Aleksander Machniak
2dfad0a564
Make upload progress text more compact.
...
E.g. "500 KB of 10 MB" becomes "0.5 of 10 MB"
10 years ago
Aleksander Machniak
9e4246d957
Code improvements and fixes (mostly unused variables and methods)
10 years ago
Flanpy
8f576d87d2
Add the ability to select plugins in the installer
10 years ago
Flanpy
b8837e3f43
Add the ability to enable plugins in the installer
10 years ago
Thomas Bruederli
8d526c4938
Fix skin path handling in plugin context ( #1488967 ):
...
The plugin skin directories are removed again from the search path after parsing of a plugin template has finished.
10 years ago
Aleksander Machniak
1ffab0ad4a
Fix possible issues in skin/skin_path config handling ( #1490125 )
10 years ago
Aleksander Machniak
71dbeeee10
Skip unnecessary session updates on task switch - switch session task less often ( #1490116 )
10 years ago
andryyy
383724eb97
Update rcmail.php
...
Typo
10 years ago
Thomas Bruederli
91a449138e
Add output class for commandline scripts
10 years ago
Aleksander Machniak
000f6ee304
Merge branch 'oracle'
10 years ago
Aleksander Machniak
c2345747ac
Add Oracle driver check in Installer
10 years ago
Thomas Bruederli
8ef203827f
Make noshow attribute for roundcube:label tags actually work as supposed
10 years ago
Aleksander Machniak
dcc4469844
Don't init output in CLI mode
...
Fixes infinite recurssion on raise_error() call when executing scripts
out of the INSTALL_PATH. Also use 'rcube' if 'rcmail' is not needed.
10 years ago
Aleksander Machniak
fec4f240e5
Seek vendor/autoload.php in install path to make tests working
10 years ago
Thomas Bruederli
a98a4f8bb5
Remove 3rd party libs from our repository and define the dependencies in composer.json-dist.
...
Also remove the ancient utf8 lib and replace it with 'Patchwork UTF-8 for PHP'.
For direct git checkouts, copy composer.json-dist into composer.json and run
`php composer.phar install` to install the dependencies.
10 years ago
Aleksander Machniak
5f58127eae
Added rcube_utils::resolve_url()
10 years ago
Aleksander Machniak
75bbada03b
Remove code for PHP<5.3, use PHP_VERSION_ID instead of version_compare() for version checks
10 years ago
Aleksander Machniak
e35eab5f94
Fix comm_path update on task switch ( #1490041 )
10 years ago
Thomas Bruederli
06fdaf88cb
Extend rcmail::url() to produce absolute and fully qualified URLs
10 years ago
Aleksander Machniak
d01f9fc7f5
Add option (disabled_actions) to disable UI elements/actions ( #1489638 )
10 years ago
Thomas Bruederli
d4783319a0
Set 'compose_extwin' env property on every step; accept a list of URL parameters for the 'compose' command
10 years ago
Aleksander Machniak
6b0106a324
Fix some mime-type to extension mapping checks in Installer ( #1489983 )
10 years ago
Aleksander Machniak
ef51ae6d19
Reset also page header/footer on "dummy frames" - to prevent js error e.g. if some script depends on jQuery
11 years ago
Aleksander Machniak
5312b71126
Allways return current folder from quota_content()
11 years ago
Aleksander Machniak
b8bcca7033
Display quota information for current folder not INBOX only ( #1487993 )
11 years ago
Aleksander Machniak
3cc1afa1c2
Support images in HTML signatures ( #1488676 )
...
This enables image button and file browser in html editor for signatures
11 years ago
Aleksander Machniak
6d5a1b9e8f
Get rid of some rcube_config::all() calls
11 years ago
Aleksander Machniak
c5f06896d4
Display full quota information in popup ( #1485769 , #1486604 )
11 years ago
Aleksander Machniak
6fa1a0da1f
Extend get_quota() so it's possible to specify GETQUOTAROOT folder and return full quota info (including all roots and types, e.g. MESSAGE) - for future use
11 years ago
Aleksander Machniak
19138ef7a9
Make sure set_env and add_label commands are always sent first - other commands might depend on them.
...
Fixes loading message in managesieve filters frame.
11 years ago
David Carter
4a9a0e1f0f
The following:
...
program/steps/mail/compose.inc :: rcmail_store_target_selection()
program/steps/settings/edit_folder.inc :: rcmail_folder_form()
both try to localise mailbox names.
Push the logic down into the folder_selector() method which can use:
$this->config->get('show_real_foldernames')
to decide the correct default behaviour.
Clients functions and methods can still override by adding 'realnames'
named parameter to the folder_selector() call. The obvious example is
the Settings -> Preferences -> Special Folders screen.
11 years ago
Thomas Bruederli
99cdca46b7
Merge branch 'dev-accessibility'
...
Conflicts:
program/include/rcmail_output_html.php
program/js/app.js
program/js/treelist.js
program/lib/Roundcube/html.php
skins/larry/styles.css
skins/larry/templates/compose.html
11 years ago
Aleksander Machniak
c5bfe69e21
Improved video support, all tinymce related resources moved to program/js/tinymce/roundcube dir
11 years ago
Thomas Bruederli
77043f8469
Apply accessibility improvements to the settings section
11 years ago
Thomas Bruederli
d58c39126f
Some more improvemements on content structure, text representation and keyboard navigation within the mail view
11 years ago
Thomas Bruederli
22a2c5e0ee
Localize title and summary attributes; make message count display box a live area
11 years ago
Aleksander Machniak
b408e0bc53
Display a warning if popup window was blocked ( #1489618 )
11 years ago
Aleksander Machniak
646b64107a
Implemented Text Editor widget that integrates all operations on
...
textareas including HTML editor and spellchecking
11 years ago
Aleksander Machniak
731d190fec
Merge branch 'tinymce4'
...
Conflicts:
program/js/app.js
program/js/editor.js
program/js/tiny_mce/tiny_mce.js
program/steps/utils/spell_html.inc
11 years ago
Aleksander Machniak
2441264d00
Improved folders sorting by name - use Intl.Collator if supported
11 years ago
Aleksander Machniak
b21f8bd3ef
Implemented image selector dialog for TinyMCE, css fixes in classic skin for TinyMCE4
11 years ago
Aleksander Machniak
010a942025
Silence possible PHP Warning: file_exists(): open_basedir restriction in effect.
11 years ago
Aleksander Machniak
ffc74814c1
Optimize "empty" framed pages size ( #1489792 )
11 years ago
Aleksander Machniak
8f57ce136b
Code improvements
11 years ago
Aleksander Machniak
7079110c61
Allow data-* attributes ( #1489860 )
11 years ago
Aleksander Machniak
48e92fcbba
Add 'performance_stats' option, so perf. stats can be logged with disabled devel_mode
11 years ago
Thomas Bruederli
ea0866a1ad
Improve keyboard navigation on compose screen: define tabindex groups + enable keyboard controls of contacts list widget
11 years ago
Thomas Bruederli
184ed2efe2
Declare content language for proper text-to-speech support
11 years ago
Aleksander Machniak
93e12fa414
Support upload progress with session.upload_progress and PECL uploadprogress module ( #1488702 )
11 years ago
Thomas Bruederli
b0ce5c62af
Make skin meta/hierarchy information accessible for plugins ( #1488831 )
11 years ago
Thomas Bruederli
e8bcf08c72
1. Prepare core and Larry skin for improved accessibility
...
2. Implement full keyboard navigation in main mail view
11 years ago
Aleksander Machniak
204977598a
Fix invalid host validation on login ( #1489841 )
11 years ago
Aleksander Machniak
90f7aa9e39
Fix varius db_prefix issues ( #1489839 )
...
- Move DDL script execution code to rcube_db class(es).
- Improve prefix replacement code, so index names are also modified
11 years ago
Thomas Bruederli
b34d679075
Specify licenses in all javascript files and blocks to please LibreJS
11 years ago
Thomas Bruederli
8992116313
Set task variable to 'cli' when loading rcmail instance in shell scripts
11 years ago
Thomas Bruederli
eea11ecdde
Move rcube_installer class to include/rcmail_installer in order to remain accessible by the update script even if the installer directory was removed
11 years ago
Aleksander Machniak
5be6dcf0e2
Remove useless debug_level=8 and javascripts's rcube_console
11 years ago
Aleksander Machniak
a12bbbaf41
Fix invalid page title for some folders (1489804)
11 years ago
Aleksander Machniak
24e63e2218
Fix deleting/moving folders from folders with name "0", "00", etc.
11 years ago
Aleksander Machniak
cb29c97bf6
Fix lack of translation of special folders in some configurations ( #1489799 )
11 years ago
Aleksander Machniak
eddaf0b5f6
Merge branch 'master' of github.com:roundcube/roundcubemail
11 years ago
Aleksander Machniak
70c0d25684
Make sure preformance info logged in devel_mode uses locale-independent number format
11 years ago
Thomas Bruederli
188247894f
Make multi-folder message identifiers work with folders containing commas
11 years ago
Thomas Bruederli
518963d1d4
Fix _uid=* case for regular selections
11 years ago
Thomas Bruederli
f0c94a3dc3
Don't display error when moving a message to the same folder it already resides
11 years ago
Thomas Bruederli
0f48e6e660
Fix message UID extraction for _uid=*; update unread count for all affected mailboxes
11 years ago
Thomas Bruederli
0456f728ee
Make UID extraction function globally availbale (for plugins)
11 years ago
Aleksander Machniak
adaddf0b18
Improve error message on failed http connection
11 years ago
Aleksander Machniak
dc0b500e78
Removed redundant default_folders config option ( #1489737 )
...
Implemented IMAP SPECIAL-USE extension support [RFC6154] (#1487830 )
11 years ago
Thomas Bruederli
2b05c5e9ec
Render 'now' dates in short form, too
11 years ago
Aleksander Machniak
1597c8a0c2
Make sure parent folder selector always contains parent folder
...
of current folder, even if it does not exist
11 years ago
Aleksander Machniak
65f59fa3c6
Bump version number to 1.1-git
11 years ago
Aleksander Machniak
904fec7505
Add id for login submit button ( #1489676 ) - make it skin independent
11 years ago
Aleksander Machniak
5e8da2b5c9
Added toolbar button to move message in message view
11 years ago
Thomas Bruederli
ce20194266
Add setter for user object to rcube class; we already have getters for various user properties there
11 years ago
Thomas Bruederli
9ba4967a73
Create class documentation with latest phpdoc utility
11 years ago
Aleksander Machniak
3509a8e5f8
Do not use rcube_config::all()
11 years ago
Aleksander Machniak
4da065e8a9
Check/create default folders on every login not only the first ( #1489423 )
11 years ago
Aleksander Machniak
6fa5b437a4
Update to TinyMCE 4.x
11 years ago
Aleksander Machniak
0301d9347f
CS fixes
11 years ago
Aleksander Machniak
f5d2eef55c
More CS fixes, replace global $CONFIG usage with $RCMAIL->config->get()
11 years ago
Aleksander Machniak
6b2b2eca5f
Remove deprecated functions (these listed in bc.php file) usage
11 years ago
Aleksander Machniak
c562a31681
Improved minified files handling, added css minification ( #1486988 )
11 years ago
Aleksander Machniak
538e64c572
Fix Closure-compiler warnings, small code improvements
11 years ago
Aleksander Machniak
9a0153324e
Implemented menu actions to copy/move messages, added folder-selector widget ( #1484086 )
11 years ago
Aleksander Machniak
edca654ef0
Fix quota image broken in e71ceb0c98
( #1489467 )
11 years ago
Thomas Bruederli
85e60ada15
First version of the local storage compose data saving feature; some behavioral improvements and encrytion are still to be added
11 years ago
Thomas Bruederli
e46d060a4a
Fix errors in error page :-)
11 years ago
Thomas Bruederli
59cdb433a6
Avoid duplicate elements with the same id in HTML. Fixes broken icons in classic skin.
11 years ago
Thomas Bruederli
98b7b548a2
Merge branch 'dev-canned-responses'
...
Conflicts (resolved):
skins/classic/includes/settingstabs.html
skins/larry/includes/settingstabs.html
11 years ago
Aleksander Machniak
e2f90dbd4e
Do not add css files to the page when body is empty, e.g. upload iframes
11 years ago
Thomas Bruederli
c49c35ca0f
Generate settings tabs with a template object 'settingstabs' and let plugins register themselves there using the 'settings_actions' hook
11 years ago
Thomas Bruederli
9c41ba3c9e
Allow sysadmins to define static responses which are immutable for the user
11 years ago
Aleksander Machniak
b5c364273d
Merge pull request #107 from JohnDoh/multi-logo
...
allow different logos for different functions (eg. normal and print)
11 years ago
JohnDoh
7027f386cb
Add a render_response hook, similar to render_page hook.
11 years ago
Aleksander Machniak
96f59c6150
Add option force specified domain in user login - username_domain_forced ( #1489264 )
11 years ago
Thomas Bruederli
4f432f880a
Make result of rcmail::get_compose_responses() always an (indexed) array; add plugin hook for updating user prefs: 'preferences_update'
11 years ago
Thomas Bruederli
460a3eaaac
Fix indentation
11 years ago
Thomas Bruederli
0933d66b59
Keep current selection on IE browsers by adding unselectable=on to link elements
11 years ago
Thomas Bruederli
0ce2126ac9
New settings section to manage canned responses
11 years ago
Aleksander Machniak
0f5574913f
Fix "PHP Warning: Missing argument 1 for rcmail::log_login()"
11 years ago
Aleksander Machniak
060467df9d
Log also failed logins to userlogins log
11 years ago
PhilW
fb4474aca9
only call config->get() once
11 years ago
PhilW
d81d69377a
use template file name rather than special attribute
11 years ago
PhilW
a77504aeac
allow different logos for different functions (eg. normal and print)
11 years ago