Commit graph

1135 commits

Author SHA1 Message Date
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
0f584cf5ad Clean up haml view that haml 5 didn't like 2018-11-28 11:46:48 -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
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
James Mason
ed6b2d8c93 Default to keeping user's email addresses private. 2018-09-25 22:11:38 +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
Tyrant Davis
6987c34e12 Add public or private status to other splashpage options. 2018-08-29 21:28:20 -07:00
Tyrant Davis
1333641a5f Change css id #publicorprivate to a class id. Upate splashpages/show.html.haml 2018-08-29 21:28:20 -07:00
Tyrant Davis
d3ce401cba Indicate if spalshpage is marked as public or not. 2018-08-29 21:28:20 -07:00
Tyrant Davis
7127834263 Fix ArgumentError in Conferences#show 2018-08-29 21:28:20 -07:00
Situ William
e29931b8c3 added a button to new_admin_conference_path at admin/organizations#index 2018-08-12 16:29:01 +03:00
Stella Rouzi
76482327b7 Fix rating_stars parameters in admin/events#show 2018-07-30 12:21:13 -07:00
Stella Rouzi
9908f88570 Add survey with target after_event 2018-07-03 08:46:15 +03:00
Stella Rouzi
e1adf28081 Show charts for survey replies 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
James Mason
4e742d170f Only one collapsed menu on non-admin pages
(cherry picked from commit 96ff845120e7a9c83d5d4c30908b283bb9449247)
2018-07-02 09:57:21 -06:00
James Mason
4ecf078db6 Consistent, concise styling of datables
Add a semantic class to aggregate bootstrap classes and consistently
applyt them to all datatables.
2018-07-02 09:56:51 -06:00
Liana Gk
b54e3f7ab9 change unless/else to if/else
(cherry picked from commit 7fa38e2697)
2018-07-01 01:12:14 +02:00
James Mason
1e9765c163 DRY up bootstrapSwitches with default values 2018-06-26 07:10:08 -07:00
Astradeni
7fa007d621 resolving conflict in conferences/_tickets
Added in css .word_break and applied it in conferences/_tickets
2018-06-14 11:42:58 -07:00
James Mason
cddc3e6f93 Move notifications into user menu 2018-06-11 11:53:44 +02:00
James Mason
c4219bbaf9 Add timed cache expiration on CfP partials
(cherry picked from commit f339c191c13c204e9c0a78df1bc083e882b2d2eb)
2018-06-08 17:32:01 -07:00
Soon Van
76babc6372 Show Edit Registration button for registered users
Registered users should see a button on the main conference page
to edit their current registration instead of being asked to
create/add a new one.

Fixes #2041
2018-06-06 16:42:29 -07:00
Matthias Brugger
dffd4ac7a0 fix speakerdeck commercial 2018-06-06 15:14:26 -07:00
James Mason
fe3c6c499b Collapse two redundant helpers
Fold one-used event_status_icon and one-used booth_status_icon into
status_icon, used twice; since there is no conflict on the status-
driven description.
2018-06-06 10:19:39 +02:00
James Mason
940012314d Render markdown in splashpage header without arbitrary assignment to h3
The markdown settings for conference description include header assignments;
there's no reason to force all content into a tag type that the user didn't
specify in their markdown.
2018-06-04 07:43:59 -07:00
James Mason
d8bd269a64 Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-06-01 09:15:57 -07:00
Stella Rouzi
d01d15ba5e Update paper_trail, show ticket price with currency in versions 2018-06-01 09:05:21 -07:00
Stella Rouzi
c4eac5ec3b Minor refining in admin/versions#index 2018-06-01 09:05:21 -07:00
João Paulo Lemos Escola
716fda687b limits max number of tickets 2018-05-30 00:02:11 +02:00
robotscissors
97b43d1a22 Test twitter card and facebook with no image
I have tested two events one with an image and the
other without an image. I have put them through
the Facebook debug sharing tool as well as the
Twitter card validator and both work!
2018-05-24 16:42:31 -07: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