about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Ignore image responses on non-200 status (#3693)dan2024-04-241-5/+11
| | | | | * Ignore image responses on non-200 status * Fix tests
* Persist PDS URL for session resumption (#3620)Mary2024-04-242-4/+21
| | | | | | | | | | | * fix: store PDS URL for session resumption * fix: handle a few more cases * fix: blocking resumption should also use pds url * refactor: do it in the construct itself * fix: revert ce96223
* Remove Moderation from sidebar (#3692)dan2024-04-243-113/+68
|
* Remove old Suggested Follows logic (#3689)dan2024-04-243-87/+2
|
* Rewrite the link detection (#3687)dan2024-04-243-87/+110
| | | | | * Rewrite the link detection * Handle parens and colons
* Remove unnecessary `.trimEnd()` and fix facet detection (#3672)Hailey2024-04-242-12/+23
| | | | | | | | | | | | | | | * Fix link facet detection Exclude the trailing period from the link, similar as done in the atproto package * Fix JSON to text conversion The trimEnd() call was only needed because we were always appending \n\n at the end. Fix that by only adding line breaks after non-final paragraphs. * Detect paste reliably --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Remove old old onboarding (#3674)Eric Bailey2024-04-2310-1196/+8
|
* Disable autoplay by default if prefers-reduced-motion (#3671)dan2024-04-232-2/+8
|
* Add option to remove quoted post in composer (#3670)Samuel Newman2024-04-242-5/+47
| | | | | * add option to remove quoted post * add generous hitslop
* Add border radius to GIF loading state (#3669)Samuel Newman2024-04-231-0/+1
|
* use mp4 over webm (#3666)Hailey2024-04-231-2/+11
| | | | | | | * use mp4 over webm * tinymp4 * safari only
* Release 1.79 (#3661)Paul Frazee2024-04-2317-6086/+8591
| | | | | * Update tests * Intl exract
* Update Japanese translation (#3656)Takayuki KUSANO2024-04-231-33/+86
| | | | | | | | | | | | | | | | * Update Japanese translation - GIPHY is replaced by Tenor - Accessibility hint for long-pressing hashtags have been changed to follow * Translated accessibility hints related to embedded GIFs * Translate Email 2FA related messages. * Updated Japanese transaltion * More update * Update
* [Statsig] Add test gates and events (#3659)dan2024-04-233-1/+89
| | | | | * [Statsig] Add test gates and events * Better types
* Quick fix to ensure disable 2fa dialog adjusts to keyboard (#3658)Paul Frazee2024-04-221-1/+2
|
* Email auth factor (#3602)Paul Frazee2024-04-228-19/+350
| | | | | | | | | | | | | | | * Add email 2fa toggle * Add UI elements needed for 2fa codes in login * Wire up to the server * Give a better failure message for bad 2fa code * Handle enter key in login form 2fa field * Trim spaces * Improve error message
* GIF Viewer (#3605)Hailey2024-04-237-149/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ios player autoplay after recycle remove all items from AVPlayer queue recurururururursion use managers in the view add prefetch make sure player items stay in order add controller and item managers start of the view create module, ios * android player smoother basic caching prep cache somewhat works backup other files android impl blegh lets go touchup add prefetch to js use caching * bogus testing commit * add dims to type * save * add the dimensions to the embed info * add a new case * add a new case * limit this case to giphy * use gate * Revert "bogus testing commit" This reverts commit b3c8751b71f7108de9aa843b22ded4e0249fa854. * add web player base * flip mp4/webp * basic mp4 player for web * move some stuff into `ExternalLinkEmbed` instead * use a class component for web * remove extra component * add `onPlayerStateChange` event type on web * layer properly * fix tests * add new test * about ready. native portions done, a few touch ups on web needed show placeholder on ios fix type rm log display thumbnail until video is ready to play add oncanplay, playsinline remove unused method add `isLoaded` change event release player when finished apply gc to the view cleanup logs android gc rm log automatic gc for assets make `nativeRef` private remove unnecessary `await` cleanup rev log only play on prepare whenever needed rm unused perfperfperf rm var comment + android width native height calculations rm pressable add event dispatcher on android add event dispatcher on ios * ready to test ios fix autoplay ios clean oops * autoplay on web * normalize across all platforms add check for `ALT:` separate gif embed logic to another file handle permissions requests flatten web styles normalize styles normalize styles prefetch functions pause animatable on foreground android nits one more oops idk where that code went lint rethink the usage wrap up android clear bg update gradle more android rename dir update android namespace web ios add deps use webp rm unused update types use webp on mobile * rm gate from types * remove unused event param * only start placeholder op if doesn't exist in disk cache * fix gifs animating on app resume android * remove comment * add `isLoaded` for ios * add `isLoaded` to Android * onload for web * add visual loading state * rm a log * implement isloaded for android * dialogs * replace `webpSource` with `source` * update prop name * Move to Tenor for GIFs (#3654) * update some urls * right order for dimensions * add GIF coder for ios * remove giphy check * rewrite tenor urls * remove all the unnecessary stuff for consent * rm print * rm log * check if id and filename are strings * full size playback controls * pass tests * add accessibility to gifs * use `onPlay` and `onPause` * rm unused logic for description * add accessibility label to the controls * add gif into to external embed in composer * make it optional * gif dimensions * make the jsx look nicer --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Ungate profile scroll fix (#3655)dan2024-04-232-21/+4
|
* rm country param (#3653)Samuel Newman2024-04-231-4/+0
|
* [GIFs] Remove consent flow (#3652)dan2024-04-232-104/+23
| | | | | * Remove tenor from settings * Remove consent flow
* [GIFs] Replace GIPHY with Tenor (#3651)Samuel Newman2024-04-226-335/+220
| | | | | | | | | * replace GIPHY with Tenor * remove "directly" wording * replace GIPHY wording * remove log
* properly close the switch account dialog (#3558)Hailey2024-04-222-22/+13
| | | | | | | | | | | | | | | | | | | * properly close the switch account dialog * use it for switch account as well * ensure dialog is closed on unmount Revert "properly check if the ref is null" This reverts commit 8f563808a5d39389b0bc47a31e73cd147d1e7e8b. properly check if the ref is null ensure dialog is closed on unmount * Revert "ensure dialog is closed on unmount" This reverts commit a48548fd8ed53ae3eb08a0e05bb89f641c112b95.
* [GIFs] Reset scroll on query change (#3642)Samuel Newman2024-04-222-11/+18
| | | | | | | * scroll list to top on query change * dismiss keyboard on swipe list * don't need an effect
* Update French translations (#3644)surfdude292024-04-221-696/+292
| | | | | | | | | | | * Update French translations * Apply suggestions from code review Co-authored-by: Stanislas Signoud <signez@stanisoft.net> --------- Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
* [GIFs] Add error boundary to GIF picker (#3643)Samuel Newman2024-04-222-4/+45
| | | | | | | | | | | | | * error boundary on gif picker * add dialog.close for web users * fix size of dialog on web * Safer coercion --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Revert "Add layout transitions to the composer photo gallery on iOS (#3609)" ↵Samuel Newman2024-04-222-27/+10
| | | | | (#3649) This reverts commit 1a5b8b2c94ce1e66bff7e7295b799ae5b0613988.
* Update Finnish translations (#3630)Jan-Olof Eriksson2024-04-221-760/+60
| | | | | | | | | | | | | | | | | | | | | | | * Update messages.po Repostausten yhdenmukaistamista * Update messages.po * Update messages.po * Update messages.po Typos * Update messages.po Couple of typos * Update messages.po Removed strings that are obsolete and no longer used. * Update messages.po
* Update Japanese translations (#3632)Takayuki KUSANO2024-04-221-14/+85
| | | | | | | | | * Update Japanese translations - Add GIPHY related messages - Add a11y related messagges - Update a message in empy search screen * Updated Japanese translation.
* Update messages.po (#3639)Minseo Lee2024-04-221-227/+299
|
* remove unnecessary padding from the right hand side of the post in threaded ↵Hailey2024-04-221-1/+0
| | | | (#3645)
* only open tag menu on long press (#3553)Samuel Newman2024-04-221-3/+13
|
* add maxwidth to app language dropdown (#3635)Samuel Newman2024-04-221-0/+1
|
* remove gate from updates (#3646)Hailey2024-04-222-4/+1
|
* Search in PWI (#3628)dan2024-04-201-92/+52
|
* Top/Latest for hashtags (#3625)dan2024-04-192-72/+177
| | | | | | | * Split HashtagScreen into two components * Hashtag tabs * Visual fixes
* Player improvement pre-reqs (#3618)Hailey2024-04-193-23/+53
| | | | | | | | | | | | | | | | | | | | | * add dims to type * save * add the dimensions to the embed info * add a new case * add a new case * limit this case to giphy * use gate * flip mp4/webp * fix tests * add new test
* fix onEndReached issue by forcing flatlist to scroll (#3623)Samuel Newman2024-04-192-3/+19
|
* Throttle gif search by 500ms (#3622)Samuel Newman2024-04-192-8/+30
| | | | | | | | | * debounce gif search by 300ms * Throttle it instead --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add disable autoplay preference and group related settings into a dedicated ↵Samuel Newman2024-04-199-82/+262
| | | | | | | | | | | | | | | page (#3626) * add autoplay preference * group accessibility settings into a dedicated page * fix gray background on web * Put a11y first --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Ungate Top/Latest search (#3627)dan2024-04-192-68/+38
|
* [Statsig] Send locale info (#3621)dan2024-04-191-0/+6
|
* [Statsig] Update experiments (#3617)dan2024-04-196-26/+30
|
* align center post meta in threaded (#3615)Hailey2024-04-192-3/+11
| | | | | | | | | * align center post meta in threaded * put `displayNameStyle` in correct place * maybe? * with mobile padding too?
* add dimensions to data (#3616)Hailey2024-04-181-1/+1
| | | | | | | | | * add dimensions to data * keep alt text * put it in the right url * just send the original height and width instead
* Add GIF select to composer (#3600)Samuel Newman2024-04-1917-106/+904
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * create dialog with flatlist in it * use alf for composer photos/camera/gif buttons * add gif icons * focus textinput on gif dialog close * add giphy API + gif grid * web support * add consent confirmation * track gif select * desktop web consent styles * use InlineLinkText instead of Link * add error/loading state * hide sideborders on web * disable composer buttons where necessary * skip cardyb and set thumbnail directly * switch legacy analytics to statsig * remove autoplay prop * disable photo/gif buttons if external media is present * memoize listmaybeplaceholder * fix pagination * don't set `value` of TextInput, clear via ref * remove console.log * close modal if press escape * pass alt text in the description * Fix typo * Rm dialog --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Update Japanese translation (#3557)Takayuki KUSANO2024-04-181-905/+16
| | | | | | | | | * Remove obsoleted entries * Add new translation messages. * Fix one translation * Update Japanese translation
* Update zh-TW localization (#3564)Frudrax Cheng2024-04-181-42/+34
| | | | | | | | | | | * Fix file format, punctuations and wording * Some minor adjustments * Update messages.po * Remove superseded strings * Some minor adjustments
* Update zh-CN localization (#3565)Frudrax Cheng2024-04-181-184/+67
| | | | | | | * Some minor adjustments * Update messages.po * Remove superseded strings
* Update catalan messages.po (#3595)Ivan Beà2024-04-181-16/+16
| | | | | New lines translated again, just a few You can check it @jordimas @darccio @ferranrego @MiquelAdell @mvdan @johnnydement @Mejans @surfdude29
* Fix splash screen language picker appearance on Chrome (#2952)Mary2024-04-181-16/+20
| | | | | * fix: correct language picker appearance on Chrome * fix: prevent chevron shrink on long language names