Senén Rodero Rodríguez
34d06dad04
Add document model validations and model shared specs.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
a141c82e33
Create new polymorphic model Document.
2017-08-25 17:27:37 +02:00
decabeza
b9eb6867d7
updates tags on specs
2017-08-03 10:14:45 +02:00
Bertocq
ef81c277a0
Remove spending proposal specs, deprecated feature with flaky tests
2017-08-02 12:08:50 +02:00
BertoCQ
cf3dbc8149
Merge pull request #1769 from rockandror/empty-user-interests
...
Add empty interests list message.
2017-07-26 18:31:14 +02:00
Senén Rodero Rodríguez
3370896ead
Add empty interests list message.
2017-07-26 17:48:47 +02:00
Bertocq
7d406cae76
Rubocop autocorrections
2017-07-25 13:01:03 +02:00
BertoCQ
13871b823b
Merge pull request #1750 from rockandror/followable-user-activity
...
User page: new following section
2017-07-24 13:10:09 +02:00
Bertocq
361e0efe00
Remove Poll Recount model and all usages
2017-07-23 23:29:24 +02:00
Bertocq
d98425f45b
Remove daily officer recounts from admin poll recounts list
2017-07-23 23:28:38 +02:00
Bertocq
c40294e931
Remove officing recount feature
2017-07-23 23:28:38 +02:00
BertoCQ
3668024d83
Merge pull request #1752 from MariaCheca/1725-census_local_copy_user_verification
...
Allow users to verify their account against a local copy of the Census
2017-07-21 11:36:29 +02:00
María Checa
0c84619cef
Recovered LocalCensusRecord model validations
2017-07-19 19:49:16 +02:00
Senén Rodero Rodríguez
dec7d2d2b5
Add followable specific notices to follows controller actions and render notice on AJAX JS response.
2017-07-19 19:43:05 +02:00
Senén Rodero Rodríguez
c9a6630c94
Remove popup on follow buttons and remove uneeded code.
2017-07-19 17:51:45 +02:00
BertoCQ
ada3d1a667
Merge pull request #1756 from consul/feature/social_metatags_images
...
Allow social image tags to be overwritten
2017-07-18 13:37:45 +02:00
Bertocq
7b0d3093e5
Fix social media icon expectation
2017-07-18 12:04:35 +02:00
decabeza
2844c03e43
adds consistency on social media filenames
2017-07-18 11:40:19 +02:00
Bertocq
705ef19f6d
Improvements on budget results view & table
2017-07-17 20:19:54 +02:00
María Checa
d576fd5951
Merge branch 'master' into 1725-census_local_copy_user_verification
2017-07-14 15:50:26 +02:00
María Checa
dccf221b47
New tests added for Census calls
...
Added new spec files for `CensusCaller` and `LocalCensus` libraries.
2017-07-14 15:39:49 +02:00
taitus
cef67c50a8
Increased test coverage to Following user public page.
2017-07-13 20:33:58 +02:00
rgarcia
c0d3ccaf46
Adds specs for loading first heading
2017-07-13 12:37:14 +02:00
BertoCQ
8d7a467397
Merge pull request #1746 from consul/rubocop/rails_fixes
...
Rubocop fixes 🤖 : Rails edition 💎 🛤
2017-07-11 22:28:55 +02:00
Bertocq
dd54be111d
Fix follower notifications flaky spec
2017-07-11 18:08:58 +02:00
BertoCQ
204ea13c85
Merge branch 'master' into followable
2017-07-11 11:30:49 +02:00
Bertocq
5a358bce17
Fix all Rails/FilePath rubocop issues
2017-07-10 23:08:02 +02:00
Bertocq
3a54713ed0
Fix all Rails/DynamicFindBy rubocop issues
2017-07-10 23:04:27 +02:00
Bertocq
11a793d63f
Hide incompatible and non-winner investments by default
2017-07-10 19:43:55 +02:00
Bertocq
741a342bb0
Restrict compatilibility edit on admin investment form
...
Why:
* A non-winner but compatible investment shouldn't be marked as incompatible
How:
* Show incompatilibility checkbox only if investment is winner or incompatible
2017-07-10 17:34:05 +02:00
Bertocq
2fba9de33b
Don't display incompatible investment's table if empty
2017-07-10 17:12:28 +02:00
Bertocq
2b85deabec
Recalculate heading winners on incompatibility change
...
Why:
* We should recalculate winners also when an incompatible investment is flagged as compatible again
How:
* Removing the condition to recalculate that was checking only for a winner investment flagged as incompatible
* Extending the Budget::Result model spec to cover that new scenario
2017-07-10 14:24:55 +02:00
Bertocq
69f4e1c683
Fix all rubocop Metrics/LineLength issues (140+)
2017-07-10 13:22:49 +02:00
Bertocq
824a672292
Fix spectations for localized milestone date
2017-07-09 16:44:34 +02:00
María Checa
feff9fff0f
LocalCensus model created
2017-07-08 19:56:10 +02:00
Senén Rodero Rodríguez
112e0649bf
Add missing proposal model specs to check new users_to_notify method.
2017-07-07 15:18:37 +02:00
Senén Rodero Rodríguez
4b2310c135
Move and refactor method from follow to user model to get user interests. Add specification to check the discard of duplicate interests.
2017-07-07 15:18:34 +02:00
taitus
e54e33f296
Use display in followable shared specs names when referring to DOM elements renderization. Add whitespace to proposal page.
2017-07-07 13:38:53 +02:00
taitus
97ee107157
Do not show flaggable and followable buttons on budgets_investment and proposals pages when user is not logged.
2017-07-07 13:38:52 +02:00
taitus
b29bf62f56
Send proposals notifications to followers.
2017-07-07 13:37:55 +02:00
taitus
35f7f11177
Add dependent destroy to followable.
2017-07-07 13:37:55 +02:00
Senén Rodero Rodríguez
1f22286e29
Create rspec shared examples to test followable features on any followable entity.
2017-07-07 13:34:54 +02:00
taitus
19820e4432
Add public interests validation and show interests on user profile
2017-07-07 13:34:43 +02:00
taitus
bce28afe36
Add followable to budget investment model.
2017-07-07 12:07:25 +02:00
Senén Rodero Rodríguez
84dbef16a4
Create followable concern, follow model. Add followable to proposal model.
2017-07-07 12:02:00 +02:00
BertoCQ
e990568895
Merge pull request #1721 from consul/feature/add_slugs_to_budget_related
...
Add slugs to budget related
2017-07-05 13:16:24 +02:00
BertoCQ
c439454ec7
Merge pull request #1722 from consul/chore/rubocop_cleaning
...
Rubocop cleaning
2017-07-05 13:12:09 +02:00
Bertocq
512059e021
Increase Budget, Heading and Group model specs to cover slug uniqueness
...
Why:
* Slug must be unique among:
1. Budget slug: among other budgets
2. Group slug: among other groups from its budget
3. Heading slug: among other headings from all the groups from its budget
How:
* Adding checks for all possible scenarios on each model specs
2017-07-05 12:33:17 +02:00
Bertocq
29b58298db
Fix Style/NegatedIf rubocop issue
2017-07-05 11:55:52 +02:00
Bertocq
39fa6ec2de
Increase admin investment feature to cover selected checkbox
2017-07-04 23:47:11 +02:00