overleaf/services/web/scripts
Antoine Clausse 554be73a36 In collect_paypal_past_due_invoice.js, iterate over each page instead of gathering data from all pages at first (#18414)
* Create `getPaginatedEndpointIterator` to iterate each page

* Create `waitMs` util, it will replace `slowCallback`

* Make `handleAPIError` async

* Make `isAccountUsingPaypal` async

* Make `attemptInvoiceCollection` async

* Make `attemptInvoicesCollection` async

* Use `await` instead of `new Promise`

* Remove unused callbackified `attemptInvoiceCollection`

* Run `attemptInvoiceCollection` for each page instead of gathering all pages in the beginning

* Add test on fetching multiple pages of invoice

GitOrigin-RevId: 2674b18c6ca5732b873fb2bc71b515909006f93d
2024-05-27 10:23:18 +00:00
..
analytics Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
delete-duplicate-splittest-versions
delete-orphaned-docs
example
helpers Merge pull request #17926 from overleaf/jpa-batched-update-sorting 2024-04-17 08:04:09 +00:00
history
learn/checkSanitize
lezer-latex
oauth Merge pull request #17457 from overleaf/dp-local-collabratec-helpers 2024-03-26 09:04:00 +00:00
plan-prices [web] Use localized number formatting for currencies (#17622) 2024-04-19 08:03:54 +00:00
recurly In collect_paypal_past_due_invoice.js, iterate over each page instead of gathering data from all pages at first (#18414) 2024-05-27 10:23:18 +00:00
sync-user-entitlements
translations Merge pull request #17870 from overleaf/bg-node-upgrade-18-20-2 2024-04-24 08:05:16 +00:00
ukamf Merge pull request #16948 from overleaf/jpa-rails-sharelatex-rebranding-step-2 2024-02-13 09:03:35 +00:00
add_feature_override.js
add_notification_ieee_collabratec_users.js [web] Rename team name IEEECollabratec to IEEEPublications (#18387) 2024-05-17 08:05:06 +00:00
add_user_count_to_csv.js
back_fill_deleted_files.js
back_fill_doc_name_for_deleted_docs.js
back_fill_doc_rev.js
back_fill_dummy_doc_meta.js
back_fill_staff_access.js [web] Update revokeAllUserSessions and rename it to removeSessionsFromRedis (#18360) 2024-05-20 08:04:12 +00:00
back_fill_warning_user_personal_and_group_subscription.js
backfill_mixpanel_user_properties.js
backfill_project_image_name.js
backfill_user_properties.js
backfill_users_sso_attribute.js
bench_bcrypt.js
check_institution_users.js
check_saml_emails.js
clear_feedback_collection.js
clear_institution_notifications.js
clear_project_tokens.js
clear_sessions_2fa.js
clear_sessions_set_must_reconfirm.js [web] Simplify removeSessionsFromRedis signature (#18440) 2024-05-27 10:21:30 +00:00
confirmed_at_to_dates.js
convert_archived_state.js
convert_doc_to_file.js
count_encrypted_access_tokens.js
count_files_in_projects.js
count_image_files.js
count_project_size.js
create_oauth_personal_access_token.js
create_project.js
delete_dangling_file_refs.js
delete_orphaned_chat_threads.js
delete_orphaned_data_helper.js
delete_orphaned_doc_comment_ranges.js
delete_orphaned_docs_online_check.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
delete_subscriptions.js
disconnect_all_users.js
ensure_affiliations.js
extract_onboardingdatacollection_csv.js Create a script to extract OnboardingDataCollection (#17657) 2024-03-28 09:04:33 +00:00
find_malformed_filetrees.js
fix_group_invite_emails_to_lowercase.js
fix_malformed_filetree.js
fix_oversized_docs.js
force_doc_flush.js
inst_table.js
invalidate_tokens.js
mark_migration.js
merge_group_subscription_members.js
migrate_audit_logs.js
process_lapsed_reconfirmations.js
purge_non_logged_in_sessions.js Merge pull request #17291 from overleaf/bg-purge-non-logged-in-sessions 2024-02-27 17:02:10 +00:00
recover_docs_from_redis.js
refresh_features.js Merge pull request #18225 from overleaf/em-typescript-eslint 2024-05-27 10:22:20 +00:00
refresh_institution_users.js
regenerate_duplicate_referral_ids.js
remove_deleted_users_from_token_access_refs.js add missing token access fields to projects (#17372) 2024-03-06 17:27:26 +00:00
remove_email.js
remove_oauth_application.js
remove_unwanted_ieee_collabratec_users.js [web] Rename team name IEEECollabratec to IEEEPublications (#18387) 2024-05-17 08:05:06 +00:00
restore_orphaned_docs.js
restore_soft_deleted_docs.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
set_tex_live_image.js
soft_delete_project.js
split_tests_assigned_at_to_dates.js Merge pull request #17816 from overleaf/bg-eslint-rule-for-find-with-await 2024-05-17 08:04:58 +00:00
sso_id_migration_check.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
sso_id_remove_not_migrated.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
stress_test.js
tsconfig.json
undelete_project_to_user.js
unlink_third_party_id.js Merge pull request #17611 from overleaf/dp-unlink-sso-script 2024-03-26 09:04:40 +00:00
validate-data-of-model.js