{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":645765098,"defaultBranch":"main","name":"greenlight-api","ownerLogin":"ricci2511","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-05-26T11:38:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/80476005?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1685101116.453794","currentOid":""},"activityList":{"items":[{"before":"66ce84a1f898fa85d2e61061b14c79b6315cd1fb","after":"edef37aab4c4ec5f7c242c32b70fe016792b5449","ref":"refs/heads/main","pushedAt":"2024-01-21T16:14:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"0268a07bd59e3983ca4b64af795906cafa41947c","after":"66ce84a1f898fa85d2e61061b14c79b6315cd1fb","ref":"refs/heads/main","pushedAt":"2023-06-23T22:31:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"4028f54b7b114ef6f1f18433da2e91c9af5455d5","after":"0268a07bd59e3983ca4b64af795906cafa41947c","ref":"refs/heads/main","pushedAt":"2023-06-13T15:24:35.706Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"added make commands for db migrations and fixed an up sql migration file.","shortMessageHtmlLink":"added make commands for db migrations and fixed an up sql migration f…"}},{"before":"88e6a9a599f180b56ad90e6c313f62a29fdf3449","after":"4028f54b7b114ef6f1f18433da2e91c9af5455d5","ref":"refs/heads/main","pushedAt":"2023-06-12T17:30:10.168Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"refactor: reworked config files.","shortMessageHtmlLink":"refactor: reworked config files."}},{"before":"68a12bf4a0c71912c46b04afd566c57f75e5e057","after":"88e6a9a599f180b56ad90e6c313f62a29fdf3449","ref":"refs/heads/main","pushedAt":"2023-06-12T12:52:11.114Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added routes to reset a users password.","shortMessageHtmlLink":"ci: added routes to reset a users password."}},{"before":"625f6f40899d2cfd8518e8ee2337f1639927f8ea","after":"68a12bf4a0c71912c46b04afd566c57f75e5e057","ref":"refs/heads/main","pushedAt":"2023-06-10T23:00:44.082Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: containerized api and added air for live server reload.\n\n- Renamed go module name to the github repo url.","shortMessageHtmlLink":"ci: containerized api and added air for live server reload."}},{"before":"5bd49061234672f3f7b770d0f2bebfb364873673","after":"625f6f40899d2cfd8518e8ee2337f1639927f8ea","ref":"refs/heads/main","pushedAt":"2023-06-09T17:47:24.119Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: MAKE file setup.","shortMessageHtmlLink":"ci: MAKE file setup."}},{"before":"4f9b1f9d8016ca072ffb9aa695d0d179d801dd7d","after":"5bd49061234672f3f7b770d0f2bebfb364873673","ref":"refs/heads/main","pushedAt":"2023-06-09T11:24:53.119Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: implemented basic metrics using expvar.","shortMessageHtmlLink":"ci: implemented basic metrics using expvar."}},{"before":"5768ad7400b2da0e68e09f2fbc4a750139ab3ec3","after":"4f9b1f9d8016ca072ffb9aa695d0d179d801dd7d","ref":"refs/heads/main","pushedAt":"2023-06-08T16:40:46.552Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added cli flag to set trusted origins for CORS.\n\n- Added middleware to enable CORS dynamically depending on the trustedOrigins set in the config struct.","shortMessageHtmlLink":"ci: added cli flag to set trusted origins for CORS."}},{"before":"23ceb47fbbf5baa375e8a53b3055a70cf7ff2814","after":"5768ad7400b2da0e68e09f2fbc4a750139ab3ec3","ref":"refs/heads/main","pushedAt":"2023-06-07T17:17:50.223Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added permissions based authorization on /v1/movies routes.\n\n- Implemented new Permissions model.","shortMessageHtmlLink":"ci: added permissions based authorization on /v1/movies routes."}},{"before":"bb59f0646427d13bc45ebcf6792ab4fb3dd37c69","after":"23ceb47fbbf5baa375e8a53b3055a70cf7ff2814","ref":"refs/heads/main","pushedAt":"2023-06-06T19:07:19.905Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added middlewares to check for user authentication and account activation.","shortMessageHtmlLink":"ci: added middlewares to check for user authentication and account ac…"}},{"before":"3a629311a67899a96ac65899ccb999485a3fed4a","after":"bb59f0646427d13bc45ebcf6792ab4fb3dd37c69","ref":"refs/heads/main","pushedAt":"2023-06-06T15:37:43.392Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: implemented stateful token authentication.\n\n- Added API route to generate a token from users email and password.\n- Added helper methods to get and set user info from request context.\n- Added authenticate middleware that checks for a Bearer token on every request.","shortMessageHtmlLink":"ci: implemented stateful token authentication."}},{"before":"484d377b602e06f64853959fd04a8cc2244bb86f","after":"3a629311a67899a96ac65899ccb999485a3fed4a","ref":"refs/heads/main","pushedAt":"2023-06-06T14:03:22.709Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added a Tokens model and API route to activate users.","shortMessageHtmlLink":"ci: added a Tokens model and API route to activate users."}},{"before":"976f78b7af977df692e41847ed38b183a14c3411","after":"484d377b602e06f64853959fd04a8cc2244bb86f","ref":"refs/heads/main","pushedAt":"2023-06-05T11:34:11.612Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added new mailer package to send emails through SMTP.\n\n- Tweaked createUserHandler to send a welcome email on success.\n- Added a small helper to launch background routines with panic recovery.","shortMessageHtmlLink":"ci: added new mailer package to send emails through SMTP."}},{"before":"7364256df4fa7afa2feb9acb48adeb1f1eb5ea14","after":"976f78b7af977df692e41847ed38b183a14c3411","ref":"refs/heads/main","pushedAt":"2023-06-03T10:56:40.882Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added new Users model and API route to create users.","shortMessageHtmlLink":"ci: added new Users model and API route to create users."}},{"before":"4671eae944e9f1d49b0159a87cc45bf262ac8536","after":"7364256df4fa7afa2feb9acb48adeb1f1eb5ea14","ref":"refs/heads/main","pushedAt":"2023-06-02T11:36:54.970Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: moved http server initialization to a separate file.\n\n- added goroutine to gracefully shutdown the server.","shortMessageHtmlLink":"ci: moved http server initialization to a separate file."}},{"before":"11ab13604b2c393393113179e3cfe1133829878f","after":"4671eae944e9f1d49b0159a87cc45bf262ac8536","ref":"refs/heads/main","pushedAt":"2023-06-01T15:08:19.229Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added ip address rate limiting.","shortMessageHtmlLink":"ci: added ip address rate limiting."}},{"before":"d1f59a60f65ed2af9b3f8cc340aa1665f8b587e9","after":"11ab13604b2c393393113179e3cfe1133829878f","ref":"refs/heads/main","pushedAt":"2023-06-01T13:56:16.119Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: implemented custom logger and panic recovery middleware.","shortMessageHtmlLink":"ci: implemented custom logger and panic recovery middleware."}},{"before":"734c3640f74bd7f5b6a46500288daff815c4f77c","after":"d1f59a60f65ed2af9b3f8cc340aa1665f8b587e9","ref":"refs/heads/main","pushedAt":"2023-05-31T15:46:01.433Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added handler to get all movies with support for pagination, filtering and sorting.\n\n- Added db indexes on movie title and genres.\n- Added helpers to read strings, csv and ints from a request url query string.","shortMessageHtmlLink":"ci: added handler to get all movies with support for pagination, filt…"}},{"before":"de36bfe8a027b33c812313dd79a61046dfbc130b","after":"734c3640f74bd7f5b6a46500288daff815c4f77c","ref":"refs/heads/main","pushedAt":"2023-05-30T16:34:07.858Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added 3s timeouts to db queries and support for partial updates on movies.","shortMessageHtmlLink":"ci: added 3s timeouts to db queries and support for partial updates o…"}},{"before":"e99870dc4950bd243be883758fbd997d6d8e5baa","after":"de36bfe8a027b33c812313dd79a61046dfbc130b","ref":"refs/heads/main","pushedAt":"2023-05-29T22:21:25.158Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: implemented crud operations on the movies sql table.","shortMessageHtmlLink":"ci: implemented crud operations on the movies sql table."}},{"before":"e201f322cc2729ac31df90ea2ab0ac9bc7fb9a74","after":"e99870dc4950bd243be883758fbd997d6d8e5baa","ref":"refs/heads/main","pushedAt":"2023-05-28T11:20:39.633Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"Create README.md","shortMessageHtmlLink":"Create README.md"}},{"before":"73521559e87d5486ba1ae7c5edc605cf7e8eb154","after":"e201f322cc2729ac31df90ea2ab0ac9bc7fb9a74","ref":"refs/heads/main","pushedAt":"2023-05-28T11:10:38.053Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: setup psql docker container and db connection on api startup.","shortMessageHtmlLink":"ci: setup psql docker container and db connection on api startup."}},{"before":"fc3ef980287ec04e5c54f80b15d8656efd7298ec","after":"73521559e87d5486ba1ae7c5edc605cf7e8eb154","ref":"refs/heads/main","pushedAt":"2023-05-26T16:21:33.825Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: added custom validator package, helper to read JSON request bodies.\n\n- added validation to createMovieHandler.\n- added more errorResponse wrapper helpers.","shortMessageHtmlLink":"ci: added custom validator package, helper to read JSON request bodies."}},{"before":"b77b65d199787bf67ebfa5fa1e8ac3f78efdc26e","after":"fc3ef980287ec04e5c54f80b15d8656efd7298ec","ref":"refs/heads/main","pushedAt":"2023-05-26T11:48:09.676Z","pushType":"push","commitsCount":1,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"ci: basic api routes and movies model setup.","shortMessageHtmlLink":"ci: basic api routes and movies model setup."}},{"before":null,"after":"b77b65d199787bf67ebfa5fa1e8ac3f78efdc26e","ref":"refs/heads/main","pushedAt":"2023-05-26T11:38:36.453Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ricci2511","name":"Ricardo Christmann","path":"/ricci2511","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80476005?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD5S9L3gA","startCursor":null,"endCursor":null}},"title":"Activity · ricci2511/greenlight-api"}