Konstantin L
2b5cf64ddf
Use Config::get() instead of config() helper.
2017-01-10 15:51:26 +01:00
Samuel Georges
6af6ebe733
Added config backendForceSecure used to force HTTPS
...
Refs https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html
2016-12-17 10:16:02 +11:00
Konstantin L
f10de2fc10
Respect database tables config.
2016-12-15 20:57:17 +01:00
Samuel Georges
e8ba7fef5b
Plugin dependency definitions no longer case sensitive
...
Dependency checking is disabled for the front end to increase performance
2016-12-10 10:59:45 +11:00
Pásztor Gábor
94ab13cd8b
Fix exception message, remove some unneded imports.
2016-12-07 21:33:05 +01:00
Samuel Georges
329a275f10
Prevent code eval on cached assets
...
When the request tells the server that the asset is cached, there is no point firing up the combiner, computing the contents and affecting performance. This change should result in a nice boost in secondary page load times.
Thanks to @zerkms for pointing this out
Fixes #2474
2016-11-23 08:42:47 +11:00
Pásztor Gábor
cf1fda7437
Allow combine scss files from command.
2016-11-16 20:09:46 +01:00
Samuel Georges
f9dd5b2f57
Plugins can now define custom list column types
2016-10-21 07:15:08 +11:00
Scott Bedard
544a8c38cd
Fixing a typo
2016-09-05 08:35:43 -07:00
Samuel Georges
58c669bf1e
Exception handling when disabled.json returns null
...
Fixes #2341
2016-09-03 12:19:22 +10:00
Samuel Georges
b02e4d7ecf
Resolve paths correctly when deep hashing
...
Fixes #2270
2016-08-05 07:51:15 +10:00
Jérémy Gaulin
2be29e6d48
Fix missing sprintf in exception message (wrong signature)
2016-07-30 10:14:21 +02:00
Samuel Georges
b1a86b5f9f
Performance enhancement
...
Don't use deep handing lastMod check if we don't have to
2016-07-30 16:14:54 +10:00
Samuel Georges
3a6bf35f06
Only need to pasa a single asset now
2016-07-30 16:06:37 +10:00
Samuel Georges
cf76e4c64a
Performance enhancement
2016-07-30 16:05:37 +10:00
Samuel Georges
b08e2c4912
Introduce deep hashing on asset combiner
...
Added cms.enableAssetDeepHashing config item, disabled by default
Recompile assets
Refs #2248
Refs https://github.com/octobercms/library/pull/225
2016-07-30 15:06:50 +10:00
Samuel Georges
a50d3c1387
Merge pull request #2248 from christianWilling/fix-asset-cache
...
Fix asset cache
2016-07-30 13:01:20 +10:00
Christian Willing
2b71055677
change spaces
2016-07-27 11:49:16 +02:00
Joel Ekström Svensson
5f7b7d8c6d
Escapes exception output
...
Fixes #2198
2016-07-11 17:32:30 +02:00
Christian Willing
743d2d1b4e
added scss to core
2016-07-10 19:44:54 +02:00
Christian Willing
c343758d7c
asset cache fix
2016-07-06 11:21:15 +02:00
Samuel Georges
d7ef9b1738
Apply chmod rules to combiner cache
2016-06-18 09:23:16 +10:00
Pavel
c34b2afd9c
Removes hardcoded "Misc" settings group translation.
...
This pull request allows to properly show "Misc" setting group in other languages.
2016-06-12 14:23:42 +03:00
Samuel Georges
744d5654b3
ThemeData model now busts the [front-end] combiner cache
...
Separation of concerns, move the combiner asset variable injection logic to the cms module
Tweak readme
2016-06-03 07:22:05 +10:00
Samuel Georges
27dc84c59b
ThemeData can now pass variables to the combiner
...
Add support for fileuploads to ThemeData
Fixes #1539
2016-06-02 05:23:05 +10:00
Samuel Georges
74a6a71bcb
Parameters -> Parameter
...
(Models should be singular)
2016-05-31 08:17:48 +10:00
Dave Shoreman
c746954c03
Make sure Project ID is always included in POST ( #1728 )
...
* Make sure Project ID is always included in POST
Attempting to install a paid plugin through Artisan would return an 'authority not found' error, when the same would work fine when clicking "Update" in the backend.
This moves the code that adds the project ID into the applyHttpAttributes method to ensure it gets added for all post requests, and not just those that are actually requesting a file.
* Remove projectId from requestUpdateList method
After moving the other setter to the applyHttpAttributes method,
this one is no longer necessary as the apply method is called from
the closure inside $this->requestServerData.
2016-05-28 16:22:55 +10:00
Jérémy Gaulin
be9d65f372
Fix plugin management page - Ref #907 ( #2034 )
...
* Disable activate/deactive and delete buttons after a successful AJAX delete request.
* Allow to load disabled plugin language files for display.
2016-05-23 05:05:19 +10:00
Samuel Georges
f45c04a3aa
Minor logic error
...
Trash strict mode off during default migrations: this will occur as a one-time during the RC->stable since the code exists in the migration.
2016-04-30 06:01:51 +10:00
Samuel Georges
1c8de67610
Merge pull request #1964 from dshoreman/date-fixes
...
Date fixes
2016-04-30 05:21:32 +10:00
Samuel Georges
1608d80127
Reorganise code editor prefs
...
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Dave Shoreman
e2b110a611
Disable strict mode before running migrations
...
This will ensure strict mode is not applied while running migrations
for both modules and plugins, either when installing or removing.
We don't need to call disableStrictMode from UpdateManager::uninstall()
as it is called within the plugin removal methods, which are run first.
To force strict mode to be enabled, set 'strict' => true in the database config.
2016-04-29 19:32:11 +01:00
Samuel Georges
87a4de40de
Address serialize/unserialize issues
...
This will require a cache clear for the combiner
Ref https://davidwalsh.name/php-serialize-unserialize-issues
2016-04-16 08:22:31 +10: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
Samuel Georges
2a3a63857c
text/javascript is obsolete. Fixes #1847
2016-03-21 19:13:01 +11:00
Samuel Georges
d76863a3ec
Merge branch 'develop' into stable
...
Conflicts:
composer.json
2016-02-27 14:55:52 +11:00
pawel
c38b841eb8
fix function output in accordance to phpdoc and function naming
2016-02-25 01:11:29 +03:00
alekseybobkov
d58b6d4d51
Fixed loading permissions from plugin.yaml
2016-02-15 17:23:10 -08:00
Samuel Georges
87f4cfc91f
Use a dedicated hostname
2016-02-12 06:12:48 +11:00
Pásztor Gábor
537f637e47
Storage path
2016-01-15 10:07:39 +01:00
alekseybobkov
7d9d2176ef
Merge branch 'builder-ui' into develop
...
Conflicts:
modules/system/assets/ui/js/input.monitor.js
modules/system/assets/ui/js/inspector.editor.object.js
modules/system/assets/ui/storm-min.js
2015-12-24 14:36:31 -08:00
alekseybobkov
747ca4357f
Set default focus in popup windows, minor style fix in the flash message, minor fix in YAML-based back-end navigation initialization.
2015-12-24 14:15:02 -08:00
Vojta Svoboda
3b4f915598
Update SettingsManager.php
...
I think that format is in Vendor.Modele format e.g. RainLab.User.
2015-12-08 11:54:38 +01:00
alekseybobkov
fd33be0932
Minor update in the form change monitor API. Minor updates in the version manager to support features required for the Builder.
2015-12-06 15:01:06 -08:00
alekseybobkov
5e454ee069
Minor update in the sidebar navigation client-side code. Plugins now can load navigation menus from plugin.yaml file.
2015-11-28 19:18:08 -08:00
alekseybobkov
30eedebed9
Added the ability to load plugin permissions from the plugin.yaml file. Minor improvement in the side panel behavior.
2015-11-19 21:02:10 -08:00
Joel Ekström Svensson
7dd0d76155
Allow plugins to be symlinks
...
This change makes sure that plugins can be loaded even though they are symlinks. The change makes it easier to have custom schemes to handle version control with zero-downtime deployment.
2015-10-24 23:39:18 +02:00
Vojta Svoboda
16eb704793
Add missing PHPDoc @return tag
2015-10-17 09:17:37 +11:00