Commit graph

1892 commits

Author SHA1 Message Date
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
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
James Mason
62056fc044 Add a registration link to user menu 2018-10-13 20:26:04 -07:00
James Mason
988803b601 Shuffle splashpage highlights
(cherry picked from commit 1101c3c9497766a498422ce5c5bfe797a52cf840)
2018-10-11 00:51:46 +02:00
James Mason
d7a0936dd7 Convert admin/registrations datatable to AJAX-backed
Supercedes https://github.com/openSUSE/osem/pull/2031 .

Note:

* "Questions" modals have been dropped from this view; questions are no
  longer asked on registration, since Surveys(PR#1100)  were added.
2018-10-10 21:57:22 +02:00
James Mason
eea05d649c Clean up export links on admin/registrations #BetterPlace 2018-10-10 21:57:22 +02:00
James Mason
f3757fd4e7 Update chart-js-rails to version 0.1.6
Supercedes #2152 with required code changes.
2018-10-10 21:23:28 +02:00
James Mason
3af4dd5aac Move big statistics to a partial 2018-09-27 15:42:08 +02:00
James Mason
1eff57d3ac Add relevant data to scheduling widget 2018-09-27 15:41:06 +02:00
James Mason
21b908ad38 Cache admin schedule event partial 2018-09-27 15:41:06 +02:00