Commit Graph

  • a42d4c30a6 Started (incomplete) implementation of stream verification scheduler and endpoints main Stefano 2025-06-17 17:12:39 -05:00
  • abb467749b Implemented bulk upload by passing a json structure. Added delete all channels, groups and priorities Stefano 2025-06-12 18:49:20 -05:00
  • b8ac25e301 Introduced groups and added all related endpoints Stefano 2025-06-10 23:02:46 -05:00
  • 729eabf27f Updated documentation Stefano 2025-05-29 18:46:40 -05:00
  • 34c446bcfa Make sure DB credentials are available when running userdata (fix-2) Stefano 2025-05-29 17:52:53 -05:00
  • d4cc74ea8c Make sure DB credentials are available when running userdata (fix-1) Stefano 2025-05-29 17:48:23 -05:00
  • 21b73b6843 Make sure DB credentials are available when running userdata Stefano 2025-05-29 17:43:08 -05:00
  • e743daf9f7 Moved creation of the instance after database creation Stefano 2025-05-29 17:16:08 -05:00
  • b0d98551b8 Fixed install of postgres client on Amazon Linux 2023 Stefano 2025-05-29 16:37:42 -05:00
  • eaab1ef998 Changed project name to be IPTV Manager Service Stefano 2025-05-29 16:09:52 -05:00
  • e25f8c1ecd Run unit test upon committing new code Stefano 2025-05-28 23:41:12 -05:00
  • 95bf0f9701 Created unit tests for check_streams Stefano 2025-05-28 23:31:04 -05:00
  • f7a1c20066 Created unit tests for playlist.py Stefano 2025-05-28 22:58:29 -05:00
  • bf6f156fec Created unit tests for priorities.py router Stefano 2025-05-28 22:31:31 -05:00
  • 7e25ec6755 Test refactoring Stefano 2025-05-28 22:22:20 -05:00
  • 6d506122d9 Add pre-commit commands to install script Stefano 2025-05-28 22:05:13 -05:00
  • 02913c7385 Linted and formatted all files Stefano 2025-05-28 21:52:39 -05:00
  • e46f13930d Added ruff linter and formatter Stefano 2025-05-28 20:50:10 -05:00
  • 903f190ee2 Added more unit tests for routers Stefano 2025-05-27 23:41:00 -05:00
  • 32af6bbdb5 Added unit tests for all auth classes Stefano 2025-05-27 18:44:05 -05:00
  • 7ee7a0e644 Added unit tests for cognito.py Stefano 2025-05-27 18:31:18 -05:00
  • 9474a3ca44 Added unit tests for main.py Stefano 2025-05-27 18:13:32 -05:00
  • 1ab8599dde Complete coverage for database.py Stefano 2025-05-27 18:04:56 -05:00
  • fb5215b92a Cleanup test database unit tests Stefano 2025-05-27 17:57:28 -05:00
  • cebbb9c1a8 Added pytest configuration and first 4 unit tests Stefano 2025-05-27 17:37:05 -05:00
  • 4b1a7e9bea Added alembic upgrade head to workflow script Stefano 2025-05-26 21:43:44 -05:00
  • 21cc99eff6 Added in_use and priority_id field for channels urls. Added priorities table. Setup sql alchemy migration. Generate first migration. Stefano 2025-05-26 21:24:41 -05:00
  • 76dc8908de Moved install script to scripts folder Stefano 2025-05-23 14:50:33 -05:00
  • 07dab76e3b Install Python packages with --ignore-installed to prevent conflicts with RPM packages Stefano 2025-05-23 14:11:51 -05:00
  • c21b34f5fe Fixed packages installation to conform with Amazon Linux 2023 Stefano 2025-05-23 13:26:31 -05:00
  • b1942354d9 Switch to AMAZON Linux 2023 Stefano 2025-05-23 12:57:21 -05:00
  • 3937269bb9 Use EC2 instance public address (free tier compatible) Stefano 2025-05-23 12:25:23 -05:00
  • 8c7ed421c9 Using Optional[str] instead of str | None for optional fields Stefano 2025-05-23 11:49:13 -05:00
  • c96ee307db Moved channel URLs to channels_urls table. Create CRUD endpoints for new table. Stefano 2025-05-23 11:36:04 -05:00
  • f11d533fac Allow PostgreSQL port for tunneling restricted to developer IP Stefano 2025-05-23 09:30:55 -05:00
  • 99d26a8f53 Remove ingress rule to allow remote access to database since database is now on a private subnet Stefano 2025-05-23 01:14:44 -05:00
  • 260fcb311b Place ec2 explicitly in public subnet Stefano 2025-05-22 23:18:05 -05:00
  • 1e82418cad Place rds database in private subnet Stefano 2025-05-22 22:37:03 -05:00
  • 9c690fe6a6 Fixed name on new ingress rule Stefano 2025-05-22 11:38:14 -05:00
  • 9e8df169fc Refactored DB schema. Channels table to have uuid as primary key. Modified endpoints accordingly Stefano 2025-05-22 11:34:04 -05:00
  • 5ee6cb4be4 Moved endpoints to routers Stefano 2025-05-22 09:34:20 -05:00
  • c1e3a6ef26 Updated README Stefano 2025-05-21 16:57:27 -05:00
  • cb793ef5e1 Add SendCommand permissions Stefano 2025-05-21 16:29:34 -05:00
  • be719a6e34 Fixed process of updating app on running instances Stefano 2025-05-21 16:16:02 -05:00
  • 5767124031 Fixed database credential retrieval Stefano 2025-05-21 15:05:12 -05:00
  • c6f7e9cb2b Changed db instance class to t3 Stefano 2025-05-21 14:32:22 -05:00
  • eeb0f1c844 Need at least 2 AZs for RDS subnet group Stefano 2025-05-21 14:24:50 -05:00
  • 4cb3811d17 RDS to use public subnet Stefano 2025-05-21 14:16:48 -05:00
  • 489281f3eb Added PostgreSQL RDS database. Added channels protected endpoints. Added scripts and docker config to run application locally in dev mode. Stefano 2025-05-21 14:02:01 -05:00
  • b947ac67f0 Fixed typo Stefano 2025-05-20 17:02:59 -05:00
  • dd2446a01a Updated README Stefano 2025-05-20 16:41:19 -05:00
  • 639adba7eb Moved repo url and email for letsencrypt to env variables Stefano 2025-05-20 16:24:31 -05:00
  • 5698e7f26b Moved ssh public key to an environment variable Stefano 2025-05-20 15:51:34 -05:00
  • df3fc2f37c Fixed acme.sh installation in userdata.sh - Part 2 Stefano 2025-05-20 15:02:11 -05:00
  • 594ce0c67a Fixed acme.sh installation in userdata.sh Stefano 2025-05-20 14:48:26 -05:00
  • 37be1f3f91 Fixed replacing of DOMAIN_NAME in userdata.sh Stefano 2025-05-20 14:11:03 -05:00
  • 732667cf64 Added SSL cert generation and installation. Moved variables to ENV Stefano 2025-05-20 12:45:55 -05:00
  • 5bc7a72a92 Initial README version representing the current progress Stefano 2025-05-16 14:37:35 -05:00
  • a5dfc1b493 Added scripts to create and delete users. Moved all scripts to new scripts folder Stefano 2025-05-16 14:19:14 -05:00
  • 0b69ffd67c Switch to cognito user/password authentication. Major code refactor - Fix 4 Stefano 2025-05-16 13:39:29 -05:00
  • 127d81adac Switch to cognito user/password authentication. Major code refactor - Fix 3 Stefano 2025-05-16 13:22:10 -05:00
  • 658f7998ef Switch to cognito user/password authentication. Major code refactor - Fix 2 Stefano 2025-05-16 13:00:09 -05:00
  • c4f19999dc Switch to cognito user/password authentication. Major code refactor - Fix 1 Stefano 2025-05-16 11:11:16 -05:00
  • c221a8cded Switch to cognito user/password authentication. Major code refactor. Stefano 2025-05-16 11:05:54 -05:00
  • 8d1997fa5a Added cognito authentication - Fix 12 Stefano 2025-05-15 17:27:51 -05:00
  • 795a25961f Added cognito authentication - Fix 11 Stefano 2025-05-15 17:23:52 -05:00
  • d55c383bc4 Added cognito authentication - Fix 10 Stefano 2025-05-15 17:14:33 -05:00
  • 5c17e4b1e9 Added cognito authentication - Fix 9 Stefano 2025-05-15 17:08:01 -05:00
  • 30ccf86c86 Added cognito authentication - Fix 8 Stefano 2025-05-15 16:52:54 -05:00
  • ae040fc49e Added cognito authentication - Fix 7 Stefano 2025-05-15 16:42:42 -05:00
  • 47befceb17 Added cognito authentication - Fix 6 Stefano 2025-05-15 16:29:57 -05:00
  • 7f282049ac Added cognito authentication - Fix 5 Stefano 2025-05-15 16:24:37 -05:00
  • 38e5a94701 Added cognito authentication - Fix 4 Stefano 2025-05-15 16:12:49 -05:00
  • 7b7ff78030 Added cognito authentication - Fix 3 Stefano 2025-05-15 16:11:30 -05:00
  • 35745c43bd Added cognito authentication - Fix 2 Stefano 2025-05-15 15:50:17 -05:00
  • 749e66e63f Added cognito authentication - Fix 1 Stefano 2025-05-15 15:33:12 -05:00
  • a07a28525f Added cognito authentication Stefano 2025-05-15 14:18:55 -05:00
  • 8c9ea4187e Added code that generates playlist and epg Stefano 2025-05-15 12:18:38 -05:00
  • 26f57c39ba Created updated scripts to deploy/destroy manually - Made files executable Stefano 2025-05-15 11:45:48 -05:00
  • 91406f2439 Created updated scripts to deploy/destroy manually Stefano 2025-05-15 11:38:53 -05:00
  • c53e65d713 Added installation of aws client to workflow - Fix 3 Stefano 2025-05-15 10:55:27 -05:00
  • 45d58bc6ea Added installation of aws client to workflow - Fix 2 Stefano 2025-05-15 10:49:50 -05:00
  • bd27f108e6 Added installation of aws client to workflow - Fix 1 Stefano 2025-05-15 10:45:09 -05:00
  • e71961ea2a Added installation of aws client to workflow Stefano 2025-05-15 10:43:33 -05:00
  • 35b78b44b8 Install app as a service. Update application upon deployment without destroing it. Added elastic ip Stefano 2025-05-15 10:32:22 -05:00
  • 687c6a6d4e destroy stack before deploying new one. Created nginx configuration Stefano 2025-05-14 23:37:41 -05:00
  • 61231e9d0f provide the public key for key pair creation Stefano 2025-05-14 23:22:11 -05:00
  • 057b3f1589 create venv on ec2 instance and then run the app - Fix 1 Stefano 2025-05-14 23:00:30 -05:00
  • a384d6c911 create venv on ec2 instance and then run the app Stefano 2025-05-14 21:30:26 -05:00
  • 3c726d6332 Clone repo and install requirements on instance setup - Fix 1 Stefano 2025-05-14 20:38:30 -05:00
  • e67a6361ad Clone repo and install requirements on instance setup Stefano 2025-05-14 20:31:16 -05:00
  • 23608dbb01 Added deploy to AWS in build job - Fix 1 Stefano 2025-05-14 20:15:26 -05:00
  • c039617971 Added deploy to AWS in build job Stefano 2025-05-14 20:10:20 -05:00
  • 147f40265a Defined build job in workflow Stefano 2025-05-14 19:45:03 -05:00
  • cb26daa3be Created workflow with demo job to test runner functionality Stefano 2025-05-14 19:29:01 -05:00
  • d7d5ee0836 first commit Stefano 2025-05-13 18:13:40 -05:00