Permalink
Browse files

[ENHANCEMENTS]

  * New manual pages for Troubleshooting, DBIC Tips, and Limitations
  * Frontend now called DisplayEngine (except for config)
  * Backend now called StorageEngine (except for config)
  * User can specify "backends" in config for non-DBIC storage
  * Always forward() to DisplayEngine, for consistency
  * Template Toolkit now configured to PRE_CHOMP for source readability
  * wrapper.tt template is factored out into five parts, easier overriding

  [BUG FIXES]

  * Clearing the ExtJS2 filters also now clears "Browse" link params
  * Works when there are no sources within a DB schema
  * Skinny template was using old stashed metadata var names
  • Loading branch information...
2 parents 623acc6 + 91d32a7 commit fdb7e6fc3fb474b0451fec4a228ec225bca0275a @ollyg committed Oct 29, 2011
Showing with 1,061 additions and 860 deletions.
  1. +18 −0 Changes
  2. +36 −22 MANIFEST
  3. +1 −1 META.json
  4. +1 −1 META.yml
  5. +1 −1 Makefile.PL
  6. +101 −178 README
  7. +5 −5 examples/demo/demo.conf
  8. +1 −1 examples/demo/lib/DemoAppOtherFeaturesSchema/Result/DynamicDefault.pm.off
  9. +5 −5 examples/demo/lib/DemoAppOtherFeaturesSchema/Result/{A.pm → RefA.pm}
  10. +6 −6 examples/demo/lib/DemoAppOtherFeaturesSchema/Result/{B.pm → RefB.pm}
  11. +4 −4 examples/demo/lib/DemoAppOtherFeaturesSchema/Result/Reference.pm
  12. +15 −4 examples/sql/other_features.sql
  13. +118 −183 lib/Catalyst/Plugin/AutoCRUD.pm
  14. +1 −1 lib/Catalyst/Plugin/AutoCRUD/Controller/AJAX.pm
  15. +165 −0 lib/Catalyst/Plugin/AutoCRUD/Controller/DisplayEngine/ExtJS2.pm
  16. +3 −5 lib/Catalyst/Plugin/AutoCRUD/Controller/{ → DisplayEngine}/Skinny.pm
  17. +16 −11 lib/Catalyst/Plugin/AutoCRUD/Controller/Root.pm
  18. +1 −1 lib/Catalyst/Plugin/AutoCRUD/Controller/Static.pm
  19. +79 −0 lib/Catalyst/Plugin/AutoCRUD/Manual/DBICTips.pod
  20. +29 −0 lib/Catalyst/Plugin/AutoCRUD/Manual/Limitations.pod
  21. +66 −0 lib/Catalyst/Plugin/AutoCRUD/Manual/Troubleshooting.pod
  22. +0 −16 lib/Catalyst/Plugin/AutoCRUD/Model/Backend/DBIC.pm
  23. +1 −1 lib/Catalyst/Plugin/AutoCRUD/Model/DBIC.pm
  24. +16 −0 lib/Catalyst/Plugin/AutoCRUD/Model/StorageEngine/DBIC.pm
  25. +53 −120 lib/Catalyst/Plugin/AutoCRUD/Model/{Backend/DBIC/Store.pm → StorageEngine/DBIC/CRUD.pm}
  26. +7 −7 lib/Catalyst/Plugin/AutoCRUD/Model/{Backend → StorageEngine}/DBIC/Metadata.pm
  27. +1 −1 lib/Catalyst/Plugin/AutoCRUD/View/JSON.pm
  28. +2 −1 lib/Catalyst/Plugin/AutoCRUD/View/TT.pm
  29. +4 −4 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/grid.tt
  30. +2 −2 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/grid/columns.tt
  31. +10 −2 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/grid/pagebar.tt
  32. +10 −2 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/grid/toolbar.tt
  33. +6 −5 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/store.tt
  34. +2 −2 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/update.tt
  35. +7 −7 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/update/tabs.tt
  36. 0 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/update/window.tt
  37. 0 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/javascript/util.tt
  38. +4 −4 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat → extjs2}/list.tt
  39. +8 −0 lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper.tt
  40. +1 −0 lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/banner.tt
  41. +4 −37 lib/Catalyst/Plugin/AutoCRUD/templates/{full-fat/wrapper.tt → extjs2/wrapper/box.tt}
  42. 0 lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/footer.tt
  43. +28 −0 lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/head.tt
  44. 0 lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/header.tt
  45. +2 −2 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/cell.tt
  46. +3 −3 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/list.tt
  47. +1 −1 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/row.tt
  48. +1 −1 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/table.tt
  49. +5 −71 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper.tt
  50. +43 −0 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/banner.tt
  51. +15 −0 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/box.tt
  52. 0 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/footer.tt
  53. +10 −0 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/head.tt
  54. 0 lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/header.tt
  55. +1 −1 lib/SQL/Translator/AutoCRUD/Quick.pm
  56. +1 −1 lib/SQL/Translator/AutoCRUD/Utils.pm
  57. +1 −1 lib/SQL/Translator/Filter/AutoCRUD/CatalystModel.pm
  58. +1 −1 lib/SQL/Translator/Filter/AutoCRUD/ColumnsAndPKs.pm
  59. +1 −1 lib/SQL/Translator/Filter/AutoCRUD/DisplayName.pm
  60. +1 −1 lib/SQL/Translator/Filter/AutoCRUD/ExtJSxType.pm
  61. +2 −2 lib/SQL/Translator/Filter/AutoCRUD/{Backend → StorageEngine}/DBIC/AccessorDisplayName.pm
  62. +2 −2 lib/SQL/Translator/Filter/AutoCRUD/{Backend → StorageEngine}/DBIC/DynamicDefault.pm
  63. +2 −2 lib/SQL/Translator/Filter/AutoCRUD/{Backend → StorageEngine}/DBIC/ProxyColumns.pm
  64. +2 −2 lib/SQL/Translator/Filter/AutoCRUD/{Backend → StorageEngine}/DBIC/Relationships.pm
  65. +2 −2 lib/SQL/Translator/Filter/AutoCRUD/{Backend → StorageEngine}/DBIC/ViewsAsTables.pm
  66. +4 −4 t/20-music-metadata.t
  67. +56 −56 t/31-ajax-list.t
  68. +12 −12 t/32-ajax-delete.t
  69. +36 −36 t/33-ajax-update.t
  70. +1 −1 t/40-plugin.t
  71. +2 −2 t/44-m2m-metadata.t
  72. +2 −2 t/45-m2m-list.t
  73. +1 −1 t/53-headings_byhash.t
  74. +4 −3 t/55-headings_extjs.t
  75. +3 −3 t/56-columns_extjs.t
  76. +3 −3 t/57-headings_and_columns_extjs.t
  77. +3 −3 t/58-no_columns_extjs.t
View
18 Changes
@@ -1,3 +1,21 @@
+2.113020_004 2011-10-29 19:42:16 Europe/London
+
+ [ENHANCEMENTS]
+
+ * New manual pages for Troubleshooting, DBIC Tips, and Limitations
+ * Frontend now called DisplayEngine (except for config)
+ * Backend now called StorageEngine (except for config)
+ * User can specify "backends" in config for non-DBIC storage
+ * Always forward() to DisplayEngine, for consistency
+ * Template Toolkit now configured to PRE_CHOMP for source readability
+ * wrapper.tt template is factored out into five parts, easier overriding
+
+ [BUG FIXES]
+
+ * Clearing the ExtJS2 filters also now clears "Browse" link params
+ * Works when there are no sources within a DB schema
+ * Skinny template was using old stashed metadata var names
+
2.112890_003 2011-10-16 11:02:30 Europe/London
[BUG FIXES]
View
@@ -18,11 +18,9 @@ examples/demo/lib/DemoAppMusicSchema/Result/SleeveNote.pm
examples/demo/lib/DemoAppMusicSchema/Result/Track.pm
examples/demo/lib/DemoAppOtherFeatures.pm
examples/demo/lib/DemoAppOtherFeaturesSchema.pm
-examples/demo/lib/DemoAppOtherFeaturesSchema/Result/A.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/Artist.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/ArtistUndirectedMap.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/ArtistsCalledMike.pm
-examples/demo/lib/DemoAppOtherFeaturesSchema/Result/B.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/Bookmark.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/BookmarkWithLinkProxy.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/DynamicDefault.pm.off
@@ -31,6 +29,8 @@ examples/demo/lib/DemoAppOtherFeaturesSchema/Result/FourkeysToTwokey.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/Link.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/Noprimarykey.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/PunctuatedColumnName.pm
+examples/demo/lib/DemoAppOtherFeaturesSchema/Result/RefA.pm
+examples/demo/lib/DemoAppOtherFeaturesSchema/Result/RefB.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/Reference.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/SelfRef.pm
examples/demo/lib/DemoAppOtherFeaturesSchema/Result/SelfRefAlias.pm
@@ -46,13 +46,17 @@ examples/sql/demo_app.sql
examples/sql/other_features.sql
lib/Catalyst/Plugin/AutoCRUD.pm
lib/Catalyst/Plugin/AutoCRUD/Controller/AJAX.pm
+lib/Catalyst/Plugin/AutoCRUD/Controller/DisplayEngine/ExtJS2.pm
+lib/Catalyst/Plugin/AutoCRUD/Controller/DisplayEngine/Skinny.pm
lib/Catalyst/Plugin/AutoCRUD/Controller/Root.pm
-lib/Catalyst/Plugin/AutoCRUD/Controller/Skinny.pm
lib/Catalyst/Plugin/AutoCRUD/Controller/Static.pm
-lib/Catalyst/Plugin/AutoCRUD/Model/Backend/DBIC.pm
-lib/Catalyst/Plugin/AutoCRUD/Model/Backend/DBIC/Metadata.pm
-lib/Catalyst/Plugin/AutoCRUD/Model/Backend/DBIC/Store.pm
+lib/Catalyst/Plugin/AutoCRUD/Manual/DBICTips.pod
+lib/Catalyst/Plugin/AutoCRUD/Manual/Limitations.pod
+lib/Catalyst/Plugin/AutoCRUD/Manual/Troubleshooting.pod
lib/Catalyst/Plugin/AutoCRUD/Model/DBIC.pm
+lib/Catalyst/Plugin/AutoCRUD/Model/StorageEngine/DBIC.pm
+lib/Catalyst/Plugin/AutoCRUD/Model/StorageEngine/DBIC/CRUD.pm
+lib/Catalyst/Plugin/AutoCRUD/Model/StorageEngine/DBIC/Metadata.pm
lib/Catalyst/Plugin/AutoCRUD/View/JSON.pm
lib/Catalyst/Plugin/AutoCRUD/View/TT.pm
lib/Catalyst/Plugin/AutoCRUD/static/add.png
@@ -73,36 +77,46 @@ lib/Catalyst/Plugin/AutoCRUD/static/skinny.css
lib/Catalyst/Plugin/AutoCRUD/static/skinny_body.css
lib/Catalyst/Plugin/AutoCRUD/static/table_go.png
lib/Catalyst/Plugin/AutoCRUD/static/xdatetime.js
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/grid.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/grid/columns.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/grid/pagebar.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/grid/toolbar.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/store.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/update.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/update/tabs.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/update/window.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/javascript/util.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/list.tt
-lib/Catalyst/Plugin/AutoCRUD/templates/full-fat/wrapper.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/grid.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/grid/columns.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/grid/pagebar.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/grid/toolbar.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/store.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/update.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/update/tabs.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/update/window.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/javascript/util.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/list.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/banner.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/box.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/footer.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/head.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/extjs2/wrapper/header.tt
lib/Catalyst/Plugin/AutoCRUD/templates/helloworld.tt
lib/Catalyst/Plugin/AutoCRUD/templates/skinny/cell.tt
lib/Catalyst/Plugin/AutoCRUD/templates/skinny/list.tt
lib/Catalyst/Plugin/AutoCRUD/templates/skinny/pager.tt
lib/Catalyst/Plugin/AutoCRUD/templates/skinny/row.tt
lib/Catalyst/Plugin/AutoCRUD/templates/skinny/table.tt
lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/banner.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/box.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/footer.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/head.tt
+lib/Catalyst/Plugin/AutoCRUD/templates/skinny/wrapper/header.tt
lib/Catalyst/Plugin/AutoCRUD/templates/tables.tt
lib/SQL/Translator/AutoCRUD/Quick.pm
lib/SQL/Translator/AutoCRUD/Utils.pm
-lib/SQL/Translator/Filter/AutoCRUD/Backend/DBIC/AccessorDisplayName.pm
-lib/SQL/Translator/Filter/AutoCRUD/Backend/DBIC/DynamicDefault.pm
-lib/SQL/Translator/Filter/AutoCRUD/Backend/DBIC/ProxyColumns.pm
-lib/SQL/Translator/Filter/AutoCRUD/Backend/DBIC/Relationships.pm
-lib/SQL/Translator/Filter/AutoCRUD/Backend/DBIC/ViewsAsTables.pm
lib/SQL/Translator/Filter/AutoCRUD/CatalystModel.pm
lib/SQL/Translator/Filter/AutoCRUD/ColumnsAndPKs.pm
lib/SQL/Translator/Filter/AutoCRUD/DisplayName.pm
lib/SQL/Translator/Filter/AutoCRUD/ExtJSxType.pm
+lib/SQL/Translator/Filter/AutoCRUD/StorageEngine/DBIC/AccessorDisplayName.pm
+lib/SQL/Translator/Filter/AutoCRUD/StorageEngine/DBIC/DynamicDefault.pm
+lib/SQL/Translator/Filter/AutoCRUD/StorageEngine/DBIC/ProxyColumns.pm
+lib/SQL/Translator/Filter/AutoCRUD/StorageEngine/DBIC/Relationships.pm
+lib/SQL/Translator/Filter/AutoCRUD/StorageEngine/DBIC/ViewsAsTables.pm
t/00-load.t
t/10-www.t
t/11-site.t
View
@@ -81,6 +81,6 @@
"web" : "https://github.com/ollyg/Catalyst-Plugin-AutoCRUD"
}
},
- "version" : "2.112890_003"
+ "version" : "2.113020_004"
}
View
@@ -58,4 +58,4 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-Plugin-AutoCRUD
homepage: https://github.com/ollyg/Catalyst-Plugin-AutoCRUD/wiki
repository: git://github.com/ollyg/Catalyst-Plugin-AutoCRUD.git
-version: 2.112890_003
+version: 2.113020_004
View
@@ -63,7 +63,7 @@ my %WriteMakefileArgs = (
"strict" => 0,
"warnings" => 0
},
- "VERSION" => "2.112890_003",
+ "VERSION" => "2.113020_004",
"test" => {
"TESTS" => "t/*.t"
}
Oops, something went wrong.

0 comments on commit fdb7e6f

Please sign in to comment.