Skip to content
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

Use internal census system #71

Merged
merged 171 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from 163 commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
a6f5f03
add census type radio buttons
antopalidi Nov 2, 2023
ec6ad16
fix lint
antopalidi Nov 2, 2023
6fd71fa
fix transformLocales
antopalidi Nov 2, 2023
2bf8658
createion elections with cencus permissions
antopalidi Nov 6, 2023
cc24956
add batch queue
antopalidi Nov 8, 2023
c80d217
add verification methods for voting
antopalidi Nov 8, 2023
3c4fa6d
remove whenever, add info to readme
antopalidi Nov 10, 2023
1e682d1
update the vocdoni census after delete authorization
antopalidi Nov 10, 2023
30ad6b9
add internal_census field
antopalidi Nov 10, 2023
b9679de
change readme
antopalidi Nov 10, 2023
d4ad2f9
change views vote
antopalidi Nov 10, 2023
ea90440
add helper method
antopalidi Nov 10, 2023
1000ce0
add modal window, add internal census logic to voting
antopalidi Nov 16, 2023
976b419
add loginModal
antopalidi Nov 16, 2023
429df0f
fix login modal, fix wallet generation
antopalidi Nov 16, 2023
861c6c0
create election without verification_types
antopalidi Nov 17, 2023
ba92b70
create election without voters
antopalidi Nov 17, 2023
0bc546e
fix erb linter
antopalidi Nov 17, 2023
f0594a3
refactoring, add system tests for internsl census
antopalidi Nov 17, 2023
56430b3
change titles in census form
antopalidi Nov 20, 2023
7a9c326
fix preview, fix tests
antopalidi Nov 20, 2023
a3d5ffb
fix missink keys
antopalidi Nov 20, 2023
d45f0d1
fix use doublequote quotes
antopalidi Nov 20, 2023
6e0bbe3
add spec for job
antopalidi Nov 21, 2023
ebbd5dd
fic create internal command, add tests
antopalidi Nov 21, 2023
d5659c0
add spec for cell
antopalidi Nov 21, 2023
bac6ed3
add spec for form
antopalidi Nov 21, 2023
9048e4b
add spec for controller
antopalidi Nov 21, 2023
b854fe4
add spec for AuthorizationsData model
antopalidi Nov 22, 2023
e710d27
add spec for AuthorizationExtensions
antopalidi Nov 22, 2023
0f80604
add system test for vote online
antopalidi Nov 22, 2023
81ebfb6
fix lint
antopalidi Nov 22, 2023
ede33a4
add spec for voter model
antopalidi Nov 22, 2023
bdadfd6
remove the unnecessary method
antopalidi Nov 22, 2023
6022720
fix new-vote.js
antopalidi Nov 22, 2023
77847da
fix CensusPermissionsForm
antopalidi Nov 23, 2023
ec9df9e
update ruby
microstudi Nov 23, 2023
ed05175
Merge branch 'feature/internal-census-system' of github.com:decidim-v…
microstudi Nov 23, 2023
8a48472
add wrapper for node
microstudi Nov 23, 2023
203e6df
Use a Sdk service for running sdk actions
microstudi Nov 24, 2023
6229a10
clean js
microstudi Nov 24, 2023
a40ff0d
add election to sdk runner
microstudi Nov 25, 2023
acafb2f
fix create wallet test
microstudi Nov 27, 2023
306239a
update create census test
microstudi Nov 27, 2023
a864142
create an election from the backend
microstudi Nov 27, 2023
1084f30
Create the election using node
microstudi Nov 28, 2023
f9fd111
normalize locales
microstudi Nov 28, 2023
ff938dc
fix wizard test
microstudi Nov 28, 2023
3f27ed9
make tests deterministic
microstudi Nov 28, 2023
ff06503
fix factories
microstudi Nov 28, 2023
daac4ad
start elections
microstudi Nov 29, 2023
b531d4d
use values for results
microstudi Nov 30, 2023
7babfff
remove unused test
microstudi Nov 30, 2023
17c4d6c
fix erb file
microstudi Nov 30, 2023
3458a71
fix unit tests
microstudi Nov 30, 2023
ebbf0d3
fix syntac error
microstudi Nov 30, 2023
7d3f7f0
fix more tests
microstudi Nov 30, 2023
cd9f814
fix tests
microstudi Nov 30, 2023
74a440e
fix tests
microstudi Nov 30, 2023
b62d0e9
fix tests
microstudi Nov 30, 2023
e797c4d
fix wrong method for translated
microstudi Nov 30, 2023
3830ae0
avoid external library
microstudi Nov 30, 2023
45c2c3f
better management of the case auto_start
microstudi Nov 30, 2023
baab264
fix test
microstudi Nov 30, 2023
b43c928
debug sdk
microstudi Nov 30, 2023
80e0777
prevent comunitaction with api
microstudi Nov 30, 2023
74759f4
add the test log to artifacts
microstudi Dec 1, 2023
752c768
use expect to wait for ajax
microstudi Dec 1, 2023
20cad49
handle & update results
microstudi Dec 1, 2023
d819935
message acording election start mode
microstudi Dec 1, 2023
65c331c
linting
microstudi Dec 1, 2023
ef6b18c
Merge node-wrapper branch
microstudi Dec 1, 2023
7442b2b
Merge branch 'node-backend' into feature/internal-census-system
microstudi Dec 1, 2023
719da20
remove js
microstudi Dec 1, 2023
d59d58c
Resolved merge conflicts
antopalidi Jan 16, 2024
02e3bce
fix npm lint
antopalidi Jan 16, 2024
9d6010b
fix rubocop
antopalidi Jan 16, 2024
db706c3
fix census controller
antopalidi Jan 16, 2024
ada6f9f
fix test
antopalidi Jan 16, 2024
3f0661e
change census view
antopalidi Jan 17, 2024
f523ee1
change voter_verified?
antopalidi Jan 19, 2024
26e5684
change voter_verified?
antopalidi Jan 19, 2024
80983e6
fix voter_verified? for empty required_authorizations
antopalidi Jan 19, 2024
46c5b86
update sdk
antopalidi Jan 22, 2024
e4f7ef1
Refactor deterministicWallet method to align with JS implementation a…
antopalidi Jan 22, 2024
c564a15
fix tests
antopalidi Jan 22, 2024
bf19f10
fix test
antopalidi Jan 22, 2024
a7ec191
fix updating of voting statistics
antopalidi Jan 22, 2024
79144a3
change logic: creating technical_voter when no one is authorized for …
antopalidi Jan 24, 2024
809fa48
fix test
antopalidi Jan 24, 2024
3f1d132
Update README.md
antopalidi Jan 24, 2024
69679d3
Update README.md
antopalidi Jan 24, 2024
d2a95e7
fix translata of authorizations handler_name
antopalidi Jan 24, 2024
ebe92aa
Save the census wallet for later use. Allow to send updated census
microstudi Jan 25, 2024
ae663d2
test script for census change
microstudi Jan 26, 2024
6112dee
fix test using mjs for node wrapper
microstudi Jan 26, 2024
2f62529
fix script
microstudi Jan 29, 2024
843525b
script working
microstudi Jan 29, 2024
7d164f6
update census job, add information on the need to update the census
antopalidi Jan 31, 2024
efd5baf
add census traking
antopalidi Jan 31, 2024
45b72d6
fix non_voters method, fix job
antopalidi Feb 1, 2024
85401d0
fix job
antopalidi Feb 1, 2024
65b3919
refactor the job, add new services
antopalidi Feb 2, 2024
5fd168b
fix rubocop, locale
antopalidi Feb 2, 2024
cad7d0c
npm update, fix BigInt
antopalidi Feb 2, 2024
a712bb7
fix erblint
antopalidi Feb 2, 2024
506abdb
refactor steps controller, add flash, permissions
antopalidi Feb 2, 2024
f40c99b
change chrome version for test
antopalidi Feb 2, 2024
200ee32
change chrome version for test
antopalidi Feb 2, 2024
d593ff5
change chrome version for test
antopalidi Feb 2, 2024
0387b3b
change chrome version for test
antopalidi Feb 2, 2024
3a072d2
change chromedriver version for test
antopalidi Feb 2, 2024
f2bf4ff
change chromedriver version 121 for test
antopalidi Feb 2, 2024
756587a
change chromedriver version 121 for test
antopalidi Feb 2, 2024
7b50174
fix tests
antopalidi Feb 6, 2024
0c3adc4
add tests
antopalidi Feb 7, 2024
445a77a
fix locale keys
antopalidi Feb 7, 2024
0894184
update chromedriver config
antopalidi Feb 7, 2024
60d1668
add ajax for update census info
antopalidi Feb 12, 2024
ae4378a
Add text to the voting page when the voter is not yet listed in the c…
antopalidi Feb 13, 2024
5677b08
fix translate missing
antopalidi Feb 13, 2024
4483bb7
fix tests
antopalidi Feb 13, 2024
bf1099d
delete test
antopalidi Feb 13, 2024
7afa808
fix erb lint
antopalidi Feb 13, 2024
e2363ad
remove the code
antopalidi Feb 13, 2024
259b9da
fix ajax
antopalidi Feb 13, 2024
ca806b1
add tests
antopalidi Feb 13, 2024
371a443
improve census view
antopalidi Feb 13, 2024
5ec92fc
fix tests
antopalidi Feb 14, 2024
b09ed7e
fix tests
antopalidi Feb 14, 2024
0231b42
change massage in the setup form for internal census
antopalidi Feb 14, 2024
b2228d9
improve the census update view
antopalidi Feb 14, 2024
f1ba731
replace flash message to ajax
antopalidi Feb 16, 2024
0cec7f0
change texts for check census
antopalidi Feb 20, 2024
4e13af9
add helpers
antopalidi Feb 20, 2024
2f59ce3
add helper methods
antopalidi Feb 20, 2024
f065381
remove code
antopalidi Feb 20, 2024
4a2d44d
remove code
antopalidi Feb 20, 2024
daf31d9
remove migration, remove AuthorizationsData
antopalidi Feb 21, 2024
8f6d7e1
delete override
antopalidi Feb 21, 2024
b07b0d8
destroy tech voter after census update
antopalidi Feb 21, 2024
6061113
fix test
antopalidi Feb 21, 2024
0461273
fix ajax: update census
antopalidi Feb 21, 2024
14142e2
fix erb linter
antopalidi Feb 21, 2024
3e73ef4
ensure user is redirected to where the action started
microstudi Feb 21, 2024
3d1f550
change the users context for the internal census form
antopalidi Feb 21, 2024
25ed50d
refactoring VotesController
antopalidi Feb 21, 2024
d407c70
Merge remote-tracking branch 'origin/feature/internal-census-system' …
antopalidi Feb 21, 2024
6df8f90
change text for update census result
antopalidi Feb 21, 2024
90f621b
remove cron task
antopalidi Feb 21, 2024
aeef909
Update README.md
antopalidi Feb 21, 2024
69e56d8
add DECIDIM_COMPAT_VERSION
antopalidi Feb 21, 2024
b6c3a91
update gemspec
antopalidi Feb 21, 2024
2565697
refactoring: dynamic_census attribute is not used
antopalidi Feb 21, 2024
bdcc00a
add custom version number, add info to readme
antopalidi Feb 22, 2024
8b9ff71
bundle
antopalidi Feb 22, 2024
e7b91c7
Apply suggestions from code review
antopalidi Mar 4, 2024
4bcd17b
fix npm lint
antopalidi Mar 4, 2024
cfe6ac3
change form, fix tests
antopalidi Mar 4, 2024
53ad18b
change update census button
antopalidi Mar 4, 2024
aae9b61
fix translate, move closing tag
antopalidi Mar 5, 2024
a55d69b
fix translate
antopalidi Mar 5, 2024
7a1f727
fix test
antopalidi Mar 5, 2024
e169cc9
Added changes after the review
antopalidi Mar 6, 2024
57d42f8
remove code
antopalidi Mar 6, 2024
b6aa714
fix npm linter
antopalidi Mar 6, 2024
451fafe
fix migrations file name
antopalidi Mar 6, 2024
3565207
migrate selectors to use the data selectors
antopalidi Mar 7, 2024
78852f1
Apply suggestions from code review
antopalidi Mar 7, 2024
cce1aa9
delete space
antopalidi Mar 7, 2024
4afc1b8
fix manual node run test
microstudi Mar 7, 2024
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
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@
"rules": {
"no-process-env": "off",
"valid-jsdoc": "off"
},
"settings": {
"react": {
"version": "17.0.2"
}
},
"parserOptions": {
"ecmaVersion": 2020
},
"env": {
"es2020": true
}
}
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
lint-report:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
test-report:
name: Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 30
services:
postgres:
Expand Down Expand Up @@ -45,6 +45,13 @@ jobs:
with:
chromedriver-version: 119.0.6045.105

- name: Remove Chrome
run: sudo apt remove google-chrome-stable

- uses: browser-actions/setup-chrome@v1
with:
chrome-version: 119.0.6045.105

- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

ruby RUBY_VERSION

DECIDIM_VERSION = "0.27.1"
DECIDIM_VERSION = "0.27.5"

gem "decidim", DECIDIM_VERSION
gem "decidim-vocdoni", path: "."
Expand Down
Loading
Loading