]> source.dussan.org Git - sonarqube.git/commit
SONAR-2919 Fix issues on the event handling
authorFabrice Bellingard <bellingard@gmail.com>
Wed, 26 Oct 2011 09:00:45 +0000 (11:00 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Wed, 26 Oct 2011 09:00:45 +0000 (11:00 +0200)
commit48563f868573a21cac93c8143b36b26200f19a6c
treeb068f8641b1b125baf54d49ea3023de9117b1e26
parent95dfe333644a75628ac2e47b62470a0a789f622e
SONAR-2919 Fix issues on the event handling

- Make it impossible to create event without a category
  -> created "Other" category
  -> updated both UI and WS (actually: constraint on Event class)
- Fix display issue on Chrome
- Make it impossible to remove version from last snapshot
- Show event widget on sub-projects
- Update purge mechanism to delete events that are not attached to
  a snapshot or attached to an unexisting snapshot
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/events.html.erb
plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/purges/PurgeEventOrphans.java
plugins/sonar-dbcleaner-plugin/src/test/resources/org/sonar/plugins/dbcleaner/purges/PurgeEventOrphansTest/purgeEventOrphans-result.xml
plugins/sonar-dbcleaner-plugin/src/test/resources/org/sonar/plugins/dbcleaner/purges/PurgeEventOrphansTest/purgeEventOrphans.xml
plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/models/event.rb
sonar-server/src/main/webapp/WEB-INF/app/models/event_category.rb
sonar-server/src/main/webapp/WEB-INF/app/views/project/_edit_event.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/project/events.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/project/history.html.erb