bc7912e8fb
GODT-2022: Fix change between address modes
2022-11-16 13:48:30 +01:00
e4c08be28e
Other: Don't remove/add gluon user when in combined mode
...
This used to be necessary because the connectors didn't have access
to the user's emails, but now they do, so we no longer need to do this.
2022-11-16 13:48:30 +01:00
d4da325e57
Other(refactor): Sort safe.Mutex types before locking to prevent deadlocks
...
This change implements safe.Mutex and safe.RWMutex, which wrap the
sync.Mutex and sync.RWMutex types and are assigned a globally unique
integer ID. The safe.Lock and safe.RLock methods sort the mutexes
by this integer ID before locking to ensure that locks for a given
set of mutexes are always performed in the same order, avoiding
deadlocks.
2022-11-16 13:48:30 +01:00
2bda47fcad
Other(refactor): Less unwieldy user type in Bridge
...
Instead of the annoying safe.Map type, we just use a normal go map
and mutex pair, and use safe.Lock/safe.RLock as a helper function
2022-11-16 13:48:30 +01:00
7c62312220
Other: Fix all linter errors
2022-11-16 12:26:09 +01:00
e10cd2a3ed
GODT-1901: Allow to set IMAP SSL from UI
2022-11-16 12:26:09 +01:00
fd63611b41
Other: Safer user types
2022-11-16 12:26:09 +01:00
14a578f319
Other: Linter fixes after bumping linter version
2022-11-16 12:26:09 +01:00
509a767e50
GODT-1657: More stable sync, with some tests
2022-11-16 12:26:09 +01:00
e9672e6bba
GODT-1815: Combined/Split mode
2022-11-16 12:26:08 +01:00