Commit Graph

138 Commits

Author SHA1 Message Date
Samuel Georges f4efcb455e Use fill()+save() instead of save() 2015-06-27 14:32:52 +10:00
Samuel Georges ddff853e10 Restyle relation controller to use more minimalist design 2015-06-09 18:48:47 +10:00
Alvaro Cánepa 03be3c3d77 Fix translation title on popup 2015-05-29 08:31:50 -03:00
Alvaro Cánepa 67e194231d Fix translation title on popup 2015-05-29 08:29:58 -03:00
Alvaro Cánepa 061fe89d5a Fix translation title on popup 2015-05-29 08:19:38 -03:00
Samuel Georges b2e5d24e9d Fixes pivot model add with showCheckboxes enabled 2015-04-29 08:01:28 +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
plexnum a20712b73c fix related model update when deferred binding 2015-04-09 07:28:01 +03: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 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
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 3eede4a7b7 Reorganise and improve RelationController
Fix bug in DataTable limited to 10 records
2015-03-27 22:20:52 +11:00
Samuel Georges f64497c5f3 Minor bug fix blocking new config approach 2015-03-26 19:05:07 +11:00
Samuel Georges 398177b006 Full pivot support added to RelationController 2015-03-19 20:01:08 +11:00
Samuel Georges a1ac5edbf7 Various minor fixes and improvements 2015-03-18 19:28:14 +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
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 858eb96a81 Update league/csv package to v7 2015-03-07 08:42:53 +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 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 032d8aafce Manage onCreate now looks to the deferredBinding property 2015-02-28 15:27:03 +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 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 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 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
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
Samuel Georges 0fc489c7cb Fixes for Paginator / setCurrentPage
remember() now works
2015-02-07 10:24:28 +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 167d113c12 depends -> dependsOn
Hidden fields now retain their container div (hidden when empty)
2015-01-29 20:32:24 +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
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 ff415a8542 Tidy up 2015-01-25 13:10:17 +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 25835e5f55 Implement belongsTo RelationController type 2015-01-21 20:53:19 +11:00
Samuel Georges 39daf773bc Implement hasOne RelationController type 2015-01-21 19:47:38 +11:00
Samuel Georges 59c9146b4f Merge pull request #861 from gergo85/master
Cleanup
2015-01-05 09:21:09 +11: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