Added dimGray
Updated with the value "dimGray"
Java 1.7 bugfix
Merge pull request #1 from RecuencoJones/master

Java 1.7 bugfix
README.md maintenance

- Fixed a bug in curl request. -d parameter was missing
- Added DimGray group
Update README.md
- Added frontend to demo
- Minor changes to common, the POST endpoint is now /link
Merge branch 'master' of https://github.com/UNIZAR-30246-WebEngineering/UrlShortener2014.git
- File build.gradle 
  Change from spring-boot 1.1.9.RELEASE to spring-boot 1.2.0.RELEASE

Common:
- Class urlshortener2014.common.domain.Click
  Removed setId(id)
- Class urlshortener2014.common.domain.ShortURL
  Added fields country, ip, safe and sponsor
- Interface urlshortener2014.common.repository.ClickRepository
  Added methods clicksByHash(hash), update(click), delete(id),
deleteAll(), count() and list(limit, offset)
- Class urlshortener2014.common.repository.ClickRepositoryImpl
  Added methods clicksByHash(hash), update(click), delete(id),
deleteAll(), count() and list(limit, offset)
- Interface urlshortener2014.common.repository.ShortURLRepository
  Added methods clicksByHash(hash), update(click), delete(hash*),
count() and list(limit, offset)
- Class urlshortener2014.common.repository.ShortURLRepositoryImpl
  Added methods mark(shortUrl, safeness), update(shortUrl),
delete(hash*), count() and list(limit, offset)
- Class urlshortener2014.common.web.UrlShortenerController
  Extracted methods createAndSaveClick(hash, ip),
createAndSaveShortURLIfValid(url, sponsor, brand, owner, ip),
  createSuccessfulRedirectToREesponse(ShortUrl),
extractIp(httpServletRequest)
  Modified signature redirectTo(id) -> redirectTo(id,
httpServletRequest)
  Modified signature shorener(map) -> shortener(url, sponsor, brand,
httpServletRequest)
  Added support for saving clicks and default randon name for the owner 
- Class urlshortener2014.common.repository.ShortURLRepositoryTest
  Added new tests safe and sponsor fields
- Class urlshortener2014.common.web.UrlShortenerTests
  Tests adapted to changes in UrlShortnerController
- schema-hsqldb.sql
  Added new fields

Demo:
- Class urlshortener2014.demo.web.UrlShortenerControllerWithLogs
  Modified signature redirectTo(id) -> redirectTo(id,
httpServletRequest)
  Modified signature shorener(map) -> shortener(url, sponsor, brand,
httpServletRequest)
Change visibility of method from private to protected
Repositorio inicial