Commit graph

2805 commits

Author SHA1 Message Date
James Mason
6cc39fc27d
Merge branch 'master' into openid 2017-12-11 16:35:38 -08:00
AEtherC0r3
364be55412 Change visit_id type of ahoy_events to integer
The id column of the visits table is of type integer
2017-12-11 20:58:04 +02:00
AEtherC0r3
c21c9af60f Use environment variable for the redis url in cable.yml
Move redis url from cable.yml to dotenv.example
2017-12-11 20:58:04 +02:00
AEtherC0r3
de646019fb Performance tuning in config/puma.rb 2017-12-11 20:58:04 +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
Ana María Martínez Gómez
b4fcec07be
Merge pull request #1874 from adrianovieira/fix_1856_Description_of_the_CFP_should_not_be_rendered_as_markdown
Render CfP description column as plain text
2017-12-11 08:51:30 +01:00
Adriano Vieira
4859f8c64e Render CfP description column as plain text
- fix #1856
2017-12-09 17:36:33 -02:00
Ana María Martínez Gómez
0cb273749a
Merge pull request #1845 from adrianovieira/autofill_conference_end_date
autofill conference end date
2017-12-08 08:58:53 +01:00
foteinidd
52dcc6c474 Added autofocus on the name input in admin/lodgings#new 2017-12-07 20:43:19 +02:00
James Mason
d464e48085
Merge pull request #1843 from adrianovieira/fix_datetimepicker_navigation_for_conference_startend_fields
Fix datetimepicker navigation in conference start/end fields
2017-12-07 09:57:55 -08:00
James Mason
9b32e9c165
Merge branch 'master' into fix_datetimepicker_navigation_for_conference_startend_fields 2017-12-07 09:30:52 -08:00
James Mason
bd95c5e628
Merge pull request #1859 from olea/issue-1830
Fix the UI inconsistence documented at #1830
2017-12-07 09:29:03 -08:00
James Mason
b83c0032d3
Merge branch 'master' into autofill_conference_end_date 2017-12-07 09:22:56 -08:00
James Mason
ebcc2e9ed3
Merge branch 'master' into fix_datetimepicker_navigation_for_conference_startend_fields 2017-12-07 09:21:19 -08:00
Adriano Vieira
bbb09dd237 autofill conference end date
- automatically setting the end date to the start date when creating or
  modifying a conference for UX reasons (fix #1844)
2017-12-05 21:49:12 -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
Ana María Martínez Gómez
b97122097f
Merge pull request #1852 from SidharthBansal/ui
Fix Style/UnneededInterpolation
2017-12-05 09:18:53 +01:00
Sidharth
93fcf8893a Fix Style/UnneededInterpolation
Exclusions from .rubocop_todo.yml deleted.
This cop checks for string interpolated expressions. It supports autocorrection.
Fixes #1823
2017-12-04 23:45:37 +05:30
Ana María Martínez Gómez
666f5ab2dc
Merge pull request #1850 from SidharthBansal/new
Fix Style/ReductantReturn rubocop
2017-12-04 14:40:01 +01:00
Sidharth
020dae3d49 Fix Style/ReductantReturn rubocop
Exclusions from .rubocop_todo.yml deleted.This cop checks for redundant return expressions.
Fixes #1824
2017-12-04 16:01:18 +05:30
Ana María Martínez Gómez
05735a7f67
Merge pull request #1848 from rishabh92/fix-orderedgem-offenses1816
Fix Bundler/OrderedGems Rubocop offenses
2017-12-04 09:55:50 +01:00
Ana María Martínez Gómez
51be0c3f65
Merge pull request #1849 from esquith/patch-1
Update INSTALL.md
2017-12-04 09:26:07 +01:00
Esquith Allen
56afd4e22b
Update INSTALL.md
typo
2017-12-03 22:19:01 -05:00
rishabh92
97749fc195 Fix Bundler/OrderedGems Rubocop offenses
This cop checks that gems are alphabetically sorted within groups. The offenses were fixed using rubocop autocorrection.
2017-12-03 18:19:21 -06:00
Adriano Vieira
2e1fae0afb Fix datetimepicker navigation for manual clean up of conference start/end date fields (fix #1842) 2017-12-02 17:54:48 -02:00
Ana María Martínez Gómez
c0e4d54415
Merge pull request #1826 from olea/master
Variables better be quoted in the configuration examples.
2017-11-30 09:58:23 +01:00
Ismael Olea
da735fe1c9 Yes: it's a trivial change in just an example. But not trivial for non rubyists
But if I had had it before I could have saved a dozen hours of my life :-/
2017-11-29 19:35:54 +01:00
Ana María Martínez Gómez
2be553c547
Merge pull request #1817 from rahul2240/rubocop
Update to Rubocop 0.51
2017-11-29 09:20:47 +01:00
rahul2240
2affec9614 Regenerate rubocop_todo file
Todo file is regenerated because of the changes in the new version of Rubocop.
We are following the default Rubocop configuration.
closes https://github.com/openSUSE/osem/issues/1815
2017-11-28 16:18:06 +05:30
rahul2240
9cf3f63bae Update rubocop to 0.51.0
Rubocop is updated to version 0.51 from 0.49
2017-11-28 16:17:11 +05:30
James Mason
8442eb813f
Merge pull request #1807 from ViditChitkara/ticket_turnover
fixed tickets turnover bug
2017-11-21 17:31:41 -08:00
ViditChitkara
38342cd557 fixed tickets turnover bug
closes #1473
2017-11-21 13:24:47 +05:30
James Mason
22247a0ac2
Merge pull request #1792 from bear454/ssl-opt
Control config.force_ssl with an ENV variable
2017-11-19 13:43:54 -08:00
James Mason
fb4bafb296
Merge branch 'master' into ssl-opt 2017-11-17 09:45:51 -08:00
Ana María Martínez Gómez
9603cf5173
Merge pull request #1802 from Ana06/yajl-vulnerability
Update yajl-ruby to 1.3.1
2017-11-17 10:43:54 +01:00
Ana María Martínez Gómez
9885b3617f Update yajl-ruby to 1.3.1
There is a security vulnerability in yajl-ruby 1.3.0:

In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is
supplied to `Yajl::Parser.new.parse`, the whole ruby process crashes
with a `SIGABRT` in the `yajl_string_decode` function in
`yajl_encode.c`. This results in the whole ruby process terminating and
potentially a denial of service.

Reference:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16516
2017-11-17 10:07:02 +01:00
James Mason
3239b74444
Merge pull request #1797 from evris99/travis_changes
Changed db:migrate to db:schema:load
2017-11-16 20:08:12 -08:00
James Mason
42ab3b9968
Merge branch 'master' into travis_changes 2017-11-16 19:44:52 -08:00
James Mason
67d604cf40
Merge pull request #1801 from namangupta01/test1
schema updated
2017-11-16 19:44:00 -08:00
James Mason
ee6040ffd6
Merge branch 'master' into ssl-opt 2017-11-16 18:13:38 -08:00
Naman Gupta
e32837b3b1 schema is added 2017-11-17 00:41:20 +05:30
evris99
f2d3813986 Changed db:migrate to db:schema:load 2017-11-16 18:34:47 +02:00
James Mason
1989438e89
Merge pull request #1777 from bear454/recaptcha
reCAPTCHA on sign up (BONUS: Features)
2017-11-15 12:38:40 -08:00
James Mason
eca09dd7d6
Merge branch 'master' into recaptcha 2017-11-15 11:58:15 -08:00
ViditChitkara
c3872c9bd0 added email presence validation to openid
closes #1658

added test for openid

fixed robocup offences

written tests for email presence validation

minor changes

shifted omniauth callback tests to rspec controllers

fixed linting bug

minor changes

minor changes
2017-11-15 18:02:17 +05:30
James Mason
668c7dede9 Add FORCE_SSL to the dotenv example 2017-11-14 14:12:23 -08:00
James Mason
207319ae57 Control config.force_ssl with an ENV variable 2017-11-14 14:12:23 -08:00
James Mason
bf219ec015
Merge pull request #1785 from bear454/test-fix
Fix a flaky test.
2017-11-14 14:09:21 -08:00
James Mason
7f369507d2
Merge branch 'master' into test-fix 2017-11-14 12:37:33 -08:00
James Mason
84dedb42c3
Merge pull request #1793 from bear454/switch-transifex
Only include transifex JS if the ENV var is set
2017-11-14 12:36:02 -08:00