Commit graph

2926 commits

Author SHA1 Message Date
Michael Klimenko
297447d802 Make factories and tests timezone-friendly 2018-03-28 08:32:45 -07:00
Michael Klimenko
4bc783b42c Specify url input type for client-side validation 2018-03-27 09:51:25 -07:00
Michael Klimenko
58cb62dd6d Fix tickets turnover calculation 2018-03-27 07:52:25 -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
Naman Gupta
7d2afc623d Replaced hoptoad gem with airbrake gem 2018-03-26 21:40:31 +02:00
James Mason
0c6d1fa233 Update rails-html-sanitizer re: CVE-2018-8048
Resolves #2013
https://hakiri.io/technologies/rails-html-sanitizer/issues/0b56bd2dcd1955
2018-03-24 10:24:22 +01:00
James Mason
96d5994673 CVE-2018-8048: Update loofah
re: https://hakiri.io/github/openSUSE/osem/master/b9be152113970d3a286254a6bd9f143590bfe241/warnings?name=Cross-Site+Scripting
2018-03-22 09:39:59 +01:00
Nemo
b9be152113 [deps] Updates delayed_job
- Fixes issues wth Ruby 2.5.0
2018-03-18 23:13:07 +01:00
ViditChitkara
33d32b9294 currency of a single ticket could be updated now
closes #1913

fixed travis faliures

minor changes

removed empty file

added tests regarding currency updation
2018-03-15 13:19:59 +02:00
James Mason
769cc6c970 Modify query to work better across databases 2018-03-14 18:00:37 -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
0d4c9e32cf Add timestamp columns to event_types
... required for Rails to calculate cache keys
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
James Mason
73c5c3c97a Allow root URL to redirect to a conference via ENV var. 2018-03-15 01:24:49 +01:00
James Mason
f062f7f4ee Reduce deprecation warnings 2018-03-15 01:20:57 +01:00
Henne Vogelsang
42e0b58161 Remove version suffix from binstubs
Binstubs are nice but not with openSUSE specific ruby binary names that
break on other environments.
2018-03-15 01:13:54 +01:00
James Mason
7944494f74 Add metadata for specifying a gemset for rvm 2018-03-15 00:53:26 +01:00
James Mason
cb7960fc3f Prevent error when parsing empty params hash
Fixes #1999
2018-03-14 23:58:17 +01:00
James Mason
0865b39c38 Add timestamps to tickets
Resolves #1997
2018-03-14 23:57:52 +01: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
James Mason
137d997793 Don't use external youtube resources in test
Resolves https://github.com/openSUSE/osem/issues/1986
2018-03-06 18:24:29 -08: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
Stella Rouzi
59f6d94366 Update INSTALL.md with Ruby version requirement 2018-03-02 10:08:23 -08:00
James Mason
44fd794416 Make test organization names more unique
The addition of a uniqueness validation on Organization#name is causing
a lot of random failures; the Organization factory uses a Faker value,
but appears to be producing repetitive results, so I've added a
FactoryGirl sequence to ensure uniqueness.
2018-03-02 15:28:31 +01:00
Marie-Elise
b1960c08ef Added name uniqueness validation for organization model. 2018-02-27 12:16:52 -08:00
Jason Taylor
281022a80c add .pdf file extension for ticket download 2018-02-23 12:37:11 +02:00
Godfrey Chan
0c8095493a Skylight instrumentation
This allows individual installations to optionally collect performance
data using [Skylight for Open Source](https://www.skylight.io/oss).
2018-02-22 21:08:24 -08:00
Carlos Coelho
637f6ce765 Add tests for conference withdrawn events 2018-02-19 01:02:30 +02: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
Carlos Coelho
5f7029d28e Make calculate_event_distribution use state to group events
Signed-off-by: Carlos Coelho <carlos@vinta.com.br>
2018-02-19 01:02:30 +02:00
ViditChitkara
9c322d682f fixed csv export bug 2018-02-19 00:53:32 +02:00
James Mason
d8f3933dc0 Update Nokogiri
re: CVE-2017-15412
2018-02-14 11:02:17 +01:00
namangupta01
7326bd132f Ability of user to create registration is fixed Closes #1628
Speaker's ability to create registration and corresponding tests are improved
2018-02-10 19:19:02 +02:00
James Mason
63515cef58 Change Conference#show to load sponsors
Caching on sponsorship levels alone is not changing; as a bonus the sponsor
modals are simplified a little.
2018-02-05 11:04:09 -08:00
James Mason
82d8629e43 Fix social media section of splashpage
Commit e1e0bdb4 inadvertently added a 2nd version of the partial.
2018-02-05 11:52:58 +01:00
AnkushMalik
ed21986cf1 Fix oauth btn alignment
Use flex for alignment of btn grp

Closes #1931
2018-01-31 09:56:05 -08:00
ViditChitkara
66a2777677 changes for test faliures 2018-01-23 18:26:03 -08:00
ViditChitkara
6d67e9c959 minor changes 2018-01-23 18:26:03 -08:00
ViditChitkara
0ec937e43e fixed failing tests 2018-01-23 18:26:03 -08:00
ViditChitkara
86cab52f52 fixed ticket turnover bug
closes #1918
2018-01-23 18:26:03 -08:00
Marie-Elise
5d816f934a Corrected formatting errors. 2018-01-17 19:18:39 -08:00
Marie-Elise
afff7e1c66 Refactored condition to check if splashpage is present. 2018-01-17 19:18:39 -08:00
Marie-Elise
34af9b840b Added condition to check for existing splashpage. Will redirect user if splashpage is not found. 2018-01-17 19:18:39 -08:00
Marie-Elise
e3b83e8ec1 Hid create organization button from non-superadmin users. 2018-01-17 07:58:21 -08:00