Commit Graph

47 Commits

Author SHA1 Message Date
Kajetan Kazimierczak 38cc7626ad fix: 🐛 dummy login i hjarntorget 2022-04-14 00:13:32 +02:00
Kajetan Kazimierczak 0c64f5ae35 feat: 🎸 Bara visa Freja om det finns tillgängligt i api 2022-04-13 23:33:59 +02:00
Jonathan Edenström e50b991f54 fix: change jest config for api's 2021-12-16 11:52:21 +01:00
Jonathan Edenström e6f213a89f fix: fix test configuration 2021-12-16 10:54:57 +01:00
Erik Hellman f05ff64687
feat: 🎸 bump to RN 0.66 + upgrade dependencies (#521)
Co-authored-by: Erik Hellman <erik.hellman@hellsoft.se>
Co-authored-by: Viktor Sarström <viktorsarstrom@gmail.com>
Co-authored-by: Jonathan Edenström <jonathan@edenstrom.io>
2021-12-16 08:22:20 +01:00
Kajetan Kazimierczak 3f69bc89aa
fix: 🐛 adjust fakeData lessons offset in ht (#598) 2021-12-11 08:15:25 +01:00
Kajetan Kazimierczak 14ff985b0c
feat: 🎸 Ämnesnamn syns nu i schemat i Hjärntorget. (#596)
* feat: 🎸 Curriculum names in hjarntorget

* style: 💄 removed commented code
2021-12-11 00:15:04 +01:00
Kajetan Kazimierczak b7dbd356c6
feat: 🎸 Hämta lärare och skolkontakter från api-skolplattfomen och visa lärarens namn i schemat (#589)
* feat: 🎸 Get list of teachers from api-skolplattfomen

* feat: 🎸 teachers and school contacts in hooks

* style: 💄 lint

* chore: 🤖 fakeData for matching some lessons with teachers

* feat: 🎸 Teacher's names in timetable (where available)

* test: 💍 fix failing tests (add mocks for new calls)
2021-12-10 10:33:52 +01:00
Emil Lindqvist 601e92b230 Remove unncessary console.log statements 2021-12-05 16:48:03 +01:00
Emil Lindqvist 5c477e1cf1 Add support for running api-test-app with api-hjarntorget 2021-12-05 15:33:33 +01:00
Andreas Eriksson 933a8840a3
feat: 🎸 Fix image load and typescript errors (#570)
* Update Cocoapods version
* Use new api GetRequestHeaders to get headers
* Remove warnings of missing colors and brushes
* Fix typing errors
* Change affected main branch to main
* Remove unused feature toggle
* Add dummy login checker to remove using any
2021-12-02 15:34:15 +01:00
Andreas Eriksson b3df527d44 fix: 🐛 Show subject name on Hjärntorget timetable 2021-11-30 20:42:46 +01:00
Viktor Sarström 33440bcc32 feat: 🎸 Toggled class list in hjärntorget 2021-11-30 11:31:59 +01:00
Viktor Sarström 8d9cfe2de4 fix: 🐛 Fix failing tests 2021-11-27 21:44:32 +01:00
Viktor Sarström 1230825571 fix: 🐛 added dist to ignore 2021-11-27 20:53:52 +01:00
Viktor Sarström e19c8a7747 fix: 🐛 Fixes lint errors 2021-11-27 20:38:26 +01:00
Jonathan Edenström 649865784b show idNumber input on hjärntorget 2021-11-27 20:00:13 +01:00
Viktor Sarström fc8d2a36fd
Merge pull request #561 from kolplattformen/feature/hjarntorget-dates-in-fakedata
Shift dates in fake data to "today"
2021-11-27 19:13:51 +01:00
Emil Lindqvist 4b80b79dd1 Shift dates in fake data to "today" 2021-11-27 13:26:31 +01:00
Emil Lindqvist 1a8188ce50 Remove seting of read status for info messages 2021-11-27 11:34:50 +01:00
Emil Lindqvist 43c90ac08b Make messages not specific to one child be treated as news 2021-11-27 11:32:06 +01:00
Jonathan Edenström 97e131d30d fix: fetch typings 2021-11-24 07:17:37 +01:00
Viktor Sarström 1caed911e8 Merge branch 'feature/hjarntorget' of https://github.com/kolplattformen/skolplattformen into feature/feature-toggle-service 2021-11-22 13:00:46 +01:00
Viktor Sarström bec62fa21b feat: 🎸 Added food menu to features 2021-11-22 13:00:32 +01:00
Viktor Sarström ce056821a1 feat: 🎸 Feature toggle context 2021-11-22 10:47:11 +01:00
Emil Lindqvist 2dce27d933 Fix encoding issue of some request parameters during login 2021-11-21 17:31:03 +01:00
Emil Lindqvist 1d53d64bcf Align way of encoding saml related data 2021-11-19 14:19:13 +01:00
Emil Lindqvist fe6dd78193 Remove some unnecessary code 2021-11-19 14:13:30 +01:00
Emil Lindqvist ff5fd9f6d4 Add custom cookie handling for android
Also adds a bunch of debugging in the android client to be able to
monitor the output.
2021-11-19 13:24:22 +01:00
Emil Lindqvist aa98a400d9 Fix bad import in parsers.ts 2021-11-15 21:59:32 +01:00
Viktor Sarström 1aaaeb64e3 feat: 🎸 Started on provider for selecting platform + feature to 2021-11-12 17:06:11 +01:00
Viktor Sarström ba45cfd796 fix: 🐛 Fixes inheritance from @skolplattformen-api 2021-11-12 15:19:03 +01:00
Viktor Sarström 46632691bf fix: 🐛 Fixes TS config + lint etc 2021-11-12 13:46:25 +01:00
Viktor Sarström e2e1ff8278 fix: 🐛 Fixes issue with package.json in hjarntorget 2021-11-12 08:23:17 +01:00
Viktor Sarström 24c162419b fix: 🐛 Fixes TSconfig for all projects 2021-11-09 14:41:01 +01:00
Viktor Sarström 82e0c6f961 fix: 🐛 Readded mock, ts config to api 2021-11-09 11:46:45 +01:00
Viktor Sarström 9bb115a5dd changed named on api-hjarntorget 2021-11-09 11:07:15 +01:00
Viktor Sarström b641486768 fix: 🐛 Fixes tsconfig in api-hjarntorget 2021-11-09 11:01:48 +01:00
Emil Lindqvist 2a70fa0212 Add fakes for most endpoint calls 2021-11-09 10:29:39 +01:00
Emil Lindqvist 894adbd3f6 Make fetch-call "names" distinct 2021-11-09 10:29:39 +01:00
Emil Lindqvist b8bdffa033 Make run.js touch all endpoints implemented so far 2021-11-09 10:29:39 +01:00
Emil Lindqvist 88e22df77d Fix fetch calls to give unique urls proper names 2021-11-09 10:29:39 +01:00
Emil Lindqvist baf1aaa34a Fetch homework schedule with getCalendar call 2021-11-09 10:29:39 +01:00
Emil Lindqvist d91b1c2c7d Add test for hjarntorget api login/logout flow 2021-11-09 10:29:39 +01:00
Emil Lindqvist d50eb2eb7f Extract most url handling into routes.ts 2021-11-09 10:29:39 +01:00
Emil Lindqvist c0289c5e63 Add initial hjarntorget implementation 2021-11-09 10:29:39 +01:00
Emil Lindqvist a9603422c8 Extract common code from api-skolplattformen
Common code consists of shared types, some helpers along with a few
common infrastructure code for fetching data and handling cookies etc.
Shortly a common `Api` interface will be introduced that  both
skolplattformen and hjarntorget will adhere to initially.
2021-11-09 10:25:31 +01:00