Commit Graph

1853 Commits

Author SHA1 Message Date
gluaxspeed
7affb3e099 restrict self keyword to member access only 2021-02-01 13:04:20 -05:00
Collin Chin
2849a27722
Merge pull request #587 from AleoHQ/update/cleanup
Removes leo-version from CLI
2021-01-30 14:17:51 -05:00
Collin Chin
66c736b3d7
Merge pull request #582 from AleoHQ/leo-add-no-logout
[CLI, CI] Leo add does not require login
2021-01-30 14:16:04 -05:00
Damir Shamanaev
95531ce50f fixes formatting 2021-01-29 13:18:38 +03:00
Damir Shamanaev
8b6c3371d1 Using token on add if logged in 2021-01-29 12:39:17 +03:00
howardwu
263f52c408 Clippy 2021-01-28 20:10:05 -08:00
howardwu
e7246e146b Simplify 2021-01-28 20:09:14 -08:00
Howard Wu
9aa0fb6069
Merge pull request #578 from AleoHQ/dependabot/cargo/serde-1.0.123
Bump serde from 1.0.122 to 1.0.123
2021-01-28 19:59:35 -08:00
howardwu
5791392dba Forgo using tracing to list the versions without a log status 2021-01-28 19:55:53 -08:00
howardwu
0893f58a7c Removes leo-version 2021-01-28 19:50:18 -08:00
dependabot-preview[bot]
6b4439a243
Bump serde from 1.0.122 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 15:05:49 +00:00
Collin Chin
772902e4b4
Merge pull request #561 from AleoHQ/feature/442-test-annotation
Feature/442 test annotation
2021-01-28 10:04:03 -05:00
gluaxspeed
4cfd06b94d astError always included 2021-01-27 13:06:21 -05:00
Damir S
638f5ebbf0 adds leo logout command (#572) 2021-01-27 13:06:21 -05:00
gluaxspeed
2bda443d9c added more tests 2021-01-27 12:10:34 -05:00
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
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
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
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