Commit Graph

2392 Commits

Author SHA1 Message Date
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
alekseybobkov fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07:00