Commit Graph

45 Commits

Author SHA1 Message Date
Mikaela Suomalainen
567386c8e8 Aka: add the plugin help
I assume that everyone knows what aliases are. Please see also issue
 #903.
2014-11-16 19:34:23 +02:00
GLolol
a5224fe84f Aka: fix a bug in aka show where None is returned for non-existant aliases 2014-10-03 21:56:09 +02:00
nyuszika7h
7f1d990298 Aka: Add set command to change existing aliases 2014-09-18 13:16:56 +02:00
Valentin Lorentz
0a1bf6db22 Aka: Add @show command. Closes GH-572. Closes GH-710. 2014-07-13 21:19:48 +02:00
Valentin Lorentz
4fe74ed397 Merge branch 'aka-sqlite3' into speed-up-2to3 2014-02-02 22:15:43 +01:00
Valentin Lorentz
d25a3c0724 Remove useless class. 2014-01-23 10:20:38 +01:00
Valentin Lorentz
e4ce7356c6 Aka: Use automatic incrementation when adding an alias. 2014-01-22 16:44:17 +01:00
Valentin Lorentz
5aa0c8cfbd Aka: Add SQLite3 backend. 2014-01-22 15:16:12 +01:00
Valentin Lorentz
06fdaa792f Continue accelerating the 2to3 step (remove fix_map). 2014-01-21 10:57:38 +01:00
Valentin Lorentz
162b9ef709 Aka: Add length limit of command names in order to limit the number of database queries.
There were a lot of database queries (as much as words in the whole command) for non-aka commands.
2013-12-24 14:38:26 +00:00
Valentin Lorentz
83e1d1b91b Fix previous commit. 2013-12-23 17:51:15 +01:00
Valentin Lorentz
764c788aa6 Revert "Aka: Allow optional arguments and $* together, and also multiple instances of $*."
This reverts commit 774285ef03.

Conflicts:
	plugins/Aka/plugin.py
2013-12-23 17:41:56 +01:00
Valentin Lorentz
01278dc56c Aka: Fix 'factorial-complexity' recursion and command overriding. 2013-12-11 16:01:01 +00:00
Valentin Lorentz
56570b3c9c Aka: Make sure the length of the 'args' list is always strictly decreasing when making a recursive call. 2013-12-05 12:35:02 +00:00
Valentin Lorentz
e99ad36667 Aka: Fix commit ddbadcafff (again). 2013-11-27 17:57:30 +01:00
Valentin Lorentz
feebaca292 Aka: Fix commit ddbadcafff. 2013-11-27 17:49:03 +01:00
Valentin Lorentz
ddbadcafff Alias & Aka: Add memory and nesting limits. Closes GH-525. 2013-11-27 17:38:24 +01:00
Valentin Lorentz
25dc7e092e Fix precedence of shorter Aka commands in Aka. 2013-11-09 21:19:19 +00:00
Valentin Lorentz
3883b3dfd3 Fix infinite recursion in Aka when calling a command in Aka which has a
prefix that is another Aka command.
2013-11-09 20:45:44 +00:00
Valentin Lorentz
a67b31c9ea Aka: Fix typo (Error, not error). 2013-10-23 13:42:02 +00:00
Valentin Lorentz
d78ae3de7b Aka: Fix encoding issue with Python 2. 2013-08-25 15:41:06 +02:00
Valentin Lorentz
d26a1a5be9 Aka: Fix typo. 2013-08-25 01:23:53 +02:00
Valentin Lorentz
fba38a5df9 Aka: Prevent overriding of other plugins commands. 2013-08-25 01:07:45 +02:00
Valentin Lorentz
ccafbf4847 Aka: Speed up commands listing by statically listing builtin commands instead of invoking parent's listCommands(). 2013-08-21 20:56:18 +02:00
Valentin Lorentz
d2762d9fb9 Aka: Add explicit error message if sqlalchemy is not installed. 2013-08-21 18:04:16 +02:00
Valentin Lorentz
e1d0ab2774 Aka: Fix support for non-ascii commands name with Python 2 (bug introduced in 64300b8a02). 2013-08-17 16:12:06 +02:00
Valentin Lorentz
921ff2ae07 Aka: Fix case-sensitivity. 2013-08-17 07:02:21 +00:00
Valentin Lorentz
73f63c25b9 Aka: Fix import of locked alias. 2013-08-15 10:55:57 +02:00
Valentin Lorentz
13bf8c2915 Aka: Fix crash when logging (on Python 2). 2013-08-11 11:28:53 +00:00
Valentin Lorentz
e5bac7e023 Aka: Fix previous commit. 2013-08-11 11:20:36 +00:00
Valentin Lorentz
50e3f2ab16 Aka: Use %q converter instead of %r for logging (escapes % in expression). 2013-08-11 11:10:17 +00:00
Valentin Lorentz
d6223eee9d Aka: Remove side effects in everythingReplace and fix crash when evaluating expressions where $* is in the nested command. 2013-08-11 12:02:00 +02:00
Valentin Lorentz
23dfa23f31 Aka: Prevent infinite loop (+ memory bomb) when nesting Akas using $*. 2013-08-08 14:12:02 +02:00
Valentin Lorentz
ba434b1896 Aka: Fix listCommands, which returned tuples instead of strings. 2013-08-01 10:44:19 +02:00
Valentin Lorentz
41581dac2f Aka: Add @importAliasDatabase command. 2013-07-31 19:08:49 +02:00
Valentin Lorentz
e68e7f36de Aka: Edit help of @add to match new features related to arguments. 2013-07-24 18:23:33 +02:00
Valentin Lorentz
774285ef03 Aka: Allow optional arguments and $* together, and also multiple instances of $*. 2013-07-24 13:14:25 +02:00
Valentin Lorentz
30596ad79c Aka: Add support for names with spaces in them. 2013-07-24 12:16:02 +02:00
Valentin Lorentz
235854b284 Aka: Fix encoding for Akas with non-ascii characters in the name. 2013-07-24 11:28:55 +02:00
Valentin Lorentz
d699ba18a7 Aka: Change required capability for (un)locking channel-specific Akas from admin to #channel,op. 2013-07-23 23:16:08 +02:00
Valentin Lorentz
b2205bc66d Aka: Add test for locked Aka help + bug fixed related to locking and aka use in private. 2013-07-23 23:05:45 +02:00
Valentin Lorentz
c49e088879 Aka: Add lock support. 2013-07-23 22:47:50 +02:00
Valentin Lorentz
b7a9569f72 Aka: Add some redundant constraints, just in case. 2013-07-23 21:21:21 +02:00
Valentin Lorentz
e9cbb1f60b Add support for adding global or 'other-channel'-specific Akas. 2013-07-23 21:10:26 +02:00
Valentin Lorentz
c2f039c60b Aka: First commit. 2013-07-23 21:02:06 +02:00