lorien

Results 26 issues of lorien

If remote service provides First Name value and its bytes length is more than 30 (max length of django `User.first_name` field) then "value too long" exception is raised in `user_details`...

urllib version is recent (1.26.2) ``` import time import logging from urllib3.util import Retry, Timeout from urllib3 import PoolManager def main(**kwargs): pool = PoolManager() url = 'https://google.com:81' start = time.time()...

If same user post multiple messages in small amount of time then different threads of bot send each own notification message. That should be synchronized somehow.

Remove duplicates caused by ``` db.joined_user.find_one_and_update( { 'chat_id': msg.chat.id, 'user_id': user.id, 'chat_username': msg.chat.username, 'user_username': user.username, }, {'$set': {'date': now}}, upsert=True, ) ```

If bad user posted link then remove it and also any posts it has posted in recent 5 seconds.

The message should allow to include the hypertext link

Example: ``` Removed msg from МОЯ ОФИЦИАЛЬНАЯ СТРАНИЦА @baza_hcat. Reason: new user + external link ```

If user has joined to the group he is not allowed to post links in ANY amount of time if it has not posted at least one non-link message before....

enhancement

Example of messed up bot message: ``` Removed msg from ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮ ‮‮. Reason: new user +...

bug