MCPcopy Create free account

hub / github.com/samuelclay/NewsBlur / functions

Functions5,735 in github.com/samuelclay/NewsBlur

↓ 6 callersMethodapplies_to_feed
Whether this notification's scope covers the given feed. Args: story_feed_id: The feed_id to test against this notification's sco
apps/notifications/models.py:803
↓ 6 callersMethodattach_users_to_comment
(comment, profiles)
apps/social/models.py:2451
↓ 6 callersMethodcalcTotalIntel
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Story.java:317
↓ 6 callersMethodcheckOpenFolderPreferences
Check the open/closed status of folders against what we have stored in the prefs database. The list widget likes to default all folders to closed, so
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/FolderListFragment.java:288
↓ 6 callersFunctionclassifier_matches_story_feed
Check if a classifier applies to a story based on its scope. Args: classifier: A classifier object with feed_id and optional scope/folder
apps/analyzer/models.py:359
↓ 6 callersFunctioncomment_child
(comment)
apps/rss_feeds/test_reddit_fetcher.py:65
↓ 6 callersMethodcommon_follows
(self, user_id, direction="followers")
apps/social/models.py:664
↓ 6 callersMethodcompare
(String s1, String s2)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Folder.java:87
↓ 6 callersFunctioncopy_app_settings
()
archive/fabfile.py:961
↓ 6 callersFunctioncreate_briefing_story
Create or update an MStory in the briefing feed with the summary, and an MBriefing record linking the summary to the curated stories. De
apps/briefing/models.py:249
↓ 6 callersMethoddays_of_story_hashes_for_feed
(cls, feed_id)
apps/rss_feeds/models.py:200
↓ 6 callersMethoddelete_feed
(self, feed_id, in_folder, commit_delete=True)
apps/reader/models.py:2776
↓ 6 callersFunctiondeploy_code
(copy_assets=False, rebuild=False, fast=False, reload=False)
archive/fabfile.py:2053
↓ 6 callersMethoddoc_type
Get the document type (deprecated in newer ES versions).
apps/archive_extension/search.py:39
↓ 6 callersFunctionensure_session
(runtime: RuntimeConfig)
clients/android/run_android.py:615
↓ 6 callersMethodequals
Custom equality based on storyID/feedID equality so that a Set can de-duplicate story objects.
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Story.java:374
↓ 6 callersMethodexecute
(self)
flask_metrics/flask_metrics_redis.py:50
↓ 6 callersFunctionf
(a)
clients/ios/Resources/zepto.js:2
↓ 6 callersMethodfetch_listing
Fetch a Reddit listing through the OAuth API, returning its children list. Returns the list of post objects, or None on failure. When throttl
utils/reddit_fetcher.py:308
↓ 6 callersFunctionformat_duration
(seconds)
utils/backups/offsite_status.py:88
↓ 6 callersMethodgenerate_hash_address_and_link
(cls, feed_address, feed_link)
apps/rss_feeds/models.py:223
↓ 6 callersMethodgetItem
(int i)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ActivityDetailsPagerAdapter.java:33
↓ 6 callersMethodgetLocalUnreadCount
Get the unread count for the given feedset based on local story state.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1095
↓ 6 callersFunctiongetURL
()
media/safari/NewsBlur.safariextension/javascripts/main.js:113
↓ 6 callersMethodget_context
(self)
flask_metrics/flask_metrics_redis.py:78
↓ 6 callersMethodget_stories
( self, offset=0, limit=6, order="newest", read_filter="all",
apps/social/models.py:1189
↓ 6 callersMethodget_user_rivers
(cls, user_id)
apps/profile/models.py:5340
↓ 6 callersMethodhomepage
(self)
archive/perf/locust.py:12
↓ 6 callersMethodinitialize
Data should be keyed by doc-id, values should be iterable
apps/analyzer/archive/lda.py:168
↓ 6 callersMethodisAllSaved
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:295
↓ 6 callersMethodisFolder
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:335
↓ 6 callersMethodisGlobalShared
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:323
↓ 6 callersMethodisRowDailyBriefing
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:592
↓ 6 callersMethodisRowGlobalSharedStories
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:580
↓ 6 callersMethodisRowInfrequentStories
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:596
↓ 6 callersMethodisStorySearchVisible
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:550
↓ 6 callersFunctionmake_comment
(**overrides)
apps/rss_feeds/test_reddit_fetcher.py:51
↓ 6 callersMethodmark_unread
(user_id, story_feed_id, story_hash, social_user_ids=None, r=None, username=None, ps=None)
apps/reader/models.py:2434
↓ 6 callersFunctionmidnight_tomorrow
(midnight, days)
media/js/newsblur/models/stories.js:134
↓ 6 callersMethodnotifyDataChanged
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/FeedChooserAdapter.java:216
↓ 6 callersMethodonOpen
(SQLiteDatabase db)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabase.java:43
↓ 6 callersFunctionparse_variants_json
Parse the LLM analysis response into a list of variant dicts. Tolerates markdown code fences around the JSON. Returns a list (possibly empty)
apps/webfeed/tasks.py:257
↓ 6 callersFunctionpersistPageVisits
* Persist page visits to storage for service worker recovery
clients/browser-extension/src/background/service-worker.js:35
↓ 6 callersFunctionpublish
(event_type, extra=None)
apps/briefing/tasks.py:226
↓ 6 callersMethodrecord_analysis_result
(cls, success=True)
apps/statistics/rtrending_webfeeds.py:76
↓ 6 callersMethodrefreshStoryHeaderControls
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:288
↓ 6 callersMethodrefresh_feed
Update feed, since it may have changed
utils/feed_fetcher.py:1435
↓ 6 callersMethodreserve_rate_limit_slot
Atomically claim one slot in the shared per-minute Reddit API budget. Uses a fixed one-minute window: the first request of a window sets a 60
utils/reddit_fetcher.py:531
↓ 6 callersFunctionrole_for_host
()
archive/fabfile.py:2017
↓ 6 callersMethodsave
(self)
apps/rss_feeds/icon_importer.py:49
↓ 6 callersMethodsave_no_page
(self, reason=None)
apps/rss_feeds/page_importer.py:369
↓ 6 callersMethodscore_story
(scores)
apps/reader/models.py:2017
↓ 6 callersFunctionsendMessage
* Send message to background script
clients/browser-extension/src/popup/popup.js:306
↓ 6 callersMethodsetAndNotifySelectorState
(StateFilter state, @StringRes int notifyMsgRes)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/Main.java:535
↓ 6 callersMethodsetStorySearchRefreshInFlight
(boolean isInFlight)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:974
↓ 6 callersMethodset_photo
(self, service)
apps/social/models.py:3059
↓ 6 callersMethodsingleFeed
Convenience constructor for a single feed.
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:53
↓ 6 callersFunctionsort_by_feed
Sort classifiers by feed_id, distributing global/folder classifiers to all relevant feeds.
apps/analyzer/models.py:1396
↓ 6 callersMethodstyleExamplePill
(TextView pill, int bgColor, int textColor, float radius, int iconRes, int iconSize)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:567
↓ 6 callersMethodsubscribe
(self, topic, feed, hub=None, callback=None, lease_seconds=None, force_retry=False)
apps/push/models.py:24
↓ 6 callersMethodsubscribe
(cls, user_id, category_title)
apps/categories/models.py:91
↓ 6 callersMethodtriggerSync
Pokes the sync service to perform any pending sync actions.
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/NbFragment.java:13
↓ 6 callersFunctiontruncate_chars
(value, max_length)
utils/story_functions.py:563
↓ 6 callersMethodtwitter_api
(self)
apps/social/models.py:2884
↓ 6 callersMethodupdateStorySearchLoadingIndicator
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:979
↓ 6 callersMethoduser_count
(cls)
apps/profile/models.py:5421
↓ 6 callersMethodwrap
(@Nullable ActionMode.Callback original)
clients/android/NewsBlur/app/src/main/java/com/newsblur/web/NewsblurWebview.java:89
↓ 5 callersFunctionA
(a)
clients/ios/static/zepto.js:2
↓ 5 callersFunctionA
(a)
clients/ios/Resources/zepto.js:2
↓ 5 callersMethod_add_header
(self, headers, name, value)
apps/newsletters/models.py:338
↓ 5 callersFunction_any
(data)
utils/json_functions.py:50
↓ 5 callersMethod_check_payload
Check a single payload string for attack patterns. Returns (attack_type, sample) or (None, None).
utils/ip_rate_tracker.py:690
↓ 5 callersFunction_find_clustered_stories
Find stories in pre-computed clusters and categorize as widely_covered. Checks pre-computed clusters in Redis. A story qualifies as widely_covere
apps/briefing/scoring.py:490
↓ 5 callersMethod_generate_histogram
Generate ASCII histogram
apps/statistics/management/commands/feed_histogram.py:106
↓ 5 callersMethod_get_redis
(cls)
apps/statistics/rdiscover_usage.py:29
↓ 5 callersMethod_make_image
(self)
apps/rss_feeds/test_rss_feeds.py:1307
↓ 5 callersMethod_paypal_detail
(self, plan_id="P-OLD-24", hours_until_billing=5, status="ACTIVE")
apps/profile/test_profile.py:1018
↓ 5 callersMethod_route
Return a requests.get side_effect that serves payloads by URL fragment.
apps/rss_feeds/test_rss_feeds.py:956
↓ 5 callersMethod_save_cache
(self, cache)
apps/discover/management/commands/discover_subreddits.py:758
↓ 5 callersFunction_scope_info
(classifier)
apps/analyzer/models.py:1298
↓ 5 callersMethod_today
(cls)
apps/statistics/rtrending_webfeeds.py:34
↓ 5 callersMethodadd_subscription
( cls, user, feed_address, folder=None, bookmarklet=False, auto_active=True, skip_fetch=False )
apps/reader/models.py:999
↓ 5 callersFunctionadjust_read_filter_for_date_range
Auto-switch from unread to all if date filter extends beyond unread cutoff. If the read filter is set to unread only and the date range star
apps/reader/views.py:184
↓ 5 callersMethodbuildItemListMenuModel
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:827
↓ 5 callersMethodbuild_comments_feed
Render a submission and its comments into an Atom feed string.
utils/reddit_fetcher.py:234
↓ 5 callersMethodcancelPendingFetchingBanner
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1152
↓ 5 callersMethodcaptureStoryHeaderPillAppearance
(MaterialButton button)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:699
↓ 5 callersMethodcheck_api_error
Raise YoutubeQuotaError on quota exhaustion; return True for any other API error. Quota errors are raised so utils/feed_fetcher.py can record
utils/youtube_fetcher.py:238
↓ 5 callersFunctionchoose_better_attempt
Pick the better of two analysis attempts. Each attempt is a (variants, usable_count, response_text) tuple. Prefer the attempt that extracted
apps/webfeed/tasks.py:297
↓ 5 callersFunctionclose
($trigger)
media/js/newsblur/common/nav_dropdown.js:70
↓ 5 callersFunctioncollect_folder_names
(items)
media/js/newsblur/reader/reader_classifier.js:4657
↓ 5 callersMethodcolourIntelDialogRow
(View row, Map<String,Integer> classifier, String key)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:444
↓ 5 callersMethodcreate_feed_and_subscription
Helper to create a Feed and PushSubscription for testing.
apps/push/test_push.py:57
↓ 5 callersMethoddelete_feed
Unsubscribe from a feed. Removes it from the folder. Set the in_folder parameter to remove a feed from the correct folder, in
archive/api/newsblur.py:244
↓ 5 callersMethoddisallowed
(self, param=None, param_type=None, method=False, status_code=400)
utils/view_functions.py:196
↓ 5 callersFunctioneachCb
(element)
clients/ios/static/mark.js:896
↓ 5 callersFunctionexecute_tool
Execute a tool call and return the result. Args: tool_name: Name of the tool to execute tool_input: Dictionary of tool input
apps/archive_assistant/tools.py:216
↓ 5 callersFunctionextract_section_story_hashes
Extract story hashes referenced in each section's summary HTML. Parses <a data-story-hash="HASH"> links from the HTML and returns a dict
apps/briefing/summary.py:454
↓ 5 callersMethodextract_youtube_id
(self, url)
apps/notifications/models.py:586
↓ 5 callersMethodfeeds
( cls, user_id=None, subscription_user_id=None, calculate_all_scores=False,
apps/social/models.py:980
← previousnext →401–500 of 5,735, ranked by callers