Commit Graph

1658 Commits

Author SHA1 Message Date
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