Commit Graph
28 Commits
Author SHA1 Message Date
gbrodmanandGitHub c2bd11c528 Tweak a few console UI fields (#3146)
- treat password fields as passwords
- add Validators to a few places
- remove empty fields from billing maps if they exist
2026-07-13 16:10:44 +00:00
gbrodmanandGitHub 93ec04018f Change registry lock input to password-type (#3125) 2026-07-10 15:12:39 +00:00
Ben McIlwainandGitHub 7c23413d83 Fix Console API and Angular XSS security flaws (#3076)
This commit addresses the following security vulnerabilities identified in the recent audit of the Console App and Backend APIs:

1. Angular XSS: Removed unsafe [innerHTML] bindings across all console-webapp templates (Contact, Registrars, Registrar Details, Users List) in favor of standard Angular interpolation.
2. Broken Access Control (IDOR): PasswordResetRequestAction and PasswordResetVerifyAction now explicitly verify that the target user's email belongs to the authorized registrarId.
3. Missing Permission Check: ConsoleEppPasswordAction now explicitly checks for CONFIGURE_EPP_CONNECTION permission before updating the EPP password.
4. Denial of Service (DoS): ConsoleBulkDomainAction now strictly limits the size of bulk domain lists (configurable, default 500) to prevent thread exhaustion.
5. Denial of Service (OOM): ConsoleHistoryDataAction now uses .setMaxResults() (configurable, default 500) on JPA native queries to prevent eager loading of the entire database into memory.

Makes the history query limit and bulk domain action limit configurable via RegistryConfig, allowing smaller limits to be used in tests to avoid heavy resource persistence.

Also removes an outdated Joda-Time migration reference from GEMINI.md.
2026-06-24 20:39:42 +00:00
Pavlo TkachandGitHub 49df9c325a Update angular @21 (#2965) 2026-02-24 20:08:27 +00:00
Pavlo TkachandGitHub ed95d19b93 Provide prompt for user deletion UI (#2684) 2025-02-21 20:30:03 +00:00
Pavlo TkachandGitHub 95831bc8b7 Add suspend / unsuspend to the console (#2675) 2025-02-14 20:41:19 +00:00
Pavlo TkachandGitHub 4ec2919ce3 Update console dependencies (#2659) 2025-01-31 21:40:37 +00:00
Pavlo TkachandGitHub 40b6984ffb Improve console screen reader interaction (#2656) 2025-01-31 16:46:25 +00:00
Pavlo TkachandGitHub 765bd9834a Add more accessible names to the console (#2652) 2025-01-29 20:19:00 +00:00
Pavlo TkachandGitHub 8987fd37c2 Improve console accessibility (#2649) 2025-01-26 00:47:53 +00:00
Pavlo TkachandGitHub e3c386a8a7 Add console bulk delete (#2641)
* Add bulk actions to console

* Add console bulk delete

* Add console bulk delete
2025-01-22 15:54:59 +00:00
Pavlo TkachandGitHub 332f491ac7 Fix cut off status list on domains page (#2601) 2024-10-28 18:20:04 +00:00
gbrodmanandGitHub c68d54a5ed Don't show snackbar on rlock-load failure if 403 (#2574)
ACCOUNT_MANAGER users don't have permission to see locks so it'll throw
403s. That's OK, we don't need/want to display that error to the client.
2024-09-30 20:42:33 +00:00
gbrodmanandGitHub 730585cd14 Fix front-end unit tests (#2529)
This doesn't really add any tests, and we'll require many more additions
if we actually want to have full unit testing, but this at least makes
the tests pass when running `npm test`.
2024-08-21 16:39:29 +00:00
Pavlo TkachandGitHub 213e06f02e Add registry lock ui (#2500) 2024-07-26 16:02:19 +00:00
Pavlo TkachandGitHub 68b46735cd Prevent focus from being lost on console domains search (#2496) 2024-07-15 18:46:18 +00:00
Pavlo TkachandGitHub 5f9f157494 Move console global loader, fix table scroll bars (#2494) 2024-07-12 18:57:26 +00:00
gbrodmanandGitHub 0f0097c15c Wait to load domain list until a registrar is selected (#2485)
This isn't the worst thing in the world but it does result in a bad
request to the server otherwise, and log/error spam. So, only load the
domains list if we have a registrar selected.
2024-06-25 18:39:53 +00:00
Pavlo TkachandGitHub 15df3aea44 Update Angular 17 -> 18 (#2479) 2024-06-14 23:09:34 +00:00
Pavlo TkachandGitHub a90a85afae Fix domain page "not found" layout issue (#2474) 2024-06-08 11:36:23 +00:00
gbrodmanandGitHub b77a219e19 Move domain-list search+download outside of loading bar (#2457)
This means that they'll stick around even while we're loading domains
from the server.

https://b.corp.google.com/issues/343213150
2024-06-06 20:35:20 +00:00
gbrodmanandGitHub 589041b3ed Fully reset domain-list page on registrar change (#2456)
When the registrar changes we should reset the page and the total
results to 0 (since we haven't loaded them yet)

https://b.corp.google.com/issues/343193698
2024-05-29 12:54:01 -04:00
Pavlo TkachandGitHub e78ce42dd5 Add console DUM download (#2402)
* Add console DUM download

* Add console DUM download
2024-04-26 15:56:50 +00:00
Pavlo TkachandGitHub 59f4129ee0 Restyle registrar console based on the new design proposal (#2336) 2024-03-21 22:05:09 +00:00
Pavlo TkachandGitHub 45c5d12743 Add angular signals and computed to the console (#2308) 2024-02-01 14:15:05 -05:00
Pavlo TkachandGitHub 14ab9423f8 Update Angular to v17 (#2260) 2024-01-16 13:45:56 -05:00
gbrodmanandGitHub e5e2370923 Debouncedly use a search term in console domain list (#2242) 2023-12-08 15:37:30 -05:00
gbrodmanandGitHub 36a8908712 Add a basic domain-list page to the new console (#2219)
This does not include any styling for now, just wanted to make sure
we're all good with regards to the basic approach. I'm open to suggestion on
which columns to include.

Note: filter searching is not implemented yet because the backend does
not allow for it (yet)
2023-11-27 14:58:48 -05:00