Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated in handling async loading and updated layout and colors and illustrations #14

Merged
merged 11 commits into from Dec 23, 2020

Conversation

irony
Copy link
Contributor

@irony irony commented Dec 22, 2020

No description provided.

@ErikHellman ErikHellman merged commit a0d1214 into main Dec 23, 2020
@believer believer deleted the calendar branch February 15, 2021 15:52
ErikHellman pushed a commit that referenced this pull request Sep 21, 2021
Hopefully retrieves and parses class mates. I cannot confirm since,
according to Skolplattformen, my daughter has none.

✅ Closes: #7
ErikHellman pushed a commit that referenced this pull request Sep 21, 2021
* feat: 🎸 Multilang support for useTimetable

BREAKING CHANGE: 🧨 useTimetable now requires lang
ErikHellman pushed a commit that referenced this pull request Sep 21, 2021
Currently translated at 83.8% (177 of 211 strings)

Translation: Skolplattformen/Curriculum
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/curriculum/pl/

Co-authored-by: Kajetan Kazimierczak <kajetanek@gmail.com>
github-actions bot pushed a commit that referenced this pull request Oct 3, 2021
# [2.0.0](v1.48.0...v2.0.0) (2021-10-03)

### Bug Fixes

* 🐛 add 2 to xsrf header and use nav controller script again ([d1a4877](d1a4877))
* 🐛 add missing headers for fetching children ([68c99cb](68c99cb))
* 🐛 Add personal identity number to test user ([f977143](f977143))
* 🐛 added "Rast" to misc words in sv,en,pl translations ([#11](#11)) ([4da06bb](4da06bb))
* 🐛 Added build step ([#38](#38)) ([db0faf2](db0faf2))
* 🐛 Added isAuthenticated to test user ([#119](#119)) ([766f4ff](766f4ff))
* 🐛 Added luxon to fix getSchedule ([#13](#13)) ([fe1729c](fe1729c))
* 🐛 Added missing types ([3d59035](3d59035))
* 🐛 Adjusted cookie handling ([#79](#79)) ([16020a3](16020a3))
* 🐛 Autopublish (I hope) ([#37](#37)) ([ed8f8a7](ed8f8a7))
* 🐛 Build before publish ([e934950](e934950))
* 🐛 Cache is no longer called in fake mode ([#3](#3)) ([f89f143](f89f143))
* 🐛 Changed build settings ([7a7c2a1](7a7c2a1))
* 🐛 Cleanup on logout ([#6](#6)) ([644cbcd](644cbcd))
* 🐛 Correct format of fakeData.js ([c2adf00](c2adf00))
* 🐛 Fake data included through ts ([663be5c](663be5c))
* 🐛 Fix för login block 24mars ([7667a5e](7667a5e))
* 🐛 fix latest security "fix" ([d795458](d795458))
* 🐛 fix the previous fix with a fixed json ([eefd791](eefd791))
* 🐛 Fixa markdownkonvertering av hårresande html ([#120](#120)) ([4991f91](4991f91))
* 🐛 Fixar links med mellanslag ([#63](#63)) ([3edbf8c](3edbf8c))
* 🐛 Fixar senaste blocken ([#81](#81)) ([1ccdc9f](1ccdc9f))
* 🐛 Fixed fake data for notifications ([#40](#40)) ([b8621b9](b8621b9))
* 🐛 Fixed parsing bug for classmates ([5f07259](5f07259))
* 🐛 Fixes base64 iterations ([52d7341](52d7341))
* 🐛 Fixes configuration fetch ([7bf8f1c](7bf8f1c))
* 🐛 Fixes more sabotage from sthlm stad ([ab62ab6](ab62ab6))
* 🐛 Fixes schedule ([fb65a33](fb65a33))
* 🐛 Flytta mellanslag utanför taggarna ([#124](#124)) ([79e2a75](79e2a75))
* 🐛 Förbättrad parsning av nyhetsbrev ([#125](#125)) ([82fa2dc](82fa2dc))
* 🐛 Force release ([#115](#115)) ([5c170dc](5c170dc))
* 🐛 Get all notifications. Add modified date to notifications ([#150](#150)) ([4a0841a](4a0841a))
* 🐛 hämta API key från server ([9bde441](9bde441))
* 🐛 implemented XSRF token support ([1ecfdaf](1ecfdaf))
* 🐛 Moved topologykey to config, also added getHeader() ([2823547](2823547))
* 🐛 News item details now gets parsed ([#55](#55)) ([50ce985](50ce985))
* 🐛 Ny version av curriculum ([#148](#148)) ([e54ed25](e54ed25))
* 🐛 Parse old aspnet dates instead of unreliable format strings ([#108](#108)) ([3c33c75](3c33c75)), closes [#105](#105)
* 🐛 Parsning ([83ec383](83ec383))
* 🐛 read xsrf token from script for createItem call ([1deb424](1deb424))
* 🐛 Reload anropar bara apiet om den inte redan laddar ([#9](#9)) ([c329283](c329283))
* 🐛 reload inaktivt i fejk ([#10](#10)) ([9fa63e8](9fa63e8))
* 🐛 Removed dynamic require ([#8](#8)) ([a3421b8](a3421b8))
* 🐛 Removed superfluous property in en.json ([#5](#5)) ([b6137ab](b6137ab))
* 🐛 rensa upp getChildren anropet och ny release ([2336861](2336861))
* 🐛 Repaired login ([#11](#11)) ([83a4737](83a4737))
* 🐛 Replaced named capture group for compatibility reasons ([#112](#112)) ([66b23fa](66b23fa))
* 🐛 Replaces non breaking space with simple space ([#57](#57)) ([58d5676](58d5676))
* 🐛 Return a empty array if backend returns a specific error ([1e944ad](1e944ad))
* 🐛 semikolonviolation! ([46c6260](46c6260))
* 🐛 Silly stockholm stad protection ([cd19abd](cd19abd))
* 🐛 Tog bort radbrytning i bold ([#66](#66)) ([ca0117c](ca0117c))
* 🐛 Trims tag content to fix some markdown issues ([#56](#56)) ([f9dc391](f9dc391))
* 🐛 URLSearchParams compatible with both node and RN ([#111](#111)) ([fd919a0](fd919a0))
* 🐛 use childcontroller script for XSRF header to CreateItem ([2796875](2796875))
* 🐛 Working notification url:s ([#41](#41)) ([3a808f9](3a808f9))
* add date handler ([a3e0eba](a3e0eba))
* correct fake data dates ([d88bfcf](d88bfcf))
* handle iso date strings ([ca0a3e4](ca0a3e4))
* handle long dates with time ([3ba96fe](3ba96fe))
* handle missing spaces in intro after certain characters ([#99](#99)) ([2926de3](2926de3))
* links ([#64](#64)) ([905b893](905b893))
* parse calendar dates as utc before iso ([#100](#100)) ([73f6d8b](73f6d8b))
* parse intro without positive lookbehind regex ([#102](#102)) ([f8b3df2](f8b3df2))
* Translations update from Weblate ([#16](#16)) ([94a3883](94a3883))
* use date constructor instead of luxon ([74ea878](74ea878))
* use parseDate for all date handling ([6cd92ac](6cd92ac))

### Features

* 🎸 Added .author and .imageAltText on NewsItem ([#42](#42)) ([6e84a63](6e84a63))
* 🎸 Added getter for logged in personal number ([#39](#39)) ([a860d12](a860d12))
* 🎸 Added language support ([#121](#121)) ([9dcdf78](9dcdf78))
* 🎸 Alla nyhetsbrev ([#67](#67)) ([f3f658f](f3f658f))
* 🎸 API call retries and support for error reporting ([#5](#5)) ([9ed5df2](9ed5df2))
* 🎸 Build, tag and release ([b71adc5](b71adc5))
* 🎸 cache busting ([5ce4ddd](5ce4ddd))
* 🎸 Cache prefixas med personnummer ([#8](#8)) ([fc146ea](fc146ea))
* 🎸 Classmates ([#14](#14)) ([a6ce6ea](a6ce6ea)), closes [#7](#7)
* 🎸 Code cleanup, refactoring, linting and tests ([d0a0314](d0a0314))
* 🎸 Curriculum as peer dependency ([#122](#122)) ([e24a9b3](e24a9b3))
* 🎸 Exporting all types in index ([#45](#45)) ([8351ef2](8351ef2))
* 🎸 Exporting LoginStatusChecker interface ([#46](#46)) ([20e18e5](20e18e5))
* 🎸 Fake mode for 121212121212, 201212121212 and 1212121212 ([#35](#35)) ([8d264b9](8d264b9))
* 🎸 Fakedata laggar 0.2-1 sekund ([#68](#68)) ([018d600](018d600))
* 🎸 Fallback language ([#7](#7)) ([e944468](e944468))
* 🎸 First implementation ([e5438b0](e5438b0))
* 🎸 First release ([d37f3db](d37f3db))
* 🎸 Forcing release ([d4151fa](d4151fa))
* 🎸 getSessionCookie and removed News object ([#24](#24)) ([91ba683](91ba683)), closes [#22](#22) [#23](#23)
* 🎸 getUser ([#19](#19)) ([39b62b7](39b62b7)), closes [#9](#9)
* 🎸 Hämta lektionsschema ([#110](#110)) ([c288449](c288449))
* 🎸 Image ([#21](#21)) ([2ad7523](2ad7523)), closes [#10](#10)
* 🎸 It now handles comments ([065e0e9](065e0e9))
* 🎸 Loads schedule ([#16](#16)) ([53d42de](53d42de)), closes [#13](#13) [#8](#8)
* 🎸 Made User properties optional for hook convenience ([#31](#31)) ([0e0e996](0e0e996))
* 🎸 Misc codes (Lunch, Prandium, MTID) ([59e350b](59e350b))
* 🎸 Multilang support for useTimetable ([#14](#14)) ([be6c9d1](be6c9d1))
* 🎸 Names from curriculum ([#116](#116)) ([504503f](504503f))
* 🎸 New properties on NewsItem and updated fake data ([#44](#44)) ([dea899b](dea899b))
* 🎸 News are sorted, desc, by modified date ([#147](#147)) ([a4b7b7f](a4b7b7f))
* 🎸 News images that do not require login ([#43](#43)) ([5daf186](5daf186))
* 🎸 Notifications ([#20](#20)) ([348e437](348e437)), closes [#11](#11)
* 🎸 Notifications sorted by modified, then created date ([#151](#151)) ([91f63e8](91f63e8))
* 🎸 Polish ([#9](#9)) ([18c8126](18c8126))
* 🎸 Possibly first working version ([0e4acba](0e4acba))
* 🎸 Remove all obsolete login obstacles ([#146](#146)) ([befb073](befb073))
* 🎸 Remove required personal number in route ([#118](#118)) ([c3b4b15](c3b4b15))
* 🎸 Removed getImage() and added .fullImageUrl to NewsItem ([#33](#33)) ([5c3929d](5c3929d))
* 🎸 Replaced Moment with Luxon ([#30](#30)) ([e41f0bf](e41f0bf))
* 🎸 Släpp sargen - nu kör vi ([#60](#60)) ([c5e9992](c5e9992))
* 🎸 Switched to Markdown Extra converter ([#58](#58)) ([3b7b067](3b7b067))
* 🎸 Timetables ([#12](#12)) ([2ae212d](2ae212d))
* 🎸 Updated curriculum and fake data with new codes ([#117](#117)) ([0a02ffa](0a02ffa))
* 🎸 useNewsDetails(child, news) ([5d4f751](5d4f751))
* add newsItemDetails ([1826b80](1826b80))
* call newsItemDetails to get details for a news item. Resolves [#28](#28) ([5dcc42e](5dcc42e))
* Improve menu ([#109](#109)) ([9c4fcb2](9c4fcb2))
* Ombyggd parsning av nyhetsbrev ([#65](#65)) ([a5dfb70](a5dfb70))
* update typings for ScheduleItem ([9c87535](9c87535))

* Rebuilt session handling and login (#78) ([c62dab9](c62dab9)), closes [#78](#78)

### BREAKING CHANGES

* 🧨 useTimetable now requires lang
* 🧨 getTimetable requires language
* 🧨 Child -> EtjanstChild

* feat: 🎸 Test data for skola24Children and timetable

* docs: ✏️ Updated instructions

Co-authored-by: Johan Öbrink <johan.obrink@gmail.com>
* This updates the `startDate` and `endDate` to be
potentially `undefined`
* 🧨 Major update of peer dependency embedded-api
* 🧨 Cookie and Session handling reworked
* 🧨 Nä... egentligen inte
* 🧨 api no longer exposes getImage()
* 🧨 Change to types (moment -> strings) and api.getSchedule (moment ->
luxon.DateTime)
* 🧨 Call signature of getNews changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants