119 Commits

Author SHA1 Message Date
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
Samuel Georges
0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Samuel Georges
39dc4503b2 Fixes typo - refs #2696 2017-02-23 08:04:20 +11:00
Samuel Georges
5aa351f67c System files should return fully qualified path
- Not sure how this was not fixed sooner, since there is no easy way to obtain a full qualified URL from a system file.
- If a CDN is used this method will return a URL.
- The asset combiner returns a FQ URL as well, although it didn't always, perhaps this is a relic from that time that was never retrofitted.
2017-02-18 12:23:31 +11:00
Filip Iulian Pacurar
2cfa9f0613 Messed up fields comment order 2017-02-15 14:21:01 +02:00
Sevdin Filiz
880b770ad3 Add 'logging' language variable for logging setting tab. (#2669)
"defaultTab: Logging" definition is hard coded. Changing it to pull from "system::lang.log.default_tab"
2017-02-11 15:26:01 -06:00
Samuel Georges
462c9cd4e8 Introduce theme logging + log settings
CmsObject changes can now be tracked (disabled by default)
Request logging is now disabled by default (security vector)
2017-02-08 05:44:04 +11:00
Szabó Gergő
1ef2e6cfb7 Change the codeeditor language to html 2016-11-30 15:50:44 +01:00
Samuel Georges
676196d304 Use starts_with instead of regex 2016-07-16 15:34:20 +10:00
Samuel Georges
0111100990 Shared view vars now passed to content blocks and mail templates 2016-06-04 07:26:16 +10:00
Samuel Georges
74a6a71bcb Parameters -> Parameter
(Models should be singular)
2016-05-31 08:17:48 +10:00
Samuel Georges
bb769db223 Dashboard now supports reset and make default
Added the new widgets to the add widget screen
System Parameters can now be reset
2016-05-28 14:18:25 +10:00
Samuel Georges
f0f751d523 MailSettings -> MailSetting 2016-05-27 07:51:36 +10:00
Samuel Georges
47d0a2677c UI Blocks can now be moved by dragging
Page links handler is now strict definition
Use more explicit naming for config_dashboard config
We have to use the codeeditor for mail templates for now, since froala is not playing nicely with twig
2016-05-27 05:21:50 +10:00
Szabó Gergő
6130d4bcbd Fixed the translation 2016-05-24 08:44:23 +02:00
Jérémy Gaulin
38ec5d109a Javascript plugin to beautify exceptions on the backend event log page (#2035) 2016-05-24 06:03:31 +10:00
Samuel Georges
c351ff8411 Merge pull request #1932 from ariponce/pr2
Add SES configuration for mailer
2016-04-19 05:09:54 +10:00
Samuel Georges
b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10:00
ariponce
5b8bab4e06 Add SES configuration for mailer 2016-04-13 14:10:21 +02:00
Samuel Georges
7affc4bec8 Apply layout to unregistered mail templates 2016-03-29 18:17:25 +11:00
Samuel Georges
2a7dbdd74a Merge branch 'stable' into ui
Conflicts:
	modules/cms/classes/CmsObject.php
	modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges
4ddc8055c6 Merge branch 'develop' into stable 2016-03-25 18:39:16 +11:00
Samuel Georges
0950959904 Do not show disabled plugins in the update list
Fixes #1716
2016-03-25 12:37:15 +11:00
kaserv
51d1f1a684 issue #1819 2016-03-01 10:20:20 +04:00
Samuel Georges
d34350a7b1 Merge branch 'develop' into stable 2016-01-16 10:20:21 +11:00
Pásztor Gábor
537f637e47 Storage path 2016-01-15 10:07:39 +01:00
Vojta Svoboda
c6113f81bd Update RequestLog.php
Truncate URL which should be maximum 255 lenght.

Reason: Today I got this error:

```
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'url' at row 1 (SQL: insert into `system_request_logs` (`url`, `status_code`, `count`, `updated_at`, `created_at`) values (http://www.mysite.com/docs/%C3%83%C6%92%...<too-many-chars>...%80%9A%C3%82%C2%814.pdf, 404, 1, 2016-01-02 12:16:08, 2016-01-02 12:16:08))
```
2016-01-02 12:20:19 +01:00
Samuel Georges
fa4984cbaf Minor touch up
Refs https://github.com/octobercms/october/pull/1665
2016-01-02 11:23:29 +11:00
Sergei Novikov
922cf30cb6 Fix mail subject on PHP 5.4
Check if subject set in closure

If subject setted in template, changing in closure like:

Mail::queue("template", [], function ($message) use ($subject, $email) {
	$message->subject($subject)->to($email);
});

has no effect.
2016-01-02 10:53:16 +11:00
Samuel Georges
30025a6ada Adds a refresh button to log pages, minor column tweaks 2015-11-28 11:10:06 +11:00
Vojta Svoboda
16eb704793 Add missing PHPDoc @return tag 2015-10-17 09:17:37 +11:00
Samuel Georges
3f53ae1ccf Fixes instance of WSOD 2015-09-30 05:26:12 +10:00
Samuel Georges
bbfba7dc34 Remove the use of Twig_Loader_String, added Twig::parse 2015-09-30 05:26:00 +10:00
Samuel Georges
3f7aa9f9f7 Write tests for revisionable trait 2015-09-19 05:36:58 +10:00
Samuel Georges
6f029426ff Rejigg SMTP fields 2015-08-29 18:59:45 +10:00