Commit graph libervia-backend/src/memory
Author SHA1 Message Date
Goffi
e51a8a650b core: added forgotten errback in sqlite's deleteProfile 2013-01-21 00:59:50 +01:00
Emmanuel Gil Peyrot
45488f486c Fix pep8 support in src/memory. 2013-01-18 17:55:35 +01:00
Emmanuel Gil Peyrot
88074cd284 Remove every old-style class. 2013-01-18 17:55:35 +01:00
Emmanuel Gil Peyrot
27b3592e16 Remove trailing whitespaces. 2013-01-18 17:55:34 +01:00
Emmanuel Gil Peyrot
6216bf7642 Remove useless trailing semicolons. 2013-01-18 17:53:08 +01:00
Goffi
2596ea291b core, plugin imap, plugin smtp: fixed SMTP/IMAP integration. /!\ Profile need to be connected for IMAP server to work (will change in the future) 2013-01-08 00:46:38 +01:00
Goffi
def79e44cd dates update 2013-01-07 23:30:13 +01:00
Goffi
252e4ccf6f core: sqlite storage constraint fix 2013-01-07 00:57:50 +01:00
Goffi
9cd074ebd2 core: paramaters are now merged: if a parameter doens't exist in loaded xml but exists in default parameters, it is added 2012-12-16 18:01:06 +01:00
Goffi
2d7fa87643 core: added Port parameter 2012-12-16 17:59:50 +01:00
Goffi
ead8ac7ebd core: fixed presence cache error 2012-12-06 22:11:41 +01:00
Goffi
fa38394401 core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
- added profile argument to askConfirmation, actionResult, actionResultExt, entityDataUpdated, confirmationAnswer, getProgress
    - core, frontends: fixed calls/signals according to new bridge API
    - user of proper profile namespace for progression indicators and dialogs
    - memory: getParam* now return bool when param type is bool
    - memory: added getStringParam* to return string instead of typed value
    - core, memory, storage, quick_frontend: getHistory now manage properly multi-profiles
    - plugins XEP-0047, XEP-0054, XEP-0065, XEP-0077, XEP-0096; multi-profiles proper handling
2012-11-10 16:38:16 +01:00
Goffi
fef2b1a620 core, bridge, quick_frontend: MUC private messages history management:
- history now store message type
    - sqlite3 storage: fixed resource management in getHistory
    - bridge: added message type in getHistory return value
    - quick_chats: (ugly) hacks to manage private history filtering/nickname printing
2012-10-17 00:35:48 +02:00
Goffi
c520325941 frontends, core, plugin XEP-0045: leave implementation + better nick change
- memory: individual entity cache can be deleted
	- plugin XEP-0045: nick change are now detected and userChangedNick signal is sent instead of joined/left
	- plugin XEP-0045: leave implementation
	- frontends: userChangedNick signal management
	- Primitivus: an alert is shown in notification bar in case of error in sendMessage
2012-09-28 00:26:24 +02:00
Goffi
0f6de78a3b core, quick frontend, plugin xep-0054, bridge: use of memory's entities data for vcard:
- bridge: new bridge method getEntityData and signal entityDataUpdated
	- core: entityDataUpdated signal sent on new string data
	- quick frontend: fixed avatars/vcard infos, fixed _replace in quick_contact_list
	- plugin xep-0054: dropped updatedValue signal, use entities data instead
2012-09-26 01:23:56 +02:00
Goffi
60446bddf3 core: memory bug fix 2012-08-17 03:20:40 +02:00
Goffi
8e8e67f8f3 core: entity cache misc data management + error moved to core.exceptions in memory 2012-08-17 03:07:22 +02:00
Goffi
8f622601c6 core: presence status + last resource refactored and kept in entitiesCache in memory.py, profile cache is purged on disconnection 2012-08-15 15:50:46 +02:00
Goffi
559d72a40a core: fixed bad try/except block in memory 2012-08-12 15:49:08 +02:00
Goffi
c5a930b627 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+ 2012-08-01 22:53:02 +02:00
Goffi
972b4c2555 core: Roster cache refactoring: cache is now managed by client's SatRosterProtocol instance. 2012-03-26 00:22:49 +02:00
Goffi
6921df69f5 backend: added warning message when jabberfr workaround is used + fixed missing warning method 2012-03-13 22:04:03 +01:00
Goffi
21dbb4473a copyleft date update 2012-03-06 09:07:24 +01:00
Goffi
7ecf184da0 core: fixed Params class name in load_default_params 2012-03-06 09:03:19 +01:00
Goffi
53f1b5fcce core: - history management improved
- better timestamp precision for history
bridge + core: history signature change (now return a list instead of a dict, and timestamp is now float)
quick_frontend: - use of new history API
				- removed deprecated keep_last argument in getHistory (was only used by Sortilège)
2011-12-04 16:18:56 +01:00
Goffi
2d3c8d197d core: getPrivate/setPrivate removed from memory, private values now use database storage and persistent dicts \o/ 2011-12-03 23:33:00 +01:00
Goffi
0a1047bf45 core: added get method to PersistentDictionary 2011-12-03 22:21:52 +01:00
Goffi
383f58333f core: fixed bad query in Sqlite storage 2011-12-03 22:21:27 +01:00
Goffi
04e8ab3291 plugin maildir: maildir now use PersistentBinaryDictionary to store profile specific data
/!\ profile needs to be connected for maildir/imap/smtp plugins to work, this has to be fixed
2011-12-03 15:50:09 +01:00
Goffi
75b502fff5 core: sqlite persistentBinaryDict storage fix 2011-11-30 00:23:50 +01:00
Goffi
f885ec0d74 core: - memory refactoring (moved memory.py and sqlite.py from tools to memory)
- private values are now stored in storage (currently sqlite database) and splitted in normal/binary storage. Normal storage is for string key/values, binary storage is for string key and any python data for value
	  - PersistentDict and PersistentBinaryDict are sugar classes to manage the data in storage thought a python dictionary like class.
2011-11-20 15:34:37 +01:00