fansaien
9995dddc75
Load mail layouts from view files if not found in the database ( #4904 )
...
Brings mail layouts more in line with the rest of the mail template pieces by loading from the relevant view files when the layout doesn't exist in the database.
2020-03-31 02:27:46 -06:00
Ayumi
06b1f57755
Expand the character limit of error messages in Event log list ( #4830 )
2020-01-16 20:37:38 +08:00
Ben Thomson
a53cc52752
Correctly display HTML entities in event log ( #4566 )
...
This changes the event log to use a partial for the log message which double-encodes the data. When using formatted view in the log viewer widget, the HTML entites are allowed by decoding back a step. When in raw view, the HTML entities are kept double-encoded.
Fixes #4558 .
2019-12-17 22:43:44 +08:00
Valentijn Evers
d52c59254a
Improved email client support for branded mails ( #4663 )
...
Improves compatibility with Outlook mail clients, preventing harsh word breaks. Credit to @vevers.
2019-10-14 15:33:43 +08:00
Luke Towers
17f3c6f74b
Added 'email' field type
2019-10-06 16:15:29 -06:00
Luke Towers
744263eb4b
Minor code formatting improvement
2019-09-25 11:17:59 -06:00
morph85
811b431474
Added support for SparkPost mail configuration ( #4151 )
...
Credit to @morph85
2019-09-25 10:28:17 -06:00
Ben Thomson
a59d3b83eb
Code quality clean up ( #4449 )
...
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Denis Denisov
882f317cd8
Use default options when generating thumbnails for private files ( #4353 )
...
Fixes #4351 . Credit to @w20k @redmarlin.
2019-06-11 23:15:19 -07:00
Luke Towers
aea4857eba
Use temporaryUrls for protected files if the storage driver in use supports them
2019-05-30 17:47:01 -06:00
Marc Jauvin
6c99aada0b
Truncate URLs in the request log to 191 chars ( #4287 )
...
Credit to @mjauvin
2019-04-21 18:12:30 -06:00
Sajjad Servatjoo
c5af51df25
Use the Model alias instead of a direct class reference ( #3832 )
...
Credit to @sajjad-ser
2019-04-19 15:21:44 -06:00
Luke Towers
4f0b237aad
Use an embedded Form widget to process FileUpload properties
...
Fixes #2168 , #3097 . Related: https://github.com/rainlab/translate-plugin/pull/442
2019-04-17 18:48:32 -06:00
Luke Towers
f53caf9a75
Formatting improvement
2019-01-16 12:29:28 -06:00
Luke Towers
44db59cba1
Ensure thumb is generated for protected files before getting URL to the Files controller
2019-01-15 15:11:29 -06:00
Luke Towers
4f7c5cc1e7
Get the URL of protected assets through the Backend Files controller if available.
2019-01-15 14:25:26 -06:00
Luke Towers
5e877ea2ba
Use a public property for the cache key for settings models that cache rendered CSS
...
This enables developers to modify what the cache key is for a given instance of a settings model so that they can do things like load user dependent settings values and have those values affect the rendered CSS. Previously the key being static across all instances of a given setting model would prevent that from being feasible without clearing the cache for every request.
2018-10-30 16:21:57 -06:00
TimFoerster
51d79ffaba
Make auto inline brand CSS for email layouts optional ( #3192 )
...
Fixes #3133 . Credit to @TimFoerster. Thanks to all the reviewers from #3192 .
2018-09-23 20:49:19 -06:00
Nathan van der Werf
0f0d108da0
Remove unused imports
2018-08-24 19:51:59 +02:00
Nathan van der Werf
66fa03f17e
Revert "Remove unused imports"
...
This reverts commit 742a5f415bc45819b11c77402efc114fa2f4451e.
2018-08-24 19:40:40 +02:00
Nathan van der Werf
8b6f11e6ac
Extract child instructions
2018-08-15 19:25:42 +02:00
Nathan van der Werf
fbca3bea92
Remove redundant variables
2018-08-15 19:23:12 +02:00
Nathan van der Werf
62c59a4903
Refactor ternary operators to null coalescing operators
2018-08-15 19:15:13 +02:00
Nathan van der Werf
123145fd54
Remove unnecessary parentheses
2018-08-15 18:49:52 +02:00
Nathan van der Werf
3a918ad200
Remove "null" assignments
2018-08-15 18:33:24 +02:00
Nathan van der Werf
742a5f415b
Remove unused imports
2018-08-15 18:27:36 +02:00
Luke Towers
e64a280cee
Simplified plugin management logic, switched default manage plugins switch state to positive; finalized for merging into develop
2018-02-01 20:40:04 -06:00
Christian
cc81ab25fa
Preparing for Plugin Management UX ( #3374 )
...
Initial work on Plugin Management UX improvements by @Teranode for #2714
2018-02-01 18:16:31 -06:00
Arthur Kushman
bbc33710c1
>= PHP7.0 refactoring ( #3343 )
...
* Fix loosly comparison to strict + argument types and return types for >=7.0
* Change hard-coded strings to ::class,
* Fix unit-tests failures - some relative to 7.0 phpunit env deployment
* Fix exception string + format return types
* Change string representation of new classes in traceLog to ::class
Credit to @arthurkushman
2018-01-12 00:23:20 -06:00
pikanji
54ab6f080a
Use cms.storage.uploads.disk instead of filesystem.default
...
Fixes #3332 .
FileUpload widget uploads file to the disk specified by default in config/filesystem.php instead of storage.uploads.disk in config/cms.php, if we use System\Models\File following the instruction in here.
Although we can still create another class extending System\Models\File or October\Rain\Database\Attach\File and use it as the model for attachOne/Many relation, System\Models\File seems to be the one that responsible to look at storage.uploads.disk in config/cms.php, because the existing methods are using storage.uploads.*.
Credit to @pikanji
2018-01-01 17:04:47 -06:00
Samuel Georges
712dcf9412
Use alias instead of leading slash
...
Refs d292eeb85ecb57f2aa84ab573ea6467584f268e2
2017-11-03 07:57:33 +11:00
Luke Towers
d292eeb85e
Remove ambiguity around what classes are being used
...
Fixes https://github.com/octobercms/october/issues/3184 .
2017-10-20 21:39:54 -06:00
Wellyson Freitas
dcfe59b807
Adding method to return a list of MailTemplate objects ( #3152 )
...
* Method to return a list of MailTemplate objects (for `rainlab/translate-plugin` list translatable messages). See: https://github.com/rainlab/translate-plugin/issues/87
2017-10-04 14:06:17 -06:00
samorai
d36c5ca4e8
Made hardcoded texts as translatable
2017-08-02 00:16:17 +03:00
Samuel Georges
5a417d72d3
Sending raw markdown emails
...
If raw == (string) content, then it is a markdown email (html/text are ignored -- markdown sets them)
If raw == (bool) true, then it is true raw (html/text must be supplied)
2017-07-30 00:25:11 +10:00
Samuel Georges
9cadea9b19
Code doc improvements
2017-07-27 17:35:14 +10:00
Samuel Georges
18b9253bcb
Change to mail partial syntax
2017-07-26 17:48:00 +10:00
Samuel Georges
3f0e6d8b29
Register appName
as global view variable
...
Minor mail template improvements
2017-07-23 17:20:53 +10:00
Samuel Georges
9287d926f7
Refit invite and restore mail templates
...
Fixes {% partial %} node for mail templates
Trim body var for text emails
Style code nodes
2017-07-22 22:23:22 +10:00
Samuel Georges
0a06582ce7
Layouts can be reset to default
2017-07-22 21:32:16 +10:00
Samuel Georges
261760e4c8
Reset mail brand settings to default
...
UX fixes to mailtemplates controller, active tab now remains active and redirects leverage active tab setting
2017-07-22 21:20:25 +10:00
Samuel Georges
28c30daa4f
Use safe md parsing for mail
...
Ensure backward compatibility by disabling indented code blocks for mail templates
Tweak mail brand colors to match October
2017-07-22 19:01:20 +10:00
Samuel Georges
d9e2fbe386
Apply all vars to mail brand css
2017-07-22 18:18:30 +10:00
Samuel Georges
4e5ac44999
Create remaining mail partials
...
Improve mail partial lookup method
2017-07-22 18:03:58 +10:00
Samuel Georges
31ffadbc4c
Introduce mail branding settings
2017-07-22 17:20:48 +10:00
Samuel Georges
4663531de2
Introduce mail partials + twig
...
Improve layout seeding
2017-07-19 21:14:08 +10:00
Samuel Georges
52e61f6a3b
Make fields stretchy
2017-07-15 20:01:56 +10:00
Samuel Georges
5a4e2b6b11
Email templates now use Markdown
...
Move mail template management to MailManager
2017-07-14 16:20:53 +10:00
Samuel Georges
00ddd8e2b4
string -> ::class + docs
2017-05-20 20:01:19 +10:00
Samuel Georges
fe13d8a1d1
Convert purgeable attributes to class properties
...
This fixes #2779 where developers might enter custom values in the pluginDetails() method
2017-03-31 10:03:02 +11:00