GithubHelp home page GithubHelp logo

betterdynadmin's Introduction

Better Dynamo Administration

Better Dynamo Administration (BDA) is a user script that improves ATG Dynamo Administration experience. It takes 3 minutes to install and will help you to save plenty of time.

Installation

Firefox

If you're not happy with BDA behaviour, you can simply disable it by clicking on the monkey head of Greasemonkey.

Google Chrome

Change logs

2.1 - 26/02/17

  • #46 [Repository] New option to render items as tree
  • #84 [Repository] Result tables show default repository values (thanks to @onewingedfallen59)
  • #106 [Repository] Option to not reload immediately when loading a sub-item (thanks to @troussej)
  • #104 [Repository] Auto-complete GSA tags in the query editor (thanks to @troussej)
  • #103 [Dash] Auto-complete GSA tags (thanks to @troussej)
  • #103 [Dash] Auto-save editor state (thanks to @troussej)

2.0 - 18/09/16

BDA 2.0 is finally out ! It comes with a lot of new features and also a huge technical refactor.

  • #72 Introducing DASH : the dyn admin shell (thanks to @troussej)
  • #48 Result table are editable in repositories pages (thanks to @onewingedfallen59)
  • #92 Repository definition can be displayed as tab (thanks to @troussej)
  • #96 New tabs for saved queries and properties in repository pages
  • #42 Cache stat table has been improved to be more readable (thanks to @troussej)
  • #93 New timeline mode for the sheduler page (thanks to @troussej)
  • #86 Autocomplete search of nucleus components (thanks to @troussej)

Check the 2.0 milestone of more details

1.17 - 16/05/16

  • #77 New hashtags system for component in the toolbar. Component can now be filter by tags. (thanks to @troussej)
  • #76 Component search available everywhere (thanks to @troussej)

1.16 - 25/04/16

  • #67 New default properties and methods system for the toolbar (thanks to @troussej)
  • Several bug fix

1.15 - 02/04/16

  • #56 Repository ids are now clickable and loadable in repository pages
  • #51 New what's new popup (thanks to @onewingedfallen59)
  • Preview of saved queries in repository pages (thanks to @troussej)

1.14 - 28/02/16

  • #44 New improvements of pipeline manager pages, graphical representation is better and nodes are clickable
  • #54 Item tree result can go directly to clipboard
  • #50 #59 Several bug fixes, especially for Chrome

1.13 - 14/02/16

  • #44 Improvement of pipeline manager pages, graphical representation of each pipeline and quick link to XML definition
  • #41 Add "id-only" checkbox for query-item

1.12 - 31/01/16

  • New speedbar with quick links for item tree
  • Default repository descriptor for some repositories

1.11 - 24/01/16

  • #35 Persitent storage accross all dyn/admin instance
  • Huge optimization of item tree. Asynchronous ajax call and request aggregation

1.10 - 11/12/15

  • #16 Toolbar personalization with new shortcut system

1.9 - 04/12/15

  • Pull #29 Actor chains can be call directly through their component pages

1.8 - 15/11/15

  • Rework repository toolbar, new 'clear' button and new select input to filter repository descritpor, using select2.js
  • Queries are not stored by repository
  • New icon management system with font-awsome

1.7 - 04/10/15

  • Syntax highlight for properties files
  • New output format print-item for item tree
  • Fix issues with the toolbar

1.6 - 22/03/15

  • #24 : JDBC browser : new datasource selector to easily switch datasource
  • #22 : Repository page : add ability to output with "repository='...'" in the 'get item tree' tool
  • Repository page : new option to show full content of every properties values in HTML result tabs
  • Several bug fix

1.5 - 21/12/14

  • #20 : Integration of findclass.jhtml : see "Find Class" link beside the class path in component pages (installation instructions of findclass.jhtml below)
  • #21 : Toggle position (show more/less...) are stored
  • Add syntax highlighting to xml query result
  • Faster highlight and indent of XML

1.4 - 29/11/14

  • #17 : Display execution log on repository page
  • #19 : New output format for the item tree tool : add-item, remove-item, HTML tabs
  • #18 : Scrollbar is always set in the right place when executing XML tags

1.3 - 17/11/14

  • New tool for extracting items tree on repository page.

1.2 - 25/09/14

  • #15 : Quick view of descriptor properties in repository tags editor
  • #14 : New item descriptor table in repository page
  • #12 : Add syntax highlighting to xml definition files (pipelines, messagingManager ...)

1.1 - 08/08/14

  • #11 : Syntax coloring in repository definition file page with highlight.js
  • #10 : Syntax coloring in xml tags editor
  • #09 : Handle multi id in the editor id field

Main features

Click on images for more details

  • Basic xml tags editor in repositories pages, avoiding you to type your "print-item" request every time. :)
Without BDA With BDA
  • Toolbar to easily navigate through components & your component navigation history
Without BDA With BDA
  • XML syntax highlight for repository definition page and XML tags editor

  • Tool for extracting items tree on repository page

  • Performance monitor table sortable by column and more handsome

  • Backup and restore capabilities of toolbar and editor data

  • Lot more inconming, check the milestone !

Contributors

Disclaimer

This project is completely unofficial and in no way endorsed by Oracle Corporation. Oracle ATG web commerce is a copyrighted product of Oracle Corporation and no rights are contested by this project or it contents.

License

Better Dynamo Administration comes with ABSOLUTELY NO WARRANTY; for details see the GNU General Public License. This is free software, and you are welcome to redistribute it under certain conditions; see the GNU General Public License for details.

betterdynadmin's People

Contributors

jc7447 avatar onewingedfallen59 avatar troussej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

betterdynadmin's Issues

Better dyn admin manager

Supervision tool for several dyn/admin instance at the same time.

  • Manage a list of dyn/admin url (CRUD)
  • Ability to organize dyn/admin by group (environment)
  • Ability to switch from one instance to another with an inner tab system
  • Ability to synchronize navigation across all opened tab
  • Ability to automatically refresh a tab

Sorting tables in the PerformanceMonitor

The "Time Performance Data" tables in the Performance Monitor HTML pages have headers like "Operation", "Number of executions", "Average execution time (msec)", etc.

It would be nice if we could sort the tables in ascending and descending order of the values by clicking on the column headers.

[Chrome] ItemTree use a deprecated method

When you do a get item tree, whatever repository or descriptor, the following will be logged on Google Chrome 47 console :

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
VM5277:2647 descriptor : 55

Remenber toggles position

Persist toggles position (show more/less) in component page. This persistance should be share accross all components

Too many Shortcut breaks backup

I have 17 component shortcuts and when I click on backup only the 6 firsts and the 6 lasts are saved. In the middle I have "...".
Here is a sample of what I get:

{"components":[
{"componentPath":"/dyn/admin/nucleus/atg/commerce/order/OrderRepository/","componentName":"OrderRepository","colors":[24,173,174],"id":0},
{"componentPath":"/dyn/admin/nucleus/atg/content/media/MediaRepository/","componentName":"MediaRepository","colors":[46,82,75],"id":1},
{"componentPath":"/dyn/admin/nucleus/atg/multisite/SiteRepository/","componentName":"SiteRepository","colors":[17,54,120],"id":2},
{"componentPath":"/dyn/admin/nucleus/developmentData/DevelopmentDataLoader/","componentName":"DevelopmentDataLoader","colors":[210,210,62],"id":3},
{"componentPath":"/dyn/admin/nucleus/atg/userprofiling/ProfileAdapterRepository/","componentName":"ProfileAdapterRepository","colors":[112,5,210],"id":4},
{"componentPath":"/dyn/admin/nucleus/initialData/InitialDataLoader/","componentName":"InitialDataLoader","colors":[161,82,210],"id":5},
{"componentPath":"/dyn/admin/nucleus/logisticCoreData/LogisticCoreDataLoader/","componentName":"LogisticCoreDataLoader","colors":[210,55,21],"id"...//","componentName":"LocationRepository","colors":[210,180,35],"id": 10},
{"componentPath":"/dyn/admin/nucleus/atg/commerce/catalog/ProductCatalog/","componentName":"ProductCatalog","colors":[74,92,108],"id":11},
{"componentPath":"/dyn/admin/nucleus/atg/commerce/inventory/InventoryRepository/","componentName":"InventoryRepository","colors":[166,149,1],"id":12},
{"componentPath":"/dyn/admin/nucleus/com/decathlon/cube/communication/CubeEmailTools/","componentName":"CubeEmailTools","colors":[210,210,210],"id":13},
{"componentPath":"/dyn/admin/nucleus/com/decathlon/cube/media/MediaResolver/","componentName":"MediaResolver","colors":[210,155,100],"id":14},
{"componentPath":"/dyn/admin/nucleus/atg/rest/registry/ActorChainRestRegistry/","componentName":"ActorChainRestRegistry","colors":[61,184,62],"id":15},
{"componentPath":"/dyn/admin/nucleus/com/decathlon/cube/commerce/locations/imports/LocationImportSchedule/","componentName":"LocationImportSchedule","colors":[145,210,89],"id":16}
],"queries":[]}

Remark: I had to double the '/' to avoid having strange behavior from the syntax highlighter.

[General] CSS not reloaded with TamperMonkey

When increase the version in bda.js, Tampermonkey will not reload the CSS file bda.css.

May be, we need to add a parameter in the URL and change it every time we change the Javascript to be sure that TM reload it.

Show XML tags execution logs

Today, log like this are hide with the raw XML

------ Printing item with id: 531937

The goal is to show those lines in a log area.

sanitizeXML function fails in some case

sanitizeXML will not handle several line of comment.

Example :

  <set-property name="property0"><![CDATA[11/8/2010 15:13:27]]></set-property>
  <!-- rdonly   <set-property name="property1"><![CDATA[value]]></set-property>  -->
  <!-- rdonly   <set-property name="property2"><![CDATA[true]]></set-property>  -->

Handle multi id in the id field

Get id as comma separated value in the id field.

A print-item request with id = "myId1,myId2" gives :

<print-item id="myId1" />
<print-item id="myId2" />

Duplicate highlight xml button

When clicking on the "hide/show raw xml" button on the repository query result, the "highlight and indent xml" is duplicate

Toolbar personalization

When adding a new element to the toolbar, show a pop-in that allow to select shortcut for methods execution and log level switch (true / false).

Those shortcuts must be available in the toolbar through the expandable panel of each component.

ATG 9 issues

  • "Find class" link misplaced in some page
  • BDA do not start in search page

[Repository] Item tree output as tree

Improve item tree output to looks like a tree with sub-level representation.

Item A
-- Sub item B
---- Sub Sub Item G
-- Sub item C
---- Sub sub item D
------ Sub sub ...
Item E
-- Sub Item F

findClass.jhtml integration

On a component page, make the link on the class file redirect to findClass.jhtml

Add instruction to explain how to install findClass.jhtml in the readme.md .

[Chrome] ItemTree no visible progression

Bug reproductible in Chrome but everything is OK in Firefox.

I'm fetching the item tree of an order in the order repository. When I click "Enter", the browser in stuck until BDA process completion whereas in Firefox I see the "x items retrieved" progressing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.