Commit Graph

86 Commits

Author SHA1 Message Date
Samuel Georges b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10: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
Samuel Georges 275463996e When toggling empty tabs: if a hidden tab was selected, select the first visible tab
Induce tab overlap using negative right margin instead (first-child tab can be hidden)
Use a slightly cleaner approach than in #1401
2015-08-29 18:42:29 +10:00
Jérémy Gaulin aa5e9c6034 Fix encryption settings to reflect laravel encryption config. 2015-08-27 20:50:13 +02:00
Samuel Georges 942a8c000e Add helper for listing file + db templates 2015-08-24 20:31:44 +10:00
Samuel Georges 24860fde99 Merge pull request #1379 from ariponce/patch-6
Update getStorageDirectory method to allow custom folder names
2015-08-22 08:48:51 +10:00
Ariel Ponce 604a7ff465 Update getStorageDirectory method to allow custom folder names
See https://github.com/octobercms/library/pull/120
2015-08-18 15:42:26 +02:00
Szabó Gergő 909b1ec374 Improve multilanguage support 2015-08-08 10:17:24 +10:00
Samuel Georges aaebea4716 Tidy up the DB Event logger, add failsafe
If there is a problem with the Model, don't try to log with a broken model (infinite loop), this can be confirmed by checking if the Model class alias exists
2015-08-01 11:15:17 +10:00
Samuel Georges 52ea4a73c8 Performance improvements, rename scopes to standard 2015-07-21 20:46:35 +10:00
Samuel Georges 733d783ada Clicking on a plugin redirects to plugin detail page
Upgrade guide can now be fetched from the server
2015-07-14 07:42:21 +10:00
Samuel Georges 6f4590404c Add logic to look for !!! in plugin updates - Fixes #785 2015-07-10 15:51:24 +10:00
Samuel Georges 78cf62cff1 Add a note about October.Drivers for mail methods that use it
Trim field partials to allow :empty selector to work
2015-06-30 15:30:14 +10:00
Samuel Georges 4e507823ea Sending mail now passes the parent data set to the layout
Renamed conflicting variable message -> content
Fixes #1070
2015-05-02 09:49:24 +10:00
Sam Georges 8aa5465b27 Fail softly, fixes https://github.com/octobercms/install/issues/67 2015-04-18 07:50:56 +10:00
Samuel Georges c54821f175 Overhaul the plugin installation process in the back-end
Themes can now be installed via the back-end
2015-04-04 17:28:51 +11:00
Samuel Georges d5c93e12e9 Don't try to log 404s without a DB 2015-03-14 15:07:57 +11:00
Samuel Georges 54fe8452e5 uploadsPath -> cms.storage.uploads.path 2015-02-23 19:55:41 +11:00
Samuel Georges 027af0dd9f Switch to our own internals for local storage
The local storage driver is not suitable because it does not apply the appropriate permissions to local files. This is a big issue especially for shared hosting where the webserver will create a file and the owner is locked from touching it. We detect the local driver and use the FileHelper class whenever a file or directory is created. Eg: if configured to apply chmod 777 then it will be fulfilled as expected.
2015-02-22 14:04:38 +11:00
Pásztor Gábor f8cb3900f0 Add validation rules for mail settings. 2015-02-21 19:55:37 +01:00
Samuel Georges dc50c9fb67 Merge pull request #927 from Flynsarmy/betterPluginCounts
Display active plugin count on updates page
2015-02-21 14:58:29 +11:00
Samuel Georges 6bf72386ee Can now prune event/request log records, add width definition to list columns 2015-02-21 13:49:32 +11:00
Samuel Georges a9a3336d11 * Build 199 *** NB: /uploads -> /storage/app/uploads
The /uploads directory has been moved to /storage/app/uploads to make way for CDN support. This directory should be moved on the file system and the config (cms.uploadsPath) updated.
2015-02-19 19:12:36 +11:00
Samuel Georges 536a391754 Add basic trigger implementation to Form Field
Implement trigger on Mail Settings page
2015-02-18 18:12:20 +11:00
Samuel Georges 7145aac457 Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
flynsarmy 2a718efd76 Add missing PR files 2015-02-11 06:22:58 +10:00
Samuel Georges beb818efa5 Merge branch 'develop' into laravel5
Conflicts:
	modules/cms/classes/CmsCompoundObject.php
	modules/system/ServiceProvider.php
2015-02-04 19:35:55 +11:00
flynsarmy 3dcd718df8 Display active plugin count on updates page 2015-02-04 13:40:01 +10:00
Samuel Georges f975769397 Fixes typo in language key 2015-01-31 14:20:19 +11:00
Carlos Arroyo a002319af1 Add Mandrill support patch 2015-01-30 15:51:25 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
gergo85 f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges cfac213217 Minor refs #798 2014-12-06 09:34:54 +11:00
Samuel Georges 97cddf6378 Merge pull request #798 from nnmer/master
added to mail settings, to send emails to log file, useful for debuging
2014-12-06 09:26:04 +11:00
Samuel Georges f0cb98e63c Fixes #145 - Plugin details now support "homepage" property 2014-11-27 17:21:30 +11:00