Age | Commit message (Collapse) | Author |
|
Fixed messing up messages in a groupchat
Fixed XHTML-IM for groupchats and private chats
Added cache for user information requests, which will make transport use less API requests
Fixed users' fall-out from Poll
Added ability to use message's body from the poll answer without an extra request
Added MORE poll debug
Fixed crashlog writing in longpoll.py
Fixed exception when user had no attribute “vk”
Fixed messing up users settings when they used different letter case
Added a logline parameter to the APIBinding class which will make debug easier
Added debug for slooooooooow requests
Extended global message feature. Now it's like the servers' one
Fixed token checking
Fixed error when transport sent offline presences to users with several resources
Added sticker sending (XHTML-IM)
|
|
|
|
Make groupchats persistent#2
|
|
Fixed a bug within room config
|
|
Update readme
|
|
Fix removing registration if user is not online (e.g. w/ wrong
subscription)
|
|
Make groupchats persistent
|
|
|
|
|
|
|
|
|
|
Fix bug: README files in extensions/ were treated as python modules
|
|
|
|
|
|
Update documentation
|
|
|
|
Fix longpoll: now user won't fall out the Poll
Fix several captcha exceptions
Split get&set in mod_iq_register to a different functions
Fix several wrong argument exceptions in mod_prs_main
No code climate changes were applied.
|
|
Add subscription request after transport have added users to user's roster by RosterX
Overall code cleanup
|
|
|
|
|
|
VK class
New logic in mod_iq_register
Overall code quality changes.
|
|
|
|
Add groups support for roster contacts (via RosterX feature)
Code cleanup & fixes in groupchats extension
Custom registration forms (not done yet, check out library/forms.py)
Little refactoring in modulemanager library
WARNING: This commit may contain breaking changes. It may break
especially groupchats, module management, settings management,
registration process. DO NOT UPDATE to this release unless you're a pro.
|
|
Add CodeClimate badge
|
|
The most hard thing was rewriting the core and modules to follow PEP8
guidelines. Still not complete. And will not be completed.
Changed config defaults (especially port and pidFile fields)
New config option: RUN_AS to run the transport as a specified user (root
access required, I think). Plugin variables removed as well.
Parts of the code in core was split into the modules: defaults (for
default variables), settings (for user/transport settings), longpoll
(for longpoll, obviously), utils (for cross-module used functions)
Removed unneeded API-call in avatar_hash plugin. Now we hash all user's
friends avatars
Removed plugin-specific variables from the core.
Fixed watcher messages
The code of vkapi module (APIBinding class) was split into a
PasswordLogin and APIBinding classes.
New error handling by vkapi: if it receives “too fast” error, it
increases waiting timeout for 0.05 sec until it'll be fine
Brand new API for modules
In conclusion, I can say that the transport has gone through a huge code
cleanup process. I cleaned up especially the core, library and modules.
Well, you can see the diff anyways.
Meet a brand new VK4XMPP v3.0
And I really hope it will be the last commit. Really, it's enough, I'm
done.
|
|
Replace URL_VCARD_NO_IMAGE in the config by a new URL
|
|
Fix possible exception in groupchats, if user changed their nick
Add setting to send nicknames (screen_name) instead of full name in
stanzas
|
|
Fixed ignoring messages from stragers
|
|
Ok. Here we are:
Add "nick" column to groupchats table to save chat's owner nickname. This will prevent losing messages if chat wasn't initialized
Split module "writer" into 2: writer and printer. First is for crash logs, second is for printing messages to stdout
Fixed chats extermination
Fixed initialization order: logger now should be initialized at the right time
Fixed stats: no crash should occur on wrong ps output
|
|
Fixed user deletion in user_activity
Fixed a typo in groupchats.py
|
|
|
|
Fixed possible KeyError in Poll if user disappeared while we were initializing Poll
|
|
Update locales
|
|
|
|
|
|
|
|
Fixed a typo in mod_iq_vcard
New admin feature: now you can easy (re)/(un)load any transport's module and reload extensions
Little code cleanup in mod_iq_disco and added a warning about it's code
|
|
Little code cleanup in mod_iq_disco
|
|
groupchat”
New option in transport settings: Transport now can automatically call a Dalek to exterminate user when they leave a chat
New plugin: interpreter; replaces mod_msg_main features: eval and exec. Now you can disable such commands for better security
|
|
Added new events: 08 and 09 (see plugin .example.py for more information)
Replaced code “with Database(...” by runDatabaseQuery()
Added last_used timestamp for groupchats
Added inactive groupchats exterminator
Groupchats are now kept in the database, so nothing will be missed or messed
As groupchats are now in the database, the function that was calling for Daleks to exterminate a chat was completely rewritten, so now Daleks don't have to exterminate any VK administrator to find out the groupchat owner
TransportFeatures and UserFeatures was cleared in the kernel and now they must be filled by modules and extensions
Added "force_vk_date" to user's settings to force VK timestamp for messages
A brand new Module Loader that allows you easy to load, unload and reload any module
A bit of optimizations for html unescape
As there are new events: 08 and 09, the Watcher now is a plugin
Kilobytes replaced by Megabytes in stats
Fixed exec command, now it execs the code in the main globals()
|
|
Add XEP-0045 to the support xeps
|
|
|
|
Update links in README.md
|
|
Update manuals links
|
|
Fixed TypeError in groupchats.py in users list update
Fixed retrying of groupchats creation in groupcahts.py (now it shouldn't start dozens of threads)
Same as in groupchats as described in the line above fixed the same error in statustovk.py extension
Fixed fake user deletion after captcha challenge was completed by a user
Fixed transport freeze while working in longpoll
Fixed transport freeze while sending a message or handling any method in the main thread
Added feature to unload any module
Vcard requests will be highly limited for the transport stability and such
Most of the handlers were switched to threaded mode
|
|
Fixed user settings loading
Fixed turning off groupchats handling
|
|
Fixed Russian localization
|
|
|
|
Completed "Check an API token" option in adhoc
Little refactoring in mod_iq_disco
Added translation feature to adhoc items, but those are still in english. Translators are
welcome!
|
|
Fixed formatting error somewhere in groupchats.py
Little core refactoring. Still trying to figure out why the hell the transport freezes
sometimes.
Updated locale, a little
Fixed #82 ("VK" object has no attr[..]; not tested, but should work fine)
Fixed #83. Transport was completely untied from simpleapps.ru. Feel free to make your own
registration url
Fixed #84. Password registration should work fine now
|