Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
d72aa52
Add API V2 code from DMPonline service
gjacob24 Nov 19, 2025
7afb1b0
add doorkeeper to routes
martaribeiro Nov 21, 2025
b68c92e
Add rubocop fixes
gjacob24 Dec 1, 2025
910e17c
Remove DMPonline specific code from doorkeeper initializer
gjacob24 Dec 22, 2025
868f4b7
Fix `@client` bug & rename server/client JSON keys
aaronskiba Jan 27, 2026
cccc2bd
Add v2 API test coverage
aaronskiba Dec 16, 2025
a2f5be8
Fix bugs uncovered by v2 API test coverage
aaronskiba Dec 16, 2025
46fc81e
Merge pull request #3589 from DMPRoadmap/aaron/add-api-v2-tests
aaronskiba Jan 27, 2026
c0b8ca5
Add "OAuth Applications" to admin panel options
aaronskiba Jan 27, 2026
cd0ab1b
Allow Doorkeeper HTTP redirects in test & dev
aaronskiba Jan 27, 2026
ad22ff1
Remove unneeded OAuth model wrappers
aaronskiba Jan 28, 2026
6cb7eb7
Fix assignment bug in fetch_q_and_a
aaronskiba Jan 28, 2026
00fafcc
Refactor `ResearchOutputPresenter#fetch_q_and_a`
aaronskiba Jan 29, 2026
8195ed6
Rescue `StandardError` in v2 BaseApiController
aaronskiba Jan 29, 2026
db7e6e5
Update fields returned by GET /api/v2/me
aaronskiba Jan 29, 2026
127306a
Refactor: Replace raw SQL in TemplatesPolicy
aaronskiba Jan 29, 2026
2fea681
Filter PlanPresenter.plan_costs answers at db-level
aaronskiba Jan 30, 2026
4c8a953
Refactor fetch_q_and_a: Filter answers at db level
aaronskiba Jan 30, 2026
6ed969b
Optimise `GET api/v2/plans` / Fix N+1 queries
aaronskiba Jan 30, 2026
466b302
Simplify Doorkeeper authentication via Warden
aaronskiba Feb 3, 2026
4dd1df0
Improve OAuth flow detection and redirect handling
aaronskiba Feb 3, 2026
81895b9
Refactor: DRY up after_sign_in/after_sign_up helpers
aaronskiba Feb 3, 2026
a10c3e6
Refactor & simply Doorkeeper `admin_authenticator`
aaronskiba Feb 3, 2026
4640b50
Add complete plan flag to `plans_controller`
momo3404 Feb 6, 2026
79baa9f
Add complete plan flag to `plan_presenter`
momo3404 Feb 6, 2026
cfa39c5
Add complete plan flag to `plans/_show.json.jbuilder`
momo3404 Feb 6, 2026
d2ff4f1
Add question id to returned json
momo3404 Feb 10, 2026
df82258
Optimize complete plan query
momo3404 Feb 10, 2026
93bacbf
Update CHANGELOG.md
momo3404 Feb 10, 2026
a470798
`bundle install`
aaronskiba Feb 11, 2026
09a04b5
`rails generate doorkeeper:migration --force`
aaronskiba Feb 11, 2026
7e87ebc
`rails db:migrate`
aaronskiba Feb 11, 2026
50620cb
Sync doorkeeper YAML translations with prod key
aaronskiba Feb 11, 2026
dad2559
`bundle exec rubocop -A`
aaronskiba Feb 11, 2026
45a41cf
Fix breaking test / adapt to Rails 6.1
aaronskiba Feb 11, 2026
66ed567
Create internal Doorkeeper app via rake task
aaronskiba Feb 6, 2026
e7524cc
Create `Api::V2::InternalUserAccessTokenService`
aaronskiba Feb 6, 2026
7067405
Add "POST /api/v2/internal_user_access_token" action & route
aaronskiba Feb 6, 2026
437a9ed
Add API v2 section to `/users/edit#api-details`
aaronskiba Feb 6, 2026
1c3e932
Refactor api_token into v2 & legacy partials
aaronskiba Feb 6, 2026
bd16be5
Expose API Access tab to all users / restrict legacy token rendering
aaronskiba Feb 9, 2026
38b1437
Improve styling for v2 + legacy API displays
aaronskiba Feb 9, 2026
1071383
Add handling for missing internal OAuth app
aaronskiba Feb 12, 2026
bbe35e4
Add test coverage for internal v2 token generation
aaronskiba Feb 13, 2026
81ca29b
Set default format for internal_user_access_token route
aaronskiba Feb 13, 2026
3601651
Fix string typo in `refresh_token.js.erb`
aaronskiba Feb 17, 2026
b5e9c43
Update API Access UI to BS3 (revert after BS5 upgrade)
aaronskiba Feb 17, 2026
a7c7b0d
Add Doorkeeper rake tasks to Rakefile
aaronskiba Feb 18, 2026
a01f324
Allow NULL `oauth_applications.redirect_uri` in db
aaronskiba Feb 19, 2026
e8459dc
Force regen `allow_null_redirect_uri...` migration for Rails 6
aaronskiba Feb 19, 2026
1e192a1
Merge branch 'aaron/v2-api' into aaron/feature-v2-api-token-for-inter…
aaronskiba Feb 19, 2026
34815ef
Remove `redirect_uri` from internal OAuth app
aaronskiba Feb 19, 2026
5f54561
Enable Doorkeeper token/application secret hashing
aaronskiba Feb 19, 2026
2e8c176
Merge branch 'aaron/v2-api' into aaron/feature-v2-api-token-for-inter…
aaronskiba Feb 19, 2026
4645f9a
Adapt v2 spec requests to now-hashed tokens
aaronskiba Feb 20, 2026
f9cd501
DRY up 'read' scope auth in v2 API controllers
aaronskiba Feb 21, 2026
16c72d4
Adapt internal user v2 token handling to hashed tokens
aaronskiba Feb 20, 2026
3a39867
Switch "Regenerate token" to button & prevent spamming
aaronskiba Feb 20, 2026
f63abd1
Improve styling for API titles in partials
aaronskiba Feb 20, 2026
8802049
Update CHANGELOG.md
aaronskiba Feb 23, 2026
95c6c89
Merge pull request #1279 from portagenetwork/aaron/feature-v2-api-tok…
aaronskiba Feb 23, 2026
a66339f
Use `plan.owner.language` for `plan.language`
aaronskiba Feb 24, 2026
c0715e0
Update plan.language test and V2 references
aaronskiba Feb 24, 2026
2de4d3d
refactor: simplify `@data_contact` assignment
aaronskiba Feb 24, 2026
a0a566c
refactor: use for_api_v2 scope for Template & Plan
aaronskiba Feb 24, 2026
9db01aa
Merge branch 'integration' into aaron/v2-api
aaronskiba Feb 24, 2026
4c9a0b6
fix: check for Pundit auth error in internal token request spec
aaronskiba Feb 24, 2026
2a9831f
Eager load identifier_scheme in Template.for_api_v2
aaronskiba Feb 24, 2026
249d255
Optimise `GET api/v2/plans` / Fix N+1 queries
aaronskiba Feb 25, 2026
5f1b257
Use `.for_api_v2` scope for GET /api/v2/plans/:id
aaronskiba Feb 25, 2026
f2e8758
Add copy button to v2 api API Access
momo3404 Feb 25, 2026
54502f8
Add copyToken.js to allow for copying token
momo3404 Feb 25, 2026
283c3f5
Fix breaking tests in `_v2_api_token.html.erb_spec.rb`
momo3404 Feb 25, 2026
e7cbe2b
Add changelog entry
momo3404 Feb 26, 2026
293977d
Merge pull request #1283 from portagenetwork/momo/v2-api/token-copy
momo3404 Feb 26, 2026
e123986
Update CHANGELOG.md
aaronskiba Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@

- Implement tiered Rack::Attack throttles [#1254](https://github.com/portagenetwork/roadmap/pull/1254)

- Add Internal v2 API Access Token Generation for Users [#1279](https://github.com/portagenetwork/roadmap/pull/1279)

- Add `bundle exec rails db:migrate` to entrypoint.sh [#1278](https://github.com/portagenetwork/roadmap/pull/1278)

- Add copy button next to V2 API Token [#1283](https://github.com/portagenetwork/roadmap/pull/1283)

- Initial v2 API Implementation & Doorkeeper OAuth Integration [#1276](https://github.com/portagenetwork/roadmap/pull/1276)

### Changed
- Upgrade ROR API From V1 to V2 [#1247](https://github.com/portagenetwork/roadmap/pull/1247)

Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ gem 'devise'
# An invitation strategy for Devise (https://github.com/scambra/devise_invitable)
gem 'devise_invitable'

gem 'doorkeeper'

# A generalized Rack framework for multiple-provider authentication.
# (https://github.com/omniauth/omniauth)
gem 'omniauth'
Expand Down
Loading
Loading