Repository navigation
feat: video, link previews and music in a page's posts - #728
Merged
Merged
Conversation
Acting as a page, a post, reply or quote carried only text and photos. A page now posts what a person posts. - account service: the page media upload takes video/mp4 with ms, held to strict videoBounds and refused unless its metadata is already stripped; post, reply and quote take media (photos or a poster and video pair) or a link preview whose image is one of the page's own items, never both; url, title and desc go through the blocklist - writer: the stored video item keeps ms and the loader accepts it, so a restart does not pause the page; delete and close cover the preview image - app: Publicar attaches video, a link card and music as a page; the upload is resent only on an explicit tap; a music title with a blocked term is caught before sending - legal: Termos and Politica version 77 - docs: protocol, rpc 5.84, design, verification, changelog
Main moved the legal texts to version 77; the page post text is now version 78 on top of it.
Main moved the legal texts to version 78; the page post text is now version 79 on top of it.
AGENTS.md asks for docs/changelog/<branch>.md and no new lines in the "Nao lancado" section of CHANGELOG.md. The page quick reply, page DM media and page post media entries already live in their fragments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que muda e por quê
Terceiro PR da série "página igual à conta". Como Página, publicar, responder e citar só levavam texto e fotos. Agora a Página publica o que a pessoa publica.
video/mp4comms, conferido comvideoBoundsestrito, e recusa vídeo com metadados.post,replyequoteaceitammedia(fotos ou o par capa e vídeo) oupreview(cartão de link cuja imagem é um item da própria Página), nunca os dois. URL, título e descrição passam pela lista de termos.mse o carregador o aceita: reiniciar o serviço não pausa a Página. Apagar e encerrar cobrem a imagem da prévia.Momento, enquete, evento, publicar na web e a fila offline continuam só para a pessoa: são os próximos PRs da série.
Como verificar
Roteiro em
docs/verification/feat-page-post-media.md. Testes principais:apps/cli/test/pages-media.test.js,account-pages.test.js,pages-writer.test.js,apps/app/test/pagePost.test.js,musicDraft.test.js,legal.test.js.Limites conhecidos