Commit Graph

6 Commits

Author SHA1 Message Date
Erik Hellman 8832990524 Moved to libs directory 2021-10-03 11:32:39 +02:00
Andreas Eriksson 3c33c75956
fix: 🐛 Parse old aspnet dates instead of unreliable format strings (#108)
Parse old asp.net dates instead of string

Parsing with DateTime.fromFormat are not 100% sure on all devices -
for me I got undefined in iOS simulator but it worked fine in Node.
( see https://moment.github.io/luxon/docs/manual/parsing.html#fromformat)

 Closes: #105
2021-04-05 20:43:02 +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 a5dfb704f4
feat: Ombyggd parsning av nyhetsbrev (#65)
* feat: 🎸 Ombyggd parsning av nyhetsbrev
2021-02-14 16:40:36 +01:00
Johan Öbrink 084e961965 Trying out axios 2020-12-20 20:58:52 +01:00
Johan Öbrink acf4828bdf Initial commit 2020-12-19 13:37:45 +01:00