Commit Graph

1580 Commits

Author SHA1 Message Date
Samuel Georges 3b885ade56 Merge pull request #1545 from keiosweb/develop
translation strings in import-export behaviour and polish translations
2015-10-31 17:09:15 +11:00
Samuel Georges 100dfc2802 Merge pull request #1532 from mrmlnc/develop
update Russian language to build 305
2015-10-31 17:02:24 +11:00
alekseybobkov bb4192a5de Minor style fix in the fancy layout tabs. Improved live update mode in Inspector. 2015-10-30 23:01:35 -07:00
Samuel Georges c30b34e4d9 In special cases, has one/many will require a foreign key set
For example: to pass any constraints imposed by the database
This new logic emulates the "create" method on the relation object
Fixes #1541
2015-10-31 16:40:16 +11:00
Trias Nur Rahman a65c83755d Fix placeholder color on fancy layout backend form 2015-10-24 23:53:57 +07:00
alekseybobkov 6162d24651 Minor back-end styling fix in fancy layout / master tabs. 2015-10-21 21:37:41 -07:00
Kuba 031b9cdbe6 translation strings in import-export behaviour and polish translations 2015-10-21 19:47:57 +02:00
Denis Malinochkin f5dd39e1a2 update Russian language to build 305 2015-10-17 18:12:14 +03: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
Jofry f0b4691168 Allow extend query on reorder controller, on 'simple' sortMode 2015-10-17 12:36:46 +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
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 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
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
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
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
flynsarmy 82c2787f39 Add support for default values in form widgets 2015-10-09 13:51:33 +10:00
Matiss Janis Aboltins b1766196c2 Added missing latvian language strings 2015-10-08 10:02:06 +03:00
Samuel Georges f99ff4a363 Prevent sorting of count column, fixes #1491 2015-10-07 19:24:18 +11: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
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
Samuel Georges 3a7e1d6d31 Fixes #1480 - Allow postback key names to use dots 2015-10-05 12:11:25 +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 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
Sajjad 19adf61c5e Update Persian language 2015-10-03 12:36:57 +03:30
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
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
Samuel Georges e285b2f870 Merge pull request #1473 from alxy/patch-7
Missing use statement
2015-09-30 05:31:44 +10: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
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
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
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 9a54db74ad Move docs out of JS file 2015-09-26 08:29:17 +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 70882a0e33 Minor revert from previous 2 commits 2015-09-26 08:01:08 +10:00
Samuel Georges 44bfda46cc Translate page title template 2015-09-26 07:55:39 +10: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
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
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
alekseybobkov 83b4994d61 Added new Inspector property editors - text and set, minor refactoring of the Inspector code. 2015-09-20 21:15:21 -07: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 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
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
Samuel Georges cf7585f79b Fixes formwidget logic leaking out of context
For example: a formwidget with no tabs can exist inside a set of preview content tabs
2015-09-10 20:51:02 +10:00
Samuel Georges 9812e1f4ec Fix protection level on formExtendFields
Improve styling on collapsible sections
2015-09-10 20:42:24 +10:00
Samuel Georges ac18f86937 Fixes an issue where admins updating self see access denied
Only when the user has no permission to edit other admins
Refs #831
2015-09-09 08:32:45 +10:00
Samuel Georges e2fafa3552 Revert eac25c69de
Toolbar no longer sets height 100%, tests in Chrome 45 fine
2015-09-09 08:32:44 +10:00
Samuel Georges 2a6b58a3fe Merge pull request #1425 from Flynsarmy/getPublicActions
Add getPublicActions controller method
2015-09-08 12:48:44 +10:00
flynsarmy 98e1d0fe4d Add getPublicActions controller method 2015-09-07 14:17:09 +10:00
Samuel Georges ddf8ff09ff Fixes #1416 to include empty strings 2015-09-03 07:15:52 +10:00
Vojta Svoboda beb253a5c0 Fix evaluate zero value as null 2015-09-02 22:43:33 +02:00
Samuel Georges 2619de0ae7 Fixes bug in valueFrom when relation is null 2015-09-02 17:28:22 +10:00
Samuel Georges 7a2c0eea07 Update BS sweet alert to latest, recompile assets 2015-09-01 19:05:44 +10:00
Michał Płodowski e388c18369 Added focus on search field when pivot popup opens. 2015-08-31 20:21:50 +02:00
Michał Płodowski 37f7c1d62e Fix #1407 2015-08-31 20:19:58 +02:00
Samuel Georges 8a28ce4e5f Fixes protection level bug 2015-08-31 17:19:25 +10:00
Antony Tsioukas 24d8cb8f66 Update Greek Language 2015-08-30 09:32:51 +10:00
Samuel Georges ee38c72f04 Protected properties were once [incorrectly] available 2015-08-29 20:12:55 +10:00
Samuel Georges 275463996e When toggling empty tabs: if a hidden tab was selected, select the first visible tab
Induce tab overlap using negative right margin instead (first-child tab can be hidden)
Use a slightly cleaner approach than in #1401
2015-08-29 18:42:29 +10:00
Samuel Georges c5c56dd927 Merge pull request #1401 from gabsource/hide-formwidget-tab-on-toggle
Hide FormWidget tabs when they contain no fields or only hidden field
2015-08-29 17:21:42 +10:00
Samuel Georges 917cfd437f Make sure a tab is defined always - Refs #1397 2015-08-29 16:45:01 +10:00
Samuel Georges 0aaeaf7406 Merge pull request #1396 from gabsource/fix-emmet-js
Fix Emmet expand by forcing syntax to html when editor is set to Twig
2015-08-29 16:03:55 +10:00
Samuel Georges 02bcc0514c Merge pull request #1395 from gabsource/fix-swedish-language-code
Fix Swedish language code reference 'se' to 'sv' to reflect ISO code
2015-08-29 16:03:10 +10:00
alekseybobkov 268b918a51 Merge branch 'master' of github.com:octobercms/october into builder-ui 2015-08-27 18:30:45 -07:00
Jérémy Gaulin 6ec42da584 Hide FormWidget tabs when they contain no fields or only hidden fields after a toggle event on a field has occurred 2015-08-27 22:28:03 +02:00
Samuel Georges 906a4e65c2 Prompt can now be used to define the button text for file multi
Minor update to checkbox markup
2015-08-28 04:39:29 +10:00
Samuel Georges 7f502768dc Adds new view event system, add event to sign in form 2015-08-28 04:31:41 +10:00
Jérémy Gaulin d6356ac733 Fix Swedish language code reference 'se' to 'sv' to reflect ISO code like in folder structure. 2015-08-27 16:37:12 +02:00
Jérémy Gaulin 8152605e5a Fix Emmet expand by forcing syntax to html when editor is set to Twig. 2015-08-27 01:28:43 +02:00
Samuel Georges 793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00