Commit Graph

3893 Commits

Author SHA1 Message Date
Szabó Gergő dfccf7fc4e Improve the Plugin details page 2016-10-11 10:59:30 +02:00
Szabó Gergő d7f1d523f0 Translate some strings (#2395)
* Translate some strings
2016-10-11 08:29:26 +11:00
Samuel Georges 7d13d39142 Merge pull request #2410 from vojtasvoboda/feature/cs-locale
Update CS locale
2016-10-11 08:27:13 +11:00
Samuel Georges 38c0736164 Merge pull request #2405 from adrenth/feature/dutch-language
Update Dutch language
2016-10-11 08:26:59 +11:00
Samuel Georges 126f56059a Fixes double margin on toolbar dropdowns 2016-10-08 05:51:27 +11:00
Vojta Svoboda add2df2ede Update CS locale 2016-10-06 11:19:48 +02:00
Samuel Georges 19c3c19a00 Added extended useList options, including raw output 2016-10-06 18:44:26 +11:00
Alwin Drenth 48d38a8e11 Update Dutch language 2016-10-03 17:21:55 +02:00
Samuel Georges 3c7968161a Add icon badges to lists 2016-09-30 10:36:10 +10:00
Samuel Georges 757221dfaf Tweak list alignment in callouts 2016-09-30 10:15:35 +10:00
Samuel Georges a97208c6a1 Add more detail to callout docs 2016-09-30 10:09:15 +10:00
Samuel Georges 726fe5c6d7 Add docs for static mode flash messages 2016-09-29 15:57:03 +10:00
Samuel Georges fe74fcb8e0 Comma concat all single dimension arrays, for text columns
This is useful when the attribute is a basic jsonable store and needs to be in a suitable format for "useList" export mode
2016-09-28 16:31:21 +10:00
Samuel Georges b3fe8de7fb Prevent extra config from bleeding to other definitions 2016-09-28 13:26:28 +10:00
Samuel Georges baefa3e50d Allow passing arbitrary recordUrl to relationRender 2016-09-27 20:39:29 +10:00
Samuel Georges 0d336151d2 Improvements to data persistence, rework readOnly
Fixes #2308
2016-09-27 20:21:32 +10:00
Samuel Georges 1e3f5a22ef Provides an opportunity to manipulate the field configuration.
Refs #2245
2016-09-27 17:00:26 +10:00
Samuel Georges cd0cd260b5 Make manage[form] config optional
There are times when manage form mode just isn't needed. This will make the view[list] unclickable, which is OK
2016-09-27 16:53:46 +10:00
Samuel Georges 0b345ad592 Add 'readOnly' spec to form field
Same as disabled except data is still posted back
2016-09-27 16:50:52 +10:00
Samuel Georges 30bb33b6ba Update FontAwesome to v4.6.3
Recompile assets
2016-09-26 09:27:40 +10:00
Dave Shoreman 67e682f4ff Format the formatted tab for mail logs
The default markup is built by the jQuery plugin, meaning the formatted tab just shows raw data.

This checks for a Message-ID: string in the source to identify email logs, and uses the unescaped content of the raw tab to show a formatted email.
2016-09-25 04:10:53 +01:00
Samuel Georges 3499db5e53 Unescaped raw content is an oxymoron 2016-09-25 11:59:03 +10:00
Alvaro Cánepa 636b796a09 Access settings using "dot" syntax (#2363) 2016-09-20 07:25:47 +10: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
Samuel Georges 5684cf6385 Merge pull request #2374 from octoberfa/master
Update Persian language
2016-09-18 18:00:52 +10:00
Samuel Georges 9b5851fbd5 Improves exception handling for invalid model resolver
A more specific error message is now shown when trying to resolve a model from an invalid source (eg: an array)
Fixes #2354
2016-09-18 13:44:13 +10:00
Samuel Georges cc2973e148 Merge pull request #2275 from Arekusei/develop
Added support for Many To Many polymorphic relations.(morphToMany and…
2016-09-18 12:08:57 +10:00
Sajjad c80675f7b4 Update Persian language 2016-09-16 18:55:31 +04:30
shellus 0643eea4c7 add zh-cn lang 2016-09-14 20:27:12 +08:00
Samuel Georges cc09f6eb53 Minor style fix 2016-09-14 19:00:25 +10:00
Samuel Georges 2659ae708f Add doc blocks 2016-09-09 06:16:24 +10:00
Scott Bedard 544a8c38cd Fixing a typo 2016-09-05 08:35:43 -07:00
linver a5047e0161 language zh-cn of changes 2016-09-03 13:05:28 +10:00
reg2005 b26fab725a New translation attachment_url
In Russian it will be so more correct
2016-09-03 12:59:02 +10:00
Samuel Georges a14a60881a Merge pull request #2239 from json-wong/patch-1
Create client.php for chinese.
2016-09-03 12:56:47 +10:00
Samuel Georges 58c669bf1e Exception handling when disabled.json returns null
Fixes #2341
2016-09-03 12:19:22 +10:00
Samuel Georges 6c474bcae9 Move list pagination out of table footer
Remove docs on list-unresponsive (removed a while ago)
Add topPartial and sidePartial options to list controller configuration (experimental)
2016-09-03 12:13:38 +10:00
Samuel Georges 600794c891 Fixes anchor button color in report widgets
Fixes simple list padding issue
Fixes #2342
2016-09-03 12:09:50 +10:00
Szabó Gergő da254af4e6 Update the Hungarian translate (#2334)
* Update the Hungarian translate
2016-09-03 09:44:32 +10:00
Isaev Ivan 2e0d283686 input: on paste 2016-08-29 13:44:25 +07:00
Samuel Georges 6b60673092 Don't show hover effects for rows with no links
Minor fix to head checkbox alignment
Recompile assets
2016-08-27 14:35: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
Szabó Gergő 749e4c031c Translate the remove widget dialog (#2323)
* Translate the remove widget dialog
2016-08-27 09:14:31 +10:00
Samuel Georges 89e390edcc Popup will now shake when an error occurs
Improve memory management / garbage collection
2016-08-26 20:01:04 +10:00
Samuel Georges 58ed3e12d2 Improvements to row link script
If data-control="popup" or data-request="onSomething" is attached to the anchor, utilize that functionality when clicking the row
2016-08-26 19:11:38 +10:00
Samuel Georges 4a88e32bbb Add rowlink docs 2016-08-26 18:49:37 +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
Samuel Georges 7373cf2bfb Merge pull request #2324 from alxy/patch-13
ImportModel didnt respect encoding
2016-08-19 07:30:16 +10:00
Alexander Guth 61823329c8 ImportModel didnt respect encoding
In contrast to the preview CSV reader, the actual ``ImportModel`` did not respect any encoding values provided. This leads to bugs with any non utf8-compliant characters. This PR fixes the problem by adding the appropriate encoding filter (copied from the preview reader).
2016-08-18 21:11:21 +02:00
Jack Dark a6b0d3da7d Merge remote-tracking branch 'remotes/upstream/develop' into develop
# Conflicts:
#	modules/backend/behaviors/RelationController.php
2016-08-18 02:02:43 +03:00
Samuel Georges f670526015 Merge pull request #2320 from gabsource/fix-reorder-key-name
Reorder partial should use the model key name attribute to display the ID
2016-08-17 19:57:50 +10:00
Jérémy Gaulin 198230e281 Reorder must use the model `getKey()` method (configurable key name) instead of harcoded `id` property. 2016-08-16 19:36:55 +04:00
Samuel Georges de4e0e7b14 Merge pull request #2317 from gergo85/patch-1
Translated Froala missing keys for Hungarian
2016-08-16 20:13:37 +10:00
Szabó Gergő 813fdef1d1 Translated Froala missing keys for Hungarian 2016-08-16 08:49:20 +02:00
Samuel Georges 5253073f67 Merge pull request #2314 from digital-ronin/develop
Fixed Typo
2016-08-16 07:47:17 +10:00
Jérémy Gaulin 66965e7a43 Translated missing keys 2016-08-15 22:25:55 +04:00
Daniel-Bruni Ziermann 64e1095dc2 Fixed Typo 2016-08-15 15:06:55 +02:00
Aleksey Bobkov f1bd0d33b8 Minor fix in the file type validation 2016-08-13 14:54:59 -07:00
Samuel Georges b29cb9340a Merge pull request #2277 from jimcottrell/treeview-scrolling
Add scrolling to JS TreeView when dragging sortable elements
2016-08-13 15:32:57 +10:00
Samuel Georges 5c53b10c20 Merge pull request #2295 from gabsource/fix-relation-manage-readonly
Propagate the RelationController readOnly option to the viewClickList AJAX action
2016-08-13 15:30:58 +10:00
Samuel Georges 3d69b1d7a5 Add IE edge headers for policies stuck in compat mode
Fixes #1859
2016-08-13 15:29:58 +10:00
Samuel Georges 618a035616 Apply defined constraints to view mode
In the same way it is currently applied to manage mode
Fixes #2292
2016-08-13 15:21:17 +10:00
Samuel Georges c2d2250a1c RelationController "Remove" now works with deferred bindings
This brings the logic in line with the "Add" logic, using session keys where applicable
Fixes #1150
2016-08-13 12:41:03 +10:00
Samuel Georges 1c3631bede Datepicker can use an expressed date for default value
@Carbon::parse was still failing, wrapped in do nothing try/catch instead
We don't seem to need to prefix time values anymore, since DateTimeHelper::makeCarbon should handle it
Fixes #2299
2016-08-13 11:29:01 +10:00
Samuel Georges d7b9b4f65e Fixes vague error when attribute is not fillable
Previously an error was being thrown with just the attribute name, not helpful at all.
Fixes #2302
2016-08-13 10:48:52 +10:00
Samuel Georges 6070d2f6bd Fixes unstyled tab area (Pages plugin > Edit page) 2016-08-13 10:17:49 +10:00
Samuel Georges e64b08c697 Prevent rename media file to blocked type
Fixes #2304
2016-08-13 09:49:13 +10:00
Samuel Georges 6353ded91f Brand settings can now be seeded from config 2016-08-13 07:56:11 +10:00
Samuel Georges 42a702f70a Fix the background for flex-layout panel like in RainLab.Builder
Working fix for #2260
2016-08-13 07:54:47 +10:00
Samuel Georges ee9554d846 Minor styling fix to exception page.
Clicking / selecting the exception lines no longer activates a weird textarea appearance
2016-08-11 06:50:09 +10:00
Jérémy Gaulin 7f22ba62dc Propagate the readOnly option to the viewClickList AJAX action 2016-08-08 08:35:57 +02:00
Samuel Georges c4007dd570 Recompile assets 2016-08-08 08:28:14 +10:00
Samuel Georges becc4ca5d1 Revert "Fix the background for flex-layout panel like in RainLab.Builder" 2016-08-08 08:26:17 +10:00
Samuel Georges 61ac68fd5e Allows relationRender to specify readOnly mode
Fixes #2245
2016-08-06 13:15:08 +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 c69b8077f4 Merge pull request #2284 from MarvinDurot/develop
Fix list refresh with multiple definitions after the index_onDelete method is ca…
2016-08-06 11:39:47 +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 c5bc6612d0 Merge pull request #2288 from soulshockers/patch-1
Fixed calling dynamic methods for dynamically extended widgets.
2016-08-06 09:52:48 +10:00
Samuel Georges 0b0e158009 Recompile assets
Refs #2267
2016-08-06 09:47:26 +10:00
Samuel Georges 72095c3982 Merge pull request #2219 from Herlevsen/input_preset_normal
Add 'normal' field preset type
2016-08-06 08:52:56 +10:00
soulshockers e10c162667 Fixed calling dynamic methods for dynamically extended widgets. 2016-08-05 18:51:27 +03:00
Samuel Georges b02e4d7ecf Resolve paths correctly when deep hashing
Fixes #2270
2016-08-05 07:51:15 +10:00
MarvinDurot ce1e7949d7 Fix multiple definition list refresh when index_onDelete method is called 2016-08-04 12:46:11 +02:00
Jim Cottrell 1d91c221b0 Add scrolling to JS TreeView when dragging sortable elements 2016-08-02 16:08:17 -06:00
Jack Dark aaab9c2eaa Added support for Many To Many polymorphic relations.(morphToMany and morphedByMany) 2016-08-02 17:56:49 +03:00
Samuel Georges 59c1d57b3f Revert "fix hardcoded sort order name" 2016-08-02 19:53:20 +10:00
Samuel Georges 2a4ea398f8 Merge pull request #2267 from cdarken/develop
Added ROMANIAN_MAP to modules/system/assets/ui/js/input.preset.js
2016-08-01 19:44:36 +10:00
Samuel Georges 5c2ef275ad Merge pull request #2264 from gabsource/gender-neutral-relation-fr-translation
Improved french translation for model relations
2016-08-01 19:39:49 +10:00
Samuel Georges aeb2b18393 Merge pull request #2262 from gabsource/styles-for-plugins-details-table
Styles for markdown generated tables in the plugin details view
2016-08-01 19:39:29 +10:00
Samuel Georges 48ae2631cd Merge pull request #2261 from cesarzagonel/fix-hardcoded-sort-order-name
fix hardcoded sort order name
2016-08-01 17:40:43 +10:00
Cătălin Georgescu b01f4728a5 Added ROMANIAN_MAP to modules/system/assets/ui/js/input.preset.js for proper slug generation 2016-07-31 19:11:55 +03:00
Jérémy Gaulin 564fb5d330 Changed french relation translation to something more gender neutral. 2016-07-31 14:38:15 +02:00
Jérémy Gaulin 7ca97f4825 Styles for markdown tables in the plugin details view 2016-07-31 12:20:35 +02:00
Cesar e0f5b560bc fix hardcoded sort order name 2016-07-30 18:50:32 -04:00
Samuel Georges 9c1a97309d Merge pull request #2260 from gabsource/fix-flex-layout-background
Fix the background for flex-layout panel like in RainLab.Builder
2016-07-30 22:54:14 +10:00
Jérémy Gaulin c169684489 Fix the background for flex-layout panel like in RainLab.Builder 2016-07-30 10:42:13 +02: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
Samuel Georges 96eba6febc Roll back uncommon features
Refs #2249
2016-07-30 12:04:21 +10:00
Samuel Georges ec47cba33f Merge pull request #2249 from gergo85/develop
Improve the Administrators list
2016-07-30 11:56:35 +10:00
Samuel Georges 325232fe8e Minor UI fix 2016-07-30 11:54:01 +10:00
Samuel Georges 0573e0593a Search should persist across pagination
The search term is now reset only when the record finder is first opened
Fixes #2161
2016-07-30 11:46:36 +10:00
Samuel Georges fdcfe801a7 Write tests for #2258
Prevent nulling when model fails validation
2016-07-30 10:59:25 +10:00
Samuel Georges b6ecc65275 Merge pull request #2252 from gergo85/patch-1
Translate the Loading message
2016-07-28 19:28:44 +10:00
Samuel Georges 4c84adb77e Merge pull request #2251 from LukeTowers/develop
Enable refresh on form controller requests (correct branch)
2016-07-28 19:25:55 +10:00
Szabó Gergő fa146aaea7 Translate the Loading message 2016-07-28 09:15:12 +02:00
Luke Towers b26eeed03c Enable refresh on form controller requests (correct branch)
This adds support for a redirect to the current page (a refresh) to be returned by the form controller. An example use case is adding `data-request-data="refresh:1"` to the save button on an update form. I'm using it for an update form that disables certain fields (including a relationRender partial) based on values submitted on that page. Refreshing the view after saving allows my disabling rules to take effect.
2016-07-27 09:05:12 -06:00
Szabó Gergő e956b24cce Add new columns for Administrators list 2016-07-27 15:09:00 +02:00
Szabó Gergő c37f078e29 Improve the Administrators list 2016-07-27 11:50:44 +02:00
Christian Willing 2b71055677 change spaces 2016-07-27 11:49:16 +02: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
Json 3206f6657d Create client.php 2016-07-24 21:48:27 +08:00
Jens Herlevsen fe24864d87 Add 'exact' field preset type to input.preset.js 2016-07-24 13:10:38 +02:00
Samuel Georges 78a4067564 Make logic more explicit
This tightens up the rules of 7baea87068
2016-07-23 15:50:48 +10:00
Samuel Georges c70db75d38 Pass the data set along with getOptions methods
This is useful when the model is unreliable, because it is not always populated with the relevant data set. This argument is only needed in edge cases, like when using a repeater or other split class<->data scenarios
Refs #2235
2016-07-23 15:16:57 +10:00
Samuel Georges 675a6a4224 Code improvements
Refs #2235
2016-07-23 14:22:36 +10:00
Samuel Georges 422098c9c7 Fixes inconsistency in popup.js API
Fixes #1685
2016-07-23 13:54:56 +10:00
Samuel Georges 07b0c7d0ce Merge pull request #2235 from acasar/nested-depends-on
DependsOn in repeater
2016-07-23 13:36:24 +10:00
Samuel Georges 80fb1f42cc Further code improvements
Refs #2233
2016-07-23 13:06:38 +10:00
Samuel Georges b934e8bd98 Merge pull request #2233 from acasar/fix-nested-repeater
Fix nested repeater sorting
2016-07-23 13:00:31 +10:00
Evgeny Razumov 37a5ae611b Bug fix in taglist widget with nameFrom option
Fixes #2231
2016-07-23 12:57:08 +10:00
Antony Tsioukas b64b480918 Greek Language Update 2016-07-23 12:40:32 +10:00
CSNWEB 34bd318427 Fix searching in non text fields under Postgres
Fixes #2092
2016-07-23 12:24:41 +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 584f2871b0 Update pikaday to allow disabling specific dates
Fixes #2237
2016-07-23 11:30:11 +10:00
Samuel Georges c7724f7c90 Minor rollback
Not all widget base classes will allow arg 1 from being omitted, specifically Report Widgets that define drop down options
Fixes #2229
2016-07-23 11:17:58 +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 ad67c9ab09 Buttons container has an inner toolbar
Consider this when adding new buttons without insertBefore/insertAfter definition
Fixes #2194
2016-07-23 09:53:23 +10:00
Samuel Georges 5af9fcbfdc Sidebar needs to sit above dropdown overlay
This prevents the mouseout event firing and ending the entire show
Recompile assets
Fixes #2190
2016-07-23 09:42:18 +10:00
Anže Časar 79bb4c2035 Nested DependsOn 2016-07-22 00:38:32 +02:00
Anže Časar 453096bb27 Fix nested repeater 2016-07-21 18:55:03 +02:00
Samuel Georges 676196d304 Use starts_with instead of regex 2016-07-16 15:34:20 +10:00
Samuel Georges dbdf8f780a Merge pull request #2128 from slipgrom/develop
morphMany Relation support
2016-07-16 14:08:35 +10:00
Samuel Georges 9c12160f5d october:mirror no longer experimental 2016-07-16 13:14:59 +10:00
Samuel Georges 0a3dddf569 Merge pull request #2206 from JoelESvensson/patch-2
Escapes exception output
2016-07-16 13:13:03 +10:00
Samuel Georges c3f76ce61c Merge pull request #2207 from JoelESvensson/fix-october-mirror
Only public folder should be mirrored
2016-07-16 13:11:59 +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 09adbbe069 Merge pull request #2209 from LukeTowers/develop
Moves AJAX handler response handling
2016-07-16 13:07:54 +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
Luke Towers b73811fefc Moves AJAX handler response handling
Fixes octobercms/october#2208
2016-07-13 09:51:18 -06:00
Joel E. Svensson dcfc0897fe Only public folder should be mirrored 2016-07-13 02:02:02 +02:00
Samuel Georges c8f8c5cc27 Merge pull request #2200 from mplodowski/polish-lang
Polish language update (pl)
2016-07-13 08:01:53 +10:00
Michał Płodowski bbf503f212 German datepicker translation 2016-07-11 19:55:35 +02:00
Michał Płodowski 75dbd74bca Polish language update (pl) 2016-07-11 19:34:53 +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
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 8e4142558b Merge pull request #1741 from ARH-Digital/develop
Add morphic relations to backend
2016-07-09 20:38:21 +10:00
Samuel Georges cc28b35b07 $this is not accessible in static context
Fixes #2193
2016-07-09 05:50:01 +10:00
Michał Płodowski 7b1437d026 Fix database config parsing 2016-07-08 17:23:03 +10:00
Michał Płodowski fb7e7ff164 Command for changing configuration to env syntax 2016-07-08 17:23:03 +10:00
Aleksey Bobkov 53b8df0721 Force rich editor to synchronize when a form is saved. 2016-07-06 18:27:27 -07:00
Samuel Georges 305f20e4f9 Merge pull request #2164 from Herlevsen/danish_backend
Expose danish language in backend locale dropdown
2016-07-07 08:00:26 +10:00
Samuel Georges 3aa7afcbf2 Merge pull request #2159 from side-by-side/patch-1
Added missed russian translation
2016-07-07 07:59:59 +10:00
Samuel Georges fe3b61f802 Merge pull request #2157 from prasanth-darsan/develop
error on saving attachment config when in pivot form of a relation
2016-07-07 07:59:42 +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 b4e9325a99 Merge pull request #2137 from Cladis/master
Adding Ukrainian translation of back-end
2016-07-07 07:52:08 +10:00
Félix Desjardins 10ec9030b3 FR-CA with Canadian Flag! 2016-07-06 17:15:55 -04:00
Christian Willing c343758d7c asset cache fix 2016-07-06 11:21:15 +02:00
Samuel Georges 5eab01b8bd Update composer versions
Rollback 8dd2e97cf7
2016-07-06 17:15:41 +10:00
Samuel Georges 68923d406b Update Froala to latest (2.3.3)
Recompile assets
2016-07-05 20:08:44 +10:00
Samuel Georges 4ca30f9888 Beautify saved content 2016-07-05 19:58:51 +10:00
Jens Herlevsen 40a755a6cc Expose danish language in backend locale dropdown 2016-07-03 19:36:24 +02:00
Samuel Georges 49641a31d0 Remove the dropup when there are no widgets
Fixes #2123
2016-07-03 14:53:37 +10:00
Samuel Georges 43eb8c4946 Logic error. Fixes #2154 2016-07-01 18:56:58 +10:00
Pavel ccf7a3b6e5 Added missing russian translation 2016-06-29 19:40:58 +03:00
Prasanth Darsan 6cc50b8ca8 Fixed error on saving attachment config when its put on pivot form of a relation 2016-06-28 23:17:27 +05:30
Samuel Georges b7d0c19a38 Merge pull request #2151 from freestream/fix/sv-translation
Changed and remove some english words in Swedish translation file
2016-06-27 16:44:16 +10:00
Anton Samuelsson 3a0c2c8270 Changed and remove some english words in Swedish translation file 2016-06-27 08:38:39 +02:00
Samuel Georges d8f1c0a73f Merge pull request #2126 from gustavogodoi/patch-1
Update pt-br lang
2016-06-25 10:39:54 +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
Samuel Georges d7ef9b1738 Apply chmod rules to combiner cache 2016-06-18 09:23:16 +10:00
Jens Herlevsen be2bdb010b Add danish translation 2016-06-17 23:48:37 +02:00
Roman Gerasimov 587b8a449d morphMany Relation support 2016-06-17 10:55:03 +03:00
Samuel Georges d3b2809866 htaccess now resembles october:mirror command
Added 'resources' as a potential asset storage directory name
2016-06-17 07:09:14 +10:00
gustavogodoi 623627ce24 Update pt-br lang
Fixing typo and improving.
2016-06-16 17:25:35 +01:00
Samuel Georges 6ca828a1fa Always return an active theme and data 2016-06-16 08:01:34 +10:00
Samuel Georges a544c6822b Merge pull request #2114 from side-by-side/patch-1
Removes hardcoded "Misc" settings group translation.
2016-06-15 17:19:52 +10:00
Samuel Georges bcff1d3ecd Widget classes are now extendable
Fixes #2078
Fixes #1586
2016-06-15 17:10:46 +10:00
Cladis 8388998b64 Adding Ukrainian translation 2016-06-14 23:42:35 +03: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 7d171f4453 Merge pull request #2105 from triasrahman/develop
Fix fileupload image css on sidebar
2016-06-11 15:34:01 +10:00
Samuel Georges 04c4fe9633 Fixes logic error in filter search
The search was using !$.inArray when the expression should be $.inArray === -1 since it returns the index of the value in the array.
Also tidied up the code so it is easier to read.
Fixes #1918
2016-06-11 15:09:08 +10:00
Samuel Georges d1b765fa5e Definition of a drag is now 3 pixels
Fixes #1554
2016-06-11 14:28:15 +10:00
Samuel Georges 927250e9c9 Allow customization of default rich editor buttons
Fixes #2078
Recompile assets
2016-06-11 13:51: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
Samuel Georges 536a4b382c RecordFinder can specify number of records per page
Fixes #2082
Fix spacing on composer.json
2016-06-11 13:37:36 +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 1a3bf59301 Fixes not updating list record count immediately 2016-06-10 07:43:21 +10:00
Samuel Georges 519eaad04c Include report widgets in mirroring 2016-06-08 05:46:15 +10:00
Trias Nur Rahman b2df9d63ec Fix fileupload image css on sidebar 2016-06-07 22:44:35 +07:00
Alwin Drenth 6563483b47 Update Dutch (nl) language (#2102)
* Update Dutch (nl) language

* Fix and add some Dutch (nl) translation messages
2016-06-07 08:49:46 +10:00
Samuel Georges 68c53aee34 Merge pull request #2100 from gabsource/fix/svg-error-bar-chart
Fix NaN error when values are not defined in charts widget
2016-06-07 08:49:14 +10:00
Samuel Georges 97ca0976a7 Create new october:install command
Add quick start instructions to readme
Fixes #1674
2016-06-07 07:09:01 +10:00
Jérémy Gaulin 5bfc6e63eb Prevent NaN errors when rendering charts with no values, removed trailing ; 2016-06-06 17:57:19 +02:00
Samuel Georges e98aa14a6e Fixes tests - migrations are in global namespace 2016-06-06 07:35:30 +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
Samuel Georges d7cfe61e67 Delete raw data instead of models 2016-06-06 07:25:08 +10:00
Samuel Georges 628031254d Stable prep: Reset the brand settings and backend prefs
These have been restructured since RC version and so should be reset to avoid common bugs
2016-06-06 06:40:57 +10:00
Samuel Georges 171b14c6ab Nicer error message when no DB and backend access attempt
This is for flat-file sites that don't use a database. If debug mode is on, it will show an error page with advice to set up the database. If debug mode is off, it will simply show a 404 page. Previously it was a nasty exception/plain error page.
2016-06-05 07:16:11 +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 0c2cf420fd 🇫🇷 updated (#2067)
* 🇫🇷 updated

🇫🇷 updated to line 187
+ closing #2041

* 🇫🇷 updated + fixing commas

* Update lang.php
2016-06-01 07:51:10 +10: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 bb5a44ced5 Add get/set content to code editor plugin
Fixes plain text / snippet editor issue
Fixes #2059
2016-05-29 08:54:22 +10:00
Marc-Antoine Thevenet 55e7e1e545 🇫🇷 array strings fixed following 🇬🇧 version (#2063)
🇫🇷 array strings fixed following 🇬🇧 version
2016-05-29 08:16:18 +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
Samuel Georges 45fe9b3e88 Styling improvements to the exception beautifier
Recompile assets
2016-05-28 15:10:29 +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 b171407382 Adds "dropup" variant to dropdown
Popup trigger event allows event propagation
2016-05-28 14:10:19 +10:00
Samuel Georges f4b1c586bb Clicking a non-submit type link should allow event propagation
This is useful when an AJAX request link appears inside something like a dropdown. When the link is clicked, the dropdown should close like normal, however this is not the case since the value `false` is returned; so the expected behavior doesn't occur. As a solution, `false` is no longer returned, the default behavior on the event is prevented instead, allowing the propagation to proceed as normal.
2016-05-28 13:02:54 +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
Jérémy Gaulin 69d8449a7d Reverted to HTML source cached fot the popup to prevent select bug 2016-05-27 01:15:28 +02:00
Jérémy Gaulin a888fe6e47 Fix the double-popup animation effect due to bad nesting (#2058) 2016-05-27 08:53:17 +10:00
Samuel Georges e512dc7167 Updates screen is really Updates and Plugins
Update english to be more succinct
2016-05-27 08:03:30 +10:00
Samuel Georges 17dca5c06e Fixes broken language key 2016-05-27 07:54:46 +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 f0f751d523 MailSettings -> MailSetting 2016-05-27 07:51:36 +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 e9be15cc15 Preferences -> Preference
Rename brandsetting config folder
2016-05-27 07:46:50 +10:00
Samuel Georges f676f55375 BrandSettings -> BrandSetting
(Models should be singular)
2016-05-27 07:37:49 +10:00
Samuel Georges cdb35f5070 UserPreferences -> UserPreference
(Models should be singular)
2016-05-27 07:35:32 +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
Samuel Georges ef5f89fb65 Merge pull request #2055 from gabsource/translation/french
New French translation keys
2016-05-26 09:01:56 +10:00
Samuel Georges 46480e2262 Add some notes about logic decisions
Refs #1933
2016-05-26 06:27:20 +10:00
Samuel Georges ca8d8e4b39 Streamline event names and add get/set functions 2016-05-26 06:25:02 +10:00
Samuel Georges 7177013bc9 Merge pull request #1933 from rsobon/master
UI fix for multiple dropdowns inside the same context
2016-05-26 06:24:44 +10:00
Samuel Georges abc9879ba7 Recompile assets 2016-05-26 05:32:49 +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 44f1793346 Merge pull request #2054 from gabsource/feature/improve-exception-beautifier
Improved exception beautifier plugin
2016-05-26 05:22:10 +10:00
Samuel Georges 010a769b19 Create centered loader with text
Continuity styling updates
2016-05-26 05:20:26 +10:00
Jérémy Gaulin b280e10249 New French translation keys 2016-05-25 18:54:18 +02:00
Jérémy Gaulin c2e621e504 Improved exception beautifier plugin
- Keep the raw message in another tab
- Added a button to show/hide the stacktrace
- Fixes Windows paths
2016-05-25 13:54:09 +02:00
Szabó Gergő 0838f45874 Optimized brand settings layout for HD monitors 2016-05-25 00:03:47 +02:00
Samuel Georges 7dbab1c973 Add case for modal with no header/footer
Fixes #2043
2016-05-25 07:02:50 +10:00
Samuel Georges b215201d69 Restyle datepicker 2016-05-25 06:55:56 +10:00
Samuel Georges 30f7c03718 Fixes colorpicker when used inside a popup
Fixes #1145
Refs #1021
2016-05-25 06:37:03 +10:00
Samuel Georges de7edb10be Merge pull request #2039 from gergo85/patch-1
Fixed the translation
2016-05-25 05:42:29 +10:00
Samuel Georges bfb010bc8c Merge pull request #2038 from gabsource/feature/exception-beautifier
Follow up #2035 - Improve backend exception beautifier
2016-05-25 05:42:12 +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
Samuel Georges 6b8f7b0dd9 Update MD editor to use new toolbar 2016-05-25 05:19:24 +10:00
Samuel Georges 4c50c23654 Refit the Predefined Page Links implementation
Refs #2005
2016-05-25 05:19:12 +10:00
Samuel Georges ff631ba92a Restyle the toolbar appearance
Refs #2005
2016-05-25 05:15:34 +10:00
Szabó Gergő 6130d4bcbd Fixed the translation 2016-05-24 08:44:23 +02:00
Jérémy Gaulin 873ed8b90e Improved exception beautifier plugin. Fix naming conventions. 2016-05-24 04:57:55 +02:00
Samuel Georges e20c0126ee Revive string escape helper 2016-05-24 06:25:13 +10:00
Samuel Georges 1a30c792fc HTML -> Markup 2016-05-24 06:05:11 +10:00
Szabó Gergő 6d86e44279 Add missing translation and update the Hungarian translate (#2017)
* Add missing translation

* Update the Hungarian translate

* Open the author's website in a new window

* Minor typo

* Minor change
2016-05-24 06:04:57 +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
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 c72670e450 Recompile assets 2016-05-24 05:50:33 +10:00
Samuel Georges d730f9af9d Merge branch 'froala' into develop 2016-05-24 05:46:39 +10:00
Samuel Georges 4db7cff62f Remove custom font
After some testing, sans-serif font appears to behave consistently across Windows and Mac
2016-05-24 05:46:20 +10:00
Samuel Georges ef290df3af Custom CSS classes for styling elements
Define allowed tags, allowed empty, do not wrap, remove tags
Refs #2005
2016-05-24 05:33:32 +10:00
Samuel Georges 7563670c49 Minor styling fixes on the table control 2016-05-23 17:32:20 +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
Jérémy Gaulin 09fd6ff74b Add missing LATIN_MAP preset chars and allow specific map based on configured locale (#2031)
Allow specific maps to override the defaults one based on configured backend locale.
Fixes #2026
2016-05-22 09:31:35 +10:00
Samuel Georges e3f777b192 Native Rich Editor messages should remain multi-lingual
Refs #2005
2016-05-22 07:41:38 +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
Samuel Georges 2013789b0a Merge pull request #2033 from gabsource/fix/transcode-filter-undefined-class
Fix advanced import error  Class StreamFilterTranscode not found
2016-05-22 06:47:02 +10:00
Jérémy Gaulin 3556fe2869 Fix class name used on stream_filter_register to match the refactored class name. 2016-05-21 22:35:29 +02:00
Samuel Georges bcacc326bd Update Froala to latest 2016-05-22 05:21:19 +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 a33cf2ac8c Unify z-index's across all controls
Refs #1021
2016-05-21 15:17:14 +10:00
Samuel Georges aae177e7bc Create "windex" z-index window manager
Convert all storm UI z-indexes to variables
Refs #1021
2016-05-21 14:42:10 +10:00
Samuel Georges f936ff64f8 Continuity styling changes
Remove default predefined links from rich editor
2016-05-21 13:51:11 +10:00
Samuel Georges 79446aa464 Refit the media manager implementation
Refs #2005
2016-05-21 12:38:04 +10: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 67e05bc976 Remove redactor - Refs #2005 2016-05-21 08:16:40 +10:00
Samuel Georges 115fc0c1ef Refit the Block UI logic
Previously contained in richeditor (this is a bit messy, rich editor should be generic), the block UI logic has been moved to its own "figures" plugin
2016-05-21 06:58:34 +10:00
Samuel Georges 85decc4086 Style tweaks 2016-05-21 06:57:12 +10:00
Jérémy Gaulin de3fdbd268 Fixed AbstractCSV (not imported) to CsvWriter (imported subclass) 2016-05-20 17:40:25 +02: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 066b918d39 Various styling changes
Removed the harsh title on popups
Anything considered an "overlay" now uses a box shading effect
The account menu now uses lighter shading
Introduced highlight states, allowing hover + active to behave independently
2016-05-20 06:33:16 +10:00
Samuel Georges 091705e70e Fixes scrollbars appearing on wide images 2016-05-20 05:20:13 +10:00
Samuel Georges d02a922868 Add custom toolbar button support
Style toolbar
Refs #2005
2016-05-20 04:35:40 +10:00
Samuel Georges a6ac4f50ce Create proposed Editor settings
Prevent Froala files from being added to git
2016-05-19 13:13:31 +10:00
Samuel Georges 4789616190 Initial switch from Redactor to Froala 2016-05-19 13:13:30 +10:00
Samuel Georges 3eb47e679b Remove custom font
After some testing, sans-serif font appears to behave consistently across Windows and Mac
2016-05-19 13:12:52 +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 6bae91b411 Fix poor sorting UX on tree view
This should fix the RainLab.Pages plugin sorting UX once and for all 👌
2016-05-18 08:38:15 +10:00
Samuel Georges f2e129e821 Fixes logic error
Fixes #2020
2016-05-18 05:57:08 +10:00
Samuel Georges 83ebd24bcc Side panel should be fixed by default 2016-05-18 05:01:19 +10:00
Samuel Georges 9484c400b8 Revert the flash message animation
Looks more consistent with the popup animation, also the intermittent animation jerk issue has been fixed
2016-05-17 05:19:06 +10:00
Samuel Georges 3bad70f041 Relation controller now applies the defined constraints by default
Relation controller now supports scope and conditions for the manage mode (list)
Logic has been modified across recordfinder and filter that only allows one constraint in this order (1. conditions, 2. scope, 3. defined constraints (where applicable))
Fixes #1203
2016-05-17 05:17:40 +10:00
Samuel Georges 41de93a2cb Fixes an issue where the default widgets are not loaded
Ping @ChadStrat
2016-05-16 06:41:15 +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
Jérémy GAULIN c43a460064 Allow specifying half bound daterange filter values (treat the missing one as "infinty", ie 0000-00-00 for min and 2999-12-31 for max) 2016-05-15 01:22:28 +02:00
Samuel Georges cb86e655dd Fixes disabled relation nulling value
Just like DatePicker, relation and even regular fields should omitted from the data set
The same logic should apply to hidden fields
Fixes #1827
Recompile assets
2016-05-15 06:47:28 +10:00
Gabe Blair eaea0fc541 Fix close button color modal headers and repeaters
The "close" and "delete" buttons in modal popups and repeaters inside modal popups was nigh invisible on a light background. This should fix it up.
2016-05-15 06:20:58 +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
Jérémy GAULIN e988e1a171 Fix error thrown when `$date` is not set 2016-05-14 11:50:14 +02:00
Samuel Georges 36caa651f3 Datepicker was moved to storm, so no need to load it from the widget
Recompile assets
Refs #2008
2016-05-14 16:37:55 +10:00
Jérémy GAULIN 02c000530c Display dates with backend timezone. Manipulate date with app timezone. 2016-05-14 04:14:42 +02:00
Jérémy GAULIN 578319a204 - Fix submitting null dates.
- Allow scope functions for date and date range with Carbon instances at 00:00:00 (date / daterange after) and 23:59:59 (daterange before).
 - Introduced after / before (Y-m-d 00:00:00 / 23:59:59) for date widget. Kept filtered at Y-m-d
 - Introduced afterDate / beforeDate (Y-m-d) for daterange. Kept after / before at Y-m-d 00:00:00 / 23:59:59
2016-05-14 04:14:41 +02:00
Jérémy GAULIN 7170c1460e Streamline daterange popup buttons 2016-05-14 04:14:41 +02: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 75003fb877 Fix arg / var mismatch
Refs #2001
2016-05-12 08:21:17 +10:00
Samuel Georges f3f8676479 The date format should be sourced from moment
Streamline JS formatting
Refs #1651
2016-05-12 07:02:29 +10:00
Samuel Georges 5ce890ba4a Cannot use default as a variable
Add missing date scope partials
2016-05-12 06:48:30 +10:00
Samuel Georges d50c7591cf Move the datepicker to storm
Write docs on usage
2016-05-12 06:48:10 +10:00
Samuel Georges e2647dcf64 Move moment + pickers to storm 2016-05-12 05:54:41 +10:00
Samuel Georges 37403f3ad4 Reorganise some code from #1651
Add getLang helper - Storm cannot depend on Backend
Recompile assets
2016-05-12 05:48:04 +10:00
Samuel Georges cdd280b6e1 Merge pull request #1651 from gabsource/feature/list-scope-filter-by-dates
Feature to allow filtering lists by date scopes (single date or range)
2016-05-12 04:46:06 +10: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
Jérémy Gaulin 51ac38dff7 Minor refactoring to match latest develop version 2016-05-11 17:27:52 +02:00
Jérémy Gaulin 99dba21c97 Translate filter group dropdown 'all' reset text 2016-05-11 16:13:52 +02:00
Jérémy GAULIN b08c215b72 Filter lists by dates with two new scope types (date and range) 2016-05-11 16:13:52 +02: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 5400ec7d2d Complete taglist form widget 2016-05-10 06:02:35 +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 fc1adb937c Merge pull request #1961 from canthis/translations/lv-translation
Added missing backend/  translations for Latvian language
2016-05-08 11:18:32 +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
Samuel Georges a180e37b1d Maintain key integrity. Fixes #1969 2016-05-04 19:20:41 +10:00
Jérémy Gaulin 8e63060a11 Translated news keys for french locale 2016-04-30 12:00:20 +02:00
Samuel Georges f33c3519c9 Minor style tweak 2016-04-30 07:51:01 +10: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 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
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 4511120cb6 Implement ArgonServiceProvider for detect locale
Refs #1968
2016-04-28 17:58:35 +10:00
Samuel Georges e52fa7bd33 Compat with CSV v8 2016-04-28 06:39:35 +10:00
Samuel Georges 0d451eaa78 Be less strict about formExtendModel returning a model 2016-04-28 05:47:14 +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 28a8f84692 Add "outline" buttons and restyle callouts 2016-04-27 06:54:21 +10: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
Samuel Georges 589f6d1551 Restyle flash message animation 2016-04-27 04:44:02 +10:00
SlaviX.DnB 14bfaf00e8 One more string translated in import/export section.
Missed it in previous commit.
2016-04-26 17:54:26 +03:00
SlaviX.DnB 169a93e9d4 Backend Latvian translations
Added missing strings, fixed typos.
2016-04-26 17:44:55 +03: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 ad484d56cf Fix tab styling inside preview container 2016-04-26 07:08:36 +10:00
Samuel Georges 94af417d8a Set default backend timezone to app value
Consider that some users may have already set app.timezone to their local timezone, so we don't want these values converted back to UTC
2016-04-26 07:00:08 +10:00
Samuel Georges d3efc1af4c Make the datepicker preview mode show pretty dates
Improve styles of preview form controls
2016-04-26 06:59:02 +10:00
Alexander Shapoval 2f81d2fe0b Export with utf-8 characters (#1958) 2016-04-26 06:27:33 +10:00
Samuel Georges 41fe2407be Add support for TIME db columns
Tacks on todays date so it remains compatible with the datepicker control. Without this, it returns "Invalid date"
2016-04-26 06:18:04 +10:00
Samuel Georges 733c77c3f1 Improvements to clockpicker
AM/PM time now loads correctly
Updating the input field manually is reflected in the data locker
2016-04-26 06:12:16 +10:00
Samuel Georges 39e91575af Write docs for datepicker plugin 2016-04-24 09:43:26 +10:00
Samuel Georges e772e87de5 Complete rebuild of datepicker form widget
The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference.

Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent.

There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended.
2016-04-24 09:33:39 +10:00
Samuel Georges d49cef2201 Pass the app timezone for conversions 2016-04-24 05:36:02 +10:00
Samuel Georges 706f0637f4 Move menu mode to its own tab
This should get a fancy form field soon
2016-04-23 13:17:40 +10:00
Samuel Georges 02165a8a4a Introduce a new localized date control
Added a helped Backend::DateTime() for rendering the appropriate HTML output as a <time /> tag
The meta now specifies the locale and timezone preference used here
Lists now take advantage of this to display dates relative to the timezone and language (awesome sauce)
@todo Still need to get apply this logic to the datepicker form widget
2016-04-23 13:17:04 +10:00
Samuel Georges 4df7c6704e Introduce locale variants
Australia
Canada
UK
2016-04-23 13:13:52 +10:00
Samuel Georges e75b01b878 Compiled client locale files now include moment config 2016-04-23 13:12:41 +10:00
Samuel Georges 13fb0e6388 Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
Samuel Georges 6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges 7cb9087ffb DateTime throws an invalid arg exception to prevent Twig crashing
Remove rounded search style
2016-04-23 05:29:42 +10:00
Samuel Georges 0504da41f2 Add hasFields methods
formHasOutsideFields, formHasPrimaryTabs + formHasSecondaryTabs
2016-04-23 05:13:08 +10:00
Samuel Georges 72d3fe3ebd More styling updates 2016-04-23 05:11:02 +10:00
Samuel Georges abaa65cc0e Cut back the design
Switch to hard lines
2016-04-22 08:21:08 +10:00
Alwin Drenth db9dc40ab0 Fix redirect to wrong url after creating layout #1905 2016-04-22 04:52:06 +10:00
Samuel Georges 76faef7c17 Sync styles on media picker and file upload 2016-04-21 06:11:31 +10:00
Alexander Guth 13276a500e Add conditions config to RecordFinder
Fixes #1524
2016-04-21 05:36:53 +10:00
Samuel Georges f2d8fcaf14 Record finder now supports scopes and search options 2016-04-21 05:36:29 +10:00
Samuel Georges 51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Samuel Georges cfd53375ac Fixes to editor preferences 2016-04-21 04:50:05 +10:00
Samuel Georges 788ffbb417 Minor fix to custom list search scope 2016-04-20 05:29:24 +10:00
Samuel Georges bff35e5f1a Lists can now define search scope or mode (see docs) 2016-04-19 19:54:22 +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
Samuel Georges be7b3b3009 Remove the cray defaults on datepicker
Recompile assets
Fixes #1920
2016-04-19 05:59:32 +10:00
jfoliveira 6a897b1072 Datepicker: allow specify display format (#1919)
* Apply datepicker `format` property reading from config.

* Using the format property on partial.
2016-04-19 05:11:40 +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
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 cb6cf45156 Fixes issue where Cache helper does not flush framework 2016-04-16 08:10:14 +10:00
Samuel Georges b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10:00
Samuel Georges 42534b2e9d Add the ability to customize the main menu
Fix radio styles
2016-04-16 05:11:14 +10:00
Samuel Georges 9fd0681ee7 Refit backend brand settings to latest UI changes 2016-04-16 04:43:34 +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 b15cdadd99 Restrict scrolling to thead
Fixes fluidity issue on Apple trackpad
We can now use combo scroll for Windows users / more obvious UX
2016-04-14 05:24:19 +10:00
Rafał Soboń 7ed50690a2 UI fix for multiple dropdowns inside the same context 2016-04-13 15:21:30 +02:00
ariponce 5b8bab4e06 Add SES configuration for mailer 2016-04-13 14:10:21 +02:00
Samuel Georges 6c30e542a7 Replace the mobile list control with drag scroll implementation
Disable dragging if there is nothing to drag to
Fixes accidental list.rowlink clicks when dragging
List headers no longer wrap
2016-04-13 18:18:29 +10:00
Samuel Georges ba57dd8993 clearAssetDefinitions -> flushAssets 2016-04-12 18:04:15 +10:00
Samuel Georges d652c854b1 Lots of small UI fixes 2016-04-12 18:03:55 +10:00
Samuel Georges cff42387ae Minor fix to checkbox align class 2016-04-12 06:24:04 +10:00
Samuel Georges b02f0c2230 Trial Noto font, adjust primary tab sizing
Noto appears to be much easier to read and is more consistent for other languages. Eg, on windows, sans-serif appears to change completely when mb characters are introduced.
2016-04-11 04:59:59 +10:00
Samuel Georges 04fc95bac3 Return button on class 2016-04-08 22:18:53 +10:00
Samuel Georges 4043921834 Adds extra flavor to buttons
Reduce font sizes a bit
Fixes rogue hand from appearing when clicking drag scroll enabled elements
2016-04-07 20:17:48 +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 03c7cbbeed Adds an API to the sidenav script for setting the active item
setActiveItem function
This will be useful for setting a custom active class
2016-04-05 20:02:25 +10:00
Samuel Georges 7a33146348 Add CSS utilities to Storm lib 2016-04-05 20:00:57 +10:00
Samuel Georges ed6e01c2c5 File model is now abstract 2016-04-05 19:47:06 +10:00
Samuel Georges 594f9958cb Rebuilt the mobile navigation. 2016-04-04 22:12:19 +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 838f836051 Revert the nav to the classic style
Various sizing fixes
Set the standard padding to 20px
Mute system links unless hover or active
Fixes an issue where the scroll indicator appears always on fancy layout, these containers cannot use padding!
Refs #1895
2016-04-04 18:37:55 +10:00
Vojta Svoboda 28a859d9ae Fix cs_CZ locale typo 2016-04-03 10:55:24 +02: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 a548d6ee56 Merge remote-tracking branch 'remotes/origin/stable' into develop
Conflicts:
	modules/backend/lang/en/lang.php
	modules/backend/lang/fr/lang.php
2016-04-01 13:00:32 +11:00
Samuel Georges b51b5a112e dev-stable -> ~1.0 2016-04-01 12:52:11 +11:00
Samuel Georges ea5193e4c8 Merge pull request #1887 from gpasztor87/ui
Update AssetList + Clean up
2016-03-31 07:41:05 +11:00
Pásztor Gábor ef228c4915 Minro style improvements 2016-03-30 21:29:30 +02: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
Samuel Georges 76e16e8001 Merge pull request #1879 from gpasztor87/ui
Fix error in Maintenance Settings
2016-03-29 19:18:11 +11:00
Samuel Georges 7affc4bec8 Apply layout to unregistered mail templates 2016-03-29 18:17:25 +11:00
Samuel Georges 11cf46008f Adds core changelog to update screen 2016-03-29 17:44:48 +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 2ac23cc3c7 More peer review of #1856
Separation of concerns, the language file shouldn't really be treated as a data source for the supported encoding options.
2016-03-26 14:28:34 +11:00
Samuel Georges a035acdc2c Tidy up some logic, restore firstRowTitles setting
Refs #1856
2016-03-26 14:10:05 +11:00
Jérémy Gaulin 2a60e34558 Import options to configure the CSV reader + patch to prevent unfriendly error to be thrown due to bad import source file encoding (on AJAX request) 2016-03-26 12:54:13 +11:00
Samuel Georges 1785c6c0d8 pikaday -> datepicker 2016-03-26 12:53:45 +11:00
Samuel Georges 8e14b9b649 Recompile assets 2016-03-26 12:40:55 +11:00
Jérémy GAULIN f836b43bb3 Pikaday translation 2016-03-26 12:39:57 +11:00
Samuel Georges 90ccef9b11 Minor 2016-03-26 12:39:34 +11:00
Samuel Georges 6f6a3cc78c Merge pull request #1855 from gabsource/enchancement/import-export-french-translation
French translations for import/export errors strings
2016-03-26 12:38:42 +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 0aef151d9a Add showSearch option to dropdown
This is a highly specific option, so we shouldn't add it to the FormField class itself
2016-03-25 18:21:58 +11:00
Samuel Georges 5789d0242f Fixes single image uploader breaking with comment
Comment appears to the right of the uploader, should be under it
2016-03-25 18:21:21 +11:00
Samuel Georges 23f4d40ef2 Merge common functionality in to FormModelWidget 2016-03-25 18:01:58 +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 a585fe3316 Share pivot|list title logic
We already had a key for this... spooky!
Refs #1755
2016-03-25 14:24:38 +11:00
Samuel Georges e19ae42e45 (Rollback) Keep instances to themselves 2016-03-25 14:17:13 +11:00
Samuel Georges 762c5e754b Switch the manage popup title according to the button pressed
Fixes #1755
2016-03-25 14:03:11 +11:00
Samuel Georges 4fe6cc6509 Adds a clearInternalCache method to SettingsModels
Fixes #1815
2016-03-25 12:44:42 +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 010cd403f5 Detail column now supports lengthy updates
Fixes #1816
2016-03-25 10:59:17 +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 484579ac40 Sreamline events in richeditor
Add nwe event for visual mode (when visual mode is activated from code mode)
Always use spaces in redactor
2016-03-23 20:10: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 2a3a63857c text/javascript is obsolete. Fixes #1847 2016-03-21 19:13:01 +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
Jérémy Gaulin 8debdf023a Externalized import/export errors strings + french translation 2016-03-20 22:22:36 +01: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
leocavalcante f5f7ed08e4 Make available to extends Lists records 2016-03-18 21:05:23 -03: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 e9c7e6b9d1 No it is not safe to share the alias and field name...
The field name could be nested, for example: user[data]
Using this as an alias is user[data]::onDoSomething
Resulting in an invalid AJAX handler name
2016-03-17 19:50:34 +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
Samuel Georges 855a97b35e Set the default theme as part of the boot process
Themes can also register themselves gracefully with Halycon after loading
2016-03-12 12:14:19 +11:00
Samuel Georges 1bc647f978 Decouple Asset object
Add extensible to ComponentPartial
2016-03-12 10:17:07 +11:00
Samuel Georges c34f72b821 Decouple ComponentPartial from CmsObject 2016-03-09 21:01:57 +11:00
Samuel Georges d65bc5c2ad Introduce a CmsObject interface
This will be useful to decouple ComponentPartial and Asset objects from their Halcyon counterparts
An Asset is technically not a template, it may be hosted via a CDN or others
A ComponentPartial is also different, it is read only and doesn't require caching
2016-03-09 20:51:04 +11:00
Samuel Georges 3db2809fc4 Register Halcyon Service Provider 2016-03-07 18:46:45 +11:00
Scott Bedard fcfcb96d0d Add ctrl+click support for rowlinks
Ctrl+click is supported pretty well in the backend, this adds it to rowlinks as well.
2016-03-06 02:29:57 -07:00
Samuel Georges 07132ffbd6 Returns original setter functionality
To protected things like $this->page->title = "foo";
Template -> Bracket
2016-03-05 10:49:24 +11:00
Pásztor Gábor ed1c84b8b1 PHPDoc fixes. 2016-03-04 16:50:58 +01:00
alekseybobkov aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
alekseybobkov 9956870c38 Minor update in the top menu styles 2016-03-02 21:34:39 -08:00
alekseybobkov 27c7f4d0b8 Fixes a bug with inserting Media objects to the rich editor in Safari. Closes #1733 2016-03-02 21:10:27 -08:00
Samuel Georges 090b39bdc5 Fixes font size on collapse button 2016-03-02 18:22:49 +11:00
Samuel Georges 94c6ef4da0 Let Cms Objects use behaviors 2016-03-02 18:13:00 +11:00
Samuel Georges 27d32d35ea Allow vertical scroll to act as horizontal
Not everyone has a trackpad and can scroll horizontally, so vertical scroll can substitute here
2016-03-02 18:06:46 +11:00
Samuel Georges 852785960b Tweak main menu to behave more like tiles 2016-03-02 18:05:52 +11:00
kaserv 51d1f1a684 issue #1819 2016-03-01 10:20:20 +04:00
alekseybobkov 387c75c5cd Fixed a bug where changing a letter case in a folder name in Media Manager deletes the folder. Added ability to move files and folders to the root directory in Media Manager. Fixed a bug where numeric folder names are displayed incorrectly in the folder path in Media Manager. Fixes #1765, fixes #1173, fixes #1085. 2016-02-29 21:50:07 -08:00
Samuel Georges 9c59dd58d3 Trial tooltip nav, recompile assets 2016-03-01 08:59:20 +11:00
Samuel Georges 7c6e3b1360 Remove old code 2016-03-01 07:54:05 +11:00
Samuel Georges 6d60d486a9 Fixes responsive nav taking up more room than it should 2016-03-01 07:42:02 +11:00
Samuel Georges 1241f584d0 Merge remote-tracking branch 'remotes/origin/stable' into ui 2016-03-01 07:02:07 +11:00
Samuel Georges 3a483c4129 Rollback "fix" color button close in modal
Not enough information on why this is needed, it causes component close icon to appear black
2016-02-29 18:12:27 +11:00
Samuel Georges fd16f38b11 Implement file definitions (extensions + ignore files)
Block "unsafe" extensions from being uploaded to the Media manager
Fixes #1801
2016-02-29 18:12:26 +11:00
alekseybobkov 00ced6c79f UI update 2016-02-28 19:52:21 -08:00
Samuel Georges 136ec18084 This allows AJAX to function on maintenance and 404 pages 2016-02-27 22:39:26 +11:00
Samuel Georges 63451aab50 Fixes validatePath for Windows
(DIRECTORY_SEPARATOR is normalized in code above)
2016-02-27 15:04:07 +11:00
Samuel Georges d76863a3ec Merge branch 'develop' into stable
Conflicts:
	composer.json
2016-02-27 14:55:52 +11:00
Samuel Georges 8e9ae8e53e Clean up from #1631
- Files in the media library can now contain two dots
- Retina Images Support
2016-02-27 14:49:38 +11:00
Samuel Georges 423360b2d2 Merge pull request #1631 from JoelESvensson/develop
Files in the media library can now contain two dots
2016-02-27 14:36:38 +11:00
Samuel Georges b88e78ffb4 Minor 2016-02-27 14:22:56 +11:00
brenodouglas 2caf2d6f84 Modify in less file icon close 2016-02-27 14:20:00 +11:00
Breno Douglas Araujo Souza ec03b7b2f8 Access paramater in onStart method in the partial
Variables passed in parameter partils not accessed in onStart method in the partial.

With merged vars before render partial, stays like this::

```php
function onStart() {
   $this['param'];
}
```
2016-02-27 14:18:22 +11:00
breno cc45c499ed fix color button close in modal 2016-02-27 14:18:21 +11:00
sNuuFix a724a3aeb2 Fixed framework extra stylesheets for validator.w3.org HTML5 validation. 2016-02-27 14:13:20 +11:00
Samuel Georges fbed1dd2ed Merge pull request #1799 from mcustiel/feature-component-autowiring
Added the ability to inject dependencies into components
2016-02-27 14:09:14 +11:00
Samuel Georges d58a8478f6 FTFY Refs #1796
The event should come after the logic as per the developer guidelines. If the event comes before the logic, it should be called beforeLogin. In this case, beforeLogin doesn't make sense, so just move the event after the parent::afterLogin call.
2016-02-27 14:07:21 +11:00
Samuel Georges 48148cfcd0 Merge pull request #1796 from filipac/patch-1
Add a new event on login - backend.user.login
2016-02-27 14:06:18 +11:00
Samuel Georges b9a4808c28 Merge pull request #1800 from mrmlnc/develop
Update Russian localization to the current build number
2016-02-27 14:01:29 +11:00
Samuel Georges 2fc0db5732 Merge pull request #1804 from haegemon/develop
fix output of function isDisabled in accordance to phpdoc and function naming
2016-02-27 14:01:10 +11:00
Samuel Georges fa61ef2df9 Fortify index_onDelete a little more
Refs #1805
2016-02-27 13:58:59 +11:00
Samuel Georges 65eac15b00 Merge pull request #1805 from gpasztor87/develop
Add index_onDelete method to ListController behavior.
2016-02-27 13:16:44 +11:00
Samuel Georges 98eb4f8239 Add support for "relation" with Tree models
- This makes the list slightly more efficient for small collections, less efficient for larger collections. If this becomes a problem in future we may need to look at a solution that grabs all the root nodes to start, then lazy loads any expanded nodes as secondary AJAX requests.
- Write tests for the Tree trait improvements
Fixes #1647
2016-02-27 11:29:07 +11:00
Samuel Georges 21f3ac93c1 Add support for HTML comments
Fixes #1808
2016-02-27 09:46:00 +11:00
Samuel Georges 46e70385e2 The timeout looks bad when there are no widgets 2016-02-25 19:04:59 +11:00
Samuel Georges c736643202 Tweak the dash loader @alekseybobkov
The leaf is too hard to customize (white label considerations)
Use a white container with subtle fade after loading
Introduce rspin (reverse spin) animation, not used, but may come in handy
2016-02-25 18:57:13 +11:00
Samuel Georges f6d76fade6 Moved dashboard css from storm to backend
Dashboard is a specific part of the backend and storm should stand alone from this
2016-02-25 18:07:25 +11:00
Pásztor Gábor 984674d987 Missing return 2016-02-25 07:44:02 +01:00
Pásztor Gábor c17e9b0e33 Add index_onDelete method to ListController behavior. 2016-02-25 07:42:07 +01:00
alekseybobkov a892fff938 UI updates 2016-02-24 21:24:31 -08:00
Samuel Georges 40e458d0b0 Colon is a valid character, doesn't mess up themes with underscores
Eg: SLIDERWEB.SLIDERWEB_0002_hydrogen-theme -> SLIDERWEB.SLIDERWEB.0002.hydrogen-theme

Reference: https://www.w3.org/TR/html401/types.html#type-name
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
2016-02-25 15:01:12 +11:00
Samuel Georges 77367c4cd9 Adds windows support to october:util git pull 2016-02-25 14:38:07 +11:00
Samuel Georges 79dfb37fe3 Adds october:util git pull command 2016-02-25 14:28:50 +11:00
pawel c38b841eb8 fix function output in accordance to phpdoc and function naming 2016-02-25 01:11:29 +03:00
alekseybobkov b1770626d7 UI updates 2016-02-23 21:44:05 -08:00
Denis Malinochkin d801bafed5 Update Russian localization to the current build number 2016-02-23 17:43:05 +03:00
alekseybobkov 1deeddeedb Minor update in the UI 2016-02-22 21:55:36 -08:00
alekseybobkov 6ed4bd5ef6 Updates in the UI 2016-02-22 21:52:23 -08:00
Samuel Georges ce202c7951 create_onSave() forgot to extend model 2016-02-23 14:36:00 +11:00
Samuel Georges ff52ad6595 Remove Illuminate references 2016-02-23 13:46:57 +11:00
alekseybobkov 96ae5d6ff3 Merge branch 'stable' into ui 2016-02-22 17:14:45 -08:00
Mariano Custiel c94706ed05 Added the ability to create instances of components from factories to allow injection of dependencies in components
Fixed descriptions

Added missing new lines at the end of fixture components

Fixed problem with include path

Fixed code as suggested. Now everything is solved through app::make

Removed tests that are not needed anymore since last changes
2016-02-22 09:44:14 +01:00
Samuel Georges 202e542985 Oddly, JS may pass false as a string (@todo) 2016-02-20 17:15:21 +11:00
alekseybobkov 839eb02136 Merge branch 'stable' into ui 2016-02-19 22:13:25 -08:00
alekseybobkov a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Samuel Georges da71a21172 Add oc.tableUpdateData event and readOnly to string processor
Minor tidy
2016-02-20 15:38:29 +11:00
Samuel Georges 18194fa0f9 Complete Table server data source
Recompile assets
2016-02-20 12:45:36 +11:00
Samuel Georges c7530eece9 Merge pull request #1781 from sajjad-ser/master
Fix Some Typo
2016-02-20 10:17:01 +11:00
Samuel Georges 9b06549a13 Merge pull request #1783 from iBourgeois/master
Update AssetList.php
2016-02-20 10:15:13 +11:00
Samuel Georges 95f4be8b68 Include user id in cache key
Fixes #1740
2016-02-20 09:39:18 +11:00
Samuel Georges 87fc6f154d Include .htaccess in mirror
Fixes #1750
2016-02-20 09:16:48 +11:00
Samuel Georges 2e819f0142 Remove deprecated method 2016-02-20 08:19:14 +11:00
Samuel Georges 49d56480b8 Merge pull request #1786 from jfoliveira/feature/pt_br_translations
Update pt-br translations
2016-02-20 07:42:32 +11:00
Samuel Georges 54d749f034 Like setProperty(), this should not return a value 2016-02-17 17:49:52 +11:00
alekseybobkov 68aa59dae7 Updated main menu styles 2016-02-15 20:27:01 -08:00
alekseybobkov af3c67a270 Merge branch 'develop' of github.com:octobercms/october into develop 2016-02-15 17:23:29 -08:00
alekseybobkov d58b6d4d51 Fixed loading permissions from plugin.yaml 2016-02-15 17:23:10 -08:00
Jeferson Oliveira 68689fbc90 Fix preposition. 2016-02-15 23:03:50 -02:00
Jeferson Oliveira f0271638c9 Update pt-br translations. 2016-02-15 22:22:00 -02:00
Derek Bourgeois 4797364a04 Update AssetList.php
Allow .otf and .woff2 font formats by default. These file types are included in popular packages such as Bootstrap and Font Awesome.
2016-02-15 10:37:56 -05:00
saman3230 21574edf01 FIX typo 2016-02-15 17:21:16 +03:30
Samuel Georges 3ee2ec86f8 Allow toolbarButtons: false 2016-02-15 17:58:59 +11:00
Samuel Georges 049e5bcfc7 Fix bad var context 2016-02-14 20:10:36 +11:00
Samuel Georges fd27a3df91 Fixes syntax error 2016-02-14 09:01:42 +11:00
Samuel Georges 659c7098b9 Improve dashboard performance
Dashboard widgets should defer their data requesting using AJAX so they don't kill/lag the whole page request
2016-02-14 08:19:34 +11:00
Filip Iulian Pacurar 1ab94d4514 Add a new event on login - backend.user.login
I wanted to listen to an event when a users logs-in in the backend and I realised that October does not yet have that. It would be great to support this out of the box to avoid users make changes to core files or listen to hack-ish events to do something after login.
2016-02-13 12:46:51 +02:00
Mahmut Namli 6391e9b323 Added new translation strings 2016-02-13 16:44:43 +11:00
Samuel Georges 35c9f7e590 Merge pull request #1768 from jfoliveira/recordfinder_fix_hardcoded_id
Fix hardcoded column name `id` on recordfinder form widget
2016-02-13 16:42:56 +11:00
Samuel Georges da5ede06b5 Merge pull request #1749 from Flynsarmy/tableWidgetAlias
Remove brackets from DataTable's table widget
2016-02-13 16:30:11 +11:00
Lucas Martín 2fa6b2d7be Update lang.php + client.php 2016-02-13 16:28:48 +11:00
Samuel Georges ea0127afcf Stripe indicator is late to the party
Fixes #1737
The AJAX events may fire before document.ready has executed, leaving $.oc.stripeLoadIndicator as null and throwing an error
2016-02-13 16:04:16 +11:00
Samuel Georges 2c9e61e182 Minor typo - Fixes #1735 2016-02-13 15:55:02 +11:00
Samuel Georges 5e6fc130bb Merge pull request #1732 from sajjad-ser/master
Update persian language
2016-02-13 15:52:39 +11:00
Jérémy Gaulin e24e467b60 Externalized keys + French translation 2016-02-13 15:51:28 +11:00
Samuel Georges e0fc27b0cb Refs #1727 - Tabs to spaces 2016-02-13 15:47:34 +11:00
Samuel Georges 7d3a73cd31 Merge pull request #1727 from tschallacka/fix_for_static_primary_key_naming_relationcontroller
Fix for static primary key naming relationcontroller
2016-02-13 15:46:07 +11:00
Samuel Georges 43f1ce7734 Merge pull request #1723 from Herlevsen/develop
Make default 404 page use 404 status code
2016-02-13 15:43:48 +11:00
Samuel Georges 668ccf2588 Merge pull request #1722 from tresbach/patch-1
Fix negative count
2016-02-13 15:30:22 +11:00
Samuel Georges 337cf36150 Access variables as variables, not methods
Fixes #1721
Really not sure why viewBag is using the __call() magic method to access properties. Switched to using __get() + __isset() to keep everything in black and white. If this turns out to be a mistake, roll it back and ensure the reason is documented accordingly.
2016-02-13 15:26:52 +11:00
Samuel Georges 97daebfa9e Use BadMethodCallException for graceful failure (Twig only)
Fixes #1571
This also fixes method inheritance for behaviors by using parent::__call() to look for any methods provided by extensions, catches the exception, then continues with BAU
2016-02-13 15:23:53 +11:00
Samuel Georges 808c8f0ca4 Minor tidy and rollback from #1720 2016-02-13 14:41:17 +11:00
Joshua Wilson 6f3d7a58f2 Phpdoc cleanup for System\Traits
removed in WidgetMaker trait

phpdoc cleanup of backend traits and classes

Minor fix for cases when file is not found
2016-02-13 14:06:50 +11:00
Samuel Georges 6562170d2a Merge pull request #1719 from alxy/patch-12
Fix doubble-applied filters
2016-02-13 13:56:39 +11:00
Samuel Georges cc531a25e2 Merge pull request #1715 from initbizlab/master
Added switch option translation (Polish)
2016-02-13 13:55:44 +11:00
Samuel Georges 6ca0561946 Merge pull request #1713 from jBOKA/patch-1
German translation (Import/Export)
2016-02-13 13:55:30 +11:00
Samuel Georges 17717e94ec Do not send "undefined" data in ajax
Thanx @BOOMER74
2016-02-13 13:33:20 +11:00
Samuel Georges e367febb93 Roll back some stuff from #1704 2016-02-13 13:18:48 +11:00
Alwin Drenth 386f958b6e Code improvements and added proper PhpDoc 2016-02-13 13:08:30 +11:00
Samuel Georges 6347f2bb03 Complete multilingual richeditor support
Refs #1652
2016-02-13 12:59:49 +11:00
Szabó Gergő 7fb1ed9bdb Add multilingual support to Rich editor 2016-02-13 12:08:27 +11:00
Samuel Georges 87f4cfc91f Use a dedicated hostname 2016-02-12 06:12:48 +11:00
Jeferson Oliveira 6ae4742ff4 Fix hardcoded column name `id` by reading the `keyFrom` option defined in the .yaml file. 2016-02-10 08:45:21 -02:00
Samuel Georges 6d8ec9b4dc Fixes data source polluting base proto
Recompile assets
2016-02-10 20:22:50 +11:00
Samuel Georges acfb35cbed Merge branch 'develop' into stable 2016-02-10 20:03:51 +11:00
Samuel Georges cd055ad437 Fixes formExtendModel method so it actually works.
The extension must occur after the ::find() method, which will return a fresh object. When it occurs before, any changes to the model are lost. Where this may have prior been used to dynamically return a different model, the formCreateModelObject override method should return this value now.
2016-02-10 19:38:35 +11:00
Samuel Georges 03e7c19a5d Fixes issue where twig passed null
Minor update to dropdown docs
2016-02-09 17:58:37 +11:00
alekseybobkov c762ed2836 Merge branch 'builder-ui' into develop 2016-02-07 14:41:45 -08:00
alekseybobkov 1454a4ed6b Fixed a bug in the Inspector string list autocomplete editor where clicking an item in the autocompletion list doesn't select the item. 2016-02-07 14:40:31 -08:00
alekseybobkov f5e47ebc88 Merge branch 'builder-ui' into develop 2016-02-04 18:00:49 -08:00
alekseybobkov bfb0fa1671 Merge branch 'develop' of github.com:octobercms/october into develop 2016-02-04 18:00:42 -08:00
alekseybobkov 241332e14a Minor style updates for the Inspector header area 2016-02-04 18:00:10 -08:00
flynsarmy c62eb8fb86 Remove brackets from table widget alias 2016-02-04 21:25:33 +10:00
Aaron 0c4c39fddb Add morphic relations to backend 2016-02-01 14:53:53 +10:00
alekseybobkov e38f7b6987 Minor fix in the tabs styles. 2016-01-30 21:01:17 -08:00
alekseybobkov 8cb5ec1c0e Fixed several minor bugs in Inspector. 2016-01-29 22:16:33 -08:00
Sajjad d2619b6ba4 Update persian language 2016-01-28 18:00:07 +03:30
alekseybobkov 264090fb3b Added new Inspector editor - String List Autocomplete 2016-01-26 19:53:35 -08:00
tschallacka e4b0c0fe27 Fixed static id naming primary key
RelationController forced belongs to relations to have a primary key named id.
If primary key was named differently it wouldn't register the onclick.
This fixes that by taking the primary key name from the model.
2016-01-26 14:17:18 +01:00
Jens Herlevsen 2350e30853 Make default 404 page use 404 status code 2016-01-24 19:04:22 +01:00
Amanda Tresbach adf42896da Fix negative count 2016-01-24 14:23:58 -02:00
alekseybobkov 6aef72bb87 Added "depend" parameter to the Inspector autocomplete editor. Minor fix in the Inspector. 2016-01-23 20:27:57 -08:00
Joel E. Svensson ed583491e0 Fixes #1681
Added a customzied slug-function to MediaManager which supports @-signs
2016-01-23 20:36:05 +01:00
Alexander Guth 17e0a2afa7 Fix doubble-applied filters 2016-01-23 17:57:08 +01:00
alekseybobkov f6dec96c86 Improved memory management in the table widget client-side scripts. Minor CSS fixes. 2016-01-22 21:43:45 -08:00
Samuel Georges af4f42e208 Add 503 header when maintenance mode enabled.
Fixes #1655
2016-01-21 20:16:53 +11:00
Tomasz Strojny e930775cf7 Added switch option translation (Polish) 2016-01-21 09:58:14 +01:00
jBOKA 00f9de9a67 German translation (Import/Export) 2016-01-20 18:05:28 +01:00
Samuel Georges 205d122dce Logic error. Fixes #1692 2016-01-19 21:03:03 +11:00
alekseybobkov 778e73964e Merge branch 'develop' of github.com:octobercms/october into develop 2016-01-17 18:55:12 -08:00
alekseybobkov 5f2e6f3306 Allow word wrap in the Inspector autocomplete editor 2016-01-17 18:55:00 -08:00
Samuel Georges 6828094252 Lay initial ground work for server data source
- The first server data source (ServerEventDataSource) is event based, so the implementing code is responsible for handling the data maintenance logic explicitly.
- The nature of the server side data source should show the data is maintained automatically with AJAX by individual events triggered on the client side. Records are maintained one-to-one, when you edit it, it updates on the server and so on.
- Only the READ events are implemented at this point.
2016-01-16 17:38:05 +11:00
Samuel Georges b65a653176 Add ability to null asset broadcasting from AJAX 2016-01-16 17:12:54 +11:00
Samuel Georges f2699a7039 Fixes bug preventing pagination click 2016-01-16 16:20:33 +11:00
Samuel Georges 3cfc7b6a5d Move widget classes that are exclusive to their own space 2016-01-16 16:02:28 +11:00
Samuel Georges 2855a4e344 Fixes issue in uploader when one of the dimensions is auto 2016-01-16 15:13:42 +11:00
Samuel Georges d34350a7b1 Merge branch 'develop' into stable 2016-01-16 10:20:21 +11:00
Alwin Drenth 94cbe93e8c Update Dutch language 2016-01-16 10:18:20 +11:00
Samuel Georges c4f5a25193 Merge pull request #1687 from gpasztor87/stable
Remove deprecated code
2016-01-16 09:09:07 +11:00
Samuel Georges ee155bf1f3 Merge pull request #1702 from gpasztor87/patch-2
Cleanup
2016-01-16 09:07:15 +11:00
Samuel Georges b21a0c453d Merge pull request #1700 from gpasztor87/develop
Minor fix in timepicker
2016-01-16 09:05:27 +11:00
Samuel Georges 43c9f63086 Merge pull request #1693 from jwilson8767/patch-3
Flash twig node now displays all messages of all types.
2016-01-16 09:03:47 +11:00
Samuel Georges d2561dcfd0 Merge pull request #1689 from CSNWEB/patch-2
Use Grammar from Query in Widget List
2016-01-16 09:02:29 +11:00
Samuel Georges 33805df3f0 Merge pull request #1677 from vojtasvoboda/patch-4
Update RequestLog.php
2016-01-16 09:01:11 +11:00
Pásztor Gábor 31457bd2ee Cleanup 2016-01-15 10:20:57 +01:00
Pásztor Gábor 40b8af22a9 Remove unneded Password and Gate alias. 2016-01-15 10:14:39 +01:00
Pásztor Gábor 537f637e47 Storage path 2016-01-15 10:07:39 +01:00
Pásztor Gábor c678cc1988 Remove unneded imports from ListController behavior 2016-01-15 09:12:26 +01:00
Pásztor Gábor 4af9a374d6 Minor fix in timepicker 2016-01-14 13:17:45 +01:00
Joshua Wilson d0b250c8f7 Flash twig node now displays all messages of all types.
Fixes #1225
2016-01-12 16:51:58 -05:00
Samuel Georges a3b338671d Pass filter conditions thru dongle
Minor fix to new YAML syntax in demo theme
2016-01-12 21:17:07 +11:00
Samuel Georges d8922c263f Remove global scopes for join SQL
Fixes PostgreSQL strictness
Refs https://github.com/rainlab/blog-plugin/issues/171
2016-01-12 20:53:53 +11:00
CSNWEB aa5f37aae6 Use Grammar from Query in Widget List
When using models with a different database software than the default, the old code produced a syntax error. 
Using the Grammar from the query ensures that the alias is always wrapped correctly. 

Suggestion: The code should be scanned for similar errors, produced by using DB Facade.
2016-01-10 14:10:49 +01:00
Pásztor Gábor 36bc775712 Remove DataGrid registration from ServiceProvider 2016-01-09 17:15:36 +01:00
Pásztor Gábor fd264a5fb4 Remove deprecated hotkeyMac attribute 2016-01-09 17:07:23 +01:00
Pásztor Gábor 373c31a8e7 Remove deprecated DataGrid formwidget 2016-01-09 16:41:56 +01:00
Samuel Georges a30fc006bb Update copyright and helper function names 2016-01-06 18:50:24 +11:00
Samuel Georges 7b187fc188 Fixes orphaned form events when there is no form container 2016-01-06 18:48:26 +11:00
Samuel Georges ae73c2c592 Remove test testListsNestedUnknownColumn
^ because different DB drivers behave differently
Minor touch ups
2016-01-04 17:54:23 +11:00
Samuel Georges b5aef97133 Alt fix for #1680 2016-01-04 17:49:11 +11:00
Pásztor Gábor bb612f096e Use the ::class notation, add Broadcasting service provider and Gate alias 2016-01-02 16:57:57 +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 1d2929e2f0 Update composer refs 2016-01-02 18:44:59 +11:00
Samuel Georges 5f9a076025 Remove debug code 2016-01-02 16:19:13 +11:00
Samuel Georges 2213c6f28c Fix string comparison function
Flush stray output on view errors
2016-01-02 16:13:30 +11:00
Samuel Georges 0762e5cf53 Remove dependency on illuminate\html 2016-01-02 14:59:59 +11:00
Samuel Georges 5a70cec7a2 Improved fix for #1672 2016-01-02 13:41:57 +11:00
Samuel Georges ecb54ff92c Rollback #1672 2016-01-02 13:40:32 +11:00
Samuel Georges f39340fc1c Merge pull request #1672 from dqsully/dqdevelop
Fix twig caching
2016-01-02 12:36:10 +11:00
Samuel Georges 188351a82a Merge pull request #1675 from gpasztor87/patch-1
Minor fix
2016-01-02 11:55:54 +11: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
Dave Shoreman 66413ea50b Fix permissions required for theme settings 2015-12-31 11:32:25 +00:00
Pásztor Gábor e1a9d8d393 Minor fix
It does not worked for me in popup window.
2015-12-30 19:32:14 +01:00
DQ Sully 2fae5a30b9 Fix Twig Caching
When October would load a file from its changed source, Twig would not see the message until it had gone. See Cms\Classes\Loader->isFresh. This meant a template would not update unless you deleted the Twig cache, or that template's TTL expired. Fix: add another variable (freshness) that would only change after being observed, and accurately reflected if a template's source had been modified
2015-12-28 10:09:15 -07:00
Samuel Georges 23e03aa404 Add docs for select with no search 2015-12-27 14:40:04 +11: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
Samuel Georges 0164324e63 Merge pull request #1657 from gergo85/patch-1
Improve the multilingual support
2015-12-19 14:13:58 +11:00
Samuel Georges 12972cd086 Lax the validation rules on login, email + pass 2015-12-19 09:53:17 +11:00
Samuel Georges 01b2d0d186 Add relation-inset class, fixes relation-flush 2015-12-19 09:53:12 +11:00
Szabó Gergő 12465f4f86 Improve the multilingual support 2015-12-14 18:21:56 +01:00
myst6re 55bceba32c Commit deferred data when creating/updating a pivot table. 2015-12-12 11:44:59 +11:00
Samuel Georges 1643cf69b9 Merge pull request #1650 from gergo85/master
Update the Hungarian translation
2015-12-12 11:41:43 +11:00
Samuel Georges a1d0a9c461 Merge pull request #1646 from vojtasvoboda/patch-3
Update SettingsManager.php
2015-12-12 11:41:09 +11:00
Daniel Müller 01c63d6e32 fixed some PHPDocs
removed my prior changes to the code behaviour

removed errorous PHPDocs

fixed some PHPDocs

removed my prior changes to the code behaviour

removed errorous PHPDocs
2015-12-12 11:34:27 +11:00
Szabó Gergő d84a9e4b4a Minor bugfix 2015-12-11 22:11:37 +01:00
alekseybobkov e6d93cf3d4 Added YAML mode for the code editor 2015-12-10 21:41:27 -08:00
Samuel Georges a186a60c43 Fixes the datepicker saving an empty value when disabled
Refs https://github.com/responsiv/campaign-plugin/issues/4
2015-12-09 08:19:53 +11: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
Joel E. Svensson 8f1e2ff8a3 Files in the media library can now contain two dots 2015-12-06 18:55:51 +01:00
Szabó Gergő e781240cc6 Update the Hungarian translation 2015-12-05 11:49:19 +01:00
Samuel Georges 92e1d1bf13 Merge pull request #1606 from gergo85/master
Add alignment button to Rich editor
2015-12-05 10:22:31 +11:00
Samuel Georges d3c30475b9 Add support for including small buttons in list columns
Recompile assets
2015-12-05 10:06:26 +11:00
Samuel Georges 04e61adac3 Add official support for "nolink" columns - Fixes #1599
To make a row non-clickable, use the `clickable` option in the list column definition
2015-12-05 10:05:42 +11:00
Samuel Georges 4db92fa8b5 Alt fix for #1585 2015-12-05 08:47:07 +11:00
Samuel Georges f77f412f2f Merge pull request #1585 from brunoti/develop
Add filetypes of FileUpload formwidgets in uppercase too
2015-12-05 08:45:02 +11:00
Samuel Georges 8d7c90bebf Merge pull request #1489 from Flynsarmy/filterByFolder
Show matching folders when filtering CMS objects. Ref #1466
2015-12-05 08:24:13 +11: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 e358bb4b57 Added new list.sortable plugin. Minor fix in the scrollpad implementation. 2015-11-27 22:12:27 -08:00
Samuel Georges 8318c05b37 * Build 311
Fixes issue locking out admins after updating to build 310
2015-11-28 16:39:16 +11:00
Lucas Martín d33c555933 Update validation.php
Add more translations to spanish and format correction

Update lang.php

Add more translations to spanish and format correction

Create client.php

Add file with translations to spanish

Update lang.php

Add more translations and format correction

Update lang.php

Add more translations to spanish and correct format
2015-11-28 16:23:26 +11:00
Samuel Georges 32a079cfd1 Merge pull request #1621 from gergo85/patch-3
Improve the multilingual support
2015-11-28 16:17:41 +11:00
Samuel Georges 1970afb17a Merge pull request #1596 from gpasztor87/master
Minor typo and simplification on Inspector
2015-11-28 15:40:12 +11:00
Samuel Georges 9da2022c68 Merge pull request #1594 from vojtasvoboda/patch-2
Update fields_export.yaml
2015-11-28 15:37:18 +11:00
Samuel Georges 272fd58e0a Merge pull request #1590 from adrenth/feature/backend-translation
Update Dutch backend language
2015-11-28 15:35:58 +11:00
Samuel Georges af4f8d0a10 Merge pull request #1589 from adrenth/feature/translation
Update Dutch system language
2015-11-28 15:35:33 +11:00
Samuel Georges 030e1977e8 Relation form field now supports model attributes in "nameFrom"
nameFromSelect -> select|sqlSelect
Refs https://github.com/octobercms/october/pull/1579
2015-11-28 15:31:11 +11:00
Samuel Georges 7885074cb0 Merge pull request #1579 from JoelESvensson/relation-select-from-name
Added support for 'nameFromSelect' in relation form fields
2015-11-28 14:43:04 +11:00
Samuel Georges a596a6babd row-compact -> row-flush as per Storm naming convention 2015-11-28 14:12:25 +11:00
Samuel Georges e8e0f50bd4 Fixes typo 2015-11-28 13:13:50 +11:00
Samuel Georges ca4a6e9679 Remove some unnecessary code from #1575 2015-11-28 11:24:34 +11:00
Samuel Georges 165c1daf7a Merge pull request #1575 from SaifurRahmanMohsin/develop
Make recordfinder's popup list title configurable
2015-11-28 11:12:38 +11:00
Samuel Georges 30025a6ada Adds a refresh button to log pages, minor column tweaks 2015-11-28 11:10:06 +11:00
Samuel Georges 2ced2f8c73 Move the superuser flag out of permissions array - fixes #1503 2015-11-28 10:21:41 +11:00
Samuel Georges 6ebe187db1 Fixes issue removing existing uploads 2015-11-28 09:24:20 +11:00
Szabó Gergő 73c70a15ed Improve the multilingual support 2015-11-24 22:00:05 +01:00
alekseybobkov 4f5ef8aa68 Inspector - added support for icons and images in the dropdown editor. 2015-11-22 20:48:08 -08:00
alekseybobkov c72920029e Minor extension in the table widget client-side API. 2015-11-20 21:02:45 -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
Szabó Gergő fe54f8ac24 Add alignment button to Rich editor
I think the alignments are basic features.
2015-11-18 14:09:58 +01:00
alekseybobkov 0e2e18af7f Added autocomplete column type to the Table widget 2015-11-17 21:26:03 -08:00
alekseybobkov e7a51a75f4 Minor improvements in the back-end control styling 2015-11-15 15:18:15 -08:00
alekseybobkov 67590fefad Added flex layout CSS classes. Inspector container wrapper now uses flex layout. Minor CSS fixes. 2015-11-14 20:28:34 -08:00
Samuel Georges b6ba31bd86 Fixes exception on removeChild(null)
Fixes danger on danger color scheme
2015-11-14 18:27:01 +11:00
alekseybobkov 2df22fda83 Minor improvements in the Inspector API 2015-11-13 14:41:49 -08:00
alekseybobkov f8cd8e72a1 Minor improvement in the Inspector 2015-11-12 21:56:56 -08:00
Pásztor Gábor 7643de1161 Minor 2015-11-12 11:27:30 +01:00
Pásztor Gábor 00bdd0dc06 Minor on Inspector 2015-11-12 11:25:47 +01:00
alekseybobkov 3217bf03d8 Minor fix in the flyout implementation 2015-11-11 20:18:38 -08:00
alekseybobkov 5cb873862a Minor changes in the Inspector API 2015-11-11 13:03:18 -08:00
Vojta Svoboda 0b6aa8750c Update fields_export.yaml 2015-11-11 16:08:50 +01:00
alekseybobkov d34bb2bd86 Minor changes in the Inspector API. 2015-11-09 21:59:19 -08:00
Clark Burns 898266f26a Improves plugin:refresh error handling 2015-11-09 15:36:58 -08:00
Alwin Drenth 0a658de6ad Update Dutch backend language 2015-11-07 17:39:07 +01:00
Alwin Drenth b6e7aa9d43 Update Dutch system language 2015-11-07 14:50:37 +01:00
BruNo Oliveira 8c051d4655 Add filetypes of FileUpload formwidgets in uppercase too 2015-11-06 08:56:32 -02:00
Samuel Georges 73ed24c4c1 Repeater should purely render fields, with no container or tabs
Refs https://github.com/rainlab/pages-plugin/pull/95
2015-11-05 07:31:35 +11:00
alekseybobkov 2d849b2640 Implemented Inspector ignoreIfEmpty and ignoreIfDefault properties. Minor refactoring of Inspector. 2015-11-03 22:02:10 -08:00
Joel E. Svensson e992e95ae3 Added support for 'nameFromSelect' in relation form fields 2015-11-03 14:34:16 +01:00
Samuel Georges 0fa33422a4 Input monitor docs, prevent duplicate tab-close buttons
Recompile assets
2015-11-03 08:48:36 +11:00
Saifur Rahman Mohsin 3c67c2f8bc Make recordfinder's popup list title configurable
When selecting record using the recordfinder, by default the popup list
shows **Find Record** as the title. Made this field a user configurable
field, and kept **Find Record** as default if not specified. Also,
added this default string to the lang file.
2015-11-02 00:09:26 +05:30
Samuel Georges 5e5e99cd46 Make it easier to pick the component name from the error 2015-11-01 13:16:43 +11:00
Samuel Georges 99b6c6057a Merge pull request #1562 from gergo85/master
Translate texts
2015-10-31 17:36:27 +11:00
Samuel Georges b8624fb8b5 Merge pull request #1552 from JoelESvensson/patch-1
Allow plugins to be symlinks
2015-10-31 17:30:55 +11:00
Samuel Georges 982565fe62 Merge pull request #1550 from triasrahman/develop
Fix placeholder color on fancy layout backend form
2015-10-31 17:25:46 +11:00
Samuel Georges 56f66ada53 Revert indentation from #1545 2015-10-31 17:22:48 +11:00
Samuel Georges 3b885ade56 Merge pull request #1545 from keiosweb/develop
translation strings in import-export behaviour and polish translations
2015-10-31 17:09:15 +11:00
Samuel Georges 8de530fdf4 Merge pull request #1538 from tabacitu/develop
added system/lang/client translation for Romanian
2015-10-31 17:06:40 +11:00
Samuel Georges 100dfc2802 Merge pull request #1532 from mrmlnc/develop
update Russian language to build 305
2015-10-31 17:02:24 +11:00
alekseybobkov bb4192a5de Minor style fix in the fancy layout tabs. Improved live update mode in Inspector. 2015-10-30 23:01:35 -07:00
Samuel Georges c30b34e4d9 In special cases, has one/many will require a foreign key set
For example: to pass any constraints imposed by the database
This new logic emulates the "create" method on the relation object
Fixes #1541
2015-10-31 16:40:16 +11:00
Samuel Georges 02f7149e57 Allow btn-group to work inside form-buttons 2015-10-31 16:10:24 +11:00
alekseybobkov 48feffd60a Added live update mode for Inspector. 2015-10-29 22:01:29 -07:00
alekseybobkov dca9effec0 Minor fixes in Inspector 2015-10-27 17:00:14 -07:00
Szabó Gergő 53041ef23a Translate texts 2015-10-27 20:49:56 +01:00
alekseybobkov 6c0932e1e4 Minor fix in the Inspector popover positioning 2015-10-25 18:30:20 -07: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
Trias Nur Rahman a65c83755d Fix placeholder color on fancy layout backend form 2015-10-24 23:53:57 +07:00
alekseybobkov 6162d24651 Minor back-end styling fix in fancy layout / master tabs. 2015-10-21 21:37:41 -07:00
Kuba 031b9cdbe6 translation strings in import-export behaviour and polish translations 2015-10-21 19:47:57 +02:00
Cristian Tabacitu 729c93ba94 added system/lang/client translation for Romanian 2015-10-20 02:13:43 +03:00
alekseybobkov db5fde4749 Minor fixes in Inspector 2015-10-17 18:00:20 -07:00
alekseybobkov b8d40162eb Updated Inspector documentation examples 2015-10-17 14:04:05 -07:00
alekseybobkov af3ce447ec Fixed links in the Inspector documentation 2015-10-17 12:47:17 -07:00
alekseybobkov 16a3b106f1 Updated Inspector documentation 2015-10-17 12:42:15 -07:00
alekseybobkov 109f833617 Merge branch 'master' of github.com:octobercms/october into develop 2015-10-17 10:59:15 -07:00
alekseybobkov 6ea20031ae Implemented $().inspector() API alias 2015-10-17 10:58:57 -07:00
Denis Malinochkin f5dd39e1a2 update Russian language to build 305 2015-10-17 18:12:14 +03:00
Samuel Georges 3b4ee3340e * Build 305
Fix bug when property values are array
2015-10-17 14:52:50 +11:00
Joel E. Svensson 707c925b02 Even more translations
Added translation for "Properties"

Added translation for "Invalid security token"

Fixed spelling of "log in"

Fixed spelling of "access log"
2015-10-17 12:48:49 +11:00
Samuel Georges cb97754aa3 Merge pull request #1520 from alxy/patch-10
Translate missing items
2015-10-17 12:45:39 +11:00
Samuel Georges 5c294b78bd Add support to extend query on 'nested' sortMode - refs #1519
Recompile assets, minor cleanup
2015-10-17 12:44:16 +11:00
Jofry f0b4691168 Allow extend query on reorder controller, on 'simple' sortMode 2015-10-17 12:36:46 +11:00
Samuel Georges 82a385b338 Darken primary [buttons] slightly to make them easier to read 2015-10-17 12:25:20 +11:00
Samuel Georges 6203970122 Progress bar should turn red on error - refs #1518
Tidy up progress bar control, streamline brand colours
2015-10-17 12:17:10 +11:00
Samuel Georges c4e88d2e21 Merge pull request #1518 from firoxer/develop
Display media manager upload errors more clearly
2015-10-17 11:50:56 +11:00
jBOKA 763bec47ad Update German language
Update German language
2015-10-17 11:47:00 +11:00
Samuel Georges af657e9399 Fixes #1042 - remove fillable constraint on models when saving
Form fields are already constrained by their fields.yaml definition (values not defined in the yaml will not be saved) so we don't need to double dip by enforcing fillable too.
2015-10-17 11:41:40 +11:00
Samuel Georges f12101671e Merge pull request #1508 from MatissJanis/feature/lv-language
Added missing latvian language strings
2015-10-17 10:54:33 +11:00
Samuel Georges 33d39c8b34 Minor 2015-10-17 10:51:54 +11:00
Samuel Georges 0f6a47a135 Tidy up Storm UI so all includes are in a single file 2015-10-17 10:51:40 +11:00
Samuel Georges f446f8acd4 Merge pull request #1506 from tschallacka/FormFieldCatchForEmptyYaml
Fixed form field parsing to accept no config
2015-10-17 10:23:58 +11:00
Samuel Georges ef22ac934d DRY up code from #1504 2015-10-17 10:16:49 +11:00
Samuel Georges 7d911c2c9f Merge pull request #1504 from Flynsarmy/formWidgetDefaults
Add support for default values in form widgets
2015-10-17 10:11:47 +11:00
Vojta Svoboda 16eb704793 Add missing PHPDoc @return tag 2015-10-17 09:17:37 +11:00
Samuel Georges f2e13ba3eb Simplify #1475 2015-10-17 08:54:40 +11:00
Samuel Georges 54b4223660 Merge pull request #1475 from patrickward/develop
Allow minDate/maxDate to be entered in date format for DatePicker. Fixes #909.
2015-10-17 08:42:45 +11:00
Samuel Georges 5c12d99cc9 Minor revision to #1469 2015-10-17 08:41:10 +11:00
Samuel Georges 7543daa976 Merge pull request #1469 from Notuom/localize-backend-list-widget-switch
Add localization for the backend list Switch widget
2015-10-17 08:22:50 +11:00
Samuel Georges 22252638a8 Because W3C 2015-10-16 17:50:53 +11:00
alekseybobkov 61acdf9f46 Fixed Redactor toolbar styling in Fancy layout, minor fix in Inspector. 2015-10-15 20:17:50 -07:00
alekseybobkov a5b217ff0b Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
	modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
alekseybobkov e26271bc01 Minor fix in Inspector styles. Minor fix in the component helper. 2015-10-15 17:10:56 -07:00
Alexander Guth 20145e46ef Translate missing items
Some local names may need some more attention. Im unsure how to translate them (best).
2015-10-15 22:10:38 +02:00
alekseybobkov 082c536372 Merged Inspector files to the Storm library. Minor fixes in the dynamic option editors. Implemented support for all events of the old Inspector. 2015-10-14 20:21:02 -07:00
Oliver Vartiainen 9f2e50c4eb Display media manager upload errors more clearly
* Differentiate between successful and failed uploads
* Add a function for updating upload bar status
* Add a new upload error text

Fixes #1349
2015-10-14 21:06:17 +03:00
alekseybobkov 6ddc366808 Added popup and container wrappers for Inspector, minor fixes in Inspector editors, minor extensions in the popup API. 2015-10-13 20:28:41 -07:00
Samuel Georges 5713dfbf86 Disable fixed toolbar - fixes #1463 2015-10-10 20:45:09 +11:00
Samuel Georges ddba926e2a Update redactor to latest 2015-10-10 20:36:37 +11:00
alekseybobkov 409c40c248 Finished Inspector validation, some minor Inspector fixes. 2015-10-09 23:01:47 -07:00
Samuel Georges d4cf2f7178 Spaces in URLs break Markdown syntax
Fixes https://github.com/rainlab/blog-plugin/issues/136
Recompile all assets
2015-10-10 09:09:40 +11:00
tschallacka c4fffbd6f7 Fixed form field parsing to accept no config
If a programmer would define a yaml like

    fields:

        shortcut:

        country:

It would fail with message

    "array_key_exists() expects parameter 2 to be array, null given" on line 275 of ..\modules\backend\classes\FormField.php

The yaml parsing returns a null. This check intercepts that null value being passed to the function and turns it into a proper array.
2015-10-09 16:06:23 +02:00
alekseybobkov 6095303b54 Implementing Inspector validation, in progress 2015-10-08 21:59:02 -07:00
flynsarmy 82c2787f39 Add support for default values in form widgets 2015-10-09 13:51:33 +10:00
Samuel Georges 84a95af93b whereComponent doesn't rely on the component object 2015-10-09 05:32:24 +11:00
Samuel Georges 4b50f1cdb7 Clearing compiled cache files should be part of clearing Cache
Fixes #1501
2015-10-09 05:31:50 +11:00
Matiss Janis Aboltins b1766196c2 Added missing latvian language strings 2015-10-08 10:02:06 +03:00
alekseybobkov aee247727a Implementing Inspector validation + minor refactoring of the Inspector editors. 2015-10-07 20:16:24 -07:00
Samuel Georges 3531793ca3 Add where and whereComponent to CMS objects 2015-10-08 07:28:20 +11:00
Samuel Georges f99ff4a363 Prevent sorting of count column, fixes #1491 2015-10-07 19:24:18 +11:00
Samuel Georges 1774f12e65 Minor styling fix 2015-10-07 07:22:16 +11:00
alekseybobkov 8d574e93d9 Minor fix in the autocomplete Inspector editor 2015-10-05 21:14:32 -07:00
alekseybobkov 889a25f1c6 Added the autocomplete Inspector editor. Minor fixes in the Inspector memory management. Added destroy() method to the existing autocomplete control. 2015-10-05 20:56:35 -07:00
alekseybobkov c47f69a012 Added the dictionary Inspector editor 2015-10-05 18:54:33 -07:00
Samuel Georges b7505a2cd7 Returning save data now depends on form fields, so they should always be defined 2015-10-05 18:00:01 +11:00
flynsarmy 3e37c9307f Show matching folders when filtering CMS objects. Ref #1466 2015-10-05 12:12:11 +10:00
Samuel Georges 3a7e1d6d31 Fixes #1480 - Allow postback key names to use dots 2015-10-05 12:11:25 +11:00
alekseybobkov 76c8099c9e Refactored Inspector popup editors 2015-10-04 15:33:12 -07:00
alekseybobkov b0fa402cbe Added string list Inspector editor 2015-10-04 15:00:59 -07:00
Samuel Georges 99fcdaaadb Merge pull request #1488 from vojtasvoboda/feature/duplicate-array-keys
Remove duplicate array keys
2015-10-05 08:45:48 +11:00
Samuel Georges 399fd70cba Merge pull request #1486 from sajjad-ser/master
Update Persian language
2015-10-05 08:44:43 +11:00
Samuel Georges 16ca5b4ffc Merge pull request #1474 from adrenth/develop
Fix undefined variable $filePath
2015-10-05 08:43:31 +11:00
Samuel Georges 6d7a7b0601 Merge pull request #1468 from mul14/min-login-password-should-4
Minimum password length should be 4 characters
2015-10-05 08:42:38 +11:00
Samuel Georges d11515f199 Merge pull request #1467 from marcotesche/develop
German translation for client.php (system module)
2015-10-05 08:41:58 +11:00
Samuel Georges 2b1145b723 Merge pull request #1465 from gergo85/patch-8
Update the Hungarian language
2015-10-05 08:41:29 +11:00
Vojta Svoboda 3ea76dd817 Remove duplicate array keys 2015-10-04 22:09:57 +02:00
Sajjad 19adf61c5e Update Persian language 2015-10-03 12:36:57 +03:30
alekseybobkov ae2f3bb62e Refactored grouping in the Inspector, finished the Object editor. Multiple minor updates of the Inspector. 2015-10-02 20:54:57 -07:00
Samuel Georges 1847018b99 Switch to October flavored INI 2015-10-03 08:52:52 +10:00
Samuel Georges 8e986c42b1 Remove some deprecated code 2015-10-03 07:31:01 +10:00
Samuel Georges 91d3d4dbde Swap FileHelper methods for new Ini parser 2015-10-03 07:30:11 +10:00
Samuel Georges 8ed6a3cc51 Fixes exception ref 2015-10-03 07:29:08 +10:00
Samuel Georges 51446f6a27 Add alias for new Ini parser 2015-10-02 05:11:39 +10:00
Samuel Georges f97b9a6831 Allows custom toolbar buttons to be injected
Removes the assumption that all anchors are pagination links
Make code easier to read in places
Sorry, had to use jQuery in some places too
2015-10-01 18:13:15 +10:00
Samuel Georges 97595a631e Adds the ability to inject custom buttons + icons 2015-10-01 17:24:12 +10:00
Samuel Georges c30851d684 Remove dead ns ref 2015-09-30 20:54:00 +10:00
Samuel Georges 2ecf2db311 Remove dependency on IntlDateFormatter 2015-09-30 20:52:31 +10:00
Patrick Ward 20704bca67 Allow minDate/maxDate to be entered in date format for DatePicker. Fixes #909. 2015-09-29 19:02:42 -04:00
Samuel Georges 8139def435 Bump max values to their db equivalents 2015-09-30 06:09:51 +10:00
Alwin Drenth 21680f60f9 Updated Dutch language for CMS 2015-09-29 22:04:14 +02:00
Samuel Georges e285b2f870 Merge pull request #1473 from alxy/patch-7
Missing use statement
2015-09-30 05:31:44 +10: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
Alwin Drenth 98dd952d4b Fix undefined variable $filePath
Also added proper phpDoc to the PluginBase class
2015-09-29 15:02:48 +02:00
Alexander Guth 00998f93ca Missing use statement 2015-09-29 14:09:23 +02:00
Samuel Georges dd6e0a3836 Persist the search term across AJAX requests only
Fixes #1448
2015-09-28 10:52:24 +10:00
Samuel Georges d4ce89e9ba Fixes relation render onclick in list view to obey $model->primaryKey value
Fixes #1454
2015-09-28 10:12:06 +10:00
Samuel Georges 6b3d82d10f Merge pull request #1464 from Flynsarmy/useFileFacade
Use correct folder permissions in ThemeImport/Export
2015-09-28 07:51:00 +10:00
alekseybobkov 936f14013d Implementing object editor, in progress. Rewriting the grouping implementation. 2015-09-27 12:10:48 -07:00
Szabó Gergő 17bdf010dc Minor changes 2015-09-27 11:13:39 +02:00
Karl Thibault d9e85380af Add localization for the backend Switch widget 2015-09-26 22:03:05 -04:00
Mulia Arifandi Nasution 676a4d00bc Minimum password length should be 4 characters
Because the minimum password length on User model is 4
https://github.com/octobercms/october/blob/master/modules/backend/models/User.php#L26-L27
2015-09-27 02:28:12 +07:00
Marco Tesche b28e5ed9a0 German translation for client.php (system module) 2015-09-26 19:49:35 +02:00
Szabó Gergő 5396525f2f Update the Hungarian language 2015-09-26 12:03:35 +02:00
flynsarmy 60facd2741 Use correct folder permissions in ThemeImport/Export 2015-09-26 18:12:13 +10:00
alekseybobkov 48ab61d395 Implemented name-value mode for the Inspector object list editor. 2015-09-25 22:05:38 -07:00
Samuel Georges de8bd67f0d Defauilt input.preset uses "slug" as default, as per docs 2015-09-26 14:15:49 +10:00
Samuel Georges 0a31869525 Render API code examples as inline 2015-09-26 12:46:53 +10:00
Samuel Georges a636dd1ad8 Form widgets returns data only if it has a field definition 2015-09-26 11:41:02 +10:00
Samuel Georges cc364b3bf9 Merge pull request #1461 from dshoreman/security-tweaks
Security tweaks
2015-09-26 09:40:12 +10:00
Dave Shoreman cac8b54e87 Remove superuser field for non-superusers
If an admin user has permission to manage other users, they are
able to set others as superuser, or even create their own
superuser account. That's not really what we want.
2015-09-26 00:34:12 +01:00
Samuel Georges 8d11fe1257 Minor touch up to #1462 2015-09-26 08:51:13 +10:00
Samuel Georges 25f59a3b27 Merge pull request #1462 from dshoreman/localised-dates
Localise last modified date for mediaManager items
2015-09-26 08:47:41 +10:00
Christopher Forsberg cf25f1caac Added missing client.php to modules/system/lang/sv/.
Updates to Swedish translations of OctoberCMS * Added missing keys * Updated some translations that were incorrect
2015-09-26 08:43:32 +10:00
Samuel Georges f4f69eec91 Merge pull request #1456 from Mr118/develop
fixes in localization
2015-09-26 08:37:54 +10:00
Samuel Georges 163e79892a Merge pull request #1450 from vojtasvoboda/feature/missing-lang-keys
Add missing locales
2015-09-26 08:36:48 +10:00
Samuel Georges 1a43f01978 Merge pull request #1444 from drtzack/patch-2
Update Turkish Language for CMS module
2015-09-26 08:35:56 +10:00
Samuel Georges 253f4b3e84 Merge pull request #1446 from Flynsarmy/pageRegexEscape
Allow \ character in Page URLs. Fixes #1441
2015-09-26 08:34:16 +10:00
Samuel Georges d5e21b3842 Merge pull request #1443 from drtzack/patch-1
Turkish Language Update for System
2015-09-26 08:31:23 +10:00
Samuel Georges 3974fbb423 Merge pull request #1442 from jBOKA/develop
Updated AssetList widget to use correct folder permissions
2015-09-26 08:30:51 +10:00
Samuel Georges 9a54db74ad Move docs out of JS file 2015-09-26 08:29:17 +10:00
Samuel Georges b4fdf27023 Tidy up popups docs 2015-09-26 08:24:16 +10:00
Samuel Georges 6e1194784a Take some emphasis off the inactive main menu items
NB: The "wizard" CMS icon doesn't seem to like font size 28px, but all other icons appear to render cleanly at this size.
2015-09-26 08:10:25 +10:00
Samuel Georges 863bac86fe Foundation code samples should be inline 2015-09-26 08:01:32 +10:00
Samuel Georges 70882a0e33 Minor revert from previous 2 commits 2015-09-26 08:01:08 +10:00
Samuel Georges 0f17d26ea1 Merge pull request #1445 from gergo85/patch-2
Translate the "CMS" string and minor cleanup
2015-09-26 07:58:29 +10:00
Samuel Georges 44bfda46cc Translate page title template 2015-09-26 07:55:39 +10:00
alekseybobkov e54352b62e Added the object list Inspector editor. 2015-09-24 21:16:28 -07:00
Samuel Georges beca2dddc2 Fixes the full screen button in code editor 2015-09-25 06:01:59 +10:00
Dave Shoreman 5816ae5604 Add permissions for account dropdown items
This adds permissions to Back-end Preferences and Code editor
preferences in the backend.

Instead of Access denied, the Backend Preferences page displays
an "Unable to find the spcified settings" error. Meh... it works.
2015-09-24 20:40:31 +01:00
Dave Shoreman faf682e30e Localise last modified date for mediaManager items
Updates the string version of the date to use PHP's IntlDateFormatter
which gives us translated dates in the appropriate format, based on
the user's locale set in backend preferences.

If ever there's a case where locale wasn't set or didn't match anything,
it would default to the system locale.
2015-09-24 19:11:32 +01:00
Jakub Zych 0e3e19a685 string replaced with translation key
backend::lang.list.no_records exists in all language files
2015-09-23 15:14:10 +02:00
Jakub Zych 99f2a40662 small fix in polish translation 2015-09-23 15:12:17 +02:00
Vojta Svoboda d56350dd34 Add missing locales 2015-09-23 12:19:02 +02:00
Samuel Georges 933ea641cc Adds failed jobs table (from docs)
Allow closures to be passed to Form|ListController
Tidy up server detail payload
2015-09-23 05:45:55 +10:00
flynsarmy 6e85290c9e Allow \ character in Page URLs. Fixes #1441 2015-09-22 10:38:35 +10:00
Szabó Gergő 5a39058b56 Translate the "CMS" string and minor cleanup 2015-09-21 21:09:07 +02:00
alekseybobkov 83b4994d61 Added new Inspector property editors - text and set, minor refactoring of the Inspector code. 2015-09-20 21:15:21 -07:00
Talha Zekeriya Durmuş 4d2a14ae94 Update Turkish Language for CMS module 2015-09-20 12:50:24 +03:00
Talha Zekeriya Durmuş aa7b44d614 Turkish Language Update for System 2015-09-20 12:16:27 +03:00
jBOKA 2bfcec811f Updated AssetList widget to use correct folder permissions 2015-09-20 06:03:42 +02:00
alekseybobkov f823e6f0ba Rewriting the Inspector, in progress. 2015-09-19 12:57:31 -07:00
Samuel Georges ab4abb9bc5 Minor 2015-09-19 06:17:31 +10:00
Vladimir Kattsov 9fee6346df Update MediaManager.php
Transform extension like JPG and etc to lower case
2015-09-19 06:04:25 +10:00
Samuel Georges 8ea26f87e1 Merge pull request #1433 from vojtasvoboda/feature/cs-locale
Add cs_CZ locale
2015-09-19 05:55:12 +10:00
Samuel Georges 3f7aa9f9f7 Write tests for revisionable trait 2015-09-19 05:36:58 +10:00
Samuel Georges b5611c3ed1 Add cache table 2015-09-19 05:32:05 +10:00
alekseybobkov 86ca09970d Updated select2, implementing new Inspector, work in progress. 2015-09-17 21:49:21 -07:00
Samuel Georges 528f6b1eca Improve icon docs 2015-09-18 05:08:47 +10:00
Samuel Georges 143f22850a Add alias for AjaxException as per docs 2015-09-18 05:08:18 +10:00
alekseybobkov c4e7427669 Updating select2 2015-09-16 20:06:30 -07:00
Samuel Georges 6b916cb554 Adds a timetense list column, inspired by FB
Also added |time_since and |time_tense Twig filters
2015-09-17 05:15:12 +10:00
Samuel Georges 6db2018f28 Add icon sizes - Refs #1434 2015-09-16 06:03:57 +10:00
Vojta Svoboda 17a2585a15 Add cs_CZ locale 2015-09-15 14:30:18 +02:00
alekseybobkov dba955da3a Rebuilding the Inspector 2015-09-13 18:11:12 -07:00
Talha Zekeriya Durmuş 293a04722e Turkish Language Update
Update lang.php

Updated forgotten record
2015-09-12 09:05:49 +10:00
Samuel Georges 1c8d021a35 Adds the ability to remove navigation items
Included tests
Refs #1413
2015-09-12 08:45:58 +10:00
Samuel Georges e8b4bf9d72 If the pivot model fails for some reason, abort the sync
Refs #1408
2015-09-12 07:53:33 +10:00
Samuel Georges 1d5caee2d9 Merge pull request #1408 from mplodowski/fix-1407
Fix #1407
2015-09-12 07:42:38 +10:00