Commit Graph

199 Commits

Author SHA1 Message Date
Samuel Georges 01b2d0d186 Add relation-inset class, fixes relation-flush 2015-12-19 09:53:12 +11:00
myst6re 55bceba32c Commit deferred data when creating/updating a pivot table. 2015-12-12 11:44:59 +11:00
Vojta Svoboda 0b6aa8750c Update fields_export.yaml 2015-11-11 16:08:50 +01:00
Samuel Georges 56f66ada53 Revert indentation from #1545 2015-10-31 17:22:48 +11:00
Samuel Georges 3b885ade56 Merge pull request #1545 from keiosweb/develop
translation strings in import-export behaviour and polish translations
2015-10-31 17:09:15 +11:00
Samuel Georges c30b34e4d9 In special cases, has one/many will require a foreign key set
For example: to pass any constraints imposed by the database
This new logic emulates the "create" method on the relation object
Fixes #1541
2015-10-31 16:40:16 +11:00
Kuba 031b9cdbe6 translation strings in import-export behaviour and polish translations 2015-10-21 19:47:57 +02:00
Samuel Georges 5c294b78bd Add support to extend query on 'nested' sortMode - refs #1519
Recompile assets, minor cleanup
2015-10-17 12:44:16 +11:00
Jofry f0b4691168 Allow extend query on reorder controller, on 'simple' sortMode 2015-10-17 12:36:46 +11:00
Samuel Georges af657e9399 Fixes #1042 - remove fillable constraint on models when saving
Form fields are already constrained by their fields.yaml definition (values not defined in the yaml will not be saved) so we don't need to double dip by enforcing fillable too.
2015-10-17 11:41:40 +11:00
Samuel Georges e285b2f870 Merge pull request #1473 from alxy/patch-7
Missing use statement
2015-09-30 05:31:44 +10:00
Alexander Guth 00998f93ca Missing use statement 2015-09-29 14:09:23 +02:00
Samuel Georges dd6e0a3836 Persist the search term across AJAX requests only
Fixes #1448
2015-09-28 10:52:24 +10:00
Samuel Georges d4ce89e9ba Fixes relation render onclick in list view to obey $model->primaryKey value
Fixes #1454
2015-09-28 10:12:06 +10:00
Samuel Georges 933ea641cc Adds failed jobs table (from docs)
Allow closures to be passed to Form|ListController
Tidy up server detail payload
2015-09-23 05:45:55 +10:00
Samuel Georges e8b4bf9d72 If the pivot model fails for some reason, abort the sync
Refs #1408
2015-09-12 07:53:33 +10:00
Samuel Georges 1d5caee2d9 Merge pull request #1408 from mplodowski/fix-1407
Fix #1407
2015-09-12 07:42:38 +10:00
Michał Płodowski e388c18369 Added focus on search field when pivot popup opens. 2015-08-31 20:21:50 +02:00
Michał Płodowski 37f7c1d62e Fix #1407 2015-08-31 20:19:58 +02:00
Samuel Georges 8a28ce4e5f Fixes protection level bug 2015-08-31 17:19:25 +10:00
Samuel Georges ee38c72f04 Protected properties were once [incorrectly] available 2015-08-29 20:12:55 +10:00
Samuel Georges e3e8fb35c7 Allow the model attribute name to be specified from config 2015-08-22 16:39:09 +10:00
Samuel Georges 6d1673c4b3 Introduce ReorderController for reordering of model records - Fixes #943 2015-08-22 16:33:00 +10:00
Samuel Georges 241ea68468 Add auto column match feature to import 2015-08-05 10:23:14 +10:00
Samuel Georges 9ecf75307b Add exception handling and permissions definition 2015-08-04 20:04:11 +10:00
Samuel Georges 52fa1b4f66 Relation create for belongsTo support deferring - refs #1329 2015-08-01 13:03:30 +10:00
Samuel Georges ce4636d59a Add support for deferred binding for belongsTo relations - Refs #1329 2015-08-01 11:34:22 +10:00
Samuel Georges fdbd5d8b3c Update redactor to latest, minor cleanup 2015-07-29 19:17:05 +10:00
Samuel Georges dbac4809f6 Resurrect the list export feature - fixes #1313 2015-07-27 08:50:26 +10:00
Samuel Georges f715fa4228 Grants an opportunity to manipulate the primary widgets 2015-07-25 14:48:17 +10:00
Samuel Georges ccb28a2cfe The RelationController::relationExtendQuery method should be removed when scopes are respected - a relation scope is an extension of the query #1203 2015-07-25 14:28:33 +10:00
Samuel Georges fc62ca7c7f Event is supposed to come *after* default constraints 2015-07-25 14:22:31 +10:00
Samuel Georges 3866ccbb20 This really shouldn't be here 2015-07-25 14:19:34 +10:00
Samuel Georges 502263e11b Finishing import/export redirects to the defined url 2015-07-25 09:21:43 +10:00
Samuel Georges 46bfa78cef Remove export function from List behavior 2015-07-23 19:44:30 +10:00
Samuel Georges d0742653d1 Implement exporting function modeled after import function 2015-07-23 19:44:19 +10:00
Samuel Georges 5be21f6231 Allows custom options to be specified via form fields 2015-07-22 18:30:50 +10:00
Samuel Georges a22dd43cad Merge branch 'develop' into importexport 2015-07-22 08:07:13 +10:00
Samuel Georges 52ea4a73c8 Performance improvements, rename scopes to standard 2015-07-21 20:46:35 +10:00
Samuel Georges a9899ae3c1 Finish basic import workflow 2015-07-21 20:45:02 +10:00
Samuel Georges 5a40c54f3c Add required fields + validation step, headers checkbox can be toggled 2015-07-21 07:56:55 +10:00
Samuel Georges e878291fb6 Minor 2015-07-18 17:30:59 +10:00
Samuel Georges be28c8e296 More explicit naming here 2015-07-18 17:09:15 +10:00
Samuel Georges 5e741c4c39 onImport stub 2015-07-18 17:06:09 +10:00
Samuel Georges 9eaaa850cc Implement column dropping styles and data manipulation 2015-07-18 17:03:16 +10:00
Samuel Georges 6ca400ca67 Import logic is getting large, give it space 2015-07-18 16:40:40 +10:00
Samuel Georges 9b249bad5b Add the ability to hide/show columns 2015-07-18 16:36:33 +10:00
Samuel Georges f445b9c4ce Implement column data sample popup 2015-07-18 16:15:17 +10:00
Samuel Georges 4c54b53da6 Improve styles, add some pretty icons 2015-07-18 15:39:49 +10:00
Samuel Georges 142c8f7193 Finally get the column sorting working 2015-07-18 14:36:15 +10:00