Ana María Martínez Gómez
f7d7bfb2e2
Merge pull request #2476 from differentreality/url_helpers_in_switch_checkbox
...
Use helpers instead of URLs in switch checkboxes
2019-06-04 17:12:32 +02:00
Ana María Martínez Gómez
47ce659a2f
Merge pull request #2374 from openSUSE/depfu/update/shoulda-matchers-4.0.1
...
Update shoulda-matchers: 3.1.2 → 4.0.1 (major)
2019-06-03 09:23:52 +02:00
Ana María Martínez Gómez
9303375f7e
Merge pull request #2525 from Ana06/fix_event_registrations
...
Fix event registatrion for rooms without size
2019-06-01 11:09:42 +02:00
Stella Rouzi
b590bc4145
Use helpers instead of URLs in switch checkboxes
...
Absolute URLs may be potentially breaking functionality, eg in case of
sub-directory installation.
Fixes https://github.com/openSUSE/osem/issues/2472
Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name>
2019-05-31 00:24:21 +02:00
Ana María Martínez Gómez
f64cd7323f
Do not use readonly checkboxes to render information
...
Just render `Yes` or `No` instead of a disabled checkbox with these two
options in the recent users section of conference#index.
2019-05-31 00:24:14 +02:00
Ana María Martínez Gómez
51c8af42ab
Fix event registatrion for rooms without size
...
If the room size is not set (which is possible as the size is not
mandatory), the events registrations page breaks because of a
comparison of nil with Integer.
2019-05-31 00:12:15 +02:00
Henne Vogelsang
e6049adc52
Fix gigitty link
...
The modal didn't really work on mobiles. On mobiles you also need the schedule
link because it's hard to point your mobile to a QR code on your mobile...
2019-05-24 15:19:37 +02:00
Henne Vogelsang
7338bc2648
Skip CSRF authenticity
...
The way we are handling adding commercials (preload with javascript)
leads to an outdated token otherwise.
2019-05-24 14:08:23 +02:00
Henne Vogelsang
84b25e3a54
Remove protect_from_forgery
...
This is handled in ApplicationController
2019-05-24 14:07:39 +02:00
Henne Vogelsang
4dc618810b
Point to Giggity from the schedule page
...
Tell users that they can also view schedules in an android app.
2019-05-24 11:37:03 +02:00
Ana María Martínez Gómez
b8013661a2
Use render plain instead text
...
`render text` is deprecated and it has been remvoed from Rails 5.1.
2019-05-13 17:15:31 +02:00
Ana María Martínez Gómez
7473e889ee
Define ticket_purchases before through association
...
In the User model, a has_many :through association
'User#physical_tickets' which goes through 'User#ticket_purchases' was
defined before the through association was defined. This doesn't work in
Rails 5.1.
2019-05-05 09:40:50 +02:00
Ana María Martínez Gómez
41d6fad7a5
s/redirect_to :back/redirect_back/
...
`redirect_to` has been removed in Rails 5.1 in favor of:
```
redirect_back(fallback_location: root_path)
```
2019-05-05 09:40:50 +02:00
Ana María Martínez Gómez
ca32024268
s/skip_before_filter/skip_before_action/
...
`skip_before_filter` was deprecated in Rails 4.2 and removed in Rails
5.1 in favor of `skip_before_action`.
2019-05-05 09:40:49 +02:00
Ana María Martínez Gómez
a8d2f8caa4
Drop halt_callback_chains_on_return_false
...
ActiveSupport.halt_callback_chains_on_return_false= is deprecated and
will be removed in Rails 5.2. Stop using it and return `throw(:abort)`
instead in the callbacks which need it.
2019-05-05 09:40:49 +02:00
Ana María Martínez Gómez
b3716985f0
Stop using reload argument in associations
...
Deprecated force reload argument in association readers is deprecated
and has been removed in Rails 5.1:
09cac8c67a
2019-05-05 09:40:09 +02:00
Ana María Martínez Gómez
0837b34369
Fix incorrect format in xml dates
...
Dates where using (some years ago) iso8601 without taking the timezone
into account, as reported in:
https://github.com/openSUSE/osem/issues/1188
When trying to fix the issue, the date was converted to an incorrect
format which took timezone into account in:
73a6e06fd3
Come back to use iso8601 but taking the timezone into account.
Really fixes https://github.com/openSUSE/osem/issues/1188
Fixes https://github.com/openSUSE/osem/issues/2510
2019-05-02 16:32:54 +02:00
Stella Rouzi
9bdd889e32
Merge pull request #2471 from rahul2240/export
...
Fix broken export
2019-04-29 21:35:55 +03:00
Stella Rouzi
0c52f78b32
Merge pull request #2444 from snpd25/branch1
...
fixed error submission of survey form
2019-04-29 19:29:46 +03:00
Henne Vogelsang
924affb3a5
Merge pull request #2410 from snpd25/master
...
Added select-all checkbox in splashpages form
2019-04-29 18:04:36 +02:00
Ana María Martínez Gómez
79b88857b6
Fix xml views
...
Adding the html extension to application.haml avoid that the code is
used in the xml views.
Fixes https://github.com/openSUSE/osem/issues/2497
2019-04-29 15:52:24 +02:00
Rahul
d92f442685
add layout false to prevent default layout rendering
...
layout false is added so that application.haml doesnt render while generating pdf, xlsx or csv as it is not required in their templates
2019-04-26 12:37:32 +05:30
Rahul
a1a592dae3
Fix view for registration csv
2019-04-26 12:37:32 +05:30
Rahul
c27483301a
add missing code for pdf csv xlsx in registrations
2019-04-26 12:37:32 +05:30
snpd
efccbc0597
Added select-all button in splashpage form
...
While creating a splashpage,admin may want to
select all the options by checking all the boxes
at once, or clear all the checked boxes at
once.
Closes https://github.com/openSUSE/osem/issues/2022
2019-04-13 01:54:45 +05:30
Ana María Martínez Gómez
c82a012aee
Merge pull request #2442 from rishabhptr/speakers
...
Add condition for missing_speakers in a track.
2019-04-10 10:24:16 +02:00
Rishabh Singh
0785b5c7e0
Add condition for missing_speakers in a track
...
A user should be able to see the missing speakers of
only those events that are accessible to him.
Fixes #1942
2019-04-06 20:58:43 +05:30
Ana María Martínez Gómez
b2e6c1b701
Merge pull request #2462 from Ana06/carrousel
...
Fix overlay of carousel controls
2019-04-06 10:06:37 +02:00
snpd
9c64774f26
Fixed error submission of survey form
...
Fixed the redirect_to path in surveys_controller
Closes https://github.com/openSUSE/osem/issues/2412
2019-04-01 13:39:56 +05:30
cyrille
e669b37dfa
Fixes datetime pickers
...
- some read only attributes that deny pick a date/date-time
- typos in haml and in JS
- undefined methods in JS
Fixes https://github.com/openSUSE/osem/issues/2455
2019-03-27 23:04:42 +01:00
Ana María Martínez Gómez
ca574ae2af
Fix failing validation in Registration
...
In the conference is not set, validation that the call for paper is
accepted breaks. This made the conference association test failing.
2019-03-27 10:22:07 +01:00
Ana María Martínez Gómez
6926990fea
Fix overlay of carousel controls
...
Events on the last column where not clickable because the carousel
controls where render on top. Make them narrower to solve it.
This bug was a side effect of using a carousel for rendering the
schedule. There are strong arguments to think this is not the best
design and a better solution is being discussed:
https://github.com/openSUSE/osem/issues/2421
Fixes https://github.com/openSUSE/osem/issues/2434
Co-authored-by: @sncarnera
2019-03-26 13:40:38 +01:00
Henne Vogelsang
ee9bc020d5
Merge pull request #2426 from rahul2240/hidebutton
...
Hide submit proposal button when cfp in nil
2019-03-26 13:18:21 +01:00
Robert Giessmann
4ae4880def
Update edit.html.haml
...
fixes typo in registration view
2019-03-21 09:17:47 +01:00
ibrahimelbanna
dc77795f95
Adding time zone validation to conference model
2019-03-17 00:03:42 +02:00
Rahul
ed254f7694
remove submit proposal from homepage
...
submit proposal should not be present if cfp is nil Fixes https://github.com/openSUSE/osem/issues/2418
2019-03-15 20:33:04 +05:30
Henne Vogelsang
02ca6da80a
Merge pull request #2425 from snpd25/branch1
...
set multiple to true for speakers
2019-03-14 20:57:07 +01:00
Henne Vogelsang
759d0a920a
Merge pull request #2391 from rahul2240/dates
...
Remove picktime
2019-03-14 20:35:57 +01:00
snpd
68c3aef86a
set multiple to true for speakers
2019-03-13 17:00:55 +05:30
Ana María Martínez Gómez
5a1f75e4f5
Merge pull request #2390 from hennevogel/bugfix/schedules
...
Various update fixes
2019-03-09 09:41:14 +01:00
Rahul
9959b1853b
Remove picktime
...
Fixes https://github.com/openSUSE/osem/issues/2347 picktime is deprecated so removing it fixes the issue.
2019-03-09 00:34:26 +05:30
Henne Vogelsang
ad56b4bb78
Document/fix conference versions view
2019-03-08 15:02:46 +01:00
Ana María Martínez Gómez
9e771e2368
Merge pull request #2386 from matugm/fix-order
...
Show old conferences in descending order
2019-03-08 14:57:30 +01:00
Henne Vogelsang
455fc0a270
Make it possible to view Surveys in ichain mode
...
This is not ichain specific.
2019-03-08 14:39:39 +01:00
Henne Vogelsang
1a1da83bf2
Document the ichain specific ability
2019-03-08 14:39:39 +01:00
Henne Vogelsang
b57c771d3e
Allow viewing the schedule/events in ichain mode
...
This abilit is not specific to one mode.
2019-03-08 14:39:39 +01:00
Henne Vogelsang
1e5558660f
Merge pull request #2354 from Ana06/datepickers
...
Fix Datepickers in Call for Content
2019-03-08 14:31:57 +01:00
Jesus Castello
ee50f25d46
Show old conferences in descending order
...
It is more likely that users look for recent conferences.
Fixes https://github.com/openSUSE/osem/issues/2331
2019-03-07 16:13:53 +01:00
snpd25
7e94e0447a
Allow admins to create events without a CFP
...
Admins can now create events before the CFP is created for example
to announce key notes in the splash page.
Closes https://github.com/openSUSE/osem/issues/2348
2019-03-07 19:29:25 +05:30
Ana María Martínez Gómez
1a3e3f433d
Fix Datepickers in Call for Content
...
Datapickers in Call for Events/Booths/Tracks were broken which made impossible
to create them (as the date is required).
Those are not the only Datepickers broken and a similar solution should work
for the rest as well.
Fixes https://github.com/openSUSE/osem/issues/2349
2019-03-06 15:04:22 +01:00