Commit Graph

76 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 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 8e3a9c1390 fix: 🐛 fix for iOS 2022-04-22 14:38:13 +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 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
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
Jonathan Edenström e50b991f54 fix: change jest config for api's 2021-12-16 11:52:21 +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 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
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
Viktor Sarström 0ba4d355b8 refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
Andreas Eriksson eccbe5a7aa Add Fetch to imported types 2021-11-30 16:27:37 +01:00
Andreas Eriksson 22a6086703 Move files from lib to app 2021-11-30 15:55:49 +01:00
Viktor Sarström 9874dda30e fix: 🐛 Week component height and cap text 2021-11-30 13:34:15 +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 78f757783f fix: 🐛 removed dist prior to ignore, more lint errors fix 2021-11-27 20:53:05 +01:00
Viktor Sarström d26fd62e5c fix: 🐛 merge 2021-11-27 20:27:40 +01:00
Jonathan Edenström 649865784b show idNumber input on hjärntorget 2021-11-27 20:00:13 +01:00
Kajetan Kazimierczak 508b0792a1 fix: 🐛 error loading SKOLA24_CHILDREN SAML 2021-11-26 23:59:59 +01:00
Jonathan Edenström 97e131d30d fix: fetch typings 2021-11-24 07:17:37 +01:00
Viktor Sarström 1601c4f83c feat: 🎸 wip feagture toggle 2021-11-23 22:01:28 +01:00
Viktor Sarström ce056821a1 feat: 🎸 Feature toggle context 2021-11-22 10:47:11 +01:00
Kajetan Kazimierczak 3e0fd1474a fix: 🐛 Fixes crash when body od newItem is empty
 Closes: 525
2021-11-16 13:33:00 +01:00
Andreas Eriksson d24347f272
refactor: Fix typescript build errors (#539) 2021-11-15 23:36:26 +01:00
Viktor Sarström 46632691bf fix: 🐛 Fixes TS config + lint etc 2021-11-12 13:46:25 +01:00
Jonathan Edenström 7c5098859b
fix: images cropping on different devices (#524)
* feat: add image sizes using Image.getSizeWithHeaders

* chore: 🤖 bild i fakeData

* add rounded corners to embedded images in content

* add debug information

* add more debug info

Co-authored-by: Kajetan Kazimierczak <kajetan@hotmail.com>
2021-11-12 08:39:01 +00:00
Viktor Sarström 24c162419b fix: 🐛 Fixes TSconfig for all projects 2021-11-09 14:41:01 +01:00