Commit graph

2959 commits

Author SHA1 Message Date
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
James Mason
6775add832 Update rubocop TODO 2018-06-01 09:15:57 -07:00
James Mason
7f116ecda6 Enable rubocop Rails rules 2018-06-01 09:15:57 -07:00
James Mason
a68be76a15 Add rubocop TargetVersion; disable new cops 2018-06-01 09:15:57 -07:00
James Mason
846ba53d1b Update rubocop to current 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
James Mason
806cdbe046 Switch coverage host from coveralls -> codecov
Coveralls seems incapable of cleanly handling parallel results.
2018-05-21 16:24:25 +02:00
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