Jesús García Sáez
5f5b5d9273
oc: activate user context on initialization (for real)
...
Even with cached ones (completes cfab18e1b8
)
2015-11-09 19:56:05 +01:00
Jesús García Sáez
c9f2fe2f85
oc-folder: user context activation on rootFolders
...
Several fixes related with userContext activation
2015-07-21 11:08:03 +02:00
Jesús García Sáez
cfab18e1b8
oc: activate user context on initialization
2015-07-21 11:08:02 +02:00
Jesús García Sáez
3bf7afdfb7
oc: remove and disable userContext after each call
...
This adds [MAPIStoreUserContext activate] method to use
it instead of activateWithUser.
A cleanup operation is executed after each public function
so there won't be any conflicts with future calls.
In practice, this will deactivate the current user context set on
MAPIApp, this means two things: (1) set nil as current user context
on MAPIApp and (2) remove woContext from current thread dictionary
2015-07-15 11:25:45 +02:00
Jesús García Sáez
1d6f1a83af
use full login for sogo_cache_folder tables
...
So when multidomain is enabled we will have tables like
sogo_cache_folder_user_A_domain_D_com instead of just
sogo_cache_folder_user
If multidomain is disabled the folders will still be like
sogo_cache_folder_user
2015-04-14 13:18:23 +02:00
Jesús García Sáez
bb9764bc6b
Revert "oc: cached usercontext updates indexing_context"
...
This reverts commit 0750f64b787db088e944756b66fbd0883cf44cbf.
2014-11-19 17:12:28 +01:00
Jesús García Sáez
a7c2054cce
oc: cached usercontext updates indexing_context
...
Instead of use always the one given on initialization
2014-11-19 17:12:28 +01:00
Jesús García Sáez
3b2174eeec
if there is no password file for specific user, try to read global password file
...
This way we can have a master password for imap access
2014-07-02 14:51:08 +02:00
Carlos Pérez-Aradros Herce
33b353b974
Moved to abstract index_context instead of tdb_wrap
2014-07-02 14:41:25 +02:00
Ludovic Marcotte
1292c191ec
Make sure we don't have '-' in table names.
2014-06-10 08:46:35 -04:00
Ludovic Marcotte
be72456a9a
Renamed folder cache creation method
2014-05-14 09:56:10 -04:00
Ludovic Marcotte
a54b3e4289
Renamed the default table name from socfs_ to sogo_cache_folder_
2014-05-14 08:56:35 -04:00
Ludovic Marcotte
5f9fb4e1c4
Big refactor for new caching mechanism.
2014-05-13 21:06:59 -04:00
Jean Raby
7d65d808f6
Strip newline characters from user password files
...
Makes it easier to create those files with a regular editor.
2013-02-20 10:50:58 -05:00
Wolfgang Sourdeau
331b61d9b2
escape the username part of the tablename in order to obtain an acceptable SQL identifier
2012-10-22 15:17:47 -04:00
Wolfgang Sourdeau
65462b273a
dealloc: release the associated woContext, thereby fixing a mem leak
2012-10-07 00:17:06 -04:00
Wolfgang Sourdeau
37ccb0875c
Check whether the "INBOX" folder has the "noinferiors" flag set before declaring that it accepts subfolder creation
2012-09-26 11:50:28 -04:00
Wolfgang Sourdeau
c2a63a3d8e
Monotone-Parent: 86fd1ace33a761145516f77910d46684fbe4f423
...
Monotone-Revision: 3ded00a80ce87781ff6767f6fe38a12735a48340
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-09T19:42:38
Monotone-Branch: ca.inverse.sogo
2012-08-09 19:42:38 +00:00
Ludovic Marcotte
9be1c93f84
See ChangeLog
...
Monotone-Parent: 7a464f08b5ba1b713a0beec23ddfa576c9023439
Monotone-Revision: 22735bbc1319155936115d59c7f2699c32dc60f1
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-08-02T13:18:09
Monotone-Branch: ca.inverse.sogo
2012-08-02 13:18:09 +00:00
Wolfgang Sourdeau
5aa0db4d7b
Monotone-Parent: 204d5491d1eef2c2a95ac2f31f32e5ab833a3ad8
...
Monotone-Revision: 63de63b9d1691f5af7ec1b790f5201ae73cfa036
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-24T20:45:03
Monotone-Branch: ca.inverse.sogo
2012-07-24 20:45:03 +00:00
Wolfgang Sourdeau
95a443d89a
Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b
...
Monotone-Revision: 905276f295d6f28a6946297f6a7af9ad60f71842
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-29T17:59:38
Monotone-Branch: ca.inverse.sogo
2012-06-29 17:59:38 +00:00
Wolfgang Sourdeau
2adcb276b2
Monotone-Parent: 4899b773e21bd6c56bae726bf720e184b8ef9ec0
...
Monotone-Revision: cb7b77723f765942d950c5620150b720f5d0c5b1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-30T15:33:47
Monotone-Branch: ca.inverse.sogo
2012-03-30 15:33:47 +00:00
Wolfgang Sourdeau
d5964f3fdd
Monotone-Parent: 4a7c44a79feb3e8d5e76eb15e2e3fbe5c2dcf7fa
...
Monotone-Revision: edfc795ccfa7cf0b564762207d8377e9a1d4e650
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-27T18:43:42
Monotone-Branch: ca.inverse.sogo
2012-02-27 18:43:42 +00:00
Wolfgang Sourdeau
82b2bedd7e
Monotone-Parent: 5acda2afec59d0f39574d366491c5ae9f40fa3de
...
Monotone-Revision: 638f19a902b772b34bc553dda4b8925b5d0639df
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-02T01:50:45
Monotone-Branch: ca.inverse.sogo
2012-02-02 01:50:45 +00:00
Wolfgang Sourdeau
f3cbd4f172
Monotone-Parent: 0a8c7dabf7593bb4006f867c16170e5c59ac875a
...
Monotone-Revision: 0e5cfd9eddf3cfeb9a5ff45ef7e78508b2d5a686
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-30T20:17:21
Monotone-Branch: ca.inverse.sogo
2012-01-30 20:17:21 +00:00
Wolfgang Sourdeau
3ce82f744d
Monotone-Parent: 881d0e4a9a9117f8671dd4758b691044c07a1247
...
Monotone-Revision: 6e52ef029c1ba3330e77bd6dcc994c86557f4533
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-29T19:40:44
Monotone-Branch: ca.inverse.sogo
2012-01-29 19:40:44 +00:00