Commit Graph

1134 Commits

Author SHA1 Message Date
ebuster c15a61cfc8 Add missed Lang class using
Instead of message about my error I get message about system error in error message about my error.
2015-03-28 15:01:23 +03:00
Samuel Georges c4027b8bc6 Added a defaultFrom option to form fields
Default context of manage and pivot forms is now create and update respectively, instead of the old value relation
2015-03-28 16:14:22 +11:00
Samuel Georges dffe3915a1 Add proposed z-index frequencies 2015-03-28 10:07:40 +11:00
Łukasz Biały e19759c9f9 fixes HHVM relation formfield (belongsToMany in particular) issue in which no data is pulled from relation 2015-03-27 23:03:38 +01:00
Samuel Georges 3eede4a7b7 Reorganise and improve RelationController
Fix bug in DataTable limited to 10 records
2015-03-27 22:20:52 +11:00
Samuel Georges aa7f831a4e Fixes a conflict with triggerapi and popup scripts
The hide event wasn't namespaced and caused the backdrop to hide
2015-03-27 17:36:28 +11:00
alekseybobkov 5731ad0db7 Merge branch 'develop' into media-manager 2015-03-26 18:37:24 -07:00
krisawzm 5d79be79eb Added Norwegian language support 2015-03-26 23:16:29 +01:00
krisawzm 7aaa4d81be Fixed typo 2015-03-26 21:37:22 +01:00
Samuel Georges 5f9acc2e8d Fixes #358 - Main menu / Tabs no longer use inverted scrolling when horizontal 2015-03-26 22:06:01 +11:00
Samuel Georges 5503705576 Define more backend permissions
Addresses some of the concerns raised in #218 (fixes #218)
2015-03-26 21:56:04 +11:00
Samuel Georges f64497c5f3 Minor bug fix blocking new config approach 2015-03-26 19:05:07 +11:00
krisawzm f335faa572 Added nb-no 2015-03-26 01:49:55 +01:00
Amanda Tresbach 897d291b78 Improve and update Brazilian files 2015-03-25 17:03:57 -03:00
Samuel Georges a743d78658 List Column of type switch now has text-center CSS
List Column now have getName and getId accessors
2015-03-25 19:35:00 +11:00
Samuel Georges 44b037c21c Prevents doubling up of dataset 2015-03-25 19:33:19 +11:00
Samuel Georges 8d93c9ffab List query is now AND where instead of OR where
Refs #775 to support soft deletes
2015-03-25 19:33:00 +11:00
alekseybobkov ed2ca5308b Implemented (draft) support for touch devices. Minor fixes. Reworked the proxy implementation in the base class. The Media Manager JS class now uses the base class. 2015-03-24 20:47:49 -07:00
Samuel Georges 3c2494aa83 Improve DataTable form widget, fixes vague error in RecordFinder 2015-03-24 20:10:45 +11:00
刘星 4044911057 Update Chinese language 2015-03-24 12:42:35 +08:00
Samuel Georges ad6447f5f2 Fixes #995 - Adds sorting to repeater 2015-03-23 20:03:37 +11:00
Samuel Georges 6bb1ee3b9a Update Relation Form widget to new approach, now supports nested field names 2015-03-23 20:02:59 +11:00
alekseybobkov f7d08f1197 Implemented folder creation, fixed a minor issue with selecting items, added a new event to the Popup control. 2015-03-21 23:09:33 -07:00
Samuel Georges da95d7dcea Merge pull request #1012 from Flo-Schield-Bobby/fr
Update french back-end translation file
2015-03-21 11:12:16 +11:00
Samuel Georges 0ba346956b Merge pull request #1006 from prhost/develop
Abbreviated extensive word
2015-03-21 11:11:54 +11:00
fschildknecht ea722314ae Update editor french translation 2015-03-20 15:33:56 +01:00
fschildknecht 561254dcd2 Update french back-end translation file 2015-03-20 15:20:40 +01:00
Samuel Georges 398177b006 Full pivot support added to RelationController 2015-03-19 20:01:08 +11:00
alekseybobkov 331276c244 Implemented file and folder deletion 2015-03-18 22:20:53 -07:00
alekseybobkov 814c0ddc17 Merge branch 'develop' into media-manager 2015-03-18 19:27:27 -07:00
alekseybobkov 4feb64fef3 Minor design update in the user menu. 2015-03-18 19:19:43 -07:00
Samuel Georges a1ac5edbf7 Various minor fixes and improvements 2015-03-18 19:28:14 +11:00
alekseybobkov e2a9c25b65 Implemented search. 2015-03-17 22:20:04 -07:00
alekseybobkov 03c46012dc Merge branch 'develop' into media-manager 2015-03-17 19:30:57 -07:00
Samuel Georges 0916c7a650 Fixes #1008 - typo in code 2015-03-18 05:41:39 +11:00
Samuel Georges 5648507e0c Adds soft copy directory support, minor fix to loadindicator 2015-03-18 05:38:25 +11:00
alekseybobkov 4e1217e2de Implemented item sorting. Minor fix in the drop-down list styling. 2015-03-16 21:49:39 -07:00
Kallef 37c7bd7f36 abbreviated extensive word 2015-03-16 22:32:19 -03:00
Samuel Georges 77d3ab8b67 Finish basic theme utilities: properties, import/export, duplicate, delete 2015-03-16 19:00:39 +11:00
alekseybobkov dc4cb12402 LESS compiled 2015-03-15 22:08:41 -07:00
alekseybobkov 64e3b77eae Minor fix 2015-03-15 22:06:52 -07:00
alekseybobkov 44c08b76f9 Implemented file uploading 2015-03-15 21:54:39 -07:00
alekseybobkov 78ad303236 Merge branch 'develop' into media-manager
Conflicts:
	composer.json
	modules/backend/assets/css/october.css
	modules/backend/assets/less/controls/lists.less
	modules/backend/assets/less/october.less
	modules/backend/widgets/Form.php
	modules/backend/widgets/form/partials/_field.htm
2015-03-15 13:06:50 -07:00
alekseybobkov 18e058ad59 Added the Media tab, minor update in .htaccess to allow temporary public directory to be accessible; implemented the basic UI components and navigation; implemented grid, list and tiles view modes; implemented drag-select interface; implemented Media Library cache refreshing; implemented thumbnail generating for local and remote media files; fixed memory leak in third-party Flot Resize library; minor update in the AJAX framework - AJAX request cancelling is not considered as an error anymore; added back-end UI components for creating panels. 2015-03-15 12:52:03 -07:00
Samuel Georges 9b8e1ce3c1 Improve theme list to allow editing properties 2015-03-14 18:09:54 +11:00
Samuel Georges e479ccbda6 Tab options can now specify 'defaultTab' 2015-03-14 17:06:03 +11:00
Samuel Georges 61022d3961 Merge branch 'master' of github.com:octobercms/october 2015-03-14 11:22:16 +11:00
Samuel Georges 68819ef476 Merge pull request #1000 from masnug/lang-id
Bahasa Indonesia
2015-03-14 11:19:00 +11:00
Samuel Georges 3de46282c2 Merge pull request #999 from prhost/develop
Translated what was missing from the Portuguese language (pt-br) yet.
2015-03-14 11:18:26 +11:00
Samuel Georges 3cdd390e38 Merge pull request #991 from ebuster/patch-1
Respect radio-button value in form triggers
2015-03-14 11:14:35 +11:00
Samuel Georges 203e4edc0b Minor touch ups 2015-03-13 22:15:43 +11:00
Samuel Georges a8389fb1aa Tooltip now auto initializes
initForm can now pass context
Various improvements and bug fixes
2015-03-12 20:50:16 +11:00
Wuri Nugrahadi fb180a748c Add Bahasa Indonesia (OC *222) 2015-03-12 13:37:12 +07:00
Kallef 0529ffe5b0 translated what was missing from the Portuguese language (en) yet. 2015-03-12 00:23:33 -03:00
Pásztor Gábor b3dcce6d2a Updates on Brand Settings 2015-03-11 20:30:41 +01:00
Ariel Ponce ff4e221c6a Fix relation controller JS issue on Chrome
When loading a relation, an "Uncaught token :" javascript error is thrown when using Chrome, which makes the select all checkbox not to work and most of the JS on the page to fail.
2015-03-10 09:50:12 +01:00
Samuel Georges c6bfd5d01c Move this logic to no longer depend on AR model 2015-03-10 09:34:59 +11:00
ebuster 539705dbdf Respect radio-button value in form triggers
When I tried to use form triggers for radio button I found that this is impossible:

    field1:
        type: radio
        options:
            val1: ...
            val2: ...
    field1:
        type: ...
        trigger:
            action: hide
            field: type
            condition: value[val2]

Propsed fix allows conditions like that.

* and of couse - we need rebuild october-min.js
2015-03-07 23:36:25 +03:00
Samuel Georges 40f08ad3db Merge pull request #975 from gergo85/master
Updated Hungarian language
2015-03-07 13:20:51 +11:00
Samuel Georges 3ecdf2c74b Fixes #977 - Look to related models for getting dropdown-type options 2015-03-07 13:14:13 +11:00
Samuel Georges 668457b4e6 Updated deprecated references
Str::evalHtmlId -> October\Rain\Html\Helper::nameToId
Str::evalHtmlArray -> October\Rain\Html\Helper::nameToArray
Str::stripHtml -> October\Rain\Html\Helper::strip
Str::limitHtml -> October\Rain\Html\Helper::limit
Str::cleanHtml -> October\Rain\Html\Helper::clean
2015-03-07 12:48:39 +11:00
Samuel Georges 8c41bc181e Model can now resolve this for us 2015-03-07 12:28:50 +11:00
Samuel Georges 9ff62d02b7 Minor clean of #986 2015-03-07 11:34:19 +11:00
Samuel Georges ff0ca0ef6f Merge pull request #988 from keiosweb/develop
Polish translation fixes
2015-03-07 11:31:16 +11:00
Samuel Georges 051ced5ba9 Merge pull request #986 from ariponce/patch-2
Allow to pass 0 as column value in List widgets
2015-03-07 11:23:56 +11:00
Samuel Georges ec14cd6bee Updates for new input preset /form field API 2015-03-07 11:20:54 +11:00
Samuel Georges 8ca1f8b7a3 Discovered an undoc feature "data-input-preset-prefix-input"... added to API as "prefixInput" 2015-03-07 11:14:03 +11:00
Samuel Georges 69542c311c Form field "preset" options can be a string that just specifies the other field, defaults to url type 2015-03-07 11:02:16 +11:00
Samuel Georges f8c3eac9c6 Streamline data-input-preset in to FormField API 2015-03-07 10:45:22 +11:00
Samuel Georges 7e3cf98a75 Adds data-trigger-closest-parent to Trigger API
Test code:

<form id="form1">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>

<form id="form2">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>
2015-03-07 09:47:44 +11:00
Kuba f3f21fdf83 Polish translation fixes 2015-03-06 23:07:52 +01:00
Samuel Georges 858eb96a81 Update league/csv package to v7 2015-03-07 08:42:53 +11:00
Samuel Georges 78d689d54e Add a conditional breadcrumb to the myaccount page 2015-03-06 22:01:14 +11:00
Ariel Ponce 2cffe106b8 Allow to pass 0 as column value in List widgets
**Problem**: When overriden the columns value, if we pass 0 or '0', the condition is not met and therefore the column has a null value.

**Solution**: Check for not null in the condtion
2015-03-06 11:51:05 +01:00
Samuel Georges c7fadd3a17 Minor style tweaks 2015-03-06 20:54:50 +11:00
Samuel Georges 00e1f15d08 This fixes the mis-aligned backend menu in Firefox browsers!
Recompiled assets
2015-03-06 20:42:23 +11:00
Samuel Georges 690ec1e5db Improvements made to the user menu in the back-end
Clicking your avatar will display a popover with settings links from the mysettings context.
2015-03-06 20:41:14 +11:00
Samuel Georges 507bfab768 !!! *BREAKING*: Form widget base class no longer takes a model as the 2nd argument, it should be passed as `model` in the configuration instead. 2015-03-06 20:37:05 +11:00
Samuel Georges 2561131f38 Allow balloon control markup to be used independently 2015-03-06 20:35:54 +11:00
Samuel Georges fccf1e92b0 Fixes stretch layout on form-with-sidebar 2015-03-06 18:56:00 +11:00
Samuel Georges 2cf8ad8c27 Minor fixes, improvements to full screen rich editor 2015-03-06 18:54:45 +11:00
Samuel Georges 62796e08b6 Finish the dragvalue plugin 2015-03-06 18:53:04 +11:00
Samuel Georges 1890df6471 Fixes #742 - escape SVG opening with PHP instead of LESS 2015-03-06 18:12:57 +11:00
Samuel Georges bc317ffbb8 Fixes a weird issue where a fixed sidebar cannot be accessed on small screens 2015-03-06 17:31:54 +11:00
Samuel Georges cfbc004815 Merge pull request #983 from ChrisKanger/develop
Added trigger on empty value
2015-03-05 22:33:57 +11:00
Samuel Georges 42d6c6289c Fixes missing logo from login screen 2015-03-05 22:13:41 +11:00
Chris b627bbbefb Added trigger on empty value 2015-03-05 11:03:20 +01:00
Samuel Georges fe5deb68e7 Repeater should populate with existing dataset 2015-03-05 19:02:23 +11:00
Samuel Georges be2e40e69f Add hypothetical loading of data 2015-03-04 19:13:15 +11:00
Samuel Georges 25d4c11f3f Typo 2015-03-04 19:09:59 +11:00
Samuel Georges 022eb4d673 Create initial version of repeater form widget 2015-03-04 19:05:32 +11:00
Samuel Georges 24cbeee959 Recompile using internals 2015-03-04 18:24:15 +11:00
Samuel Georges 561e969d2d Extract controls to their own stylesheet
(So they can be used elsewhere; namely documentation)
Add indicator-center and clean up load indicator
Fancy layout should live with the other layouts, it isn't really a control
2015-03-04 18:23:02 +11:00
Samuel Georges f869b8cc94 Gives FormWidgets the ability to say: "No labels, please"
ping @keiosweb
2015-03-03 20:24:14 +11:00
Samuel Georges 89434928f1 * Build 214 2015-03-03 18:45:37 +11:00
Samuel Georges a3f3084924 Implement AjaxException 2015-03-03 18:41:09 +11:00
Samuel Georges 0a57f3a111 Fixes console error: The "title" has not been specified! 2015-03-03 18:39:07 +11:00
Samuel Georges 1ab8858271 Minor touch ups 2015-03-03 18:38:36 +11:00
Samuel Georges 92b533d962 Tidy up 2015-03-03 08:49:31 +11:00
Samuel Georges d89c8111fc Merge pull request #974 from retep007/develop
Slovak language
2015-03-03 08:46:04 +11:00
gergo85 157dc0c76f Updated Hungarian language 2015-03-01 10:29:47 +01:00
Samuel Georges a8aa85a9f0 Fixes issue preventing backend from signing in 2015-03-01 15:10:04 +11:00
Samuel Georges 625030f03e Minor 2015-02-28 23:43:06 +11:00
Samuel Georges ce77c0f89e Return a query that includes pivot data for belongsToMany relations 2015-02-28 22:08:25 +11:00
Samuel Georges 81d0225928 Allow query to be completely swapped out using extendQuery
Add HTML array support to valueFrom (without relations)
2015-02-28 22:07:06 +11:00
retep007 09ac22918f Added initial Slovak language mutation 2015-02-28 10:14:20 +01:00
Samuel Georges f2277b61dc More efficient approach to locating a pivot record 2015-02-28 19:53:41 +11:00
Samuel Georges e48963b1e9 Improve mode detection for relations by using an event target 2015-02-28 19:33:11 +11:00
Samuel Georges 165d2f86e0 Combine datepicker JS assets, sync z-index for timepicker 2015-02-28 19:32:17 +11:00
Samuel Georges 032d8aafce Manage onCreate now looks to the deferredBinding property 2015-02-28 15:27:03 +11:00
Samuel Georges f8ae611ec9 Refactor form widgets to use new fillFromConfig() helper 2015-02-28 14:43:34 +11:00
Samuel Georges 49f6e64db0 Refactor the toolbar widget 2015-02-28 13:54:00 +11:00
Samuel Georges 4e1f704ae3 Minor clean up 2015-02-28 13:48:35 +11:00
Samuel Georges a57505b227 Refactor Search widget 2015-02-28 13:45:14 +11:00
Samuel Georges bb8292d883 Add warning about impending doom 2015-02-28 13:39:21 +11:00
Samuel Georges f9e287e173 Refactor form widget to use an approach much like ReportContainer 2015-02-28 13:37:06 +11:00
Samuel Georges 6e54fea23f Refactor filter widget to use an approach much like ReportContainer 2015-02-28 12:50:02 +11:00
Samuel Georges 85c47c4e01 public -> protected $defaultAlias 2015-02-28 12:43:53 +11:00
Samuel Georges c035f81b0f Refactor list widget to use an approach much like ReportContainer
This means widget properties are "filled" from the supplied config
2015-02-28 12:41:45 +11:00
Samuel Georges 932a40a025 Streamline the process of filling a widget with its config options 2015-02-28 12:12:22 +11:00
Samuel Georges 543686c8e0 Fixes #953 - ReportWidgets now initialize early and therefore support AJAX handling 2015-02-28 11:51:58 +11:00
Samuel Georges 5784417862 Document widget accepted config
These definitions don't serve a function other than helping developers
2015-02-28 11:50:27 +11:00
Samuel Georges 3524b17484 Fixes #973 - Double encode HTML entities in CodeEditor value 2015-02-28 10:38:04 +11:00
Samuel Georges 0cd57f231e Merge pull request #958 from Fabs87/patch-1
Making little corrections
2015-02-28 10:02:19 +11:00
Alexander Guth cd5e5ab8de Fixes listExportCsv()
If the header values is a localization string, it should be translated...
2015-02-27 14:55:14 +01:00
Samuel Georges 5c78140268 Adds compact column, explicit option for deferred binding in relation controller, fix to list head width 2015-02-27 21:54:58 +11:00
Samuel Georges e487f075c4 Fixes issue in CodeParser where it tries to use a class that doesn't exist
Adds context to filterFields() model override
2015-02-26 23:08:38 +11:00
Samuel Georges e6acb54d03 * Build 209 2015-02-25 19:10:42 +11:00
Samuel Georges a748eb1b23 Merge pull request #961 from tresbach/develop
Allow setting 'options' for a scope in filter config
2015-02-25 19:07:49 +11:00
Samuel Georges 2bdc5aea78 Add section form field type, minor style fixes 2015-02-24 18:46:20 +11:00
Amanda Tresbach d50e9e743f Allow setting 'options' for a scope in filter config 2015-02-22 20:28:05 -03:00
flynsarmy 74cd856f8a Accept any valid number, positive or negative 2015-02-22 13:45:40 +10:00
Fabs87 afd572f843 Making little corrections 2015-02-21 22:59:21 +01:00
Pásztor Gábor f8cb3900f0 Add validation rules for mail settings. 2015-02-21 19:55:37 +01:00
Samuel Georges 320f7bfb1a List text values should be escaped, since they come directly from the model values
Fxies https://github.com/rainlab/user-plugin/pull/37
2015-02-21 19:16:44 +11:00
Samuel Georges a4418aeab8 Various minor touch ups 2015-02-21 19:16:14 +11:00
Samuel Georges c746ba5c2b Disabled property on form fields should work 2015-02-21 17:09:21 +11:00
Samuel Georges 5b758e0d4c Merge pull request #950 from gpasztor87/master
Emmet support for Codeeditor
2015-02-21 15:05:44 +11:00
Samuel Georges 49021145c5 Use nicer minified css 2015-02-21 14:58:51 +11:00
Samuel Georges 035718eb1b Add column-slim css selector 2015-02-21 14:21:14 +11:00
Samuel Georges 6bf72386ee Can now prune event/request log records, add width definition to list columns 2015-02-21 13:49:32 +11:00
Samuel Georges c0839464fd Fileupload should detect the thumb extension 2015-02-20 22:12:24 +11:00
Samuel Georges 93f48d87ea Minor fix 2015-02-19 22:17:07 +11:00
Samuel Georges c7881ff2dc Tidy up code from #940 2015-02-19 19:38:50 +11:00
Samuel Georges 8d0d46ffc7 Merge pull request #940 from Flynsarmy/customRelationContext
Support passing custom contexts to relationcontroller
2015-02-19 19:24:41 +11:00
Samuel Georges a9a3336d11 * Build 199 *** NB: /uploads -> /storage/app/uploads
The /uploads directory has been moved to /storage/app/uploads to make way for CDN support. This directory should be moved on the file system and the config (cms.uploadsPath) updated.
2015-02-19 19:12:36 +11:00
Pásztor Gábor 12bfc52941 Emmet support for Codeeditor 2015-02-18 20:54:36 +01:00
Samuel Georges 536a391754 Add basic trigger implementation to Form Field
Implement trigger on Mail Settings page
2015-02-18 18:12:20 +11:00
Samuel Georges 5a5db71e5a Add storage/app to list of writable folders 2015-02-18 17:25:34 +11:00
Samuel Georges 7145aac457 Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00