{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":678587023,"defaultBranch":"main","name":"truncate","ownerLogin":"DomBinks","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-08-14T22:47:41.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/23039581?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1692053262.870263","currentOid":""},"activityList":{"items":[{"before":"334e83983a7d4328d93173141e32414a4c3144f5","after":"2cae3be9f3d6bdbdf73646f303278bf7f99a8565","ref":"refs/heads/main","pushedAt":"2024-07-14T14:50:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Update README.md\n\nFix typo in README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"b2290faaa03c5889a0b752a64bce10b35dc7a2c3","after":"334e83983a7d4328d93173141e32414a4c3144f5","ref":"refs/heads/main","pushedAt":"2023-12-24T17:45:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Fix errors for deployment\n\nFixed errors that prevented proper deployment.","shortMessageHtmlLink":"Fix errors for deployment"}},{"before":"a78bfb11812e07a8066f4345b58057dcff7fa424","after":"b2290faaa03c5889a0b752a64bce10b35dc7a2c3","ref":"refs/heads/main","pushedAt":"2023-09-26T18:58:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor Gin to use HTTPS\n\nThe Gin web server has been refactored to use HTTPS in order to be more\nsecure.","shortMessageHtmlLink":"Refactor Gin to use HTTPS"}},{"before":"107c0a14aad7685e9d754acfe844cfeb8a2e93c1","after":"a78bfb11812e07a8066f4345b58057dcff7fa424","ref":"refs/heads/main","pushedAt":"2023-09-23T22:23:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Fix errors in Docker files","shortMessageHtmlLink":"Fix errors in Docker files"}},{"before":"0041c5c8e78a3de047e853aedb287d9c71006089","after":"107c0a14aad7685e9d754acfe844cfeb8a2e93c1","ref":"refs/heads/main","pushedAt":"2023-09-23T21:28:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor web server to use port 80\n\nThe Go Gin web server has been refactored to use port 80 as this is the\ndefault port for HTTP.","shortMessageHtmlLink":"Refactor web server to use port 80"}},{"before":"ca35648e92553ae18b4845e7282452642966d9c7","after":"0041c5c8e78a3de047e853aedb287d9c71006089","ref":"refs/heads/main","pushedAt":"2023-09-23T21:02:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add extra debug output","shortMessageHtmlLink":"Add extra debug output"}},{"before":"bacbbfa9b527983052839c948f7822ee3658a4cd","after":"ca35648e92553ae18b4845e7282452642966d9c7","ref":"refs/heads/main","pushedAt":"2023-09-23T20:20:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"2ab27506095cacb6adc57514eb73831d50e731fe","after":"bacbbfa9b527983052839c948f7822ee3658a4cd","ref":"refs/heads/main","pushedAt":"2023-09-23T19:24:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor environment variables\n\nRefactored the environment variables so ROUTER is used for the IP used\nby the router, and HANDLER is the IP used by handler functions","shortMessageHtmlLink":"Refactor environment variables"}},{"before":"942fb33a59a621d3f7bb44a0e299d82e9377142f","after":"2ab27506095cacb6adc57514eb73831d50e731fe","ref":"refs/heads/main","pushedAt":"2023-09-21T21:03:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor environment variables\n\nThe environment variables have been refactored, as the Go app only needs\nto use 1 IP throughout the app.","shortMessageHtmlLink":"Refactor environment variables"}},{"before":"d861c0ff845f7140f9bd766cdc40d2552c3fb054","after":"942fb33a59a621d3f7bb44a0e299d82e9377142f","ref":"refs/heads/main","pushedAt":"2023-09-21T20:18:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Remove minor unused and debug code","shortMessageHtmlLink":"Remove minor unused and debug code"}},{"before":"e9625955263fc27d7393598cfc06508e14df26b0","after":"d861c0ff845f7140f9bd766cdc40d2552c3fb054","ref":"refs/heads/main","pushedAt":"2023-09-21T12:23:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Update index page text and favicon","shortMessageHtmlLink":"Update index page text and favicon"}},{"before":"d36c8da55de9edd1d5bd17c1317a4557c2108784","after":"e9625955263fc27d7393598cfc06508e14df26b0","ref":"refs/heads/main","pushedAt":"2023-09-21T11:58:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor code to use environment variables\n\nThe code now uses environment variables for storing the database\ninformation and the IPs used by the Gin router and handlers. This\nenables it to easily be changed when deploying.","shortMessageHtmlLink":"Refactor code to use environment variables"}},{"before":"daed17e448b5db61bd97011db11faae1d2575656","after":"d36c8da55de9edd1d5bd17c1317a4557c2108784","ref":"refs/heads/main","pushedAt":"2023-09-20T19:25:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add docker files for easy deployment\n\nDocker files have been added to allow the app and database to be easily\ndeployed. Docker compose is used to create a container for the Go and\nAngular app and another contrainer for the PostgreSQL database.","shortMessageHtmlLink":"Add docker files for easy deployment"}},{"before":"4a08ffa2f18f6eaa5077181dbbf279e38fdfbacc","after":"daed17e448b5db61bd97011db11faae1d2575656","ref":"refs/heads/main","pushedAt":"2023-09-09T14:45:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor Go files\n\nRefactor Go files by moving some packages into the internal folder in\norder to conform to better organisational practices.","shortMessageHtmlLink":"Refactor Go files"}},{"before":"dd5453ac8f059f3ace6f43786e2496e5a2e1b61f","after":"4a08ffa2f18f6eaa5077181dbbf279e38fdfbacc","ref":"refs/heads/main","pushedAt":"2023-09-09T14:29:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor URL shortening\n\nThe shortened URL now uses a 6 character long string of random letters\nand numbers, instead of a random number. Additionally, the SQL command\nstrings have been improved to avoid the possibility of SQL injection.","shortMessageHtmlLink":"Refactor URL shortening"}},{"before":"dd3bb8a05b9206d03f3d42ae9f7f5bad200ebd0f","after":"dd5453ac8f059f3ace6f43786e2496e5a2e1b61f","ref":"refs/heads/main","pushedAt":"2023-09-06T23:26:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add URL checking\n\nThe URLs entered by the user to shorten are now checked to ensure that they are\nvalid.","shortMessageHtmlLink":"Add URL checking"}},{"before":"a3736e4064ce5da7d84951489cda133017fbf61d","after":"dd3bb8a05b9206d03f3d42ae9f7f5bad200ebd0f","ref":"refs/heads/main","pushedAt":"2023-09-06T22:04:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor back-end into more files\n\nThe backend has now been refactored into more files in order to better\norganise the code. Helper functions have been placed in the helpers\npackage, and handlers for different paths the router handles have been\nput into the handlers package.","shortMessageHtmlLink":"Refactor back-end into more files"}},{"before":"f2a53c0ea1c1ee5d9fcaed22fa8aa0d333799445","after":"a3736e4064ce5da7d84951489cda133017fbf61d","ref":"refs/heads/main","pushedAt":"2023-09-05T18:44:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Refactor frontend to use better names\n\nThe Angular frontend has been refactored in order to use better names\nfor components, methods, variables, etc, in order for the names to be\nmore descriptive and clear.","shortMessageHtmlLink":"Refactor frontend to use better names"}},{"before":"aff6bce35eb9718c78374124668a4793212f55f8","after":"f2a53c0ea1c1ee5d9fcaed22fa8aa0d333799445","ref":"refs/heads/main","pushedAt":"2023-09-05T16:20:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Fix logout button\n\nThe logout button now logs out the user correctly when pressed.","shortMessageHtmlLink":"Fix logout button"}},{"before":"2add30ba5224737a30d2f1b77b315b3bc25d9f4c","after":"aff6bce35eb9718c78374124668a4793212f55f8","ref":"refs/heads/main","pushedAt":"2023-08-31T01:45:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add better page navigation UI\n\nThe UI has been updated to more easily enable the user to navigate\nbetween different pages.","shortMessageHtmlLink":"Add better page navigation UI"}},{"before":"7e1d3b708d865db4e4e978d9a371f5980b0377d5","after":"2add30ba5224737a30d2f1b77b315b3bc25d9f4c","ref":"refs/heads/main","pushedAt":"2023-08-30T00:07:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add link deleting to profile page\n\nUsers can now delete links they've created from their profile page.\nAdditionally, if a user that isn't logged in goes to the /profile page,\nthey will be redirected to the home page.","shortMessageHtmlLink":"Add link deleting to profile page"}},{"before":"aa0dd1d76cd0920b26c0d9aa7e829d814ca2ebc3","after":"7e1d3b708d865db4e4e978d9a371f5980b0377d5","ref":"refs/heads/main","pushedAt":"2023-08-27T23:11:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add link database entries to profile page\n\nA user's profile page now displays all the links they have created. More\nwork needs to be done to improve the UI.","shortMessageHtmlLink":"Add link database entries to profile page"}},{"before":"eeeed801381d6aacf200925c163d6daf1d2051e5","after":"aa0dd1d76cd0920b26c0d9aa7e829d814ca2ebc3","ref":"refs/heads/main","pushedAt":"2023-08-27T22:18:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add user when adding link to database\n\nWhen a link is added to the database, the name column is now either\n\"default\" if the user isn't signed in, or a user's unique ID if they're\nsigned in. This ID is the JSON web token subject claim, as this uniquely\nidentifies the user.","shortMessageHtmlLink":"Add user when adding link to database"}},{"before":"fb2e08b1ed98a2b1eec4d91f5c020aaf5b9c5959","after":"eeeed801381d6aacf200925c163d6daf1d2051e5","ref":"refs/heads/main","pushedAt":"2023-08-26T01:02:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add redirect to profile page after login\n\nIf the user successfully logins in or has previously logged in, they\nwill now be redirected to the /profile page. Despite this, there is a\nbug that means a user that isn't logged in can go directly to the\nprofile page from the search bar and is able to access this page.","shortMessageHtmlLink":"Add redirect to profile page after login"}},{"before":"3264b7da9e1afdcb737ae7782d8fc483f363ddaa","after":"fb2e08b1ed98a2b1eec4d91f5c020aaf5b9c5959","ref":"refs/heads/main","pushedAt":"2023-08-25T22:35:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add Auth0 login functions\n\nThe Auth0 login functions from the Go quickstart guide have been added.\nAdditionally, a button has been added to the home page to take you to\nthe Auth0 login page. After logging in, the user is redirected to the\n/profile page. Currently this hasn't been configured correctly to\nredirect to the Angular frontend.","shortMessageHtmlLink":"Add Auth0 login functions"}},{"before":"ea2d6d0307e8fe969852dce205230a1a063bf22f","after":"3264b7da9e1afdcb737ae7782d8fc483f363ddaa","ref":"refs/heads/main","pushedAt":"2023-08-23T16:23:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add improved HTML and CSS to link page\n\nThe page that provides the shortened link now has improved UI by copying\nthe UI of the home page.","shortMessageHtmlLink":"Add improved HTML and CSS to link page"}},{"before":"92262c1f7cf041981e0a7eb2cd9b968b54600226","after":"ea2d6d0307e8fe969852dce205230a1a063bf22f","ref":"refs/heads/main","pushedAt":"2023-08-23T15:56:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add POST response to URL submission\n\nWhen the user submits the URL to shorten, the backend now sends a\nresponse to the POST request containing the URL which contains the\nnumber given to that URL to create the shortened link.","shortMessageHtmlLink":"Add POST response to URL submission"}},{"before":"c2022147b700e3a93348d81f654b7b16d6fc97f6","after":"92262c1f7cf041981e0a7eb2cd9b968b54600226","ref":"refs/heads/main","pushedAt":"2023-08-22T21:18:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add POST request to send data to backend\n\nThe Angular frontend now successfully sends a POST request to the Go Gin\nbackend to send the URL submitted by the user. Backend successfully\nreceives this URL. Currently the backend fails when it trys to add the\nURL alongside it's shortened number to the database.","shortMessageHtmlLink":"Add POST request to send data to backend"}},{"before":"8c8ac4f325c61f6221669d7c69512fe38af560c5","after":"c2022147b700e3a93348d81f654b7b16d6fc97f6","ref":"refs/heads/main","pushedAt":"2023-08-20T22:17:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add better intregation of Angular front-end\n\nThe Angular files are now in the root of the web server, instead of\nbeing inside a folder. This should hopefully mean that in the future\nit's easier to send post requests to the Go back-end. Additionally,\nrouting has been added to the Angular app to allow the page to change in\nresponse to submitting the URL form.","shortMessageHtmlLink":"Add better intregation of Angular front-end"}},{"before":"564b82e86e2e43ba2f94487d3337f6f6a98bb7b6","after":"8c8ac4f325c61f6221669d7c69512fe38af560c5","ref":"refs/heads/main","pushedAt":"2023-08-18T23:50:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DomBinks","name":"Dom Binks","path":"/DomBinks","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23039581?s=80&v=4"},"commit":{"message":"Add index page UI to Angular app\n\nThe Angular app now has a UI for the index page, which allows the user\nto input a URL to shorten. The basic HTML is still returned when the form is\nPOSTed.","shortMessageHtmlLink":"Add index page UI to Angular app"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xNFQxNDo1MDo0My4wMDAwMDBazwAAAAR_BxnD","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOC0xOFQyMzo1MDowNC4wMDAwMDBazwAAAANt68wi"}},"title":"Activity ยท DomBinks/truncate"}