Commit Graph

166 Commits

Author SHA1 Message Date
Thomas B
9020797d0d Merge pull request #7425 from thomascube/pr-xoauth2
Add OAuth/XOauth support
2020-08-10 21:40:01 +02:00
johndoh
4c8ea71e3a Fix so setting 'login' in config['skin_logo'] does not change the favicon (#7456, #7470)
* Fix skin_logo config, again
* Elastic: add support for dark mode logos
* Add new additional_logo_types config for skins
2020-08-07 10:34:40 +02:00
Aleksander Machniak
e2c25a1949 Fix support for an error as a string in message_before_send hook (#7475) 2020-07-18 08:24:44 +02:00
Aleksander Machniak
36bf280a97 Elastic: Minimize forms/colors blink on page load 2020-07-11 10:52:24 +02:00
Aleksander Machniak
1e1ea25b6c Added special value 'email' to login_username_filter, it changes also logon input type (#7179) 2020-07-03 12:56:17 +02:00
Thomas Bruederli
1e6a2f4f49 Basic support for OAuth2 user login and IMAP/SMTP authentication
- Add "Login with XXX" button to login screen if oauth is configured
- Perform OAuth login procedure and get an access token
- Implement XOAUTH2 authentication type for IAMP and SMTP

Requires a patched and not yet released version of Net_SMTP.
2020-06-16 08:17:52 +02:00
Aleksander Machniak
ecabb1e667 Security: Fix XSS issue in template object 'username' (#7406) 2020-05-30 08:28:05 +02:00
Aleksander Machniak
da2bb8af6d Fix error when user-configured skin does not exist anymore (#7271)
We fallback to the system skin not the default one.
2020-05-23 09:44:00 +02:00
Aleksander Machniak
014659b600 CS fixes, mostly around undefined variables 2020-05-03 11:29:15 +02:00
johndoh
11aa9633b1 Improvements to options menu link template object (#7237) 2020-03-15 09:56:30 +01:00
johndoh
d51352b9cb Add support for nested if conditions (#6829)
* add support for nested if conditions
* add tests for condition parsing in templates
* make [space][slash] ending of condition objects optional (#6954)
2020-01-05 12:02:55 +01:00
Aleksander Machniak
0aa5eca1fd Fix bug where 'skins_allowed' option didn't enforce user skin preference (#7080) 2019-12-08 11:36:45 +01:00
Aleksander Machniak
8a25ddbf53 Update changelog, CS improvements 2019-11-18 15:51:36 +01:00
PhilW
75125cbac1 add unit tests for rcmail_output_html::get_template_logo 2019-11-18 15:30:22 +01:00
PhilW
97001e9221 rewrite skin_logo config 2019-11-18 15:30:22 +01:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
b10a0dbb7e Reset internal $skins property is set_skin() 2019-09-08 11:37:16 +02:00
Aleksander Machniak
4096739322 Fix including assets that exist only in minified version 2019-08-30 12:08:48 +02:00
johndoh
91398c858a Add KOI8-R to charset_selector (#6861) 2019-07-31 13:19:32 +02:00
Aleksander Machniak
a991e3181c Put charset meta specification before a title tag, add page title automatically (#6811)
I.e. templates should not specify <title>
2019-06-29 15:48:51 +02:00
Jack Cherng
e449f30eff Simplify jQuery DOM ready at the footer (#6825)
https://api.jquery.com/ready/#entry-longdesc

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-06-27 07:50:25 +02:00
Aleksander Machniak
f8ca8d1b63 Fix invalid path to "add contact" icon when using assets_path setting
This and a few other icons
2019-05-23 10:34:39 +02:00
Aleksander Machniak
cf51aead63 Larry: Fix regression where menu actions didn't work with keyboard (#6740)
For Elastic remove Space/Enter key handler on menus, so we use
default browser behaviour. Triggering a onclick programatically
causes popup window warning sometimes.
2019-05-05 12:36:40 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
f1c40c8aa9 Fix bug where attachment preview didn't work with x_frame_options=deny (#6688) 2019-03-19 13:01:53 +01:00
Aleksander Machniak
ab28c4ae26 Fix bug where external content (e.g. mail body) was passed to templates parsing code (#6640)
It should have been part of "Fix so templating system does not mess with external (e.g. email)
content (#5499)" (d02e6ea45e), but it wasn't.
2019-03-11 13:27:34 +01: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
9d51e40f9e Code cleanup 2019-02-03 09:56:25 +01:00
johndoh
8f62aed866 Create new meta and links template objects, replace favicon (#6611) 2019-02-03 09:30:47 +01:00
Aleksander Machniak
c66199ffd2 Add cache busters also to images used by templates (#6610) 2019-02-01 13:24:34 +01:00
Aleksander Machniak
e876e7b861 Add no-bs class to search form inputs
... so they don't get form-control assigned by Elastic logic
2019-01-18 09:45:48 +01:00
Aleksander Machniak
e69d1e7f04 Fix so max_message_size limit is checked also when forwarding messages as attachments (#6580) 2019-01-10 14:20:11 +01:00
Aleksander Machniak
58fd5bc060 Fix get_skin_path() so it always returns main skin path not plugin's 2018-12-28 13:05:33 +00:00
Aleksander Machniak
4a896b46a7 When requesting a plugin template ignore global skin path(s) 2018-12-03 15:35:58 +00:00
Aleksander Machniak
e4b5dc6a41 Remove old fallback to the 'default' skin 2018-12-04 09:20:39 +01:00
Aleksander Machniak
ab6b651ac9 - Make menu button inactive if all subactions are inactive (#6444)
Elastic skin only (for now)
2018-10-25 13:13:02 +02:00
Aleksander Machniak
0fa9ad11d6 Remove useless href=# on menu items 2018-10-17 09:54:42 +02:00
Aleksander Machniak
e38b477b99 Fix including plugin scripts (regression) 2018-09-21 08:48:07 +02:00
Aleksander Machniak
2c12274d38 Fix style/navigation on error page depending on authentication state (#6362) 2018-09-20 15:38:22 +02:00
Aleksander Machniak
2bf80b180c Update changelog 2018-09-17 09:09:32 +02:00
Aleksander Machniak
be675bb4a5 Make copyright and license notice a template objects 2018-07-31 08:27:39 +00:00
Aleksander Machniak
9eba51e23b Merge branch 'master' into dev/elastic 2018-06-25 07:58:09 +00:00
johndoh
4ea790ba37 Extend skin_logo allowing per skin logos (#6273) 2018-06-19 11:26:57 +02:00
Aleksander Machniak
9e129c93d7 Fix blankpage compat. with assets_path setting 2018-05-23 16:08:35 +00:00
Aleksander Machniak
199761ad12 Fix blankpage compat. with assets_path setting 2018-05-23 16:07:25 +00:00
Aleksander Machniak
750827ad65 Merge branch 'master' into dev/elastic 2018-05-21 09:34:51 +02:00
johndoh
647a7e91c6 Unify content frame (watermark) template objects (#6285)
* unify content frame (watermark) template objects
* several improvements, use existing env var for watermark url
* tighten up var parsing for contentframe template object
2018-05-18 17:25:02 +02:00
Aleksander Machniak
9746de23e8 Elastic: Small improvements in searchbar 2018-05-17 13:16:50 +00:00
Aleksander Machniak
0d62450efc Add easy way to change skin via GET param, for developers only 2018-05-17 11:02:42 +00:00
Aleksander Machniak
da5080a980 Merge branch 'master' into dev/elastic
Conflicts:
	skins/elastic/ui.js
2018-05-14 09:22:45 +02:00