Commit graph

583 commits

Author SHA1 Message Date
Ben Grant d2bee83db4 Remove dayjs and convert existing to Temporal 2023-05-28 18:00:28 +10:00
Ben Grant a74fee9318 Implement relativeTimeFormat fn with locale 2023-05-28 15:19:41 +10:00
Ben Grant 041256d5f8 Finish migration of Help page to Nextjs 2023-05-28 14:38:35 +10:00
Ben Grant 756b71433c Use Temporal polyfill to implement availability viewer structure 2023-05-28 12:51:33 +10:00
Ben Grant 877c4b3479 Migrate privacy policy to Nextjs 2023-05-24 22:17:08 +10:00
Ben Grant b23c538408 Fix Trans components using incorrect i18n instance 2023-05-24 21:11:07 +10:00
Ben Grant d7971d27df Add translate dialog for users with other languages 2023-05-24 20:56:04 +10:00
Ben Grant 00c7ae16f2 Reinstate the egg 2023-05-24 20:31:24 +10:00
Ben Grant 90352503b3 Handle theme change 2023-05-24 19:48:29 +10:00
Ben Grant 6220e599cf Add giraugh tools and update dayjs instance on client when lang changes 2023-05-24 19:10:52 +10:00
Ben Grant 3034605126 Refactor settings menu and implement language changer in next 2023-05-22 02:28:02 +10:00
Ben Grant 9919e0c16e Refactor SelectField and allow headers with CORS 2023-05-21 23:50:44 +10:00
Ben Grant e9945a19d5 Refactor TimeRangeField 2023-05-21 22:53:22 +10:00
Ben Grant 12004b8584 Rebuild TextField and CalendarField 2023-05-21 21:34:06 +10:00
Ben Grant 1e77205518 Convert download buttons and hide footer in app 2023-05-20 13:03:00 +10:00
Ben Grant 61bd31eb7e Set up API spec and basic components 2023-05-20 01:52:44 +10:00
Ben Grant 2adecd13f7 Start setting up Next js with the new app router 2023-05-19 23:59:44 +10:00
Benji Grant 49c6281b74
Merge pull request #258 from GRA0007/chore/setup-workflow
Setup API deployment workflow
2023-05-16 20:25:04 +10:00
Ben Grant 75e99e6945 Update branch to main 2023-05-16 20:24:54 +10:00
Ben Grant 4e7ae85a35 Reconfigure to use Fly.io, update workflow 2023-05-16 20:22:15 +10:00
Ben Grant 0442d9714c Remove array index 2023-05-16 18:14:14 +10:00
Ben Grant bc6e8dd2e0 Use ghcr tag directly 2023-05-16 17:37:35 +10:00
Ben Grant fcc72b58ea Use correct file path 2023-05-16 17:18:06 +10:00
Ben Grant 8f2c7bb1c0 Include workflow file in deps 2023-05-16 17:17:00 +10:00
Ben Grant 1f6479d879 Set docker context explicitly 2023-05-16 17:15:00 +10:00
Benji Grant f8724cc704
Merge pull request #257 from GRA0007/refactor/rust-api
Rust API refactor
2023-05-16 17:07:00 +10:00
Ben Grant 44288f99d1 Create workflow to deploy the API on EC2 2023-05-16 16:57:19 +10:00
Ben Grant 862ea1148b Merge remote-tracking branch 'origin/main' into refactor/rust-api 2023-05-16 15:36:57 +10:00
Ben Grant 65619653c6 Set up dockerfile, and handle SIGINT signals 2023-05-16 15:36:53 +10:00
Benji Grant bb2fa742db
Merge pull request #256 from giraugh/chore/update-hue-map
Update hue-map to v1.0
2023-05-16 11:38:02 +10:00
Benji Grant 9128567c9a
Merge pull request #255 from GRA0007/translations_crabfit-frontend-public-i18n-en-common-json--main_it_IT
Translate 'crabfit-frontend/public/i18n/en/common.json' in 'it_IT'
2023-05-16 11:35:54 +10:00
Benji Grant adbc3890cf
Merge pull request #254 from GRA0007/translations_crabfit-frontend-public-i18n-en-privacy-json--main_hu_HU
Translate 'crabfit-frontend/public/i18n/en/privacy.json' in 'hu_HU'
2023-05-16 11:33:18 +10:00
Benji Grant 657084b8ee
Merge pull request #253 from GRA0007/translations_crabfit-frontend-public-i18n-en-home-json--main_fr_FR
Translate 'crabfit-frontend/public/i18n/en/home.json' in 'fr_FR'
2023-05-16 11:33:05 +10:00
Benji Grant 2579588ab3
Merge pull request #247 from GRA0007/translations_crabfit-frontend-public-i18n-en-event-json--main_fr_FR
Translate 'crabfit-frontend/public/i18n/en/event.json' in 'fr_FR'
2023-05-16 11:32:55 +10:00
Benji Grant 23854618d7
Merge pull request #246 from GRA0007/translations_crabfit-frontend-public-i18n-en-common-json--main_fr_FR
Translate 'crabfit-frontend/public/i18n/en/common.json' in 'fr_FR'
2023-05-16 11:32:31 +10:00
Ben Grant f78d762999 Add docs for FRONTEND_URL env var 2023-05-16 02:42:01 +10:00
Ben Grant fc18e6f85b Update API version 2023-05-16 02:23:57 +10:00
Ben Grant bca67d2f06 Fix logic and document CRON_KEY env variable 2023-05-16 02:18:13 +10:00
Ben Grant 68cf43164d Implement cleanup route 2023-05-16 02:06:56 +10:00
Ben Grant 0304f5955d Change how cleanup trait fn works using a date cutoff 2023-05-16 01:37:01 +10:00
Ben Grant 3e770a337b Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00
Ben Grant dfdfc24ee5 Ignore case for person names 2023-05-15 22:54:07 +10:00
Ben Grant e13f466785 Support Null values and use structs 2023-05-15 22:53:50 +10:00
Ben Grant 6b99fe1c72 Properly parse and save stats to datastore 2023-05-15 20:23:43 +10:00
Ben Grant b586b4c88d More helpful error messages when creating adaptors 2023-05-15 20:11:41 +10:00
Ben Grant 2ba96cc9cb Setup features for conditional compilation 2023-05-15 18:33:32 +10:00
Ben Grant 1a8db405de Add an in-memory storage adaptor 2023-05-15 18:18:26 +10:00
Ben Grant bf5bcf9992 Co-locate related routes 2023-05-15 16:57:13 +10:00
Ben Grant aa3b323cb6 Update visited date when event is fetched 2023-05-15 16:48:00 +10:00
Ben Grant 9157308398 Implement remaining methods 2023-05-15 16:30:08 +10:00