Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PitchBlackRecoveryProject/pbrp_tg_bot

Offiical Telegram Bot of PBRP
https://github.com/PitchBlackRecoveryProject/pbrp_tg_bot

use timestamp() instead of strftime()

8815639defde16a076067037bc84aeb882d8fc78 authored over 6 years ago by Paul Larsen <[email protected]>
Refactor note saving, fix a bug causing no note to be detected

08b0a4151c3ba54fea367b5dacb83a966efb2659 authored over 6 years ago by Paul Larsen <[email protected]>
Fix typo

20ea344843b21b3b0cab99308606b08c2bec2c63 authored over 6 years ago by Juliano Dorneles dos Santos <[email protected]>
Add easy way to copy blacklists

simply use /blacklist copy

1345e69fcdb92008a1d4380b2f053af6d7623697 authored over 6 years ago by Paul Larsen <[email protected]>
add option not to format a note by calling /get notename noformat (replace notename as required)

5407544ecc3922ea9959b4154bf890b104e11995 authored over 6 years ago by Paul Larsen <[email protected]>
Add location lock

Add following column to db:
```
alter table permissions add column location bool default false;
```

6e62519feef15456871f6e6477501f9caa94fa20 authored over 6 years ago by Paul Larsen <[email protected]>
warn and warn_ban counts for channel log (#23)

* warn and warn_ban counts for channel log

Channel log with warn and warn_ban counts

84ab5880d238edfba3d47dbe6c28d13a3cce67df authored over 6 years ago by Maverick <[email protected]>
state old reason when updating gban reasons

69083f1c203c098a89c364ea7ff9ae760d8199f2 authored over 6 years ago by Paul Larsen <[email protected]>
remove recent abuse message

d818e7aa9cf62dc63e94d03d6d48a006e2040a8a authored over 6 years ago by Paul Larsen <[email protected]>
ignore user commands when messages are locked

c4c7763c38cf8256c5d18851160da806796e5381 authored over 6 years ago by Paul Larsen <[email protected]>
Update README.md

037ab917091cef57a6b82f26f1c138c199faa2ef authored over 6 years ago by Paul Larsen <[email protected]>
Fix a typo in the new rss module

866afdc1199af1e4a3defbddd3705ecb5aa6f568 authored over 6 years ago by Paul Larsen <[email protected]>
update ptb lib version in reqs

ff265605088f05671e157274a1215575716f7536 authored over 6 years ago by Paul Larsen <[email protected]>
update sample config

150bc322ed72effc880eef96e890e5ba900ab5b4 authored over 6 years ago by Paul Larsen <[email protected]>
Removed useless stuff, changed to HTML parsing

Fixed concurrency issues and errors

Fixed function returns

Based the RSS feeds on chat IDs ONL...

177e56d0b9ed25cfe4e241e5d58390963a1793f7 authored over 6 years ago by TermoZour <[email protected]>
Create rss_sql.py

f4518a11ff571ff88bd7f906475a18adcc1e9803 authored over 6 years ago by TermoZour <[email protected]>
Added RSS Feed module

This is a module that adds RSS feed updates to specified RSS links

268762424ebd5cde52ff8fc1ae58e98a5a19b985 authored over 6 years ago by TermoZour <[email protected]>
Add caption_entity object to url locks

Requires a ptb library upgrade

6618b52b757469740ef5336204fc51be413e51d4 authored over 6 years ago by Paul Larsen <[email protected]>
Change the start and donation strings

6e3645c49713dddf387e7b698e13b62f03e667e8 authored over 6 years ago by Paul Larsen <[email protected]>
support buttonurl escaping

516765df3c1e67c2235a6775bfeb0bcd5ebc1f25 authored over 6 years ago by Paul Larsen <[email protected]>
Fixup a gbb import error

c7d5b20a89d9ff07e1993084fcd4f25fcf042fb1 authored over 6 years ago by Paul Larsen <[email protected]>
cleanup

ebafb1637044dc6015e20543ae0cc4132eab6d6f authored over 6 years ago by Paul Larsen <[email protected]>
Add support for smartquotes when splitting text in filters/warnings

d8b751a1d575c74d5931c9478ffcc5dc51b3300c authored over 6 years ago by Paul Larsen <[email protected]>
cleanup some type extraction code, switch to saving the entire message in the db instead of using save dumps for future reliability

update db with:
```
alter table notes add column file text;
alter table notes add msgtype int de...

dd56177db924093ce0cfc4de3240b3f97f76e560 authored over 6 years ago by Paul Larsen <[email protected]>
Add two new gban errors

caa265f3a423ad0607dd125282682f962d97aacd authored over 6 years ago by Paul Larsen <[email protected]>
simplify gban error handling

a7216193b1613649a3aa2848c778374cf9a22f0f authored over 6 years ago by Paul Larsen <[email protected]>
add tmute function and export time extractor to misc

21ae94091f03e722d77d37c1a50f208c82f9dc9e authored over 6 years ago by Paul Larsen <[email protected]>
reducing code duplication inextract_user + fix an entity bug

Text entities used to trigger things wherever they were placed in the
message. This is now fixed...

d7e76f023f9f226085e97cd5078eb97158c2db53 authored over 6 years ago by Paul Larsen <[email protected]>
Allow more commands to be disabled - however, some will still be accessible to admins.

6b8fbf9d33f8d878f321c384371e15a6beda0866 authored over 6 years ago by Paul Larsen <[email protected]>
use a cache for log channel groups

479e01753d271f575d58d88ad67ed391e87533e6 authored over 6 years ago by Paul Larsen <[email protected]>
update command disabling to use memory caches

61122110c73d682082465c82c39cc1625388b802 authored over 6 years ago by Paul Larsen <[email protected]>
update antiflood module to use memory instead of db

74a2903b5eda8188b1fd7e82739f7e2bc880e54a authored over 6 years ago by Paul Larsen <[email protected]>
Fix a bug to do with markdown parsing, to allow urls to be used as note/filter triggers

669adc9d22daaa2b7fbb0c90c0a19055c958bd80 authored over 6 years ago by Paul Larsen <[email protected]>
Want to make sure that only sudo users set bot bios - some people have been using it to promote their groups/channels, or spreading hate, so lets avoid that.

baab6f6f2fe2ca217b26baf7a86fc2a7b9bffcd7 authored over 6 years ago by Paul Larsen <[email protected]>
minor changes to unblacklisting

d8c17eeaa9ff2a71ffd252075987588dba0cd5fa authored over 6 years ago by Paul Larsen <[email protected]>
Add some more error handling for blacklists and log channels

8c40dcbc7270639216f50eb35840c903f99e1bd4 authored over 6 years ago by Paul Larsen <[email protected]>
Fix a bug where new blacklist triggers wouldnt be active until the bot

was reloaded for new chats

30e09c8bf7c18c7c8a32977579ee3578f9cef507 authored over 6 years ago by Paul Larsen <[email protected]>
Make sure to escape markdown for chat titles

9a9781d588b0555a7a2c67b775a347539cc6de74 authored over 6 years ago by Paul Larsen <[email protected]>
Merge branch 'master' of github.com:PaulSonOfLars/tgbot

3d5c1f4b32706535115024c85ffb1a22655fa075 authored over 6 years ago by Paul Larsen <[email protected]>
Fix a gban bug caused by incorrect types from refactor

b2437916c914101419b9fb46ea5cf9d7dc25a059 authored over 6 years ago by Paul Larsen <[email protected]>
Fix a set error

e5e6ef422d2f962ae63f9d066000a5317e058ede authored over 6 years ago by Paul Larsen <[email protected]>
Catch some message deletion errors in locks

2fc8761f11af158724d3337c42353de2d2ed0480 authored over 6 years ago by Paul Larsen <[email protected]>
Stop some accidental message spam

2573e75fc842eb3f236880f92cfe650b1db8933c authored over 6 years ago by Paul Larsen <[email protected]>
Add a blacklist cache

63713020be1d9c58de6935fc1ba1c507e24c0c5f authored over 6 years ago by Paul Larsen <[email protected]>
Rework locks and restrictions to reduce confusion and remove duplication. Also, remove preview locking, since it cant be changed without the restriction api, which is spammable

1d84023d5aef1ec0696b64defaf3d32f4d322ac3 authored over 6 years ago by Paul Larsen <[email protected]>
Cleanup afk module

b05aa1ffc03713e2d6d3a46b74961c2a82500ba5 authored over 6 years ago by Paul Larsen <[email protected]>
move a line of code for clarity

84f8ae1a624504e397eaed4f6ae77698c776b24b authored over 6 years ago by Paul Larsen <[email protected]>
Add cache for afk

b701639c00a02583153479ae2df51b6af1184a9e authored over 6 years ago by Paul Larsen <[email protected]>
Add a cache for warning filters

20fd7ebdbaf80dc6db837dc12c0d7b7ddd8240fe authored over 6 years ago by Paul Larsen <[email protected]>
Add a custom filter cache

95abe1ab6f5e2c378636548a612c62b2d5f72a14 authored over 6 years ago by Paul Larsen <[email protected]>
Add a gbanstat cache

f14bb62629acc857df0646e720dbbf16ba1a7ba5 authored over 6 years ago by Paul Larsen <[email protected]>
add noformat to welcome as well as goodbye

275fa74a14e2c5691367a8d06db557c60b179541 authored over 6 years ago by Paul Larsen <[email protected]>
Add two possible exceptions for message deletion in callback queries

52dd9654e823dd6625e67f734988007d0b4f7720 authored over 6 years ago by Paul Larsen <[email protected]>
Make sure to delete the previous message when going through /help or /settings to avoid chat spam

dd2bb0bb41cb9e5306fe0b345046a979b7c9edf4 authored over 6 years ago by Paul Larsen <[email protected]>
Forgot to add the handler for game and forward locks, woops

61aafc6ff96ee64757bc8116c378cd4766964962 authored over 6 years ago by Paul Larsen <[email protected]>
update some warns and filter strings

95c73dbec01007ba78b0fdf0ce368579aefdf9c2 authored over 6 years ago by Paul Larsen <[email protected]>
add a /tempban command for banning users for a certain amount of time.

63de3571bb3139dfa4ecf8447082b3f68a8e3f94 authored over 6 years ago by Paul Larsen <[email protected]>
Allow showing an unformatted version of the welcome message via /welcome noformat

a5b53717fece4f26bdabdacfdd6ca13eec75a547 authored over 6 years ago by Paul Larsen <[email protected]>
Allow automatically deleting old welcome messages.

Execute the following to add the db column:
```
alter table welcome_pref add column clean_welcom...

5688991b852a9d78847dcc769a3afc9c076595b5 authored over 6 years ago by Paul Larsen <[email protected]>
Add Game and Forward message locks

make sure to run the following in psql first, to create the necessary columns.

```
alter table ...

97e0bf18ab2ca99afcbf7f670ee7315120692792 authored over 6 years ago by Paul Larsen <[email protected]>
fix bad @admins string - but support both now

91b9af5baec5734f142c5a64e1e6005cb0ed26f8 authored over 6 years ago by Paul Larsen <[email protected]>
remove a -1 bug in warns

548a99ec0e1bf929ca8de2fe2a778102119c1c61 authored over 6 years ago by Paul Larsen <[email protected]>
midnight holiday fix to stop annoying users abusing locks and temporarily taking down the bot by doing so.

14812048ace59388dbe8164a5f1151ec177ea262 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix ! on disableable commands

67eb30d19a91811b057e213a802154bdcad1a1b2 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix the note help string

3e5d822ae42774fcb59f06e9ba25c243df075f74 authored almost 7 years ago by Paul Larsen <[email protected]>
delete echo messages after replying, to avoid msg not deleted errors

d685185a5e08ebc08a149d13c45e81e76563e344 authored almost 7 years ago by Paul Larsen <[email protected]>
Allow echo to reply to message when applicable

484861b65b573e79aad5aecd77b3f66e1f7a3409 authored almost 7 years ago by Skittles9823 <[email protected]>
If a DisableAble command has multiple triggers, make sure /disable only disables one, not both.

7c524c651f0ae37ac8cf06ba932683947754873c authored almost 7 years ago by Paul Larsen <[email protected]>
Fix the /nowarn function to remove quoted strings too

0ebced56e76656e97dabf3f6d801e79cdaad27f9 authored almost 7 years ago by Paul Larsen <[email protected]>
psycopg2 update

Following heroku instructions, there is need to change the psycopg2 package to psycopg2-binary.

6574dc5c2141236b2bee5d25bd27b24d0e1ad812 authored almost 7 years ago by Juliano Dorneles dos Santos <[email protected]>
Add another gban error

97eb6b5507be09eca0ba52746a4d4b773a2f2635 authored almost 7 years ago by Paul Larsen <[email protected]>
fix logging issue

Make sure the WARN_BAN reason isnt set to the user_id, but the reason instead.

61918d7f57bca63395e1610595748a540ce7325c authored almost 7 years ago by Paul Larsen <[email protected]>
Update runtime.txt

Apparently heroku updated their python, so lets update that here too

c7a699478118b42f5b2f5e9a43ef1e4edc5a55e3 authored almost 7 years ago by Paul Larsen <[email protected]>
Add some more tg errors for gbans

7384776648ab66fd0c2a2fdb105f4fd3d1c9fa62 authored almost 7 years ago by Paul Larsen <[email protected]>
catch some button errors caused by tg api inconsistencies

92a57454d28a55fb5efe4a33cd5b5ef1a1f50347 authored almost 7 years ago by Paul Larsen <[email protected]>
Ensure all emoji are accounted for when parsing markdown

ad17211676bb4c9d73d2dce209695f6898bb498b authored almost 7 years ago by Paul Larsen <[email protected]>
When gbanning a user who is already gbanned, update the reason instead of full gbanning them again

932fd8f16dc58a851e2b55f81e307becad832881 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix a bug where i forgot to add the message arg when html sending to all users

5253be7dd58845663c391c7899b9bfdf953ac578 authored almost 7 years ago by Paul Larsen <[email protected]>
Change some strings

1b760fb23f0f933a97dff1919bbefd16b6139a33 authored almost 7 years ago by Paul Larsen <[email protected]>
Help message is parsed with markdown

7fa8cbe53ea5047d8b613213013f9c23f3ed4a7c authored almost 7 years ago by Paul Larsen <[email protected]>
Use HTML formatting for gbans

7bc22ca0e45d2edc6b8690c4fd46349c9558849d authored almost 7 years ago by Paul Larsen <[email protected]>
Fix some strings to remove usernames, and send filter errors to the logger instead of raising exceptions

30b0e95bcad03711c5df8396264e1ce7237c3ba1 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix minor string typo

fee3275984e0c5a70cd7cb054eb374124004e3d6 authored almost 7 years ago by Paul Larsen <[email protected]>
Add another gban exception

0ef79df1db3f341ff0d29978bc370e5f85ceb67b authored almost 7 years ago by Paul Larsen <[email protected]>
remove a weird slap string

cce307213c39b7dcb443de454f7e8583675dde5c authored almost 7 years ago by Paul Larsen <[email protected]>
don't add duplicate words, and ignore empty lines for blacklists

4c6f52d12a554e3811373c0a80fdfa1711b17852 authored almost 7 years ago by Paul Larsen <[email protected]>
Add a permanent user link to user info, to be able to view accounts of people with no @ handle.

a7d0d78db891f194f81a00db45df8ed61c61f721 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix tabs/spaces for /chatlist

rename variable to avoid duplicate declaration
change output format
rename command

04974b6f58aadccaec364e5c658e1cd21dfae982 authored almost 7 years ago by Paul Larsen <[email protected]>
Move the module into users.py and make required changes

6dca0f5308814979112f3478d5664c76bf9cec07 authored almost 7 years ago by anirudhgupta109 <[email protected]>
Add `/chats` command allowing a list of participated chats

Returns a text file containing name of chats the bot is present in along with the group id

fc94c3f4e26a3e9d99ca1fa007a855730fcb73b4 authored almost 7 years ago by ATechnoHazard <[email protected]>
Fix a bug in purging

da13c239ef42b72a1d16f2d3af3157dd1e7d8280 authored almost 7 years ago by Paul Larsen <[email protected]>
Optimisations, bug fixes, cleanups.

e2fe1443ace91528a918824590b8f0844596fb9d authored almost 7 years ago by Paul Larsen <[email protected]>
Avoid more gban errors

c500f1dc78f072509a227654c8fc62797abd2757 authored almost 7 years ago by Paul Larsen <[email protected]>
If no overall warns, use 0 instead of None

616eeed987ac802512992f029d4e7963cddee9e6 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix an incorrect link in reports, and add message links to the log channel.

2fde1ec1c3992205f716897b2c78256432d255ec authored almost 7 years ago by Paul Larsen <[email protected]>
Fix /start@name_bot not being recognised due to markdown issues.

cf2429dfbc360227ac01eca697e2353c9c8f4e12 authored almost 7 years ago by Paul Larsen <[email protected]>
Add html parameters to the list sending feature

ac175712eafd4627e9e6416dff2e9f9fac532750 authored almost 7 years ago by Paul Larsen <[email protected]>
Ignore peer_id_invalid errors

f6d01279d1455d7fd09d5f6c9aa457ff651db391 authored almost 7 years ago by Paul Larsen <[email protected]>
Add reasons to the logchannel when banning

637e359a35ea0699adad8ef0b0e36f3512dd7ab8 authored almost 7 years ago by Paul Larsen <[email protected]>
Add an option to set certain blacklisted triggers. This allows people to stop certain words ever appearing in their group.

6d3721761724e9ddc7698b02620230e48efe1bda authored almost 7 years ago by Paul Larsen <[email protected]>