Commit graph

670 commits

Author SHA1 Message Date
Rahul
58c829571e Add invite responsible to form
It is added so that user can enter email ids of other users, who they want to invite to become booth responsible.
2019-07-21 18:08:05 +05:30
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
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
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
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
c27483301a add missing code for pdf csv xlsx in registrations 2019-04-26 12:37:32 +05:30
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
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
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
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
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
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
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
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
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
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
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
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
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
111fe83452 Reduce queries required for schedule. 2018-09-27 15:41:06 +02:00
James Mason
780eb5c51d Fix up logical error in schedule 2018-09-25 22:14:47 +02:00
Stella Rouzi
da91ff8371 Add email for proposal submission 2018-09-19 21:25:12 +02:00
James Mason
64ceaf50f4 Update Admin user datatables to use AJAX 2018-08-30 16:50:42 +02:00
Stella Rouzi
9908f88570 Add survey with target after_event 2018-07-03 08:46:15 +03:00
Stella Rouzi
683f62a27c Add more options for surveys
* Survey period constraints
* Add abilities
* Enforce required questions
* Update survey_submssion updated_at
* Do a full match of possible answer and user reply
2018-07-03 08:46:15 +03:00
Stella Rouzi
9f3c0eff5d Add surveys; custom generated by admins
Available during registration or after conference

Co-authored-by: Shyukri <shshyukriev@suse.com>
Co-authored-by: Henne <hvogel@opensuse.org>
Co-authored-by: Moises <mdeniz@suse.com>
2018-07-03 08:46:15 +03:00
robotscissors
d53cc3b436 Add support for twitter cards and facebook shares
Added missing image url as well as created twitter card.
validated both with twitter validator and facebook validator.
All passed.

Need to check to see if no image is selected, what is outcome.
2018-05-24 16:42:31 -07:00
Zach Kemp
3f2f35283c improve template readability 2018-05-09 10:07:08 -07:00
Zach Kemp
7d5d935a65 optimize queries 2018-05-09 10:07:08 -07:00
James Mason
6d31dfeef4 Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
James Mason
03ef28e74d Require code of conduct acceptance on registration 2018-05-08 13:23:00 +02:00
James Mason
217ec1a46f Show code of conduct on organizations 2018-05-08 13:23:00 +02:00
James Mason
a6daff8582 Add/edit org code of conduct, as admin 2018-05-08 13:23:00 +02:00
James Mason
98defe2d0f Use role caching for Rolify to avoid N+1 queries
Resolves #2018

See https://github.com/RolifyCommunity/rolify#cached-roles-to-avoid-n1-issue
2018-04-04 07:36:29 -07:00
kostino
69de418ccd Add call for booths in cfp section in conference splashpage(conferences#show),modified after the design changes 2018-03-27 07:51:06 -07:00
James Mason
769cc6c970 Modify query to work better across databases 2018-03-14 18:00:37 -07:00
James Mason
4951d085f5 Tidying up. 2018-03-14 18:00:37 -07:00
James Mason
81bad2eb4d DRY up event export menus 2018-03-14 18:00:37 -07:00
James Mason
9e10678542 Clean up rating partials 2018-03-14 18:00:37 -07:00
James Mason
cb7960fc3f Prevent error when parsing empty params hash
Fixes #1999
2018-03-14 23:58:17 +01:00
AnkushMalik
913210347f Add error msg for null file while Adding Commercial for event
Null file error message added for uploading empty file in CommercialsController#mass_upload

Closes #1959
2018-03-02 11:36:52 -08:00
Jason Taylor
281022a80c add .pdf file extension for ticket download 2018-02-23 12:37:11 +02:00