-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
GITC-657 Update l2 text for multi-sig wallets #9849
GITC-657 Update l2 text for multi-sig wallets #9849
Conversation
Is this ready for review @ksolo ? |
@thelostone-mc It's not I had some questions about requirements and paused this while I jumped on the Cypress PR. The questions have been answered now and I can jump back to this. |
43fc65a
to
5d55afc
Compare
max_length_offset = abs( | ||
((request.user.profile.created_on if user_is_authenticated_and_valid else timezone.now()) - timezone.now()).days | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result of make fix
return Activity.objects.exclude( | ||
activities_index__key__isnull=True | ||
).order_by('-pk').cache() | ||
return Activity.objects.exclude(activities_index__key__isnull=True).order_by('-pk').cache() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result of make fix
@@ -25,7 +25,6 @@ class Command(BaseCommand): | |||
|
|||
help = 'fixes avatars whose pngs have failed' | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result of make fix
new_avatars = [ | ||
'SSShiine', 'avrilapril', 'eknobl', 'lkh', 'nanshulot', 'wahyu243', 'zak102', 'artipedia', 'azizyano', | ||
'hasssan04', 'maystro4', 'riyasoganii', 'writeprovidence', 'petushka1', 'merit-tech', 'hamzaghz', | ||
'bruno-tandon', 'KayZou', 'the-hack-god', 'old-monger', 'virtual-face', 'art-maniac', 'vinhbhn', 'masket-bask', | ||
'panigale120' | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
for _key in new_avatars: | ||
avatar_attrs[_key] = { | ||
'preview_viewbox': { | ||
}, | ||
'preview_viewbox': {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -111,6 +111,7 @@ def data_viz_helper_get_data_responses(request, visual_type): | |||
|
|||
return data_dict | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -18,8 +18,10 @@ | |||
|
|||
""" | |||
from django.contrib import admin | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
from git.models import GitCache | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -16,4 +16,3 @@ class Meta: | |||
|
|||
# Generate binary data depending on n | |||
data = factory.Sequence(lambda n: ("{n}" * 100).encode("utf-8")) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -1,6 +1,6 @@ | |||
from git.tests.factories.git_cache_factory import GitCacheFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
import pytest | ||
from git.models import GitCache | ||
from git.tests.factories.git_cache_factory import GitCacheFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
from faker import Faker | ||
from git.models import GitCache | ||
from git.tests.factories.git_cache_factory import GitCacheFactory | ||
from git.utils import ( | ||
HEADERS, TOKEN_URL, build_auth_dict, delete_issue_comment, get_github_emails, get_github_primary_email, | ||
HEADERS, TOKEN_URL, _get_user, build_auth_dict, delete_issue_comment, get_github_emails, get_github_primary_email, | ||
get_issue_comments, get_issue_timeline_events, github_connect, is_github_token_valid, org_name, patch_issue_comment, | ||
post_issue_comment, post_issue_comment_reaction, repo_url, reset_token, revoke_token, _get_user | ||
post_issue_comment, post_issue_comment_reaction, repo_url, reset_token, revoke_token, | ||
) | ||
from github import NamedUser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
from urllib.parse import quote_plus, urlencode | ||
from unittest.mock import MagicMock, patch | ||
from github import NamedUser | ||
from urllib.parse import quote_plus, urlencode | ||
|
||
from django.conf import settings | ||
from django.test.utils import override_settings | ||
from django.utils import timezone | ||
from git.models import GitCache | ||
from git.tests.factories.git_cache_factory import GitCacheFactory | ||
from faker import Faker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
assert loaded_user == gh_user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
from io import BytesIO | ||
from urllib.parse import quote_plus, urlencode | ||
|
||
from django.conf import settings | ||
from io import BytesIO | ||
from django.utils import timezone | ||
|
||
import dateutil.parser | ||
import requests | ||
from .models import GitCache | ||
from github import Github | ||
from github.GithubException import BadCredentialsException, GithubException, UnknownObjectException | ||
from requests.exceptions import ConnectionError | ||
from rest_framework.reverse import reverse | ||
|
||
from .models import GitCache | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -649,7 +655,7 @@ <h5 class="font-weight-bold mb-3">Verify Grant Ownership with Twitter</h5> | |||
<label class="font-subheader letter-spacing text-grey-500 mb-0 mr-3" for="title">Logo background color</label> | |||
<input type="color" v-model="logoBackground" @input="changeColor"> | |||
</div> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -28,7 +28,7 @@ | |||
from django.utils.translation import gettext_lazy as _ | |||
|
|||
from mailchimp3 import MailChimp | |||
from marketing.models import AccountDeletionRequest, EmailSupressionList, LeaderboardRank, EmailSubscriber | |||
from marketing.models import AccountDeletionRequest, EmailSubscriber, EmailSupressionList, LeaderboardRank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
@@ -48,7 +48,7 @@ | |||
from marketing.country_codes import COUNTRY_CODES, COUNTRY_NAMES, FLAG_API_LINK, FLAG_ERR_MSG, FLAG_SIZE, FLAG_STYLE | |||
from marketing.mails import new_feedback | |||
from marketing.models import AccountDeletionRequest, EmailSubscriber, Keyword, LeaderboardRank, UpcomingDate | |||
from marketing.utils import get_or_save_email_subscriber, validate_slack_integration, delete_email_subscription | |||
from marketing.utils import delete_email_subscription, get_or_save_email_subscriber, validate_slack_integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make fix
I labeled the files that were updated from the |
There are quite a number of changes introduced by This would run a validation script on the changed files before every commit, and would ensure a common styling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avance
Description
Update warnings for L2 based contributions
Refers/Fixes
GITC-657