[contributions(DRUPAL-7--1):fago] /modules/entity/entity entity.ui.inc /modules/entity/entity entity.api.php entity.info entity.module
User: fago Branch: DRUPAL-7--1 Date: Thu, 21 Oct 2010 19:35:56 +0000 Added files: /modules/entity/entity entity.ui.inc Modified files: /modules/entity/entity entity.api.php entity.info entity.module Log message: #920546 Entity CRUD by klausi and me: merged branch implementing a generic admin UI for entities. Detailled commit log of the merged branch follows: Squashed commit of the following: commit 15d772b67e7bf9b21f1964015d675cef69fe9c15 Author: fago <nuppla@zites.net> Date: Thu Oct 21 21:30:34 2010 +0200 moved entity_ui_get_form() into the main module commit 7ff55882025194e80db12ac5b96f4bd0284493aa Author: fago <nuppla@zites.net> Date: Thu Oct 21 21:16:24 2010 +0200 fixed entity form commit f25184c2eddd26900ecae466e1690d23515caf10 Author: fago <nuppla@zites.net> Date: Thu Oct 21 16:33:39 2010 +0200 fixed the add menu item title + introduced entity_ui_form_submit_build_entity() - which has troubles with not exectued form wrappers though. commit 460388716cd26f728bd20a5f0ed4962ca094b6a3 Author: fago <nuppla@zites.net> Date: Thu Oct 21 15:33:58 2010 +0200 descriptions shall end with a point! commit 3c36a841ea1a2b0fb66e6a903402d56e773e7caf Author: fago <nuppla@zites.net> Date: Thu Oct 21 15:32:59 2010 +0200 added generic form validation and submit callbacks invoking the controller methods. commit 9397c8fbcb30d4ccfb9bbad8a55334b8e8eec29f Author: fago <nuppla@zites.net> Date: Thu Oct 21 15:05:59 2010 +0200 improved docs to mention that a form has to be implemented commit f48ebee83d5c0a6cccbbf23fb4e3b0de0f01201a Author: fago <nuppla@zites.net> Date: Thu Oct 21 14:55:49 2010 +0200 split the overTableForm into multiple methods to ease overriding parts of it commit 2bdcf03b56fc8ef18f6ce1beffd1583fbceb78bf Author: fago <nuppla@zites.net> Date: Thu Oct 21 14:36:28 2010 +0200 overhauled forms commit e1a308ca11bf142f71760a39effd0cd56bd1cf42 Author: fago <nuppla@zites.net> Date: Thu Oct 21 12:35:38 2010 +0200 added a form wrapper callback for setting defaults and the page title commit a7aab3851ae1ba99544827fb9ba350ed11137fbf Author: fago <nuppla@zites.net> Date: Thu Oct 21 12:05:17 2010 +0200 overhauled menu items, custom titles are currently missing commit 04cbbe11d6f615dc8e3087e517c0ee336e2ba6c1 Author: fago <nuppla@zites.net> Date: Thu Oct 21 10:50:32 2010 +0200 fixed hook_forms() to directly use the entity form for edit commit bf582fcb17130caad2753e6e4349e9126f7d5368 Author: fago <nuppla@zites.net> Date: Thu Oct 21 10:13:59 2010 +0200 added todo commit 4637ebbebecfa223af3222508687619ae8fd3ab2 Author: fago <nuppla@zites.net> Date: Wed Oct 20 18:58:11 2010 +0200 improve docs for hook_forms() commit 99a16858791cec9b2f22cb894a2af636b5fc4257 Author: fago <nuppla@zites.net> Date: Wed Oct 20 18:49:38 2010 +0200 moved entity_has_status() and fixed theme_entity_status to make use of ENTITY_OVERIDDEN commit 204bd43bc08260349601f0e4671eb289a17c988b Author: fago <nuppla@zites.net> Date: Wed Oct 20 18:45:15 2010 +0200 improved entity_ui_controller(), moved hook_forms() impl to the controller and renamed all hook implementationts too hook_foo(). commit c3c34b3ac393d6660bacb37976f63612dd791b21 Author: fago <nuppla@zites.net> Date: Wed Oct 20 18:20:42 2010 +0200 fixed entity_ui_controller() to statically cache controller instances commit 32310b8b52dacae369f95e30037536ee19ecef72 Author: fago <nuppla@zites.net> Date: Wed Oct 20 18:17:24 2010 +0200 fixed todo and changed vars to camelcase commit c9d21298931d30167adf8a6e7b7ef0ca0e6c281e Author: fago <nuppla@zites.net> Date: Wed Oct 20 11:21:31 2010 +0200 Entity metadata: improved comment author property description commit 4f97001a9a75a7101d274c6b835cb2dc0732e6ea Author: fago <fago> Date: Tue Oct 19 15:58:03 2010 +0000 Entity CRUD: implement the recently added hook_entity_delete(). commit 3b30c77e2e93391ea3a02eee217d49b0c0ec075d Author: fago <fago> Date: Tue Oct 19 15:44:49 2010 +0000 #945904 Entity metadata: Avoid an undesired hook_entity_delete() implementation. commit 787150997e7dee4b92f82c8e05ec926bbad50461 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Oct 13 18:06:30 2010 +0200 Added function to determine the entity edit form id commit 255ea22f277468a0a344695a88279b0e0aaf1706 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Oct 13 17:43:01 2010 +0200 re-structured menu items as the loop over all entities was useless commit cd2454cee82b7b2ff6ca54150e1b880965a0d00e Merge: 571c1db 902138a Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Oct 13 11:20:51 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 commit 571c1db576cf0970877a7b4cfa162c80d92faa9a Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 11 17:39:44 2010 +0200 Fixed a missing PHP doc * commit caecf9191d66a0b9da3876f0947797da0f7a6f5b Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 11 17:30:34 2010 +0200 introduced entity_ui function prefix for all UI related stuff commit 892bf70194e45c3661bf62cf9673541babdafe65 Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 11 17:12:05 2010 +0200 Added title handling for operation pages commit 25d79a87097d23bfcb662f756ffdc656f026698c Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 11 11:20:05 2010 +0200 Added menu entry for clone commit 031b535061dbef6f653d6a3b8d9a9f1c7e5b45a4 Merge: ad81a8f b9aaaaa Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 11 11:04:45 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 commit ad81a8fca15b0e70c0d47f832de821882e4afb03 Merge: 3b381d8 f3104a2 Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 11 10:00:05 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 Conflicts: entity/entity.api.php commit 3b381d8551552dee04035c188cfd650a8a454f1b Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Oct 7 16:56:41 2010 +0200 Removed bogus entity_access function commit 65689a301a27e377a5d7e78ff29db9dde802f968 Merge: 70d883a b073f14 Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Oct 7 16:50:14 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 commit 70d883a60e7d2712656b45d0e175b589a7be53ea Merge: 9c65a35 10da81f Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Oct 7 16:39:50 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 commit 9c65a351388b668fa5d517d3b1d2de17af9e0b3c Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Oct 7 16:39:33 2010 +0200 Divided operation form into an edit form and an operation form for all other operations commit 813237a58865d72daa5707a0ef42effaa2666e13 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Oct 6 15:05:32 2010 +0200 preparing for delegating edit and clone to entity edit form commit 831f57906745bd3c497b85a4c36bcc7c8501299a Merge: 8cc666b 88c7734 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Oct 6 11:31:23 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 commit 8cc666ba5b99eea570c181f51b62ff1f07e649d3 Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Oct 5 16:57:22 2010 +0200 added entity status function commit bb8ca375c7a764e593a7bcd49cf27d95b356ee08 Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Oct 5 15:43:36 2010 +0200 added apply operation method implementation commit 0fdfa4a6ce3231460360a73396396c7f07e73d2e Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Oct 5 14:07:23 2010 +0200 Fixed another entity_load call commit 92d3a4f36c43e2dbbc5566dff0ba2735dd77f602 Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Oct 5 14:00:31 2010 +0200 Fixed entity_load call to load all entities commit 850fdaace559aca2f5b520efbb223e1010749577 Merge: 9f7e3ff 84986d0 Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 4 17:31:27 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 Conflicts: entity/entity.module commit 9f7e3ffeb5507f4158ab7060a0f86023274a93c2 Merge: fc2c2da faf1826 Author: Klaus Purer <klaus.purer@gmail.com> Date: Mon Oct 4 12:12:48 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 Conflicts: entity/entity.info commit fc2c2da663d1155f8ea21cb3889ed3a16ad49d72 Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Sep 23 18:07:46 2010 +0200 change operations based on entity status commit 18a00a1009fc9e377609b0ecc8c1807e2637879f Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Sep 23 15:52:53 2010 +0200 Added API documentation commit 2db855468bc50d196470471e2254426b15c40fea Author: Klaus Purer <klaus.purer@gmail.com> Date: Thu Sep 23 15:35:00 2010 +0200 Removed non existing test file commit 6aefb3fa2aad97313c14a91ab8b1b379f7da7028 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 18:13:45 2010 +0200 fixed broken var name commit 20cd9daa3eb60e3a63dd2d2026c69f70c7c3b432 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 18:02:20 2010 +0200 Added entity status column and new entity overridden constant commit 8cd1b497678ec0637efd20e22c13936d0f42868a Merge: 455f12a f76b78d Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 17:31:01 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 Conflicts: entity/entity.info commit 455f12a6bf41a4dbb02508ee199dcdf528b48d74 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 17:29:07 2010 +0200 Added operation menu path and delete confirmation form commit 945b1eb35c156974b374a21d77b25dc5eb2cd3a8 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 13:03:06 2010 +0200 edit is not a local action commit 128c5becc4fe2b824a7177c49402a175ac17e91f Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 12:49:54 2010 +0200 Added entity edit menu items and load callback commit 93100f373883b45f06b9bb1f90877b7a86c985d0 Merge: 12689a7 2c38160 Author: Klaus Purer <klaus.purer@gmail.com> Date: Wed Sep 22 10:24:50 2010 +0200 Merge branch 'DRUPAL-7--1' of git://github.com/fago/entity into DRUPAL-7--1 Conflicts: entity/entity.info commit 12689a7e5c965d7c7a639162fe12c12d8fe0c938 Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Sep 21 15:56:38 2010 +0200 Added table for overview form commit fc5188cad2e2c9ea56971a8b47c3b14bd014849d Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Sep 21 14:51:14 2010 +0200 renamed controller class commit b3b5aa9f6017153fbff4aede5cc3283427d7237a Author: Klaus Purer <klaus.purer@gmail.com> Date: Tue Sep 21 14:30:25 2010 +0200 First approach for a generic overview UI. Uses a UI controller class with generic default settings. Entity types may provide their own controller class and override methods. For now only hook_menu() works. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/entity/entity/enti... http://cvs.drupal.org/diff.php?path=contributions/modules/entity/entity/enti... http://cvs.drupal.org/diff.php?path=contributions/modules/entity/entity/enti... http://cvs.drupal.org/diff.php?path=contributions/modules/entity/entity/enti...
participants (1)
-
drupal-cvs@drupal.org