app-MAIL-temp/static/assets/images/payments/okpay.svg

1 line
7.6 KiB
XML
Raw Normal View History

create BaseForm to enable CSRF register page redirect user to dashboard if they are logged in enable csrf for login page Set models more strict bootstrap developer page add helper method to ModelMixin, remove CRUDMixin display list of clients on developer index, add copy client-secret to clipboard using clipboardjs add toastr and use jquery non slim display a toast when user copies the client-secret create new client, generate client-id using unidecode client detail page: can edit client add delete client implement /oauth/authorize and /oauth/allow-deny implement /oauth/token add /oauth/user_info endpoint handle scopes: wip take into account scope: display scope, return user data according to scope create virtual-domain, gen email, client_user model WIP create authorize_nonlogin_user page user can choose to generate a new email no need to interfere with root logger log for before and after request if user has already allowed a client: generate a auth-code and redirect user to client get_user_info takes into account gen email display list of clients that have user has authorised use yk-client domain instead of localhost as cookie depends on the domain name use wtforms instead of flask_wtf Dockerfile delete virtual domain EMAIL_DOMAIN can come from env var bind to host 0.0.0.0 fix signup error: use session as default csrf_context rename yourkey to simplelogin add python-dotenv, ipython, sqlalchemy_utils create DB_URI, FLASK_SECRET. Load config from CONFIG file if exist add shortcuts to logging create shell add psycopg2 do not add local data in Dockerfile add drop_db into shell add shell.prepare_db() fix prepare_db setup sentry copy assets from tabler/dist add icon downloaded from https://commons.wikimedia.org/wiki/File:Simpleicons_Interface_key-tool-1.svg integrate tabler - login and register page add favicon template: default, header. Use gravatar for user avatar url use default template for dashboard, developer page use another icon add clipboard and notie prettify dashboard add notie css add fake gen email and client-user prettify list client page, use notie for toast add email, name scope to new client display client scope in client list prettify new-client, client-detail add sentry-sdk and blinker add arrow, add dt jinja filter, prettify logout, dashboard comment "last used" in dashboard for now prettify date display add copy email to clipboard to dashboard use "users" as table name for User as "user" is reserved key in postgres call prepare_db() when creating new db error page 400, 401, 403, 404 prettify authorize_login_user create already_authorize.html for user who has already authorized a client user can generate new email display all other generated emails add ENV variable, only reset DB when ENV=local fix: not return other users gen emails display nb users for each client refactor shell: remove prepare_db() add sendgrid add /favicon.ico route add new config: URL, SUPPORT_EMAIL, SENDGRID_API_KEY user needs to activate their account before login create copy button on dashboard client can have multiple redirect uris, in client detail can add/remove redirect-uri, use redirect_uri passed in /authorize refactor: move get_user_info into ClientUser model dashboard: display all apps, all generated emails add "id" into user_info add trigger email button invalidate the session at each new version by changing the secret centralize Client creation into Client.create_new user can enable/disable email forwarding setup auto dismiss alert: just add .alert-auto-dismiss move name down in register form add shell.add_real_data move blueprint template to its own package prettify authorize page for non-authenticated user update readme, return error if not redirect_uri add flask-wtf, use psycopg2-binary use flask-wtf FlaskForm instead of Form rename email -> email_utils add AWS_REGION, BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY to config add s3 module add File model, add Client.icon_id handle client icon update can create client with icon display client icon in client list page add Client.home_url take into account Client.home_url add boto3 register: ask name first only show "trigger test email" if email forwarding is enabled display gen email in alphabetical order, client in client.name alphabetical order better error page the modal does not get close when user clicks outside of modal add Client.published column discover page that displays all published Client add missing bootstrap.bundle.min.js.map developer can publish/unpublish their app in discover use notie for display flash message create hotmail account fix missing jquery add footer, add global jinja2 variable strengthen model: use nullable=False whenever possible, rename client_id to oauth_client_id, client_secret to oauth_client_secret add flask-migrate init migrate 1st migrate version fix rename client_id -> oauth_client_id prettify UI use flask_migrate.upgrade() instead of db.create_all() make sure requirejs.config is called for all page enable sentry for js, use uppercase for global jinja2 variables add flask-admin add User.is_admin column setup flask admin, only accessible to admin user fix migration: add server_default replace session[redirect_after_login] by "next" request args add pyproject.toml: ignore migrations/ in black add register waiting_activation_email page better email wording add pytest add get_host_name_and_scheme and tests example fail test fix test fix client-id display add flask-cors /user_info supports cors, add /me as /user_info synonym return client in /me support implicit flow no need to use with "app.app_context()" add watchtower to requirement add param ENABLE_CLOUDWATCH, CLOUDWATCH_LOG_GROUP, CLOUDWATCH_LOG_STREAM add cloudwatch logger if cloudwatch is enabled add 500 error page add help text for list of used client display list of app/website that an email has been used click on client name brings to client detail page create style.css to add additional style, append its url with the current sha1 to avoid cache POC on how to send email using postfix add sqlalchemy-utils use arrow instead of datetime add new params STRIPE_API, STRIPE_YEARLY_SKU, STRIPE_MONTHLY_PLAN show full error in local add plan, plan_expiration to User, need to create enum directly in migration script, cf https://github.com/sqlalchemy/alembic/issues/67 reformat all html files: use space instead of tab new user will have trial plan for 15 days add new param MAX_NB_EMAIL_FREE_PLAN only user with enough quota can create new email if user cannot create new gen email, pick randomly one from existing gen emails. Use flush instead of commit rename STRIPE_YEARLY_SKU -> STRIPE_YEARLY_PLAN open client page in discover in a new tab add stripe not logging /static call: disable flask logging, replace by after_request add param STRIPE_SECRET_KEY add 3 columns stripe_customer_id, stripe_card_token, stripe_subscription_id user can upgrade their pricing add setting page as coming-soon add GenEmail, ClientUser to admin ignore /admin/static logging add more fake data add ondelete="cascade" whenever possible rename plan_expiration -> trial_expiration reset migration: delete old migrations, create new one rename test_send_email -> poc_send_email to avoid the file being called by pytest add new param LYRA_ANALYTICS_ID, add lyra analytics add how to create new migration into readme add drift to base.html notify admin when new user signs up or pays subscription log exception in case of 500 use sendgrid to notify admin add alias /userinfo to user_info endpoint add change_password to shell add info on how payment is handled invite user to retry if card not working remove drift and add "contact us" link move poc_send_email into poc/ support getting client-id, client-secret from form-data in addition to basic auth client-id, client-secret is passed in form-data by passport-oauth2 for ex add jwtRS256 private and public key add jwk-jws-jwt poc add new param OPENID_PRIVATE_KEY_PATH, OPENID_PRIVATE_KEY_PATH add scope, redirect_url to AuthorizationCode and OauthToken take into scope when creating oauth-token, authorization-code add jwcrypto add jose_utils: make_id_token and verify_id_token add &scope to redirect uri add "email_verified": True into user_info fix user not activated add /oauth2 as alias for /oauth handle case where scope and state are empty remove threaded=False Use Email Alias as wording remove help text user can re-send activation email add "expired" into ActivationCode Handle the case activation code is expired reformat: use form.validate_on_submit instead of request.method == post && form.validate use error text instead of flash() display client oauth-id and oauth-secret on client detail page not display oauth-secret on client listing fix expiration check improve page title, footer add /jwks and /.well-known/openid-configuration init properly tests, fix blueprint conflict bug in flask-admin create oauth_models module rename Scope -> ScopeE to distinguish with Scope DB model set app.url_map.strict_slashes = False use ScopeE instead of SCOPE_NAME, ... support access_token passed as args in /userinfo merge /allow-deny into /authorize improve wording take into account the case response_type=code and openid is in scope take into account response_type=id_token, id_token token, id_token code make sure to use in-memory db in test fix scope can be null allow cross_origin for /.well-known/openid-configuration and /jwks fix footer link center authorize form rename trial_expiration to plan_expiration move stripe init to create_app() use real email to be able to receive email notification add user.profile_picture_id column use user profile picture and fallback to gravatar use nguyenkims+local@gm to distinguish with staging handle plan cancel, reactivation, user profile update fix can_create_new_email create cron.py that set plan to free when expired add crontab.yml add yacron use notify_admin instead of LOG.error add ResetPasswordCode model user can change password in setting increase display time for notie add forgot_password page If login error: redirect to this page upon success login. hide discover tab add column user.is_developer only show developer menu to developer comment out the publish button set local user to developer make sure only developer can access /developer blueprint User is invited to upgrade if they are in free plan or their trial ends soon not sending email when in local mode create Partner model create become partner page use normal error handling on local fix migration add "import sqlalchemy_utils" into migration template small refactoring on setting page handle promo code. TODO: add migration file add migration for user.promo_codes move email alias on top of apps in dashboard add introjs move encode_url to utils create GenEmail.create_new_gen_email create a first alias mail to show user how to use when they login show intro when user visits the website the first time fix register
2019-07-02 09:20:12 +02:00
<svg width="100" height="60" viewBox="0 0 100 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>OkPay-light</title><desc>Created with Sketch.</desc><g id="Light-Payment-badges" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-450.000000, -689.000000)"><g id="OkPay-light" transform="translate(450.000000, 689.000000)"><rect id="Rectangle" fill="#FFF" x="0" y="0" width="100" height="60" rx="4"/><path d="M86.1174431,22.4053139 L84.9882627,22.4053139 C84.2657583,22.4053139 83.7293555,22.8902628 83.3136077,23.4820292 L82.1966095,25.0740438 C82.1959615,25.0747007 82.1959615,25.0753577 82.1953135,25.0760146 L79.7758634,28.5220292 L77.677944,25.5363942 C77.6683538,25.5214161 77.6632995,25.5077518 77.6524133,25.4922482 L76.2392855,23.4859708 C75.8225009,22.8947299 75.2807846,22.4105693 74.5584098,22.4105693 L73.5116532,22.4105693 C72.7891489,22.4105693 72.3210438,22.894073 72.7392539,23.484 L74.160676,25.4940876 C74.1637863,25.4980292 74.1676743,25.5019708 74.1709142,25.506438 L78.2169387,31.2186131 L78.2169387,37.6854745 C78.2169387,38.4095474 78.8084203,39.0006569 79.5310543,39 L80.0206725,38.9986861 C80.7433065,38.9981606 81.3347881,38.404292 81.3347881,37.680219 L81.3347881,31.2121752 L85.6449317,25.1285693 C85.6582802,25.1110949 85.6756462,25.094146 85.6883468,25.0760146 L86.8150648,23.4800584 C87.2331454,22.8889489 86.8399475,22.4053139 86.1174431,22.4053139" id="Fill-1" fill="#D2642C"/><path d="M38.9536532,30.1809197 L43.0135447,26.2726861 C43.0323363,26.2558686 45.8834746,23.5113285 45.8834746,23.5113285 C46.3965499,23.0166569 45.8444658,22.4053139 45.1414011,22.4053139 L43.5976392,22.4053139 C42.8948336,22.4053139 42.5397373,22.8110365 42.0275692,23.3076788 L39.0223398,26.2209197 C39.0197478,26.2234161 39.0181926,26.2260438 39.0153415,26.2293285 L37.0814921,28.1039562 L37.0814921,25.9783796 L37.0731979,25.9783796 C37.0751419,25.9498686 37.0814921,25.9220146 37.0814921,25.8935036 L37.0814921,23.7225985 C37.0814921,22.9985255 36.5065989,22.4053139 35.8036637,22.4053139 L35.2296778,22.4053139 C34.5270018,22.4053139 33.9518494,22.9985255 33.9518494,23.7225985 L33.9518494,25.8935036 C33.9518494,25.9220146 33.9583292,25.9498686 33.9601436,25.9783796 L33.9518494,25.9783796 L33.9518494,37.6828467 C33.9518494,38.4069197 34.5270018,39 35.2296778,39 L35.8036637,39 C36.5065989,39 37.0814921,38.4069197 37.0814921,37.6828467 L37.0814921,32.4418248 L39.8365989,35.2766277 L39.8398389,35.2766277 L42.5517898,38.0699124 C43.0493135,38.5812701 43.3919685,39 44.0950333,39 L45.6407391,39 C46.3435447,39 46.6430438,38.1430949 46.1455201,37.6316058 L38.9536532,30.1809197" id="Fill-3" fill="#D2642C"/><path d="M69.5185044,31.8052555 L66.4935762,31.8052555 C66.1303152,31.8052555 65.9456392,31.5310511 66.0818459,31.1953577 L67.7524834,27.1004234 C67.8894676,26.7647299 68.1138004,26.7647299 68.251303,27.0997664 L69.9297163,31.1960146 C70.0672189,31.5310511 69.8817653,31.8052555 69.5185044,31.8052555 L69.5185044,31.8052555 Z M75.5947986,37.3574015 L75.6025744,37.3574015 L70.3287461,24.2443358 L70.3261541,24.2443358 L70.0787531,23.6285255 C69.8089317,22.9556934 68.9936357,22.4053139 68.2672434,22.4053139 L67.7430228,22.4053139 C67.0166305,22.4053139 66.2019825,22.9563504 65.9341051,23.6298394 L65.6898144,24.2443358 L65.6808722,24.2443358 L60.4270018,37.2880292 L60.4288161,37.2880292 L60.230662,37.7781022 C59.9588967,38.4504088 60.3322662,39 61.0586585,39 L62.2344939,39 C62.9608862,39 63.3023748,38.4444964 63.5548301,37.7650949 L63.7319895,37.2880292 L63.7391173,37.2880292 L64.8010368,34.4637372 L71.2232259,34.4637372 L71.3101856,34.6905109 L71.374725,34.8254453 L72.3216918,37.3574015 L72.3249317,37.3574015 L72.4770788,37.7650949 C72.7303117,38.4444964 73.1740525,39 73.9010928,39 L74.9407215,39 C75.6677618,39 76.0391874,38.4509343 75.7661261,37.7794161 L75.5947986,37.3574015 L75.5947986,37.3574015 Z" id="Fill-4" fill="#D2642C"/><path d="M59.2485744,28.630292 C59.1270123,28.9376058 58.9499825,29.1936788 58.71269,29.4041606 L58.715282,29.4016642 L58.713338,29.4041606