Commit graph

59 commits

Author SHA1 Message Date
0dd3d03b67 Read RACK_ENV but apply RAILS_ENV
Ruby whenever uses RAILS_ENV in crontab.
2025-10-07 11:01:30 +02:00
fa1a58bea2 Render descriptions as Markdown 2025-09-27 19:16:24 +02:00
4593bf2b2a Ignore config/environments/production.rb as well 2025-09-27 17:29:31 +02:00
5fa73da51a Add admin panel for users and votes
Closes #2
2025-06-08 20:47:09 -06:00
9993d04ab0 Improve indentation 2025-06-08 18:17:56 -06:00
b41a0d0417 Close votes automatically after 7 days
Closes #1
2025-06-08 16:07:20 -06:00
cac94c2379 Allow voting on open votes only 2025-06-08 15:04:37 -06:00
0afc881b5d Clarify button labels 2025-06-07 20:05:28 -06:00
dc22a5bc7c Hash reset codes in database
Otherwise, they can be reused if the database gets leaked.
2025-06-07 19:28:58 -06:00
fa4f77c365 Add password reset
Closes #15
2025-06-07 18:38:33 -06:00
84278741a5 Improve terminology in Catalan
Closes #11
2025-06-07 15:09:59 -06:00
0f472c6829 Update PO files 2025-06-07 15:08:34 -06:00
2ca2d010df Fix responsiveness 2025-05-28 17:37:16 -06:00
0046a54418 Fix application name 2025-05-29 01:30:09 +02:00
6abf6cbceb Fix dependencies for production 2025-05-29 01:29:26 +02:00
8f29a17e33 Disable shared gems 2025-05-29 01:29:26 +02:00
6106e088df Change app name 2025-04-06 18:25:13 -06:00
b4a328554c Update translations 2025-04-06 17:05:07 -06:00
dc01cb61ad Require at least 2 candidates to open a vote 2025-04-06 17:05:07 -06:00
440013890e Add Chartkick 2025-04-06 17:05:07 -06:00
b7bcd661b8 Add missing template 2025-04-06 17:05:07 -06:00
cef9c51835 Update translations 2025-04-06 17:05:07 -06:00
4faa4fd555 Validate email and password 2025-04-06 17:05:07 -06:00
069d565ba9 Format headings as th 2025-04-06 17:05:07 -06:00
058b512b7d Add color to ratings 2025-04-06 17:05:07 -06:00
c4ebe12408 Add bar chart 2025-04-06 17:05:07 -06:00
582562dae0 Fix parameters 2025-04-06 17:05:07 -06:00
7731c0e59a Factorize require_organizer and require_{draft,open,closed}_vote 2025-04-06 17:05:07 -06:00
dc702d0723 Factorize find_vote 2025-04-06 17:05:07 -06:00
c042f0c3a5 Factorize require_login 2025-04-06 17:05:07 -06:00
e826d79240 Translate to Catalan 2025-04-06 17:05:07 -06:00
3fa8c69a49 Set up localization 2025-04-06 17:05:07 -06:00
c9aee4ae20 Prepare for production 2025-04-06 17:05:07 -06:00
42b0bab6a2 Display results as a table 2025-04-06 17:05:07 -06:00
9810cdb615 Configure rating scale as class instance variable of MajorityJudgment 2025-04-06 17:05:07 -06:00
9c2adb1072 Delete ratings when change a vote back to draft 2025-04-06 17:05:07 -06:00
4462159b93 Allow deleting candidates 2025-04-06 17:05:07 -06:00
15daf75c38 Reorder by life cycle 2025-04-06 17:05:07 -06:00
75e9630b8f Display state of votes on Home 2025-04-06 17:05:07 -06:00
ac32ce243a Allow delete vote 2025-04-06 17:05:07 -06:00
b254497ddc Use consistent layout 2025-04-06 17:05:07 -06:00
958ec8a2a9 Link to Home from all pages 2025-04-06 17:05:07 -06:00
59d535e534 Require being an organizer to modify the state and organizers of a vote 2025-04-06 17:05:07 -06:00
d81c2b2ccf Add missing migrations 2025-04-06 17:05:07 -06:00
a2e41bdc2d Require being an organizer to edit a draft vote 2025-04-06 17:05:07 -06:00
97d4df395d Require to be logged in to create a vote 2025-04-06 17:05:07 -06:00
6d6264181e Display login widget on all pages 2025-04-06 17:05:07 -06:00
3783b5ffd0 Associate first organizer to vote 2025-04-06 17:05:07 -06:00
aefc722c9d Add state for votes 2025-04-06 17:05:07 -06:00
abc26f733f Create model for organizers 2025-04-06 17:05:07 -06:00