Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-22 | Enable Style/FrozenStringLiteralComment for specs (#23790) | Nick Schonning | |
2023-02-19 | Autofix Rubocop Style/StringLiterals (#23695) | Nick Schonning | |
2017-09-06 | Switch to static URIs, new URI format in both protocols for new statuses (#4815) | Eugen Rochko | |
* Decouple Status#local? from uri being nil * Replace on-the-fly URI generation with stored URIs - Generate URI in after_save hook for local statuses - Use static value in TagManager when available, fallback to tag format - Make TagManager use ActivityPub::TagManager to understand new format - Adjust tests * Use other heuristic for locality of old statuses, do not perform long query * Exclude tombstone stream entries from Atom feed * Prevent nil statuses from landing in Pubsubhubbub::DistributionWorker * Fix URI not being saved (#4818) * Add more specs for Status * Save generated uri immediately and also fix method order to minimize diff. * Fix alternate HTML URL in Atom * Fix tests * Remove not-null constraint from statuses migration to speed it up | |||
2017-04-07 | Add specs for PostStatusService | Chad Pytel | |
This implements all pending specs, and adds additional coverage for the following functionality: * Normal status creation * Creating a reply status * Creating a sensitive status * Creating a status with spoiler text * A status with no spoiler text gets an empty string for spoiler text * Creating a status with custom visibility * Creating a status for an application * Processing mentions * Processing Hashtags * Pinging PuSH hubs * Crawling links * Attaching media | |||
2016-02-26 | Adding a bunch of tests | Eugen Rochko | |