]> source.dussan.org Git - sonarqube.git/commit
SONAR-10277 Prevent user to have more than 100 projects as favorite
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 13 Mar 2019 08:11:58 +0000 (09:11 +0100)
committerSonarTech <sonartech@sonarsource.com>
Mon, 18 Mar 2019 19:20:59 +0000 (20:20 +0100)
commit3ed96a6b902132626d4f6f4a76139613d7cbb81d
tree03a52f112331996709691f12d9f2b8aaafe838a2
parentc5ad29eb81b2d31916ba89188d6e4deed29c46a8
SONAR-10277 Prevent user to have more than 100 projects as favorite
17 files changed:
server/sonar-db-dao/src/main/java/org/sonar/db/property/PropertiesDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/property/PropertiesMapper.java
server/sonar-db-dao/src/main/resources/org/sonar/db/property/PropertiesMapper.xml
server/sonar-db-dao/src/test/java/org/sonar/db/property/PropertiesDaoTest.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/DbVersion77.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v77/DeleteFavoritesExceedingOneHundred.java [new file with mode: 0644]
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v77/DbVersion77Test.java
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v77/DeleteFavoritesExceedingOneHundredTest.java [new file with mode: 0644]
server/sonar-db-migration/src/test/resources/org/sonar/server/platform/db/migration/version/v77/DeleteFavoritesExceedingOneHundredTest/schema.sql [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/favorite/FavoriteUpdater.java
server/sonar-server-common/src/test/java/org/sonar/server/favorite/FavoriteUpdaterTest.java
server/sonar-server/src/main/java/org/sonar/server/component/ComponentUpdater.java
server/sonar-server/src/main/java/org/sonar/server/component/DefaultRubyComponentService.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/favorite/ws/AddAction.java
server/sonar-server/src/test/java/org/sonar/server/ce/queue/ReportSubmitterTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ComponentUpdaterTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/CreateActionTest.java