Commit Graph

144 Commits

Author SHA1 Message Date
Kajetan Kazimierczak d51cfe36fe
chore: 🤖 Updated TimeTable URLs (#670)
* chore: 🤖 Updated TimeTable URLs

* test: 💍 fixed failing tests
2024-04-09 20:13:11 +02:00
Kajetan Kazimierczak c93e27bec0 fix: 🐛 Site moved to new url 2024-02-13 15:32:29 +01:00
Kajetan Kazimierczak 84ddda3f46
Update routes.ts 2024-02-13 08:52:03 +01:00
Kajetan Kazimierczak e6ba622fa9
fix: 🐛 Updated Timetable URLs (#659) 2023-10-07 23:33:45 +02:00
Oskar Strömberg 61d47b4440
fix: 🐛 Change broken links caused by name change of repo (#649) 2023-03-28 22:35:19 +02:00
Kajetan Kazimierczak 25a2d7f3f5
fix: 🐛 BankID urls changed (#646)
* fix: 🐛 BankID urls changed

* lint

* fix: 🐛 Tests
2023-03-21 21:31:57 +01:00
Andreas Eriksson 20ee509c28 style: 💄 Add eslint rules to api-skolplattformen and autofix
Add react-native-community eslint rules to project and run autofix on
all files.
2022-04-24 20:27:10 +02:00
Andreas Eriksson 5577c7fe42 fix: 🐛 Tweak retry in Hooks lib to exponential with 7 retries 2022-04-24 11:16:28 +02:00
Andreas Eriksson 8724fa46b7 fix: 🐛 Fix failing test in Curriculum 2022-04-24 11:00:34 +02:00
Kajetan Kazimierczak 022e422089
Merge pull request #620 from kolplattformen/feat/freja-eid 2022-04-24 10:42:57 +02:00
Andreas Eriksson dcb6d23976 Set the personalNumber in api after login
This is used from the Hooks-library to prefix the cache keys. With login on device with BankId or Freja we never set the personal number in the API and all cache keys in Hooks was prefixed with "undefined".
2022-04-23 23:26:24 +02:00
Andreas Eriksson a63373caaf Align statuses between Freja and BankID 2022-04-23 21:34:41 +02:00
Kajetan Kazimierczak bc2625dc59 fix: 🐛 Rensa sessionen innan Freja login
Rensar sessioner. Löser problemet då man avbryter identifieringen i
Freja-appen och då blir ÖS alltid i avbrutet läge tills man startar om
2022-04-23 15:58:56 +02:00
Kajetan Kazimierczak 8b2b680c17 feat: 🎸 Ukrainska 2022-04-22 23:40:07 +02:00
Kajetan Kazimierczak 8e3a9c1390 fix: 🐛 fix for iOS 2022-04-22 14:38:13 +02:00
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
Kajetan Kazimierczak c5bec5f9ee fix: 🐛 Fulfix. Login funkar 2022-04-11 22:20:22 +02:00
Kajetan Kazimierczak bd02b378c0
feat: 🎸 Add Thai curriculum (#622) 2022-04-06 23:11:12 +02:00
Kajetan Kazimierczak c5302b0dff session 2022-04-06 08:41:11 +02:00
Kajetan Kazimierczak d9c62a6d91 feat: 🎸 Logga in med Freja eID+ 2022-04-01 23:38:47 +02:00
Kajetan Kazimierczak 1d1e8713f4
feat: 🎸 japanese in curriculum (#617) 2022-02-17 14:26:23 +01:00
Kajetan Kazimierczak 8d1ad62839
fix: 🐛 pt translations from curriculum (#616) 2022-02-16 21:11:00 +01:00
Andreas Eriksson 92839bc292 Spelling... 2022-02-12 13:56:38 +01:00
Andreas Eriksson c510683373 Fix spelling error 2022-02-12 13:49:43 +01:00
Andreas Eriksson 7d3ad3c7a8 Remove .DS_Store 2022-02-11 23:37:21 +01:00
Andreas Eriksson 63de271323 Only use queueFetcher if one child has status FS 2022-02-11 23:14:16 +01:00
Andreas Eriksson d3b347f6e3 Use legacy timers in test
Default is modern and the test need to be changed to support that
2022-02-11 23:13:41 +01:00
Andreas Eriksson 55ab6bbf89 Fix broken testdata 2022-02-11 22:47:00 +01:00
Andreas Eriksson 410b9ebe97 Add childId to calls that should be queued 2022-02-11 22:46:42 +01:00
Andreas Eriksson c1de51242c Add queue fetcher to api 2022-02-11 18:31:24 +01:00
Andreas Eriksson 963301b3f5 Import queue files from embedded-api 2022-02-11 18:04:40 +01:00
Kajetan Kazimierczak 93c1c2d0b0
fix: 🐛 translations for curriculum (#614) 2022-01-31 22:24:37 +01:00
Jonathan Edenström e50b991f54 fix: change jest config for api's 2021-12-16 11:52:21 +01:00
Jonathan Edenström 57f38f5b84 fix: fix failing tests in `api` 2021-12-16 10:59:46 +01:00
Jonathan Edenström e6f213a89f fix: fix test configuration 2021-12-16 10:54:57 +01:00
Jonathan Edenström ffd73e8362 fix: remove deps/lock file for vklass 2021-12-16 10:10:29 +01:00
Erik Eng 5debb9a555 Vklass: Run tests with nx 2021-12-16 08:50:53 +01:00
Erik Eng 1598a7e9c8 Vklass: Setup and add getCalendar method 2021-12-16 08:38:33 +01:00
Erik Eng 8033ce89ad Add fake data for Vklass calendar 2021-12-16 08:38:33 +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 3359ba85f4 refactor: 💡 Remove old fakeData file 2021-12-05 01:14:54 +01:00
Andreas Eriksson 66e7811b83
feat: Frontpage date tweaks (#582)
* Only the daySummary part (timetable info) should use date for next day or next week.
* Restructured test-data
* Add test for parsing Microsoft special date json format
2021-12-05 00:12:20 +01:00
Christian Landgren fce1d98847
feat: 🎸 Skip to the next day in calendar (#425)
* Add meaningful starting date to components
* Add warn on console use
* Add better error message if response from skola24 is wrong
* Change heading to only show name of day
* Remove extra menu

Co-authored-by: Andreas Eriksson <addeman@gmail.com>
2021-12-03 11:27:09 +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