alexrg
481a126093
fix: add git diff output to CI error message for better debugging
CI / test (pull_request) Failing after 40s
2026-03-10 14:53:01 -06:00
alexrg
8409001587
Implement feature X to enhance user experience and fix bug Y in module Z
CI / test (pull_request) Failing after 39s
2026-03-10 14:45:09 -06:00
alexrg
8dc1b8dee1
fix: remove invisible character from Json type definition
CI / test (pull_request) Failing after 40s
2026-03-10 14:35:44 -06:00
alexrg
347f932a21
Disable JWT verification for openai-webhook-responses function
Deploy Function / deploy (push) Successful in 1m26s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-03-10 09:27:51 -06:00
alexrg
2ff1a5e8a9
Refactor CI workflow to reset database for clean state and remove directory listing step
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-03-10 08:36:02 -06:00
alexrg
3959b97aa1
Improve CI workflow by adding directory listing for debugging and removing generated types preview
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-03-10 08:25:59 -06:00
alexrg
b04961a944
Enhance CI workflow to preview generated types and improve error messaging
Deploy Function / deploy (push) Successful in 23s
Deploy Migrations to Production / deploy (push) Successful in 16s
2026-03-10 08:16:42 -06:00
alexrg
c2a7eea20a
Add GraphQL public type definitions and update constants
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 15s
2026-03-10 08:10:50 -06:00
alexrg
7152f91dfc
update generated supabase types
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-03-10 08:00:34 -06:00
alexrg
0c2310d0d7
Fix path for generated types in CI workflow
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 13s
2026-03-10 07:51:41 -06:00
alexrg
13645dc00a
Refactor Database type definitions by removing unused fields and adding new entities for person, professor, and student
2026-03-10 07:51:37 -06:00
alexrg
1b715baff6
Añadir .gitea/workflows/ci.yaml
Deploy Function / deploy (push) Successful in 28s
Deploy Migrations to Production / deploy (push) Successful in 14s
2026-03-10 01:36:11 +00:00
alexrg
d4ceac77a9
feat: add logging for JWT refresh and session management in Supabase security notebook
Deploy Function / deploy (push) Failing after 14s
Deploy Migrations to Production / deploy (push) Failing after 8s
2026-03-02 14:13:28 -06:00
alexrg
99a6e28f42
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Failing after 15s
Deploy Migrations to Production / deploy (push) Failing after 9s
2026-03-02 14:11:19 -06:00
alexrg
606db3362c
feat: add jwt-decode dependency and implement JWT handling in Supabase security notebook
2026-03-02 14:11:05 -06:00
alexrg
824db85305
fix: simplify refusal handling in message response by removing is-refusal field
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 13s
2026-02-25 10:04:08 -06:00
alexrg
5fae2165b0
fix: change variable declaration from let to const for output in pickSchemaFields function
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 12s
2026-02-25 08:23:10 -06:00
alexrg
738d3970e3
fix: ensure campos is always an array in pickSchemaFields function
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-25 08:03:00 -06:00
alexrg
009e65d327
fix: remove required fields and additional properties from message schema
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-24 16:12:22 -06:00
alexrg
e43927f1b1
fix: add required fields and restrict additional properties in message schema
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-24 15:28:56 -06:00
alexrg
e906fe258c
fix: remove unnecessary JSON.stringify for appended parameter in message handling
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-24 15:26:15 -06:00
alexrg
44c86cfa13
fix: rename parameter from p_appended to p_append in message handling
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-24 15:24:50 -06:00
alexrg
c7bd107297
refactor: remove unused functions for appending conversations in the database
2026-02-24 15:20:24 -06:00
alexrg
7ee9944ab5
feat: add @toon-format/toon dependency and integrate into OpenAI notebooks
...
- Updated deno.lock and package.json to include @toon-format/toon@^2.1.0.
- Modified background-openai.ipynb to handle error responses and adjust execution counts.
- Enhanced definitions-openai.ipynb to include additional metadata for perishables and origen schemas.
- Refactored embeddings-openai.ipynb to improve error handling and output formatting.
- Updated create-chat-conversation function to append messages and responses to conversations.
- Added SQL functions for appending conversation data to the database.
2026-02-24 15:20:19 -06:00
alexrg
ef706dcf17
Agregar manejo de errores en la respuesta de la IA en el notebook de OpenAI
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-20 11:54:03 -06:00
alexrg
d029fa23e7
Agregar notebook para integración con OpenAI y Supabase
Deploy Function / deploy (push) Has been cancelled
Deploy Migrations to Production / deploy (push) Has been cancelled
2026-02-20 11:53:50 -06:00
alexrg
f816e31b63
Actualizar conteo de ejecución y corregir IDs en el notebook de conversaciones de OpenAI
2026-02-20 11:00:41 -06:00
alexrg
4b0b8e6a95
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 21s
Deploy Migrations to Production / deploy (push) Successful in 10s
2026-02-18 09:20:56 -06:00
alexrg
ef42d74fea
fix: remove conversation_id update logic from cambios_plan trigger
2026-02-18 09:20:54 -06:00
alexrg
329faac742
fix: remove unnecessary constraint from planes_estudio table
Deploy Function / deploy (push) Successful in 22s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-17 11:31:12 -06:00
alexrg
fed348e214
fix: update query text and similarity values in embeddings example
Deploy Function / deploy (push) Successful in 20s
Deploy Migrations to Production / deploy (push) Successful in 9s
2026-02-17 11:28:29 -06:00
alexrg
63e0ea7fbf
feat: add OpenAI embeddings functionality and update Supabase migration
Deploy Function / deploy (push) Has been cancelled
Deploy Migrations to Production / deploy (push) Has been cancelled
2026-02-17 11:28:00 -06:00
alexrg
e7d7f553a3
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 32s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-16 11:28:16 -06:00
alexrg
0a4fc51bf7
feat: add definitions for perishables and origin schemas in new notebook
2026-02-16 11:28:13 -06:00
alexrg
13cf57505f
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 26s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-13 16:12:26 -06:00
alexrg
9d25203ef6
fix: update execution counts and improve message parsing in chat conversation functions
2026-02-13 16:12:23 -06:00
alexrg
3d407c5b91
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 24s
Deploy Migrations to Production / deploy (push) Successful in 11s
2026-02-13 10:26:45 -06:00
alexrg
2d13995d5d
fix: update type generation script and modify database types structure
2026-02-13 10:26:43 -06:00
alexrg
b7720496cf
feat: update conversation archiving to store structured message data
CI / test (pull_request) Failing after 7s
2026-02-13 10:17:06 -06:00
alexrg
a70f0c52a9
feat: implement create-chat-conversation function with OpenAI integration and Supabase support
...
CI / test (pull_request) Failing after 8s
- Added CORS handling for the create-chat-conversation function.
- Implemented health check endpoint for the function.
- Created endpoints for managing conversations and messages with OpenAI.
- Added error handling and response formatting for better API usability.
- Introduced utility functions for environment variable management and Supabase client creation.
- Enhanced schema handling for structured responses from OpenAI.
- Implemented conversation archiving and retrieval logic.
2026-02-13 09:31:58 -06:00
alexrg
f441976a7a
Merge branch 'fix/borrar-triggers'
Deploy Function / deploy (push) Successful in 33s
Deploy Migrations to Production / deploy (push) Successful in 15s
2026-02-13 08:39:18 -06:00
alexrg
cfbd0cebbb
Refactor conversation handling in the OpenAI integration notebook
...
- Updated execution counts for code cells to reflect the correct order of execution.
- Modified the structure of conversation-related database interactions to align with new naming conventions.
- Enhanced the conversation creation process by including additional metadata and improving the response handling.
- Implemented better error handling and logging for conversation archiving and message retrieval.
- Adjusted the schema definitions for input and output to ensure compatibility with the latest API changes.
2026-02-13 08:38:43 -06:00
alexrg
53d9ab2876
Add trigger removal and logging function for cambios_planes_estudio
CI / test (pull_request) Failing after 2m19s
2026-02-12 15:13:19 -06:00
alexrg
ada4f3254c
Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
Deploy Function / deploy (push) Successful in 18s
Deploy Migrations to Production / deploy (push) Successful in 13s
2026-02-12 15:03:28 -06:00
alexrg
e78863a636
Agregar supabase/snippets al archivo .gitignore
2026-02-12 15:03:25 -06:00
alexrg
bdd4921795
Add initial implementation for create-chat-conversation function and related configuration files
2026-02-12 11:59:22 -06:00
alexrg
4615da4223
Implement new feature for user authentication and improve error handling
2026-02-12 10:37:41 -06:00
alexrg
484db49654
Refactor code structure for improved readability and maintainability
2026-02-12 10:35:52 -06:00
alexrg
0b72a227f1
Implement code changes to enhance functionality and improve performance
2026-02-12 10:04:42 -06:00
alexrg
801e23a89c
Agregar semilla
2026-02-12 10:01:58 -06:00
alexrg
834e884c90
Remove deprecated AI function and related configuration files for cleaner project structure
2026-02-12 09:47:58 -06:00
alexrg
e1410c65ec
Remove obsolete SQL migration file for cleaner project structure
2026-02-12 09:42:32 -06:00
alexrg
ce9c0cf3e6
Remove unused SQL migration files for cleaner project structure
2026-02-12 09:38:48 -06:00
alexrg
a3a7fd0de8
Refactor code structure for improved readability and maintainability
2026-02-12 09:38:06 -06:00
alexrg
e7acf50b82
Remove SQL insert statements for faculties and careers from the database schema.
2026-02-12 09:37:40 -06:00
alexrg
c33089726c
Establecer permisos de funciones y eliminar funciones no utilizadas en las migraciones
2026-02-12 09:37:03 -06:00
alexrg
7755246e8b
Agregar supabase/snippets al archivo .gitignore
2026-02-12 09:36:59 -06:00
alexrg
0b7d2e83d7
Refactor OpenAI service to manage env and convo creation
...
- Add fromEnv factory to OpenAIService to handle env vars
- Move conversation creation into OpenAIService
- Update create- chat-conversation function to use new OpenAIService
methods
- Add CORS headers to responses
2026-02-03 09:38:56 -06:00
alexrg
e024057e47
Add create-chat-conversation function and related configurations
2026-02-03 09:26:30 -06:00
alexrg
c51281856a
feat: update deno.json and deno.lock to include OpenAI and Zod imports; add sample PDF file
...
- Added imports for OpenAI and Zod in deno.json
- Updated deno.lock with new versions for OpenAI and Zod
- Introduced a sample PDF file demonstrating bookmark functionality
- Refactored ai-structured function to improve error handling and logging
- Updated tests to reflect changes in input structure and expected output
2026-01-19 16:12:17 -06:00
alexrg
1d5d4b6a4e
fix: update database queries to use 'template' instead of 'template_id' and adjust related references in ai_generate_plan function
2026-01-16 14:51:42 -06:00
alexrg
6c2faa97f1
test: enhance ai_generate_plan test for structured data validation and normalization
2026-01-16 11:04:28 -06:00
alexrg
e321935286
feat: initialize database schema with essential tables, types, and functions for academic management system
...
- Created multiple tables including 'asignaturas', 'carreras', 'planes_estudio', and others to manage academic entities.
- Defined various ENUM types for categorizing academic roles, task statuses, and notification types.
- Implemented triggers and functions for automatic timestamp updates and validation of cycle numbers in subjects.
- Established foreign key relationships to maintain data integrity across tables.
- Added necessary extensions for enhanced functionality, including 'pgsodium', 'pg_graphql', and 'pg_stat_statements'.
2026-01-16 10:53:32 -06:00
alexrg
81262d706a
Refactor input normalization and enhance logging for OpenAI function
2026-01-14 15:25:14 -06:00
alexrg
0d2345a6d6
Add Deno configuration and update dependencies for OpenAI and Supabase
2026-01-14 14:24:49 -06:00
alexrg
3d72e8bbf8
Add initial Supabase configuration and schema setup
...
- Created connection URL for PostgreSQL in pooler-url file.
- Added PostgreSQL version information in postgres-version file.
- Included project reference in project-ref file.
- Specified REST API version in rest-version file.
- Documented storage migration details in storage-migration file.
- Defined storage version in storage-version file.
- Updated ai-structured function to include logging for EDGE function.
- Established a comprehensive schema.sql file with multiple tables, types, functions, triggers, and permissions for the application.
2026-01-14 14:09:49 -06:00
alexrg
79e66aed63
Update deno.lock to include additional dependencies and specify versions for improved compatibility
2026-01-14 10:34:13 -06:00
alexrg
15b5fac951
Add launch and settings configuration for VSCode, remove unused bun.lock, and implement AI function with structured output handling and tests
2026-01-14 10:31:46 -06:00
alexrg
5917adbe75
Update dependencies in deno.lock and add tests for ai-structured function
2026-01-14 10:30:46 -06:00
alexrg
930556d862
Add configuration files and update dependencies for Supabase functions
2026-01-14 09:28:38 -06:00
alexrg
4fc445db61
Refactor dependency management and improve error handling in Supabase functions
2026-01-13 15:35:43 -06:00
alexrg
411e0f2154
Add deno.lock file and refactor AI function to streamline OpenAI integration
2026-01-13 11:10:41 -06:00
alexrg
f037e31896
Refactor Supabase function to simplify request handling and remove unused code
2026-01-13 09:49:39 -06:00
alexrg
5ab3c6ca5a
Add TypeScript definitions for Supabase edge runtime
2026-01-13 09:40:07 -06:00
alexrg
c0599e30ab
Add initial project files including .gitignore, README, package.json, and TypeScript configuration
...
- Created .gitignore to exclude unnecessary files
- Added README.md with installation and usage instructions
- Initialized package.json with dependencies and configurations
- Set up tsconfig.json for TypeScript compiler options
- Implemented basic index.ts file for logging
- Added Supabase function structure in ai-structured directory
- Created test files for user authentication and function invocation
2026-01-13 09:39:03 -06:00