Giter Club home page Giter Club logo

community_events.resonite's People

Contributors

bredo228 avatar brodokk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jae1911

community_events.resonite's Issues

Have multiple way to see the events

It would be interesting to have multiple way to see the event depending on the user preferences:

  • List with description (this is the current state)
    • compact version
  • Grid with images (require #9 to be done first to avoid void)
  • Sorting by date, see the next 7 days events, next 31 days events, the current week event, the current month event
  • Sorting per language (require #11)

Add the ability to set a community_url for each communities in the google agenda

It would be nice to update the configuration file for having the option communities_url where:

communities_name = ['Commu 1', 'Commu 3']
communities_url = ['http://example.com', 'http://example.fr']

So the url of Commu 1 is http://example.com and for Commu 3 its http://example.com

Note old idea that I put somewhere else that i forgot to make an issue for

Language per event

It would be interesting to have language information per event. For now all events on https://resonite-communities.com are in English but their is already an japanese calendar. If we want to also show their event here it would be interesting to have the language information link to the event.

Adding this would require to change the events to show based on the current region of the user defaulting to english if the region of the user is unknown.

How to add a bot to a discord server

For now it's not clear of how to add the bot to a discord server from the website. Their is a link to the about page but that's all their is no information clear.

It would be best to add explicitly an information to contact brodokk (and only brodokk since GrayBoltWolf will just redirect to brodokk instead).

It's seems today that the bot can be easily added and since their is no really setting to set an easy link should be on the website.

Events not removed automaticaly

It seems like some event stay in the redis cache even so it has been restart. The perfect solution would be to fix that during the rewrite.

NeosVR Token expired after a while

bots_1   | ERROR:apscheduler.executors.default:Job "NeosVRCalendarTransmitter.transmitt (trigger: interval[0:01:00], next run at: 2023-05-20 08:28:40 UTC)" raised an exception
bots_1   | Traceback (most recent call last):
bots_1   |   File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
bots_1   |     retval = job.func(*job.args, **job.kwargs)
bots_1   |   File "/app/EventsTransmitters/NeosVRCalendarTransmitter.py", line 102, in transmitt
bots_1   |     setCloudVar = self.nclient.setCloudVar(
bots_1   |   File "/usr/local/lib/python3.10/site-packages/neosvrpy/client.py", line 328, in setCloudVar
bots_1   |     return self._request(
bots_1   |   File "/usr/local/lib/python3.10/site-packages/neosvrpy/client.py", line 111, in _request
bots_1   |     raise neos_exceptions.InvalidToken("Token expired")
bots_1   | neosvrpy.exceptions.InvalidToken: Token expired

Backend rewrite

The structure of the project is not good and slow the development of new feature on top on not being clean.

Events are showing multiple time sometimes

Problem

Some time an events appear multiple time, spamming the list, growing every hours and can take down frames on Resonite client.

Explanation

Because of simplicity of the API for Resonite, the first version of the API has been made based on the name of a community. Which is a big mistake if the name of the community change.

Possible solution

We need to use an external ID, or an internal ID, for now communities only use discord calendar but their is a system to manage event via a bot and google calendar.

Better event and community image handling

The current system for manage the image is not perfect, it would be nice to have:

  • a placeholder background image for an event if their is none
  • a placeholder image for a community if their is none
  • repeat the image background by themself to keep the same resolution for the image even if the resolution is different

Auto refresh of communities and streamer information

For now for getting communities information and streamer information a full restart of the application is necessary.

It would be interesting to have:

  • An auto reload of the configuration file somehow
  • Update from different API like discord or twitch

External event showing multiple time

Problem

When an instance is connected to another instance it will show the event multiples time growing every hours and can take down frames on Resonite client.

Explanation

The last update have some code refactored and not everything have been fully tested, like the fact that one instance will look at another instance events to also list them on the current one. The idea behind this update was to list the communities available on the instance.

Possible solution

Update the code to handle the new API format.

Output to google calendar

It would be interesting to output the calendar into a google agenda.

The question is how make people able to subscribe to some communities event and not all of them.

Either with tags or separated calendars

Better handling of Google Aganda

Problematic

As for now either the title, the description, or the location of the event must contain the word Resonite for the event being returned by the API. But if this not the case the service failed with an error. Not sure if the process also die but it seems to be the case

Solution

Just ignore and log the error should be enough

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.