Signal-iOS/SignalMessaging
Evan Hahn 35c314bde5
Clean up donation configuration request
This change should have no user impact.

This changes a few things about
`OWSRequestFactory.donationConfigurationRequest()`:

- Adds tests
- Converts it to Swift
- Renames it to `donationConfiguration()`
- Makes it an unauthenticated request

I'm most concerned about that last thing, because it's a behavior
change. However, I think this is safe because:

1. I tested it in a simulator and it works

2. [Android appears to do the same thing][0]

3. A normal `curl` works just fine:

   ```
   curl --insecure 'https://chat.signal.org/v1/subscription/configuration'
   ```

[0]: 657c5d2bce/libsignal/service/src/main/java/org/whispersystems/signalservice/internal/push/PushServiceSocket.java (L1074)
2023-01-25 13:10:22 -06:00
..
attachments Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
calls Fix various bugs in OWSHttpHeaders 2022-11-22 11:43:55 -08:00
categories Use title casing in filenames 2022-11-10 19:08:44 -08:00
contacts Refactor, optimize, and test setContactsMaps 2023-01-13 13:56:39 -08:00
environment Use common logic when creating web sockets 2023-01-24 14:01:34 -08:00
groups Add ContactDiscoveryManager 2022-11-15 13:37:28 -08:00
Jobs Fix compilation errors for PayPal code 2023-01-18 17:49:30 -06:00
Notifications Show a notification when being logged out via 403 from chat server 2023-01-19 15:00:01 -08:00
Payments Hide Apple Pay UI when the server disallows your region 2022-11-10 16:19:47 -06:00
profiles Drop deprecated credentials asynchronously 2022-11-15 12:49:20 -08:00
Storage Service Don’t use serviceIdentifier for Contacts 2023-01-09 12:01:34 -08:00
Subscriptions Clean up donation configuration request 2023-01-25 13:10:22 -06:00
test Refactor, optimize, and test setContactsMaps 2023-01-13 13:56:39 -08:00
utils Use new copy for in-chat gift messages 2023-01-11 14:18:48 -06:00
Info.plist Shared framework between app and extension 2017-11-29 13:58:27 -08:00
SignalMessaging-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalMessaging.h Change license to AGPL 2022-10-13 08:25:37 -05:00