Amaia Castro
1ff6a7b69b
Merge branch 'legislation-module-stable' into 42-integrate-admin-html-css
2017-01-02 18:03:55 +01:00
Amaia Castro
3de48353da
Merge branch 'master' into legislation-module-stable
2017-01-02 11:56:17 +01:00
Amaia Castro
0cd2b62e2c
Integrate admin html and css from sandbox
2016-12-30 11:00:34 +01:00
rgarcia
43c18d58ac
fixes specs
2016-12-29 12:47:57 +01:00
rgarcia
365faeff31
removes physical votes from proposals
2016-12-29 12:05:29 +01:00
Amaia Castro
f804fd8312
Merge branch 'master' into legislation-module-stable
2016-12-29 11:40:32 +01:00
Amaia Castro
5b3dcd7886
Force processes order
2016-12-29 09:59:29 +01:00
Juanjo Bazán
7ec6c76298
Merge pull request #1316 from consul/signature-sheets-polish
...
Only stores alphanumeric characters of a signature's document number
2016-12-28 20:50:28 +01:00
rgarcia
25f34cdab9
Only stores alphanumeric characters of a signature's document number
2016-12-28 20:01:17 +01:00
Amaia Castro
28689a5a7d
Merge branch 'legislation-module-stable' into 27-answer-questions
2016-12-28 17:54:21 +01:00
Amaia Castro
525ad3ebd1
Merge branch 'master' into legislation-module-stable
2016-12-28 17:51:15 +01:00
rgarcia
122446ef62
find or create signatures in case of a timeout
2016-12-28 11:41:52 +01:00
rgarcia
113c4551aa
makes signatures aware of spaces between numbers and letter
2016-12-28 11:40:36 +01:00
Amaia Castro
a6ceab6d73
Answer legislation questions
2016-12-27 19:49:03 +01:00
Amaia Castro
5e01b380cd
Legislation Answer model
2016-12-27 18:21:50 +01:00
Amaia Castro
04b23cfc7b
Merge branch 'master' into legislation-module-stable
2016-12-27 16:43:43 +01:00
rgarcia
316f9a0370
creates users with email nil to avoid index constraint
2016-12-26 14:28:45 +01:00
rgarcia
5281bb8181
fixes typo
2016-12-26 12:59:23 +01:00
rgarcia
c1b06b6501
creates user without email nor username
2016-12-26 12:45:48 +01:00
rgarcia
42b0ff2696
optimize census call to return after finding a valid element
2016-12-26 11:51:28 +01:00
rgarcia
ddeca6f06d
fixes specs
2016-12-23 19:05:25 +01:00
Amaia Castro
de5df61359
Legislation question comments spec
2016-12-23 15:40:52 +01:00
Amaia Castro
55eb03531c
Comments in legislation question page
2016-12-23 09:35:02 +01:00
Amaia Castro
59d68264cf
Force order in query
2016-12-22 16:22:43 +01:00
Amaia Castro
368430d914
Legislation Question page
2016-12-22 16:00:28 +01:00
Amaia Castro
898a10b0a5
Fix abilities to see the draft publication section
2016-12-22 13:09:17 +01:00
Amaia Castro
36399277ec
Legislation Process page
2016-12-22 11:23:49 +01:00
rgarcia
25729ac259
cleans up
2016-12-21 18:55:28 +01:00
rgarcia
675081141c
refactors signatures
2016-12-21 18:46:31 +01:00
Amaia Castro
d25d6c178c
Legislation Questions model and basic admin
2016-12-20 18:52:43 +01:00
rgarcia
b10dbd7cb5
adds specs
2016-12-20 18:00:36 +01:00
rgarcia
4eb700e3d4
refactors signature sheets
2016-12-20 16:46:08 +01:00
rgarcia
3c682b8a9b
adds signature sheets
2016-12-20 12:21:05 +01:00
Amaia Castro
86009bfcac
Render TOC for legislation draft versions
2016-12-15 11:32:20 +01:00
Amaia Castro
766f509f8e
Base legislation processes and draft versions page structure for public site
2016-12-15 11:32:20 +01:00
Amaia Castro
e4315f94c8
Merge branch 'master' into legislation-module-stable
2016-12-15 11:26:22 +01:00
Raimond Garcia
392f00cdbd
Merge pull request #1282 from amiedes/crud-geozones-PRs
...
[Finished] Allow admins to manage geozones
2016-12-14 19:25:17 +01:00
Amaia Castro
8c9cfa8b3f
Merge branch 'master' into legislation-module-stable
2016-12-14 11:48:28 +01:00
Alberto Miedes Garcés
c22a80b48f
Move geozone 'safe to destroy' check from controller to model
2016-12-13 12:30:47 +01:00
rgarcia
6b0f8eb62b
do not allow verification of deregistered accounts
2016-12-12 19:11:00 +01:00
rgarcia
b12c8d3a5d
validates document uniqueness only for active accounts
2016-12-12 19:11:00 +01:00
rgarcia
93841b87ad
maintains associated document number when erasing account
2016-12-12 19:11:00 +01:00
Alberto Miedes Garcés
fea2009396
Ability to edit geozones from admin dashboard
2016-12-07 22:08:22 +01:00
Alberto Miedes Garcés
4b31360d2e
Updated geozone model associations
2016-12-07 22:04:39 +01:00
Amaia Castro
e4fe499e66
DraftVersion base model and very basic admin pages
2016-12-06 12:10:20 +01:00
Amaia Castro
369804a2ba
Base Legislation::Process model and admin page
2016-12-05 13:24:23 +01:00
Alberto Miedes Garcés
6175990533
Admin geozones: index, create
...
Modified Geozone factory and seeds to be more complete
2016-12-04 21:19:36 +01:00
Amaia Castro
9a9f1da5a0
Renames Legislation model to LegacyLegislation
...
Renames the model and related stuff from Legislation
to LegacyLegislation to avoid name clashes with
the future Legislation module.
2016-11-30 12:00:05 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00