Граф коммитов

6091 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen ffacc52804 Update NSS to version 3.99 2024-03-16 21:13:59 +00:00
Ben Dean-Kawamura 9054db4bb5 Rename .cargo/config -> .cargo/config.toml
I was getting this message when running
`tools/regenerate_dependency_summaries.sh`

```
warning: `/home/ben/application-services/main/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
    Updating git repository `https://github.com/martinthomson/ohttp.git`
```
2024-03-13 20:04:00 +00:00
Tif Tran a1b5ea435c Bug 1878990 - Suggest: Extract out common SELECT SQL 2024-03-13 00:16:14 +00:00
Ryan VanderMeulen bd92517fa0 Update Glean to v58.1.0 2024-03-13 00:14:59 +00:00
Tarik Eshaq f684a2abcb Swiftformat 2024-03-12 19:12:56 +00:00
Tarik Eshaq 359ce692ce Fixes ktlint 2024-03-12 19:12:56 +00:00
Tarik Eshaq 8d26d0d463 Adds tests and changelog 2024-03-12 19:12:56 +00:00
Tarik Eshaq 3ccf6c1c8e Recieves session token from application before oauth 2024-03-12 19:12:56 +00:00
Ben Dean-Kawamura 222573ce1d Bug 1882381 - Switch to using the data path for the suggest DB
- Use the `data_path` rather than `cache_path` for the suggest DB.  This
  is prep for for storing the suggestion dismissal data in the DB, which
  should not be reset on schema upgrades.
- Don't always drop and recreate the database when the schema upgrades.
  Instead, I'm hoping we can use the code from `SuggestDao.clear` to
  delete the suggestion data so that we re-ingest it.
- Other than adding the `dismissed_suggestions` table, this doesn't
  implement any of the suggestion dismissal functionality.
2024-03-12 16:33:08 +00:00
Lina Butler f44e9d0196 Improve the Suggest component's `README`. 2024-03-08 22:55:46 +00:00
Ben Dean-Kawamura 497daa010f Bug 1884434 - log a breadcrumb when check_internal_state is successful
I also updated the check_public_state breadcrumb code so that we don't
output the successfull breadcrumb after a state mismatch.
2024-03-08 21:30:26 +00:00
Ben Dean-Kawamura ec40bd649e Initial commit for the relevancy component
Added boilerplate for UniFFI, error handling, databases, etc.  I tried
to follow the best practices from other application-services components.

Created the initial types and methods for the API.  I think all of these
should be considered works-in-progress.  It seems likely that some or
all of them will change as we implement the functionality.

Added some code to read / write URL interest data from a test binary
file currently stored in the repo.  This is also a WIP, at the very
least it needs to change to download the data from remote settings.
2024-03-08 16:18:37 +00:00
Ben Dean-Kawamura 4a2dd4c2d8 Bug 1876217 - Add full keyword support for AMP items
Parse the `full_keyword` field for downloaded AMP / wikipedia
suggestions and store it in the DB.

Use the field for AMP suggestions rather than the current
hueristic-based code.

Don't use this field for Wikimedia suggestions.  This is because the
full keyword field is just the full article title, which is already
included in the suggestion.
2024-03-07 17:08:43 +00:00
Mark Hammond a5e715b286 Remove the rc_log crate. 2024-03-07 16:51:12 +00:00
Mark Hammond 47ef7c8c98 Update some crates to avoid cargo audit errors
As part of this, update clap for app-services examples.
2024-03-06 16:02:17 +00:00
dadaa 01a52c7e6d Bug 1882954 - Expose icon mimetype in suggestions 2024-03-05 04:35:43 +00:00
Ben Dean-Kawamura a70d9ca7b1 Bug 1883413 - Handle `Disconnect` event from `AuthIssues` state
Also updated the state machine error messages.  This was based on me
trying to read through them and finding the current ones lacking.
2024-03-04 16:47:41 +00:00
Travis Long 219ca78e2c Update Glean to v58.0.0 2024-03-01 23:15:02 +00:00
Michelle Tran 78f2d581f6 PR suggestions 2024-03-01 16:18:40 +00:00
Michelle Tran 205617f7db Update components/suggest/src/store.rs
Co-authored-by: Nan Jiang <njiang028@gmail.com>
2024-03-01 16:18:40 +00:00
Michelle Tran adfdc9d4b1 Make the snapshot return specific Remote Settings Record types 2024-03-01 16:18:40 +00:00
Michelle Tran 9ce740d39f Split Suggest Ingest into Separate Remote Settings Calls
This helps with keeping track of the last ingested item for each
of the record types.

Update components/suggest/src/store.rs

Co-authored-by: Nan Jiang <njiang028@gmail.com>

Update components/suggest/src/store.rs

Co-authored-by: Nan Jiang <njiang028@gmail.com>

Update components/suggest/src/store.rs

Co-authored-by: Nan Jiang <njiang028@gmail.com>
2024-03-01 16:18:40 +00:00
Ryan VanderMeulen 84c511ee4c Bump work-testing to version 2.9.0 2024-02-29 01:56:00 +00:00
Ryan VanderMeulen e9dbc97074 Bump Android-Components to version 123.0 2024-02-29 01:56:00 +00:00
lougeniac64 c1bd7dbede Prevented outgoing syncs of scrubbed credit card records 2024-02-28 22:55:01 +00:00
Ben Dean-Kawamura 592063cbab Fxa state checker: handle public events that immediately transition to a new state
Handle the case where a public event results in an immediate public
state transition (i.e. the initial state of the internal state machine
is `Complete(new_state)`).  Copied the code that does this from
`handle_internal_event` to `handle_public_event`.

Also reworked a couple of the breadcrumb messages.  In particular, I got
confused because was both the public and internal event handlers sent
out breadcrumbs that look the same.
2024-02-28 21:24:54 +00:00
dadaa 5fc8ee2f0f Use LEFT JOIN for yelp_custom_detail SQL 2024-02-28 00:50:37 +00:00
dadaa 9fb958917b Bug 1881387 - Add score to Yelp Suggestion 2024-02-27 06:20:34 +00:00
Issam Mani fd6df75f42 fix: add more test comments 2024-02-26 15:14:43 +00:00
Issam Mani f86fd74ee9 fix: missed failing test 2024-02-26 15:14:43 +00:00
Issam Mani 396eb28c03 fix: enhance comments 2024-02-26 15:14:43 +00:00
Issam Mani 63e2bd66cb fix: lint 2024-02-26 15:14:43 +00:00
Issam Mani 116677bd05 chore: add change description to CHANGELOG.md 2024-02-26 15:14:43 +00:00
Issam Mani dc3e53408c chore: cleanup code 2024-02-26 15:14:43 +00:00
Issam Mani 0abd35b1a5 feat: port FormAutofillNameUtils 2024-02-26 15:14:43 +00:00
Dimi 14c4529a44 fix testcase 2024-02-26 15:14:43 +00:00
Dimi 031dfc91da First draft version 2024-02-26 15:14:43 +00:00
Ryan VanderMeulen 0b771d14a4 Update NDK to r26c 2024-02-21 21:07:10 +00:00
Ryan VanderMeulen 2e1a4059d2 Update Android SDK build tools to the latest releases 2024-02-21 21:07:10 +00:00
Ryan VanderMeulen 8591eea1b0 Switch NSS artifact path back to fetched archive 2024-02-21 21:01:15 +00:00
Ryan VanderMeulen c34635ac53 Update Kotlin Coroutines to version 1.8.0 2024-02-21 21:00:38 +00:00
Ryan VanderMeulen f0fe4a2cdd Use a Gradle version catalog for managing dependencies 2024-02-21 19:07:00 +00:00
Ryan VanderMeulen f189871114 Update NSS to version 3.98 2024-02-21 18:59:57 +00:00
dadaa 349ffba812 Bug 1881156 - Expose a flag whether user inputs 2024-02-21 08:41:35 +00:00
Ryan VanderMeulen e4535ca729 Explicitly use the minSdkVersion for setting the NDK API level 2024-02-20 14:25:48 +00:00
Ryan VanderMeulen 25c4fdac49 Update SnakeYAML to version 2.2 2024-02-20 14:25:08 +00:00
DIinna Smith d186fca878 Start release v125.0 2024-02-15 17:09:51 +00:00
Ben Dean-Kawamura 277d2c0224 Bug 1880329 - Tweak handling of failures to complete FxA OAuth
Transition to the `Disconnected` state in this case to match the
behavior of android-components.

I'm not sure which behavior is better or worse, but this one will make
the state machine checker happy.
2024-02-14 18:31:20 +00:00
Ryan VanderMeulen 0378f05aca Update JNA to version 5.14.0 2024-02-14 14:47:32 +00:00
Travis Long 0b241a66c0 Update Glean to v57.0.0 2024-02-13 19:16:24 +00:00