Bertocq
798b646135
Cleanup Settings values modified after specs are run
2017-06-07 20:55:42 +02:00
Alberto Miedes Garcés
4e019c79d6
Fix typo
2017-01-07 16:55:24 +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
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
rgarcia
9d9bf488fc
does not create notifications for blocked or erased users
2016-08-02 20:52:20 +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
Raimond Garcia
2a4adc2e60
Merge pull request #817 from microweb10/friendly_urls
...
Friendly urls
2016-03-02 17:51:00 +01:00
rgarcia
6fde504e67
displays summary for districts
2016-02-19 18:15:18 +01:00
rgarcia
bbeb02e9a9
orders summary groups alphabetically
2016-02-19 17:55:49 +01:00
rgarcia
6c6773aeb7
fixes specs
2016-02-17 20:14:23 +01:00
Raimond Garcia
9561259800
Merge pull request #901 from consul/popular_links
...
Adds new links on popular section
2016-02-17 16:11:01 +01:00
rgarcia
afc2b5ffb8
makes spec more robust
2016-02-17 15:39:22 +01:00
Alberto Garcia Cabeza
c374e3f560
Fixes specs
2016-02-17 15:22:12 +01:00
Juanjo Bazán
34f72abb15
fixes random spec fail
2016-02-17 13:33:26 +01:00
rgarcia
74b7f92ee1
adds more comprehensive specs
2016-02-16 15:52:59 +01:00
rgarcia
cfb48ef937
cleans up
2016-02-16 15:30:04 +01:00
rgarcia
42fdc52329
adds specs for proposal summary
2016-02-16 13:53:39 +01:00
kikito
986919503a
refactors proposals search
2016-02-03 18:26:48 +01:00
rgarcia
8940defbb8
adds specs
2016-01-25 22:28:46 +01:00
Juanjo Bazán
0a5efb8025
fixes build
2016-01-21 18:03:00 +01:00
Juanjo Bazán
09b53a3d0a
Merge pull request #822 from consul/advanced-search
...
Advanced search
2016-01-18 15:17:17 +01:00
Josep Jaume Rey Peroy
5de3d700e4
Simplify Settings API
2016-01-18 12:43:34 +01:00
Alberto Garcia Cabeza
8ef74f1e11
Merges master branch
2016-01-18 11:33:49 +01:00
rgarcia
82f9a656ad
moves search by author name to full text searches
2016-01-16 22:10:17 +01:00
Juanjo Bazán
d31c846a1f
cleans format
2016-01-15 11:10:58 +01:00
MaiteHdezRivas
b3ee6d4921
adds specs
2016-01-14 13:12:34 +01:00
Julian Herrero
083772aa62
add frendly urls for debates and proposals (specs)
2016-01-08 17:32:16 +01:00
rgarcia
3f68c6726a
maintains responsible name when user is erased
2015-11-23 19:12:57 +01:00
rgarcia
dffc5f5eae
adds specs
2015-11-23 13:43:48 +01:00
rgarcia
4d3a9d1908
rearranges specs
2015-11-20 16:48:06 +01:00
rgarcia
1429728368
improves search order
2015-11-18 21:30:12 +01:00
rgarcia
c212aa3afd
fixes specs
2015-11-18 21:04:16 +01:00
rgarcia
0277106a08
fixes specs
2015-11-17 10:14:11 +01:00
rgarcia
593ed551d4
adds search specs
2015-10-29 14:29:52 +01:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
rgarcia
79503a2a29
Merge branch 'stable' of github.com:AyuntamientoMadrid/participacion into stable
2015-10-19 13:34:14 +02:00
Juanjo Bazán
4783d28bf4
fix test
2015-10-14 12:49:18 +02:00
rgarcia
fdd777174c
allows updates of cached_votes
2015-10-12 22:38:18 +02:00
juandefelix
2503350526
added models tests for tag_list count validation
2015-10-03 12:03:49 -05:00
rgarcia
590c0b9242
refactors length validations
2015-09-28 14:48:53 +02:00
Juanjo Bazán
2ffb22a249
Merge pull request #519 from AyuntamientoMadrid/fix-tagcloud-488
...
Fix tagcloud
2015-09-17 17:24:39 +02:00
kikito
8ff8a1df7f
Makes tags count only visible debates and proposals
2015-09-17 16:54:10 +02:00
David Gil
ddbc9243e2
speeds 10s the test suite by avoiding the creation a few unneeded objects
2015-09-15 21:40:50 +02:00
kikito
8f8afdfd62
Proposals hot_score
2015-09-14 20:37:32 +02:00
rgarcia
6b15ccafe2
adds summary to proposals
2015-09-14 20:07:27 +02:00