Commit graph

611 commits

Author SHA1 Message Date
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
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
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
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
James Mason
03ef28e74d Require code of conduct acceptance on registration 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
Stella Rouzi
c9a7b6fc1c Fix variable error in versions#index 2018-04-16 20:41:07 +03:00
Stella Rouzi
cf251515f4 Fix toggle of version changes in all pages of datatable 2018-04-16 20:41:07 +03:00
Situ William
d7b3029383 added edit button to the admin/tickets#show page 2018-04-12 13:02:05 +03:00
Michael Klimenko
4bc783b42c Specify url input type for client-side validation 2018-03-27 09:51:25 -07:00
James Mason
31a3cb18b7 Implement caching on admin event view
Resolves https://github.com/openSUSE/osem/issues/1985
2018-03-14 18:00:37 -07:00
James Mason
a2ed9c0074 Move events index datatable row to a partial
- clean up columns
- tag unregistered submitters & speakers
- implement caching
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
0848df6948 Add helper for event switch checkboxes 2018-03-14 18:00:37 -07:00
James Mason
ad19a6d753 Use helpers for repeated event dropdown links 2018-03-14 18:00:37 -07:00
James Mason
4c58104a65 Remove blind_voting overreach
The 'Blind Voting' feature is described as:
> you do not want to show voting results and voters prior to user
> submitting a vote.

It does not imply or suggest that speaker or submitter names should be
hidden (especially from admins).

Resolves https://github.com/openSUSE/osem/issues/1984
2018-03-14 18:00:37 -07:00
James Mason
9e10678542 Clean up rating partials 2018-03-14 18:00:37 -07:00
rahul2240
1b226f1ac8 Fix NoMethodError in revision history
Roles get deleted with organization so to show them in revision history previous version of role model is required.That is done here.
closes https://github.com/openSUSE/osem/issues/1937
2018-03-14 23:42:46 +01:00
Carlos Coelho
8457dafbf6 Add withdrawn events to conference dashboard
Signed-off-by: Carlos Coelho <carlos@vinta.com.br>
2018-02-19 01:02:30 +02:00
Marie-Elise
e3b83e8ec1 Hid create organization button from non-superadmin users. 2018-01-17 07:58:21 -08:00
ViditChitkara
0ee0da1898 fixed venue updation error
fixes #1952
2018-01-11 11:16:32 -08:00
Jan-Frederik Rieckers
e1e0bdb4fc Add possibility to link to mastodon 2018-01-06 18:55:27 +01:00
Thaleia Tagaraki
e5948698db Added autofocus in a number of forms, plus correction of a few spelling mistakes
folding code into existing hash in commercials/index
2018-01-04 08:08:27 +02:00
Rishabh Singh
ada178d62c Added check for image_tag occurences.
Checking for presence of a image before using image_tag
Fixes #1909
2018-01-03 23:12:31 +02:00
Rishabh Singh
304ab01874 Fixed error in booths#show when there is no logo.
Added check for logo picture in booths#show
Fixed #1916
2018-01-03 23:12:31 +02:00
Rishabh Singh
0091d87dc9 Fixed growing of doughnut charts on scrolling.
Charts were growing on many pages due to spaces in id.
Fixes #1903
2018-01-02 21:13:52 +02:00
evris99
fe17dface6 remove datatable in program/cfps 2018-01-02 14:23:58 +02:00
James Mason
fa55224163 Break up the one-query-of-doom
The single query was producing a tremendously large ActiveRecord allocation.

While this isn't nearly as cool as one query, it's still a significant
reduction in SQL trips, and now has the bonus of only loading what is
actually going to be displayed.
2017-12-22 10:48:55 -08:00
James Mason
5fb09f398a FIXUP: Reorder splashpage & align form
* Per PR comments, place program above registration/tickets
* Reorder splashpage admin form based on splashpage order
2017-12-22 10:48:55 -08:00
James Mason
f0c3fc357b Fold call for papers & call for tracks into one splashpage section 2017-12-22 10:48:55 -08:00
foteinidd
6a1d757f43 Add check for rooms in tracks#edit 2017-12-21 21:08:40 +02:00
Harry30897
2180e6197c Conference name repeated in revision_history on adding commercial 2017-12-15 23:30:51 +02:00
Thaleia Tagaraki
9608e2032a Add autofocus in admin/tickets#new 2017-12-12 08:20:45 -08:00
Stella Rouzi
32fa0bde6b Add mass import of commercials
Fix #1055
2017-12-12 12:23:16 +02:00
AEtherC0r3
efaf07178f Upgrade to Rails 5
Update config with rails app:update
Update schema.rb rails db:migrate
Add puma
Make jobs and models inherit from ApplicationJob and ApplicationRecord
Update acts_as_list to 0.9.7 in order to fix
"undefined method `sanitize_sql_hash_for_conditions'" error
Update web-console to 2.3.0 to fix a 500 internal server error
Replace before_filter with before_action
Add rails-controller-testing gem
Add prepend: :true to protect_from_forgery in ApplicationController to
avoid ActionController::InvalidAuthenticityToken exceptions
Remove activeuuid
Update formtastic to 3.1.5 to fix deprecation warnings and issues
with the Input class
Update ahoy_matey to 1.6.0
Update cancancan to 2.0.0 to fix issues with malformed sql queries
Fix program spec
Fix issue with the picture being nil in admin/Organizations#new and #edit
and Organizations#show
Fix ActiveRecord::Base.raise_in_transactional_callbacks= deprecation
warning by removing an unnecessary line in application.rb
Fix failing versions specs
2017-12-11 20:58:04 +02:00
Adriano Vieira
4859f8c64e Render CfP description column as plain text
- fix #1856
2017-12-09 17:36:33 -02:00
foteinidd
52dcc6c474 Added autofocus on the name input in admin/lodgings#new 2017-12-07 20:43:19 +02:00