Skip to content

Added developer login + fake data for local testing#318

Open
noahnizamian wants to merge 9 commits intomainfrom
developer-login
Open

Added developer login + fake data for local testing#318
noahnizamian wants to merge 9 commits intomainfrom
developer-login

Conversation

@noahnizamian
Copy link

General Info

For faster login in development, a option to login as developer should be added

Changes

  • Added dev omniauth provider (only shown in dev environment)
  • Dev login accepts any email without canvas (so that you can test general functionality without using canvas APIs)
  • seeded 2 test accounts [email protected] and [email protected]
  • seeded test course (DEV101) with one assignment and proper LMS linking
  • Updated SessionController to handle missing developer credentials gracefully

Testing

  • Added test for dev provider OmniAuth callback with missing credentials
  • Tests auto enrollment in the test course
  • Tests credential storage (even without the real tokens)
  • all the 10 tests pass

Documentation

No documentation needed since its all dev env features

Checklist

  • Name of branch corresponds to story
  • Tests added and passing
  • No breaking changes

dependabot bot and others added 8 commits January 15, 2026 06:45
Bumps [bootsnap](https://github.com/rails/bootsnap) from 1.20.1 to 1.21.1.
- [Release notes](https://github.com/rails/bootsnap/releases)
- [Changelog](https://github.com/rails/bootsnap/blob/main/CHANGELOG.md)
- [Commits](rails/bootsnap@v1.20.1...v1.21.1)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-version: 1.21.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [pg](https://github.com/ged/ruby-pg) from 1.6.2 to 1.6.3.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/CHANGELOG.md)
- [Commits](ged/ruby-pg@v1.6.2...v1.6.3)

---
updated-dependencies:
- dependency-name: pg
  dependency-version: 1.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [puma](https://github.com/puma/puma) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/main/History.md)
- [Commits](puma/puma@v7.1.0...v7.2.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…p-1.21.1

Bump bootsnap from 1.20.1 to 1.21.1
@noahnizamian noahnizamian added enhancement New feature or request points: 1 labels Feb 21, 2026
@noahnizamian noahnizamian self-assigned this Feb 21, 2026
@noahnizamian noahnizamian requested a review from alxstx February 21, 2026 07:16
alxstx pushed a commit that referenced this pull request Feb 28, 2026
…rails-6.4.0

Bump sentry-rails from 6.3.1 to 6.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request points: 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants