gerrit/gerrit-server/src/main/java/com/google/gerrit/server/schema
Edwin Kempin 614f983a71 Replace Mute/Unmute by Mark as Reviewed/Unreviewed (Part 3)
Remove the Mute/Unmute functionality, it is replaced by the new
MarkAsReviewed/MarkAsUnreviewed REST endpoints (added by predecessor
change).

A schema migration takes care to rename existing mute labels. Since
the star labels are also stored in the change index the affected
changes must be reindexed. Since we can't reindex changes from a
schema migration a new change schema version is added which enforces a
reindex of all changes on upgrade to the new index version (either by
online or offline reindex).

The mute functionality was added by change I83085033f which is not
part of any release yet. Hence we can still change the API for this
without breaking backwards compatibility.

Since the 'mute' namespace is now free again we may use this name
later to implement functionality which is similar to Gmail's mute.
E.g. remove the change from the dashboard until a new patch is
uploaded.

The muted() method is removed from the extension API since the
information whether a change is reviewed or not is already provided as
part of ChangeInfo (see "reviewed" field). This method was anyway bad
since this functionality didn't exist as REST endpoint and the
extension API is normally only a wrapper around the REST API.

The 'mute' field from ChangeInfo is removed since it wasn't used on
client-side. The client rather relied on the "reviewed" field to
highlight changes in dashboards.

Bug: Issue 7237
Change-Id: Ia21e6031908dd0c722f3839ab186724043b460d3
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-10-01 12:38:18 +00:00
..
AclUtil.java Migrate external IDs to NoteDb (part 1) 2017-02-28 09:09:39 +01:00
AllProjectsCreator.java Add latency metric to Sequences 2017-06-29 06:23:44 +00:00
AllUsersCreator.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
BaseDataSourceType.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
DatabaseModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
DataSourceModule.java Add support for MariaDB 2017-03-18 08:02:48 +01:00
DataSourceProvider.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
DataSourceType.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
DB2.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
Derby.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
H2.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
H2AccountPatchReviewStore.java JdbcAccountPatchReviewStore: Add configurable settings to datasource 2017-08-20 06:13:08 -04:00
HANA.java Reformat HANA 2017-06-24 06:57:24 +02:00
InMemoryAccountPatchReviewStore.java H2AccountPatchReviewStore: Factor out test store 2017-08-18 11:22:33 -04:00
JDBC.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
JdbcAccountPatchReviewStore.java Update mysql-connector-java to 6.0.6 2017-09-12 19:38:02 +00:00
JdbcUtil.java Make JdbcUtil#port() public 2015-11-17 19:34:25 +09:00
MariaDb.java Set useBulkStmts to false for mariadb 2017-08-27 20:56:21 +00:00
MariaDBAccountPatchReviewStore.java JdbcAccountPatchReviewStore: Add configurable settings to datasource 2017-08-20 06:13:08 -04:00
MaxDb.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
MySql.java Update mysql-connector-java to 6.0.6 2017-09-12 19:38:02 +00:00
MysqlAccountPatchReviewStore.java JdbcAccountPatchReviewStore: Add configurable settings to datasource 2017-08-20 06:13:08 -04:00
NoChangesReviewDbWrapper.java Suppress warnings about deprecated CheckedFuture 2017-06-21 08:32:31 +09:00
NotesMigrationSchemaFactory.java Support disabling change ReviewDb table access entirely 2017-02-22 10:49:17 -05:00
Oracle.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
PostgreSQL.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
PostgresqlAccountPatchReviewStore.java JdbcAccountPatchReviewStore: Add configurable settings to datasource 2017-08-20 06:13:08 -04:00
ProjectConfigSchemaUpdate.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ReviewDbDatabaseProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ReviewDbFactory.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_83.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_84.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_85.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_86.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_87.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_88.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_89.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_90.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_91.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_92.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_93.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_94.java Squash redundant string concatenations introduced by google-java-format 2017-02-17 08:57:46 +09:00
Schema_95.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_96.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_97.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_98.java Squash redundant string concatenations introduced by google-java-format 2017-02-17 08:57:46 +09:00
Schema_99.java Revert "Use javax.inject.Inject instead of com.google.inject.Inject" 2014-09-30 10:53:50 +02:00
Schema_100.java Remove mergeable bit from Change 2014-11-03 13:39:17 -08:00
Schema_101.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_102.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_103.java Add $change.originalSubject for email templates 2014-12-27 23:13:21 +00:00
Schema_104.java Remove old change screen 2015-01-14 17:25:38 -08:00
Schema_105.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_106.java Squash redundant string concatenations introduced by google-java-format 2017-02-17 08:57:46 +09:00
Schema_107.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_108.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_109.java Schema_109: Remove trailing semicolon from SQL statement 2016-01-13 23:25:11 +01:00
Schema_110.java Bump database schema version 2015-07-16 10:11:35 +02:00
Schema_111.java Remove contact store functionality 2015-08-28 14:08:58 -04:00
Schema_112.java Schema_112: Remove unused imports 2015-10-06 16:10:50 -04:00
Schema_113.java Store push certificate in patch set during ReceiveCommits 2015-10-09 10:04:18 -04:00
Schema_114.java Remove PatchSetAncestors table 2015-10-28 08:58:13 -04:00
Schema_115.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_116.java Fix database migration to schema 119 2016-03-22 14:46:12 -04:00
Schema_117.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_118.java Remove PatchSetAccess#byRevision(Range) 2016-01-20 13:00:10 -05:00
Schema_119.java Ensure constants are declared as immutable collections 2017-03-08 21:07:35 +00:00
Schema_120.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_121.java Store NoteDb migration state inside Change 2016-04-06 07:31:33 -04:00
Schema_122.java Allow to tag reviews 2016-04-12 09:49:57 -04:00
Schema_123.java Make IllegalLabelException a checked Exception 2017-09-18 17:07:12 +02:00
Schema_124.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_125.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_126.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_127.java JdbcAccountPatchReviewStore: Add configurable settings to datasource 2017-08-20 06:13:08 -04:00
Schema_128.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_129.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_130.java Conistently import Collectors.* statically 2017-03-02 10:27:43 +01:00
Schema_131.java Conistently import Collectors.* statically 2017-03-02 10:27:43 +01:00
Schema_132.java Assignee in ReviewDb. 2016-09-23 15:21:19 +02:00
Schema_133.java Record real user in database for approvals/messages/comments 2016-10-10 12:01:03 -04:00
Schema_134.java Support voting on merged changes 2016-10-14 10:16:43 +02:00
Schema_135.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Schema_136.java Add patch set description 2016-11-08 10:26:31 -08:00
Schema_137.java SystemConfig: increase site path length from 255 char to CLOB 2016-11-10 09:07:41 +01:00
Schema_138.java Upgrade schema for resolvable comments 2016-12-12 12:15:31 -08:00
Schema_139.java Fix ResultSet#toBoolean() not working properly for all dialects 2017-09-11 17:03:06 +00:00
Schema_140.java Remove sequence-based UID generation for messages 2017-01-10 16:05:08 -05:00
Schema_141.java Add status field to account in ReviewDB 2017-01-25 09:58:14 -05:00
Schema_142.java Migrate external IDs to NoteDb (part 3) 2017-05-10 08:51:44 +02:00
Schema_143.java Implement Private Changes 2017-03-23 11:21:36 +01:00
Schema_144.java Migrate external IDs to NoteDb (part 3) 2017-05-10 08:51:44 +02:00
Schema_145.java Schema_145: Don't fail if index does not exist 2017-03-29 14:46:55 +02:00
Schema_146.java Write account.config for initial admin user 2017-07-07 13:39:45 +02:00
Schema_147.java Migrate accounts to NoteDb (part 1) 2017-06-27 15:56:32 +02:00
Schema_148.java ExternalId: Store the ID of the note blob on read 2017-08-17 17:32:01 +02:00
Schema_149.java Add work in progress property to change 2017-04-28 14:32:11 +02:00
Schema_150.java Format java files with google-java-format 2017-05-12 10:45:46 +09:00
Schema_151.java Fix Schema_151 upgrade by making createdOn nullable 2017-06-02 14:51:12 -04:00
Schema_152.java Schema_152 + Schema_157: Ignore missing index 2017-09-30 10:59:17 +02:00
Schema_153.java Format files with google-java-format 2017-06-15 09:40:27 -04:00
Schema_154.java Add progress monitor for migrating accounts to NoteDb 2017-06-29 09:32:47 -04:00
Schema_155.java Move account sequence to NoteDb 2017-07-14 08:50:35 +02:00
Schema_156.java Add revertOf to ReviewDb and NoteDb 2017-07-27 15:34:22 +02:00
Schema_157.java Schema_152 + Schema_157: Ignore missing index 2017-09-30 10:59:17 +02:00
Schema_158.java Drop Accounts table 2017-08-29 14:58:51 +02:00
Schema_159.java Discontinue draft workflow 2017-09-30 15:47:14 +02:00
Schema_160.java Remove "My Drafts" menu items from all user preferences 2017-09-30 10:05:56 -04:00
Schema_161.java Replace Mute/Unmute by Mark as Reviewed/Unreviewed (Part 3) 2017-10-01 12:38:18 +00:00
SchemaCreator.java Base group index on new class InternalGroup 2017-09-13 14:57:45 +02:00
SchemaModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SchemaUpdater.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
SchemaVersion.java Replace Mute/Unmute by Mark as Reviewed/Unreviewed (Part 3) 2017-10-01 12:38:18 +00:00
SchemaVersionCheck.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
ScriptRunner.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
UpdateUI.java Extend UpdateUI to support interactive input 2017-08-11 15:05:29 +02:00