about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2019-05-23Do not share a single Redcarpet::Markdown object across threadsThibaut Girka
There are apparently thread-safety issues: https://github.com/vmg/redcarpet/pull/672
2019-05-23[Glitch] Fix stacking order of emoji pickernzws
Port 8a378d4c3d8bd74f3070af0b70725da4a6d10375 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-23Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/models/account.rb - app/views/settings/profiles/show.html.haml - spec/controllers/api/v1/accounts/credentials_controller_spec.rb Conflicts were due to an increase in account bio length upstream, which is already covered in glitch-soc through `MAX_BIO_CHARS`.
2019-05-23Move signature verification stoplight to the requests themselves (#10813)ThibG
* Move signature verification stoplight to the requests themselves This avoids blocking messages from known keys for 5 minutes when only one fails… * Put the stoplight on the actual client IP, not a potential reverse proxy
2019-05-23Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)ThibG
HTTP 401 responses returned by Mastodon's inbox controller may be temporary if, for instance, the requesting user's actor/key json could not be retrieved in a timely fashion. This changes allow retries instead of dropping the message entirely. Also added HTTP 408 as that error is by nature temporary.
2019-05-23Make headers font size proportionalThibaut Girka
2019-05-23Allow rel=tag in status textThibaut Girka
Fixes tag links in local Markdown or HTML-authored statuses
2019-05-23Add `forceSingleColumn` prop to `<UI />` (#10807)Eugen Rochko
* Move TabsBar rendering logic from CSS to the ColumnsArea component * Add forceSingleColumn mode * Add unread notifications counter to tabs bar * Add toggle to control `forceSingleColumn` * Increase paddings in mobile layout responsively at large sizes
2019-05-22Fix stacking order of emoji picker (#10801)nzws
2019-05-22i18n: Complete frontend Bengali translation (#10800)dxwc
* i18n: Complete frontend Bengali translation * run yarn manage:translations
2019-05-21Fix local text/html toots not being sanitizedThibaut Girka
2019-05-21Add `account_id` param to `GET /api/v1/notifications` (#10796)Paul Woolcock
* Add `from_account` to notifications API this adds the ability to filter notifications by the account they originated from * passing a non-existent user should cause none to be returned * Fix codeclimate warnings * fix more codeclimate warnings * make requested changes: * use account id instead of user@domain * name the param `account_id` instead of `from_account` * Don't use `return` in a lambda
2019-05-20Refactor contentType selection in glitch composerThibaut Girka
2019-05-19Use glitch-soc's poll component instead of upstream'sThibaut Girka
2019-05-19Change bio limit from 160 to 500 (#10790)trwnh
* Change note_length validator from 160 to 500 * Change input maxlength from 160 to 500 * update bio test from 160 to 500 * Multiply a string 30 times instead of 10
2019-05-19Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-19Fix “invited by” not showing up for invited accounts in admin interface ↵ThibG
(#10791)
2019-05-19fix `isSubmitting` prop case (#10785)Hinaloe
2019-05-19Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-18add og:image:alt for media attachments in embeds (#10779)Ben Lubar
2019-05-18Change poll options to alphabetic letters when status text is hidden (#10685)Eugen Rochko
Fix #10569
2019-05-18Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-18Prevent from publicly boosting one's own private toots (#10775)ThibG
2019-05-17Minor optimizationThibaut Girka
2019-05-17Export fallback content type and use it as default in WebUIThibaut Girka
2019-05-17Properly escape HTML in code blocksThibaut Girka
2019-05-17Add option for default toot content-typeThibaut Girka
2019-05-17Fix autolinking, and newlines in code blocksThibaut Girka
Autolinking is now performed *after* the Markdown pass, by replacing HTML tags with zero-width spaces and running the twitter-text extractor as usual, except it does not auto-link URLs to avoid links in links…
2019-05-17Hide content-type dropdown by defaultThibaut Girka
2019-05-17Content-Type Dropdown: use the selected option icon for the menuHaelwenn (lanodan) Monnier
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17Support proper content-type in Delete & RedraftThibaut Girka
2019-05-17Add status content type dropdown to compose box.KokaKiwi
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17Add API support for setting status content-typeThibaut Girka
2019-05-17Serialize content-type on Delete & RedraftThibaut Girka
2019-05-17Add support for HTML-formatted tootsThibaut Girka
2019-05-17Add support for markdown-formatted tootsThibaut Girka
2019-05-17Add database row to hold status content typeThibaut Girka
2019-05-15Merge pull request #1049 from ThibG/glitch-soc/merge-upstreamThibG
Merge upstream changes
2019-05-15Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-15Minor performance improvements and cleanup in formatter (#10765)ThibG
2019-05-15Adds click-able div that expands status (#10733) (#10766)Neil Moore
The clickable div is positioned under the account avatar and covers all empty space below it to the end of the status.
2019-05-14Record account suspend/silence time and keep track of domain blocks (#10660)ThibG
* Record account suspend/silence time and keep track of domain blocks * Also unblock users who were suspended/silenced before dates were recorded * Add tests * Keep track of suspending date for users suspended through the CLI * Show accurate number of accounts that would be affected by unsuspending an instance * Change migration to set silenced_at and suspended_at * Revert "Also unblock users who were suspended/silenced before dates were recorded" This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c. * Switch from using suspended and silenced to suspended_at and silenced_at * Add post-deployment migration script to remove `suspended` and `silenced` columns * Use Account#silence! and Account#suspend! instead of updating the underlying property * Add silenced_at and suspended_at migration to post-migration * Change account fabricator to translate suspended and silenced attributes * Minor fixes * Make unblocking domains always retroactive
2019-05-13Fix rich text style in reply indicatorThibaut Girka
2019-05-13Fix rich text styling on public pagesThibaut Girka
2019-05-12Fix text color of some formatted elements in notificationsThibaut Girka
2019-05-12Fix some colors in light theme (#10754)nzws
* Fix typo in light theme * Fix background color of empty column
2019-05-11Fix incorrect reference to raw_content (it is raw_text instead) (#10753)ThibG
2019-05-11[Glitch] Use raw content if available on Delete & RedraftThibG
Port front-end changes from 6d44f2441bf2aa14d11e481d9d2cfe82a74d81ed to glitch-soc
2019-05-11Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-11Use a checkbox for the “Mark media as sensitive” composer buttonThibaut Girka
Fixes #1039