Erik Hellman
8832990524
Moved to libs directory
2021-10-03 11:32:39 +02:00
Kajetan Kazimierczak
4a0841a704
fix: 🐛 Get all notifications. Add modified date to notifications ( #150 )
...
* fix: 🐛 Get all notifications. Add modified date
* test: 💍 fix test for added personnummer in fake data
2021-09-30 22:06:45 +02:00
Johan Öbrink
9dcdf78515
feat: 🎸 Added language support ( #121 )
...
* feat: 🎸 Added language support
BREAKING CHANGE: 🧨 getTimetable requires language
2021-04-26 10:23:02 +02:00
Viktor Sarström
766f4fff52
fix: 🐛 Added isAuthenticated to test user ( #119 )
...
Needed for background app state change in app
2021-04-24 10:33:17 +02:00
Kajetan Kazimierczak
c2884497bf
feat: 🎸 Hämta lektionsschema ( #110 )
...
* feat: 🎸 add timetables from skola24
* refactor: 💡 Clean up sso authorization
* feat: 🎸 Reads timetable
* feat: 🎸 Veckoschema
Veckoschema kan laddas från Skola24
BREAKING CHANGE: 🧨 Child -> EtjanstChild
* feat: 🎸 Test data for skola24Children and timetable
* docs: ✏️ Updated instructions
Co-authored-by: Johan Öbrink <johan.obrink@gmail.com>
2021-04-09 10:35:00 +02:00
Rickard Natt och Dag
19fd3ddd0e
chore: add prettier ( #101 )
2021-03-30 17:21:18 +02:00
Andreas Eriksson
e1849d5149
Feat/improve local dev experience ( #97 )
...
* Make it possible to set SessionCookie manually
* Add helper classes to make it possible to set a proxy agent on fetch
To attach a proxy when developing locally (to see requests and responses)
* Add a devrun.js for local testing
- Support for proxy
- Saves sessionCoookie to a file and tries to use it again
* Files to work with VisualStudio Code
- Debug
- Make typescript watch in background and build
* Fix so cookies work
* Always generate source maps
* Use devrun in debug
* Add linting to all files while developing
* Fixes to file after linting
* Fix failing test in api.test
* Add check that login was successful to setSessionCookie
2021-03-28 20:56:04 +02:00
Johan Öbrink
c62dab9e2e
Rebuilt session handling and login ( #78 )
...
* fix: 🐛 Repaired login
BREAKING CHANGE: 🧨 Cookie and Session handling reworked
2021-03-11 09:58:55 +01:00
Andreas Eriksson
d61ffa0c07
Add test for server error on login
2021-03-01 17:57:53 +01:00
Johan Öbrink
a860d1208c
feat: 🎸 Added getter for logged in personal number ( #39 )
2021-01-18 11:42:56 +01:00
Johan Öbrink
8d264b9787
feat: 🎸 Fake mode for 121212121212, 201212121212 and 1212121212 ( #35 )
2021-01-15 09:40:48 +01:00
Johan Öbrink
5ca21e66f8
* feat: 🎸 Added fake mode
...
* feat: 🎸 Added fake mode
Login with "12121212121212" and fake data will be returned instead of
calling API. LoginStatusChecker.token will be "fake"
2021-01-06 23:46:45 +01:00
Johan Öbrink
5c3929d9d1
feat: 🎸 Removed getImage() and added .fullImageUrl to NewsItem ( #33 )
...
BREAKING CHANGE: 🧨 api no longer exposes getImage()
2021-01-05 14:09:11 +01:00
Johan Öbrink
6525a9441a
Fetch wrapper ( #29 )
...
* feat: 🎸 Added option of passing in a recorder for fetch
2020-12-30 14:39:49 +01:00