Commit graph

2111 commits

Author SHA1 Message Date
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
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
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
Henne Vogelsang
bec13df131 Adopt more specs to the shoulda-matchers update 2019-02-19 20:50:09 +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
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
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
James Mason
516e53d9df Use chartkick globally
* Clean up legacy charting imports
* Update existing donut and line charts
* Create helpers for parsing out existing chart data
* Move chart partials to a more common path
2018-12-30 16:57:22 -08:00
James Mason
ef4b7fda92 Add markdown formatting for sponsor descriptions 2018-12-28 19:10:31 -08:00
James Mason
03f7951676 Add a switch for allowing registration on events (proposals) 2018-12-19 13:18:24 -08:00
James Mason
75bf1380ba Select Call type when creating; don't switch types. 2018-12-19 13:18:24 -08:00
James Mason
e518431b8e Rename 'Call for Papers' to 'Calls for Content' 2018-12-19 13:18:24 -08:00