Commit graph

2948 commits

Author SHA1 Message Date
James Mason
d22a6f078e Add ignore entry for gnome-builder's project config 2018-05-15 18:21:46 +02:00
James Mason
899a359202 Configure Coveralls to accept parallel test results. 2018-05-15 07:14:16 -07:00
Soon Van
b092790ea2 Fix missing quote mark in docker ENV example 2018-05-11 08:45:59 -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
8a422412d6 Simplify helper (and remove alteration of string literal) 2018-05-09 06:54:26 -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
dd0a52cca9 Use knapsack to parallelize tests
...in order to reduce TravisCI runtimes
2018-05-09 06:39:06 -07:00
James Mason
03ef28e74d Require code of conduct acceptance on registration 2018-05-08 13:23:00 +02:00
James Mason
95196c7f80 Include code of conduct on conference 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
512ad067e1 Simple view for showing a document 2018-05-08 13:23:00 +02:00
Stella Rouzi
f8b9cd843c Add button to registration from physical_tickets#index 2018-05-07 18:02:17 -07:00
James Mason
168a832c10 Move modals content area to main layout 2018-05-06 11:05:24 +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
AEtherC0r3
18c471f778 Edit command to start the server in bootstrap.sh
Recommend using bundle exec rails instead of /vagrant/bin/rails
Closes #1915
2018-04-06 17:23:48 -07: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
Michael Klimenko
30ba7b133b Roles order fixed in test is not essential 2018-03-28 08:32:45 -07:00
Michael Klimenko
111812025b Ignore changes of updated_at in Ticket and EventType models 2018-03-28 08:32:45 -07:00
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