Senén Rodero Rodríguez
0db49fda4e
Fix translations error and refactor nested documentable shared example spec.
2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
cc89907bff
Add nested documents to proposal form.
2017-08-25 18:34:52 +02:00
Senén Rodero Rodríguez
593da5e76b
Show maximum number of document reached notice only when current user has document creations permissions.
2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
c438e510c0
Add rel attribute with nofollow value.
2017-08-25 18:34:51 +02:00
Senén Rodero Rodríguez
92e8468e89
Use documentables helper method within specs and document model.
2017-08-25 18:34:50 +02:00
Senén Rodero Rodríguez
3a7c9d9f83
Add documentables helper
2017-08-25 18:34:49 +02:00
Senén Rodero Rodríguez
38d4d59241
Add arguments to documentable concern to make it configurable for any recipient model.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
6b61cbe35c
Set maximum number of documents on proposal and budget investments. Show alert on documents tab when maximum reached. Hide upload button when maximum reached.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
462931845b
Fix back link on document new page.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
586776efd8
Add documentable to proposal model.
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
a2130689ed
Create documentable concern and add it to budget investment model. Create documents controller, documents helper, routes, translations and specs
2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
c92827e89e
Add abilities to documentable authors and admins to create and destroy documents.
2017-08-25 17:27:37 +02:00
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