Bot sviluppato in Node.js che permette la prenotazione e il successivo invio dello screenshot di quest'ultima tramite un bot di telegram.

Overview

Unimore-Bot

Bot sviluppato in Node.js che permette la prenotazione e il successivo invio dello screenshot di quest'ultima tramite un bot di telegram

Indice

Prequisiti

Node.js

Node.js è un runtime system open source, compatibile con MacOS, linux e windows, per maggiori informazioni visitare questo link. Per installare Node.js sulla propria macchina si può procedere scaricando il pacchetto dal sito ufficiale (link) oppure tramite NVM(Node Version Manager), al seguente link.

N.B: si consiglia di utilizzare la versione 15.14.0 di Node.js sulla quale è stata sviluppato e testato l'applicativo, e di conseguenza di utilizzare NVM per l'installazione

Requisiti della macchina

Non sono richiesti alcuni requisiti di hardware, ma affinché il Bot prenoti in automatico l'aula desiderata è fortemente consigliato un dispositivo che rimanga acceso 24/7. Si possono utilizzare dei siti di Hosting online, come ad esempio AWS, Azure, Heroku, etc...

Configurazione:

  • Clonare la repository di git

  • Creare un file chiamato config.json

  • Compilare il file config.json, tenendo conto che al suo interno vi deve essere un JSON.
    Per prima cosa è fortemente consigliato copiare e incollare la sottostante configurazione.

{
  "BOT_TOKEN": "<BOT TOKEN>",
  "orario": "<ORARIO FORMATO CRON>",
  "viewport": {
    "width": "<WIDTH>",
    "height": "<HEIGHT>"
  },
  "config": {
    "headless": "<MODE>"
  },
  "users": {
    "user1": {
      "credentials": {
        "username": "<ESSE3 USERNAME>",
        "password": "<ESSE3 PASSWORD>",
        "tg_username": "<TELEGRAM USERNAME>"
      },
      "Sunday": [ ],
      "Monday": [ "<SP>" ],
      "Tuesday": [ "<SP>" ],
      "Wednesday": [ "<SP>" ],
      "Thursday": [ "<SP>" ],
      "Friday": [ "<SP>" ],
      "Saturday": [ ]
    },
    "user2": {
      "credentials": {
        "username": "<ESSE3 USERNAME>",
        "password": "<ESSE3 PASSWORD>",
        "tg_username": "<TELEGRAM USERNAME>"
      },
      "Sunday": [ ],
      "Monday": [ "<SP>" ],
      "Tuesday": [ "<SP>" ],
      "Wednesday": [ "<SP>" ],
      "Thursday": [ "<SP>" ],
      "Friday": [ "<SP>" ],
      "Saturday": [ ]
    }
  }
}

BOT_TOKEN

Nella chiave BOT_TOKEN va specificato come stringa(tra virgolette) il token del bot da voi creato e sul quale si vuole ricevere gli screenshot della prenotazione.

N.B la chiave deve essere presente nell'oggetto di configurazione e deve essere specificato un valore corretto

Orario

Nella chiave orario va specificato l'ora e i minuti in cui il bot in automatico andrà ad attivarsi.
Questo dato è una stringa ed esiste un formato da rispettare chiamato Cron time string format, vi lasciamo un link in cui è spiegato l'utilizzo e nel quale vi sono alcuni esempi.

N.B la chiave deve essere presente nell'oggetto di configurazione e deve essere specificato un valore corretto

Viewport

La proprietà viewport va compilata con un oggetto nel quale siano presenti le chiavi width e height, ciascuna di esse deve essere di tipo numerico. Tramite width (larghezza) e height (altezza) si andranno a settare le dimensioni della pagina del browser e di conseguenza dello screenshot della prenotazione.

N.B la chiave deve essere presente nell'oggetto di configurazione e deve essere specificato un valore corretto

Config

La chiave config va compilata come oggetto.
Può essere lasciata come oggetto vuoto {} in tal caso si useranno le configurazioni di default.
L'unica chiave che consigliamo di specificare è headless che assume valori booleani (true o false) e determina la apertura programmatica di un browser in modalità background o meno;
La configurazione consigliata per la chiave config nel caso in cui si utilizzi un Raspberry py è la seguente:

"config": {
 "headless": true,
 "executablePath": "/usr/bin/chromium-browser",
 "args": ["--no-sandbox", "--disable-setuid-sandbox"]
}

N.B la chiave deve essere presente nell'oggetto ma può essere compilata come oggetto vuoto. Per maggiori informazioni sugli argomenti che è possibile passare nella chiave args è possibile trovare la documentazione ufficiale in questo link

Users

La chiave users va compilata come oggetto.
Al suo interno è possibile specificare un numero arbitrario di utenti.
Il programma prenoterà l'aula per ciascuno degli utenti configurati nel file.
Ogni utente viene definito da un identificativo non rilevante ai fini dell'esecuzione (user1), questo identificativo è anche la chiave che contiene tutte le informazioni di un utente.

N.B la chiave deve essere presente nell'oggetto di configurazione e deve essere specificato un valore corretto

Credentials

La chiave credentials va compilata come oggetto.
Al suo interno vanno inserite le chiavi:
username il nome utente di ESSE3.
password la password di ESSE3.
tg_username username di telegram per permette al bot di inviarvi un messaggio.

N.B lo username di telegram va inserito senza mettere la @.

SP

Ogni aula del nostro dipartimento viene codificata da un codice sp.
I codici corrispondono a un'aula e a un determinato orario.
Questo codice viene inserito alla fine dell'url seguendo lo schema sotto riportato:
(https://presenze.unimore.it/spacemr/#?page=s__prsncdd&sp= (CODICE DA COPIARE))
Bisogna inserire questo codice in formato stringa.
Nel caso nell'arco di una giornata sia necessario prenotare più di un'aula, inserisci i codici come segue:

"Monday": ["1", "2"]

N.B nel caso un giorno non si voglia prenotare nessuna aula, lasciare il campo sp vuoto.

Avvio del bot

Installazione dei node modules

Per installare i node modules scrivere il comando npm i

N.B Assicurarsi d'installare il modulo pm2 globalmente tramite il comando npm i -g pm2.

Green pass (facoltativo)

Nella cartella photos è possibile inserire una foto in formato jpeg del proprio green pass.

Il bot di telegram provvederà a inviarlo assieme allo screenshot della prenotazione.

Salvare la foto come segue: pass-(tg_username).jpeg.

N.B questo punto è facoltativo e non inciderà sull'esecuzione del programma.

Avvio e terminazione del bot con pm2

Per avviare il bot usare il comando npm start

Per stoppare il bot avviato con pm2 utilizzare il comando da terminale npm stop

Avvio del bot in modalità development

Per avviare il bot in modalità development utilizzare il comando da terminale npm run dev.
Questa modalità vi permetterà di avviare una sola volta il bot, il quale al termine dei processi si stopperà da solo

Comments
  • Bump moment from 2.29.1 to 2.29.2

    Bump moment from 2.29.1 to 2.29.2

    Bumps moment from 2.29.1 to 2.29.2.

    Changelog

    Sourced from moment's changelog.

    2.29.2 See full changelog

    • Release Apr 3 2022

    Address https://github.com/advisories/GHSA-8hfj-j24r-96c4

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump vm2 from 3.9.3 to 3.9.7

    Bump vm2 from 3.9.3 to 3.9.7

    Bumps vm2 from 3.9.3 to 3.9.7.

    Release notes

    Sourced from vm2's releases.

    3.9.7

    Fixes

    b7f794dfb3034d2173b9da957f48425adc4081c3: Custom Resolver is allowed to return undefined 568934f58cf72339a3dd2a2c578cc28550c19d27: Fixed some bugs introduced in v3.9.6 b6581b4a9cf9a4706b2967fceb5930a3de4d2ac7: Fixed root path checking

    3.9.6

    Fixes

    532120d5cdec7da8225fc6242e154ebabc63fe4d: Internal restructuring and security improvements

    3.9.5

    New Features

    d9af94ca3a701b9ba6283264fafeef4827786702: Added editor config

    Fixes

    4f0db94bfa250089d903083fcd6c6cf6cd11b8a9: Fix Promise.then not working 419806086ccbef7b9f11abbd8420d01d9fe6d18c: Fix for missing CallSite properties

    3.9.4

    New Features

    4ead241540bb3d6ffcca64ce98d3b263c8f15cb4: Added strict option

    Fixes

    b4f6e2bd2c4a1ef52fc4483d8e35f28bc4481886: Fix breakouts in VM. e95165b36fd07d20febd00a7b08fc8292ccc703e: Fix for bound function causes TypeError 42c7b83ce8dded5e3ae03142736dcf8306a2c2a8: Allow extending of frozen objects

    Changelog

    Sourced from vm2's changelog.

    v3.9.7 (2022-02-10)

    [fix] Allow relative require from base script
    [fix] Fix issue with modules with exports clause in package json
    [fix] Added missing whitelist check before custom require
    [fix] Revert plain object toString behavior
    [fix] Root path check improved

    v3.9.6 (2022-02-08)

    [fix] Security fixes (XmiliaH)

    v3.9.5 (2021-10-17)

    [new] Editor config (aubelsb2)
    [fix] Fix for Promise.then breaking
    [fix] Fix for missing properties on CallSite

    v3.9.4 (2021-10-12)

    [new] Added strict option
    [fix] Security fixes (XmiliaH)
    [fix] Fixed bound function causes TypeError (XmiliaH)
    [fix] Allow extending of frozen objects

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Bump node-fetch from 2.6.5 to 3.1.1

    Bump node-fetch from 2.6.5 to 3.1.1

    Bumps node-fetch from 2.6.5 to 3.1.1.

    Release notes

    Sourced from node-fetch's releases.

    v3.1.1

    Security patch release

    Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th party host while a redirect occurred

    What's Changed

    New Contributors

    Full Changelog: https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1

    v3.1.0

    What's Changed

    ... (truncated)

    Changelog

    Sourced from node-fetch's changelog.

    Changelog

    All notable changes will be recorded here.

    The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.2

    3.1.0

    What's Changed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Aggiungi topic `unimore-informatica`

    Aggiungi topic `unimore-informatica`

    Ciao!

    Ho visto che questo repository è correlato con l'Unimore, e in particolare con il corso triennale di Informatica!

    Ho dato il via a un topic su GitHub per raccogliere tutti i repository relativi al corso: unimore-informatica!

    Sarebbe bello che tu aggiungessi questo repository al topic :)

    Come fare

    Dalla pagina principale del progetto, clicca sull'ingranaggio a destra:

    Ti si aprirà una casella di testo dove potrai inserire i topic.
    Inizia a scrivere unimore-informatica, e GitHub ti suggerirà il topic completo. Clicca sul suggerimento per aggiungerlo!

    Una volta aggiunto il topic, clicca su Save changes.

    Finito! Il tuo repository ora comparirà nel topic unimore-informatica!

    opened by Steffo99 1
  • Bump fast-json-patch from 3.1.0 to 3.1.1

    Bump fast-json-patch from 3.1.0 to 3.1.1

    Bumps fast-json-patch from 3.1.0 to 3.1.1.

    Release notes

    Sourced from fast-json-patch's releases.

    3.1.1

    Security Fix for Prototype Pollution - huntr.dev #262

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump minimatch from 3.0.4 to 3.1.2

    Bump minimatch from 3.0.4 to 3.1.2

    Bumps minimatch from 3.0.4 to 3.1.2.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump vm2 from 3.9.3 to 3.9.11

    Bump vm2 from 3.9.3 to 3.9.11

    Bumps vm2 from 3.9.3 to 3.9.11.

    Release notes

    Sourced from vm2's releases.

    3.9.11

    New Features

    https://github.com/patriksimek/vm2/commit/58478a58c6f4af3c54faf4117ed5ab72d2cc8cd5: Add option require.strict to allow to load required modules in non strict mode.

    Fixes

    https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873: Security fix.

    3.9.10

    New Features

    61d240f69cc02974be27c7582fee2defd0e6c7a8: Add uptime to process.

    Fixes

    e3e573fdc99a98a9c7db026e4c40474eb78cab4a: Security fix. 245da82dcdfa67031e065fd7c7a7348b5e21f2b8: Fix inspect showProxy.

    3.9.9

    Fixes

    5c2e13bbf0c0518e1958a4307982a999aa181049: Bump ECMA version to 2022.

    3.9.8

    Fixes

    777ffb0e021ef89444f215a69365a689d7051896: Fix access to some restricted function properties on non functions and fix findBestExtensionHandler not finding the best handler. 925e3e665acfa37dd3db0ea8e7f02b57277677e8: Try to return nicer parser errors.

    3.9.7

    Fixes

    b7f794dfb3034d2173b9da957f48425adc4081c3: Custom Resolver is allowed to return undefined 568934f58cf72339a3dd2a2c578cc28550c19d27: Fixed some bugs introduced in v3.9.6 b6581b4a9cf9a4706b2967fceb5930a3de4d2ac7: Fixed root path checking

    3.9.6

    Fixes

    532120d5cdec7da8225fc6242e154ebabc63fe4d: Internal restructuring and security improvements

    3.9.5

    New Features

    d9af94ca3a701b9ba6283264fafeef4827786702: Added editor config

    Fixes

    4f0db94bfa250089d903083fcd6c6cf6cd11b8a9: Fix Promise.then not working

    ... (truncated)

    Changelog

    Sourced from vm2's changelog.

    v3.9.11 (2022-08-28)

    [new] Add option require.strict to allow to load required modules in non strict mode.
    [fix] Security fix.

    v3.9.10 (2022-07-05)

    [new] Add uptime to process.
    [fix] Security fix.
    [fix] Fix inspection with showProxy.

    v3.9.9 (2022-02-24)

    [fix] Bump parser ECMA version to 2022.

    v3.9.8 (2022-02-16)

    [fix] Add function type check for arguments, caller, and callee property check (GeoffRen)
    [fix] Fix find best extension handler

    v3.9.7 (2022-02-10)

    [fix] Allow relative require from base script
    [fix] Fix issue with modules with exports clause in package JSON
    [fix] Added missing whitelist check before custom require
    [fix] Revert plain object toString behavior
    [fix] Root path check improved

    v3.9.6 (2022-02-08)

    [fix] Security fixes (XmiliaH)

    v3.9.5 (2021-10-17)

    [new] Editor config (aubelsb2)
    [fix] Fix for Promise.then breaking
    [fix] Fix for missing properties on CallSite

    v3.9.4 (2021-10-12)

    [new] Added strict option
    [fix] Security fixes (XmiliaH)
    [fix] Fixed bound function causes TypeError (XmiliaH)
    [fix] Allow extending of frozen objects

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump moment-timezone from 0.5.33 to 0.5.37

    Bump moment-timezone from 0.5.33 to 0.5.37

    Bumps moment-timezone from 0.5.33 to 0.5.37.

    Release notes

    Sourced from moment-timezone's releases.

    Release 0.5.34

    • Updated data to IANA TZDB 2021e
    Changelog

    Sourced from moment-timezone's changelog.

    0.5.37 2022.08-25

    0.5.36 2022.08-25

    • IANA TZDB 2022c
    • improvements/fixes to data pipeline

    0.5.35 2022-08-23

    Thanks to the OpenSSF Alpha-Omega project for reporting these!

    0.5.34 2020-11-10

    • Updated data to IANA TZDB 2021e
    Commits
    • ffe6f34 Add changelog for 0.5.37
    • 450ca63 Bump version to 0.5.37
    • 95f1a9b Build moment-timezone 0.5.36
    • abba28c Add changelog for 0.5.36
    • ac6de03 Bump version to 0.5.36
    • 7a5cadf tests: Fix country tests for 2022c
    • 6754c75 data: generate 2022c data+tests
    • f74a364 bugfix: Wipe tests/zones before generation
    • e850f9f grunt: do not bundle zone and contry tests
    • f13e22b data: automatically create data/*/VERSION.json for latest
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump moment from 2.29.1 to 2.29.4

    Bump moment from 2.29.1 to 2.29.4

    Bumps moment from 2.29.1 to 2.29.4.

    Changelog

    Sourced from moment's changelog.

    2.29.4

    • Release Jul 6, 2022
      • #6015 [bugfix] Fix ReDoS in preprocessRFC2822 regex

    2.29.3 Full changelog

    • Release Apr 17, 2022
      • #5995 [bugfix] Remove const usage
      • #5990 misc: fix advisory link

    2.29.2 See full changelog

    • Release Apr 3 2022

    Address https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump node-fetch from 2.6.5 to 2.6.7

    Bump node-fetch from 2.6.5 to 2.6.7

    Bumps node-fetch from 2.6.5 to 2.6.7.

    Release notes

    Sourced from node-fetch's releases.

    v2.6.7

    Security patch release

    Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th party host while a redirect occurred

    What's Changed

    Full Changelog: https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7

    v2.6.6

    What's Changed

    Full Changelog: https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.6

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Owner
Lorenzo Codeluppi
Lorenzo Codeluppi
a Node.js boilerplate to start creating your telegram bot without too much configuration at the beginning

node-telegram-bot-starter-pack How to use clone the repo run npm install run cp .env.example .env and replace the variables with your data define your

Mohammad MohammadAlian 7 Sep 7, 2022
A Discord <-> Telegram bridge rewrote from scratch, in Node.js

Discord-Telegram-bridge A small and fast telegram to discord chat bridge, written in Node.js Setup: If you want to run it on heroku, you can just clic

Sebastiano Barezzi 6 Apr 14, 2022
Cem Karaca - Telegram Bot

Cem Karaca Telegram botu | Bot Cem Karaca şarkılarını tanıtmak için yapıldı. Bot: https://t.me/cem_karaca_bot Botun kullanımı: /start - Botu başlat /h

Lucifer25x 1 Jan 10, 2022
Um simples bot para o Telegram que baixa vídeos e áudios do TikTok & outras funcionalidades

Kelle Estella (Telegram) Um simples bot para o Telegram que baixa vídeos e áudios do TikTok & outras funcionalidades. Clique aqui para utilizá-lo. Com

Luis Gabriel Araújo 3 Apr 20, 2022
Telegram & Discord chat bot for Airline Manager 4

AM4 Bot AM4 Bot was a Discord & Telegram chat bot used in 63 servers and across several Telegram chats between 2020-2022 for the game Airline Manager

Fin 5 Jun 5, 2022
Telegram bot with a graphical interface that enables you to schedule messages and generate automatic replies 🤖

Telegram bot with a graphical interface that enables you to schedule messages and generate automatic replies ??

rn0x 5 Dec 6, 2022
Telegram voice recognition bot

Node.js bot for telegram messenger based on Microsoft Azure Speech Service and Node.js Telegram Bot API

Dmitry 4 Mar 9, 2022
Telegram bot for Youtube-dl

English youtube-dl download telegram bot ydls와 함께 사용할 수 있는 봇으로, Docker가 설치되는 곳이면 어디든 설치가 가능하다 (ex: 리눅스 서버, 시놀로지 나스) 기존에 ydls 이미지를 그대로 사용하였지만, 채널 이름과,

IncredibleYoung 8 Oct 19, 2022
A telegram bot that sends the current day's foreign exchange rates to its subscribers

Birr Forex Bot A bot that sends the current day's foreign exchange rates to its subscribers. Using the bot Check out the bot here. Running the bot It

Fraol Lemecha 8 Dec 21, 2022
A typescript telegram bot with just two works in mind.

Minitsbot aka @Akagiprobot Made in ❤️ with Grammy and deno. A typescript telegram bot with just two works in mind: Autoapproves new join requests. (Ch

Divide Projects 3 Jun 7, 2022
TypeScript bot for auto-deleting of Telegram premium stickers with some interesting features based on the grammY library

anti-premium-stickers-bot TypeScript bot for auto-deleting of Telegram premium stickers with some interesting features based on the grammY library Thi

Владислав 5 Dec 15, 2022
Laporan keuangan, pencatatan pengeluaran dengan Bot Telegram yang terintegrasi dengan Google Spreadsheet

laporan-keuangan-bot Laporan keuangan, pencatatan pengeluaran dengan Bot Telegram yang terintegrasi dengan Google Spreadsheet Mulai Buat Bot telegram

Teguh Santoso 143 Dec 19, 2022
exercícios feitos com o pessoal do telegram

Turma - Pré-Trybe Desafios para treinos Exercícios feitos para pessoas que estão aprendendo agora!! Entre em nosso grupo no Telegram e no Discord Níve

Lucival dos Santos França Filho 3 Jun 13, 2022
🔔 Get an alert on Telegram when there are Raspberry in stock ready to buy

Raspberry instock check bot Get an alert on Telegram when there are Raspberry in stock ready to buy. This bot uses the website https://rpilocator.com/

null 38 Dec 16, 2022
Telegram-API Library Written in TypeScript

TeleLib a node js Telegram Wrapper written in TypeScript. installation yarn add @telelib/telelib or npm i --save @telelib/telelib how to use create a

MohammadMahdi Afshar 0 Jul 27, 2022
A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.

Public Bot and Support Server! Invite the Public Version of this Bot so you don't need to host it by yourself or join my Discord server to get a custo

Tomato6966 472 Dec 25, 2022
New base bot WhatsApp 🈴 bukan self bot lagi atau buka bot yang bisa di pakai oleh bot sendiri 😎

Installation • Thanks to • Donate Official Group Bot • Settings Instalasi Heroku Buildpack Click the deploy icon below ! > heroku/nodejs > https://g

zeeone 27 Feb 9, 2022
This bot is a cool Discord bot made in discord.js using Node.JS

Anti-Crosspost Discord Bot This bot is a cool Discord bot made in discord.js using Node.JS. It detects when a user cross-posts a message in multiple c

Muhammad Usman Mithani 4 May 31, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023