Commit graph

3255 commits

Author SHA1 Message Date
Ana María Martínez Gómez
583d8e4c65
Merge pull request #2338 from openSUSE/depfu/update/money-rails-1.13.1
Update money-rails: 1.13.0 → 1.13.1 (patch)
2019-03-01 11:27:27 +01:00
Ana María Martínez Gómez
14e2e7632c
Merge pull request #2371 from openSUSE/depfu/update/dotenv-rails-2.7.1
Update dotenv-rails: 2.7.0 → 2.7.1 (patch)
2019-03-01 11:27:19 +01:00
Ana María Martínez Gómez
757a48052f
Merge pull request #2343 from openSUSE/depfu/update/bootstrap-sass-3.4.1
Update bootstrap-sass: 3.4.0 → 3.4.1 (patch)
2019-03-01 10:59:33 +01:00
Ana María Martínez Gómez
6df523b602
Merge pull request #2372 from openSUSE/depfu/update/mini_magick-4.9.3
Update mini_magick: 4.9.2 → 4.9.3 (patch)
2019-02-28 17:31:24 +01:00
Ana María Martínez Gómez
5c86fa32c4 Add link to conference in proposal page
Closes https://github.com/openSUSE/osem/issues/2363
2019-02-28 17:29:06 +01:00
Niko Ehrenfeuchter
b68b7ca400 Rephrase description of the "rspec spec" command
This might seem a bit stupid, but I got bitten by this today - I was under the
impression the command is required to make the changes visible in the running
app (despite the section above saying it isn't). Hopefully this helps any
potential contributor to get their mind sorted better than mine.
2019-02-26 18:54:04 +01:00
depfu[bot]
109ba429fc Update mini_magick to version 4.9.3 2019-02-26 15:56:05 +00:00
depfu[bot]
da049e596f Update dotenv-rails to version 2.7.1 2019-02-26 15:51:06 +00:00
depfu[bot]
8986f3817e Update bootstrap-sass to version 3.4.1 2019-02-26 15:47:18 +00:00
depfu[bot]
911c265c4f Update autoprefixer-rails to version 9.4.9 2019-02-26 16:44:15 +01:00
depfu[bot]
fa134a7b43 Update capybara to version 3.13.2 2019-02-26 16:43:39 +01:00
Ana María Martínez Gómez
d6688eba68 Get rid of letter-opener-web gem
It was only used in Vagrand and he have gotten rid of it.
2019-02-26 16:30:56 +01:00
Ana María Martínez Gómez
0aa49e9c64 Get rid of vagrant
We are using Docker now instead.

Closes https://github.com/openSUSE/osem/issues/1213
2019-02-26 16:30:56 +01:00
depfu[bot]
51f6ad6d14 Update dotenv-rails to version 2.7.0 2019-02-24 09:40:44 +01:00
Henne Vogelsang
6ec905b666 Fix scheduling
Can't cache the event as the data is changed the scheduling js.

We also can't verify the token in the EventSchedules controller
as we are making susequent ajax calls and have no means to refresh
the token for the second request.

Make draggables scrollable.

There also is no need to spam the console with debug code...

Partly fixes #2353
2019-02-22 10:45:19 +01:00
Henne Vogelsang
ae9430dfb8 Revert "Add rails-ujs"
This reverts commit b846df30f9.
2019-02-22 02:04:57 +01:00
Henne Vogelsang
fad1f04067 Fix proposal#show 2019-02-21 23:58:31 +01:00
Henne Vogelsang
b846df30f9 Add rails-ujs 2019-02-21 23:57:07 +01:00
Ana María Martínez Gómez
e03f9dc5fe Add /conferences/:conference_id/program/proposal/:id
We changed this route (because of renaming proposal to proposals in):
daf1f805bd

Keep the old route for compatibility.

Fixes https://github.com/openSUSE/osem/issues/2330
2019-02-21 17:09:56 +01:00
Ana María Martínez Gómez
ab3b50ac4f Update binding_of_caller
There is a bug for the old version which affectes some Ruby versions.
Generate Gemfile with our current Ruby version 2.5.0.
2019-02-21 11:53:30 +01:00
Henne Vogelsang
02f0fb078c Fix database setup in dev-env
The postgres image does not come with pre-configured osem
databases per environment. Calling db:create doesn't hurt if the
databases already exist, so let's do it every time we bootstrap.
2019-02-20 17:45:07 +01:00
Henne Vogelsang
9c098e600b Install chrome in the development env
To be able to run feature tests against it.
2019-02-20 17:45:07 +01:00
depfu[bot]
9b5adb0bbc Update faker to version 1.9.3 2019-02-20 13:26:30 +01:00
depfu[bot]
b6cd32d658 Update responders to version 2.4.1 2019-02-20 12:08:18 +01:00
depfu[bot]
3f9f3f110d Update skylight to version 3.1.4 2019-02-20 12:07:24 +01:00
depfu[bot]
8ff8d53dcb
Update money-rails to version 1.13.1 2019-02-20 00:07:19 +01:00
depfu[bot]
d170b029bb Update pg to version 1.1.4 2019-02-19 23:43:27 +01:00
depfu[bot]
bb20a62005 Update chartkick to version 3.0.2 2019-02-19 23:39:33 +01:00
depfu[bot]
ee74105e86 Update bootstrap3-datetimepicker-rails to version 4.17.47 2019-02-19 23:38:01 +01:00
depfu[bot]
3a19b8acb4 Update rails-assets-to-markdown to version 3.1.1 2019-02-19 22:52:26 +01:00
Henne Vogelsang
918eb91549 Adopt spec to changes in the messages 2019-02-19 21:57:20 +01:00
depfu[bot]
cc2544c0ae Update transitions to version 1.2.1 2019-02-19 21:57:20 +01:00
Henne Vogelsang
bec13df131 Adopt more specs to the shoulda-matchers update 2019-02-19 20:50:09 +01:00
Ana María Martínez Gómez
b778459e17 Skip test due to a bug in Shoulda Matchers 3
Skip test until bug is solved:
https://github.com/thoughtbot/shoulda-matchers/issues/814

It is also needed to use the new qualifier `ignoring_case_sensitivity`
to `validate_uniqueness_of` introduced in Shoulda Matchers 3.1.0
2019-02-19 20:50:09 +01:00
Ana María Martínez Gómez
d7dd85bcc0 Add Shoulda Matchers 3 configuration
From version 3.0.0 it is needed to specfied which test framework you're
using and which portion of the matchers you want to use in
`rails_helper.rb` (or the old `spec_helper.rb` in our case).
2019-02-19 20:50:09 +01:00
depfu[bot]
10ba4283fb Update shoulda-matchers to version 3.1.2 2019-02-19 20:50:09 +01:00
Henne Vogelsang
4bf0c02763 Use our env naming convention for memcached
Also do not set memore_store in the production environment if
there is no memcached. File based cache is default for a reason,
it even works for most normal traffic pages
2019-02-16 01:00:22 +01:00
Henne Vogelsang
5aa85f233e Can't cache javascript that is supposed to run
From the CaptureHelper docu¹
```
WARNING: content_for is ignored in caches. So you shouldn't use it for elements that will be fragment cached.
```

¹ https://api.rubyonrails.org/classes/ActionView/Helpers/CaptureHelper.html#method-i-content_for
2019-02-16 01:00:22 +01:00
James Mason
072116fffe Enable registration to proceed without requiring a ticket.
Requiring a ticket after registration is convoluted; while it may be neccesary
for some workflows, it definitely isn't for others, and the core of osem
doesn't need it... so let's make it optional.
2019-02-16 00:53:40 +01:00
Henne Vogelsang
228190396c Add the files we use for production deployments
We are using apache as reverse proxy and two systemd units
(puma & delayed job) for events.opensuse.org. Track them
also in this project, might be useful for others.
2019-02-16 00:40:47 +01:00
Henne Vogelsang
9cc5c83477 Fix link to translation documentation 2019-02-16 00:40:47 +01:00
Henne Vogelsang
e523c2631e Make the device ichain base url configurable 2019-02-15 17:09:03 +01:00
Henne Vogelsang
f8266b29ee Task to drop all ahoy events
The ChangeVisitIdTypeOfAhoyEventsToInteger from 364be5541 is not very well done.
You can not change the schema without changing possibly existing data.
Ahoy events used some kind of string as `visit_id`. Changing this column
to integrer will just barf up `Mysql2::Error: Truncated incorrect INTEGER value`.

So we need a way for people who are in this situation now to get out of it.
Luckily we completely dropped ahoy events a while ago so we can just delete them.
2019-02-15 17:09:03 +01:00
Henne Vogelsang
a4d7a1a771 Change initial state to new
The initial state needs to be one that is part of the machine.
See the transition README.md
2019-02-15 17:09:03 +01:00
Henne Vogelsang
c07cc6c844 Update mina and adopt the configuration 2019-02-15 17:09:03 +01:00
Henne Vogelsang
216cf632b8 Change project id/key to not be the same setting 2019-02-14 23:50:59 +01:00
Henne Vogelsang
334f84179f Use deliver_later in devise
Do not send devise mails directly in the request but through the
delayed jobs.
2019-02-01 01:00:56 +01:00
Henne Vogelsang
0f5181ccf4 Introduces New Installation Page
If there are no users signed up and no conferences we show a page
informing people what they need to do.
2019-02-01 01:00:56 +01:00
Henne Vogelsang
7fd7090867 Simplify app.json
Use system libraries for building nokogiri and do not require
to configure so many environment variables.
2019-02-01 01:00:56 +01:00
Henne Vogelsang
7ddf5e2251 Ignore .envrc
In case you use https://direnv.net/, which you should!
2019-02-01 01:00:56 +01:00