Coder Social home page Coder Social logo

davidwickerhf / movement-assistant Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 206 KB

A Grassroots Movement web of trust system implemented through a Telegram Bot. The "Movement Assistant" can keep track of the working groups within a movement, as well as keep a calendar of scheduled calls.

License: MIT License

Python 100.00%
calendar fridays-for-future telegram-bot trello

movement-assistant's Introduction

๐ŸŒป About Me:

Climate activist, developer, photographer. BSc in Computer Science student at Maastricht University.

๐Ÿ’ป Tech Stack:

C++ CSS3 HTML5 JavaScript Lua Oracle Bootstrap jQuery TailwindCSS MariaDB MySQL Adobe Photoshop

๐Ÿ“Š GitHub Stats:

David's GitHub stats

๐Ÿ† GitHub Trophies


movement-assistant's People

Contributors

davidwickerhf avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fffassistant

movement-assistant's Issues

Remove Global Variables

The global variables can be substituted by the Group or Call class.
The class instance can be saved as pickle for the duration of the process (ConversationHandler) - see https://www.journaldev.com/15638/python-pickle-example

  • The name of the pickle file should be a string formed by the ID of the chat + the ID of the user who launches the command

  • The updated group instance can be saved to the same pickle file from one step to the other within a Conversation.

  • Once the conversation is over, you can delete such pickle file

Zoom integration

connect to Zoom API to schedule calls and create call links every time a user wants to register a new call with Zoom

/deletecall command

Returns a list of all future group calls to have the user select which call to delete

Calls Date Check

Calls should not be registered for a date and time before the time of registering the call itself

Feedback by @davidwickerhf

Feedback by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 22:32:16.276117+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Last Feedback Test!

Feedback by @davidwickerhf

Feedback by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 22:28:20.654815+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Great Job!

/feedback command

Command to get feedback on errors or functions suggestions for the bot.
All feedbacks should be saved to a dedicated spreadsheet

Due dates on Calls Trello Cards

Trello cards should have due dates set to the indicated date and time for the call.
The due date checkbox should be marked completed once the timing of the call has finished.

update_info() in Interface

an async function that runs every time any command is run.
such function takes care of:

  • Updating Trello Due Dates
  • Updating passed or upcoming status on Spreadsheet
  • Reorder & sort elements in lists in spreadsheet

Feedback by @awicker

Feedback by @awicker:
Issue Type: None
Recorded on: 2020-06-19 17:56:36.509698+00:00
User id: 488805123
Chat id: -260929367
Chat Name: Testing
Issue Body: You need to improve your spelling

Feedback by @davidwickerhf

Feedback by @davidwickerhf:
Issue Type: None
Recorded on: 2020-07-06 23:08:56.931945+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Good Job

/archive command

Group archives group info when sent by group admin/owner
No info should be deleted, only moved to an archive database

2 by @davidwickerhf

None by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 20:35:12.270967+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Test

Kuma Integration

Connect to Kuma (or any other) mind map for better WG structure visualisation

Issue by @davidwickerhf

Issue by @davidwickerhf:
Issue Type: Other
Recorded on: 2020-06-11 21:49:58.695376+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Issue

Issue by @davidwickerhf

Issue by @davidwickerhf:
Issue Type: /archive
Recorded on: 2020-07-05 22:50:13.074025+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Isssue Test

Issue by @davidwickerhf

Issue by @davidwickerhf:
Issue Type: Other
Recorded on: 2020-06-11 21:57:21.918554+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Issue

Issue by @davidwickerhf

Issue by @davidwickerhf:
Issue Type: /activate
Recorded on: 2020-06-11 21:48:58.169225+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: unable to activate group

None by @davidwickerhf

None by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 20:57:30.091042+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: popcorn

"Update" Class

Object holds momentary variables used for the Conversations and the object that is being updated (group, call or user).

This would allow for cleaner code, fewer temporary variables in the Group, Call and User classes.

Question by @davidwickerhf

Question by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 21:28:16.289362+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: THIS IS AWESOME

Hash ids

For security reasons, hash the ids before saving in database or on the sheet

Question by @davidwickerhf

Question by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 21:31:01.039879+00:00
User id: 427293622
Chat id: -1001459449953
Chat Name: Fff-int-admins
Issue Body: Cool

Get User List

When a group is activated, it should register in the database all the users in that specific group.
Need to figure out how to retrieve a list of all chat members.
Look line 99 in telebot.py ( telebot.py > save_group() )

Question by @davidwickerhf

Question by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 21:13:44.431714+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: feedback

/unarchive command

Use command to retrieve group information from database if the group had been archived beforehand

Question by @davidwickerhf

Question by @davidwickerhf:
Issue Type: None
Recorded on: 2020-06-11 22:02:59.957206+00:00
User id: 427293622
Chat id: -332337690
Chat Name: FFF Bot Development
Issue Body: Question

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.