Commit Graph

2130 Commits

Author SHA1 Message Date
alekseybobkov 594a849171 Fixes https://github.com/rainlab/pages-plugin/issues/38 2015-04-23 17:59:37 -07:00
Samuel Georges 7ad12350c6 Merge pull request #1074 from gpasztor87/master
Minor style fixes
2015-04-24 09:26:59 +10:00
Samuel Georges 9173e3bb9a Merge branch 'develop' into media-manager 2015-04-23 18:09:18 +10:00
alekseybobkov 6458149cd5 Disposing the code editor 2015-04-22 21:33:07 -07:00
Dave Shoreman 85bdabe783 Update cms module for new order functionality
Since sideMenu items are now sortable, any sideMenu items that don't
have an order applied will get sorted however PHP decides to do so.
This adds the order parameter to all cms menu items to retain the
original order of the side menu items.
2015-04-22 22:23:30 +01:00
Dave Shoreman e6342dbd8a Add support for sorting sideMenu items
Up until now, only main menu items have supported the 'order' parameter
to set the sort order. This adds the same support to side menus, which
is especially useful when one plugin extends the side menu of another.

There is one downside: any existing plugins that use the side menu will
inevitably end up with their menu items appearing out of order, until
the author adds the 'order' parameter to their sideMenu array.
2015-04-22 22:16:06 +01:00
alekseybobkov 35f742c8f5 Further CMS page JS normalization, minor fix in Inspector. 2015-04-21 22:20:55 -07:00
alekseybobkov 5928aded9f CMS page JS code is tested and fixed after refactoring. 2015-04-21 21:30:02 -07:00
alekseybobkov 43784bf5b9 Merge branch 'media-manager' into refactoring-profiling 2015-04-21 20:52:46 -07:00
alekseybobkov 0b73f82566 Main JS class on the CMS page is refactored to reduce the complexity 2015-04-21 20:51:39 -07:00
Łukasz Biały e2fccafa3c allow calling of components extension ajax handlers 2015-04-22 01:22:14 +02:00
Samuel Georges 1d30e4755f Merge branch 'master' of github.com:octobercms/october 2015-04-21 20:16:01 +10:00
Samuel Georges 1a037bad04 Add the ability to include middleware in CMS / Backend controllers
Add init.php script to plugins
Fixes https://github.com/octobercms/library/issues/106
2015-04-21 20:07:34 +10:00
Samuel Georges b1d1d9dae1 Add a loading indicator to install theme/plugin screen 2015-04-21 20:02:24 +10:00
Samuel Georges d94ba96ae3 Better exception handling to dump() 2015-04-21 15:20:59 +10:00
alekseybobkov d2968b8bde Minor fix in the Media Manager file selecting behavior. Added some audio types to .htaccess. 2015-04-19 11:19:36 -07:00
Pásztor Gábor dd0c82544a Fixes in richeditor: z-index 2015-04-18 22:22:26 +02:00
Pásztor Gábor 997a032849 Minor style fixes 2015-04-18 22:12:56 +02:00
gergo85 e61c69fed8 Improve multilanguage support 2015-04-18 13:04:15 +02:00
Sam Georges 8aa5465b27 Fail softly, fixes https://github.com/octobercms/install/issues/67 2015-04-18 07:50:56 +10:00
Samuel Georges 0b82e1f44f Fixes operation in subfolders 2015-04-16 19:13:33 +10:00
alekseybobkov 7fb36588cc Implemented keyboard navigation. Minor fix in the scrollpad class. 2015-04-15 21:48:16 -07:00
Samuel Georges 7ca6602c08 Minor 2015-04-15 19:43:05 +10:00
alekseybobkov 87a2ea1350 Implemented Insert Video and Insert Audio features 2015-04-14 22:44:45 -07:00
Samuel Georges 8e69039c0d Adds folder support for making partials 2015-04-14 22:17:10 +10:00
alekseybobkov d8fd1c6d3e Refactored and unified the support of UI blocks in the Rich editor 2015-04-13 22:10:58 -07:00
Samuel Georges cf1988eeca Fixes #1068 2015-04-13 21:51:22 +10:00
Samuel Georges 25f6170287 Fixes #1066 2015-04-13 15:09:09 +10:00
Samuel Georges 0a26827abd Refs #1064 - Throw a nicer error here 2015-04-12 19:58:28 +10:00
alekseybobkov 06e5dce96a Fixed a conflict in framework.js. Closures in the script are named now, for the memory profiling needs.
Conflicts:
	modules/system/assets/js/framework.js
2015-04-11 18:58:24 -07:00
alekseybobkov c1740c479c Media Manager: implemented insert link, insert image, and crop and insert features. Minor fixes in October core and third-party JS plugins. 2015-04-11 18:55:02 -07:00
Samuel Georges c96cef702c Merge pull request #1065 from SaifurRahmanMohsin/patch-1
Missing comma
2015-04-12 08:38:42 +10:00
Saifur Rahman Mohsin ad307e77be Missing comma
Login error due to a missing comma in array
2015-04-12 01:05:15 +05:30
Samuel Georges 857c7c715a Adds experimental october:mirror command 2015-04-11 23:03:15 +10:00
Samuel Georges 2afe43e0fd getAvatarThumb should takes options for thumb compilation 2015-04-11 22:55:10 +10:00
Samuel Georges 8859723f35 Fixes #1062 - Subsequent popups are passed _relation* fields
Note in future: The bindToPopups() function could/should be made recursive
2015-04-11 12:23:49 +10:00
Samuel Georges bdd4b21748 Fixes #1028 - Update Redactor to 10.0.9 2015-04-11 11:27:33 +10:00
Samuel Georges f0c7b66576 Adds minor safeguard to #1044
^- For objects that can be cast as strings and do not interface Symfony's Response
2015-04-11 11:19:53 +10:00
Samuel Georges ebcf57e8e3 Merge remote-tracking branch 'remotes/matiss/patch-1' into develop 2015-04-11 11:08:44 +10:00
Samuel Georges a273fb2acf Merge pull request #1057 from plexnum/develop
fix related model update when deferred binding
2015-04-11 11:04:06 +10:00
Samuel Georges 297ac65ce6 Alternative fix to #1050 2015-04-11 10:59:27 +10:00
Samuel Georges f4cb5ab8f1 Merge pull request #1050 from keiosweb/fix_getComponentProperties_method
fixes getComponentProperties foreach iteration overriding method argument name
2015-04-11 10:56:44 +10:00
Samuel Georges 5da198ccd8 Merge remote-tracking branch 'remotes/tresbach/develop' into develop
Conflicts:
	modules/system/lang/pt-br/lang.php
	modules/system/lang/pt-br/validation.php
2015-04-11 10:53:37 +10:00
Samuel Georges d283d6b143 Merge remote-tracking branch 'remotes/krisawzm/develop' into develop
Conflicts:
	modules/backend/models/BackendPreferences.php
	modules/system/lang/ru/lang.php
	modules/system/lang/sv/lang.php
2015-04-11 10:48:59 +10:00
Samuel Georges 4ce2191113 Typo 2015-04-11 10:42:27 +10:00
Samuel Georges 914ce695be Fixes #1056 - account menu width is too short for multilingual 2015-04-11 10:38:15 +10:00
Samuel Georges ffd4b5a68a Extract checkboxlist all/none JS to october.form.js 2015-04-11 10:35:04 +10:00
Samuel Georges a9b9b916ca Merge pull request #1036 from scottbedard/patch-2
Fixes issue #1035
2015-04-11 10:17:30 +10:00
Samuel Georges f143c0e2ce Merge pull request #1051 from scottbedard/patch-4
Adds input type to data-track-input
2015-04-10 22:34:35 +10:00
Samuel Georges 8b9db3440a Merge pull request #1054 from meteormatt/develop
Update Chinese (China) language
2015-04-10 22:34:15 +10:00
Samuel Georges 0b6587f771 Fixes #1019 - prevents lock out of full screen mode
Reorder system setting items
2015-04-09 20:20:08 +10:00
plexnum a20712b73c fix related model update when deferred binding 2015-04-09 07:28:01 +03:00
Liu Xing fde5a16da1 Merge pull request #4 from octobercms/develop
上游合并
2015-04-08 18:48:53 +08:00
刘星 d03f8fa65f update zh-cn setting 2015-04-08 18:33:55 +08:00
Samuel Georges 0f630c80d9 Improve framework code to support $(this) in data attributes 2015-04-08 07:44:26 +10:00
Scott Bedard 51c868e693 Adds input types to data-track-input options
I need this input type, and it would be handy if I could use it with data-track-input. I promise this will be the last time I ask you to touch your priceless faberge egg ;)
2015-04-07 09:37:02 -04:00
Łukasz Biały 4212386b37 fixes iteration overriding argument name, caused bug where properties of another component where returned if cache was empty 2015-04-07 13:12:20 +02:00
Scott Bedard 7546174b35 Adds "request-complete" to the data-attributes api
... I hope.
2015-04-06 19:14:17 -04:00
drFabio 3361789b2f Update validation.php
Changed some translations to be more organic for brazillian portuguese
2015-04-06 13:08:23 -03:00
Samuel Georges ace4175fdd CSS -> LESS 2015-04-06 18:05:56 +10:00
Samuel Georges bc64201f02 Fixes bug not displaying recommended plugins 2015-04-06 18:01:03 +10:00
Samuel Georges 13b14729fd Don't allow a record to be clicked if there is no form to display 2015-04-06 16:57:53 +10:00
Samuel Georges 93dd61efc7 Move the search term constraint under the same query group
Refs https://github.com/octobercms/october/pull/775
2015-04-06 16:25:43 +10:00
Samuel Georges b806bd0720 Fixes installed theme count 2015-04-06 15:31:33 +10:00
alekseybobkov 790b464679 Merge branch 'develop' into media-manager 2015-04-04 19:01:08 -07:00
alekseybobkov 332d92f538 Implemented image inserting to Redactor. 2015-04-04 18:59:36 -07:00
Samuel Georges a921201d6d Fixes broken search 2015-04-04 17:31:39 +11:00
Samuel Georges c54821f175 Overhaul the plugin installation process in the back-end
Themes can now be installed via the back-end
2015-04-04 17:28:51 +11:00
Samuel Georges 9e9aa97101 Minor clean up, tabs can now define a url (data-tab-url) set using replaceState 2015-04-04 17:26:47 +11:00
Samuel Georges 37dea95caa Adds a new body class 'breadcrumb-flush'
^ that directs the breadcrumb to sit flush to the element below
2015-04-04 14:54:18 +11:00
Samuel Georges 9d4bc8eee6 Create withComponent() filter for CmsObjects 2015-04-04 10:34:25 +11:00
Samuel Georges 67ba31b946 Use shorter index names
Fixes https://github.com/octobercms/install/issues/64
2015-04-03 07:41:53 +11:00
Matīss Jānis Āboltiņš 26d92d282f Fixed custom error pages outputting headers
If we don't have this method called, then the controller returns an object. From then on, [Symfony converts this object in to a string](https://github.com/symfony/HttpFoundation/blob/master/Response.php#L406). This string is **not just the content of the view**, but the headers as well.

After attaching this method, `handleCustomError()` returns a string and everything works as expected.
2015-04-02 09:59:07 +03:00
Dave Shoreman d18a0a6453 Add missing ApplicationException dependency
The relation backend formwidget throws an `ApplicationException` when a relation isn't defined, but the exception is missing its `use` statement. This PR adds it in. See error below:

![Screenshot showing error thrown](http://i.imgur.com/4Ka6fL2.png)
2015-04-01 19:13:42 +01:00
Samuel Georges 31f598237a Merge pull request #1039 from freestream/swedish-lang-improvements
Improved and added missing Swedish translation
2015-04-01 19:04:40 +11:00
Samuel Georges 95b58b5b60 Merge pull request #1037 from mrmlnc/develop
[lang/ru] Update Russian language
2015-04-01 19:03:54 +11:00
Samuel Georges 7e9e5adfb5 Merge pull request #1032 from keiosweb/fix_hhvm_relation_formfield_issue
fixes HHVM relation formfield
2015-04-01 19:02:08 +11:00
alekseybobkov cb0c483857 Fixed a problem with duplicate proxy IDs in the base foundation class. Added a new event to the popup plugin. 2015-03-30 22:34:42 -07:00
Samuel Georges 264cb0119d recordUrl should be taking priority over the default onClick behavior 2015-03-31 09:57:44 +11:00
Samuel Georges a8bcc6aab8 Allow pivot data to be entered when creating 2015-03-30 18:41:25 +11:00
alekseybobkov 9ed3d03484 jQuery in the back-end updated to v.2.1.3. Fixed several memory management issues in select2 (an event attached to the mask element is never unbound), framework.js (onunload event attached to window is never unbound and holds references to the Request instances). Added popup adaptive size option. Started media manager popup API. 2015-03-29 18:56:06 -07:00
Anton Samuelsson 7d8237fe30 Added swedish language for module 'cms' 2015-03-29 16:00:01 +00:00
Anton Samuelsson ed107a6541 Added swedish language for module 'system' 2015-03-29 15:30:23 +00:00
Anton Samuelsson 4f9dd5cd75 Spelling corrections 2015-03-29 14:12:11 +00:00
Denis Malinochkin 8852c2e29e Fix typo 2015-03-29 16:43:15 +03:00
Anton Samuelsson caf31fd1b8 Added swedish language for module 'backend' 2015-03-29 11:13:46 +00:00
Denis Malinochkin 926dd277b7 Translate -> Module -> System 2015-03-29 13:12:38 +03:00
Denis Malinochkin 5d5fc93d32 Translate -> Module -> CMS 2015-03-29 13:01:35 +03:00
Denis Malinochkin d5b1fb3218 Translate -> Module -> Backend 2015-03-29 12:14:51 +03:00
Scott Bedard 035ebbbb68 Fixes issue #1035
Triggers a change event when the "all" or "none" checkboxlist helpers is clicked, enabling dependent fields be adjusted accordingly.

https://github.com/octobercms/october/issues/1035
2015-03-29 00:20:48 -04:00
alekseybobkov 16cb546f30 Tested and fixing the Media Manager dispose() method. Minor fixes in the DragScroll and Toolbar controls (memory management). 2015-03-28 17:18:07 -07:00
alekseybobkov c299e3a7e7 Performance improvements in Media Manager drag-select implementation. 2015-03-28 13:36:01 -07:00
alekseybobkov 9be05a0488 Added comment to the scrollpad script, re-compiled controls LESS. 2015-03-28 12:15:33 -07:00
alekseybobkov f6cf7e9840 Added new back-end control Scrollpad. Added Element and Event utility functions to the Foundation library. Implemented file list scrolling in the Media Manager. Some minor fixes. 2015-03-28 11:42:40 -07:00
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 46f3a36383 Confirm clearing > deleting 2015-03-28 11:36:41 +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 4c723ac48f Another typo 2015-03-26 22:31:21 +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 15a016a338 Disable route persistence for static menus 2015-03-25 19:34:09 +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
刘星 5baac47519 修改翻译 2015-03-25 14:30:05 +08: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 1e5c34b702 Added the empty Library message. 2015-03-22 22:37:51 -07:00
alekseybobkov 695c5d243b Implemented the hide/show sidebar feature 2015-03-22 14:56:08 -07:00
alekseybobkov 86b9f58465 Implemented folder and file moving. 2015-03-22 13:07:37 -07: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
alekseybobkov cd0b107a2b Implemented file and folder renaming 2015-03-21 16:14:26 -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
alekseybobkov a040fa4c68 Implemented file type filters 2015-03-16 20:32:51 -07:00
Kallef 37c7bd7f36 abbreviated extensive word 2015-03-16 22:32:19 -03:00
Samuel Georges 66f0c683a8 Merge pull request #1004 from gergo85/patch-1
Updated Hungarian language
2015-03-16 21:10:01 +11:00
Samuel Georges 851d421092 Update various language references 2015-03-16 19:33:58 +11:00
Samuel Georges 77d3ab8b67 Finish basic theme utilities: properties, import/export, duplicate, delete 2015-03-16 19:00:39 +11:00
Szabó Gergő 502e2abed2 Updated Hungarian language 2015-03-16 08:51:15 +01:00
alekseybobkov e86a463e49 Disabled thumbnail generating in the uploader 2015-03-15 22:24:47 -07: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 d5c93e12e9 Don't try to log 404s without a DB 2015-03-14 15:07:57 +11:00
Samuel Georges c9a18af508 Trim project id and plugin codes 2015-03-14 11:31:49 +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
Samuel Georges 0433720a11 * Build 222 2015-03-11 19:18:40 +11:00
Samuel Georges fbe755c119 Use fallback when routes are not registered for pageUrl()
pageUrl() also no longer supports $absolute (arg 3)
2015-03-11 19:15:54 +11:00
Samuel Georges 682dbe4b95 Refactor CMS Controller, can now have ::render() called from the outside 2015-03-11 08:34:25 +11: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 a324f01678 CmsCompoundObject::hasComponent() now resolves registered codes for comparison 2015-03-07 20:28:17 +11:00
Samuel Georges 02db7cd00a Minor tweak to #980 2015-03-07 13:22:48 +11:00
Samuel Georges fa627ff996 Merge pull request #980 from gergo85/master
Update translation
2015-03-07 13:21:29 +11: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 477ce7bbc7 Lil tidy up 2015-03-07 10:47:38 +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 a0f071e5a7 Remove 'mysettings' items from the main settings menu 2015-03-06 20:50:10 +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
gergo85 6f9dfe198f Update translation 2015-03-04 12:50:15 +01: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 6fdc23143a Include the combiner as as a privileged action 2015-03-03 18:40:20 +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 2e949216ab Autoloader before ->register() 2015-03-03 14:34:38 +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 3cff8caa15 Plugins now support elevated privileges 2015-02-28 14:45:54 +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 7032e43b92 Fixes weird issue when a folder named '/files' in the base path kills the CMS 2015-02-26 23:14:08 +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 05dc7dfa00 Adds registerSchedule() to PluginBase class 2015-02-25 22:58:10 +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
alekseybobkov 1c273f28ba Implementing the MediaLibrary class, in progress 2015-02-24 22:02:03 -08:00
Samuel Georges 2bdc5aea78 Add section form field type, minor style fixes 2015-02-24 18:46:20 +11:00
Samuel Georges 54fe8452e5 uploadsPath -> cms.storage.uploads.path 2015-02-23 19:55:41 +11:00
Samuel Georges f7ba386156 Missing NS ref 2015-02-23 19:55:06 +11:00
Samuel Georges 680eef8f81 Fixes #944 2015-02-23 17:52:43 +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
Samuel Georges 027af0dd9f Switch to our own internals for local storage
The local storage driver is not suitable because it does not apply the appropriate permissions to local files. This is a big issue especially for shared hosting where the webserver will create a file and the owner is locked from touching it. We detect the local driver and use the FileHelper class whenever a file or directory is created. Eg: if configured to apply chmod 777 then it will be fulfilled as expected.
2015-02-22 14:04:38 +11: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 c559db0de6 Extract the updater JS to its own file, add helper to find missing dependencies 2015-02-21 22:59:09 +11: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 b88d28566e Tidy up from #927 2015-02-21 15:09:39 +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 1277364d4c Fixes #916 2015-02-21 14:58:51 +11:00
Samuel Georges 49021145c5 Use nicer minified css 2015-02-21 14:58:51 +11:00
Samuel Georges dc50c9fb67 Merge pull request #927 from Flynsarmy/betterPluginCounts
Display active plugin count on updates page
2015-02-21 14:58:29 +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 cf9231466c bindSoftDependencies -> bindContainerObjects 2015-02-21 12:03:50 +11:00
Samuel Georges 3d898c6bde Minor 2015-02-21 11:43:17 +11:00
Samuel Georges 9f17c7add0 Add support for unit testing 2015-02-21 11:41:43 +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 0abc2de0d1 ApplcationException -> ApplicationException 2015-02-19 00:35:14 +11: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 4e2182138d Lower the chance of a conflict with the CSS class "loading" 2015-02-17 21:04:24 +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
Samuel Georges 7b52e07b65 Overhaul exceptions, rename triggerapi display -> show 2015-02-16 21:16:43 +11:00
Samuel Georges 24f3168ce6 Check for empty arrays too 2015-02-14 21:40:49 +11:00
Samuel Georges 6bac3f9251 Fixes broken file uploads 2015-02-14 21:38:49 +11:00
Samuel Georges 7c5693b298 Added "Auto close tags and special characters" to Code editor preferences. 2015-02-14 19:50:12 +11:00
Samuel Georges f2460cb7b8 Fixes issue where snippet data (viewBag) is not saved
^- when there are no components used on the partial
+ Minor lang fix
2015-02-14 17:27:27 +11:00
Samuel Georges c36971b8fc Minify and combine RichEditor assets 2015-02-14 16:40:50 +11:00
Samuel Georges 8fab7df4d9 Update redactor to latest 2015-02-14 16:36:08 +11:00
Samuel Georges 9927568d98 Removed the deprecated propertyOrParam() 2015-02-14 16:31:56 +11:00
Samuel Georges a2f2f5f87f Component->paramName() was not functioning as described
{{ :param }} returned null, should return "param"
2015-02-14 15:52:58 +11:00
Samuel Georges 6a2f64757b *** REMOVED ALL DEPRECATED CODE ** 2015-02-14 14:11:25 +11:00
Samuel Georges fe611b8834 Input fields can now use icons, added icons to datepicker inputs 2015-02-13 22:57:55 +11:00
Samuel Georges c678c965ea Plugin manager can now load, register and boot individual plugins 2015-02-12 21:04:27 +11:00
Samuel Georges 3d04f06ad1 Various fixes 2015-02-12 21:04:05 +11:00
Samuel Georges e50a220fae Fixes an issue where unix users get locked out of the backend 2015-02-12 21:02:47 +11:00
Samuel Georges 2b32fc4718 Minor touch ups 2015-02-12 08:37:24 +11:00
Samuel Georges 77d0d25f64 Merge pull request #934 from Flynsarmy/removeFormField
Add support for removing form fields
2015-02-12 08:32:03 +11:00
Samuel Georges 8cd6e25610 Merge pull request #926 from gergo85/patch-1
Replaced a plain text to translation
2015-02-12 08:30:31 +11:00
Samuel Georges 49641c224d Merge pull request #925 from SaifurRahmanMohsin/patch-2
Added lang instead of plain text
2015-02-12 08:30:16 +11:00
Samuel Georges 439f9a05c2 Merge pull request #941 from Flynsarmy/getAllConfig
Add support for getting all config
2015-02-11 20:53:07 +11:00
Samuel Georges 1e9b246948 Tidy up 2015-02-11 20:46:06 +11:00
Samuel Georges 8eaedb3d5c Makes it easier to clear the cache 2015-02-11 20:40:48 +11:00
Samuel Georges ce14c0c926 The command to clear the CMS cache has changed 2015-02-11 20:39:25 +11:00
Samuel Georges 0a6e14f4d2 Popup control now supports several sizes via `data-size` attribute: giant, huge, large, small, tiny.
Fixes various bugs in RC version
2015-02-11 14:36:00 +11:00
Samuel Georges 8c4dfd156d Cron package has been removed 2015-02-11 14:35:01 +11:00
Samuel Georges b4c49ca0fd Move backend helper to its own directory 2015-02-11 14:34:37 +11:00
flynsarmy 8768ec64d6 Fix order 2015-02-11 10:17:41 +10:00
flynsarmy 40ebb9bfa2 Support passing custom contexts to relationcontroller 2015-02-11 09:53:21 +10:00
flynsarmy 2a718efd76 Add missing PR files 2015-02-11 06:22:58 +10:00
Samuel Georges c16a12dab7 Merge pull request #929 from jtherczeg/develop
Hungarian language files updated for Build 186
2015-02-10 17:57:11 +11:00
Samuel Georges 9f34db8c56 Merge pull request #936 from Flynsarmy/setConfigRequiredFix
Incorrect requried argument default value
2015-02-10 17:51:50 +11:00
Samuel Georges b794a74762 Pass along the build number when updating 2015-02-10 17:49:15 +11:00
Samuel Georges f6371d532b Fixes unit tests 2015-02-10 17:45:27 +11:00
Samuel Georges 610ea932fc Fixes #856 - Implement a linking policy, defaults to relative 2015-02-09 21:52:17 +11:00
Samuel Georges aba7021834 Plugins can now registerSchedule() 2015-02-09 21:50:41 +11:00
flynsarmy a3272956e3 Incorrect requried argument default value 2015-02-09 20:45:53 +10:00
Samuel Georges a2a929a17a Create jobs table to replace internal cron queue driver 2015-02-07 21:07:08 +11:00
flynsarmy 5805ddec5a Add support for removing form fields 2015-02-07 19:52:34 +10:00
Samuel Georges c8e23699c8 Good bye Dispatcher, Hello registerSchedule() 2015-02-07 19:24:08 +11:00
flynsarmy 1d2a1478cc Add support for getting all config 2015-02-07 16:30:55 +10:00
Samuel Georges 9d649ebb1e Remove deprecated path symbols 2015-02-07 16:20:34 +11:00
Samuel Georges 68909f1bfe Fixes Custom Exception Handler for L5 2015-02-07 16:14:26 +11:00
Samuel Georges 9dba058fe5 Remove PATH_APP + PATH_BASE constants 2015-02-07 15:43:49 +11:00
Samuel Georges 8e1b4c2f68 Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
Samuel Georges fbf46519b4 Implement plugins_path() usage 2015-02-07 15:37:07 +11:00
Samuel Georges f08f954248 Move Foundation registration out 2015-02-07 15:07:56 +11:00
Samuel Georges 9a616b6174 Fix clear cache, update storage paths 2015-02-07 14:50:03 +11:00
Samuel Georges 2a9c335ece Fixes for artisan to work 2015-02-07 13:20:04 +11:00
Samuel Georges 0fc489c7cb Fixes for Paginator / setCurrentPage
remember() now works
2015-02-07 10:24:28 +11:00
Samuel Georges f4e60f105a Prevents infinite loop with traceSql(), remember() is back 2015-02-07 10:08:10 +11:00
jtherczeg 11d411bc89 Hungarian language files updated for Build 186 2015-02-05 19:57:49 +01:00
Samuel Georges 4c29c5080d Clean up, get front and backends operational again 2015-02-05 19:47:20 +11:00
Samuel Georges 03eb949e71 Add illuminate/html package, DB -> Db, HTML -> Html 2015-02-04 20:03:44 +11:00
Samuel Georges 899100919d Rewrite all implementations of remember() on models 2015-02-04 19:52:59 +11:00
Samuel Georges beb818efa5 Merge branch 'develop' into laravel5
Conflicts:
	modules/cms/classes/CmsCompoundObject.php
	modules/system/ServiceProvider.php
2015-02-04 19:35:55 +11:00
Samuel Georges ed22cc9186 Migrate bootstrap process 2015-02-04 19:31:41 +11:00
flynsarmy 3dcd718df8 Display active plugin count on updates page 2015-02-04 13:40:01 +10:00
Szabó Gergő e08dfddd3b Replaced a plain text to translation 2015-02-03 09:57:07 +01:00
Saifur Rahman Mohsin 922815cc6c Added lang instead of plain text 2015-02-03 10:25:21 +05:30
Samuel Georges ab128301e8 Minor 2015-02-02 00:24:05 +11:00
Samuel Georges 8ab39cb424 Minor 2015-02-01 23:56:27 +11:00
Samuel Georges 694a7dfb74 Uploader now supports defining acceptable file types 2015-01-31 15:31:46 +11:00
Samuel Georges b915c2003c Merge pull request #904 from gergo85/master
Minor cleanup
2015-01-31 14:28:05 +11:00
Samuel Georges 393c900342 Refs #900 - Add polish language 2015-01-31 14:26:45 +11:00
Samuel Georges f975769397 Fixes typo in language key 2015-01-31 14:20:19 +11:00
Samuel Georges 4d67273dbf Merge pull request #919 from carlos-arroyo/develop
Add Mandrill support patch
2015-01-31 14:13:16 +11:00
Samuel Georges 6c5e4e421f Minor 2015-01-31 14:12:38 +11:00
Samuel Georges c7f3721b58 Refs #915 - fixes toolbars in fullscreen mode 2015-01-31 14:11:15 +11:00
Samuel Georges 709070439d Merge pull request #914 from jumilla/patch-cms
Change sort by fileName on cms template directory list.
2015-01-31 14:09:07 +11:00
Samuel Georges b68fb6efd4 Merge pull request #912 from jumilla/patch-ja
Update translation for Japanese.
2015-01-31 13:32:19 +11:00
Samuel Georges b504128d61 Pass edge flag along with update requests 2015-01-31 13:30:29 +11:00
Carlos Arroyo a002319af1 Add Mandrill support patch 2015-01-30 15:51:25 +11:00
Samuel Georges 125c189e19 When a form tab contains no visible form fields, the tab itself is hidden 2015-01-29 20:32:29 +11:00
Samuel Georges 167d113c12 depends -> dependsOn
Hidden fields now retain their container div (hidden when empty)
2015-01-29 20:32:24 +11:00
Samuel Georges 569fe2e468 These events should pass the context, to be aligned with the others 2015-01-29 20:06:06 +11:00
Samuel Georges 37a0a8290e Fixes popup loader appearing for "other" ajax requests 2015-01-29 20:04:47 +11:00
Samuel Georges b13eb26b52 Update Font Autumn to latest 2015-01-28 18:28:35 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Samuel Georges 7c1de4f728 Add export action to ListController behavior 2015-01-27 20:02:20 +11:00
Fumio Furukawa 11522d1010 Change sort by fileName on cms template directory list. 2015-01-27 17:25:29 +09:00
Fumio Furukawa 77a4e49892 Update translation for Japanese. 2015-01-27 02:46:30 +09:00
Samuel Georges 4a81e096fa MArkup wise it's better to omit the toolbar item when the search is unavailable, need to address the issue of the overflow indicator being difficult to see using CSS perhaps? 2015-01-25 14:05:56 +11:00
Samuel Georges ceae799152 Translate fix 2015-01-25 13:47:32 +11:00
Samuel Georges 228982ed0f Minor 2015-01-25 13:37:03 +11:00
Samuel Georges f778e785d0 Merge pull request #905 from flip4bytes/develop
Fixed problem with white text on white background in editor
2015-01-25 13:21:25 +11:00
Samuel Georges c1c733769f Merge pull request #903 from jtherczeg/develop
Corrections and updates for Build 182
2015-01-25 13:20:29 +11:00
Samuel Georges 584ae64e6d Merge pull request #901 from litvinchuk/develop
[Fix] throws error when remove displayed column from config
2015-01-25 13:16:37 +11:00
Samuel Georges 1e0a890efb Fixes #898 - Manually added translations 2015-01-25 13:14:31 +11:00
Samuel Georges ff415a8542 Tidy up 2015-01-25 13:10:17 +11:00
Samuel Georges 9ec0ae6ae3 Merge branch 'master' into develop 2015-01-25 13:06:52 +11:00
Samuel Georges e4d4a29bdd withDeferred() will add constraints for us 2015-01-25 13:02:28 +11:00
Samuel Georges b58666b4a0 Massive improvements to RelationController, most button types are available 2015-01-25 13:02:06 +11:00
Samuel Georges b313a29e3a Trigger api should fire on render 2015-01-23 20:50:08 +11:00
Alex Bass ac70759e23 Fixed problem with white text on white background in editor 2015-01-22 16:12:57 -05:00
gergo85 c65b7a6b8e Minor cleanup 2015-01-22 09:06:30 +01:00
alekseybobkov e7e50bc684 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-21 21:39:03 -08:00
alekseybobkov cc23b434cb Minor improvements in the CMS API 2015-01-21 21:38:42 -08:00
jtherczeg 831ff79c47 Corrections and updates for Build 182 2015-01-21 18:32:23 +01:00
Samuel Georges 9c4b2d690b Tidy up event 2015-01-21 22:03:52 +11:00
Samuel Georges f24d9ab3d3 Turns out this event was used, added it back with proper args 2015-01-21 21:41:09 +11:00
Samuel Georges 25835e5f55 Implement belongsTo RelationController type 2015-01-21 20:53:19 +11:00
Samuel Georges a0490c3a4e Fix bad error message 2015-01-21 20:02:16 +11:00
Samuel Georges 39daf773bc Implement hasOne RelationController type 2015-01-21 19:47:38 +11:00
Samuel Georges 560acc5220 Minor 2015-01-21 17:36:57 +11:00
Samuel Georges 46dd064aad Minor 2015-01-21 17:01:35 +11:00
alekseybobkov d850a795fd Minor updates in the components API and Inspector 2015-01-20 19:38:02 -08:00
Sergiy Litvinchuk fcc93e9319 fix error on remove displayed list column 2015-01-20 23:48:38 +02:00
n.kolesnichenko 3013935374 Bug fix. There is no Aliasing to Model class in FormField class. 2015-01-19 10:47:43 +03:00
alekseybobkov 1dd2248717 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-18 19:20:46 -08:00
alekseybobkov 8ff242c1d0 Fixed default options support in Inspector, minor improvement in the components API. 2015-01-18 19:20:33 -08:00
Samuel Georges 7b4a419241 Not sure this event is used anywhere, it has improper implementation (missing $result from passed arguments) 2015-01-18 16:00:38 +11:00
Samuel Georges 2bf0084796 * Build 180 - Use less situational event names. @ping alekseybobkov 2015-01-18 15:59:44 +11:00
Samuel Georges e7b0c3ae2c Typo 2015-01-18 15:30:09 +11:00
Samuel Georges 47cd204686 Add event for backend, before running a controller 2015-01-18 15:23:19 +11:00
Samuel Georges a936255407 Use Mystery man default gravatar image 2015-01-18 15:00:05 +11:00
Samuel Georges 78530afa44 Break up longer words 2015-01-18 14:52:48 +11:00
Samuel Georges 5bbb248ffa Minor 2015-01-18 14:49:09 +11:00
Samuel Georges eb8f4ec1a8 Removed generic permission "Manage settings", these should be more granular to the tool
Fixes #831 - Fixes dashboard redirect, add "Manage mail settings" permission
Fixes bug in Settings permissions, they now work!
2015-01-18 13:16:18 +11:00
Samuel Georges b970ffba96 Rem deprecated code 2015-01-18 12:14:05 +11:00
Samuel Georges 010dbb33d7 Fixes #895 - Persist query filter on paginate/list refresh 2015-01-18 11:45:25 +11:00
Samuel Georges fe05f96266 Revert change, we don't need pagination here 2015-01-18 11:13:51 +11:00
Samuel Georges aef8ee038a Merge pull request #894 from gergo85/master
Show table setup icon and pagination
2015-01-18 11:12:35 +11:00
gergo85 5e55588ba9 Show table setup icon and pagination 2015-01-17 12:09:29 +01:00
jtherczeg a629c46c69 Updates for Build 178
Hungarian language files updated for Build 178
2015-01-16 15:00:40 +01:00
Samuel Georges e0f1f53b2b Readd language keys removed by a sloppy merge 2015-01-16 18:30:55 +11:00
alekseybobkov 291a5b46aa Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-15 21:35:53 -08:00
alekseybobkov 39c4ec6371 Remove Redactor-specific markup and attributes from the edited text. 2015-01-15 21:35:39 -08:00
Samuel Georges 6f5e3c7682 Minor bug fix where first column is not sortable 2015-01-15 17:26:21 +11:00
alekseybobkov b25606ddd1 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-14 19:41:51 -08:00
alekseybobkov 5d82dc5d10 minor 2015-01-14 19:41:42 -08:00
alekseybobkov f5aee22110 Improved default checkbox value handling in the Inspector. Imrpovements in the Redactor figure toolbar support. 2015-01-14 19:39:53 -08:00
Samuel Georges dfee19a543 Introduce a delay on the CMS sidepanel tab 2015-01-14 17:34:47 +11:00
alekseybobkov 3499bbf063 Compiled Table JavaScript files, removed old table-min.js 2015-01-13 21:05:45 -08:00
alekseybobkov c2d03194b4 Merge branch 'develop' of github.com:octobercms/october into develop
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
2015-01-13 18:46:01 -08:00
alekseybobkov 70d3778611 Minor changes in the Table widget validation 2015-01-13 18:44:20 -08:00
Samuel Georges 7119ae5695 Merge pull request #886 from mahony0/patch-3
Update lang.php
2015-01-13 21:21:57 +11:00
Samuel Georges 363ef7fde3 Merge pull request #868 from Rias500/master
Allow SVG in image upload
2015-01-13 17:51:48 +11:00
Samuel Georges 69a3aedffb Fixes an issue where duplicate assets are sent across the AJAX wire 2015-01-13 17:46:46 +11:00
Samuel Georges 66cc3a852f Minor fix 2015-01-13 17:26:53 +11:00
Samuel Georges 83cfb52d76 Recompile assets 2015-01-13 17:26:53 +11:00
alekseybobkov 433e99d6e7 Fixed a bug with closing tabs in the CMS 2015-01-12 22:23:13 -08:00
Mahmut 7cac0e421e Update lang.php
Why these lines removed? On backend/backend/usergroups, strings not showing up..
2015-01-12 15:10:50 +02:00
Samuel Georges c4cef299dd Fixes #828 - php artisan october:util compile assets 2015-01-12 20:08:53 +11:00
Samuel Georges 7e7d77c5e6 Fixes #869 - Constructor doesn't have static. ping @alekseybobkov 2015-01-12 20:08:52 +11:00
alekseybobkov 090264e3b9 Minor fixes in the Inspector and Scrollbar classes. Minor updates in the Table widget. 2015-01-11 20:56:17 -08:00
alekseybobkov ac758b91c8 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-11 13:44:13 -08:00
alekseybobkov cbc808520d Added JS source map extension to the white map in the .htaccess file. Minor fix in the forms styling. Implemented client-side validation for the Table widget. Updated the Table widget readme file. 2015-01-11 13:42:42 -08:00
Samuel Georges f264d73b18 Merge pull request #879 from scottbedard/patch-3
Patch 3
2015-01-10 11:48:19 +11:00
Scott Bedard 4d66734cc3 Update october.inspector.js
Reused validationMessage, and now allowing for string zero
2015-01-09 19:25:01 -05:00
Scott Bedard f628eaf666 Adds "required" component properties
Adds a "required" and "requiredMessage" key to component properties. If a required field does not have a requiredMessage, a default message of "Required fields were left blank." will be used.

Example usage...
```php
public function defineProperties()
{
    return [
        'maxItems' => [
             'title'             => 'Max items',
             'description'       => 'The most amount of todo items allowed',
             'type'              => 'string',
             'required'          => true,
             'requiredMessage'   => 'You must set the maximum todo items allowed!'
        ]
    ];
}
```
2015-01-09 19:12:21 -05:00
Samuel Georges ddaceb5ad7 Merge pull request #875 from scottbedard/patch-2
Adds isHidden check to backend components widget
2015-01-10 10:52:41 +11:00
Samuel Georges aa11693117 Merge pull request #867 from mahony0/patch-2
Update lang.php
2015-01-10 10:41:51 +11:00
Samuel Georges 6ffccd9e4e Merge pull request #866 from mahony0/patch-1
Update lang.php
2015-01-10 10:41:32 +11:00
Samuel Georges dd6233e81d Clean up code 2015-01-10 10:41:02 +11:00
Samuel Georges c2b6b4be5f Merge pull request #865 from gergo85/master
Add plugin counter
2015-01-10 10:30:54 +11:00
alekseybobkov bc287a9559 Minor fix in the drop-down cell procesor. Added some Validation documentation. 2015-01-08 20:39:44 -08:00
Scott Bedard 3ca540ac61 Adds isHidden check to backend components widget
Allows components to be hidden from the backend components widget by checking their isHidden value
https://github.com/octobercms/october/blob/master/modules/cms/classes/ComponentBase.php#L41
2015-01-08 09:42:41 -05:00
alekseybobkov e1ebfac575 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-07 22:22:38 -08:00
alekseybobkov c26545913c Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area. 2015-01-07 22:21:52 -08:00
= ef5e54aa1a Allow SVG in image upload 2015-01-06 11:40:45 +01:00
Mahmut d1676ae8ad Update lang.php
Added translate for unconverted strings and some of them optimized for successful converting.
2015-01-05 21:58:06 +02:00
Mahmut 722a5bd2b7 Update lang.php
Added translate for unconverted strings and some of them optimized for successful converting.
2015-01-05 21:49:49 +02:00
Samuel Georges 9ea6940e6a Add {{ this.session }} 2015-01-05 21:08:30 +11:00
gergo85 720cd0ac71 Add translate and remove unnecessary commas 2015-01-05 10:05:03 +01:00
gergo85 faf7e3df70 Add plugin counter 2015-01-05 10:03:07 +01:00
alekseybobkov e3216614a9 Added code comments 2015-01-04 20:32:34 -08:00
Samuel Georges b08020fd4c Update CHANGELOG 2015-01-05 15:02:22 +11:00
Samuel Georges 55a68be13b Check for the presence of validation errors in the session, and add it to the view 2015-01-05 14:57:17 +11:00
Samuel Georges dc6098c089 Create unit tests for WidgetMaker trait 2015-01-05 13:22:40 +11:00
Samuel Georges f4487076b7 Remove some legacy code, no need to pipe WidgetMaker thru WidgetManager 2015-01-05 13:12:48 +11:00
Samuel Georges b74b19741b Unify the logic for getting field values from a dataset
Amongst Form Widgets and "the" Form widget
ping @alekseybobkov
2015-01-05 12:54:14 +11:00
Samuel Georges 415f07eb1d Fixes various unit tests so they pass (Tested in Windows) 2015-01-05 12:37:04 +11:00
Samuel Georges 2160ddf3e5 Fixes unit test - normalize plugin paths for Win systems 2015-01-05 11:46:33 +11:00
Samuel Georges 5d2a177646 getModelArrayAttribute -> resolveModelAttribute 2015-01-05 11:18:43 +11:00
Samuel Georges d91d4112a5 getLoadData -> getLoadValue 2015-01-05 09:45:04 +11:00
Samuel Georges 0be582c42d getSaveData -> getSaveValue 2015-01-05 09:43:39 +11:00
Samuel Georges 59c9146b4f Merge pull request #861 from gergo85/master
Cleanup
2015-01-05 09:21:09 +11:00
alekseybobkov 820ff72149 Automatically initialize a record when the dataset is empty 2015-01-03 18:00:34 -08:00
alekseybobkov 7e5ce04a79 Merge branch 'develop' into dynamic-partials 2015-01-03 16:41:25 -08:00
alekseybobkov 6440b718d8 Updates in the rich editor styling, minor improvements in the Inspector and CMS core. 2015-01-03 16:39:38 -08:00
gergo85 f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges 4852722ba1 Merge pull request #848 from nicolas-lescop/develop
Extend query of the filter options lists
2015-01-03 15:58:34 +11:00
Samuel Georges 8f8ac2dd02 Merge pull request #860 from gergo85/master
Improve multilanguage support and cleanup
2015-01-03 15:56:09 +11:00
Samuel Georges 85b97c5419 Refs #850 - Minor code clean 2015-01-03 15:48:07 +11:00
Samuel Georges 735ede7d47 Merge pull request #850 from scottbedard/patch-2
Valid strtotime() format when time is left empty
2015-01-03 15:45:01 +11:00
Samuel Georges df3e66246f Fixes #839 - When rendering partials from component PHP code, be firm about the context 2015-01-03 15:15:57 +11:00
Samuel Georges ae8289735c Rem unneeded file 2015-01-03 15:15:52 +11:00
Samuel Georges be702900d7 Rem debug code 2015-01-03 13:20:40 +11:00
Samuel Georges fa250927d0 New events for components: runAjaxHandler + beforeRunAjaxHandler 2015-01-03 12:51:09 +11:00
Samuel Georges 03bf0c8206 These are useful helpers, make them public 2015-01-03 12:33:32 +11:00
Samuel Georges 54adc840cb Allow key column to be a string value (like a code). ping @alekseybobkov 2015-01-03 12:07:04 +11:00
Samuel Georges 04c6fdc7f3 Minor 2015-01-03 12:06:12 +11:00
Samuel Georges 7dd147a62a Create initial DataTable form widget 2015-01-03 11:57:50 +11:00
Samuel Georges 29b4f8bb17 Elaborate on client side data access 2015-01-03 11:49:25 +11:00
Samuel Georges a2dec246e5 handler -> postbackHandlerName (doesn't do the same thing as traditional 'handler') 2015-01-03 11:30:02 +11:00
Samuel Georges 83223938b2 Minor 2015-01-03 11:25:08 +11:00
Samuel Georges a6259ff915 depends_on -> dependsOn 2015-01-03 10:04:06 +11:00
Samuel Georges 433c4c07ff key_column -> keyFrom 2015-01-02 13:53:56 +11:00
Samuel Georges 59a0e08cd0 data_source -> dataSource 2015-01-02 13:50:51 +11:00
Samuel Georges 89f79a7665 postbackHandlerName / postback_handler_name -> handler 2015-01-02 13:49:26 +11:00
Samuel Georges b9c259c17f records_per_page -> recordsPerPage 2015-01-02 13:35:27 +11:00
Samuel Georges 9cfe4ad8f4 Control CSS: table-control -> control-table 2015-01-02 13:24:09 +11:00
Samuel Georges bc016adad7 Rollback performance change to framework.js because it's broken
(Submitting an invalid form in the backend will result in a page refresh, flash messaegs are suppressed)
K.I.S.S > Performance + premature optimization is the root of all evil
2014-12-28 13:03:52 +11:00
Scott Bedard 8286880148 Valid strtotime() format when time is left empty
Date-type laravel validation ("date", "before", and "after") may not be used with datetime widgets containing empty time fields because they are not in a valid strtotime() format (example: 2014-12-27 :00).

This extra check ensures a valid strtotime() format by only adding the ":00" seconds value when a time value is present.
2014-12-27 17:33:27 -05:00
Samuel Georges 9c8fcd148c Merge pull request #843 from jtherczeg/develop
Hungarian language files updated
2014-12-27 15:55:57 +11:00
Nicolas Lescop 99d34789a4 Extend query of the filter options lists 2014-12-23 14:57:28 +01:00
Darek Magusiak 9bda36e441 Model field definitions and default value of '0'
#845
2014-12-22 21:02:46 -05:00
jtherczeg 242bac4ce8 Hungarian language files updated
Hungarian translations updated for the latest build, some corrections
made.
2014-12-22 19:06:15 +01:00
gergo85 c43680b2ef Improve multilanguage support and cleanup 2014-12-19 10:28:27 +01:00
alekseybobkov 3ac21e3c89 Merge branch 'develop' into table-widget 2014-12-17 22:15:23 -08:00
alekseybobkov 1a73b38ff5 Re-added back-end JS assets 2014-12-17 22:13:28 -08:00
alekseybobkov 1480303c4f The options can now be set with the PHP configuration. Minor updates in the scrollbar widget. Implemented scrolling. Updated documentation. 2014-12-17 22:07:49 -08:00
Samuel Georges 638bceec10 Send test email using new, cleaner approach 2014-12-18 14:27:35 +11:00
Carlos Arroyo 90d5bde28c When building a relationship Belongs to Many with Pivot Data the lack of a table name causes an sql ambiguous ID error. 2014-12-17 19:14:21 +11:00
Samuel Georges 8cdb24c40a Might be a good idea to just always set the not modified header if we can 2014-12-17 14:55:16 +11:00
Samuel Georges 512e91118f Improved asset caching, when enabled the server will send a 304 Not Modified header 2014-12-17 13:46:08 +11:00
Samuel Georges b0b3098095 Fixes #836
Fixes https://github.com/octobercms/install/issues/59
2014-12-17 08:04:09 +11:00
alekseybobkov f2e2862b06 Styled the pagination 2014-12-15 22:49:33 -08:00
Samuel Georges 3170dd61ea Add new methods propertyName() and paramName() to Component base class for accessing names of external properties. 2014-12-16 15:41:50 +11:00
Samuel Georges b95eb5b342 setComponentPropertiesFromParameters -> setComponentPropertiesFromParams 2014-12-16 15:18:36 +11:00
Samuel Georges a03d0cc8b4 showExternalParameter -> showExternalParam 2014-12-16 15:16:31 +11:00
Samuel Georges e7fc3b5d5c Minor 2014-12-16 14:04:21 +11:00
Samuel Georges d86aef9f12 Minor 2014-12-16 13:58:37 +11:00
Samuel Georges 9fdfda4472 Add code to seeder 2014-12-16 13:55:46 +11:00
Samuel Georges 470f876fff Add API code field to admin groups 2014-12-16 13:47:18 +11:00
Samuel Georges 5d6b634ded Don't force default groups on new admins, this is now handled by the user interface 2014-12-16 12:48:54 +11:00
Samuel Georges 2583a6be6d Merge pull request #832 from andreas-bergstrom/patch-1
Grammar and spelling
2014-12-16 12:46:25 +11:00
Samuel Georges 1ac30a5545 Merge pull request #833 from mradamwood/patch-1
Typo in oc-icon-paperclip class
2014-12-16 12:46:05 +11:00
Samuel Georges bd1b930316 Make more room for group descriptions 2014-12-16 12:42:29 +11:00
Samuel Georges e3dae22758 Back-end user groups can now be marked to add new administrators by default
Streamline naming of backend user groups
Add description field to backend user group table
2014-12-16 12:39:38 +11:00
Samuel Georges 25f9b7f63c Default value might be an array 2014-12-16 12:22:58 +11:00
Samuel Georges d3000ca51a Unify the handling of detailed exception messages 2014-12-16 12:21:55 +11:00
Samuel Georges 8f2f9fd07d zIndex should actually sit higher than modals 2014-12-16 10:17:48 +11:00
Adam 04e02727ce Type in oc-icon-paperclip class
Fixed type in oc-icon-paperclip class (from paper-clip to paperclip) which meant that the attachment link wasn't showing in backed.
2014-12-15 11:49:30 +00:00
Samuel Georges de9f6194a9 Style sweet alert so it matches the backend better 2014-12-15 20:28:04 +11:00
alekseybobkov 96bf61f0f2 Minor update in the documentation 2014-12-14 23:17:47 -08:00
Samuel Georges dfdb6259d8 Implement "sweet alert" for ajax errors and confirmations 2014-12-15 17:50:15 +11:00
Samuel Georges 986b3a95a8 Add the ability to override the confirm function 2014-12-15 17:48:59 +11:00
alekseybobkov 831f28e84d Implemented and styled the toolbar 2014-12-14 22:34:37 -08:00
Samuel Georges 3d903191ee Framework.js should throw an alert here, no need to do it again 2014-12-15 17:02:50 +11:00
Samuel Georges b878e25a4d Add sweet-alert library 2014-12-15 16:48:02 +11:00
Andreas Bergström a608a1c5e3 Update lang.php 2014-12-15 08:17:19 +07:00
Andreas Bergström 149f1c7632 Grammar and spelling
Improved grammar and corrected spelling.
2014-12-15 08:16:25 +07:00
Samuel Georges 52956f6f04 Merge pull request #827 from chrisnharvey/patch-1
Correcting class name for missing relation exception
2014-12-14 09:48:37 +11:00
Samuel Georges daee5f27c2 Merge pull request #821 from mrmlnc/develop
Clean key & Update Ru lang
2014-12-14 09:44:53 +11:00
alekseybobkov c6eb544101 Implemented the server-side data access. Added automatic POSTing of client-memory data source data. Updated documentation. Minor fixes in the drop-down cell processor. 2014-12-11 22:12:43 -08:00
alekseybobkov bffd4574b6 Documentation updates 2014-12-10 22:54:29 -08:00
alekseybobkov 23892f8733 Added the server-side data source foundation classes. Implemented the server-side client memory data source. Added more configuration options ot the client-side script. Updated documentation. 2014-12-10 22:46:17 -08:00
alekseybobkov baee9edcd2 Implemented server-side drop-down event, updated documentation. 2014-12-10 19:49:50 -08:00
Chris Harvey 78fb9fb110 Correcting class name for missing relation exception 2014-12-10 11:34:05 +00:00
alekseybobkov 9377bcf7c1 Table widget dropdowns - dependent drop-downs and loading indicators 2014-12-09 22:37:52 -08:00
alekseybobkov d880f1ffbd Minor. Memory usage profiled. 2014-12-08 22:59:33 -08:00
alekseybobkov f56bfe12d0 Implementing AJAX loading for drop-down options, in progress. 2014-12-08 22:50:25 -08:00
Samuel Georges 9f8eb58591 Fixes bug where setting statusCode doesn't work for AJAX handlers 2014-12-08 19:01:27 +11:00
alekseybobkov 4b28ee8bcb Custom drop-down control for the table widget. In progress. 2014-12-07 23:30:15 -08:00
Denis Malinochkin 690c95dbdf Switch position :) 2014-12-08 03:55:30 +03:00
Denis Malinochkin ee5bc8407c Clean key & Update Ru lang 2014-12-08 03:51:39 +03:00
Samuel Georges ea34622840 Clicking a record in readOnly mode will open the manage form in preview mode
Use "recordOnClick: null" to retain the original behavior
2014-12-06 15:46:02 +11:00
Samuel Georges 906d97dce4 Add new options to RelationController (view mode): recordUrl, recordOnClick, toolbarButtons 2014-12-06 15:32:20 +11:00
Samuel Georges 3e5d6452fb Fixes #373 - FormController can now accept different form fields for create,update,preview 2014-12-06 13:48:33 +11:00
Samuel Georges 48b90e86b6 Config item `cms.enableAssetMinify` can now be set to **null**, in which case assets are only minified if debug mode (`app.debug`) is disabled. 2014-12-06 13:43:06 +11:00
Samuel Georges 33be75af10 Config item `cms.customErrorPage` is deprecated, the setting `app.debug` should be used instead. 2014-12-06 13:22:57 +11:00
Samuel Georges e9c8107cc5 Checkbox list should support preview mode 2014-12-06 12:16:09 +11:00
Samuel Georges cfac213217 Minor refs #798 2014-12-06 09:34:54 +11:00
Samuel Georges 7a289e63a2 Merge pull request #800 from gergo85/master
Optimized images and update jQuery
2014-12-06 09:28:01 +11:00
Samuel Georges 97cddf6378 Merge pull request #798 from nnmer/master
added to mail settings, to send emails to log file, useful for debuging
2014-12-06 09:26:04 +11:00
Samuel Georges cafe636f58 Merge pull request #807 from nicolas-lescop/patch-6
Permit to display checkBoxes with config file
2014-12-06 09:14:28 +11:00
Samuel Georges fd811bb115 Merge pull request #812 from nicolas-lescop/patch-9
Extend query on relation behavior
2014-12-06 09:03:05 +11:00
Samuel Georges 67d9f82097 Merge pull request #813 from nicolas-lescop/patch-3
Allow to prepare list model from controller
2014-12-06 09:00:30 +11:00
alekseybobkov a6d8ab20f7 More styling for the drop-down processor. Not finished. TODO: investigate and fix the memory leaking in the drop-down cell processor (detached DOM tree) 2014-12-04 22:48:25 -08:00
Samuel Georges c485622f5b FormController is now responsible for purging data from the set (NO_SAVE_DATA) 2014-12-05 16:48:27 +11:00
Samuel Georges ab24c547a2 Move NO_SAVE_DATA to FormField 2014-12-05 16:46:04 +11:00
Samuel Georges 2533b4ab4d ThemeData now applies default values, Theme object will proxy to ThemeData 2014-12-05 16:45:20 +11:00
Samuel Georges 88ac73d221 Throw AppExceptions so they are not logged 2014-12-05 08:46:57 +11:00
jtherczeg 9dcbe89247 Hungarian translations updated
The Hungarian module translations updated for the latest OctoberCMS
build.
2014-12-04 09:51:05 +01:00
alekseybobkov e032fd682d Table drop-down processor, in progress 2014-12-03 22:48:26 -08:00
Samuel Georges 89c878b439 Fixes checkboxlist ignoring empty data sets 2014-12-04 17:20:53 +11:00
Samuel Georges 70eb7eaf51 Adds Theme customization feature
Adds reset button to settings pages
authorUrl -> homepage
2014-12-04 16:49:52 +11:00
nicolas-lescop 746a5749c7 Allow to prepare list model from controller
I need reach this method from the controller to create an export feature
2014-12-03 18:08:44 +01:00
alekseybobkov d2e4225bae Updates in the readme 2014-12-02 22:10:04 -08:00
alekseybobkov d03370c5bf Added the checkbox cell processor 2014-12-02 21:46:54 -08:00
nicolas-lescop d0cc667c8b Extend query on relation behavior
From a relation behavior config file like this

status:
     label: Status
     list: @/plugins/path/to/your/relation/config/columns.yaml
     emptyMessage: backend::lang.list.no_records

You can extend the list query with this method :

relationExtendQuery($query, $field, $manageMode)
{
     if ($field == 'status') $query->where('thing', '=', $this->thing);
}
2014-12-02 15:03:06 +01:00
nicolas-lescop 89cdb3af8b Permit to display checkBoxes with config file
Can be used for those wanting to make a deletable only list.
2014-12-02 11:35:15 +01:00
alekseybobkov a73ef52d36 Styling and column alignemnt 2014-12-01 22:31:11 -08:00
gergo85 2a05c2346f Update jQuery files
Demo theme: v1.10.2 -> v1.11.1
Backend: v2.0.3 -> v2.1.1
Furthermore I renamed the jquery-2.0.3.min.js file because of easy to
update jQuery in future.
2014-12-01 22:35:58 +01:00
gergo85 f4b9cbfca3 Optimized images
All images optimalized via PNGGauntlet. The image quality unchanged, but
the files became smaller.
2014-12-01 12:20:04 +01:00
alekseybobkov 1f420c88fd Minor refactoring in the navigation code. Implemented cell focusing on the record deletion with enabled pagination. The code profiled and checked for memory leaks. 2014-11-27 21:55:37 -08:00
Samuel Georges 78c5a6af5d Fixes #761 - Widgets can support proxy fields too 2014-11-27 19:15:15 +11:00
Samuel Georges 3dbe487698 Various fixes to datepicker and form widget 2014-11-27 19:02:23 +11:00
alekseybobkov 839c686bb3 Implementing record deletion feature, in progress 2014-11-26 23:14:46 -08:00
Samuel Georges f0cb98e63c Fixes #145 - Plugin details now support "homepage" property 2014-11-27 17:21:30 +11:00
Anton Romanov 0505911c47 added to mail settings, to send emails to log file, useful for debuging 2014-11-27 13:50:37 +08:00
Samuel Georges e6d82bec69 Clean up code from #797, remove conflicts in CSS 2014-11-27 09:44:34 +11:00
webmaxx 7973037d5f Fixes display values for datetime 2014-11-26 13:57:25 +03:00
Samuel Georges 6a8146fa19 Refs #795 - Fixes set values for datetime 2014-11-26 19:02:06 +11:00
Samuel Georges 81a02cea96 Refs #795: Combine TimePicker and DatePicker 2014-11-26 17:57:59 +11:00
Samuel Georges cf081c1133 Merge pull request #795 from webmaxx/develop
Added form widget "TimePicker" to Backend.
2014-11-26 17:37:16 +11:00
Samuel Georges bb18230f46 Refs #792 - Fixes logic error 2014-11-26 17:31:07 +11:00
Samuel Georges 49f5b23e31 Refs #792: Improve 'cms.page.beforeDisplay' event to support modifying the page, clean up events 2014-11-26 17:29:04 +11:00
alekseybobkov 8c5cd78143 Implemented adding row above and below the current row features 2014-11-25 21:47:37 -08:00
webmaxx e8d30f6f51 Added form widget "TimePicker" to Backend. 2014-11-25 13:37:16 +04:00
webmaxx faf867f745 Added form widget "TimePicker" to Backend. 2014-11-25 13:33:33 +04:00
alekseybobkov 719d3831ec Refactored navigation, implemented record adding and updating for the client-memory dataset 2014-11-24 22:36:55 -08:00
Dmitriy d8ed49b8cf Update _manage_form.htm
fix form title for update context
2014-11-23 21:59:48 +02:00
Samuel Georges 001e86456d Fixes #788 - Fall back to config theme when db theme fails. 2014-11-23 03:40:04 +11:00
Samuel Georges 846a312765 Marry twig to global input helpers 2014-11-22 16:00:25 +11:00
alekseybobkov 3fb9184b1f Fixed typos 2014-11-20 22:16:00 -08:00
alekseybobkov d8ad718f1d Added pagination, improved the navigation code 2014-11-20 22:12:36 -08:00
Samuel Georges c8b04db1fe Fixes #119 - Add OpenSSL as a requirement, remove safe_mode (removed in php 5.4) 2014-11-21 15:52:41 +11:00
Samuel Georges 48e2dddc66 Fixes #783 - Logic error 2014-11-21 08:29:40 +11:00
Samuel Georges 0c812a59e5 Merge pull request #782 from webmaxx/develop
Added new symbols to page slug regexp in the backend.
2014-11-19 20:53:34 +11:00
webmaxx b4819e73b3 Added new symbols to page slug regexp in the backend.
Example slug:
/news/:page?|^[0-9]+$ - "/news/", "/news/2"
2014-11-19 12:04:55 +04:00
Samuel Georges b6ec6ccf2c Pass mtime to menu resolving method results 2014-11-19 17:46:26 +11:00
Samuel Georges f351697c48 Streamline Theme object API (::load should be static as in CmsObject) 2014-11-19 17:45:57 +11:00