browsertrix/backend/test
Tessa Walsh a02f7a6826
Ensure lexical sort for org names (#1958)
Fixes #1955 

Orgs list endpoint sorting now works as follows:
- Default org is always sorted first
- Name sorting now works on a lowercased version of the org names to
ensure lexical sorting

The lodash `sortBy` resorting of orgs in the "All Organizations"
dropdown list in the nav bar has also been removed so that the backend
sorting is applied instead.

Tests have been updated accordingly.
2024-07-23 13:13:04 -07:00
..
data Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
__init__.py Use archive_viewer_dep permissions to GET crawls (#443) 2023-01-09 19:11:53 -08:00
conftest.py Improve handling of duplicate org name/slug (#1917) 2024-07-10 19:24:50 -07:00
echo_server.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_api.py OpenAPI Metadata for API Endpoints (#1941) 2024-07-18 11:11:38 -07:00
test_collections.py
test_crawl_config_search_values.py Pydantic 2.x update + type fixes + python 3.12 (#1947) 2024-07-22 17:23:03 -07:00
test_crawl_config_tags.py
test_crawlconfigs.py Pydantic 2.x update + type fixes + python 3.12 (#1947) 2024-07-22 17:23:03 -07:00
test_filter_sort_results.py Separate seeds into a new endpoints (#1217) 2023-10-02 10:56:12 -07:00
test_login.py User refactor + remove fastapi_users dependency + update fastapi (#1290) 2023-10-18 10:49:23 -07:00
test_org_subs.py Add API endpoint to import subscription for existing org (#1930) 2024-07-16 16:17:02 -07:00
test_org.py Ensure lexical sort for org names (#1958) 2024-07-23 13:13:04 -07:00
test_permissions.py Paginate API list endpoints (#659) 2023-03-06 14:41:25 -05:00
test_profiles.py Disable uploading and creating browser profiles when org is read-only (#1907) 2024-07-01 23:15:38 -07:00
test_qa.py Pydantic 2.x update + type fixes + python 3.12 (#1947) 2024-07-22 17:23:03 -07:00
test_run_crawl.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
test_settings.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_stop_cancel_crawl.py Replace partial_complete -> stopped_by_user or stopped_quota_reached + operator edge cases (#1368) 2023-11-14 11:17:16 -08:00
test_uploads.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
test_users.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_utils.py Format backend with Black 24 (#1507) 2024-02-07 11:35:34 -08:00
test_webhooks.py Add crawl, upload, and collection delete webhook event notifications (#1363) 2023-11-09 18:19:08 -08:00
test_workflow_auto_add_to_collection.py
test_y_org_import_export.py Add API endpoint to delete org (#1448) 2024-07-03 16:00:11 -04:00
test_z_delete_org.py Add API endpoint to recalculate org storage (#1943) 2024-07-19 18:29:20 -07:00
utils.py Uploads API: BaseCrawl refactor + Initial support for /uploads endpoint (#937) 2023-07-07 09:13:26 -07:00