Commit graph

1900 commits

Author SHA1 Message Date
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
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
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
James Mason
21c5b842b1 Unlint CfP views #BetterPlace 2018-12-19 13:18:24 -08:00
James Mason
4d4ef597dc Gracefully fail out of image handling in ticket PDF
(cherry picked from commit 730d53c8b6)
2018-12-19 12:30:45 -08:00
James Mason
0f584cf5ad Clean up haml view that haml 5 didn't like 2018-11-28 11:46:48 -08:00
James Mason
ac3be77219 Required changes for consistent controller & feature results 2018-11-20 17:30:56 -08:00
James Mason
43bef689fc Rubocop autocorrections 2018-11-16 09:06:05 -08:00
James Mason
9f84454a8d Uploader changes based on https://github.com/carrierwaveuploader/carrierwave 2018-11-14 13:29:39 -08:00
James Mason
a3adf8318d Add additional social media fields to contacts
+ YouTube
+ Blog

Simplify logic in the view, and refactor the test #BetterPlace
2018-11-14 15:01:03 +01:00
James Mason
1241d21f93 Provide an opportunity for including conference-specific CSS
There is currently no top-level selector for views that is conference-specific,
so all conferences on one OSEM instance end up sharing all the same CSS.

In order to allow individual conferences to have unique CSS, a class for the
current conference is applied to the <body> tag, and an scss template provided with
an example of conference-specific CSS.
2018-11-06 08:19:01 -08:00
James Mason
2785c3ab6d Raise handled error when conference not found
The current codebase will end in a 500 APPLICATION ERROR if Conference#short_title isn't found... this should be a 404 NOT FOUND INSTEAD, which will be handled if we raise ActiveRecord::RecordNotFound.
2018-11-06 08:18:35 -08:00
dpliakos
20415f00e1 Remove link from splash page edit subtitle, if splashpage is not created. 2018-10-25 20:40:34 -07:00
James Mason
b11001cdba Every campaign has an end.
Drop ahoy, because it's more trouble than it's worth. This means dropping
visits, campaigns, targets.

Campaigns are better run to analytics, such as:
* https://matomo.org/docs/tracking-campaigns/
* https://matomo.org/docs/tracking-goals-web-analytics/
* https://support.google.com/analytics/answer/1012040?hl=en
2018-10-16 21:34:04 +02:00