Releases: meedan/check
Releases · meedan/check
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
v0.120.0
- ➕ Add a task to import data for Fato ou Fake and populate in Check by creating items and reports. To run the task:
bundle exec rake check:import_from_fato_ou_fake_csv
- Add the gems
bitly
andopen_uri_redirections
toGemfile
as optional. These gems are used on import task
- Add the gems
- ➕ New migrations were added related to SmoochBot. The migrations should run very fast during
docker-compose up
:- Add conversation id to smooch fields: this allows us to track how the service is being used
- Add privacy statement setting to
SmoochBot
: Smooch Bot setting overwrites default ToS
v0.119.0
- Improvements on search: find items that match all or any of the tags listed on GraphQL query
- ➕ Add to search query the new argument
tags_operator
that can have the valueand
oror
. Example:query { search(query: "{\"tags\":[\"brazilian\",\"soccer\"],\"tags_operator\":\"and\"}") { medias(first: 1) { edges { node { title }}}}}
- ➕ Add to search query the new argument
- ➕ New migrations were added to fix the data related to SmoochBot and AlegreBot. The migrations should run very fast during
docker-compose up
:- Change SmoochBot settings labels
- Fix
user_id
for relationships created by AlegreBot - Remove TOS settings from
SmoochBotWorkflow
v0.118.0
- Users are now able to choose which columns to display in the list view. The changes on GraphQL to support this feature:
- ➕ New field
list_columns
forTeam
mutations, of type JSON: allows a workspace to set the custom list columns, as an array of column identifiers - ➕ New field
list_columns_values
forProjectMediaType
of type JSON: returns a hash where the key is a list column identifier and the value is the cached value for that column - ➕ New field
list_columns
forTeamType
of type JSON: returns the list columns (selected and available) for a given workspace
- ➕ New field
- Improvement on search: search for metadata fields with any/no value and tasks with any/no answer. New tasks were added to allow the search within the existing data:
- ➕ New task for indexing team tasks of type single/multiple choices and free text with and without answers. To run the task:
check:migrate:migrate_task_responses
- ➕ New task for indexing
analysis_title
andanalysis_description
fields from reports. To run the task:check:migrate:migrate_keyword_fields
- ➕ New task for indexing the task comments. To run the task:
check:migrate:migrate_task_comments
- ➕ New task for indexing team tasks of type single/multiple choices and free text with and without answers. To run the task:
v0.117.0
- Metadata and tasks annotations now support more file formats. The changes on CheckAPI:
- ♻️ Added a new GraphQL field
file_data
to replace the removed fieldimage_data
fromAnnotation
types (Dynamic
,Comment
,Tag
,Flag
,Task
) - ➕ Added two new fields of type
String
onAbout
GraphQL type:file_max_size
: returns the maximum file upload sizefile_extensions
: returns the allowed file types
- ➕ Added a new migration to convert existing
image_upload
metadata fields and tasks tofile_upload
fields. The migration should run very fast duringdocker-compose up
- ♻️ Added a new GraphQL field
- ➕ A new migration was added to reindex project medias with
Link
media type. The reindex is needed because items now can be filtered bypublished
date, the value parsed from the link page. The migration should run very fast duringdocker-compose up
- OpenAPI 3.x support by replacing swagger-docs (which is still stuck on Swagger 1.x) with Rswag on Pender. Swagger UI URL is now at
https://pender.checkmedia.org/api-docs
v0.116.0
This release started the integration between Check and CrowdTangle API to parse and get metrics from Facebook and Instagram posts.
To support the integration two new keys were added to Pender configuration file (config/config.yml
). If the keys are missing or invalid, Check will parse the page as fallback
- ➕
crowdtangle_facebook_token
: get the data from Facebook posts - ➕
crowdtangle_instagram_token
: : get the data from Instagram posts
v0.115.0
This note describes the latest changes on GraphQL API and changes on database.
- Users need a visual confirmation that a report has been delivered successful to users. There was some changes on GraphQL to support this feature
- GraphQL changes:
- ➕
Dynamic
type has a new fieldsent_count
of typeInteger
. If the annotation type isreport_design
the field returns how many times a report was received by unique users Version
type has two new fields for versions related to annotations of typesmooch
:- ➕ Field
smooch_report_received_at
of typeInteger
. The field returns a timestamp of when a report related to that request was received by the user - ➕ Field
smooch_report_update_received_at
of typeInteger
. The field returns a timestamp of when an updated report related to that request was received by the user
- ➕ Field
- ➕
- ➕ Change on database: new migration to add field
smooch_report_received added
to annotations of type smooch. The migration should run very fast duringdocker-compose up
- GraphQL changes:
- Search filters improvements:
- ➕ Added a new task to add Elasticsearch mapping for search filters and migrate existing data. To run the task:
rake check:migrate:migrate_task_responses
- ➕ Added a new task to add Elasticsearch mapping for search filters and migrate existing data. To run the task:
- Default bots on Bot Garden
- ➕ New migration was added to include the column
default
to bots table which will have a boolean value. The bots withtrue
ondefault
column are installed automatically when a workspace is created (currently, the language bot). The migration should run very fast duringdocker-compose up
- ➕ New migration was added to include the column
- Refactored tipline resources and requests to track and generate metrics about resources deliveries. Two migrations were added and they should run very fast during
docker-compose up
- ➕ New migration to create the table
bot_resources
that references theteam
table. - ➕ New migration to update the Smooch bot installations. The migration iterates through Smooch Bot installations to store bot resources
- ➕ New migration to create the table
v0.114.0
This note describes the latest changes on API and changes on database.
Changes related to the new feature for the Smooch Bot workflow:
- ➕
TeamBotInstallation
type has a new fieldsmooch_bot_preview_rss_feed
and receives as arguments arss_feed_url
andnumber_of_articles
. If the bot is a "Smooch Bot" and the user has the right permission, it returns that number of RSS items formatted in the same way that the Smooch Bot would do when generating a resource to be sent to a tipline user - ➕ Added two new migrations that should run very fast during
docker-compose up
:- Migration to update the Smooch Bot JSON Schema with the
resources
array and add a new menu option of typecustom_resource
- Migration to create the feed job for Smooch Bot
- Migration to update the Smooch Bot JSON Schema with the