Commit graph

2970 commits

Author SHA1 Message Date
Paul Andrei Badarau
9c7caa141f Add short description for overcommit 2018-06-12 11:18:01 -07:00
Paul Andrei Badarau
739f56f51a Add overcommit config file 2018-06-12 11:18:01 -07:00
James Mason
cddc3e6f93 Move notifications into user menu 2018-06-11 11:53:44 +02:00
James Mason
c4219bbaf9 Add timed cache expiration on CfP partials
(cherry picked from commit f339c191c13c204e9c0a78df1bc083e882b2d2eb)
2018-06-08 17:32:01 -07:00
James Mason
f22afe0644 Add ENV variable for production log level
(cherry picked from commit f8856da0fd3c9e41330fdd09c407eb7f61b078dc)
2018-06-07 10:58:00 +02:00
Soon Van
76babc6372 Show Edit Registration button for registered users
Registered users should see a button on the main conference page
to edit their current registration instead of being asked to
create/add a new one.

Fixes #2041
2018-06-06 16:42:29 -07:00
Matthias Brugger
dffd4ac7a0 fix speakerdeck commercial 2018-06-06 15:14:26 -07:00
James Mason
fe3c6c499b Collapse two redundant helpers
Fold one-used event_status_icon and one-used booth_status_icon into
status_icon, used twice; since there is no conflict on the status-
driven description.
2018-06-06 10:19:39 +02:00
James Mason
940012314d Render markdown in splashpage header without arbitrary assignment to h3
The markdown settings for conference description include header assignments;
there's no reason to force all content into a tag type that the user didn't
specify in their markdown.
2018-06-04 07:43:59 -07:00
James Mason
c14c23fc27 heroku: Add Procfile 2018-06-01 11:51:01 -07:00
James Mason
24396d35c2 Use Ruby safe navigation over Rails try
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/SafeNavigation
2018-06-01 09:15:57 -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
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