Commit graph

3425 commits

Author SHA1 Message Date
mathieui
1914cfe003
Add a cyberplugin 2015-05-11 23:35:47 +02:00
Emmanuel Gil Peyrot
af0fe9d2e4
Remove translation support, and cleanup the Makefile. 2015-05-11 22:31:16 +02:00
Emmanuel Gil Peyrot
dd98aa44a5
Remove gettext support, as we don’t want to translate poezio, and it takes more than 1ms per call. 2015-05-11 22:31:12 +02:00
Florent Le Coz
861f5c4bbd The previous commit, but correctly done this time 2015-05-10 19:28:17 +02:00
Florent Le Coz
8aecdc7db7 Fix the completion of /win when a listtab is open
And probably some other things that use ListTab.matching_names()
2015-05-10 19:26:23 +02:00
mathieui
dfd60426d8
Micro-optimizations on refresh
Reduce the number of calls to config.get whenever possible. Yields a
performance improvement of at least 10% for the basic use case of
"receiving a message in the current tab". Logging stuff isn’t free
either, even when the call should be a no-op, so we should try to make
the debug log less verbose.
2015-05-08 20:37:21 +02:00
mathieui
3171c96eed
Remove an accidentally added debug log 2015-05-08 13:56:38 +02:00
mathieui
5a88bd1c89
Don’t call for resize on /set 2015-05-08 01:41:03 +02:00
Emmanuel Gil Peyrot
96fdd5e769 Remove unreachable code. 2015-05-06 01:39:22 +02:00
Emmanuel Gil Peyrot
ec40090cda Add a missing “return logs” in PrivateTab while loading the logs. 2015-05-06 00:50:59 +02:00
Emmanuel Gil Peyrot
9770a40e5f When reading logs, don’t consider a non-existing file as an error. 2015-05-06 00:49:11 +02:00
mathieui
ae7c506477
Display the MUC-related error messages inside the MUC 2015-04-28 17:44:03 +02:00
mathieui
39c01fe3b6
Fix MUC private messages
(bug introduced in 1c9257)
2015-04-16 14:06:00 +02:00
mathieui
e78ed92ba3
Fix #2714 (make bare /bookmark use the current room password if there is one) 2015-04-14 01:34:24 +02:00
mathieui
64ec234f6b
Fix #3043 (add a hint about /access when receiving a sub request) 2015-04-13 18:42:39 +02:00
Florent Le Coz
5cc714a327 “Disconnected from server” message is now an error only if we didn't ask for it 2015-04-13 18:07:58 +02:00
mathieui
91fde24388
Display error messages inside a conversation
if the error has the same id as a sent message, it will be displayed
    with a cross where there is usually a checkmark (ack), and the
    received error will be appended to the message, in red.
if it does not have a know id, it will be added as another message to
    the conversation, without a nick, and in red.
2015-04-13 17:35:40 +02:00
mathieui
1c9257b4a2
Handle error messages for real 2015-04-13 15:24:12 +02:00
mathieui
83113d42fc
Add a "." shortcut to /set in order to set the section for the current tab JID
e.g. /set . notify_messages false would set the option for a section
named after the current tab.
2015-04-13 14:31:35 +02:00
mathieui
c8caccc9a1
Fix a bug introduced in ee6c7d3
(the command args parser would never parse three args, making /set
unable to set section-specific options)
2015-04-13 14:28:52 +02:00
mathieui
8f373ccb0e
Fix #3029 (reset completion when a command is executed) 2015-04-12 18:24:21 +02:00
mathieui
abc3af1bac
Allow /set option=value
/set displays its results in the form “option=value”, so allowing the
command to interpret the same format as a valid command is only logical
(and allows quick copy/paste and edit).
2015-04-12 18:14:25 +02:00
mathieui
ee6c7d374a
Fix #3035 (display config values on empty /set) 2015-04-12 18:10:33 +02:00
mathieui
190c7a4a7b
Save the bookmarks after changing the storage method
also fix a check that would make the handler never trigger…
2015-04-10 17:19:18 +02:00
mathieui
87e16546b9
Fix a possible traceback in the OTR plugin 2015-04-08 19:47:21 +02:00
Florent Le Coz
7b05fa47c1 Do not traceback on /set without any argument 2015-03-18 14:25:24 +01:00
mathieui
342f24bfb0
Fix the OTR timeout message
for dynamic tabs.
2015-03-18 13:36:10 +01:00
mathieui
cea4f3d189
Fix the second example in the simple_notify plugin doc 2015-03-09 01:26:02 +01:00
mathieui
28ee08cc2d
Update the documentation for roster keys 2015-03-04 20:02:37 +01:00
mathieui
627d32df80
Update the installation doc 2015-02-28 21:08:17 +01:00
mathieui
c732487f6d
Only remove src/default_config.cfg after build if we are in a develop copy
In order to not pollute src/; without this change a script doing on a
sdist-built archive:

    ./setup.py build
    ./setup.py install

would fail because src/default_config.cfg was removed after setup(), and
data/default_config.cfg does not exist
2015-02-26 23:43:43 +01:00
mathieui
190987bcff
Remove the “make” step from README.rst 2015-02-26 11:40:17 +01:00
Florent Le Coz
1a8b4eaebe The /list command should list rooms on the given fulljid, not just the bare jid 2015-02-26 03:16:42 +01:00
mathieui
4fd222a493
Remove the unused "logfile" option and do not append 'logs' to every log path 2015-02-21 23:17:59 +01:00
mathieui
1209bd94b6
Add a -c/--check-config option to check the config file
It displays the missing options and the ones which are changed
from the default values.
2015-02-21 23:16:52 +01:00
mathieui
96e97962bc
Add missing options to default_config.cfg and fix some values 2015-02-21 23:12:58 +01:00
mathieui
5fc1f9728a
Fix a bug in /bookmark 2015-02-21 22:05:32 +01:00
mathieui
2583b6a934
Add a force_remote_bookmarks option 2015-02-21 22:04:03 +01:00
mathieui
60231c27c7
Fix the uptime plugin
(slixmpp update)
2015-02-18 22:33:17 +01:00
Florent Le Coz
c9a89dad87 Revert the --version thing, it is not supposed to display the software version 2015-02-16 20:41:35 +01:00
Florent Le Coz
a657d472cd Remove the optparse backward compatibility, and fix the --version feature 2015-02-16 20:33:54 +01:00
mathieui
ca21aa7bb0
Fix the doc path
“html” and “source” were inverted
2015-02-10 21:18:09 +01:00
mathieui
14b58c528e
Update setup files
- remove “make uninstall” target which was broken a long time ago
- move very install action to the setup.py (alias “make install” to
  “python setup.py install”
- add some stuff to “make clean”
- update the config.py to search the default config file using
  pkg_resources (more reliable than dirname(__file__))
- install the html doc only if available
- use README.rst for the setup.py long_description

- also, update the copyright notice to 2015
2015-02-10 21:08:36 +01:00
Florent Le Coz
c38cddd0ff Rename README.rest in the Makefile 2015-02-10 17:14:57 +01:00
mathieui
b376cdb35e
Fix a color not going back to normal when adding a row in the BookmarksTab 2015-02-09 23:02:26 +01:00
mathieui
0e29714c95
Remove the setuptools from requirements.txt to avoid a setuptools bug
setuptools has slightly backwards (or forward)-incompatible changes when
you update its version while still having libs installed with the old
one.

We only support python 3.4, which means the virtualenv comes with
setuptools and pip already, so we don’t require to reinstall it. At
worse, people will have to read the setup.py error message.
2015-02-09 22:39:08 +01:00
mathieui
9141e0c4d3
Add a bookmarkstab (fixes #2004)
now we can edit stuff, save or cancel those modifications, and change
the chose storage easily
2015-02-09 22:35:41 +01:00
mathieui
2da4474d6a
Refactor /bookmark to avoid code duplication 2015-02-09 22:35:41 +01:00
mathieui
6d6c38a82a
Do not enable the cursor during full screen redraw
(and restore it afterwards)
Could take care of some refresh issues with the position of the cursor
2015-02-09 22:35:41 +01:00
mathieui
9b773e6909
Change the bookmark interface
move the modulename to bookmark → boookmarks
add a bookmarklist class with
remove module-level variables
do a features check on startup before trying to fetch
    the bookmarks
2015-02-09 22:35:41 +01:00