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
rgarcia
fe3451b4ba
fixes specs
2016-10-26 10:31:05 +02:00
Juanjo Bazán
8d48eccfed
adds not_archived scope to proposal
2016-09-13 12:10:31 +02:00
Juanjo Bazán
da03311f99
archived proposals can not accept votes
2016-09-12 18:47:56 +02:00
Juanjo Bazán
acae610995
adds model specs for archived proposal
2016-09-12 18:15:18 +02:00
Juanjo Bazán
46563f8222
Merge pull request #1194 from consul/notifications-polish
...
Notifications polish
2016-08-04 11:29:21 +02:00
rgarcia
9d9bf488fc
does not create notifications for blocked or erased users
2016-08-02 20:52:20 +02:00
rgarcia
c42a041d3a
fixes specs
2016-07-19 16:20:45 +02:00
rgarcia
a23666683f
fixes conflicts with master
2016-07-19 15:50:22 +02:00
Andrés Pereira
c5e6735caa
Change madrid.es to consul.dev - closes #1169
2016-07-14 16:28:16 +02:00
Alberto Garcia Cabeza
702cfe13d1
Fixes specs
2016-07-06 14:47:09 +02:00
rgarcia
9e910a834b
Displays badge for official positions
2016-06-20 21:37:25 +02:00
rgarcia
98040e191e
fixes conflicts with fork
2016-06-20 21:33:34 +02:00
rgarcia
25ebb325d1
limits maximum number of messages able to send per day
2016-06-16 11:10:26 +02:00
rgarcia
e2689d640c
refactors notification helpers
2016-06-15 12:12:56 +02:00
rgarcia
28d12fe55b
removes sending individual proposal notifications via email
2016-06-15 10:43:02 +02:00
rgarcia
fd67294075
adds option to receive direct messages
2016-06-14 18:20:36 +02:00
rgarcia
9f19a5d143
adds option to receive email digest
2016-06-14 18:08:27 +02:00
rgarcia
fea3aef5bb
updates permissions for direct messages
2016-06-09 17:35:19 +02:00
rgarcia
43251585b9
pending permissions spec
2016-06-07 13:56:40 +02:00
rgarcia
8e12fbdd55
adds time limit between notifications
2016-06-07 13:48:09 +02:00
rgarcia
ad697cd2c1
adds preference to receive proposal notifications
2016-06-06 12:55:33 +02:00
rgarcia
f5375e813d
stores a proposal notification
2016-06-01 17:23:56 +02:00
Andrés Pereira
24a9d77e64
Custom folder structure: verification residence for Madrid
2016-05-31 19:57:37 +02:00
Andrés Pereira
a4dbd768ce
Custom folder structure: initial documentation, code and structure folders
2016-05-31 19:57:29 +02:00
MaiteHdezRivas
3b2bfc46cf
Admin option to add banners and show banners
2016-05-19 13:18:30 +02:00
Juanjo Bazán
d1e50d70d6
managers can login to /management
2016-05-10 19:10:02 +02:00
rgarcia
d51fe779e2
displays summary info for supported spending proposals
2016-04-26 15:13:53 +02:00
Juanjo Bazán
479b48796f
Merge pull request #1085 from consul/retire-proposals
...
Retire proposals
2016-04-25 18:00:34 +02:00
kikito
c1f5db1f1e
Fixes issue when evaluating feasible sps - the explanation should be required only for unfeasible ones
2016-04-25 14:55:59 +02:00
Juanjo Bazán
32f971f0ad
Merge pull request #1084 from consul/spending-proposals-summary
...
Spending proposals admin summary
2016-04-25 11:29:07 +02:00
Juanjo Bazán
d63cf8b392
removes retired proposals from default index
...
adds a sidebar link to retired proposals list
2016-04-23 13:24:15 +02:00
Juanjo Bazán
f36f0ca8c8
adds scope & boolean method for retired proposals
2016-04-23 13:24:15 +02:00
rgarcia
bdc815e05c
adds specs
2016-04-22 15:03:50 +02:00
rgarcia
8a1d1986f2
fixes specs
2016-04-21 15:50:47 +02:00
rgarcia
521172bc19
adds validation on feasible_explanation
2016-04-21 14:07:41 +02:00
kikito
d577a2b82e
add spec for user identity erasure
2016-04-19 13:33:52 +02:00
rgarcia
08db8a6b17
fixes specs
2016-04-18 20:08:05 +02:00
Juanjo Bazán
e6a9cb4fcc
disable voting on sps if setting disabled
...
refactors hover messages on sps votes
2016-04-15 23:01:00 +02:00
kikito
d9ec2e2cf3
Calculates SP.total_votes using physical_votes
2016-04-15 17:16:35 +02:00
kikito
92ecd7c983
replaces length 9 validation by format validation: only numbers, spaces and plus sign allowed
2016-04-13 19:27:04 +02:00
kikito
1b1f2bc2c9
renames genre to gender in code
2016-04-13 14:27:27 +02:00
kikito
d7f9862290
fixes failing specs
2016-04-13 12:06:50 +02:00
kikito
2c51115d6d
Residence Verification now fills up the date of birth and genre
2016-04-12 13:38:39 +02:00
kikito
5fec3b9858
persists responsible name, even if the user is erased
2016-04-11 12:21:11 +02:00
kikito
61b2c087b6
changes the responsible_name from username to document_number
2016-04-08 17:45:20 +02:00
kikito
32a60515c6
updates the sp responsible_name when creating/editing a sp
2016-04-06 19:23:05 +02:00
kikito
3eca6b31bd
changes the format of the Spending proposal code
2016-04-04 14:14:10 +02:00
rgarcia
d5453f1733
fixes spec
2016-03-29 17:36:31 +02:00