Samuel Georges
bc165078de
Removes redundant code
...
The form widget label and widgetDetails() method was intended for use by the Builder plugin, since it ended up using its own internal registration system, this is not used anywhere so is removed.
Refs https://github.com/octobercms/docs/issues/200
2016-11-01 08:15:03 +11:00
Samuel Georges
55848e400c
Empty CMS section when only manage_themes permission granted
...
Fixes #2425
2016-10-29 10:23:50 +11:00
Szabó Gergő
78d7436460
Set the path of theme preview image manually
2016-10-17 13:51:09 +02:00
egerheed
590b697574
Updates Norwegian language file for backend ( #2402 )
...
* Updates Norwegian language file for backend
2016-10-13 19:57:54 +11:00
Szabó Gergő
d7f1d523f0
Translate some strings ( #2395 )
...
* Translate some strings
2016-10-11 08:29:26 +11:00
Alwin Drenth
48d38a8e11
Update Dutch language
2016-10-03 17:21:55 +02:00
Mahmut Namli
85e9cb220a
Updated turkish language files for all modules ( #2377 )
...
* Backend lang file updated for turkish
* Cms lang file updated for turkish
* System-client lang file updated for turkish
* System-lang lang file updated for turkish
2016-09-19 18:13:44 +10:00
Sajjad
c80675f7b4
Update Persian language
2016-09-16 18:55:31 +04:30
Szabó Gergő
da254af4e6
Update the Hungarian translate ( #2334 )
...
* Update the Hungarian translate
2016-09-03 09:44:32 +10:00
Samuel Georges
8075b40bf0
Now that File facade is removed, we must apply chmod manually
2016-08-27 13:38:19 +10:00
Samuel Georges
dd06cd13fa
Handle cases where directory is not writable
2016-08-27 13:27:57 +10:00
Samuel Georges
1e0741e407
Fixes CodeParser concurrent access errors
...
Big thanks to @shina, @BearishSun and @MarcoROG for their help with finding a solution
Fixes #1250
2016-08-27 12:45:56 +10:00
Samuel Georges
c8d8d4e931
Introduce new Cms helper
...
This is modeled after the Backend helper. Primarily used to generate URLs for the frontend, these are piped through the CmsController action. It would also be a good place to add a hook, if necessary later.
2016-08-20 14:43:49 +10:00
Samuel Georges
3698f13acb
URL -> Url
2016-08-20 14:26:21 +10:00
Aleksey Bobkov
f1bd0d33b8
Minor fix in the file type validation
2016-08-13 14:54:59 -07:00
Samuel Georges
e64b08c697
Prevent rename media file to blocked type
...
Fixes #2304
2016-08-13 09:49:13 +10:00
coderwen
35e8b8f9fb
Add missing Chinese translation ( #2291 )
...
Various chinese translations
2016-08-06 11:53:23 +10:00
Szabó Gergő
7f3527759c
Update the Hungarian translate ( #2271 )
...
* Update the Hungarian translate
2016-08-06 11:46:29 +10:00
Samuel Georges
556b951e63
Calling dynamic methods for extended components
...
In the spirit of #2288
2016-08-06 09:55:42 +10:00
Samuel Georges
83a541f819
Minor code consistency
2016-07-27 17:21:38 +10:00
Samuel Georges
3ab90da6b5
Take data from form widget first, then request
...
URL -> Url
2016-07-27 17:17:22 +10:00
Samuel Georges
78a4067564
Make logic more explicit
...
This tightens up the rules of 7baea87068
2016-07-23 15:50:48 +10:00
Antony Tsioukas
b64b480918
Greek Language Update
2016-07-23 12:40:32 +10:00
Samuel Georges
7baea87068
Allow AJAX handlers to pipe objects to Laravel
...
Treat non scalar, non array, non RedirectResponse, non null as a Laravel compatible response
This brings AJAX handlers in line with page cycles, which do the same thing if the response is not a string. However in AJAX we should treat any scalar as a "result", not just a string. For all else (where not null), let Laravel handle it as a custom response object -- could be a model for serialization, or anything compatible.
Importantly to note when a custom redirect is sent, October's workflow is completely wiped out, so any partial updates, redirects, etc. will not occur. This is a normal and fair expectation.
Fixes #1784
2016-07-23 11:57:15 +10:00
Samuel Georges
8b21ed7d6f
Exception handling
...
Where a theme is set that does not exist
Fixes #2223
2016-07-23 11:02:26 +10:00
Samuel Georges
676196d304
Use starts_with instead of regex
2016-07-16 15:34:20 +10:00
Samuel Georges
e970d80443
Align AJAX logic: merge custom response last
...
This is to allow overriding the standard values
Refs #2209
2016-07-16 13:11:10 +10:00
Samuel Georges
346dc91d72
Merge pull request #2216 from acasar/patch-1
...
Pass the router reference on beforeRoute event
2016-07-16 12:53:14 +10:00
Anže Časar
68deb59265
Pass the router reference on beforeRoute event
2016-07-15 17:05:25 +02:00
Michał Płodowski
75dbd74bca
Polish language update (pl)
2016-07-11 19:34:53 +02:00
Sebastian Hilger
87cd7d8bf6
Added missing backend translations (German) ( #1825 )
...
* Added auth.title which was missing in the German language file
* Added missing backend translations to two language files
* added more German translations
2016-07-09 20:43:01 +10:00
Samuel Georges
9be8a8c0a3
Minor code tidy
2016-07-07 07:56:10 +10:00
Samuel Georges
dd86a13218
Merge pull request #2140 from reg2005/patch-3
...
Critical bugFix in themeData.php
2016-07-07 07:54:53 +10:00
Samuel Georges
5eab01b8bd
Update composer versions
...
Rollback 8dd2e97cf7
2016-07-06 17:15:41 +10:00
Samuel Georges
fdb1d13ede
Merge pull request #2134 from Herlevsen/danish_translation
...
Add danish translation
2016-06-25 10:39:33 +10:00
Samuel Georges
cfb7207ae1
Clarify maintenance mode behavior
...
Refs https://youtu.be/JztbNGfi_Qk?t=9m38s
2016-06-24 06:48:16 +10:00
reg2005
953b92ba0a
Critical bugFix in themeData.php
...
Additional check is added, without it there is a critical error "Call to a member function hasCustomData() on null"
2016-06-20 16:18:39 +03:00
Jens Herlevsen
be2bdb010b
Add danish translation
2016-06-17 23:48:37 +02:00
Samuel Georges
6ca828a1fa
Always return an active theme and data
2016-06-16 08:01:34 +10:00
Samuel Georges
ada26ed64a
Improve logic and fix trimming when slash not present
...
Fixes #2104
2016-06-11 13:45:52 +10:00
Anderson Carlos Woss
e2f30cb8a4
Update pt-br lang ( #2110 )
...
* Update pt-br lang
2016-06-11 06:34:06 +10:00
Samuel Georges
d6d5a37ab1
Stable prep: Patch the theme.yaml file for latest YAML version
...
Fixes #1950
2016-06-06 07:33:21 +10:00
Alwin Drenth
47c038c96e
Update Dutch (nl) language ( #2086 )
2016-06-04 12:16:17 +10:00
Samuel Georges
47f7a7cc3a
Typo - fixes #2089
2016-06-04 12:14:53 +10:00
Samuel Georges
0111100990
Shared view vars now passed to content blocks and mail templates
2016-06-04 07:26:16 +10:00
Samuel Georges
744d5654b3
ThemeData model now busts the [front-end] combiner cache
...
Separation of concerns, move the combiner asset variable injection logic to the cms module
Tweak readme
2016-06-03 07:22:05 +10:00
Samuel Georges
cd5a579c04
Disable clock picker AM/PM time for now
...
Restyle clock picker
Fixes #1989
Remove debug code
Recompile assets
2016-06-02 06:52:27 +10:00
Samuel Georges
31bebca129
Merge pull request #2084 from gergo85/develop
...
Update the Hungarian translation
2016-06-02 05:59:30 +10:00
Nicola Marini
df625ea7d5
Update italian (it) language ( #2083 )
...
* 🇮🇹 Update ita lang
Update italian language
* 🇮🇹 Ita lang
2016-06-02 05:58:53 +10:00
vasilslavchev@gmail.com
8c93404576
Bulgarian translation ( #2077 )
...
Bulgarian translation for october modul - system. VasilSlavchev@gmail.com
Bulgarian translation for october modul - cms. VasilSlavchev@gmail.com
Bulgarian translation for october modul - backend. VasilSlavchev@gmail.com
2016-06-02 05:57:00 +10:00
Hernawan Fa'iz Abdillah
6bb5926e19
Add newline conversion to code data section too
2016-06-02 05:52:49 +10:00
Samuel Georges
27dc84c59b
ThemeData can now pass variables to the combiner
...
Add support for fileuploads to ThemeData
Fixes #1539
2016-06-02 05:23:05 +10:00
Szabó Gergő
73ecd52def
Update the Hungarian translation
2016-06-01 15:19:10 +02:00
Marc-Antoine Thevenet
812d7b3163
🇫🇷 typos & consistency ( #2066 )
...
* 🇫🇷 typos & consistency
🇫🇷 typos & consistency + closing #2042 as wrong branch
* Update lang.php
Fix following @gabsource
* Update lang.php
2016-06-01 07:50:54 +10:00
Samuel Georges
7a38d522db
Remove LESS instructions, we use internal commands now
...
Timestamps don't need to be included in theme data
2016-06-01 05:54:35 +10:00
Lucas Martín
60602c5455
Added untranslated strings to spanish ( #2073 )
...
* Added untranslated strings to spanish
Added untranslated strings to spanish and correct commas and others
* Added untranslated strings to spanish
Added untranslated strings to spanish and correct commas
* Update lang.php
* Update client.php
2016-05-31 08:19:15 +10:00
Samuel Georges
74a6a71bcb
Parameters -> Parameter
...
(Models should be singular)
2016-05-31 08:17:48 +10:00
Jérémy Gaulin
11a55b764b
Fixes #2021 - Cropping with float values
2016-05-30 00:36:49 +02:00
Jérémy Gaulin
01140cde95
The selection mode must be applied when the popup is shown as the options are saved across requests.
...
Fixes #2022
2016-05-30 00:09:50 +02:00
Samuel Georges
bb769db223
Dashboard now supports reset and make default
...
Added the new widgets to the add widget screen
System Parameters can now be reset
2016-05-28 14:18:25 +10:00
Samuel Georges
805c0939ad
Introduce two new dash widgets: welcome and active theme
...
System warnings have been moved to the system dash widget
Minor styling and language changes
2016-05-28 11:10:33 +10:00
Samuel Georges
8a7f762c71
Restyle system status report widget
...
Fixes styling on popover-danger and popover-head with customization
2016-05-28 06:49:59 +10:00
Samuel Georges
064a15af8e
Merge pull request #2057 from gabsource/translation/french-review
...
French translation review
2016-05-27 07:53:12 +10:00
Samuel Georges
ebc7929ada
MaintenanceSettings -> MaintenanceSetting
2016-05-27 07:49:13 +10:00
Jérémy Gaulin
df5300f1f2
French translation review
2016-05-26 23:47:25 +02:00
Samuel Georges
cdb35f5070
UserPreferences -> UserPreference
...
(Models should be singular)
2016-05-27 07:35:32 +10:00
Szabó Gergő
5d104cfd56
Remove the unnecessary newlines
...
Update the event log translations
Update the Hungarian translations
Improve the logs preview translations
Translate the Editor settings page
2016-05-26 05:31:37 +10:00
Samuel Georges
887bf569dc
Rollback recursion fix
...
This should no longer be necessary with the new third party code used in rich editor
Refs #1733
2016-05-25 05:28:00 +10:00
Tobias Kündig
8caba09993
Fixed german translation in backend module ( #2036 )
...
* Fixed german translation in backend module
* Added confirm_delete translation
* Added return_to_list translation
* Fixed typo
* Use 'Verschieben' as german translation
2016-05-24 06:04:13 +10:00
Samuel Georges
d730f9af9d
Merge branch 'froala' into develop
2016-05-24 05:46:39 +10:00
Samuel Georges
af19341c01
"Quick Uploads" are dumped in a special folder via media manager
...
Refs #2005
Remove the active state on media manager table data for consistency with other view modes
2016-05-22 07:24:04 +10:00
Jérémy Gaulin
e3812036da
Allow usage of namespace alias in the code section a a CMS page, with
...
unit test. Fixes #2006
2016-05-21 16:27:15 +02:00
Samuel Georges
5a63fb292a
Combine media manager global with the core october.js file
...
This should save 1 extra request, although it is less modular we can address it again later
2016-05-21 12:37:21 +10:00
Samuel Georges
85decc4086
Style tweaks
2016-05-21 06:57:12 +10:00
Samuel Georges
9ad20d3b8d
Continuity styling changes
...
Remove active states from inspector
Make the close (X) icons larger on CMS tabs and Components
2016-05-20 08:33:23 +10:00
Samuel Georges
091705e70e
Fixes scrollbars appearing on wide images
2016-05-20 05:20:13 +10:00
Samuel Georges
61970413a8
More backend styling
...
Tone down the shading in some areas
Reduce intensity of button icons
2016-05-19 07:00:34 +10:00
Samuel Georges
60893d151f
Prevents CMS tabs from sitting atop save buttons
2016-05-18 08:38:46 +10:00
Samuel Georges
83ebd24bcc
Side panel should be fixed by default
2016-05-18 05:01:19 +10:00
Samuel Georges
0d3566e3f6
We should purge the attributes before saving
...
This will allow the components to be removed
Fixes #2007
2016-05-15 16:47:10 +10:00
Szabó Gergő
5a031a2e29
Added the missing translations
...
Replaced the old php array syntax
Minor typo
Updated the Hungarian language
2016-05-15 05:32:06 +10:00
Breno Douglas Araujo Souza
8d1670d562
Fix error upload file in midia
...
rename $title to $name in cleanFileName method
2016-05-12 11:54:39 -03:00
Samuel Georges
f900ed8f62
Reshuffle the base color scheme again
...
Restyle the component area in the CMS
2016-05-12 04:33:01 +10:00
Samuel Georges
ff207b91cf
onDelete -> onDeleteItem
2016-05-12 04:31:29 +10:00
Samuel Georges
bab3a0ed5c
Improve UI on sign in screen
...
Fixes a weird issue where the custom logo ratio loses its transparency
2016-05-11 05:29:34 +10:00
Samuel Georges
5d27682f25
Create new TagList form widget (Experimental)
...
Update Select2 to latest
2016-05-08 17:43:21 +10:00
Samuel Georges
0aaf17c98a
Merge pull request #1975 from gabsource/enhance/fr-translation
...
Translated news keys for french locale
2016-05-08 11:18:22 +10:00
Samuel Georges
05758ed507
Merge pull request #1943 from mcustiel/bugfix-components-autowiring
...
Bug: Fix for components that support autowiring
2016-05-08 11:17:32 +10:00
Samuel Georges
d69053481c
Tweak some styles
2016-05-05 17:39:36 +10:00
Jérémy Gaulin
8e63060a11
Translated news keys for french locale
2016-04-30 12:00:20 +02:00
Samuel Georges
f5633c1bc6
SQL MODE code may fail in other drivers, use Dongle instead
2016-04-30 06:22:00 +10:00
Samuel Georges
1c8de67610
Merge pull request #1964 from dshoreman/date-fixes
...
Date fixes
2016-04-30 05:21:32 +10:00
Samuel Georges
1608d80127
Reorganise code editor prefs
...
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Dave Shoreman
48090351bd
Convert current core timestamp columns to nullable
...
Adds migrations to switch all existing timestamp fields from being
NOT NULL DEFAULT 0, to NULL DEFAULT NULL, in order to get around
issues with new default modes in MySQL that cause errors in 0 dates.
2016-04-29 19:31:17 +01:00
Samuel Georges
d6a7fdc74c
Reduce the wording on a bunch of messages
2016-04-29 17:36:52 +10:00
Samuel Georges
0d8a30730e
Introduce scope "switch" type, allow options to be passed
2016-04-27 19:09:19 +10:00
Dave Shoreman
34f2aa7dcf
Switch to custom Schema facade
...
Updates the Schema facade to point to the custom one added in the
library repo, and sets all existing migrations to use our own
Blueprint class instead of the one provided by the Laravel framework.
2016-04-27 08:31:58 +01:00
Samuel Georges
adbde0ad09
If the cache should fail, don't bring down the whole app
2016-04-27 05:44:32 +10:00
Samuel Georges
a5acbc7bff
Add before/after events for component::onRun
2016-04-27 05:44:32 +10:00
Mariano Custiel
aa08a83420
Fix for components that support autowiring
...
Removed unneeded null object and call App::make without arguments
2016-04-26 11:49:41 +02:00
Samuel Georges
abaa65cc0e
Cut back the design
...
Switch to hard lines
2016-04-22 08:21:08 +10:00
Samuel Georges
76faef7c17
Sync styles on media picker and file upload
2016-04-21 06:11:31 +10:00
Samuel Georges
cfd53375ac
Fixes to editor preferences
2016-04-21 04:50:05 +10:00
Lucas Martín
e2566c36a0
update codeeditor with new features ( #1863 )
...
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Jérémy Gaulin
f6b9c780e7
Added missing french tanslation keys including changes from PR #1898 with some accentuated character fixes
2016-04-16 16:14:08 +02:00
Samuel Georges
87a4de40de
Address serialize/unserialize issues
...
This will require a cache clear for the combiner
Ref https://davidwalsh.name/php-serialize-unserialize-issues
2016-04-16 08:22:31 +10:00
Samuel Georges
b534006f35
DbDongle -> App::hasDatabase
2016-04-16 07:44:18 +10:00
Samuel Georges
cafd5d7ffa
ComponentPartial properties should be publically accessible
...
Fixes caching issue when updating a component partial
2016-04-16 04:42:34 +10:00
Samuel Georges
c5362652c1
Begin the process of refitting brand settings
...
Introduce secondary and accent colors
Switch some CSS to use the new storm utils
Other minor improvements
2016-04-05 20:04:11 +10:00
Samuel Georges
f68eb3f20f
Move halcyon registration to model boot
...
Attempt to fix issue where service provider looks at system_preferences database table that doesn't exist yet as part of the boot() method
Fixes #1897
2016-04-04 18:37:56 +10:00
Samuel Georges
ca3e13ed33
Fixes issue related to PHP 5.5.12
...
For some reason the closure did not like static calls inside, bye bye array_map(...)
2016-04-02 17:39:23 +11:00
Samuel Georges
8dd2e97cf7
~1.0 -> dev-develop
2016-04-01 14:07:43 +11:00
Samuel Georges
b51b5a112e
dev-stable -> ~1.0
2016-04-01 12:52:11 +11:00
Pásztor Gábor
9f3fcf27ed
Update AssetsList
2016-03-30 18:17:18 +02:00
Pásztor Gábor
40269cb6e2
Clean up
2016-03-29 14:55:25 +02:00
Samuel Georges
5a9d62d54a
Merge pull request #1882 from gpasztor87/patch-1
...
Clean up
2016-03-29 23:08:47 +11:00
Pásztor Gábor
324875f768
Clean up
2016-03-28 15:47:29 +02:00
Pásztor Gábor
87a5ff339e
Fix error in Maintenance Settings
2016-03-28 15:41:47 +02:00
Samuel Georges
90ccef9b11
Minor
2016-03-26 12:39:34 +11:00
Samuel Georges
86d4ae491e
Minor
2016-03-25 18:42:39 +11:00
Samuel Georges
2a7dbdd74a
Merge branch 'stable' into ui
...
Conflicts:
modules/cms/classes/CmsObject.php
modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges
4ddc8055c6
Merge branch 'develop' into stable
2016-03-25 18:39:16 +11:00
Samuel Georges
7b32f33d9d
Update to resizer class
...
Refs #1694
2016-03-25 17:31:22 +11:00
Samuel Georges
767ce5f2e7
Throw an exception when the file_data is missing from the request
...
Fixes #1712
2016-03-25 16:11:01 +11:00
Samuel Georges
3cac52afd4
Default is null, not false
2016-03-25 10:42:14 +11:00
Samuel Georges
f1aa720086
Create a safe mode to disable code field in the CMS
...
Fixes #1756
2016-03-25 10:05:04 +11:00
Samuel Georges
680887f452
Fixes component access issue
2016-03-25 09:56:36 +11:00
Samuel Georges
7c08b10fa2
Add cms.theme.setActiveTheme event
...
Bring other event names in to line with convention
Complete getConfigArray method
2016-03-23 20:11:55 +11:00
Samuel Georges
0b74734fae
Make room to load theme options from files
...
For example:
form: path/to/fields.yaml
2016-03-22 20:03:00 +11:00
Samuel Georges
31f74adb70
suppressDirectories -> ignoreDirectories
...
Add support for wildcards in ignoreDirectories
2016-03-21 17:19:38 +11:00
Samuel Georges
6e7fa7de88
Allow CmsObjects to define their own Twig cache key
2016-03-21 13:42:03 +11:00
Samuel Georges
4922d6d284
Retain previous listInTheme cache functionality
2016-03-20 16:04:27 +11:00
Samuel Georges
fad028bc40
Add local cmsObject.fillViewBagArray event
...
Tidy up some inline docs
2016-03-19 13:22:08 +11:00
Samuel Georges
792b7fed2a
Fixes CmsException on bad INI
...
No need for Cms SectionParser.php anymore
2016-03-19 10:30:42 +11:00
Samuel Georges
c244aef2f8
Clean up
2016-03-18 19:54:27 +11:00
Samuel Georges
7f209d2df9
Bring Asset in line with inTheme
2016-03-17 19:28:29 +11:00
Samuel Georges
045d186960
Finishing porting old functionality
...
- Add validation to Cms Objects
- Add local viewBag logic
- Implement new initCacheItem process
- Implement getter for viewBag/settings properties
2016-03-17 19:25:50 +11:00
Samuel Georges
dcc63baffd
Theme -> Datasource
2016-03-17 19:22:37 +11:00
Samuel Georges
864d38b77e
Why are these static?
...
...seriously, why are they static?
2016-03-12 15:49:37 +11:00
Samuel Georges
24a620e890
Convert CmsObject and CmsCompoundObject to use Halcyon
...
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00
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
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
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
94c6ef4da0
Let Cms Objects use behaviors
2016-03-02 18:13:00 +11: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
1241f584d0
Merge remote-tracking branch 'remotes/origin/stable' into ui
2016-03-01 07:02:07 +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
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
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
alekseybobkov
6ed4bd5ef6
Updates in the UI
2016-02-22 21:52:23 -08:00
Samuel Georges
ff52ad6595
Remove Illuminate references
2016-02-23 13:46:57 +11: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
alekseybobkov
a943708b99
UI updates
2016-02-19 22:12:41 -08: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
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
Mahmut Namli
6391e9b323
Added new translation strings
2016-02-13 16:44:43 +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
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
acfb35cbed
Merge branch 'develop' into stable
2016-02-10 20:03:51 +11:00
Samuel Georges
03e7c19a5d
Fixes issue where twig passed null
...
Minor update to dropdown docs
2016-02-09 17:58:37 +11:00
Sajjad
d2619b6ba4
Update persian language
2016-01-28 18:00:07 +03:30
Jens Herlevsen
2350e30853
Make default 404 page use 404 status code
2016-01-24 19:04:22 +01: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
Samuel Georges
af4f42e208
Add 503 header when maintenance mode enabled.
...
Fixes #1655
2016-01-21 20:16:53 +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
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
b5aef97133
Alt fix for #1680
2016-01-04 17:49:11 +11:00
Samuel Georges
1d2929e2f0
Update composer refs
2016-01-02 18:44: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
Dave Shoreman
66413ea50b
Fix permissions required for theme settings
2015-12-31 11:32:25 +00: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
0164324e63
Merge pull request #1657 from gergo85/patch-1
...
Improve the multilingual support
2015-12-19 14:13:58 +11:00
Szabó Gergő
12465f4f86
Improve the multilingual support
2015-12-14 18:21:56 +01:00
Samuel Georges
1643cf69b9
Merge pull request #1650 from gergo85/master
...
Update the Hungarian translation
2015-12-12 11:41:43 +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
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
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
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
5e5e99cd46
Make it easier to pick the component name from the error
2015-11-01 13:16:43 +11: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
5c294b78bd
Add support to extend query on 'nested' sortMode - refs #1519
...
Recompile assets, minor cleanup
2015-10-17 12:44:16 +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
Vojta Svoboda
16eb704793
Add missing PHPDoc @return tag
2015-10-17 09:17:37 +11: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
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
Samuel Georges
84a95af93b
whereComponent doesn't rely on the component object
2015-10-09 05:32:24 +11:00
Samuel Georges
3531793ca3
Add where and whereComponent to CMS objects
2015-10-08 07:28:20 +11:00
Samuel Georges
1774f12e65
Minor styling fix
2015-10-07 07:22:16 +11:00
flynsarmy
3e37c9307f
Show matching folders when filtering CMS objects. Ref #1466
2015-10-05 12:12:11 +10: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
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
Samuel Georges
1847018b99
Switch to October flavored INI
2015-10-03 08:52:52 +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
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
Alwin Drenth
21680f60f9
Updated Dutch language for CMS
2015-09-29 22:04:14 +02: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
flynsarmy
60facd2741
Use correct folder permissions in ThemeImport/Export
2015-09-26 18:12:13 +10: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
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
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
70882a0e33
Minor revert from previous 2 commits
2015-09-26 08:01:08 +10: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
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
jBOKA
2bfcec811f
Updated AssetList widget to use correct folder permissions
2015-09-20 06:03:42 +02: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
Vojta Svoboda
17a2585a15
Add cs_CZ locale
2015-09-15 14:30:18 +02:00
alekseybobkov
fea5d8389f
Minor fixes and improvements.
2015-09-10 20:45:07 -07:00
Samuel Georges
9812e1f4ec
Fix protection level on formExtendFields
...
Improve styling on collapsible sections
2015-09-10 20:42:24 +10:00
Samuel Georges
51c7878e8f
Fixes rendering 2 shared component partials nukes context
2015-08-30 11:56:44 +10:00
Samuel Georges
793bf30c26
Decouple the toolbar from the layout system
2015-08-26 20:24:37 +10:00
Samuel Georges
1d0c22293c
Merge pull request #1386 from gergo85/master
...
Big update for Hungarian language
2015-08-22 20:18:55 +10:00
Szabó Gergő
07c8b23c7d
Big updated for Hungarian language
2015-08-22 12:09:56 +02:00
Samuel Georges
60c18d39df
Remove dependency on sweet alert
2015-08-22 13:48:53 +10:00
Samuel Georges
742ae07391
Tidy up from #1377
2015-08-22 08:47:35 +10:00
Vladimir Kattsov
7c39a1ae74
Update MediaManager.php
...
If name of our upload file not latin
2015-08-17 18:35:43 +03:00
Samuel Georges
2c5f9eba6b
Write tests that verify the truth of #1373
2015-08-15 13:39:44 +10:00
Samuel Georges
85933facbc
Stack partials, store components, unstack partials - Fixes #1373
...
Fixes instances where nested repeating partials are destroying the partial component stack and causing breaking errors.
Nesting example:
Partial (with components)
^-> Calls component default markup
^-> Refers to partial override (with repeating partial calls)
^-> Calls another partial (with components)
^-> Components not found (destroyed by repeating calls above)
2015-08-15 11:05:30 +10:00
Samuel Georges
0e3403f1aa
Use a nicer syntax for <html lang="" />
...
Recompile assets
2015-08-15 09:49:51 +10:00
Jérémy GAULIN
3f8d17995a
Translate alert messages. Switched to `sweetAlert.alert()` instead of raw `window.alert()`.
...
Override `swal` and `sweetAlert` functions to set translation on default buttons.
Changed `sweetAlert()` to `swal()` to be consistent with `mediamanager.js`
2015-08-15 09:46:24 +10:00
Samuel Georges
b8bc6c6d99
Allow the "go up" link to be selected with the mouse - Refs #1360
...
This will disable the move and delete buttons
2015-08-15 09:17:30 +10:00
Jofry
8973761146
Merge pull request #1 from jofrysutanto/master
...
Show mediamanager sidebar preview when "Go up" is selected.
2015-08-08 22:57:21 +10:00
jofrysutanto
871f824582
Show mediamanager sidebar preview when "Go up" is selected.
...
Show more informative sidebar information when "Go up' is selected, instead of blank file information with 'null' public url.
2015-08-08 22:52:21 +10:00
Samuel Georges
d537cef720
Merge pull request #1347 from powelski/resolve-1272
...
Escape HTML for .txt contents
2015-08-08 11:40:58 +10:00
Samuel Georges
2cf1d707ad
The API response for insert / insert+crop should be identical
...
This is because the 'onInsert' callback is used for both actions, yet yielded different results causing breakages
Fixes #1281
Also improved code readability in some places
2015-08-08 11:17:56 +10:00
Nicola Marini
b579891164
Update lang.php
...
Update lang.php
Update lang.php
Update validation.php
Update lang.php
Update lang.php
2015-08-08 10:31:17 +10:00
Finjon Kiang
cebf7466a9
add new language zh-tw / Chinese (Taiwan)
2015-08-08 10:12:23 +10:00
Krzysztof Powelski
9c3f83c54f
Escape HTML for .txt contents
2015-08-05 00:00:43 +02:00
Samuel Georges
b010732796
These methods should be protected, update client lang
2015-08-04 10:01:17 +10:00
Samuel Georges
52361e9b4d
Merge pull request #1324 from acwoss/develop
...
Update pt-br lang
2015-08-03 20:12:57 +10:00
Samuel Georges
8cd97b27a6
Add prettify, update Ace, recompile assets
2015-08-03 19:00:45 +10:00
Samuel Georges
3e898064e1
Translate some client side strings
2015-08-03 18:59:37 +10:00
Anderson Carlos Woss
bfdcfa69da
Update PT-BR lang
2015-07-30 00:37:23 -03:00
Samuel Georges
f47b99d183
Move storm to its own build
2015-07-29 19:13:42 +10:00
Samuel Georges
c3d44fb0b4
Merge pull request #1307 from GeGeek/patch-2
...
Update lang.php
2015-07-25 15:39:34 +10:00
Tom
506f7502ea
update Chinese Language File
2015-07-25 15:29:07 +10:00
Asselin de Beauville
26882346c4
Update lang.php
...
Updated 'settings_menu' var.
2015-07-25 07:28:43 +02:00
Samuel Georges
d931c6ecfc
Merge pull request #1296 from mrmlnc/path-1
...
Update Ru_lang to current status develop branch
2015-07-25 15:19:13 +10:00
Samuel Georges
bdc05a20fe
Merge pull request #1291 from DZB-Team/develop
...
Some new language strings...
2015-07-25 15:18:17 +10:00
Samuel Georges
d6d48b4580
Merge pull request #1285 from bilgorajskim/bilgorajskim-patch-1
...
Update Polish translation
2015-07-25 15:04:52 +10:00
Samuel Georges
561adcfb37
Merge pull request #1279 from tsioukas/patch-1
...
Added new phrases on Greek Language
2015-07-25 15:01:01 +10:00
Samuel Georges
a5531f931b
Manual merge - fixes #1278 Thanks @Freakspot
2015-07-25 15:00:19 +10:00
Samuel Georges
0f215785f3
Rollback the idea of using $visible on CmsCompoundObjects
...
This feature should be reserved for serializing the object (in future maybe) rather than defining visible properties, these should be relaxed.
2015-07-25 11:07:36 +10:00
Samuel Georges
52ea4a73c8
Performance improvements, rename scopes to standard
2015-07-21 20:46:35 +10:00
Denis Malinochkin
5f1e03fc46
Update Ru_lang to current branch
2015-07-18 15:53:02 +03:00
raw99
b2d7cea159
Removing dublicate string
2015-07-14 19:36:55 +03:00
Samuel Georges
41a94a50ae
Fixes broken critical bum bum
2015-07-14 20:47:00 +10:00
bilgorajskim
3ed3716548
Update polish translation
2015-07-13 09:54:58 +02:00
bilgorajskim
0c7c6f4895
Update polish translation
2015-07-13 08:59:28 +02:00
Antony Tsioukas
b3bf7645a0
Added new phrases on Greek lang.php
2015-07-11 19:08:01 +03:00
Samuel Georges
961509839e
Manually merge Pull Requests that are prepared incorrectly
...
Fixes #1229
Fixes #1259
Fixes #1260
Fixes #1261
Fixes #1262
Fixes #1263
Fixes #1264
Fixes #1277
Thanks @felixinx @awaysoft @tsioukas @Freakspot
2015-07-11 14:36:38 +10:00
Samuel Georges
60fac726a9
Merge pull request #1274 from powelski/develop
...
Translate Media to Polish language
2015-07-11 11:48:05 +10:00
Samuel Georges
eb5a1b7039
Merge pull request #1268 from scottbedard/patch-4
...
Fix location of mediafinder comments
2015-07-11 11:30:04 +10:00
Samuel Georges
a3223e8d03
Merge pull request #1256 from sajjad-ser/master
...
update persian language
2015-07-11 11:26:41 +10:00
Samuel Georges
84da7f3698
Improve tabs consistency, fix conflict with .primary
...
.primary -> .primary-tabs
.secondary -> .secondary-tabs
.master -> .master-tabs
2015-07-10 15:51:24 +10:00
Kris Powelski
502a13f08d
Translate Media to Polish language
2015-07-09 18:48:10 +02:00
Scott Bedard
2b4b891586
Fix location of mediafinder comments
...
Without the overflow, mediafinder comments render in a weird location (see before / after screenshots)
https://www.dropbox.com/s/ogxfcaky6tdkki4/before_overflow.png?dl=0
https://www.dropbox.com/s/bsn0s0fjpj7j9iz/after_overflow.png?dl=0
2015-07-08 13:32:43 -04:00
Sajjad
711df56986
update persian language
2015-07-05 21:26:39 +04:30
Samuel Georges
4f0fa37d6f
Update of FRENCH Translation for OctoberCMS - thanks @Galixte
...
Fixes #1248 without 11 commits
2015-07-04 10:36:32 +10:00
Samuel Georges
b9e4eeb60c
Merge pull request #1252 from DZB-Team/develop
...
Some small Latvian language fixes...
2015-07-04 10:26:15 +10:00
Samuel Georges
adfc198428
Merge pull request #1239 from gergo85/master
...
Updated Hungarian language
2015-07-04 10:25:11 +10:00
Samuel Georges
461e4f75de
Improve admin list toolbar
...
Change "Admins" group to "Owners" (more descriptive)
Fix bug in Firefox on Mediafinder form widget not respecting max-width 100%
Recompile assets
2015-07-04 09:34:35 +10:00
raw99
9e59382822
Some small fix again...
2015-07-01 23:24:39 +03:00
raw99
8a36ad5403
Some Latvian language fixes...
2015-07-01 23:13:30 +03:00