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
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