sitemapper

version 0.8, approval status: PENDING, submitted by donbeave 1 month ago

Create sitemaps on the fly. Easy add support for dynamic or static sitemaps for you site.

bulk-data-imports

version 0.1, approval status: PENDING, submitted by jerleng 1 month ago

Bulk Data Imports Plugin simplifies importing of bulk data via file uploads Default support for CSV and domain classes

image-manager

version 1.0, approval status: PENDING, submitted by bogdibota 2 weeks ago

A simple, yet effective, plugin for managing and using images stored in the database. It is very simple to use: # Domain class class MyDomainClass{ ... Image image static mapping = { ... image cascade: "all" } } # Image creation CommonsMultipartFile file ... myDomainClass.image = imageCreationService.createImage(file).save() # Display the image //full sized image //notice that the backgroundColor must be specified in hexadecimal RGB format: BLACK="0x000000", RED="0xFF0000" and so on

url-without-scheme-validator

version 0.1, approval status: PENDING, submitted by marcinos 23 hours ago

UrlWithoutSchemeValidator Grails Plugin Summary The Url Without Scheme Validator Plugin allows to use custom validator that validates the URLs but - different than standard validator - does not care if the scheme (ex. http, ftp) is provided or not. Moreover, it can be used like "first-class", built-in validator. Instalation Add the following to your grails-app/conf/BuildConfig.groovy … plugins { … compile ':url-without-scheme-validator:0.1' … } Usage The plugin can be used the same way as built-in domain-level validators (http://grails.org/doc/latest/ref/Domain%20Classes/constraints.html), like url: true, blank: false, etc. So to make sure the URL is valid, no matter if user put the scheme or not, just use urlWithoutScheme: true. Example: class Domain { String url static constraints = { url urlWithoutScheme: true } }

log-hibernate-stats

version 0.9, approval status: PENDING, submitted by ishults 20 hours ago

Just add logHibernateStats.enabled = 'ALWAYS'// From ALWAYS, ALLOWED, NEVER to the environments you want to track statistics for, then in your config set: info 'grails.app.filters.controller.ControllerFilters' // or debug You should now be seeing output like: INFO controller.ControllerFilters - ############## Hibernate Stats ############## Action: /controller/actionName Transaction Count: 2 Flush Count: 1 Prepared Statement Count: 2 Total time: 500 ms ############################################# after each request. If you set the logging to 'debug', you will also see: DEBUG controller.ControllerFilters - ### Start logging for action: controller/actionName ### at the start of each action (useful if logSql is enabled too). If instead you'd like to target only specific actions, you can set logHibernateStats.enabled = 'ALLOWED' and instead append the parameter '_logHibernateStats=true' to your request. This will isolate the logging to just that request. It is recommended to keep the plugin enabled value at 'NEVER' by default, and setting it to 'ALLOWED' or 'ALWAYS' when debugging in development.