decabeza
b08d488077
Updates link url on dev seed widgets
2018-11-14 12:45:59 +01:00
Javi Martín
4f878180e5
Move creation of milestone statuses seeds
...
So it's in the same lines as in Madrid's repository.
2018-11-06 13:02:30 +01:00
Alberto
d1e40adcbc
Merge pull request #2994 from consul/social-meta-tags
...
[Backport] Social meta tags
2018-10-31 15:01:19 +01:00
decabeza
747aec3506
Improves some code format details
2018-10-31 14:22:10 +01:00
decabeza
cd7bff04b4
Refactors social meta tags spec
2018-10-31 11:51:44 +01:00
decabeza
dbf41421ed
Removes guide feature
2018-10-17 14:58:29 +02:00
Javi Martín
659a45af0a
Seed some selected legislation proposals
2018-10-04 16:30:55 +02:00
Javi Martín
8064b53aad
Add variety to legislation process dev seeds
...
This way different processes will be in different phases and it will be
easier to test the application locally.
2018-10-03 22:06:19 +02:00
Javier Martín
2775ae2b50
Merge pull request #2924 from consul/backport-1588-make-homepage-content-translatable
...
Make homepage content translatable
2018-10-03 13:20:49 +02:00
decabeza
dd11a040a6
Adds setting to enable or disable help page
2018-09-28 18:59:28 +02:00
Marko Lovic
832e6178d7
Add Spanish translation to Card seed data
...
Instead of using I18n for the field texts and forcing the
locale (e.g. `I18n.t('seeds...', locale: :es)`), I'm moving
content out of `config/locales/` and into the seed file.
This is because this content is less about reacting to different
locales (the locale would always be forced so we don't actually
use the main i18n functionality), and more about demonstrating
the "translatable fields" feature.
2018-09-26 16:09:09 +02:00
Raimond Garcia
4086220ebf
Merge pull request #2914 from microweb10/make_polls_translatable
...
Make polls translatable
2018-09-26 13:19:17 +02:00
Julian Herrero
888ae8e6d6
neutral_locale not needed anymore
2018-09-21 20:51:13 +02:00
Julian Herrero
673ec075eb
Make answers translatable
2018-09-20 17:13:40 +02:00
Julian Herrero
5e6248d2ac
Make questions translatable
2018-09-20 17:11:53 +02:00
Julian Herrero
9495208518
Make polls translatable
2018-09-20 17:07:43 +02:00
Marko Lovic
64d72ca8e7
Enable JS in shared translatable test
...
Due to its markdown editor, the admin draft version page
requires JS to correctly render the draft version form.
2018-09-19 14:54:24 +02:00
Marko Lovic
0731b137cf
Add both English and Spanish translations to Admin Notification seeds
2018-09-19 12:15:45 +02:00
Raimond Garcia
cae210c155
Merge pull request #2887 from wairbut-m2c/backport/db_queries
...
[Backport] Replace `.all.each` with `.find_each` to reduce memory usage
2018-09-17 19:06:46 +02:00
Marko Lovic
c7fcdd9b0e
Use standard locale names for Globalize
...
It turns out it is not necessary to downcase and underscore
locale names to use the globalize-accessor gem. The gem
will automatically underscore the locale name when defining and
calling the accessor methods.
2018-09-11 18:48:14 +02:00
Angel Perez
b6fe7ca9a7
Replace .all.each with .find_each when seeding the DB
2018-09-10 11:39:38 -04:00
Raimond Garcia
4f2ed27f8c
Merge pull request #2865 from consul/backport_1585-make_banners_translatable
...
[Backport] Make banners translatable
2018-09-10 16:41:33 +02:00
Marko Lovic
0fa4b60f39
Make Banners translatable
2018-08-30 16:29:29 +02:00
Angel Perez
3dd525f9b9
Remove Madrid-specific DB attribute from Legislation::Proposal seeds
2018-08-06 10:14:49 -04:00
Angel Perez
f568f9baab
Add Legislation::Proposal seeds
2018-08-06 09:39:17 -04:00
Bertocq
a883e842ba
Make admin notifications seed data translatable
2018-07-25 18:35:34 +02:00
Bertocq
2aa4b5cad6
Add AdminNotification seed data
2018-07-25 18:34:33 +02:00
Juanjo Bazán
ffd4fb32f4
adds images to budget::investments
2018-07-24 11:22:15 +02:00
Angel Perez
10e755bffd
Remove deprecated image and style attributes when seeding the DB
2018-07-23 11:56:08 -04:00
Alberto
3c517462e4
Merge pull request #2760 from wairbut-m2c/backport/user-recommendations
...
Debates and proposals recommendations for users
2018-07-16 13:54:54 +02:00
Raimond Garcia
f2c780fac6
Merge pull request #2768 from AuiDrome/add_proposal_images_on_dev_seeds
...
add proposal image on dev_seeds task
2018-07-16 10:35:55 +02:00
Fernando Garcia Samblas
0cf26b8770
remove add_images_to argument spaces
...
Sorry, at work we have a co-worker (@rochgs) that thanks this "spaced" style
because of his visual handicap. Here you are!! ;)
2018-07-16 08:48:24 +02:00
Angel Perez
fefa225f8a
Add new settings for dev seeds for Debates and Proposals recommendations
2018-07-15 21:28:57 -04:00
Fernando Garcia Samblas
ffbd4a08d8
add proposal image on dev_seeds task
2018-07-16 01:33:25 +02:00
iagirre
0d9da5398b
Fix banners in user pages
...
Banners were not been shown in certain pages; now
they are.
Spec to check if the banner is been shown correctly
added. Before it was in admins specs, now it has it's
own spec out of admins folder.
2018-07-12 10:17:25 -04:00
iagirre
5ce08532cb
Update PR with master
...
Rebase master branch so that this PR can
be updated with the latest changes.
Conflicts has been solved. dev_seeds
has been also adapted to the new format
(it all separated to be easier to manage).
Some specs has been updated to work with
selenium-webkit.
2018-07-12 10:17:25 -04:00
María Checa
9eefcafcfb
Add Budget::Investment::Status to dev_seeds
2018-06-27 16:49:27 +02:00
decabeza
c710e31b4a
Replaces header and debates images
2018-06-22 18:00:39 +02:00
Pierre Mesure
1ebcf04186
Adding images and seeds for the homepage
2018-06-15 14:26:29 +02:00
rgarcia
0e097973cc
Add widget feeds to homepage
...
Note there is some funkiness going on with class loadings
Had to create a `feed` and `widget_feed` table even though in this
first version the Widget::Feed includes only uses ActiveModel instead
of ActiveRecord, otherwise some specs failed
We’ll figure it out and clean up 😌
2018-05-28 18:17:26 +02:00
Raúl Fuentes
bc1b70205b
Add default value for the setting on seeds/dev_seeds
2018-05-22 15:03:43 +02:00
iagirre
747db0ea35
Add dev_seeds for milestones with translations
...
Add one milestone to each investment with translations
for each locale defined in the app.
2018-05-09 16:12:52 +02:00
Alberto
1e8f4c7f32
Merge pull request #2342 from wairbut-m2c/iagirre-budgets-column-show-valuators
...
Budget: add column show to valuators
2018-04-30 17:49:15 +02:00
Bertocq
35c156ba7a
Create setting to enable/disable attached documents
...
Add setting to both seed and dev_seeds as well as a rake task to make it
easier to set.
2018-04-10 12:46:09 +02:00
iagirre
21a6d3495a
Update PR with master
...
Rebase master branch so that this PR can
be updated with the latest changes.
Conflicts has been solved and some specs
updated to fit the new changes. dev_seeds
has been also adapted to the new format.
2018-04-09 16:11:06 +02:00
rgarcia
c9cad05a95
Fix dev seed specs
2018-03-23 19:57:51 +01:00
rgarcia
f7bfe5e171
Extend dev seeds to have notifications for all users
...
Even though an action that triggers a notification is made, the
notification is created in a separate step, reflecting how it is done
in the corresponding controller
https://github.com/AyuntamientoMadrid/consul/blob/master/app/controllers
/comments_controller.rb#L16
2018-03-23 11:48:16 +01:00
Bertocq
d44621f761
Relocate spending proposal valuation assigment seed
2018-02-22 11:38:49 +01:00
Bertocq
54e6c5fc5c
Split dev_seeds into individual files for sections
...
Why:
Its a really huge script, and conflicts are hard to resolve on forks,
with indivudal scripts its easier to make custom changes.
How:
Following @mariacheca example using require_relative and a file under
the db/dev_seeds/ folder
2018-02-22 11:04:47 +01:00
Bertocq
12fd0a7cd3
Make newsletter seed file line lenght compliant
2018-02-21 11:47:34 +01:00