Commit graph

588 commits

Author SHA1 Message Date
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
Ismael Olea
166d1bda0d Fix the UI inconsistence documented at #1830
Fixes the UI but not touch the logic. I fear to mess up the database schema.
2017-12-06 00:00:56 +01:00
rahul
4785293bf1 Add hint in start and end hour in conference#edit 2017-11-14 17:53:44 +02:00
rahul
837d8ec0db Add popup confirmation on update button
Popup is added so user can confirm the changes
Closes https://github.com/openSUSE/osem/issues/1687
2017-11-14 17:53:44 +02:00
ViditChitkara
bd045c2976 added description field to cfps
closes #1650

done some changes

minor changes

added markdown format to cfp#show

fixed description text  position in proposals

fixed truncated description text in show action

minor changes on non-admin side
2017-11-14 17:31:08 +02:00
Naman Gupta
2e07462d77 exports are made to be wrap_text 2017-11-08 00:49:03 +05:30
Your Name
52a5cb2391 speakers email field is added to pdf 2017-11-07 23:02:01 +05:30
Your Name
7c0fa59a0a Speaker emails in Events CSV/XLS export is included 2017-11-07 23:02:01 +05:30
Your Name
e99287d18a export feature for tracks and booths are done 2017-11-07 19:14:47 +02:00
James Mason
ae0538e1ad
Merge branch 'master' into error_opening_link_to_difficulty_level 2017-11-03 11:25:29 -07:00
Ana María Martínez Gómez
1d07125e7d Merge pull request #1701 from rahul2240/amount
Add paid option in physical ticket#index
2017-10-27 14:22:40 +02:00
Naman Gupta
0cd8d21611 minor changes 2017-10-22 16:30:54 +05:30
Naman Gupta
15813f9be6 difficulty level code redundancy is removed 2017-10-22 13:09:43 +05:30
Naman Gupta
d00dc631f8 Error opening link to difficulty level in Revision history is removed 2017-10-21 02:42:08 +05:30
Naman Gupta
aaa34c64af link is corrected 2017-10-20 23:38:59 +05:30
James Mason
c33520dbdf Merge branch 'master' into error_opening_revision_history 2017-10-19 15:37:35 -07:00
James Mason
23805abffe Merge branch 'master' into error_opening_revision_history 2017-10-19 12:11:32 -07:00
James Mason
caf2215f5b Merge branch 'master' into currency_chf 2017-10-17 07:14:13 -07:00
James Mason
8ddcd695f0 Add vendor picture interface; include in splash
Vendor has a picture atrribute, and was displayed in one form of the
splashpage, but it wasn't exposed in the vendor editing form, nor was it
included in the "map view" on the splash page.

Additionally, the map popup was rendered inline.

This commit:
* Adds a from input for editing Venue#picture, consistent with other
  form elements
* Displays the picture on the splash page in either style (map or
  static)
* Moves the splash page map popup from inline HTML to it's own partial
2017-10-17 15:33:04 +03:00
rahul
03c9f7deb1 Add turnover for admin
Admin can see the turnover amount for each ticket type.
2017-10-14 23:07:09 +05:30
rahul
b761e83b45 Add amount paid
Amount paid colum is added to ticket purchase to keep the record of money paid by the user.
It is added to physical_ticket#index to show admin, price paid by each user for each ticket.
2017-10-14 23:06:57 +05:30
rahul
33bfb3d3c2 Add link to venue when venue is not set
Link to create rooms is removed from schedules#show when venue is not set as creating room without venue will show error
Closes https://github.com/openSUSE/osem/issues/1729
2017-10-14 20:41:41 +05:30
rishabhptr
49503444e1 Fixed roles link in revision_history 2017-10-12 21:17:23 +05:30
Your Name
e9109614ed error opening revision history is removed 2017-10-09 18:26:41 +05:30