Commit graph libervia-backend/src/sat.tac
Author SHA1 Message Date
Goffi
75fe2d0638 core: sat bakcend is now a twisted plugin (no more .tac file) 2014-08-24 18:44:17 +02:00
Goffi
ed2abd3971 core (log): moved configuration to core.log_config; this avoid import issues with pyjamas. 2014-05-14 12:51:24 +02:00
Goffi
675921a7d7 core: if in debug mode and ipdb is present, use ipdb instead of pdb 2014-05-05 20:16:14 +02:00
Goffi
39989cc985 primitivus: use of new logging system:
- default output is \\memory
    - logs can be seen with :messages command
    - now useless writeLog method has been removed
2014-05-05 20:12:19 +02:00
Goffi
317342b616 core (log): configuration and environment variables are now checked for log level and colors:
- variable change logs behaviour, so far only level and colors are implemented
    - configuration use log_[name], for example you can put log_level=debug in sat.conf (section [DEFAULT]) to see all levels
    - environment variables use SAT_LOG_[NAME]: e.g. SAT_LOG_LEVEL=debug
    - colors can be true, false or force to force colors even if stdout is not a tty
2014-04-19 20:11:23 +02:00
Goffi
f05724db74 core: logging refactoring, first step:
- added a core.log module
    - 3 backends can be used: basic, standard (python's logging module) or twisted
    - colors can be used
    - the module has been made to be used by frontends, it should work in exotic environments like pyjamas
    - logging basic configuration is now made in sat.tac
    - core.log configuration is inspired from python standard logging, and use it when possible
    - getLogger should be used the same way as for standard logging
2014-04-19 00:02:38 +02:00
Goffi
2ca6efd8cc dates update 2014-02-04 18:32:49 +01:00
Goffi
5a00dc9503 core: i18n refactoring:
- _() is no more installed in __builtin__
    - instead, there is a new sat.core.i18n module
    - added D_() method for deferred translation
    - languageSwitch method allow to dynamically change translation language
    - import gettext is tested against ImportError, and dummy methods are used when not available (mainly useful for Libervia)
2013-12-29 17:06:01 +01:00
Goffi
1cd98e8dea fixed licences in docstrings (they are now in comments) 2013-03-08 00:36:22 +01:00
Goffi
def79e44cd dates update 2013-01-07 23:30:13 +01: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
21dbb4473a copyleft date update 2012-03-06 09:07:24 +01:00
Goffi
905118a774 core: main SAT class now moved in its own module core.sat_main 2011-05-23 21:32:28 +02:00
Goffi
021d926b27 Core: created a new core module where xmpp classes are put 2011-05-23 21:18:58 +02:00
Goffi
13ce598a50 core: fixed bad profile check in connect method 2011-05-10 15:46:20 +02:00
Goffi
d2fa73e625 QnD workaround for presence broadcast openfire bug 2011-04-16 18:06:22 +02:00
Goffi
c665864404 core: server identities are now save in memory 2011-04-07 22:21:16 +02:00
Goffi
2a135dc3be core: wokkel behavious work around on VersionHandler to avoid XEP-0115 issue with ejabberd (see comments for details)
iq fallback trace not shown anymore when iq is actually handled
2011-02-08 00:01:53 +01:00
Goffi
b91973e803 core: added plugin dependency not found import error 2011-02-06 23:32:13 +01:00
Goffi
afd456aa1d core: added plugin dependency management 2011-02-06 22:41:32 +01:00
Goffi
72e279c1f7 added plugin xep-0115: entity capabilities 2011-02-03 01:27:57 +01:00
Goffi
844b9662fa new xml log plugin 2011-02-01 23:07:08 +01:00
Goffi
894e276dec bridge, bridge constructor: fixed mix stuff 2011-01-30 22:54:58 +01:00
Goffi
cf5ee72a52 Bridge: rename connection_error to connectionError for function name consistency 2011-01-25 15:24:31 +01:00
Goffi
793e6d6c3d bridge: constructor and template improved, documentation added 2011-01-24 17:47:45 +01:00
Goffi
9951b0b116 core: fixed default message type 2011-01-23 14:14:47 +01:00
Goffi
a0a70750c6 Added management of connection error
- core: connection_error signal is sent if it's impossible to connect
- bridge: added connection_error signal
- quick_frontend: an error_message is shown when a connection_error is received
2011-01-22 15:53:56 +01:00
Goffi
59d6090e73 Added SMTP server plugin, for sending messages from classic MUA \o/
- added subject managing in sendMessage
2011-01-18 03:59:59 +01:00
Goffi
bf514891c2 plugin IMAP, plugin Maildir: profile management
- IMAP Login/pass is now checked against profile name/jabber pass
- Mailboxes are now per-profile
- flags are now checked without case sensitiveness
2011-01-18 00:57:26 +01:00
Goffi
ab1f963c7e Core: Trigger implementation + version number update
- first trigger: MessageReceived
- switching to dev version 0.1.1D
2011-01-17 00:15:28 +01:00
Goffi
5435db1cf3 version updated to 0.1.1 2011-01-14 15:20:39 +01:00
Goffi
8f52540b79 version, README, CHANGELOG and INSTALL updates 2011-01-12 18:21:08 +01:00
Goffi
02509cdeb1 2011 copyright upgrade 2011-01-05 18:52:38 +01:00
Goffi
e589cf370b distutils install: fixed plugin import and log file path 2011-01-05 02:39:35 +01:00
Goffi
ff07dfb2b8 distutils installation script, draft 2011-01-05 01:56:36 +01:00
Goffi
e4452c4b03 Files reorganisation 2010-12-29 01:06:29 +01:00
Renamed from sat.tac (Previous history)