Javi Martín
2acaa14705
Make it possible to select proposals without JavaScript
...
This way, when JavaScript hasn't loaded (for whatever reason),
administrators can still use this functionality.
2024-10-25 17:12:47 +02:00
Javi Martín
1cb6268d4e
Add and apply Layout/ClosingHeredocIndentation rule
2023-08-18 14:56:16 +02:00
Karim Semmoud
3faaa8521d
Render markdown tables in legislation draft
...
* Add Tables option to Redcarpet in Legislation draft
* Allow table tags in Admin Legislation Sanitizer
* Add Test to render markdown tables in Legislation drafts
* Add Test for Admin Legislation Sanitizer
We include test for image, table and h1 to h6 tags and additional tests to strengthen the allowed and disallowed parameters
* Add Table from markdown test in System and Factories
* Add test to render tables for admin user
* Remove comment line about Redcarpet options
* Edit custom css for legislation draft table to make it responsive
2023-06-29 20:48:01 +02:00
Javi Martín
76555495f6
Hide legislation proposals when blocking a user
...
We're also updating the notice messages to specify all contents have
been hidden (not just debates).
2021-12-30 15:50:03 +01:00
Javi Martín
f3df3f4fbc
Remove people proposal model
...
This model isn't used anywhere, since it was created as part of a
feature which couldn't be completed.
This commit reverts commit 46e5d6a9 .
2019-10-30 02:26:42 +01:00
Javi Martín
d218e09654
Use squiggly heredocs
...
This is a feature which was introduced in Ruby 2.3, and makes it much
easier to write readable heredocs.
2019-10-26 13:03:48 +02:00
Javi Martín
f426b25fe5
Remove unneeded factories
...
These factories were only used in one place and they even declared ID
attributes. Using the comment factory with the `commentable` attribute
does the same thing.
2019-09-29 22:52:53 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
Javi Martín
fc1a89e966
Use dynamic attributes in factories
...
Static attributes are deprecated since factory bot 4.11; we haven't
upgraded yet but now we're ready to do so:
https://thoughtbot.com/blog/deprecating-static-attributes-in-factory_bot-4-11
2019-08-07 19:43:57 +02:00
lalo
ef345ca87c
Collaborative legislation summary
2019-06-11 14:31:44 +02:00
lalo
3282606be2
Add act_as_taggable_on milestoneable concern
2019-06-07 14:07:43 +02:00
lalo
46e5d6a9fa
Create Legislation::PeopleProposal model
2019-06-06 17:22:49 +02:00
German Galia
4f50e67ac3
Collaborative legislation summary
2019-06-03 12:34:25 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Alberto
f9b18667e6
Merge pull request #3280 from consul/next-filters
...
[Backport] Removes next/incoming filters
2019-02-11 20:43:09 +01:00
decabeza
060a4c684f
Remove legislation processes next filter
2019-02-08 14:29:43 +01:00
Julian Herrero
54e59a8a58
LegacyLegislation migration cleanup
...
These legacy models are not used anymore.
2019-02-06 17:07:38 +01:00
decabeza
dd8e2d6311
Shows participation phases only if there is a phase enabled
2018-12-28 18:23:08 +01:00
João Lutz
34b58a5208
Adds draft phase functionality in legislation processes
2018-11-19 22:18:50 -02:00
decabeza
747aec3506
Improves some code format details
2018-10-31 14:22:10 +01:00
voodoorai2000
422f3a5f47
Add tag filtering for legislation proposals
2018-10-04 15:43:41 +02:00
María Checa
388c1a9bd9
Improved tests
2018-10-03 16:02:41 +02:00
Bertocq
845f0094b5
Add proposal phase values to legislation process factory
2018-10-03 13:40:59 +02:00
Pierre Mesure
cba6cc029e
Split factories
2018-08-08 07:20:47 +02:00