about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2018-11-24Sort self-replies to the top of descendants (#9320)Eugen Rochko
Fix #6463
2018-11-23Revert "Sort self-replies to the top of the thread (#9296)" (#9335)Eugen Rochko
This reverts commit 074960bb0fa59664c0ae1a35ef80301f5033700d. Fix #9315
2018-11-22Fix connect timeout not being enforced (#9329)Eugen Rochko
* Fix connect timeout not being enforced The loop was catching the timeout exception that should stop execution, so the next IP would no longer be within a timed block, which led to requests taking much longer than 10 seconds. * Use timeout on each IP attempt, but limit to 2 attempts * Fix code style issue * Do not break Request#perform if no block given * Update method stub in spec for Request * Move timeout inside the begin/rescue block * Use Resolv::DNS with timeout of 1 to get IP addresses * Update Request spec to stub Resolv::DNS instead of Addrinfo * Fix Resolve::DNS stubs in Request spec
2018-11-22Ignore JSON-LD profile in mime type comparison (#9179)valerauko
Ignore JSON-LD profile in mime type comparison
2018-11-21Include replies to list owner and replies to list members in list statuses ↵ThibG
(#9324)
2018-11-21Revert connect timeout from 1s to 10s (#9319)Eugen Rochko
The failure rate in Sidekiq is too high
2018-11-20WebSub: ATOM before RSS (#9302)Alexandre Alapetite
Hello, The ATOM feed contains the hub declaration for WebSub, but the RSS version does not. RSS/ATOM readers will typically pick whichever version comes first, and will thus not see the WebSub feature. I therefore suggest putting the ATOM version first, as it is more feature-rich than its RSS counterpart is. Clients not compatible with ATOM would not pick it anyway due to the different type attribute. A more complicated alternative would be to declare the WebSub feature in the RSS version as well, using something like the following code, and ensuring that clients subscribed to the RSS version would receive PuSH updates just like those subscribed to the ATOM version. ````xml <rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <atom:link rel="self" type="application/rss+xml" href="https://diaspodon.fr/users/test.rss"/> <atom:link rel="hub" href="https://diaspodon.fr/api/push"/> </channel> </rss> ```
2018-11-20Cast status_count to integer (#9314)Eugen Rochko
It is returned as a double because the sum is now over bigint columns Fix #9312
2018-11-19Simplify hashtag query service, perf increase for 'any' tags (#9298)James Kiesel
2018-11-19Fix filter ID not being a string in REST API (#9303)Eugen Rochko
2018-11-19Extract counters from accounts table to account_stats table (#9295)Eugen Rochko
2018-11-17Deep compare tags for hashtag column reload (#9297)James Kiesel
* Deep compare tags for hashtag column reload * Don't use global lodash
2018-11-16Prevent multiple handlers for Delete of Actor from running (#9292)Eugen Rochko
2018-11-16Sort self-replies to the top of the thread (#9296)Eugen Rochko
Fix #6463
2018-11-16Remove intermediary arrays when creating hash maps from results (#9291)Eugen Rochko
2018-11-16Change the password form order (#9267)mayaeh
* Change order of password. * Update Japanese translation for "Show thread". * Separate the translation PR.
2018-11-16Update Japanese translation for "Show thread". (#9287)mayaeh
2018-11-13Fix race condition causing shallow status with only a "favourited" attribute ↵ThibG
(#9272) Fixes #9231
2018-11-12Fix null error introduced in #9270 (#9275)Eugen Rochko
2018-11-12Perform deep comparison for card data when receiving new props (#9270)ThibG
Fixes #9226
2018-11-11Only consider mouse move in scrolling on item insertion (#9262)Les Orchard
Fixes #9259
2018-11-11i18n: Add ja translations (#9261)mayaeh
* Run yarn manage:translations * Add Japanese translations.
2018-11-10Fix emoji update date processing (#9255)ThibG
2018-11-10Check that twitter:player is valid before using it (#9254)ThibG
Fixes #9251
2018-11-10Fix loading indicator inconsistency (#9252)Eugen Rochko
* Use global loading indicator when loading more items * Use local loading indicator for notifications And remove global loading indicator for initial custom emojis load
2018-11-09Identify manual scrolling to cancel scroll to top reset on mouse idle (#9245)Les Orchard
2018-11-09Remove unused computation of reblog references from updateTimeline (#9244)ThibG
2018-11-08Reduce connect timeout limit and limit signature failures by source IP (#9236)Eugen Rochko
* Reduce connect timeout from 10s to 1s * Limit failing signature verifications per source IP
2018-11-08Use local instead of global loading indicator for timelines, account ↵Eugen Rochko
timelines (#9224) So that opening a profile feels faster. Also, pinned toots are not shown before other toots have loaded. Also, if no toots are loaded, added empty message
2018-11-08Add "Show thread" link to self-replies (#9228)Eugen Rochko
Fix #4716
2018-11-08Fix form validation flash message color and input borders (#9235)Eugen Rochko
* Fix form validation flash message color and input borders * Fix typo
2018-11-08Fix follow limit validator reporting lower number past threshold (#9230)Eugen Rochko
* Fix follow limit validator reporting lower number past threshold * Avoid floating point follow limit
2018-11-08Optimize the process of following someone (#9220)Eugen Rochko
* Eliminate extra accounts select query from FollowService * Optimistically update follow state in web UI and hide loading bar Fix #6205 * Asynchronize NotifyService in FollowService And fix failing test * Skip Webfinger resolve routine when called from FollowService if possible If an account is ActivityPub, then webfinger re-resolving is not necessary when called from FollowService. Improve options of ResolveAccountService
2018-11-08Cancel list scroll reset after mouse move on wheel scroll (#9233)Les Orchard
- Use object properties rather than component state for mouseMovedRecently and scrollToTopOnMouseIdle flags - Remove redundant scrollToTop prop call, also fixing an attempt to call an undefined prop. Fixes #9217
2018-11-08Increase default column width from 330px to 350px (#9227)Eugen Rochko
2018-11-05Temporarily hold timeline if mouse moved recently (fixes #8630) (#9200)Les Orchard
- On recent mouse movement, hold timeline position so statuses remain in place for interactions in progress. - If the timeline had been scrolled to the top before mouse movement, restore scroll on mouse idle.
2018-11-05Update resolve_url_service.rb (#9188)m.b
2018-11-05Allow joining several hashtags in a single column (#8904)James Kiesel
* Nascent tag menu on frontend * Hook up frontend to search * Tag intersection backend first pass * Update yarnlock * WIP * Fix for tags not searching correctly * Make radio buttons function * Simplify radio buttons with modeOption * Better naming * Rearrange options * Add all/any/none functionality on backend * Small PR cleanup * Move to service from scope * Small cleanup, add proper service tests * Don't use send with user input :D * Set appropriate column header * Handle auto updating timeline * Fix up toggle function * Use tag value correctly * A bit more correct to use 'self' rather than 'all' in status scope * Fix some style issues * Fix more code style issues * Style select dropdown more better * Only use to_id'ed value to ensure no SQL injection * Revamp frontend to allow for multiple selects * Update backend / col header to account for more flexible tagging * Update brakeman ignore * Codeclimate suggestions * Fix presenter tag_url * Implement initial PR feedback * Handle additional tag streaming * CodeClimate tweak
2018-11-05Implement adding a user to a list from their profile (#9062)namelessGonbai
* Add add user to list from thier profile * Fix listAdderCss
2018-11-05Check for empty "last_status" before sorting DM column (#9207)Steven Tappert
* Check for empty "last_status" before sorting * Small touchups for codeclimate
2018-11-05fix(reset): Property name for styled scrollbars (#9210)Sorin Davidoi
https://webplatform.news/issues/2018-10-26
2018-10-31Fix reducer error when conversation has no last status in web UI (#9173)Eugen Rochko
Fix #9170
2018-10-31Revert "Fix FetchAtomService content type handling (#9132)" (#9171)Eugen Rochko
This reverts commit c36a4a16178441968715e13c77859b1eb813c2af.
2018-10-30[i18n] Update for Occitan (#9169)Quentí
* Update oc.json * Update oc.yml * Update simple_form.oc.yml * Update simple_form.oc.yml * Update oc.json
2018-10-30Fix empty display name precedence over username in web UI (#9163)Eugen Rochko
Fix #9131
2018-10-30Fix td instead of th in sessions table header (#9162)Eugen Rochko
Fix #9130
2018-10-30Revert "feat(auth/session_controller): Send Clear-Site-Data when logging out ↵Eugen Rochko
(8627)" (#9161) This reverts commit 10680f93e7d6333d43aabc4c6f251a076120231c.
2018-10-30Fix FetchAtomService content type handling (#9132)valerauko
* Add profile to json+ld in Accept It's required by the ActivityPub spec * Use headers['Content-type'] instead of mime_type mime_type strips the profile from the content type, but it's still available raw in the headers hash * Add test for ld+json with profile
2018-10-30[i18n] Update for Occitan (#9157)Quentí
* Update oc.json * Update devise.oc.yml * Update oc.yml * Update oc.json
2018-10-30Accept the same payload in multiple inboxes and deliver (#9150)Eugen Rochko