Commit Graph

2691 Commits

Author SHA1 Message Date
Alberto
bdf7a10441 Merge pull request #1643 from consul/chore/add_scss_lint
[WIP] SCSS Linting tool & Config
2017-06-16 18:22:43 +02:00
Juanjo Bazán
d165116b5e fixes draft spec 2017-06-16 15:19:38 +02:00
decabeza
2e0b17afcf updates specs 2017-06-16 13:23:11 +02:00
Bertocq
d1a050fa4d Fix shared example group rspec warning because of file name ended with _spec 2017-06-16 01:28:43 +02:00
Juanjo Bazán
9ab0f9cf8b Merge branch 'master' into amiedes-api-dev-PRs-2 2017-06-14 12:46:58 +02:00
Raimond Garcia
ae82a563d6 Merge pull request #1651 from consul/fix/direct_message_today_scope
Fix DirectMessage today scope
2017-06-14 11:42:54 +02:00
kikito
782a68e9d3 Merge branch 'master' into amiedes-api-dev-PRs-2 2017-06-14 09:58:17 +02:00
Bertocq
8440f6c749 Increase coverage of admin feature spec for legislation process dates enabling 2017-06-14 08:52:11 +02:00
Bertocq
cc0146e372 Use Time in utc on direct message specs when changing created_at directly 2017-06-14 01:17:32 +02:00
Bertocq
1dac73eb48 Fix debate phase checkbox name on admin legislation process feature spec, as well as expectations 2017-06-14 00:29:15 +02:00
Bertocq
c18d1b6e8f Check new enabled? logic on both Legislation::Process Phase and Publication classes 2017-06-14 00:21:08 +02:00
Bertocq
a279e77c39 Fix typo on legislation process factory 2017-06-14 00:13:56 +02:00
Bertocq
9a97d09cab Add new phase/publication enabled flags on seeds and legislation process factory 2017-06-13 23:47:53 +02:00
Bertocq
990437dc40 Remove no longer used active/show/open _phase helper methods from Legislation Process, and specs 2017-06-13 22:04:36 +02:00
Bertocq
12dc7a4790 Add specs for Legislation::Process Phase and Publication enabled?/started?/open? methods 2017-06-13 22:04:36 +02:00
Bertocq
e55328caf4 Rename legislation process final_version_publication phase name to more descriptive result_publication 2017-06-13 22:04:36 +02:00
Bertocq
0c27f1ffde Rename Legislation Process final_publication_date field to more descriptive result_publication_date 2017-06-13 22:04:36 +02:00
Raimond Garcia
467560e895 Merge pull request #1646 from consul/user-stats
Only count active users in stats
2017-06-13 17:54:13 +02:00
Raimond Garcia
300634443c Merge pull request #1645 from consul/login-by-username
Allow users to login using username
2017-06-13 13:23:49 +02:00
rgarcia
b1fa2d22f7 only count active users in stats 2017-06-13 12:59:04 +02:00
kikito
1701111bf5 Merge branch 'api-dev-PRs' of https://github.com/amiedes/consul into amiedes-api-dev-PRs-2 2017-06-13 12:07:28 +02:00
Juanjo Bazán
c4ba6a7e94 updates specs 2017-06-12 19:48:57 +02:00
Juanjo Bazán
ed30051653 avoids conflicts with users using email as username 2017-06-12 18:54:39 +02:00
Juanjo Bazán
3f11dbe1d5 allows login using username or email 2017-06-12 17:26:38 +02:00
Raimond Garcia
58da3b43e6 Merge pull request #1638 from entantoencuanto/issue#1595-results_url_permissions
Issue#1595 results url permissions
2017-06-12 13:09:27 +02:00
Raimond Garcia
05afaacf3d Merge pull request #1635 from entantoencuanto/issue#1354-suggest_on_investments_creation
Issue#1354 suggest on investments creation
2017-06-12 13:09:09 +02:00
Raimond Garcia
1033c9fc11 Merge pull request #1634 from consul/fix/date_time_current_usage
Fix Flaky test related with Time/Date in Search concern
2017-06-12 09:53:09 +02:00
Eduardo Martinez Echevarria
1802202033 Add test to check that results of unfinished budgets are inaccessible 2017-06-11 23:29:56 +02:00
Eduardo Martinez Echevarria
74754ef34d Add some test to investments feature for suggestions on creation 2017-06-11 13:04:58 +02:00
Bertocq
b79df113cd Switch all Time.curren.to_date for Date.current, same result but better syntax 2017-06-11 10:41:09 +02:00
Bertocq
2c82eec0fd Remove target and how_to_participate columns from legislation_processes table, no longer used 2017-06-11 00:04:50 +02:00
Bertocq
02d31953be Remove Target field from Legislative Process from views, i18n, factories and specs 2017-06-10 23:16:13 +02:00
Bertocq
d624a08abc Remove How To Participate field from Legislative Process from views, i18n, factories and specs 2017-06-10 23:11:55 +02:00
Amaia Castro
b616210607 View and search users from admin panel 2017-06-09 17:30:06 +02:00
Amaia Castro
29d994dd4a Rename users to hidden users in admin 2017-06-09 17:19:01 +02:00
Juanjo Bazán
5daad49208 Merge pull request #1607 from consul/index-design
Index design
2017-06-08 13:58:04 +02:00
decabeza
3d6f75bb59 reverts hide tags on index views 2017-06-08 13:30:12 +02:00
Raimond Garcia
59f42dfa0f Merge pull request #1579 from bertocq/chore/restore_setting_afterwards_in_specs
Cleanup Settings values modified after specs are run
2017-06-08 12:09:24 +02:00
Raimond Garcia
0633f018ca Merge pull request #1584 from bertocq/feature/per_page_code_migration_task
Rake task to migrate Setting per_page_code to per_page_code_header
2017-06-08 11:59:51 +02:00
Raimond Garcia
42741ef4d2 Merge pull request #1621 from consul/info-pages
Info pages
2017-06-08 11:56:01 +02:00
Bertocq
8b063a1bc1 Create spec for the new settings migration rake task 2017-06-07 20:56:49 +02:00
Bertocq
798b646135 Cleanup Settings values modified after specs are run 2017-06-07 20:55:42 +02:00
Bertocq
8d0e76bcd3 Add summary field to Legislative Processes factory and at dev_seed 2017-06-07 19:02:54 +02:00
decabeza
dcffa96d11 removes specs of deleted info pages 2017-06-07 18:53:23 +02:00
Bertocq
a33341ec52 Increase admin legislative process feature spec to also check detail and list views 2017-06-07 18:43:34 +02:00
Juanjo Bazán
16edbf15a2 Merge pull request #1620 from consul/medialab-legislation
Adds Collaborative Legislation
2017-06-07 18:06:15 +02:00
rgarcia
792b15b224 Merges annotations 2017-06-07 14:58:34 +02:00
rgarcia
f66102abdc fixes specs 2017-06-07 10:32:25 +02:00
decabeza
0625b2093c updates tags spec, does not show on index views 2017-06-05 18:24:36 +02:00
decabeza
ea38f79442 removes specs of proposals successful banner 2017-06-05 17:55:37 +02:00