Releases: meedan/check
Releases · meedan/check
v0.130.0
- ➕ Upgrade of Gem on CheckAPI: the gem should be installed during
docker-compose build
- Collections feature: groups of folders. The related
model
isProjectGroup
- ➕ New migration to create table
project_groups
. The migration should run very fast duringdocker-compose up
- ➕ Added new
ProjectGroup
type with the following fields:dbid
of typeInteger
: the database IDtitle
of typeString
: the collection namedescription
of typeString
: a short text to describe the collectionteam_id
of typeInteger
: database identifier of the team where the collection is createdteam
of typeTeam
: the team where the collection is createdmedias_count
of typeInteger
: returns the number of items that are part of the collectionprojects
of typeProjectConnection
: the list os projects part of the collection
- ➕ Added
ProjectGroup
mutations, which include:createProjectGroup
,updateProjectGroup
anddestroyProjectGroup
. The mutations have the fieldstitle
of typeString
,description
of typeString
andteam_id
of typeInteger
- ➕
ProjectMedia
type: added fieldproject_group
of typeProjectGroup
to return the collection the item belongs to - ➕
createProjectMedia
,updateProjectMedia
,destroyProjectMedia
,updateProjectMedias
: added return fieldproject_group
to show the collection the project media is part of - ➕ New migration to add
project_group_id
to tableprojects
. The migration should run very fast duringdocker-compose up
- ➕
Project
type: added fieldproject_group_id
of typeInteger
andproject_group
of typeProjectGroup
to return the collection ID and the collection the project belongs to - Changes on
createProject
mutation:- ➕ added field
project_group_id
to set the collection ID the project is grouped in - ➕ added return field
project_group
to show the collection the project is grouped in - ➖ removed field
lead_image
- ➕ added field
- Changes on
updateProject
mutation:- ➕ added fields
project_group_id
andprevious_project_group_id
of typeInteger
: update the collection ID the project is grouped in and the previous one respectively - ➕ added return field
project_group
to show the collection the project is grouped in - ➖ removed fields
lead_image
andinformation
- ➕ added fields
- ➕ New migration to create table
- Filtered lists feature: saved searches of your content that will dynamically evolve with your content. The related
model
isSavedSearch
- ➕ New migration to create table
saved_searches
. The migration should run very fast duringdocker-compose up
- ➕ Added new
SavedSearch
type with the following fields:dbid
of typeInteger
: database IDtitle
of typeString
: filtered list namefilters
of typeString
: a JSON string with the filters used to create the dynamic listteam_id
of typeInteger
: database identifier of the team where the dynamic list is createdteam
of typeTeam
: the team where the dynamic list is createdmedias_count
of typeInteger
: returns the number of items that are part of the collectionprojects
of typeProjectConnection
: the list os projects part of the collection
- ➕ Added
SavedSearch
mutations, which include:createSavedSearch
,updateSavedSearch
anddestroySavedSearch
. The mutations has the fieldstitle
of typeString
,filters
of typeString
andteam_id
of typeInteger
- ➕ New migration to create table
- ➕ Add to
Query
the new fieldsproject_group
andsaved_search
to return the information about the collection or saved search with the given id respectively - ➕
Team
type: added fieldssaved_searches
of typeSavedSearch
andproject_groups
of typeProjectGroup
to return the dynamic lists and collections that is part of the Team respectively - Changes to allow items to belong to at most one list:
- ➕
createProjectMedia
andupdateProjectMedia
mutations: replacedadd_to_project_id
withproject_id
to set a project for an item - ➕
updateProjectMedias
mutation: addedmove_to
to set target project for bulk move action - ➕
ProjectMedia
type: added fieldsproject_id
andproject
to return the project ID and the Project type the item belongs to respectively - ➕ New migration added to include
project_id
toproject_medias
table. The migration should run very fast duringdocker-compose up
- ➕ New task to populate
project_id
from project medias based onproject_media_projects
table and update index on ElasticSearch. To run the task:rake check:migrate:add_project_id_to_project_media
- ➖
ProjectMedia
type: removed fieldsproject_media_project
,projects
andproject_ids
- ➖ Removed
ProjectMediaProject
type - ➖ Removed
ProjectMediaProject
mutations, which include:createProjectMediaProject
,updateProjectMediaProject
,destroyProjectMediaProject
,createProjectMediaProjects
,updateProjectMediaProjects
anddestroyProjectMediaProjects
- ➖ Removed migrations related to
ProjectMediaProject
- ➕
- Smooch Bot integration with services
- ➕ New mutations
SmoochBotAddIntegration
andSmoochBotRemoveIntegration
to add and remove Smooch Bot integration respectively. The mutations has the fields:team_bot_installation_id
of typeString
: the database ID of the team bot installationintegration_type
of typeString
: set the type of integration. Example: whatsapp, facebook,twitter, indextelegram, line and viberparams
of typeString
: JSON string with additional parameters specific for this integration
- ➕
TeamBotInstallation
type: added fieldsmooch_enabled_integrations
of typeJsonStringType
that returns the integrations enabled for the Bot
- ➕ New mutations
- Search in lists matching secondary items:
- ➕ New migration to add mapping for
parent_id
. The migration should run very fast duringdocker-compose up
- ➕ New task for indexing the field
parent_id
based on items' relationships. To run the task:check:migrate:add_parent_id_to_elastic_search
- ➕ New migration to add mapping for
- Store information about when the item was last seen:
- ➕ New migration to add
last_seen
toproject_medias
table and add index. The migration should run very fast duringdocker-compose up
: - ➕ New task for populating column
last_seen
fromproject_medias
table based on the values stored in Redis. To run the task:check:migrate:add_last_seen_to_project_media
- ➕ New migration to add
- ➕ New task to fix descriptions of medias with URLs that redirect to login pages and delete relationships for confirmed similarities create by Alegre Bot. To run the task:
check:migrate:fix_annotation_fields_description
- ➕ New migrations to improve Smooch Bot. The migrations should run very fast during
docker-compose up
- change the default message for Smooch Bot query state and include the minimum settings to make the Bot actionable when installed
- update Smooch Bot deactivate setting label
- update Smooch Bot list settings label
- ➕ New migration to create field type
number
to be used on Task responses. The migration should run very fast duringdocker-compose up
- ➕ New migration to add and remove some indexes from database. The migration should run very fast during
docker-compose up
- ➖
resetPassword
mutation: removed return fieldexpiry
- ➖ Removed
importSpreadsheet
migration - Improves on Developer Experience:
- Fixed memory leak problems on Pender and Alegre
- It's possible to run Check locally by just using the example configuration files. Some features won't be available, see the configuration files from each service to see how to set the values
- Fixed deprecation warnings on Check API dependency that was flooding the logs
v0.129.0
- Changes to support the first release of Check's v2 API
- ➕ New Gem on CheckAPI
jsonapi-resources
: the gem should be installed duringdocker-compose build
- ➕ New task added to re-generate the API schema file. To run the task:
rake jsonapi:resources:update_schema
- ➕ Schema file available on https://check-api.checkmedia.org/jsonapischema.json
- ➕ New Gem on CheckAPI
- ➕
Team
type: added fieldget_data_report_url
to return the URL to a dashboard and access the workspace data reports. The URL is visible only for admin - ➕
userInvitation
mutation: replaced return fieldsuccess
byerrors
. Theerrors
field returns the list of e-mails that could not be invited and the reason (error message) - Changes to support search by media url or part of media url
- ➕ New migration added to inlcude media url to ElasticSearch. The migration should run very fast during
docker-compose up
- ➕ New task added to synchronize the medias URLs between ElasticSearch and PostgreSQL. To run the task:
rake check:migrate:add_url_to_elastic_search
- ➕ New migration added to inlcude media url to ElasticSearch. The migration should run very fast during
- ➕ New migration to add "No action resource" workflow to
Smooch
bot. With this new tipline state it's possible to define a message and/or RSS feed to be sent to tipline users that don't take any action in 15 minutes. The migration should run very fast duringdocker-compose up
- ➕ New task added to update ProjectMedia titles and descriptions on Alegre's index with vectors. To run the task:
rake check:migrate:add_vectors_to_alegre_records
- ♻️ Renamed task to synchronize items between ElasticSearch and PostgreSQL. To run the task:
check:sync_check_items_es_and_pg
v0.128.0
- Upgrade of Gems on CheckAPI: the gems should be installed during
docker-compose up build
- ➕
User
type: added new GraphQL fieldslast_active_at
of type Integer: identify the last time the user was active on Check. It is updated when the user makes a request to GraphQLcompleted_signup
of type Boolean: indicates if the user should complete a sign up process or not. If a user is invited to Check and there's no user with that e-mail, the user should complete the sign up process
- ➕
updateUser
mutation: added fieldcompleted_signup
of type Boolean to update the field for user - ➕
TeamUser
type: added fieldinvited_by
to return the user who send the invitation - ➕
ProjectMedia
type: added new GraphQL fieldsis_secondary
of type Boolean: identify when the item is linked to a main item. Related to similar itemsis_main
of type Boolean: identify when a project media is a main item. Related to similar items
- ➕
Version
type: added fieldsmooch_user_request_language
of type String to expose tipline request language - ➕ New migrations added. The migrations should run very fast during
docker-compose up
- migration to add
confirmed_by
andconfirmed_by
columns to relationships table - migration to add
completed_signup
column to users table - migration to add
last_active_at
column to users table
- migration to add
- ➕ New tasks added:
- task to update ProjectMedia titles and descriptions on alegre's index with vectors. To run the task:
check:migrate:add_vectors_to_alegre_records
- task to synchronize items between ElasticSearch and PostgreSQL. To run the task:
check:migrate:sync_check_items_es_and_pg
- task to populate
confirmed_by
andconfirmed_at
from relationships. To run the task:check:migrate:populate_relationship_confirmation_information
- task to replace title by url on value column from
DynamicAnnotation::Fields
. To run the task:check:migrate:fix_metadata_annotation_fields_title
- task to set column
last_active_at
with value fromlast_sign_in_at
users. To run the task:check:migrate:add_last_active_at_to_users
- task to send email to users with social login to reset their passwords based on new signup feature. To run the task:
check:send_signup_notifications
- task to set Alegre Team Bot Installation model in use for generating string similarities. To run the task:
check:set_language_model_for_alegre_team_bot_installation['<team_id>','<model_name>']
- task to update ProjectMedia titles and descriptions on alegre's index with vectors. To run the task:
- ➖
Contact
type was removed - ➖
createContact
,updateContact
anddestroyContact
mutations were removed - ➖
createTeam
andupdateTeam
mutations: removed fieldcontact
- ➖ remove table
contacts
- ➖
Team
type: removed fieldinvited_mails
v0.127.0
- ➕
ProjectMedia
type: added new GraphQL fieldsadded_as_similar_by_name
of type String: returns the name of the user who added a similar itemconfirmed_as_similar_by_name
of type String: returns the name of the user who confirmed an item as similar
- ➕ New task to cache who added or confirmed similar items. To run the task:
check:migrate:cache_similarity_user
- ➕ Integration between Facebook app and the tipline: expose an authorization link where the partner can access directly to integrate their Facebook account with the tipline:
- Two new keys were added to configuration file:
smooch_facebook_app_id
andsmooch_facebook_app_secret
- New migration to add Facebook settings to
Smooch
bot. The migration should run very fast duringdocker-compose up
- Two new keys were added to configuration file:
- ♻️ The available roles were updated to "Admin", "Editor" and "Collaborator". A new migration was added to update the current users roles:
owner
roles were updated toadmin
journalist
roles were updated toeditor
contributor
andannotator
roles were updated tocollaborator
- Sort by status and media type:
- ➕ New migration to add mapping for these 2 new sort options:
status_index
andtype_of_media
. The migration should run very fast duringdocker-compose up
- ➕ New task for indexing the fields
status_index
andtype_of_media
. To run the task:check:migrate:index_new_columns_3
- ➕ New migration to add mapping for these 2 new sort options:
- ➕ New migration to fix items that were pending similarity check. The migration should run very fast during
docker-compose up
- ➕ New task to fix the team ID of project medias sources. To run the task:
check:migrate:fix_project_medias_source
- ➕ New task to index project media titles and descriptions on Alegre. To run the task:
check:migrate:update_alegre_stored_project_media
- CheckWeb: the configuration and secrets can be retrieved from ENV vars
v0.126.0
- ➕ Sources feature: the source who published the content added to the platform. The source is extracted automatically from links items
ProjectMedia
type: added the GraphQL fieldsource
that returns the source related to the itemSource
type: added new GraphQL fieldsarchived
of type Integer: the value returned onarchived
field can be 0 (NONE/not archived), 1 (TRASHED/deleted) or 2 (UNCONFIRMED/flagged)medias_count
of type Integer: returns the number of medias related to the same sourcetasks
: a connection that returns the tasks associated to the source
Task
type: added the GraphQL fieldannotated_type
of type String to expose the type associated, currentlyProjectMedia
orSource
Team
type: onsources
connection, add an argumentkeyword
to allow searching on sourcesupdateProjectMedia
mutation: added fieldsource_id
of type Integer to relate with a sourcecreateSource
mutation: added fieldsadd_to_project_media_id
of type Integer to relate with a project media,urls
of type String to store the URLs related to it in JSON format andvalidate_primary_link_exist
of type Boolean to verify if the primary link related to the source exists in the teamupdateSource
mutation: added fieldadd_to_project_media_id
of type Integer to update the relation with a project mediacreateTeamTask
andupdateTeamTask
mutations: added fieldassociated_type
of type String to expose the type associated, currentlyProjectMedia
orSource
- New migrations: they should run very fast during
docker-compose up
- migration to add
source_id
column to project medias - migration to add
associated_type
column to team tasks
- migration to add
- ♻️ GraphQL refactoring
- ➖
rootLevel
type: removed connectionscomments
,project_medias
,sources
,team_users
,teams
,accounts
,account_sources
,medias
,projects
,users
,annotations
,tags
andcontacts
- ➕
rootLevel
type: added fieldscurrent_user
andcurrent_team
to return the user logged in and the team being managed respectively
- ➖
- ♻️ Changes on migrations to avoid errors when starting app from scratch
- ➖ Removed CheckAPI Admin UI: The
rails_admin
gem was removed - ➖ Removed CheckAPI Admin UI: The
rails_admin
gem was removed - ➕ Pender: upgraded Ruby to version 2.5 and other dependencies
- ➕ Alegre: the configuration and secrets can be retrieved from ENV vars
- ♻️ Narcissus: the tests can run on Docker
v0.125.0
- ➕
ProjectMedia
type: added fieldreport_status
of typeString
: returns the status of the item report - ➕ New migration to update the descriptions of
Smooch
(Tipline
) andKeep
bots. The migration should run very fast duringdocker-compose up
: - ♻️ On Narcissus: the nested configuration options where replaced by root-level configuration options. The affected keys were related to S3 storage. To see how the keys are being used now check the example configuration file
v0.124.0
- ➕ Add
duplicateTeam
mutation: clone a team duplicating every settings, but none of the content or users. Only team owners have the permission to call this mutation - ➕
destroyRelationship
mutation: added argumentadd_to_project_id
to set the project where the item should go after detaching and item - ➕ New task to fix the number of requests from unconfirmed items. To run the task:
check:migrate:fix_requests_count_unconfirmed_medias
- ♻️ On Pender: the nested configuration options where replaced by root-level configuration options. The affected keys were
tos_smooch_url
,storage
andairbrake
. To see how the keys are being used now check the example configuration file
v0.123.0
- Upgrade of Gems on CheckAPI: the gems should be installed during
docker-compose up build
- Search items in the trash and in unconfirmed items
- ➕
PublicTeam
andTeam
type: added the GraphQL fieldunconfirmed_count
of typeInt
to count the team unconfirmed items - ➕
Team
type: added fieldcheck_search_unconfirmed
of typeCheckSearch
- ➕
- ➕ Add a migration to create the fields
smooch_request_type
andsmooch_request_id
to smooch annotations. The migrations should run very fast duringdocker-compose up
- Sort by
comment_count
,reaction_count
,related_count
andsuggestions_count
- ➕ New migration to add mapping for these 4 new sort options. The migration should run very fast during
docker-compose up
: - ➕ New task for indexing the fields
comment_count
,reaction_count
,related_count
andsuggestions_count
. To run the task:check:migrate:index_new_columns_2
- ➕ New migration to add mapping for these 4 new sort options. The migration should run very fast during
- ➕ New task to remove related
ProjectMediaProjects
for Trashed/Unconfirmed items. To run the task:check:migrate:remove_pmp_from_trashed_unconfirmed_items
v0.122.0
- Changes to support better the new feature related to image and text confirmed similarity / suggested similar / related items:
- ➖ GraphQL types removed:
RelationshipsType
,RelationshipsSourceType
,RelationshipsTargetType
- ➖
ProjectMedia
type: removed the GraphQL fieldsrelationship
,relationships
,secondary_items
- ➕
ProjectMedia
type: added the GraphQL fieldssuggested_main_item
,suggested_similar_relationships
,suggested_similar_items_count
,confirmed_similar_relationships
,confirmed_similar_items_count
,is_confirmed_similar_to_another_item
,confirmed_main_item
,default_relationships
anddefault_relationships_count
- ➕ Relationship mutations: added the GraphQL fields
relationship_source_type
andrelationship_target_type
- ➖
Relationship
type: removed GraphQL fieldcurrent_id
- ➕ Three new migrations were added to support the changes. The migrations should run very fast during
docker-compose up
- Add new column
weight
onrelationships
table to store how similar the images / texts are - Add index to column
relationship_type
of tablerelationships
- Convert Alegre Relationships on database to confirmable or suggestables
- Add new column
- ➕ New task for indexing
relationships
for searches. To run the task:check:migrate:reindex_relationships
- ➖ GraphQL types removed:
- Refactor archived field to be integer instead of boolean. The value returned on
archived
field can be 0 (NONE/not archived), 1 (TRASHED/deleted) or 2 (UNCONFIRMED/flagged)- ➕ New migration to convert the column
archived
to integer on tablesteams
,projects
,project_medias
,sources
. The migration should run very fast duringdocker-compose up
: - ➕ New task for updating the
archived
changes fromversions
table. To run the task:check:migrate:update_archived_logs
- ➕ New migration to convert the column
- Pender uses the Facebook API to get sharing metrics of some URLs. Pender now accepts any number of Facebook APP IDs and it tries the first credential and if the API limit is reached, Pender will try to get the metrics with the next app credentials.
- New configuration format
facebook_app: 'fb_app_id_1:fb_app_secret_1;fb_app_id_2:fb_app_secret_2'
- New configuration format
v0.121.0
This release includes more search options:
- Search by assignments: the filter should match the items directly assigned to the users listed on search
- ➕ New migration to add mapping for assignment search. The migration should run very fast during
docker-compose up
: - ➕ New task for indexing assignments. To run the task:
check:migrate:reindex_assignments
- ➕ New migration to add mapping for assignment search. The migration should run very fast during
- Search by report status, tags and social media post publication date
- ➕ New migration to add mapping for these 3 new search options. The migration should run very fast during
docker-compose up
: - ➕ New task for indexing the fields
report_status
,media_published_at
andtags_as_sentence
. To run the task:check:migrate:index_new_columns
- ➕ New migration to add mapping for these 3 new search options. The migration should run very fast during