Commit Graph

3124 Commits

Author SHA1 Message Date
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