e8ce8942be
feat(GODT-2788): Add preview to bug report validation.
2023-08-09 11:39:08 +00:00
9d0d3708af
feat(GODT-2808): Apply comment from Bug Report content review.
2023-08-09 11:07:15 +00:00
4c908aac7c
fix(GODT-2857): Do not check changed values in clear recent flag
...
https://github.com/ProtonMail/gluon/pull/390
2023-08-09 10:18:30 +02:00
6eb1878f66
fix(GODT-2827): Restore ticker to event poller
2023-08-09 10:17:41 +02:00
826dc2e5c3
test(GODT-2743): Sync high number of messages
2023-08-08 14:37:00 +00:00
e6ab874308
chore: Trift Bridge 3.4.1 changelog.
2023-08-08 15:06:16 +02:00
20b188368a
feat(GODT-2799): SMTP service interacts directly with Server Manager
...
Bridge no longer needs to manually add and remove accounts from the
service.
2023-08-08 14:14:52 +02:00
ded4f370dc
fix(GODT-2759): Use examine rather than select for fetching
...
When fetching messages in the debug mailbox state command, use read only
mode to avoid modifying the mailbox state.
2023-08-08 13:05:39 +02:00
519a6ecdb7
fix(GODT-2833): Migration of Message Flags
...
https://github.com/ProtonMail/gluon/pull/388
2023-08-08 12:38:54 +02:00
c35344d6f1
fix(GODT-2833): Fix migration of message flags
...
Migration of message flags was incomplete, leading to incorrect state
after migration.
https://github.com/ProtonMail/gluon/pull/388
2023-08-08 12:36:19 +02:00
a9865976a3
fix(GODT-2759): Use examine rather than select for fetching
...
When fetching messages in the debug mailbox state command, use read only
mode to avoid modifying the mailbox state.
2023-08-08 09:51:59 +02:00
9a96588afb
feat(GODT-2814): Standalone Server Manager
...
Convert ServerManger into a standalone service so that it can become a
self contained module.
2023-08-07 16:47:41 +02:00
1f2c573803
feat(GODT-2782): Apply content modification after review.
2023-08-03 18:05:33 +02:00
cc33423c1f
feat(GODT-2782): Add category name in decribe issue view + apply review comments.
2023-08-03 17:51:37 +02:00
1b95c290f1
feat(GODT-2808): Initial list of categories and questions.
2023-08-01 14:49:53 +00:00
9b88778c43
feat(GODT-2788): Add JSON validator file.
2023-08-01 14:49:53 +00:00
ae4705ba70
feat(GODT-2787): Replace the PathTracker by a more visual NavigationIndicator.
2023-08-01 14:49:53 +00:00
243ddf47ab
feat(GODT-2816): Handle maxChar even for non mandatory field + make it customisable from JSON.
2023-08-01 14:49:53 +00:00
80d729e3e5
feat(GODT-2816): Wait until mandatory fields are filled then fill body and title.
2023-08-01 14:49:53 +00:00
3d64c5f894
feat(GODT-2794): Clear cached answers when report is sent.
2023-08-01 14:49:53 +00:00
c4bcc38c53
feat(GODT-2793): Feed the bug report body with the answered questions.
2023-08-01 14:49:53 +00:00
2c2f816f3a
feat(GODT-2791): Add Unitary test.
2023-08-01 14:49:53 +00:00
86e115b2f3
feat(GODT-2791): Parse the Bug Report Flow description file and ensure forward compatibility (GODT-2789).
2023-08-01 14:49:53 +00:00
1a2783a63b
feat(GODT-2821): Display questions in one page.
2023-08-01 14:49:53 +00:00
cbbab71f5c
feat(GODT-2786): Init bug report flow description file.
2023-08-01 14:49:53 +00:00
80add80be2
feat(GODT-2792): Implement display of question set for bug report.
2023-08-01 14:49:53 +00:00
84adbbc461
chore: Trift Bridge 3.4.0 changelog.
v3.4.0
2023-08-01 07:54:57 +02:00
75811d22e8
fix(GODT-2822): rename funcs
2023-07-31 15:21:53 +02:00
e26c7683d2
fix(GODT-2822): event loop behaviour on 429.
2023-07-31 13:52:39 +02:00
f0e2688a8e
fix(GODT-2800): Ensure 429 does not cause bad event
2023-07-31 13:15:26 +02:00
06639ff6cd
fix(GODT-2800): Handle subscribe followed by unsubscribe properly
2023-07-31 13:12:29 +02:00
716de7f45a
test: Fix event registration in TestBridge_SyncWithOngoingEvents
...
We need to register the event subscriber earlier to avoid missing the
event later.
2023-07-31 12:36:06 +02:00
750de0cd31
test: TestBridge_SendAddTextBodyPartIfNotExists eventually fix
...
It may take a couple of fetch requests until the pending state updates
get applied.
2023-07-31 12:36:06 +02:00
823ca4d207
feat(GODT-2822): Integrate and activate all service
...
The bridge now runs on the new architecture.
2023-07-31 12:36:03 +02:00
a187747c7c
feat(GODT-2802): IMAP Serivce
...
Handles all IMAP related tasks. Unlike the previous iteration, this new
service automatically adds and removes users from Gluon by interfacing
with server manager.
2023-07-31 11:06:47 +02:00
11ebb16933
fix(GODT-2822): Update smtp and events service to use ordered cancel
2023-07-31 11:06:47 +02:00
0048767022
fix(GODT-28022): Missing user identity service methods
...
Add methods to access user identity state from the outside.
2023-07-31 11:06:47 +02:00
c4b75c6f34
fix(GODT-2802): Ensure cpc reply does not block if never read
2023-07-31 11:06:43 +02:00
32448063dc
test: Verify leaks at end of WithEnv
...
Helps track down the individual test leaks.
2023-07-28 15:00:23 +02:00
86bde91958
feat(GODT-2802): Ordered task cancellation
...
Add `OrderedCancelGroup` type to enforce the cancellation of go routines
in a reverse order. Additionally this type waits for the go-routine to
finish before proceeding to the next one.
We need this to guarantee that all the user services shut down properly
without deadlocking.
2023-07-28 14:50:42 +02:00
90c34406ba
test: Fix deadlock in chToType
...
Make sure the go routine is cancelled if there is a new event, but no
one is reading it after a call to done.
2023-07-28 13:32:28 +02:00
d7b71aceda
fix(GODT-2822): retry 429 for metadata and exponential cooldown GODT-2823.
2023-07-28 07:58:05 +02:00
25a787529b
fix(GODT-2822): Retry on 429 during Message ID fetch
2023-07-27 17:59:13 +02:00
f82965b825
fix(GODT-2812): Fix rare sync deadlock
...
Copy data rather than hold onto the locks while sync is ongoing. The
data in question does not change while the sync is ongoing and holding
on to the locks during a very long sync can create a deadlock with
due to some IMAP operation that needs to acquire one of those locks with
write access.
2023-07-27 17:48:55 +02:00
f1cf4ee194
fix(GODT-2822): Sync Cache
...
When the sync fail, store the previously downloaded data in memory so
that on next retry we don't have to re-download everything.
2023-07-27 17:24:20 +02:00
5136919c36
fix(GODT-2822): Handle 429 during message download
...
When we run into 429 during a message download, do not cancel the whole
batch and switch to a sequential downloader to avoid API overload.
2023-07-27 16:55:18 +02:00
334a256638
fix(GODT-2802): Remove CPC request from Event Service
...
Prevents deadlocks if the service needs to be paused during an event
loop.
2023-07-26 10:03:48 +02:00
da528f2d9b
feat(GODT-2801): Add Key Decryption helpers to identityservice.State
2023-07-25 09:59:26 +02:00
1b0f930471
fix(GODT-2802): Consolidate Address Mode
2023-07-25 09:15:52 +02:00
09c523e2d2
feat(GODT-2801): User Service Integration
...
Enable the User Event, User Identity and User SMTP service. The services
don't persist any data at the moment to avoid conflict with the existing
event loop.
2023-07-24 17:10:05 +02:00