Commit graph

464 commits

Author SHA1 Message Date
Mikołaj Pich
9c98176e26
Fix weight decimal format 2019-03-18 18:31:25 +01:00
Mikołaj Pich
627dbad561
Change weightValue to double 2019-03-18 17:57:25 +01:00
Mikołaj Pich
82528df4e0
Version 0.7.0 2019-03-17 21:09:25 +01:00
Mikołaj Pich
2fe27f5126
Fix another changes issue in timetable 2019-03-17 02:05:26 +01:00
Mikołaj Pich
29ab87c9b5
Use more static imports 2019-03-15 18:10:54 +01:00
Mikołaj Pich
1e24be6497
Remove this from ext functions 2019-03-15 17:25:54 +01:00
Mikołaj Pich
1cfc711a23
Use share() on LoginHelper 2019-03-12 18:10:24 +01:00
dependabot[bot]
31cf7ae19b Bump ktlint from 0.30.0 to 0.31.0 (#13)
Bumps [ktlint](https://github.com/shyiko/ktlint) from 0.30.0 to 0.31.0.
<details>
<summary>Release notes</summary>

*Sourced from [ktlint's releases](https://github.com/shyiko/ktlint/releases).*

> ## 0.31.0
> ### Added
> - `dot-spacing` rule ([#293](https://github-redirect.dependabot.com/shyiko/ktlint/issues/293)).
> - `experimental/indent` rule ([#338](https://github-redirect.dependabot.com/shyiko/ktlint/issues/338)).  
>   Use `ktlint --experimental` to enable. 
> 
> ### Fixed
> - Spacing check around `<` & `>` operators.
> 
> ### Changed
> - `no-multi-spaces` rule (horizontal alignment of comments is no longer allowed) ([#269](https://github-redirect.dependabot.com/shyiko/ktlint/issues/269)).
> - `colon-spacing` rule (`:` must not appear at the beginning of the line).
> - `package-name` rule (disabled until [#208](https://github-redirect.dependabot.com/shyiko/ktlint/issues/208) is resolved).
> - `--print-ast` to output [com.github.shyiko.ktlint.core.ast.ElementType.*](https://github.com/shyiko/ktlint/blob/master/ktlint-core/src/main/kotlin/com/github/shyiko/ktlint/core/ast/ElementType.kt) as `node.elementType`, e.g. 
> ```
> $ echo 'fun f() {}' | ./ktlint/target/ktlint --print-ast --color --stdin
> 1: ~.psi.KtFile (FILE)
> 1:   ~.psi.KtPackageDirective (PACKAGE_DIRECTIVE) ""
> 1:   ~.psi.KtImportList (IMPORT_LIST) ""
> 1:   ~.psi.KtScript (SCRIPT)
> 1:     ~.psi.KtBlockExpression (BLOCK)
> 1:       ~.psi.KtNamedFunction (FUN)
> 1:         ~.c.i.p.impl.source.tree.LeafPsiElement (FUN_KEYWORD) "fun"
> 1:         ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) " "
> 1:         ~.c.i.p.impl.source.tree.LeafPsiElement (IDENTIFIER) "f"
> 1:         ~.psi.KtParameterList (VALUE_PARAMETER_LIST)
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (LPAR) "("
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (RPAR) ")"
> 1:         ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) " "
> 1:         ~.psi.KtBlockExpression (BLOCK)
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (LBRACE) "{"
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (RBRACE) "}"
> 1:       ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) "\n"
> 
>    format: <line_number:> <node.psi::class> (<node.elementType>) "<node.text>"
>    legend: ~ = org.jetbrains.kotlin, c.i.p = com.intellij.psi
> ```
> 
> - `kotlin-compiler` version to 1.3.21 (from 1.3.20).
> 
> ### Removed 
> - Dependency on JCenter ([#349](https://github-redirect.dependabot.com/shyiko/ktlint/issues/349)).
</details>
<details>
<summary>Changelog</summary>

*Sourced from [ktlint's changelog](https://github.com/shyiko/ktlint/blob/master/CHANGELOG.md).*

> ## [0.31.0] - 2019-03-10
> 
> ### Added
> - `dot-spacing` rule ([#293](https://github-redirect.dependabot.com/shyiko/ktlint/issues/293)).
> - `experimental/indent` rule ([#338](https://github-redirect.dependabot.com/shyiko/ktlint/issues/338)).  
>   Use `ktlint --experimental` to enable. 
> 
> ### Fixed
> - Spacing check around `<` & `>` operators.
> 
> ### Changed
> - `no-multi-spaces` rule (horizontal alignment of comments is no longer allowed) ([#269](https://github-redirect.dependabot.com/shyiko/ktlint/issues/269)).
> - `colon-spacing` rule (`:` must not appear at the beginning of the line).
> - `package-name` rule (disabled until [#208](https://github-redirect.dependabot.com/shyiko/ktlint/issues/208) is resolved).
> - `--print-ast` to output [com.github.shyiko.ktlint.core.ast.ElementType.*](https://github.com/shyiko/ktlint/blob/master/ktlint-core/src/main/kotlin/com/github/shyiko/ktlint/core/ast/ElementType.kt) as `node.elementType`, e.g. 
> ```
> $ echo 'fun f() {}' | ./ktlint/target/ktlint --print-ast --color --stdin
> 1: ~.psi.KtFile (FILE)
> 1:   ~.psi.KtPackageDirective (PACKAGE_DIRECTIVE) ""
> 1:   ~.psi.KtImportList (IMPORT_LIST) ""
> 1:   ~.psi.KtScript (SCRIPT)
> 1:     ~.psi.KtBlockExpression (BLOCK)
> 1:       ~.psi.KtNamedFunction (FUN)
> 1:         ~.c.i.p.impl.source.tree.LeafPsiElement (FUN_KEYWORD) "fun"
> 1:         ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) " "
> 1:         ~.c.i.p.impl.source.tree.LeafPsiElement (IDENTIFIER) "f"
> 1:         ~.psi.KtParameterList (VALUE_PARAMETER_LIST)
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (LPAR) "("
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (RPAR) ")"
> 1:         ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) " "
> 1:         ~.psi.KtBlockExpression (BLOCK)
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (LBRACE) "{"
> 1:           ~.c.i.p.impl.source.tree.LeafPsiElement (RBRACE) "}"
> 1:       ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) "\n"
> 
>    format: <line_number:> <node.psi::class> (<node.elementType>) "<node.text>"
>    legend: ~ = org.jetbrains.kotlin, c.i.p = com.intellij.psi
> ```
> 
> - `kotlin-compiler` version to 1.3.21 (from 1.3.20).
> 
> ### Removed 
> - Dependency on JCenter ([#349](https://github-redirect.dependabot.com/shyiko/ktlint/issues/349)).
</details>
<details>
<summary>Commits</summary>

- [`fb31f9f`](fb31f9f497) Updated refs to latest (0.31.0) release
- [`e8cdf60`](e8cdf60a7b) Bumped ktlint to 0.31.0 (ktlint-ruleset-template)
- [`abc2880`](abc2880637) Added 0.31.0 release notes
- [`a606d80`](a606d80377) Removed isPartOfRawMultiLineString from core.ast
- [`fcc2ff7`](fcc2ff7aff) Forced open quotes (of multi-line raw string) to be a separate line
- [`cdf93a9`](cdf93a9943) Fixed indentation of EQ COMMENT LF BLOCK
- [`8def3c8`](8def3c8531) Fixed : indentation when put on a separate line
- [`fe2f5ee`](fe2f5eec60) Changed colon-spacing rule to remove newline between colon and prev element
- [`8e4d16e`](8e4d16eca7) Fixed spacing check around <,> op
- [`b91ae6c`](b91ae6c4a3) Enabled --experimental ruleset as part of Maven verify phase
- Additional commits viewable in [compare view](https://github.com/shyiko/ktlint/compare/0.30.0...0.31.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.github.shyiko:ktlint&package-manager=gradle&previous-version=0.30.0&new-version=0.31.0)](https://dependabot.com/compatibility-score.html?dependency-name=com.github.shyiko:ktlint&package-manager=gradle&previous-version=0.30.0&new-version=0.31.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
2019-03-12 18:06:04 +01:00
Mikołaj Pich
a8d05df1ab
Fully normalize all recipient strings 2019-03-12 00:32:03 +01:00
Mikołaj Pich
3dd096cba6
Remove parentheses from recipient short name 2019-03-10 20:40:02 +01:00
Mikołaj Pich
29d24ca1ff
Remove group from subjectOld 2019-03-10 19:52:03 +01:00
Mikołaj Pich
a875c1de3b
Handle grade entries longer than 4 chars by moving them to the comment 2019-03-09 13:11:10 +01:00
Mikołaj Pich
ea81799e98
Add support for multiple moved lesson to timetable parser 2019-03-06 18:23:18 +01:00
Mikołaj Pich
d8577624a2
Add missing exam type 2019-03-04 20:08:22 +01:00
Mikołaj Pich
f3a685b243
Add short name to message recipients 2019-03-03 22:21:01 +01:00
Mikołaj Pich
32391439ad
Fix getMessageSender args order 2019-03-03 21:49:43 +01:00
Mikołaj Pich
05114471bc
Fix tests 2019-03-03 21:34:54 +01:00
Mikołaj Pich
e02664e106
Add getMessageSender with getMessageRecipients 2019-03-03 21:34:19 +01:00
Mikołaj Pich
4dd537afd7
Copy id to message id 2019-03-03 19:24:20 +01:00
Mikołaj Pich
f0d07f1fce
Add shortName to Recipient 2019-03-03 15:01:01 +01:00
Mikołaj Pich
c0e02c0783
Add getMessageRecipients() 2019-03-03 02:02:43 +01:00
Mikołaj Pich
d1d995c987
cs fix 2019-03-03 01:37:22 +01:00
Mikołaj Pich
d99aceab58
Update fakelog test 2019-03-03 01:34:30 +01:00
Mikołaj Pich
4bf6091b1e
Remove recipients from Message 2019-03-03 01:32:59 +01:00
Mikołaj Pich
2a55af423b
Fix parsing grade comments with nested braces 2019-02-24 19:21:27 +01:00
Mikołaj Pich
46f09bdf34
Add realName to Recipient 2019-02-22 23:12:15 +01:00
Mikołaj Pich
18d8e68001
Add test to getRecipients 2019-02-22 22:51:15 +01:00
Mikołaj Pich
8740225a7b
Fix huge bug 2019-02-22 21:39:12 +01:00
Kacper Ziubryniewicz
1308d4b576 Fix sending messages (#12) 2019-02-22 21:23:35 +01:00
Mikołaj Pich
d2ef844b4f
cs fix 2019-02-22 20:35:56 +01:00
Mikołaj Pich
8e4138e873
Move getScriptParam to utils 2019-02-22 20:35:40 +01:00
Mikołaj Pich
9fb77170a7
Add tests to timetable from new student module 2019-02-22 19:14:44 +01:00
Mikołaj Pich
3e37dfe710
cs fix 2019-02-22 17:53:00 +01:00
Mikołaj Pich
237e12f9fd
Add *Old fields to Timetable 2019-02-22 17:51:44 +01:00
Mikołaj Pich
7e6a4eca2d
Add custom attendance summary json serializer 2019-02-21 18:43:12 +01:00
Mikołaj Pich
d000a76168
Change series average type to string 2019-02-21 14:43:18 +01:00
Mikołaj Pich
d45336e0aa
Add classId and unitId to Semester 2019-02-17 00:18:20 +01:00
Mikołaj Pich
9dce7e1e96
Add grade statistics parser for new student module 2019-02-15 00:56:26 +01:00
Mikołaj Pich
63cd3cb1cf
Dont add default item if reporting units is empty 2019-02-13 19:52:03 +01:00
Mikołaj Pich
de92fd686c
cs fix 2019-02-13 19:49:19 +01:00
Rafał Borcz
0a4317f651 Apply map in getSemesters 2019-02-12 23:51:50 +01:00
Mikołaj Pich
0bbd246778
Add error handler to completed lessons 2019-02-12 17:01:49 +01:00
Mikołaj Pich
89b4b297ac
Add subjectId param to completed lessons 2019-02-12 01:06:26 +01:00
Mikołaj Pich
605f6d460c
Rename realized to completed 2019-02-12 01:03:45 +01:00
Mikołaj Pich
4003e9f0f2
Add current semester fallback for graduates 2019-02-12 00:45:45 +01:00
Mikołaj Pich
52259a885c
Remove deprecated getPupils() 2019-02-11 23:58:17 +01:00
Mikołaj Pich
372c946361
cs fix 2019-02-11 23:56:21 +01:00
Mikołaj Pich
085d4e7ec8
Add tests to attendance summary 2019-02-11 23:55:13 +01:00
Mikołaj Pich
79826d9f82
Set date format to gson object in realized lessons parser 2019-02-11 18:06:15 +01:00
Mikołaj Pich
a3709f9d8f
Add substitution and resources fields to realized 2019-02-11 18:05:36 +01:00