| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
* Translation comment
* Fix error handling in starter pack generation
* Allow access to DM settings for age restricted users
* Leave post stat unit formatting up to translators
|
|
|
|
|
| |
* Tests fixes
* Pull latest translations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add feed banner
* Comment
* Update nux name
* Handle did error
* Hide mod settings if underage or age restricted
* Add metrics
* Remove DEV override
* Copy suggestion
* Small copy edits
* useState
* Fix bug
* Update src/components/ageAssurance/useAgeAssuranceCopy.ts
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Get rid of debug button
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add geo prop
* Add prelim fetch
* Add geo debug
* Pass in assurance state to notifications registration
* Comments
* Bump git index
* Add some component utils, no design, gate chat
* Disable mod prefs buttons, does not yet edit mod prefs
* Add initial prompt component
* Refine logic for showing prompt
* Add send email dialog
* Hook up dialog to fake mutation
* Fix geo debug bug
* Move provider inside query provider
* Slightly better screen gater
* Ok decent fallback with isExempt
* Reorg
* Wrap prompt in new logic
* Override mod prefs
* Use real endpoints, optimistic state
* Add persistent card, add time-ago, warning to dialog
* Add comment
* No undefined query values
* Fix case in import
* Wait for AA to load before registering push
* Override prefs in all locations
* Small refactor of notifications registration
* Register push after aa state
* Add retries
* Update blocked screens UI
* Strengthen email validation
* Add intent dialog
* Do service auth for init
* Rug refreshJwt
* Update copy
* Some mobile styles, add dev mode option
* Fix links on native
* Clean up intent dialog on native
* Don't mutate existing session, only copy
* Handle email validation error from server
* Clarity is better
* Moar clear
* Fixes
* Tweaks
* Add country code
* Gate it
* Refresh state after redirect
* Re-check on window focus
* Remove todo
* Enable in dev
* Check for did match on redirect
* Add blocked state
* Add appeal dialog
* Copy tweaks
* Inset in blue well
* Nux the prompt
* Copy updates
* Refetch just in case
* Uppercase country code
* Align copy, add notice to chat screens
* Tweak copy
* Add test code
* Add debug code
* Refactor AccountCard
* Big refactor
* Delay post-feed queries instead
* Debug code
* Clean up state
* Reorg
* Clean up copy
* Comments
* Reorg
* UPdate URL
* Cleanup
* Remove todo
* Update debug code
* revert unneeded changes
* UPdate nux name
* Revert unneeded change
* Updaet storage schema
* Checkpoint: cleanup
* Checkpoint: almost there
* isLoaded -> isReady
* Rename useAgeAssurance
* isUnderage -> isDeclaredUnderage
* Decompose, add docblocks
* Refactor
* UPdate debug
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Drop including Bluesky
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Remove todo
* Gate debug
* Revert unneeded change
* Fail closed
* Comments
* Comment
* Comment
* fix prettier
* rm viewheader
* bump sdk
* prevent overlap in admonition
* add age assurance intent route
* Just meow
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Nix callback
* Fix spelling of dismissible lol
* Don't compare translated string
* Better KWS link labels
* Hide DMs send options in menu
* Add button
* Fix order
* Use only supported languages
* Rm button
* best-effort language mapping
* improve typing
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add getInitialURL
* get deep linking working
* actually handle as push instead
* push to route instead of setting initial path
* pop to on top of notifications
* fix comment
* change chat-message handling
* add metrics
* don't reopen due to notif multiple times
* extract data from notification differently on android
* sorry sorry annoying naming nits, align logger
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Formatting nits
* Debounce push token registration by 100ms
* Comment
* Align handling across native devices
* Clean up
* Simplify
* Use hooks
* Update import
* Comment
* Put app view DIDs in constants
* Clarify comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove enablement
* Refactor context and filtering
* Fix imports, simplify transports config
* Migrate usages of debug context
* Re-org, add colors and grouping to console logging
* Remove temp default context
* Remove manual prefix
* Move colorizing out of console transport body
* Reduce reuse
* Pass through context
* Ensure bitdrift is enabled in dev
* Enable Sentry on web only
* Clean up types
* Docs
* Format
* Update tests
* Clean up tests
* No positional args
* Revert Sentry changes
* Clean up context, use it, pass metadata through to Bitdrift
* Fix up debugging
* Clean up metadata before passing to Bitdrift
* Correct transports
* Reserve context prop on metadata and include in transports
* Update tests
|
| |
|
|
|
|
|
| |
* Mark import sort/order/style rules as error
* npm run lint -- --fix
|
|
|
|
|
| |
* Remove launched gates
* Remove disabled gates
|
|
|
|
|
|
|
|
|
|
|
| |
* register the push token after request has been approved on android
* use a `0` string for badge count
* Revert "use a `0` string for badge count"
This reverts commit efac39861817f4237c58211f68ef266d919b4d40.
* temporary fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stop using push token listener
* cleanup the hack
* add a comment
* remove test code
* Fix patch
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
* adjust notifications experiment by removing `canAskAgain`
* move to `StepFinished` for after onboarding
|
|
|
|
|
| |
* Replace getAgent() with agent
* Replace {agent} with agent
|
|
|
|
|
|
|
|
|
|
|
| |
* disable badge increments for dms
* revert decrementing in js for dms
* reset badge on read notifications
* remove some other code
* prevent duplicate notification events
|
|
|
|
|
| |
* don't always show a notification
* nit
|
|
|
|
|
|
|
|
|
| |
* decrement badge count for chats
* handle decrement in `useMarkAsRead`
* remove async
* oops
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* actually register token on permissions change
* actually register token on permissions change
* get updated permissions every time
* remove all usages of `usePermissions`
* skip perms check on granted result from request
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cleanup the current logic
* add statsig logs
* implement requests for permissions where needed
* oops
* let `addPushTokenListener` handle the token registration
* place new log event type with the other `notifications` type
* place registration next to handler
* more organization
* only call `gate()` if permission is not yet granted
* be more specific to prevent gate pollution
* nit
* make `token` non-optional in `registerToken`
* remove `prevDid`, move `registerPushToken` into `useEffect`
* keep it outside actually
* nit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add some better handling for notifications
prep merge
move `useNotificationsListener` into shell
progress
better structure
only show messages notifications while using app if it is the current account
progress
only emit on native
current chat emitter
only show alerts for the current chat
type
add logs
setup handlers
* remove event emitter
* just needs cleanup
* oops
* remove unnecessary `queryClient` param
* few fixes
* cleanup
* nit
* remove folds
* remove comment
* simplify if
* add back invalidate
* comment out other navigations for now
* rename type
* handle various navigation cases
* push to conversation from notification
* update badge in all cases except `chat-message`
* ensure no duplicate notifications
* rm unused `animationOnReplace`
* revert to using `goBack` in the conversation header
* add todo comment
|
|
|
|
|
|
|
|
|
|
|
| |
* Drill into notifications handlers
(cherry picked from commit 7ac9e500866732e1f2e205bbe96e70db331e5ffb)
* Thread getAgent instead
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Change prop name for sentry ingestion
* Fix test
* Add default object
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Dont reset notifications feed on push notification event
* Dont separate notifications by read state to avoid jank
* On notifications screen focus, check latest and only rerender if not scrolled down
* Reuse the cached notifs page when its not stale
* Bump ios build number
* Improve comments
* Change the 'mark all read' condition to avoid firing too early
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Inline never-imported export
* Remove pretense at handling cleanup
* Extract per-session listener to a function
* Split notifications.init() from notifications.onSessionLoaded()
* Tweak forked code to be more similar
* Remove unnecessary guards
* Split notifications.onSessionLoaded in two
* Always use getAgent()
* Remove dep on listenSessionLoaded, add cleanup
|
| |
|
|
|
|
|
| |
* Reset, not invalidate, notification queries
* Reset, not invalidate, feed queries
|
|
|
|
|
|
|
|
|
|
|
| |
* Move tick-every-minute into a hook/context
* Move soft-reset event out of the shell model
* Update soft-reset listener on new search page
* Implement session-loaded and session-dropped events
* Update analytics and push-notifications to use new session system
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move broadcast channel to lib
* Refactor view/com/post/Post and remove temporary 2 components
* Add useModerationOpts hook
* Refactor notifications to use react-query
* Fix: only trigger updates in useModerationOpts when the values have changed
* Implement unread notification tracking
* Add moderation filtering to notifications
* Handle native/push notifications
* Remove dead code
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* refresh notifications when a notif is clicked
* make notification syncing smarter
* allow enabled appview proxy on mobile
* put back syncqueue code
|
|
|
|
|
| |
* Add analytics event for when the app is opened from a notification
* Tweak notification ID
|
|
|
|
|
|
|
| |
* Create separate .easignore to ensure google-services.json goes to eas
* Set the notifications serviceDid according to the session host
* Fix types
|
|
* move `notifee.ts` to notifications folder
* install expo notifications
* add UIBackgroundMode `remote-notifications` to app.json
* fix notifee import in Debug.tsx
* add `google-services.json`
* add `development-device` class to eas.json
* Add `notifications.ts` for native notification handling
* send push token to server
* update `@atproto/api`
* fix putting notif token to server
* fix how push token is uploaded
* fix lint
* enable debug appview proxy header on all platforms
* setup `notifications.ts` to work with app view notifs
* clean up notification handler
* add comments
* update packages to correct versions
* remove notifee
* clean up code a lil
* rename push token endpoint
* remove unnecessary comments
* fix comments
* Remove old background scheduler
* Fixes to push notifications API use
* Bump @atproto/api@0.6.6
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|