Commit Graph
4871 Commits
Author SHA1 Message Date
Pavlo TkachandGitHub 03711481cd Fix console screenshot tests flakiness (#2590) 2024-10-10 21:17:42 +00:00
gbrodmanandGitHub c32fb2fc71 Add screenshot tests for the new registrar console (#2577)
This required updating to a newer version of Selenium, building the
console dist/ folder, and serving that folder.
nomulus-20241010-RC00
2024-10-09 16:44:34 +00:00
Pavlo TkachandGitHub 6e77c89cd6 Add console users screen (#2576) nomulus-20241009-RC00 2024-10-08 16:00:47 +00:00
Lai JiangandGitHub 5e41e84b8d Upgrade avro version (#2587)
Per b/371714822.
nomulus-20241008-RC00
2024-10-07 15:43:53 +00:00
Lai JiangandGitHub bfd569ee44 Add Aman to CONTRIBUTORS (#2586)
Give credit where credit it due @sanger2000.
nomulus-20241005-RC00 nomulus-20241006-RC00 proxy-20241007-RC00 nomulus-20241007-RC00
2024-10-04 22:46:25 +00:00
Lai JiangandGitHub b13a33347f Add Juan to CONTRIBUTORS (#2584) nomulus-20241004-RC00 2024-10-03 23:59:10 +00:00
Lai JiangandGitHub d17a6edf12 Try to fix CodeQL java actions (#2583)
These flags are suggested by GitHub support to disable reusing caches
during Gradle build. They think that could fix the intermittent error
message:

```
Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.19.0/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14576 --verbosity=progress++ /home/runner/work/_temp/codeql_databases/java". Exit code was 32 and last log line was: CodeQL detected code written in Java/Kotlin but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.
```
2024-10-03 19:54:26 +00:00
Lai JiangandGitHub 7255ebff29 Fix a redirect bug (#2582) 2024-10-03 16:51:54 +00:00
Pavlo TkachandGitHub cacc90097a Set POST method to SyncRegistrarSheetAction invocation (#2580) nomulus-20241003-RC00 2024-10-02 15:32:38 +00:00
Lai JiangandGitHub 0ef8984767 Remove schedule CodeQL run (#2581)
This fails for me every day for some reason (starting about a month
ago). The same commit went through the workflow fine when the action was
triggered by a push.

I think there's no reason for us to have a cron run as the changes to the
master branch can only come from commit pushes.
2024-10-02 15:29:55 +00:00
Juan CelhayandGitHub 7a4abd93dc Add discount price param to GenerateAllocationTokens command (#2578)
* Add discount price param to GenerateAlloCationTokens command

* add discount price param to UpdateAllocationTokens command
nomulus-20241002-RC00
2024-10-01 22:20:21 +00:00
Lai JiangandGitHub 142c910e3b Disable legacy registrar console (#2575) 2024-10-01 19:42:35 +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.
nomulus-20241001-RC00
2024-09-30 20:42:33 +00:00
Pavlo TkachandGitHub d17188b820 Add console users action (#2573) nomulus-20240930-RC01 2024-09-30 15:39:38 +00:00
Lai JiangandGitHub cbe59b6950 Upgrade to use Gradle setup-gradle v4 (#2569)
I have seen a lot of CodeQL errors recently for no apparent reason.
Hopefully this will fix them.
nomulus-20240927-RC00 nomulus-20240928-RC00 nomulus-20240929-RC00 proxy-20240930-RC00 nomulus-20240930-RC00
2024-09-26 20:45:07 +00:00
Ben McIlwainandGitHub 2b3c6525ff Add some basic info logging to RefreshDnsForAllDomainsAction (#2572)
BUG=http://b/369842541
2024-09-26 19:03:08 +00:00
Lai JiangandGitHub 72dd8658cf Upgrade to Gradle 8.10.2 (#2571) 2024-09-26 17:53:45 +00:00
Lai JiangandGitHub c0490f7777 Update google-java-format (#2570)
Also converted regex strings in the Python script to raw strings as
future Python versions will start to reject them.

See: https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
2024-09-26 14:49:38 +00:00
Lai JiangandGitHub a22a38527b Make GPG related tests work with the latest version of GPG (#2568)
Newer versions of GPG (v.2.4.5 in my case) has uses different wording
then what's available in our build image (and Ubuntu I suspect). For
example it says "rsa2048" instead of "2048-bit RSA".

Make the tests work in both cases. Admittedly we cannot check for the
string RSA/rsa easily, but I don't think it matters much for tests.
2024-09-26 14:10:07 +00:00
Lai JiangandGitHub 08203033a2 Make the db object sync job more reliable (#2567)
It looks like /usr/bin/python *may* no longer exists in the latest cloud
builder git image. I ran the latest image and logged into it to verify
that /usr/bin/python3 does exist on 9/25, and again on 9/26 where it
re-appeared.

I think it is generally a good idea to not rely on it being there going
forward.
nomulus-20240926-RC00
2024-09-26 02:10:00 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d0482a8f2c Bump rollup in /console-webapp in the npm_and_yarn group (#2566)
Bumps the npm_and_yarn group in /console-webapp with 1 update: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 4.16.4 to 4.22.4
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.16.4...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 18:47:21 +00:00
Juan CelhayandGitHub e6a2db8075 Add discount price to AllocationToken (#2559)
* Include discount price in domai n pricing

* Partial progress in logic

* Tests and logic passing

* Change pricing for multi year create

* Tests for discount pricing logic

* Token currency check

* Add some comments

* Java formatting

* Discount price to Optional

* Change discount price to be optional nullable

* Re-add deleted tests
nomulus-20240924-RC00 nomulus-20240925-RC00
2024-09-23 20:18:33 +00:00
Lai JiangandGitHub 7929322e95 Connect to the correct endpoints based on runtime (#2540)
* Connect to the correct endpoints based on runtime

* Address code review comments

* Add checks for HTTP methods
nomulus-20240921-RC00 nomulus-20240922-RC00 proxy-20240923-RC00 nomulus-20240923-RC00
2024-09-20 18:39:54 +00:00
Lai JiangGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5c35811eb9 Upgrade protobuf (#2565)
Patched from https://github.com/google/nomulus/pull/2564.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 17:56:53 +00:00
Weimin YuandGitHub 4ba0f4a2cd Change nested transact calls to retransact (#2563) 2024-09-20 15:16:52 +00:00
Lai JiangandGitHub e167b4b753 Make the cloud scheduler deployer GKE-aware (#2562)
Depending on if a "--gke" parameter (must be the last one) is passed,
the deployer constructs the corresponding URIs for GAE or GKE
accordingly.

TESTED=Used the deployer to deploy tasks to alpha and verified that they
run on GKE.
nomulus-20240920-RC00
2024-09-19 16:28:08 +00:00
Joaquin GimenezandGitHub c47f821754 Fix typo in docs (#2520) nomulus-20240919-RC00 2024-09-18 18:57:27 +00:00
Weimin YuandGitHub febdbc0468 Drop the transact call in IdService (#2561)
* Drop the `transact` call in Id services

All usages already routed through `tm().allocateId()`, which is
guaranteed to be in a transaction.

* Addressing reviews
2024-09-18 18:18:36 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a988732d65 Bump the npm_and_yarn group in /console-webapp with 5 updates (#2560)
Bumps the npm_and_yarn group in /console-webapp with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [body-parser](https://github.com/expressjs/body-parser) | `1.20.2` | `1.20.3` |
| [express](https://github.com/expressjs/express) | `4.19.2` | `4.21.0` |
| [path-to-regexp](https://github.com/pillarjs/path-to-regexp) | `0.1.7` | `0.1.10` |
| [send](https://github.com/pillarjs/send) | `0.18.0` | `0.19.0` |
| [serve-static](https://github.com/expressjs/serve-static) | `1.15.0` | `1.16.2` |


Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: path-to-regexp
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: serve-static
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
nomulus-20240918-RC00
2024-09-17 22:40:24 +00:00
Juan CelhayandGitHub 7ee541e1b1 Add activeOrDeletedSince parameter to RefreshDnsForAllDomainsAction (#2556) 2024-09-17 16:02:25 +00:00
Lai JiangandGitHub b07769bdee Switch to new jaxb runtime (#2558) nomulus-20240917-RC00 2024-09-16 22:39:59 +00:00
Weimin YuandGitHub 9db016638e Use repeatable-read in some batch actions (#2557) 2024-09-16 18:56:33 +00:00
Weimin YuandGitHub c3d164d462 CheckApi should use replica (#2554) 2024-09-16 16:10:28 +00:00
Lai JiangandGitHub 352618b3b7 Use Jcommander 2.0 (#2552) nomulus-20240914-RC00 nomulus-20240915-RC00 proxy-20240916-RC00 nomulus-20240916-RC00 2024-09-13 16:06:50 +00:00
Lai JiangandGitHub 0389b0d2d9 Upgrade to Gradle 8.10.1 (#2533) nomulus-20240912-RC00 nomulus-20240913-RC00 2024-09-11 21:36:12 +00:00
gbrodmanandGitHub 8906a82e3b Update dependencies esp. antlr+jcommander (#2550) 2024-09-11 15:49:54 +00:00
Weimin YuandGitHub f6e42896c3 Build uber jars as multi-release (#2549)
Several jars in our dependencies are now multi-release, including
dnsjava and snakeyaml, and a few more. Such jars include
jvm-version-specific classes that will only be loaded by the vm that can
handle them. All it takes is a new manifest attribute.

This change allows us to upgrade to dnsjava3.6+: the base (java 8) version of
this jar breaks java21. The correct manifest allows java21 to find the
classes it needs.
nomulus-20240911-RC00
2024-09-10 18:12:25 +00:00
Juan CelhayandGitHub 4d3dec54cf First PR for adding discount price into AllocationToken. (#2547) nomulus-20240907-RC00 nomulus-20240908-RC00 proxy-20240909-RC00 nomulus-20240909-RC00 nomulus-20240910-RC00 2024-09-06 20:46:04 +00:00
Weimin YuandGitHub f082ffffe3 Suppress misleading error-level logs by hibernate (#2546)
Update logging configs after Hibernate 6 migration.
2024-09-06 18:10:04 +00:00
Ben McIlwainandGitHub 5f23f2a15a Reduce cardinality of reserved list processing time metric (#2542)
This single metric currently accounts for 22.2% of our total metrics bill,
almost double the size of our EPP requests metric, while also simultaneously
being much less useful. This change reduces the cardinality by removing two
parameters we don't care that much about, which should significantly reduce the
size and thus the cost. If after this change the metric is still too large, I'll
also then remove the matchCount parameter from this metric. We could possibly
even consider deleting the metric in its entirety, as we hardly ever use it.

This PR also removes unused code for premium list metrics that have never
actually been written out (and that we won't bother with at this point).
nomulus-20240906-RC00
2024-09-05 19:41:20 +00:00
Weimin YuandGitHub 7ed7cf3340 Fix BSA batch query for all unblockables (#2544)
Typo in sql script resulting in some unblockables not loaded.

See b/361770793
2024-09-05 19:33:26 +00:00
ab60ac44fd Migrate DNS query table (#2543)
Co-authored-by: Lai Jiang <jianglai@google.com>
nomulus-20240905-RC00
2024-09-04 17:42:12 +00:00
Weimin YuandGitHub d9ad39cdad Upgrade to Hibernate6 and Jaxb4 (#2526)
* Rebase

* Addressing commetns

* Addressing comments

* Auto convert Duration and Money
nomulus-20240904-RC00
2024-09-03 18:02:53 +00:00
Juan CelhayandGitHub bac4e22bff Add retries to DriveConnection.listFiles() on GoogleJsonResponseExceptions (#2541)
* Add retries to DriveConnection.listFiles() on GoogleJsonResponseExceptions

* Remove unused import

* Remove unread variable

* Add comment inputs

* fix formatting

* Remove period from error message.
2024-09-03 14:27:00 +00:00
Pavlo TkachandGitHub ab5f6cc229 Add environment support to the console build (#2539) nomulus-20240831-RC00 nomulus-20240901-RC00 proxy-20240902-RC00 nomulus-20240902-RC00 nomulus-20240903-RC00 2024-08-30 18:31:28 +00:00
gbrodmanandGitHub 1765f4f0b4 Allow skip of emailing/uploading for activity reports (#2538)
This will help us if/when we need to run the report generation multiple
times, or for past dates and we don't want to send extra emails or
upload any extra reports to ICANN.
nomulus-20240826-RC01 nomulus-20240827-RC00 nomulus-20240828-RC00 nomulus-20240829-RC00 nomulus-20240830-RC00
2024-08-26 20:25:31 +00:00
gbrodmanandGitHub e88c6e1550 Update activity/txn reporting to use new GAE log format (#2535)
Instead of having to parse the protoPayload.line from the request logs,
we just want to inspect the textPayload from the app logs (stored in a
separate table). This applies to the EPP metrics from the activity
reporting and the attempted-adds column for the transaction reporting.
2024-08-26 19:41:40 +00:00
Pavlo TkachandGitHub 1739c6d74f Update node.js to v22 (#2537) 2024-08-26 18:15:39 +00:00
Pavlo TkachandGitHub 66513a114e Add OT&E UI to the new console (#2536) nomulus-20240824-RC00 nomulus-20240825-RC00 proxy-20240826-RC00 nomulus-20240826-RC00 2024-08-23 20:53:45 +00:00
Pavlo TkachandGitHub 0e808a4c01 Add OT&E create and status to the new console (#2534) nomulus-20240823-RC00 2024-08-22 20:03:56 +00:00