Commit Graph

154 Commits

Author SHA1 Message Date
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
Aleksander Machniak
430c000e32 Support skin localization (#5853) 2018-05-11 09:59:27 +02:00
Aleksander Machniak
f0fc42b3c4 Elastic: Try a new design for some toolbars (work in progress) 2018-05-09 13:51:44 +02:00
Aleksander Machniak
35a3abd3de Fix skin extending for assets (#5115) - take two 2018-04-24 06:32:16 +00:00
Aleksander Machniak
8355ba62fb Revert "Fix skin extending for assets (#5115)" 2018-04-23 19:53:45 +02:00
Aleksander Machniak
acfd335f14 Simplify code to set/change a skin
When changing skin in Preferences we do not use the new skin immediately,
we do this after redirect.
2018-04-20 09:14:44 +02:00
Aleksander Machniak
3f53acb64a Fix regression in skin extending for assets (commit ecde98729b)
It could have been possible that core template loaded plugin files
by mistake (if file with the same name existed), we don't want that.
2018-04-18 09:34:37 +00:00
Aleksander Machniak
c1774b6e1d Put additional footer content before "footer scripts" (for Elastic) 2018-04-16 12:59:00 +02:00
Aleksander Machniak
ecde98729b Fix skin extending for assets (#5115)
Remove redundant is_file() calls.
2018-04-15 12:21:56 +02:00
Aleksander Machniak
418c72137e Improve search_form() for external use 2018-04-11 09:08:18 +02:00
Aleksander Machniak
5832eca405 RCMAIL_CHARSET -> RCUBE_CHARSET (#6236) 2018-04-06 08:10:11 +02:00
Aleksander Machniak
73ea8f94d0 Use htmlspecialchars() with charset argument, simplify some code 2018-04-03 15:29:59 +02:00
Aleksander Machniak
b00d5c3836 Automatically localize data-label-* attributes of a template object 2018-01-18 11:33:11 +01:00