Commit Graph

2051 Commits

Author SHA1 Message Date
Damir Shamanaev
aca8cb6152 Merge remote-tracking branch 'origin/master' into leo-add-no-logout 2021-01-27 16:29:34 +03:00
Damir S
727981c639
adds leo logout command (#572) 2021-01-27 16:28:55 +03:00
Damir Shamanaev
d4a765398c removes token check on leo add command
- loggin for leo add was not necessary
- login/logout CI is separated
- add/remove checked together w/o logging in
2021-01-27 15:33:01 +03:00
Protryon
754da358be constyness 2021-01-26 20:05:08 -08:00
gluaxspeed
fbe466661a re add io error to parsererror 2021-01-26 14:55:17 -05:00
collin
8c60774b29 remove unused ParserError code 2021-01-26 14:55:17 -05:00
collin
9d2c5587c9 return new AstError in ast main.rs 2021-01-26 14:55:16 -05:00
Damir Shamanaev
5ea2947664 changed workflow name - now leo-add 2021-01-26 14:55:16 -05:00
Damir Shamanaev
96739c95ca Adds leo add and leo remove CI cycle
- requires ALEO_PM_USERNAME and ALEO_PM_PASSWORD to be set in secrets
- follows simple workflow: new-login-add-remove
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
295512474d Bump serde from 1.0.119 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
9d528e7e2b Bump criterion from 0.3.3 to 0.3.4
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
Damir Shamanaev
f9c4af4ba3 Adds empty line for help command in leo CLI
- clap 2.X has an issue with adding empty line in the end
- proper fixing of this problem should be by updating to V3
2021-01-26 14:55:16 -05:00
Damir Shamanaev
c6abb26ffe removed accidental default implementations 2021-01-26 14:55:15 -05:00
Damir Shamanaev
941cf1e8c7 fixes #551 issues with leo login and add commands
- both bugs were due to missing error handling when JWT was not created
- was a problem only for non-authorized users
- added few minor changes in CLI output making it more helpful
2021-01-26 14:55:15 -05:00
collin
d7cced6e53 rustup update && cargo clippy 2021-01-26 14:55:15 -05:00
collin
873fcc9637 cargo +nightly clippy 2021-01-26 14:55:15 -05:00
dependabot-preview[bot]
fe88b73f82 Bump self_update from 0.22.0 to 0.23.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:15 -05:00
Collin Chin
9fbfebbdfe
Merge pull request #579 from AleoHQ/leo-add-ci
[CI] adds leo add and leo remove CI workflow
2021-01-26 14:03:37 -05:00
gluaxspeed
c03451fcd8 deprecate @context annotation, temp fix for main.rs in ast, how should we handle this? 2021-01-26 11:21:05 -05:00
Damir Shamanaev
b638b84c5c changed workflow name - now leo-add 2021-01-26 19:19:08 +03:00
Collin Chin
ed395a0f9a
Merge pull request #568 from AleoHQ/dependabot/cargo/serde-1.0.122
Bump serde from 1.0.119 to 1.0.122
2021-01-25 16:56:16 -05:00
Collin Chin
5e1690d2d1
Merge pull request #567 from AleoHQ/dependabot/cargo/criterion-0.3.4
Bump criterion from 0.3.3 to 0.3.4
2021-01-25 16:51:59 -05:00
Collin Chin
5fbced9164
Merge pull request #565 from damirka/add-empty-line-clap
[cli] adds empty line for help command
2021-01-25 16:49:58 -05:00
collin
0c9b12d545 allow clippy::unused_unit in binary.rs 2021-01-25 15:49:51 -05:00
collin
899d237ea3 Merge branch 'asg-asg' of github.com:AleoHQ/leo into asg-clippy 2021-01-25 15:46:37 -05:00
collin
47c1356389 asg/src/lib.rs comments 2021-01-25 15:41:26 -05:00
gluaxspeed
91f5c18da8 comment saying where deprecated is defined in pest file 2021-01-25 15:21:25 -05:00
gluaxspeed
fe4a101d8d use infallible for cleaner type checking, clean up comments 2021-01-25 15:19:44 -05:00
gluaxspeed
29ff3c90b6 error and error message for deprecated test syntax, fmt, clean up 2021-01-25 15:12:10 -05:00
Protryon
7c216bd07d fix integer contextual inference 2021-01-25 11:01:28 -08:00
Protryon
786afeecde boolean -> bool 2021-01-25 10:40:19 -08:00
Protryon
e4f899782a reformat type display 2021-01-25 10:38:22 -08:00
Protryon
2bd3a194fb allow non-u32 in various const places 2021-01-25 10:29:23 -08:00
collin
71df01257d cargo +nightly clippy 2021-01-25 12:07:45 -05:00
Protryon
958777f633 swap lint again 2021-01-25 07:46:00 -08:00
Protryon
8f1c3c7643 fix binary expression lint 2021-01-25 07:41:59 -08:00
Protryon
eff111b559 rename ternary 2021-01-25 07:31:34 -08:00
Protryon
ddfffd7c7b asg base implementation 2021-01-25 07:19:38 -08:00
Damir Shamanaev
2aea36aa96 Adds leo add and leo remove CI cycle
- requires ALEO_PM_USERNAME and ALEO_PM_PASSWORD to be set in secrets
- follows simple workflow: new-login-add-remove
2021-01-25 15:50:19 +03:00
dependabot-preview[bot]
b092abec2a
Bump serde from 1.0.119 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 10:23:35 +00:00
dependabot-preview[bot]
f9c3c6443f
Bump criterion from 0.3.3 to 0.3.4
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 10:23:16 +00:00
Collin Chin
dae45d9107
Merge pull request #560 from damirka/fix-cli-login-add
[cli] leo login and add commands - missing file
2021-01-22 11:12:25 -05:00
Damir Shamanaev
fd952b8396 Adds empty line for help command in leo CLI
- clap 2.X has an issue with adding empty line in the end
- proper fixing of this problem should be by updating to V3
2021-01-22 14:56:05 +03:00
collin
87bd041620 cargo +nightly clippy 2021-01-21 17:05:16 -05:00
collin
f9be039a7b remove unused grammar paths 2021-01-21 17:02:27 -05:00
collin
cd66497226 deprecate context annotation 2021-01-21 16:55:15 -05:00
collin
fe78b2ec11 deprecate old test function syntax 2021-01-21 16:50:15 -05:00
gluaxspeed
d08eb0a45c remove emacs temp file 2021-01-21 15:31:07 -05:00
gluaxspeed
d6e0c0fdf8 grammar annotated_tests tests 2021-01-21 15:30:26 -05:00
gluaxspeed
c619d9e2bb @test no context, deprecate test keyword, cargofmt 2021-01-21 12:28:52 -05:00