-
Notifications
You must be signed in to change notification settings - Fork 26
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
EID and SVM login #475
Open
mirrec
wants to merge
209
commits into
master
Choose a base branch
from
eid-login
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
EID and SVM login #475
Changes from 23 commits
Commits
Show all changes
209 commits
Select commit
Hold shift + click to select a range
d18be0b
Implement stub for EID authentication strategy
alhafoudh 084202f
Add TODO notes
mirrec c94a6ab
Extract eid provider options to ENV and implement JWT token verification
alhafoudh 6644f23
Merge
mirrec 0f9158f
Fix hash key reference
alhafoudh 1480b32
Merge branch 'eid-login' of github.com:slovensko-digital/navody.digit…
mirrec 9123a02
Add eid_sub field to User model
mirrec ade5eec
Add endpoint for finishing eid onboarding
mirrec b4e0a58
add eid login button variants
MarekVigas 841fb59
change login view
MarekVigas 8c2404b
Add url to sample
mirrec b4361d3
Merge branch 'eid-login' of github.com:slovensko-digital/navody.digit…
mirrec 28da00c
update wording
MarekVigas 31d866c
keep sample env empty
MarekVigas 9cdffdb
Move eid onboarding to namespace
alhafoudh e6ba6ca
prepare controller for business register
martyciz b6ff12d
Finish eid login with magic link verification
alhafoudh b7d4732
service for retrieving business acts
martyciz d4f6948
Implement EID logout
alhafoudh 0a0148d
controller API points for getting business acts
martyciz 9019ecb
Handle sk.sk callback redirect
alhafoudh d7bfb1a
Merge branch 'master' into eid-login
alhafoudh b758ab7
Fix double render
alhafoudh 1ad56ae
Refactor condition to method
alhafoudh f1a63dc
Refactor condition to method
alhafoudh 19226e7
Add SkTalk, ApplicationForDocumentCopy builders
luciajanikova 0ef2648
Merge branch 'feature/orsr-submission' of https://github.com/slovensk…
luciajanikova fbec553
Remove skipping JWT verification in development env
alhafoudh 0b358f4
Refactor EID token parsing to EidToken model
alhafoudh 20d7fbe
form builder and generating XML, prepared send XML form
martyciz 57009f1
Pass EID token using forms up to the point user is authenticated and …
alhafoudh 377459b
Keep EID token in session but remove it when it does not match with E…
alhafoudh f38122d
form for submit and form for generating XML - WIP
martyciz d0c0a98
Extract logout URL generation to EidToken model
alhafoudh 660bf68
Prepare Upvs Submissions API, views
luciajanikova f323b32
Merge branch 'feature/orsr-submission' of https://github.com/slovensk…
luciajanikova 68e8954
Extract EID token related controller methods to EidAuth concern
alhafoudh 7f57d92
generate XML with form
martyciz d494f50
Update form path
luciajanikova 848e4f2
Merge branch 'feature/orsr-submission' of https://github.com/slovensk…
luciajanikova 1fd0d8e
Fix putting EID token into session
alhafoudh 7e67c48
Indicate presence of EID token in session
alhafoudh 94ec91d
Fix null reference
alhafoudh d9215a4
Fix putting EID token to session
alhafoudh 1a5f97e
fetch company and acts using JS
martyciz 10a5bd3
Update navody-digital-frontend npm package
alhafoudh 1cac8b3
Merge branch 'update-govuk' into eid-login
alhafoudh 3b623a8
Add form visualisation
luciajanikova d2467b9
Merge branch 'feature/orsr-submission' of https://github.com/slovensk…
luciajanikova 9873090
Tweak new EID identity view style
alhafoudh 4c7f59e
Update navody-digital-frontend npm package (pt. 2)
alhafoudh 4d604d4
Update node version to 16.15.1 again
alhafoudh dc8eaf7
Merge branch 'eid-login' of https://github.com/slovensko-digital/navo…
luciajanikova ba34520
Merge branch 'eid-login' of https://github.com/slovensko-digital/navo…
luciajanikova 449af3f
Updates
luciajanikova 4991f2a
refactor code to use form object
martyciz a845474
Html, css, js files for mobile formular
danielstaleiny bc7851c
Merge branch 'feature/orsr-submission' of https://github.com/slovensk…
luciajanikova cf1182d
Merge pull request #489 from danielstaleiny/feature/orsr-submission
cizmarty 928554b
merge HTML,CSS, working form
martyciz 6f8bc6e
working XML query
martyciz d00a6c8
fix companies select
martyciz 02d4663
send XML within hidden form
martyciz 79edf6e
Create Upvs::FormTemplateRelatedDocuments, Update Upvs::EgovApplicati…
luciajanikova f99658e
Add sk-api login&logout, form visualisation. submission to sk-api, fi…
luciajanikova 1db705d
Frontend fixes
luciajanikova 6889c68
Merge branch 'master' into eid-login
alhafoudh 30901d6
Tweak actor retrieval from OBO token
alhafoudh 71389e5
Fix node version for navody-frontend package
alhafoudh 01ea659
Add support for error cases (OBO token expires before submit/submit f…
luciajanikova 686881f
Small frontend fixes
luciajanikova 1f63884
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova 835201e
Revert node version upgrade
luciajanikova 2f6a817
Merge branch 'eid-login' of https://github.com/slovensko-digital/navo…
luciajanikova 5234fc9
Merge branch 'eid-login' of https://github.com/slovensko-digital/navo…
luciajanikova 6eef1c0
Merge branch 'master' of https://gitlab.bonet.sk/slovensko.digital/na…
luciajanikova c5653d8
Update package.json
luciajanikova ab8115c
Update yarn.lock, Dockerfile
luciajanikova 0cd486a
Try to update caniuse-lite
luciajanikova 7f00cae
Try to fix babel config
luciajanikova 4e57e8e
Try to fix babel config II
luciajanikova e619675
Revert naovdy-frontend import changes
luciajanikova ca3b637
Update ApplicationForDocumentCopy default_recipient_uri for staging
luciajanikova 2521795
Add data utils routes
luciajanikova cdb0da5
Fixes for successful UPVS submission
luciajanikova d77e60a
Fix sender_uri
luciajanikova ec3129e
Add AddUpvsFormToWhiteListJob
luciajanikova 9eec2da
Small text fixes + add or_sr listiny callback
luciajanikova 6d71486
Divide filling form into 3 steps
luciajanikova c615c3e
Update routes, view templates
luciajanikova ace5ca6
Draft spinner
luciajanikova 50c416b
Spinner finalization
luciajanikova a3a4790
Small frontend fixes
luciajanikova 565f19f
Refactor FE
luciajanikova cc14282
Merge branch 'master' into eid-login
alhafoudh 22f1fd9
Small updates
luciajanikova bc50f8e
Add two-thirds layout
luciajanikova 6604926
Finalize app
luciajanikova f676284
Unify css with ORSR identifiers app
luciajanikova 9147758
Unify line endlings
luciajanikova 08b9fce
Fix back button
luciajanikova ed4f16f
Fix iframe height
luciajanikova 3549d40
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova 240af08
Small fixes
luciajanikova 72ad5b9
Fix structure.sql
luciajanikova 76ceadd
Handle case when actor key value can be null
alhafoudh db5c8bb
Handle case when actor key value can be null
alhafoudh ed48def
Merge branch 'master' into eid-login
alhafoudh 8c4c322
Try to fix iframe, acts view
luciajanikova 35e56b4
Handle enter press
luciajanikova d172475
Update copy
luciajanikova 6d0047b
Fix form builder indent
luciajanikova 35a31d5
Update raising errors
luciajanikova 87368eb
Add un/check all acts option
luciajanikova aa9f6e6
Disable eID login as a login method to app
luciajanikova 432303f
Update copy
luciajanikova 983e2a9
Add eID/SVM login info
luciajanikova ec812fa
Update links to documents
luciajanikova 7587cd3
Update links to documents
luciajanikova 367e020
Update routes
luciajanikova 9faa6c5
Remova comments from routes
luciajanikova b23e400
Bump gems and JS dependencies (#528)
celuchmarek 90c6d5c
ND-150 Homepage redizajn s kategóriami (#491)
celuchmarek 8ac31aa
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova 0343c3f
Fix structure.sql
luciajanikova 084a9a2
Fix structure sql II
luciajanikova f1dd421
Merge pull request #495 from slovensko-digital/feature/orsr-submission
luciajanikova 1a4adab
fix homepage categories to tripplets in rows (#538)
celuchmarek e449412
350 duplikovanie elementov pri pouziti history goback (#533)
marianJ97 2b448ae
Svg logo (#535)
mar-vic d81e058
Setup readme (#529)
johnnypea 19c48e8
Add deadline component, refs #147 (#277)
jsuchal 420b0b6
rm journeys prefix from pages og image metadata tag (#541)
celuchmarek 9f71e5b
Make code list queries case insensitive, Update checking stakeholder …
luciajanikova 4773a21
Refactor
luciajanikova 9e6f1ed
Merge pull request #554 from slovensko-digital/ND-159/small_fixes
luciajanikova 1cabd96
add docker registry to gitlab config (#557)
celuchmarek fbc5431
Do not pre-define message of the deadline component (#543)
crutch b77a0a3
Bump rack from 2.2.4 to 2.2.6.2 (#558)
dependabot[bot] d09c07c
Bump globalid from 1.0.0 to 1.0.1 (#559)
dependabot[bot] 5f82f3c
Bump ruby & gems (#567)
jsuchal 2e7d789
set resource requests (#561)
celuchmarek 1e43508
Migrate que table to new version (#572)
jsuchal dc1ecbb
Add no acts option
luciajanikova d5f75e6
Bump navody-digital-frontend npm package (#568)
alhafoudh 4ee5198
Bonus actions (#569)
jsuchal ef50464
Do not show timeline for journeys without steps (#570)
crutch bda90e8
Faq order on index (#571)
crutch 77b136c
Fix header dowpdown style for new govuk design (#573)
alhafoudh adef390
Bump js packages (#574)
jsuchal 506cf57
User profile deletion (#492)
mar-vic a5eaac9
Add edit link to featured content in admin (#576)
mirrec 0866d04
Add support to access Journey by URL #563 (#575)
mirrec 98f8995
Save Upvs::Submissions to DB, Fix SVM login
luciajanikova 05ac308
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova b829758
Enhance submissions cleanup process (#577)
crutch 696ccb1
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova f6e772d
Fix logout
luciajanikova 23d2c46
Fix structure.sql
luciajanikova 4fbd6fa
Update text
luciajanikova b7ff425
Be able to know which Journey is outdated (#534)
mirrec 9657399
Remove binding.pry & token from Upvs::Submission
luciajanikova a32962c
Law links enhancements (#579)
crutch 17969ba
Update migration
luciajanikova f4bfb77
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova 9f22d13
Rename upvs_submissions finish route
luciajanikova 30c149e
Set expires_at
luciajanikova 36e9b80
add invisible captcha to login (#580)
celuchmarek 10bbc81
Add expired scope & Add upvs submissions to cleanup task
luciajanikova bf0c503
Merge branch 'master' into feature/save_upvs_submissions_to_db
luciajanikova 9dd7636
Fix setting expires_at
luciajanikova 26064f6
Bump nokogiri from 1.14.2 to 1.14.3 (#581)
dependabot[bot] 8541540
Merge branch 'master' into feature/save_upvs_submissions_to_db
luciajanikova db037cb
Merge pull request #578 from slovensko-digital/feature/save_upvs_subm…
luciajanikova 5c3c728
Merge branch 'master' into fix/empty-or-sr-acts
luciajanikova cf67d7f
Update index text
luciajanikova 37e9059
Merge branch 'fix/empty-or-sr-acts' of https://github.com/slovensko-d…
luciajanikova fd72b53
Merge pull request #582 from slovensko-digital/fix/empty-or-sr-acts
luciajanikova d0d1f0a
Que monitoring implemented (#586)
89f808e
add require 'que/active_record/model' (#589)
celuchmarek fdfac94
Updated the voting app with the new election date (30th September 202…
jsuchal 35a090b
make /usr/bin/mkdir available for installing gems into the vscode ima…
tom-m 1b91fc6
Fix voting subscription (#595)
jsuchal c10b399
update autodeploy version (#596)
celuchmarek 9855edb
Vote app enable preukaz (#594)
celuchmarek 7164672
Fix parliament vote app email template format on some iPhones (#599)
celuchmarek 2f88a99
revert ruby to 3.2.1 because of unsuccessful build (#601)
celuchmarek 3a15587
ND-231 Add UPVS submission tests (#600)
celuchmarek 569b39e
Bump puma from 6.1.1 to 6.3.1 (#597)
dependabot[bot] 7c28a0d
Bump semver from 5.7.1 to 5.7.2 (#591)
dependabot[bot] f08f326
Use env variables for parliament vote app dates (#603)
celuchmarek 77bc8be
Add missing seeds & Update existing
luciajanikova 906fb5e
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova 07339a9
Merge pull request #604 from slovensko-digital/update_seeds
luciajanikova 6b97960
Finetune text for notification confirmation, closes #549 (#606)
jsuchal 6fa5b72
Replace text xslt with html xslt
luciajanikova 90a3319
Merge branch 'master' of https://github.com/slovensko-digital/navody.…
luciajanikova 7a70d51
Merge pull request #607 from slovensko-digital/update_seeds
luciajanikova d4f757e
Add tests for category detail (#605)
mirrec 1383a27
Add onboarding modal, refs #331 (#616)
jsuchal c2db554
set request body size to 50m on ingress (#629)
celuchmarek 4d9e19e
ECO-240/improved-healthcheck (#632)
tomasdrga 45eb0cc
Prezidentské voľby 2024 (#635)
celuchmarek 66ea1c9
update og image for president vote app (#636)
celuchmarek 2cf1d92
disable active topic in vote app (#637)
celuchmarek 621afc0
update init page text (#638)
celuchmarek e04fd05
fix first round deadline and update homepage text (#639)
celuchmarek fa820b8
Merge branch 'eid-login' into feature/eid-login
cizmarty 6fb5e03
Add login button, expect callback URL from UPVS to be always /login f…
cizmarty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby 2.7.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -415,6 +415,7 @@ DEPENDENCIES | |
hirb | ||
jbuilder | ||
jquery-rails | ||
jwt | ||
kaminari | ||
letter_opener_web | ||
listen | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Eid | ||
class OnboardingController < ApplicationController | ||
def new | ||
# TODO | ||
end | ||
|
||
def create | ||
# TODO | ||
end | ||
end | ||
end | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<% content_for :title, build_page_title('Zadajte email k svojmu účtu') %> | ||
|
||
<div class="govuk-grid-row govuk-!-padding-top-9"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<span class="govuk-caption-l">Predtým, než začnete...</span> | ||
<h1 class="govuk-heading-l">Budeme potrebovať váš email</h1> | ||
</div> | ||
</div> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-one-half"> | ||
<%= form_tag(auth_path(:magiclink), method: :post, id: 'login-email') do %> | ||
<fieldset class="govuk-fieldset"> | ||
<div class="govuk-form-group"> | ||
<span class="govuk-label-wrapper"> | ||
<label class="govuk-label govuk-label--m">na ktorý budete dostávať upozornenia</label> | ||
</span> | ||
<span class="govuk-hint"> | ||
Pošleme Vám jednoduchý odkaz na overenie emailu. | ||
</span> | ||
<%= email_field_tag :email, nil, class: 'govuk-input', required: true %> | ||
</div> | ||
<%= submit_tag 'Dokončiť založenie účtu', class: 'govuk-button' %> | ||
</fieldset> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddEidSubToUsers < ActiveRecord::Migration[6.1] | ||
def change | ||
add_column :users, :eid_sub, :string, null: true | ||
add_index :users, :eid_sub | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Tie todos asi vyhodme.