Commit graph

6363 commits

Author SHA1 Message Date
Artur Beljajev
aa42220ca1 Customize login URLs for client certificate authentication
Certificate is now asked only when login form is submitted, not before
2018-08-09 13:46:27 +03:00
Artur Beljajev
1d95c1ccbc Use standard login form 2018-08-09 13:43:11 +03:00
Artur Beljajev
080defa228 Fix home page URL for anonymous users of registrar area 2018-08-09 13:39:48 +03:00
Artur Beljajev
0d770137b6 Convert HAML to ERB 2018-08-08 22:47:51 +03:00
Artur Beljajev
096035ae11 Revert old behaviour 2018-08-08 22:28:09 +03:00
Artur Beljajev
6de31605d9 Integrate master branch 2018-08-08 19:36:14 +03:00
Artur Beljajev
bf3b54367b Merge branch 'master' into refactor-devise-integration 2018-08-08 14:13:53 +03:00
Timo Võhmar
9282da18f3
Merge pull request #924 from internetee/inherit-from-integration-test
Change test structure to follow closer Rails 5 rules
2018-08-07 17:29:36 +03:00
Maciej Szlosarczyk
526a9ccd58
Change test structure to follow closer newer Rails 5 rules
* Create new class called ApplicationIntegrationTest, so we don't have
  to override ActionDispatch::IntegrationTest
* Move UI tests to inherit from ApplicationSystemTestCase
* Existing REST API or EPP tests inherit from
  ApplicationIntegrationTest.
* Move `require 'application_system_test_case'` at the end of
  `test_helper`

I don't particularly agree with the Rails' convention of treating UI
tests as system tests and API tests as integration tests, but I see no
benefit in actively fighting against it.
2018-07-27 09:36:27 +03:00
Timo Võhmar
fc869b167c
Merge pull request #923 from internetee/Changelog_update_180726
Changelog update 180726
2018-07-27 01:38:42 +03:00
Timo Võhmar
c36b780c71
Changelog update 180726 2018-07-27 01:19:18 +03:00
Timo Võhmar
311aa503b3
Merge pull request #920 from internetee/fix-typo-in-assertions-filename
Fix typo in assertions filename (assetions -> assertions)
2018-07-20 12:25:29 +03:00
Artur Beljajev
abe3df24e2 Extract translations 2018-07-19 21:57:27 +03:00
Artur Beljajev
b9d431427a Convert HAML to ERB 2018-07-19 21:52:02 +03:00
Artur Beljajev
c1066f12c6 Fix registrar area authenticated root path 2018-07-19 21:50:03 +03:00
Artur Beljajev
97650e2a6a Fix root route 2018-07-19 16:55:42 +03:00
Artur Beljajev
1babdf33af Add comment 2018-07-19 16:32:47 +03:00
Artur Beljajev
7dcfdb0a5a Remove dead code 2018-07-19 15:22:42 +03:00
Artur Beljajev
2fce31e81b Remove Devise route customizations 2018-07-19 14:51:09 +03:00
Artur Beljajev
8606775035 Fix registrar area login URL 2018-07-19 14:45:18 +03:00
Maciej Szlosarczyk
e6d3895b75
Fix typo in assertions filename 2018-07-19 10:40:42 +03:00
Artur Beljajev
bf33565d0e Improve readability 2018-07-19 00:40:43 +03:00
Artur Beljajev
2374d94714 Remove unneeded condition 2018-07-19 00:24:10 +03:00
Artur Beljajev
e369d90e20 Make UI consistent 2018-07-19 00:23:17 +03:00
Artur Beljajev
2e1ed2733a Extract translation 2018-07-18 23:24:56 +03:00
Artur Beljajev
7e356730e2 Fix spec helper 2018-07-18 22:52:21 +03:00
Artur Beljajev
5561825584 Use standard Devise sessions controller in admin area
Fixes a bug when retrying to login with correct credentials
2018-07-18 20:02:05 +03:00
Artur Beljajev
a2451f4a13 Fix test name 2018-07-18 12:14:24 +03:00
Artur Beljajev
c6ff491ed2 Merge branch 'master' into refactor-devise-integration 2018-07-17 22:47:16 +03:00
Timo Võhmar
9ff27beba8
Merge pull request #915 from internetee/regenerate-db-structure
Regenerate structure.sql
2018-07-17 15:19:34 +03:00
Timo Võhmar
9de6c62560
Merge pull request #912 from internetee/update-grape-gem
Update "grape" gem
2018-07-16 11:42:53 +03:00
Artur Beljajev
989bb32548 Improve readability 2018-07-16 01:31:36 +03:00
Artur Beljajev
f1cbdec8e7 Supply PaperTrail with current user 2018-07-16 01:06:30 +03:00
Artur Beljajev
6f0c886236 Add tests 2018-07-16 00:58:22 +03:00
Artur Beljajev
a651ac8cab Fix Rubocop warnings 2018-07-15 19:50:15 +03:00
Artur Beljajev
02aad0d781 Add tests 2018-07-15 19:01:43 +03:00
Artur Beljajev
84bf967780 Fix template 2018-07-15 19:01:33 +03:00
Artur Beljajev
28393adfb1 Fix translation 2018-07-15 00:36:04 +03:00
Artur Beljajev
c7e426b8ed Extract translations 2018-07-14 23:46:18 +03:00
Artur Beljajev
fe530f4c9f Remove "hashie-forbidden_attributes" gem
Not required since Grape v1.0.0
https://github.com/ruby-grape/grape/pull/1714
2018-07-14 15:26:48 +03:00
Artur Beljajev
d09eac3fc3 Update "grape" gem 2018-07-14 15:24:01 +03:00
Artur Beljajev
f6ad22156e Supply PaperTrail with current user 2018-07-13 23:13:58 +03:00
Artur Beljajev
7a054ca893 Fix tests and specs 2018-07-13 23:12:01 +03:00
Artur Beljajev
32ecf36057 Rename users.password to users.plain_text_password
Otherwise it conflicts with Devise
2018-07-13 23:09:21 +03:00
Artur Beljajev
22e70e7707 Merge branch 'regenerate-db-structure' into refactor-devise-integration 2018-07-13 21:25:37 +03:00
Artur Beljajev
5b5ed97b30 Regenerate structure.sql
Starting from version 9.4.17, pg_dump writes schemas explicitly

https://bucardo.org/postgres_all_versions.html#version_9.4.17
2018-07-13 21:06:28 +03:00
Artur Beljajev
d708c82bd0 Merge branch 'master' into refactor-devise-integration 2018-07-13 14:23:10 +03:00
Artur Beljajev
8b7769e19e Merge branch 'master' into refactor-devise-integration
# Conflicts:
#	spec/features/registrar/sign_in/mobile_id_spec.rb
2018-07-12 18:59:11 +03:00
Timo Võhmar
2510159c70
Merge pull request #908 from internetee/update-capybara-gem
Update "capybara" gem
2018-07-12 14:56:22 +03:00
Artur Beljajev
11d645bb51 Update "capybara" gem 2018-07-12 13:48:37 +03:00