Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Flutter App for Memri Flutter App for Memri
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MemriMemri
  • Flutter App for MemriFlutter App for Memri
  • Merge requests
  • !356

Draft: Autofill credentials in developers mode

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Aziz Berkay Yesilyurt requested to merge aziz/developers-mode into dev Aug 12, 2022
  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 5

Repeatedly entering credentials during development becomes tedious very quickly. I modified the developer's mode login, so that we have an option to autofill owner_key and database_key.

The idea is to have a .env file in assets folder with contents like below. Then the corresponding fields are autopopulated.

owner_key=0077092be5b1403f833e13fde64201bd62b63ca6451d49668634bac3cc8ec5fa
database_key=539502a379cb4992891aab94e767268a646bb0a4fb5b40e2a9ad19bd470249d1

Another change is to start with DeveloperAuthState.devSignIn directly to reduce the number of clicks necessary.

This MR should only modify developer mode workflow, standart user workflow should not be affected.

Edited Aug 15, 2022 by Erfan Jazeb Nikoo
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: aziz/developers-mode