Commit Graph

1158 Commits

Author SHA1 Message Date
Samuel Georges e2781c5fdf URL -> Url 2017-06-02 23:34:50 +10:00
Samuel Georges 3be6dafa6b Fixes int folder name showing as 0
Fixes #2902
Code dusting
2017-06-02 20:16:26 +10:00
Samuel Georges 08f2e05b67 Download URL -> URL 2017-06-02 17:39:51 +10:00
Samuel Georges 01b11b73d8 Pretty useful trait, discoverable in API docs 2017-05-30 19:56:36 +10:00
Samuel Georges f0df1f458b Merge branch 'develop' into l55upgrade
Conflicts:
	modules/system/assets/ui/storm.css
2017-05-27 22:24:57 +10:00
Samuel Georges 63f1f0ac13 Merge pull request #2894 from gergo85/develop
Add imageWidth and imageHeight parameters
2017-05-27 22:10:48 +10:00
Szabó Gergő 92a5b9ab22 Add imageWidth and imageHeight parameters 2017-05-25 15:30:22 +02:00
Samuel Georges 2cbe849ee7 Style fixes 2017-05-22 20:01:09 +10:00
Samuel Georges 00ddd8e2b4 string -> ::class + docs 2017-05-20 20:01:19 +10:00
Samuel Georges cefa19af7d Backend UI improvements 2017-05-20 20:00:24 +10:00
Szabó Gergő 04e1f6e62e Typo
It is low priority changes. Yesterday I found them too, when I fixed the array index name issue.
2017-05-20 11:54:55 +02:00
Samuel Georges aa393dc54b Backend style improvements
This should make Windows PCs look a little nicer, albeit inconsistent with others (Sergoe UI is unique). If it's good enough for GitHub, then it's good enough for October.
All text shadows have been stripped, along with some box shading. They were barely noticeable and should speed up the UI.
2017-05-20 17:37:58 +10:00
Samuel Georges bab7976331 Merge branch 'develop' into l55upgrade 2017-05-20 09:08:09 +10:00
Szabó Gergő c597563145 Fixed spaces 2017-05-19 11:29:19 +02:00
Samuel Georges 081a32c928 Change versions for testing 2017-05-19 14:13:23 +10:00
Samuel Georges 4d1bec860d thumbnailDirectory -> thumbFolder 2017-05-16 08:47:15 +10:00
Samuel Georges d9cf7381dc Implement helper method for checking ignored path
Refs #2858
2017-05-16 07:38:38 +10:00
Samuel Georges 2a0a91486c Logic error - fixes #2654 2017-05-16 07:24:07 +10:00
Samuel Georges 5ca3c3fa35 Merge pull request #2859 from TimFoerster/patch-2
Allows 0 and ‘0’ values as default values for theme settings
2017-05-15 20:31:59 +10:00
Samuel Georges f05f4c21cf Merge pull request #2858 from TimFoerster/patch-1
Filter layout by ignored file names
2017-05-15 20:29:53 +10:00
Luke Towers a5b081b74b Make the MediaManager messages more generic 2017-05-15 00:16:28 -06:00
Luke Towers 21d4f683c3 Support custom thumbnail directory
This enables support for edge cases that require custom thumbnail directories (such as requiring authentication to view generated thumbnails).
2017-05-14 22:41:31 -06:00
Luke Towers 7a820f3c43 Remove reference to hardcoded media path
Replaces the reference to a hardcoded `/media` path when generating a local temp file path to utilize the folder name as set in `cms.storage.media.folder`.
2017-05-14 22:28:08 -06:00
Luke Towers 0f04afbea4 Recompile mediamanager assets to include the fix 2017-05-14 19:34:50 -06:00
Luke Towers 84ee4f2679 Fix for #2765
Actual changes are in `MediaManager.prototype.deleteConfirmation`, apologies for the trailing whitespace removals, my editor auto does that and I didn't feel like removing it since there shouldn't really be trailing whitespace anyways.

Fixes #2675 (and probably other potential oopsies) by skipping over the "return to parent" item in the deletion handling method. The "return to parent" item contains a reference to the folder above the current folder, which could potentially cause the entire media folder to be deleted; and would certainly remove a lot more than actually intended.
2017-05-14 19:32:57 -06:00
Samuel Georges 453e48924e Apply web middleware group for the good cookies 2017-05-13 22:18:13 +10:00
Samuel Georges 6b74efa4b0 Improves the DebugExtension
It now uses the HtmlDumper from Illuminate to elaborate on each variable when clicked
getName() no longer needed on Twig extensions
2017-05-13 10:20:18 +10:00
Samuel Georges 2b5709adb9 Bump Twig to v2, refit code 2017-05-13 09:34:20 +10:00
Samuel Georges 59d1e7736c Bump min version to PHP 7
Restore tinker command
2017-05-13 09:04:22 +10:00
Samuel Georges 5ea79489af pluck -> value
This is an odd one from Laravel, pluck is now value and lists is now pluck. We'll need a release note about this one.
2017-05-12 07:19:06 +10:00
Tim Förster 25daf546fa Allows 0 and ‘0’ values as default values for theme settings - Refs #2388 2017-05-05 11:20:10 +02:00
TimFoerster 5eb278e883 Filter layout by ignored file names
The Layouts get filtered by the filesystem definition of ignored files.
#814
2017-05-04 14:53:19 +02:00
Samuel Georges 52367d0b06 Merge pull request #2849 from gergo85/develop
Improve translations
2017-05-03 20:08:57 +10:00
Samuel Georges 349851dd11 Partials, pages and content now support drag'n'drop 2017-04-28 23:37:50 +10:00
Szabó Gergő a57e0e3080 Replace the str_replace function 2017-04-28 14:20:16 +02:00
Samuel Georges 1723070444 Merge pull request #2801 from amdad/patch-1
Prevent preloading files in advance
2017-04-28 19:30:25 +10:00
Szabó Gergő 58dfaf395e Improve translations 2017-04-28 09:01:21 +02:00
Maria Vilaró 3a2b9b1973 Improvements to Spanish translation (#2843) 2017-04-26 10:48:26 -06:00
Quezler cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Szabó Gergő 130d502f41 Update the Hungarian translation 2017-04-19 10:35:58 +02:00
Szabó Gergő 83b8f48b6f Translate the "by" word 2017-04-19 10:35:22 +02:00
Samuel Georges 27062ddfa0 Fixes folder creation and rename in asset list 2017-04-14 08:07:11 +10:00
Samuel Georges 9df40c07b8 Move extension validation to files only 2017-04-13 09:37:49 +10:00
Luke Towers a64260c2ff Merge pull request #2808 from jlongo/master
Added support/files for pt_pt language
2017-04-11 01:58:52 -06:00
José Longo 228bdb3f35 add cms dir/file for pt-pt language 2017-04-10 15:06:00 +01:00
Samuel Georges 433cf1d504 Additional security fixes 2017-04-10 16:02:05 +10:00
Samuel Georges 24c8b4368a Various security and UI fixes
The Media Manager now uses a white list approach to blocking files, we have been advised that the blacklist approach is too fragile and we agree.
Asset List and Media Manager now use $.oc.alert when displaying errors
2017-04-09 08:00:56 +10:00
amdad 5aea608e77 Prevent preloading files in advance
Files should be loaded on user click. Huge amount of data is loaded on page load, especially if many audio instances are on page. This is temporary solution. Ultimately widget should support params to match html5 audio/video tags.
2017-04-07 10:27:36 +02:00
Samuel Georges 9f809becca Fixes a bug when saving a modified template
When template has been modified outside of the CMS (mtime mismatch).
Fixes #2690
2017-04-05 22:07:15 +10:00
Alwin Drenth dbd9af3ba0 Update Dutch language for build v409 2017-04-01 15:43:14 +02:00
Anže Časar e0ce714285 Fix translatable URL caching
The same fix as https://github.com/rainlab/pages-plugin/pull/244 but for CMS pages.
2017-03-28 17:52:42 +02:00
Samuel Georges c7eb965af8 Introduce ignorePatterns to Media Library, ignoring dot files by default
Roll back some changes from #2692
2017-03-20 17:42:17 +11:00
Samuel Georges 31ba5e29bd Introduce Resources component for testing
This should be considered experimental at this stage, however this component is used in every October website we've built thus far, it makes sense for it to be included in the core. Once tested we will look at documenting it with an accompanying screencast video.
2017-03-20 17:32:20 +11:00
Samuel Georges b447b8e056 Merge pull request #2692 from ctf0/regex-hide
use regex to hide files under media manger
2017-03-19 19:28:40 +11:00
Samuel Georges 6697e00649 Backend::URL -> Backend::url 2017-03-16 17:16:03 +11:00
Samuel Georges 0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Luke Towers 0df8f55450 Translate component properties' validationMessages
Fixes #2755
2017-03-15 16:56:22 -06:00
Samuel Georges 51ac144049 Moves CMS components to directory where they belong
Improve inline docs
2017-03-16 07:00:39 +11:00
Samuel Georges b841f9e066 {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
Samuel Georges e54cf7133b Improve some inline docs in preparation for API docs 2017-03-14 19:36:17 +11:00
Samuel Georges 5f91c45f79 Implement disabled support for some form widgets
Recompile assets
Fixes #2749 (Media Finder)
Fixes #2750 (File upload)
Fixes #2751 (Rich Editor)
Refs #2724
2017-03-14 13:52:47 +11:00
Samuel Georges d642605f87 Remove old fix and spruce up code 2017-03-04 15:23:12 +11:00
Samuel Georges bc161b94f7 Menu items are supposed to be counted in 100s
Plugin authors may need to adjust their menu items from this.
2017-03-03 08:07:13 +11:00
Szabó Gergő 8cfc10280a Update Hungarian translation 2017-03-02 13:52:01 +01:00
Samuel Georges 03959fa087 Minor fix to casing 2017-02-28 17:25:44 +11:00
Samuel Georges b59dd77c12 Prefer to keep this language key unique
Just in case we decide to call it something else on the dashboard
Revert #2709 (aec4591410)
2017-02-28 17:19:06 +11:00
Vladimir Kattsov aec4591410 👌 Remove unnecessary lang string 2017-02-27 11:08:23 +03:00
Vladimir Kattsov c73e0ea811 Unhardcoded lang string in active theme widget, add russian translation 2017-02-25 12:05:08 +03:00
Samuel Georges c704ddcdf0 md5 is faster than crc32 in PHP apparently
Reference https://3v4l.org/2MAUr
2017-02-23 07:40:04 +11:00
Muah bcd75c84c0 use regex to hide files under media manger 2017-02-20 13:54:30 +02:00
Panagiotis Koursaris 7a308f1f71 Greek Language Update 2017-02-19 14:38:31 +02:00
Samuel Georges a4b3d2dd3b Demo theme patch can be removed now
This causes the unit tests to fail on some systems
2017-02-15 20:50:52 +11:00
Samuel Georges 09085c5e03 Add explanation - Refs #2674 2017-02-15 05:51:30 +11:00
Luke Towers 4bb0f216f9 Merge pull request #2674 from tschallacka/IIS-getrealpath-fix
Fix for get realPath on IIS.
2017-02-14 12:31:40 -06:00
tschallacka 65247c4ce2 Fix for get realPath on IIS.
Sometimes getRealPath is empty when requested on IIS and needs to be rebuilt manually.
2017-02-14 09:22:34 +01:00
Samuel Georges d85a6901fe Typo 2017-02-13 08:29:34 +11:00
octolit 43391688be Lithuanian translation for system/lang (#2648)
* Lithuanian translation for system/lang

* Lithuanian backend translation for cms/lang

* Lithuanian backend translation

Final and complete translation for backend/lang for Lithuanian. Also
added locale option in modules/backend/models/Preference.php for
back-end users to be able to select new locale -> Lietuvių (Lithuanian)

* reset_error translated
2017-02-07 14:56:06 -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
Samuel Georges cc1a67373c Add title to template list
Makes it easier to read longer template descriptions
2017-02-08 05:44:04 +11:00
Pásztor Gábor 8beadb1ecc Typo 2017-02-05 21:43:14 +01:00
Samuel Georges b2301a8056 Add new config cms.forceBytecodeInvalidation
Refs #2385
2017-01-31 07:23:58 +11:00
Luke Towers 8caf3c5d02 Merge pull request #2638 from gabsource/translation-fr
Update the french translation
2017-01-30 09:38:28 -06:00
Jérémy Gaulin 09ffbac2ce New translation keys for french 2017-01-30 15:38:03 +04:00
Szabó Gergő dda656e50f Minor typo 2017-01-30 10:08:09 +01:00
Szabó Gergő ebd476e00f Update the Hungarian translate 2017-01-30 10:07:55 +01:00
Samuel Georges 8b71385481 Removed "before" events
There is no use case for them (yet)
Refs #2628
2017-01-30 08:33:32 +11:00
Samuel Georges 15209a9575 Bring events in to line with dev guide
Proof class
Refs #2628
2017-01-30 08:25:43 +11:00
Samuel Georges 0f00c3a5f3 Merge pull request #2628 from Klaasie/feature/media-manager-events
Add events to Media Manager widget
2017-01-30 08:03:06 +11:00
Samuel Georges e2a5d54393 Revise #2426 - Rename preview to previewImage
This is an exotic feature so don't include in the form fields
2017-01-29 09:13:01 +11:00
Samuel Georges 8b2be062e5 Merge pull request #2426 from gergo85/develop
Set the path of theme preview image manually
2017-01-29 09:07:52 +11:00
Samuel Georges 63c0aa5384 Merge pull request #2625 from vannut/patch-1
Update /cms/en/lang.php
2017-01-28 11:00:27 +11:00
Samuel Georges 96fcb7fd79 Minor tidy 2017-01-28 07:43:24 +11:00
Klaas Poortinga 7cfb7da7d0 Add events to Media Manager widget 2017-01-24 21:20:14 +01:00
vannut 6dc5a9c48b Update lang.php 2017-01-23 23:56:14 +01:00
Samuel Georges 0251d1dd83 Merge pull request #2601 from GinoPane/develop
Belarusian Localization
2017-01-24 08:17:47 +11:00
Samuel Georges 60c322cf46 Add note from #2620 2017-01-21 11:30:19 +11:00
Luke Towers 8fcc80b9e1 Support nested components
This adds proper support for nested components by saving the value of the existing component context and restoring it after rendering the desired component. Fixes octobercms/october#2619
2017-01-20 14:34:48 -06:00
Samuel Georges 22bc5fce68 Bust OP cache for CMS template cache files
Fixes #2385
2017-01-20 07:20:08 +11:00
Samuel Georges f67c38b303 Spacing adjustments 2017-01-14 06:02:07 +11:00
Aleksey Bobkov 6e54433bc1 Implemented page sorting by title, URL and file name in the CMS back-end. Closes #84 2017-01-12 20:13:32 -08:00
Aleksey Bobkov 5415e64cf3 Added an option to suppress folders in the MediaLibrary::listFolderContents() calls. Fixes #2016 2017-01-12 17:40:08 -08:00
Aleksey Bobkov 4b3ab44bab Use minified JavaScript for the Media Manager 2017-01-11 20:13:03 -08:00
Aleksey Bobkov e3d864e0f7 Fixes item selection on touch laptops in the Media Manager. Fixes #2490 2017-01-11 20:00:23 -08:00
Sergey Karavay 22d09e50db Add Belarusian translated language files into backend, cms and system modules.
All lines translated.
2017-01-10 08:06:28 +00:00
Samuel Georges 5f4945af7c Merge pull request #2586 from octoberfa/master
Update Persian Language
2017-01-08 11:37:57 +11:00
Sajjad 3d3a788076 Update Persian Language 2016-12-30 18:14:53 +03:30
Samuel Georges 0a2b343047 Simplify system events
This pipes all event calls through a new EventEmitter trait, which substitutes the October Rain event emitter trait. The view event has been moved to this trait also.
Pass some variables by reference to allow multi-extension.
Fixes #2420
2016-12-10 09:02:06 +11:00
Samuel Georges 1bdedb5584 Add renderPartial event to match renderContent
Fixes #2519
Fixes #2533
2016-12-09 08:15:32 +11:00
Samuel Georges 8724566849 Implement support for twig macro/import
Fixes #2526
2016-12-07 20:58:25 +11:00
Samuel Georges 10326c2d63 Framework supports passing a "flash" option
This will request the Flash contents, if they are available. It also clears the flash bag contents, which is why this is an optional feature.
Introduced "ajaxValidation" event for capturing all invalid fields at once
2016-11-18 07:39:54 +11:00
Samuel Georges bc165078de Removes redundant code
The form widget label and widgetDetails() method was intended for use by the Builder plugin, since it ended up using its own internal registration system, this is not used anywhere so is removed.

Refs https://github.com/octobercms/docs/issues/200
2016-11-01 08:15:03 +11:00
Samuel Georges 55848e400c Empty CMS section when only manage_themes permission granted
Fixes #2425
2016-10-29 10:23:50 +11:00
Szabó Gergő 78d7436460 Set the path of theme preview image manually 2016-10-17 13:51:09 +02:00
egerheed 590b697574 Updates Norwegian language file for backend (#2402)
* Updates Norwegian language file for backend
2016-10-13 19:57:54 +11:00
Szabó Gergő d7f1d523f0 Translate some strings (#2395)
* Translate some strings
2016-10-11 08:29:26 +11:00
Alwin Drenth 48d38a8e11 Update Dutch language 2016-10-03 17:21:55 +02:00
Mahmut Namli 85e9cb220a Updated turkish language files for all modules (#2377)
* Backend lang file updated for turkish

* Cms lang file updated for turkish

* System-client lang file updated for turkish

* System-lang lang file updated for turkish
2016-09-19 18:13:44 +10:00
Sajjad c80675f7b4 Update Persian language 2016-09-16 18:55:31 +04:30
Szabó Gergő da254af4e6 Update the Hungarian translate (#2334)
* Update the Hungarian translate
2016-09-03 09:44:32 +10:00
Samuel Georges 8075b40bf0 Now that File facade is removed, we must apply chmod manually 2016-08-27 13:38:19 +10:00
Samuel Georges dd06cd13fa Handle cases where directory is not writable 2016-08-27 13:27:57 +10:00
Samuel Georges 1e0741e407 Fixes CodeParser concurrent access errors
Big thanks to @shina, @BearishSun and @MarcoROG for their help with finding a solution
Fixes #1250
2016-08-27 12:45:56 +10:00
Samuel Georges c8d8d4e931 Introduce new Cms helper
This is modeled after the Backend helper. Primarily used to generate URLs for the frontend, these are piped through the CmsController action. It would also be a good place to add a hook, if necessary later.
2016-08-20 14:43:49 +10:00
Samuel Georges 3698f13acb URL -> Url 2016-08-20 14:26:21 +10:00
Aleksey Bobkov f1bd0d33b8 Minor fix in the file type validation 2016-08-13 14:54:59 -07:00
Samuel Georges e64b08c697 Prevent rename media file to blocked type
Fixes #2304
2016-08-13 09:49:13 +10:00
coderwen 35e8b8f9fb Add missing Chinese translation (#2291)
Various chinese translations
2016-08-06 11:53:23 +10:00
Szabó Gergő 7f3527759c Update the Hungarian translate (#2271)
* Update the Hungarian translate
2016-08-06 11:46:29 +10:00
Samuel Georges 556b951e63 Calling dynamic methods for extended components
In the spirit of #2288
2016-08-06 09:55:42 +10:00
Samuel Georges 83a541f819 Minor code consistency 2016-07-27 17:21:38 +10:00
Samuel Georges 3ab90da6b5 Take data from form widget first, then request
URL -> Url
2016-07-27 17:17:22 +10:00
Samuel Georges 78a4067564 Make logic more explicit
This tightens up the rules of 7baea87068
2016-07-23 15:50:48 +10:00
Antony Tsioukas b64b480918 Greek Language Update 2016-07-23 12:40:32 +10:00
Samuel Georges 7baea87068 Allow AJAX handlers to pipe objects to Laravel
Treat non scalar, non array, non RedirectResponse, non null as a Laravel compatible response
This brings AJAX handlers in line with page cycles, which do the same thing if the response is not a string. However in AJAX we should treat any scalar as a "result", not just a string. For all else (where not null), let Laravel handle it as a custom response object -- could be a model for serialization, or anything compatible.
Importantly to note when a custom redirect is sent, October's workflow is completely wiped out, so any partial updates, redirects, etc. will not occur. This is a normal and fair expectation.
Fixes #1784
2016-07-23 11:57:15 +10:00
Samuel Georges 8b21ed7d6f Exception handling
Where a theme is set that does not exist
Fixes #2223
2016-07-23 11:02:26 +10:00
Samuel Georges 676196d304 Use starts_with instead of regex 2016-07-16 15:34:20 +10:00
Samuel Georges e970d80443 Align AJAX logic: merge custom response last
This is to allow overriding the standard values
Refs #2209
2016-07-16 13:11:10 +10:00
Samuel Georges 346dc91d72 Merge pull request #2216 from acasar/patch-1
Pass the router reference on beforeRoute event
2016-07-16 12:53:14 +10:00
Anže Časar 68deb59265 Pass the router reference on beforeRoute event 2016-07-15 17:05:25 +02:00
Michał Płodowski 75dbd74bca Polish language update (pl) 2016-07-11 19:34:53 +02:00
Sebastian Hilger 87cd7d8bf6 Added missing backend translations (German) (#1825)
* Added auth.title which was missing in the German language file

* Added missing backend translations to two language files

* added more German translations
2016-07-09 20:43:01 +10:00
Samuel Georges 9be8a8c0a3 Minor code tidy 2016-07-07 07:56:10 +10:00
Samuel Georges dd86a13218 Merge pull request #2140 from reg2005/patch-3
Critical bugFix in themeData.php
2016-07-07 07:54:53 +10:00
Samuel Georges 5eab01b8bd Update composer versions
Rollback 8dd2e97cf7
2016-07-06 17:15:41 +10:00
Samuel Georges fdb1d13ede Merge pull request #2134 from Herlevsen/danish_translation
Add danish translation
2016-06-25 10:39:33 +10:00
Samuel Georges cfb7207ae1 Clarify maintenance mode behavior
Refs https://youtu.be/JztbNGfi_Qk?t=9m38s
2016-06-24 06:48:16 +10:00
reg2005 953b92ba0a Critical bugFix in themeData.php
Additional check is added, without it there is a critical error "Call to a member function hasCustomData() on null"
2016-06-20 16:18:39 +03:00
Jens Herlevsen be2bdb010b Add danish translation 2016-06-17 23:48:37 +02:00
Samuel Georges 6ca828a1fa Always return an active theme and data 2016-06-16 08:01:34 +10:00
Samuel Georges ada26ed64a Improve logic and fix trimming when slash not present
Fixes #2104
2016-06-11 13:45:52 +10:00
Anderson Carlos Woss e2f30cb8a4 Update pt-br lang (#2110)
* Update pt-br lang
2016-06-11 06:34:06 +10:00
Samuel Georges d6d5a37ab1 Stable prep: Patch the theme.yaml file for latest YAML version
Fixes #1950
2016-06-06 07:33:21 +10:00
Alwin Drenth 47c038c96e Update Dutch (nl) language (#2086) 2016-06-04 12:16:17 +10:00
Samuel Georges 47f7a7cc3a Typo - fixes #2089 2016-06-04 12:14:53 +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 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 cd5a579c04 Disable clock picker AM/PM time for now
Restyle clock picker
Fixes #1989
Remove debug code
Recompile assets
2016-06-02 06:52:27 +10:00
Samuel Georges 31bebca129 Merge pull request #2084 from gergo85/develop
Update the Hungarian translation
2016-06-02 05:59:30 +10:00
Nicola Marini df625ea7d5 Update italian (it) language (#2083)
* 🇮🇹 Update ita lang

Update italian language

* 🇮🇹 Ita lang
2016-06-02 05:58:53 +10:00
vasilslavchev@gmail.com 8c93404576 Bulgarian translation (#2077)
Bulgarian translation for october modul - system. VasilSlavchev@gmail.com

Bulgarian translation for october modul - cms. VasilSlavchev@gmail.com

Bulgarian translation for october modul - backend. VasilSlavchev@gmail.com
2016-06-02 05:57:00 +10:00
Hernawan Fa'iz Abdillah 6bb5926e19 Add newline conversion to code data section too 2016-06-02 05:52:49 +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
Szabó Gergő 73ecd52def Update the Hungarian translation 2016-06-01 15:19:10 +02:00
Marc-Antoine Thevenet 812d7b3163 🇫🇷 typos & consistency (#2066)
* 🇫🇷 typos & consistency

🇫🇷 typos & consistency + closing #2042 as wrong branch

* Update lang.php

Fix following @gabsource

* Update lang.php
2016-06-01 07:50:54 +10:00
Samuel Georges 7a38d522db Remove LESS instructions, we use internal commands now
Timestamps don't need to be included in theme data
2016-06-01 05:54:35 +10:00
Lucas Martín 60602c5455 Added untranslated strings to spanish (#2073)
* Added untranslated strings to spanish

Added untranslated strings to spanish and correct commas and others

* Added untranslated strings to spanish

Added untranslated strings to spanish and correct commas

* Update lang.php

* Update client.php
2016-05-31 08:19:15 +10:00
Samuel Georges 74a6a71bcb Parameters -> Parameter
(Models should be singular)
2016-05-31 08:17:48 +10:00
Jérémy Gaulin 11a55b764b Fixes #2021 - Cropping with float values 2016-05-30 00:36:49 +02:00
Jérémy Gaulin 01140cde95 The selection mode must be applied when the popup is shown as the options are saved across requests.
Fixes #2022
2016-05-30 00:09:50 +02: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 805c0939ad Introduce two new dash widgets: welcome and active theme
System warnings have been moved to the system dash widget
Minor styling and language changes
2016-05-28 11:10:33 +10:00
Samuel Georges 8a7f762c71 Restyle system status report widget
Fixes styling on popover-danger and popover-head with customization
2016-05-28 06:49:59 +10:00
Samuel Georges 064a15af8e Merge pull request #2057 from gabsource/translation/french-review
French translation review
2016-05-27 07:53:12 +10:00
Samuel Georges ebc7929ada MaintenanceSettings -> MaintenanceSetting 2016-05-27 07:49:13 +10:00
Jérémy Gaulin df5300f1f2 French translation review 2016-05-26 23:47:25 +02:00
Samuel Georges cdb35f5070 UserPreferences -> UserPreference
(Models should be singular)
2016-05-27 07:35:32 +10:00
Szabó Gergő 5d104cfd56 Remove the unnecessary newlines
Update the event log translations

Update the Hungarian translations

Improve the logs preview translations

Translate the Editor settings page
2016-05-26 05:31:37 +10:00
Samuel Georges 887bf569dc Rollback recursion fix
This should no longer be necessary with the new third party code used in rich editor
Refs #1733
2016-05-25 05:28:00 +10:00
Tobias Kündig 8caba09993 Fixed german translation in backend module (#2036)
* Fixed german translation in backend module

* Added confirm_delete translation

* Added return_to_list translation

* Fixed typo

* Use 'Verschieben' as german translation
2016-05-24 06:04:13 +10:00
Samuel Georges d730f9af9d Merge branch 'froala' into develop 2016-05-24 05:46:39 +10:00
Samuel Georges af19341c01 "Quick Uploads" are dumped in a special folder via media manager
Refs #2005
Remove the active state on media manager table data for consistency with other view modes
2016-05-22 07:24:04 +10:00
Jérémy Gaulin e3812036da Allow usage of namespace alias in the code section a a CMS page, with
unit test. Fixes #2006
2016-05-21 16:27:15 +02:00
Samuel Georges 5a63fb292a Combine media manager global with the core october.js file
This should save 1 extra request, although it is less modular we can address it again later
2016-05-21 12:37:21 +10:00
Samuel Georges 85decc4086 Style tweaks 2016-05-21 06:57:12 +10:00
Samuel Georges 9ad20d3b8d Continuity styling changes
Remove active states from inspector
Make the close (X) icons larger on CMS tabs and Components
2016-05-20 08:33:23 +10:00
Samuel Georges 091705e70e Fixes scrollbars appearing on wide images 2016-05-20 05:20:13 +10:00
Samuel Georges 61970413a8 More backend styling
Tone down the shading in some areas
Reduce intensity of button icons
2016-05-19 07:00:34 +10:00
Samuel Georges 60893d151f Prevents CMS tabs from sitting atop save buttons 2016-05-18 08:38:46 +10:00
Samuel Georges 83ebd24bcc Side panel should be fixed by default 2016-05-18 05:01:19 +10:00
Samuel Georges 0d3566e3f6 We should purge the attributes before saving
This will allow the components to be removed
Fixes #2007
2016-05-15 16:47:10 +10:00
Szabó Gergő 5a031a2e29 Added the missing translations
Replaced the old php array syntax
Minor typo
Updated the Hungarian language
2016-05-15 05:32:06 +10:00
Breno Douglas Araujo Souza 8d1670d562 Fix error upload file in midia
rename $title to $name in cleanFileName method
2016-05-12 11:54:39 -03:00
Samuel Georges f900ed8f62 Reshuffle the base color scheme again
Restyle the component area in the CMS
2016-05-12 04:33:01 +10:00
Samuel Georges ff207b91cf onDelete -> onDeleteItem 2016-05-12 04:31:29 +10:00
Samuel Georges bab3a0ed5c Improve UI on sign in screen
Fixes a weird issue where the custom logo ratio loses its transparency
2016-05-11 05:29:34 +10:00
Samuel Georges 5d27682f25 Create new TagList form widget (Experimental)
Update Select2 to latest
2016-05-08 17:43:21 +10:00
Samuel Georges 0aaf17c98a Merge pull request #1975 from gabsource/enhance/fr-translation
Translated news keys for french locale
2016-05-08 11:18:22 +10:00
Samuel Georges 05758ed507 Merge pull request #1943 from mcustiel/bugfix-components-autowiring
Bug: Fix for components that support autowiring
2016-05-08 11:17:32 +10:00
Samuel Georges d69053481c Tweak some styles 2016-05-05 17:39:36 +10:00
Jérémy Gaulin 8e63060a11 Translated news keys for french locale 2016-04-30 12:00:20 +02:00
Samuel Georges f5633c1bc6 SQL MODE code may fail in other drivers, use Dongle instead 2016-04-30 06:22:00 +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 48090351bd Convert current core timestamp columns to nullable
Adds migrations to switch all existing timestamp fields from being
NOT NULL DEFAULT 0, to NULL DEFAULT NULL, in order to get around
issues with new default modes in MySQL that cause errors in 0 dates.
2016-04-29 19:31:17 +01:00
Samuel Georges d6a7fdc74c Reduce the wording on a bunch of messages 2016-04-29 17:36:52 +10:00
Samuel Georges 0d8a30730e Introduce scope "switch" type, allow options to be passed 2016-04-27 19:09:19 +10:00
Dave Shoreman 34f2aa7dcf Switch to custom Schema facade
Updates the Schema facade to point to the custom one added in the
library repo, and sets all existing migrations to use our own
Blueprint class instead of the one provided by the Laravel framework.
2016-04-27 08:31:58 +01:00
Samuel Georges adbde0ad09 If the cache should fail, don't bring down the whole app 2016-04-27 05:44:32 +10:00
Samuel Georges a5acbc7bff Add before/after events for component::onRun 2016-04-27 05:44:32 +10:00
Mariano Custiel aa08a83420 Fix for components that support autowiring
Removed unneeded null object and call App::make without arguments
2016-04-26 11:49:41 +02:00
Samuel Georges abaa65cc0e Cut back the design
Switch to hard lines
2016-04-22 08:21:08 +10:00
Samuel Georges 76faef7c17 Sync styles on media picker and file upload 2016-04-21 06:11:31 +10:00
Samuel Georges cfd53375ac Fixes to editor preferences 2016-04-21 04:50:05 +10:00
Lucas Martín e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Jérémy Gaulin f6b9c780e7 Added missing french tanslation keys including changes from PR #1898 with some accentuated character fixes 2016-04-16 16:14:08 +02: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 b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10:00
Samuel Georges cafd5d7ffa ComponentPartial properties should be publically accessible
Fixes caching issue when updating a component partial
2016-04-16 04:42:34 +10:00
Samuel Georges c5362652c1 Begin the process of refitting brand settings
Introduce secondary and accent colors
Switch some CSS to use the new storm utils
Other minor improvements
2016-04-05 20:04:11 +10:00
Samuel Georges f68eb3f20f Move halcyon registration to model boot
Attempt to fix issue where service provider looks at system_preferences database table that doesn't exist yet as part of the boot() method
Fixes #1897
2016-04-04 18:37:56 +10:00
Samuel Georges ca3e13ed33 Fixes issue related to PHP 5.5.12
For some reason the closure did not like static calls inside, bye bye array_map(...)
2016-04-02 17:39:23 +11:00
Samuel Georges 8dd2e97cf7 ~1.0 -> dev-develop 2016-04-01 14:07:43 +11:00
Samuel Georges b51b5a112e dev-stable -> ~1.0 2016-04-01 12:52:11 +11:00
Pásztor Gábor 9f3fcf27ed Update AssetsList 2016-03-30 18:17:18 +02:00
Pásztor Gábor 40269cb6e2 Clean up 2016-03-29 14:55:25 +02:00
Samuel Georges 5a9d62d54a Merge pull request #1882 from gpasztor87/patch-1
Clean up
2016-03-29 23:08:47 +11:00
Pásztor Gábor 324875f768 Clean up 2016-03-28 15:47:29 +02:00
Pásztor Gábor 87a5ff339e Fix error in Maintenance Settings 2016-03-28 15:41:47 +02:00
Samuel Georges 90ccef9b11 Minor 2016-03-26 12:39:34 +11:00
Samuel Georges 86d4ae491e Minor 2016-03-25 18:42:39 +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 7b32f33d9d Update to resizer class
Refs #1694
2016-03-25 17:31:22 +11:00
Samuel Georges 767ce5f2e7 Throw an exception when the file_data is missing from the request
Fixes #1712
2016-03-25 16:11:01 +11:00
Samuel Georges 3cac52afd4 Default is null, not false 2016-03-25 10:42:14 +11:00
Samuel Georges f1aa720086 Create a safe mode to disable code field in the CMS
Fixes #1756
2016-03-25 10:05:04 +11:00
Samuel Georges 680887f452 Fixes component access issue 2016-03-25 09:56:36 +11:00
Samuel Georges 7c08b10fa2 Add cms.theme.setActiveTheme event
Bring other event names in to line with convention
Complete getConfigArray method
2016-03-23 20:11:55 +11:00
Samuel Georges 0b74734fae Make room to load theme options from files
For example:
form: path/to/fields.yaml
2016-03-22 20:03:00 +11:00
Samuel Georges 31f74adb70 suppressDirectories -> ignoreDirectories
Add support for wildcards in ignoreDirectories
2016-03-21 17:19:38 +11:00
Samuel Georges 6e7fa7de88 Allow CmsObjects to define their own Twig cache key 2016-03-21 13:42:03 +11:00
Samuel Georges 4922d6d284 Retain previous listInTheme cache functionality 2016-03-20 16:04:27 +11:00
Samuel Georges fad028bc40 Add local cmsObject.fillViewBagArray event
Tidy up some inline docs
2016-03-19 13:22:08 +11:00
Samuel Georges 792b7fed2a Fixes CmsException on bad INI
No need for Cms SectionParser.php anymore
2016-03-19 10:30:42 +11:00
Samuel Georges c244aef2f8 Clean up 2016-03-18 19:54:27 +11:00
Samuel Georges 7f209d2df9 Bring Asset in line with inTheme 2016-03-17 19:28:29 +11:00
Samuel Georges 045d186960 Finishing porting old functionality
- Add validation to Cms Objects
- Add local viewBag logic
- Implement new initCacheItem process
- Implement getter for viewBag/settings properties
2016-03-17 19:25:50 +11:00
Samuel Georges dcc63baffd Theme -> Datasource 2016-03-17 19:22:37 +11:00
Samuel Georges 864d38b77e Why are these static?
...seriously, why are they static?
2016-03-12 15:49:37 +11:00
Samuel Georges 24a620e890 Convert CmsObject and CmsCompoundObject to use Halcyon
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00