Commit Graph

1903 Commits

Author SHA1 Message Date
Jonathan Edenström ffd73e8362 fix: remove deps/lock file for vklass 2021-12-16 10:10:29 +01:00
Erik Eng 01a26b8dc3
Merge pull request #601 from kolplattformen/vklass
Vklass API
2021-12-16 08:56:02 +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
semantic-release-bot 8d3293eec8 chore(release): 2.11.0 [skip ci]
# [2.11.0](https://github.com/kolplattformen/skolplattformen/compare/v2.10.2...v2.11.0) (2021-12-16)

### Features

* 🎸 bump to RN 0.66 + upgrade dependencies ([#521](https://github.com/kolplattformen/skolplattformen/issues/521)) ([f05ff64](f05ff64687))
2021-12-16 08:25:44 +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
Viktor Sarström 22f57465fa refactor: 💡 Bumped to 3.0.3 2021-12-11 22:37:32 +01:00
semantic-release-bot 15d3d94182 chore(release): 2.10.2 [skip ci]
## [2.10.2](https://github.com/kolplattformen/skolplattformen/compare/v2.10.1...v2.10.2) (2021-12-11)

### Bug Fixes

* 🐛 adjust fakeData lessons offset in ht ([#598](https://github.com/kolplattformen/skolplattformen/issues/598)) ([3f69bc8](3f69bc89aa))
2021-12-11 08:20:54 +01:00
Kajetan Kazimierczak 3f69bc89aa
fix: 🐛 adjust fakeData lessons offset in ht (#598) 2021-12-11 08:15:25 +01:00
semantic-release-bot cce01b7242 chore(release): 2.10.1 [skip ci]
## [2.10.1](https://github.com/kolplattformen/skolplattformen/compare/v2.10.0...v2.10.1) (2021-12-10)

### Bug Fixes

* 🐛 scroll in timetable ([#597](https://github.com/kolplattformen/skolplattformen/issues/597)) ([f844a3c](f844a3cdd4))
2021-12-11 00:54:32 +01:00
Kajetan Kazimierczak f844a3cdd4
fix: 🐛 scroll in timetable (#597) 2021-12-11 00:49:14 +01:00
Weblate (bot) 66286ae9b8
Translations update from Hosted Weblate (#592)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (110 of 110 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/nb_NO/

* Translated using Weblate (Portuguese)

Currently translated at 95.4% (105 of 110 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/pt/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Diogo Pontes <dpontes@protonmail.com>
2021-12-11 00:24:42 +01:00
semantic-release-bot 099d1facc6 chore(release): 2.10.0 [skip ci]
# [2.10.0](https://github.com/kolplattformen/skolplattformen/compare/v2.9.1...v2.10.0) (2021-12-10)

### Features

* 🎸 Ämnesnamn syns nu i schemat i Hjärntorget. ([#596](https://github.com/kolplattformen/skolplattformen/issues/596)) ([14ff985](14ff985b0c))
2021-12-11 00:19:59 +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
semantic-release-bot 555ba0fb0f chore(release): 2.9.1 [skip ci]
## [2.9.1](https://github.com/kolplattformen/skolplattformen/compare/v2.9.0...v2.9.1) (2021-12-10)

### Bug Fixes

* 🐛 Felaktig sortering av lektioner ([#595](https://github.com/kolplattformen/skolplattformen/issues/595)) ([ed3a27b](ed3a27bba1)), closes [#591](https://github.com/kolplattformen/skolplattformen/issues/591)
2021-12-10 21:12:49 +01:00
Kajetan Kazimierczak ed3a27bba1
fix: 🐛 Felaktig sortering av lektioner (#595)
* fix: 🐛 incorrect sorting of lessons in timetable

 Closes: #591

* fix: 🐛 end time when overlapping lessons

* style: 💄 lint
2021-12-10 21:07:29 +01:00
semantic-release-bot 69e21ac68f chore(release): 2.9.0 [skip ci]
# [2.9.0](https://github.com/kolplattformen/skolplattformen/compare/v2.8.0...v2.9.0) (2021-12-10)

### Features

* 🎸 Hämta lärare och skolkontakter från api-skolplattfomen och visa lärarens namn i schemat ([#589](https://github.com/kolplattformen/skolplattformen/issues/589)) ([b7dbd35](b7dbd356c6))
2021-12-10 10:39:13 +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
semantic-release-bot 0e95486e5d chore(release): 2.8.0 [skip ci]
# [2.8.0](https://github.com/kolplattformen/skolplattformen/compare/v2.7.3...v2.8.0) (2021-12-08)

### Bug Fixes

* 🐛 Ingen text syns i dark mode när inga barn hittas ([bce1165](bce1165f30)), closes [#571](https://github.com/kolplattformen/skolplattformen/issues/571)

### Features

* 🎸 bumped to 3.0.2 for new version releasea ([2af189e](2af189ef0f))
2021-12-08 08:55:49 +01:00
Viktor Sarström d24f65900e
Merge pull request #588 from kolplattformen/fix/invisible-text-no-children
fix: 🐛 Ingen text syns i dark mode när inga barn hittas
2021-12-08 08:49:45 +01:00
Viktor Sarström 2af189ef0f feat: 🎸 bumped to 3.0.2 for new version releasea 2021-12-08 08:49:21 +01:00
Kajetan Kazimierczak bce1165f30 fix: 🐛 Ingen text syns i dark mode när inga barn hittas
 Closes: #571
2021-12-08 00:02:06 +01:00
semantic-release-bot fde9d95149 chore(release): 2.7.3 [skip ci]
## [2.7.3](https://github.com/kolplattformen/skolplattformen/compare/v2.7.2...v2.7.3) (2021-12-07)

### Bug Fixes

* 🐛 Store childs personalIdNumbers in settings ([cc3fd86](cc3fd8670c))
2021-12-07 14:08:30 +01:00
Viktor Sarström a85f37f148
Merge pull request #587 from kolplattformen/fix/store-abscence-personalIdNumbers-in-settings
fix: 🐛 Store childs personalIdNumbers in settings
2021-12-07 14:03:20 +01:00
Andreas Eriksson cc3fd8670c fix: 🐛 Store childs personalIdNumbers in settings 2021-12-07 11:42:47 +01:00
Weblate (bot) 86dfb4fb8d
Translations update from Hosted Weblate (#580)
* Translated using Weblate (French)

Currently translated at 100.0% (106 of 106 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/fr/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/

* Translated using Weblate (French)

Currently translated at 100.0% (107 of 107 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/fr/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/

* Translated using Weblate (Polish)

Currently translated at 100.0% (107 of 107 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/pl/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (110 of 110 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/sv/

* Translated using Weblate (English)

Currently translated at 100.0% (110 of 110 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/en/

* Translated using Weblate (Polish)

Currently translated at 100.0% (110 of 110 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/pl/

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Kajetan Kazimierczak <kajetanek@gmail.com>
Co-authored-by: Andreas Eriksson <addeman@gmail.com>
2021-12-06 21:01:48 +01:00
semantic-release-bot d61bc25468 chore(release): 2.7.2 [skip ci]
## [2.7.2](https://github.com/kolplattformen/skolplattformen/compare/v2.7.1...v2.7.2) (2021-12-06)

### Bug Fixes

* 🐛 Add missing translations for calendar ([7ada994](7ada9945df))
2021-12-06 20:49:54 +01:00
Andreas Eriksson 7ada9945df fix: 🐛 Add missing translations for calendar 2021-12-06 20:44:10 +01:00
semantic-release-bot ce01f54ead chore(release): 2.7.1 [skip ci]
## [2.7.1](https://github.com/kolplattformen/skolplattformen/compare/v2.7.0...v2.7.1) (2021-12-06)

### Bug Fixes

* 🐛 Add translation to week ([cfa39de](cfa39de393))
2021-12-06 20:39:19 +01:00
Andreas Eriksson cfa39de393 fix: 🐛 Add translation to week 2021-12-06 20:34:48 +01:00
Viktor Sarström f7aa4675a4
Merge pull request #583 from kolplattformen/feature/api-test-app-hjarntorget
Add support for running api-test-app with api-hjarntorget
2021-12-06 19:43:27 +01:00
Viktor Sarström 75cf634420
Merge pull request #584 from kolplattformen/feat/tweak-lunch-menu-on-frontpage
feat: Hide lunch menu on weekends
2021-12-06 19:43:11 +01:00
semantic-release-bot e4f4a83f1c chore(release): 2.7.0 [skip ci]
# [2.7.0](https://github.com/kolplattformen/skolplattformen/compare/v2.6.0...v2.7.0) (2021-12-06)

### Features

* 🎸 Add week number and calendar dates to timetable ([6fbbcc8](6fbbcc803e))
2021-12-06 19:22:07 +01:00
Viktor Sarström 4e2e26b756
Merge pull request #585 from kolplattformen/feat/week-and-days-on-timetable
feat: 🎸 Add week number and calendar dates to timetable
2021-12-06 19:16:06 +01:00
Andreas Eriksson 6fbbcc803e feat: 🎸 Add week number and calendar dates to timetable 2021-12-06 16:44:10 +01:00
Andreas Eriksson 3b39c47230 Hide lunch menu on weekends
The menu for next week are not available until monday morrning (with current api implementation)
2021-12-05 18:31:34 +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
semantic-release-bot d66e87f5db chore(release): 2.6.0 [skip ci]
# [2.6.0](https://github.com/kolplattformen/skolplattformen/compare/v2.5.1...v2.6.0) (2021-12-04)

### Features

* Frontpage date tweaks ([#582](https://github.com/kolplattformen/skolplattformen/issues/582)) ([66e7811](66e7811b83))
2021-12-05 00:16:58 +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
semantic-release-bot 7c017e460b chore(release): 2.5.1 [skip ci]
## [2.5.1](https://github.com/kolplattformen/skolplattformen/compare/v2.5.0...v2.5.1) (2021-12-03)

### Bug Fixes

* 🐛 Show the weekday on startpage if not today ([df28066](df2806648a))
2021-12-03 21:29:25 +01:00
Viktor Sarström 09558115d1
Merge pull request #581 from kolplattformen/feat/fix-date-problems
fix: 🐛 Show the weekday on startpage if not today
2021-12-03 21:23:45 +01:00
Andreas Eriksson df2806648a fix: 🐛 Show the weekday on startpage if not today 2021-12-03 21:12:16 +01:00
semantic-release-bot 3fbd08c794 chore(release): 2.5.0 [skip ci]
# [2.5.0](https://github.com/kolplattformen/skolplattformen/compare/v2.4.0...v2.5.0) (2021-12-03)

### Features

* 🎸 Skip to the next day in calendar ([#425](https://github.com/kolplattformen/skolplattformen/issues/425)) ([fce1d98](fce1d98847))
2021-12-03 11:31:34 +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
Viktor Sarström 7bee08a550
Merge pull request #514 from kolplattformen/feature/reload-data
Feature/reload data
2021-12-03 08:48:28 +01:00
Andreas Eriksson c92b352a6d Add refresh control to views 2021-12-03 00:18:30 +01:00
Viktor Sarström 9754ba9194
Merge pull request #577 from kolplattformen/fix/inconsistent-pricing
Fix: Inconsistent pricing (last one)
2021-12-02 16:40:09 +01:00